@logicplanes/kaeso-ui 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -0
- package/NOTICE.md +1 -1
- package/ai/component-guides.md +249 -24
- package/ai/component-registry.json +1044 -67
- package/ai/component-registry.md +238 -50
- package/ai/icons.md +1 -1
- package/ai/tokens.md +7 -3
- package/dist/blocks/delete-resource.js +1 -1
- package/dist/blocks/pages.js +5 -5
- package/dist/blocks/resource-list.js +4 -4
- package/dist/chunks/app-frame-B9vrgwaE.js +220 -0
- package/dist/chunks/app-frame-B9vrgwaE.js.map +1 -0
- package/dist/chunks/{avatar-D2nJNbtC.js → avatar-DOzOhYJr.js} +2 -2
- package/dist/chunks/{avatar-D2nJNbtC.js.map → avatar-DOzOhYJr.js.map} +1 -1
- package/dist/chunks/{badge-Dkyhs0_j.js → badge-wUHlj7m3.js} +2 -2
- package/dist/chunks/{badge-Dkyhs0_j.js.map → badge-wUHlj7m3.js.map} +1 -1
- package/dist/chunks/{banner-DxGBPQ7p.js → banner-BBlNFHd-.js} +4 -4
- package/dist/chunks/{banner-DxGBPQ7p.js.map → banner-BBlNFHd-.js.map} +1 -1
- package/dist/chunks/{button-DQvoOxVQ.js → button-CAPyW-v8.js} +8 -8
- package/dist/chunks/{button-DQvoOxVQ.js.map → button-CAPyW-v8.js.map} +1 -1
- package/dist/chunks/{calendar-CN3YJi2k.js → calendar-CBeptQFq.js} +2 -2
- package/dist/chunks/{calendar-CN3YJi2k.js.map → calendar-CBeptQFq.js.map} +1 -1
- package/dist/chunks/{checkbox-BgRdbfCE.js → checkbox-C5yvSS7O.js} +3 -3
- package/dist/chunks/{checkbox-BgRdbfCE.js.map → checkbox-C5yvSS7O.js.map} +1 -1
- package/dist/chunks/{cn-CidVUKMm.js → cn-DUDmdLpZ.js} +3 -1
- package/dist/chunks/cn-DUDmdLpZ.js.map +1 -0
- package/dist/chunks/{code-BADhvsgC.js → code-C49NzHUQ.js} +2 -2
- package/dist/chunks/{code-BADhvsgC.js.map → code-C49NzHUQ.js.map} +1 -1
- package/dist/chunks/{code-block-DxtladFW.js → code-block-DREsvJ-g.js} +24 -21
- package/dist/chunks/code-block-DREsvJ-g.js.map +1 -0
- package/dist/chunks/{collapsible-Cw_1aem5.js → collapsible-CDQq1Y9x.js} +6 -6
- package/dist/chunks/collapsible-CDQq1Y9x.js.map +1 -0
- package/dist/chunks/combobox-DqtzsAKG.js +314 -0
- package/dist/chunks/combobox-DqtzsAKG.js.map +1 -0
- package/dist/chunks/command-list-D5k0uvkR.js +417 -0
- package/dist/chunks/command-list-D5k0uvkR.js.map +1 -0
- package/dist/chunks/{copy-button-DXxn-YYZ.js → copy-button-CNpEnS04.js} +6 -6
- package/dist/chunks/{copy-button-DXxn-YYZ.js.map → copy-button-CNpEnS04.js.map} +1 -1
- package/dist/chunks/{core-K960A4OT.js → core-CqLWVMDI.js} +36 -36
- package/dist/chunks/core-CqLWVMDI.js.map +1 -0
- package/dist/chunks/{date-popup-B-6xhb-1.js → date-popup-BgDz6SUj.js} +4 -4
- package/dist/chunks/{date-popup-B-6xhb-1.js.map → date-popup-BgDz6SUj.js.map} +1 -1
- package/dist/chunks/{de-CTAo4KL7.js → de-CkXZKaBD.js} +37 -5
- package/dist/chunks/de-CkXZKaBD.js.map +1 -0
- package/dist/chunks/dialog-truWH0qe.js +353 -0
- package/dist/chunks/dialog-truWH0qe.js.map +1 -0
- package/dist/chunks/{empty-DIbBpytW.js → empty-YXmSkKzR.js} +2 -2
- package/dist/chunks/{empty-DIbBpytW.js.map → empty-YXmSkKzR.js.map} +1 -1
- package/dist/chunks/{field-d8V94bvZ.js → field-BZriODU7.js} +3 -3
- package/dist/chunks/field-BZriODU7.js.map +1 -0
- package/dist/chunks/{icon-CeNQtobn.js → icon-BqujXDUc.js} +2 -2
- package/dist/chunks/{icon-CeNQtobn.js.map → icon-BqujXDUc.js.map} +1 -1
- package/dist/chunks/{icon-button-_x1RUphC.js → icon-button-D4O4puwH.js} +3 -3
- package/dist/chunks/{icon-button-_x1RUphC.js.map → icon-button-D4O4puwH.js.map} +1 -1
- package/dist/chunks/identity-CsZvAUwu.js +361 -0
- package/dist/chunks/identity-CsZvAUwu.js.map +1 -0
- package/dist/chunks/{input-CNTfI6YE.js → input-B0wtkcNh.js} +5 -5
- package/dist/chunks/{input-CNTfI6YE.js.map → input-B0wtkcNh.js.map} +1 -1
- package/dist/chunks/{input-group-CYA1MEoZ.js → input-group-BQLw06B0.js} +33 -27
- package/dist/chunks/input-group-BQLw06B0.js.map +1 -0
- package/dist/chunks/{inset-BLMdxX4I.js → inset-BnBj8NJV.js} +12 -2
- package/dist/chunks/inset-BnBj8NJV.js.map +1 -0
- package/dist/chunks/{iso-field-1qmg7TP8.js → iso-field-BUXgY1dB.js} +5 -3
- package/dist/chunks/{iso-field-1qmg7TP8.js.map → iso-field-BUXgY1dB.js.map} +1 -1
- package/dist/chunks/{json-view-B6KHIWzh.js → json-view-BkG2hTXV.js} +11 -10
- package/dist/chunks/{json-view-B6KHIWzh.js.map → json-view-BkG2hTXV.js.map} +1 -1
- package/dist/chunks/{kbd-CBcBDvqU.js → kbd-DqWmbr_e.js} +2 -2
- package/dist/chunks/{kbd-CBcBDvqU.js.map → kbd-DqWmbr_e.js.map} +1 -1
- package/dist/chunks/{link-vz9aV8WX.js → link-YMcxM-BZ.js} +4 -4
- package/dist/chunks/{link-vz9aV8WX.js.map → link-YMcxM-BZ.js.map} +1 -1
- package/dist/chunks/{link-provider---9JdxTg.js → link-provider-BsUxhZKG.js} +2 -2
- package/dist/chunks/{link-provider---9JdxTg.js.map → link-provider-BsUxhZKG.js.map} +1 -1
- package/dist/chunks/list-wXZIZo_s.js +492 -0
- package/dist/chunks/list-wXZIZo_s.js.map +1 -0
- package/dist/chunks/{loader-CUehxvSZ.js → loader-ENBh2Fbt.js} +2 -2
- package/dist/chunks/{loader-CUehxvSZ.js.map → loader-ENBh2Fbt.js.map} +1 -1
- package/dist/chunks/{markdown-5NyaHHfN.js → markdown-DWyxjsSY.js} +10 -10
- package/dist/chunks/{markdown-5NyaHHfN.js.map → markdown-DWyxjsSY.js.map} +1 -1
- package/dist/chunks/{menu-DyVPwgfF.js → menu-Bnfi9P3t.js} +7 -7
- package/dist/chunks/{menu-DyVPwgfF.js.map → menu-Bnfi9P3t.js.map} +1 -1
- package/dist/chunks/{meter-DWhyzFGQ.js → meter-DhTnem4k.js} +2 -2
- package/dist/chunks/{meter-DWhyzFGQ.js.map → meter-DhTnem4k.js.map} +1 -1
- package/dist/chunks/nav-sheet-QqNRHo-y.js +60 -0
- package/dist/chunks/nav-sheet-QqNRHo-y.js.map +1 -0
- package/dist/chunks/{nav-wordmark-DLkItdvo.js → nav-wordmark-DmbT1Aiw.js} +2 -2
- package/dist/chunks/{nav-wordmark-DLkItdvo.js.map → nav-wordmark-DmbT1Aiw.js.map} +1 -1
- package/dist/chunks/option-checkbox-Df7WhGn4.js +25 -0
- package/dist/chunks/option-checkbox-Df7WhGn4.js.map +1 -0
- package/dist/chunks/over-sheet-B8vzr_zU.js +8 -0
- package/dist/chunks/over-sheet-B8vzr_zU.js.map +1 -0
- package/dist/chunks/{page-header-CEPZzhRp.js → page-header-Ccnrspbp.js} +5 -5
- package/dist/chunks/{page-header-CEPZzhRp.js.map → page-header-Ccnrspbp.js.map} +1 -1
- package/dist/chunks/{pagination-CCMxQ5pH.js → pagination-CEmWZNjp.js} +5 -4
- package/dist/chunks/{pagination-CCMxQ5pH.js.map → pagination-CEmWZNjp.js.map} +1 -1
- package/dist/chunks/picker-popover-C4ElNk7t.js +102 -0
- package/dist/chunks/picker-popover-C4ElNk7t.js.map +1 -0
- package/dist/chunks/{popover-BE7VO-a4.js → popover-bjxg020P.js} +3 -3
- package/dist/chunks/{popover-BE7VO-a4.js.map → popover-bjxg020P.js.map} +1 -1
- package/dist/chunks/{radio-CUxbLCvD.js → radio-DwYcXAzv.js} +2 -2
- package/dist/chunks/{radio-CUxbLCvD.js.map → radio-DwYcXAzv.js.map} +1 -1
- package/dist/chunks/range-popup-CG9Jo5B7.js +128 -0
- package/dist/chunks/range-popup-CG9Jo5B7.js.map +1 -0
- package/dist/chunks/release-art-Chd8l9Rf.js +555 -0
- package/dist/chunks/release-art-Chd8l9Rf.js.map +1 -0
- package/dist/chunks/{resize-motion-CMaidkwe.js → resize-motion-BWGMchyP.js} +27 -23
- package/dist/chunks/resize-motion-BWGMchyP.js.map +1 -0
- package/dist/chunks/{rights-BbiJ0AJB.js → rights-hMoaFasn.js} +12 -12
- package/dist/chunks/rights-hMoaFasn.js.map +1 -0
- package/dist/chunks/{section-DzOLLN1p.js → section-BsET7Fo-.js} +4 -4
- package/dist/chunks/{section-DzOLLN1p.js.map → section-BsET7Fo-.js.map} +1 -1
- package/dist/chunks/{segmented-MrinfDL8.js → segmented-DXKVF-nY.js} +4 -4
- package/dist/chunks/{segmented-MrinfDL8.js.map → segmented-DXKVF-nY.js.map} +1 -1
- package/dist/chunks/{select-Bc4kRiSG.js → select-Bbv2f5F8.js} +63 -80
- package/dist/chunks/select-Bbv2f5F8.js.map +1 -0
- package/dist/chunks/{separator-D5AzVFTS.js → separator-CpAUELNs.js} +2 -2
- package/dist/chunks/{separator-D5AzVFTS.js.map → separator-CpAUELNs.js.map} +1 -1
- package/dist/chunks/{sidebar-5IA18LuP.js → sidebar-Dey1ZfGt.js} +54 -51
- package/dist/chunks/sidebar-Dey1ZfGt.js.map +1 -0
- package/dist/chunks/{sidebar-menu-DRWRxcJ3.js → sidebar-menu-ct8IiL4z.js} +2 -2
- package/dist/chunks/{sidebar-menu-DRWRxcJ3.js.map → sidebar-menu-ct8IiL4z.js.map} +1 -1
- package/dist/chunks/{skeleton-kfuqdl1a.js → skeleton-BM797MAg.js} +2 -2
- package/dist/chunks/{skeleton-kfuqdl1a.js.map → skeleton-BM797MAg.js.map} +1 -1
- package/dist/chunks/{slider-DbhjJ3ML.js → slider-Ds-tqY-1.js} +2 -2
- package/dist/chunks/{slider-DbhjJ3ML.js.map → slider-Ds-tqY-1.js.map} +1 -1
- package/dist/chunks/status-dot-BqVOlShY.js +29 -0
- package/dist/chunks/status-dot-BqVOlShY.js.map +1 -0
- package/dist/chunks/{styles-Btvg2DCf.js → styles-CVJU9t9v.js} +2 -2
- package/dist/chunks/{styles-Btvg2DCf.js.map → styles-CVJU9t9v.js.map} +1 -1
- package/dist/chunks/{swap-text-BhPI8DOf.js → swap-text-Cica0pUr.js} +2 -2
- package/dist/chunks/{swap-text-BhPI8DOf.js.map → swap-text-Cica0pUr.js.map} +1 -1
- package/dist/chunks/{switch-XMY_CQE-.js → switch-CSKMEomo.js} +3 -3
- package/dist/chunks/{switch-XMY_CQE-.js.map → switch-CSKMEomo.js.map} +1 -1
- package/dist/chunks/{table-DYKa86af.js → table-D-36EM7f.js} +2 -2
- package/dist/chunks/{table-DYKa86af.js.map → table-D-36EM7f.js.map} +1 -1
- package/dist/chunks/{tag-Dg89uYpV.js → tag-CwDKXVHj.js} +4 -4
- package/dist/chunks/{tag-Dg89uYpV.js.map → tag-CwDKXVHj.js.map} +1 -1
- package/dist/chunks/{text--5MKh2G4.js → text-Dvvgg5Jt.js} +3 -3
- package/dist/chunks/{text--5MKh2G4.js.map → text-Dvvgg5Jt.js.map} +1 -1
- package/dist/chunks/{textarea-Cj8iR82R.js → textarea-2d373OyU.js} +35 -31
- package/dist/chunks/textarea-2d373OyU.js.map +1 -0
- package/dist/chunks/timeseries-LRDAZHV0.js +339 -0
- package/dist/chunks/timeseries-LRDAZHV0.js.map +1 -0
- package/dist/chunks/{toolbar-Dw3uxpsE.js → toolbar-nVLFWH2i.js} +3 -3
- package/dist/chunks/{toolbar-Dw3uxpsE.js.map → toolbar-nVLFWH2i.js.map} +1 -1
- package/dist/chunks/{tooltip-DEbCCsru.js → tooltip-S1DmyLVl.js} +4 -4
- package/dist/chunks/{tooltip-DEbCCsru.js.map → tooltip-S1DmyLVl.js.map} +1 -1
- package/dist/chunks/{tooltip-root-DRd4ciUv.js → tooltip-root-vjylFUqw.js} +4 -4
- package/dist/chunks/{tooltip-root-DRd4ciUv.js.map → tooltip-root-vjylFUqw.js.map} +1 -1
- package/dist/chunks/{virtual-rows-BZe49bKi.js → virtual-rows-yAMjeAwj.js} +4 -3
- package/dist/chunks/virtual-rows-yAMjeAwj.js.map +1 -0
- package/dist/chunks/{zh-CN-C7GmVswt.js → zh-CN-CqEA4PCM.js} +37 -5
- package/dist/chunks/zh-CN-CqEA4PCM.js.map +1 -0
- package/dist/components/app-frame.js +2 -2
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/button-group.js +33 -32
- package/dist/components/button-group.js.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/charts/bar.js +34 -31
- package/dist/components/charts/bar.js.map +1 -1
- package/dist/components/charts/donut.js +2 -2
- package/dist/components/charts/gauge.js +2 -2
- package/dist/components/charts/heatmap.js +1 -1
- package/dist/components/charts/sankey.js +2 -2
- package/dist/components/charts/sparkline.js +1 -1
- package/dist/components/charts/timeseries.js +1 -252
- package/dist/components/charts.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-block.js +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-list.js +4 -0
- package/dist/components/command-palette.js +120 -171
- package/dist/components/command-palette.js.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/data-table.js +251 -193
- package/dist/components/data-table.js.map +1 -1
- package/dist/components/date-picker.js +7 -7
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/dialog.js +7 -9
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/display-options.js +67 -53
- package/dist/components/display-options.js.map +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/filter-chip.js +138 -63
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/filter-row.js +2 -2
- package/dist/components/flow.js +2 -2
- package/dist/components/heading.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/input.js +56 -54
- package/dist/components/input.js.map +1 -1
- package/dist/components/kaeso/conversation.js +88 -79
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +8 -8
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +6 -6
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +212 -84
- package/dist/components/kaeso.js.map +1 -1
- package/dist/components/kbd.js +1 -1
- package/dist/components/key-value.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/logo.js +2 -2
- package/dist/components/markdown.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/meter.js +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/playground.js +654 -381
- package/dist/components/playground.js.map +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/qr-code.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/release-art.js +2 -0
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/section.js +1 -1
- package/dist/components/segmented.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/settings.js +3 -3
- package/dist/components/sheet.js +69 -52
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/stat.js +88 -74
- package/dist/components/stat.js.map +1 -1
- package/dist/components/status-dot.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/swap-text.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +48 -49
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/theme-image.js +1 -1
- package/dist/components/theme-menu.js +2 -2
- package/dist/components/theme-select.js +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/toast.js +4 -4
- package/dist/components/toc.js +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/visually-hidden.js +1 -1
- package/dist/format.js +132 -79
- package/dist/format.js.map +1 -1
- package/dist/i18n-provider.js +1 -1
- package/dist/index.js +115 -111
- package/dist/kaeso.css +43 -8
- package/dist/styles.css +1 -1
- package/dist/types/components/charts/bar.d.ts +6 -0
- package/dist/types/components/charts/core.d.ts +2 -2
- package/dist/types/components/charts/docs.d.ts +7 -0
- package/dist/types/components/charts/time-axis.d.ts +5 -0
- package/dist/types/components/charts/timeseries.d.ts +9 -0
- package/dist/types/components/code-block/highlighter.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +2 -0
- package/dist/types/components/combobox/docs.d.ts +2 -4
- package/dist/types/components/command-list/command-list.d.ts +84 -0
- package/dist/types/components/command-list/docs.d.ts +52 -0
- package/dist/types/components/command-list/index.d.ts +3 -0
- package/dist/types/components/command-list/match.d.ts +1 -0
- package/dist/types/components/command-list/picker-popover.d.ts +44 -0
- package/dist/types/components/data-table/data-table.d.ts +3 -2
- package/dist/types/components/data-table/docs.d.ts +1 -0
- package/dist/types/components/date-picker/docs.d.ts +0 -6
- package/dist/types/components/dialog/dialog.d.ts +24 -0
- package/dist/types/components/dialog/docs.d.ts +4 -0
- package/dist/types/components/display-options/display-options.d.ts +1 -0
- package/dist/types/components/filter-chip/docs.d.ts +4 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +7 -0
- package/dist/types/components/input/docs.d.ts +2 -12
- package/dist/types/components/input/number-input.d.ts +1 -0
- package/dist/types/components/input/tag-input.d.ts +1 -0
- package/dist/types/components/kaeso/docs.d.ts +34 -0
- package/dist/types/components/kaeso/identity.d.ts +10 -1
- package/dist/types/components/kaeso/index.d.ts +1 -0
- package/dist/types/components/kaeso/provider-marks.d.ts +5 -1
- package/dist/types/components/kaeso/provider-picker.d.ts +42 -0
- package/dist/types/components/list/docs.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +2 -0
- package/dist/types/components/menu/styles.d.ts +1 -1
- package/dist/types/components/playground/docs.d.ts +32 -0
- package/dist/types/components/playground/index.d.ts +1 -0
- package/dist/types/components/playground/model-picker.d.ts +39 -4
- package/dist/types/components/playground/reasoning.d.ts +29 -0
- package/dist/types/components/playground/response-view.d.ts +7 -1
- package/dist/types/components/release-art/docs.d.ts +13 -0
- package/dist/types/components/release-art/drawing.d.ts +48 -0
- package/dist/types/components/release-art/index.d.ts +1 -0
- package/dist/types/components/release-art/release-art.d.ts +37 -0
- package/dist/types/components/select/docs.d.ts +0 -2
- package/dist/types/components/select/option-checkbox.d.ts +1 -0
- package/dist/types/components/sidebar/sidebar.d.ts +1 -0
- package/dist/types/components/stat/docs.d.ts +1 -0
- package/dist/types/components/stat/stat.d.ts +1 -0
- package/dist/types/components/status-dot/docs.d.ts +2 -0
- package/dist/types/components/status-dot/status-dot.d.ts +2 -0
- package/dist/types/format/index.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/inset.d.ts +5 -0
- package/dist/types/utils/over-sheet.d.ts +1 -0
- package/dist/types/utils/restore-focus.d.ts +1 -1
- package/dist/utils.js +4 -4
- package/foundations/accessibility.md +1 -0
- package/foundations/layout.md +45 -0
- package/foundations/writing.md +1 -0
- package/package.json +2 -2
- package/dist/chunks/app-frame-BXh-06HL.js +0 -214
- package/dist/chunks/app-frame-BXh-06HL.js.map +0 -1
- package/dist/chunks/cn-CidVUKMm.js.map +0 -1
- package/dist/chunks/code-block-DxtladFW.js.map +0 -1
- package/dist/chunks/collapsible-Cw_1aem5.js.map +0 -1
- package/dist/chunks/combobox-D30Wt11R.js +0 -291
- package/dist/chunks/combobox-D30Wt11R.js.map +0 -1
- package/dist/chunks/core-K960A4OT.js.map +0 -1
- package/dist/chunks/de-CTAo4KL7.js.map +0 -1
- package/dist/chunks/dialog-LNKgPEsV.js +0 -319
- package/dist/chunks/dialog-LNKgPEsV.js.map +0 -1
- package/dist/chunks/field-d8V94bvZ.js.map +0 -1
- package/dist/chunks/field-press-DwzBFafd.js +0 -10
- package/dist/chunks/field-press-DwzBFafd.js.map +0 -1
- package/dist/chunks/identity-BtZC_d_Q.js +0 -342
- package/dist/chunks/identity-BtZC_d_Q.js.map +0 -1
- package/dist/chunks/input-group-CYA1MEoZ.js.map +0 -1
- package/dist/chunks/inset-BLMdxX4I.js.map +0 -1
- package/dist/chunks/list-CzaiyNja.js +0 -483
- package/dist/chunks/list-CzaiyNja.js.map +0 -1
- package/dist/chunks/nav-sheet-BIErlV74.js +0 -58
- package/dist/chunks/nav-sheet-BIErlV74.js.map +0 -1
- package/dist/chunks/range-popup-DGOnGGag.js +0 -111
- package/dist/chunks/range-popup-DGOnGGag.js.map +0 -1
- package/dist/chunks/resize-motion-CMaidkwe.js.map +0 -1
- package/dist/chunks/rights-BbiJ0AJB.js.map +0 -1
- package/dist/chunks/select-Bc4kRiSG.js.map +0 -1
- package/dist/chunks/sidebar-5IA18LuP.js.map +0 -1
- package/dist/chunks/status-dot-CBoQpyL4.js +0 -25
- package/dist/chunks/status-dot-CBoQpyL4.js.map +0 -1
- package/dist/chunks/textarea-Cj8iR82R.js.map +0 -1
- package/dist/chunks/virtual-rows-BZe49bKi.js.map +0 -1
- package/dist/chunks/zh-CN-C7GmVswt.js.map +0 -1
- package/dist/components/charts/timeseries.js.map +0 -1
|
@@ -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;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type CommandListGroup } from "../command-list/command-list.js";
|
|
3
|
+
import { type FieldWrapProps } from "../field/field.js";
|
|
4
|
+
export declare const KAESO_PROVIDER_PICKER_VARIANTS: {
|
|
5
|
+
readonly appearance: {
|
|
6
|
+
readonly list: {
|
|
7
|
+
readonly classes: "";
|
|
8
|
+
readonly description: "A search field over every provider, always open: a dialog step (default)";
|
|
9
|
+
};
|
|
10
|
+
readonly select: {
|
|
11
|
+
readonly classes: "";
|
|
12
|
+
readonly description: "A pill that opens the searchable list: forms and toolbars";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const KAESO_PROVIDER_PICKER_DEFAULT_VARIANTS: {
|
|
17
|
+
readonly appearance: "list";
|
|
18
|
+
};
|
|
19
|
+
export interface ProviderPickerOption {
|
|
20
|
+
id: string;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
connected?: boolean | undefined;
|
|
23
|
+
hint?: ReactNode | undefined;
|
|
24
|
+
keywords?: readonly string[] | undefined;
|
|
25
|
+
disabled?: boolean | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface ProviderPickerProps extends FieldWrapProps {
|
|
28
|
+
providers: ProviderPickerOption[];
|
|
29
|
+
value?: string | null | undefined;
|
|
30
|
+
onValueChange?: ((id: string | null) => void) | undefined;
|
|
31
|
+
appearance?: keyof typeof KAESO_PROVIDER_PICKER_VARIANTS.appearance | undefined;
|
|
32
|
+
allLabel?: string | undefined;
|
|
33
|
+
placeholder?: string | undefined;
|
|
34
|
+
size?: "sm" | "md" | undefined;
|
|
35
|
+
disabled?: boolean | undefined;
|
|
36
|
+
autoFocus?: boolean | undefined;
|
|
37
|
+
"aria-label"?: string | undefined;
|
|
38
|
+
className?: string | undefined;
|
|
39
|
+
"data-force"?: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
export declare function useProviderGroups(providers: ProviderPickerOption[], allLabel?: string | undefined): CommandListGroup[];
|
|
42
|
+
export declare const ProviderPicker: import("react").ForwardRefExoticComponent<ProviderPickerProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -33,6 +33,7 @@ export declare const docs: {
|
|
|
33
33
|
selected: string;
|
|
34
34
|
selectionActions: string;
|
|
35
35
|
selectionBar: string;
|
|
36
|
+
wrapSubtitle: string;
|
|
36
37
|
virtualizeAbove: string;
|
|
37
38
|
};
|
|
38
39
|
};
|
|
@@ -53,6 +54,7 @@ export declare const docs: {
|
|
|
53
54
|
selectable: string;
|
|
54
55
|
selected: string;
|
|
55
56
|
selecting: string;
|
|
57
|
+
wrapSubtitle: string;
|
|
56
58
|
};
|
|
57
59
|
};
|
|
58
60
|
SelectionAction: {
|
|
@@ -49,6 +49,7 @@ export interface ListProps {
|
|
|
49
49
|
onSelectedChange?: ((selected: Set<string>) => void) | undefined;
|
|
50
50
|
idWidth?: 48 | 64 | 80 | 96 | 120 | undefined;
|
|
51
51
|
density?: keyof typeof KAESO_LIST_VARIANTS.density | undefined;
|
|
52
|
+
wrapSubtitle?: boolean | undefined;
|
|
52
53
|
virtualizeAbove?: number | undefined;
|
|
53
54
|
selectionActions?: ReactNode | undefined;
|
|
54
55
|
selectionBar?: boolean | undefined;
|
|
@@ -73,6 +74,7 @@ export interface ListRowProps {
|
|
|
73
74
|
lastChild?: boolean | undefined;
|
|
74
75
|
idWidth?: keyof typeof ID_W | undefined;
|
|
75
76
|
density?: keyof typeof KAESO_LIST_VARIANTS.density | undefined;
|
|
77
|
+
wrapSubtitle?: boolean | undefined;
|
|
76
78
|
narrow?: boolean | undefined;
|
|
77
79
|
active?: boolean | undefined;
|
|
78
80
|
selected?: boolean | undefined;
|
|
@@ -4,4 +4,4 @@ export declare const MENU_ICON = "text-fg-secondary group-data-highlighted/item:
|
|
|
4
4
|
export declare const MENU_DANGER = "text-danger-text highlighted:bg-danger-tint";
|
|
5
5
|
export declare const MENU_LABEL = "flex h-28 items-center px-10 text-caption font-medium text-fg-secondary";
|
|
6
6
|
export declare const MENU_SEPARATOR = "mx-10 my-4 h-1 shrink-0 bg-line-subtle";
|
|
7
|
-
export declare const MENU_HINT = "ml-auto flex shrink-0 items-center gap-4 pl-16 text-caption font-medium text-fg-tertiary tabular";
|
|
7
|
+
export declare const MENU_HINT = "ml-auto flex shrink-0 items-center gap-4 pl-16 text-caption font-medium text-fg-tertiary tabular group-data-highlighted/item:text-fg-secondary";
|
|
@@ -39,17 +39,33 @@ export declare const docs: {
|
|
|
39
39
|
ModelPicker: {
|
|
40
40
|
description: string;
|
|
41
41
|
props: {
|
|
42
|
+
description: string;
|
|
43
|
+
label: string;
|
|
44
|
+
layout: string;
|
|
45
|
+
optional: string;
|
|
46
|
+
required: string;
|
|
47
|
+
allLabel: string;
|
|
42
48
|
appearance: string;
|
|
43
49
|
"aria-label": string;
|
|
44
50
|
defaultValue: string;
|
|
45
51
|
disabled: string;
|
|
52
|
+
fullWidth: string;
|
|
46
53
|
groupByProvider: string;
|
|
54
|
+
invalid: string;
|
|
55
|
+
multiple: string;
|
|
56
|
+
onOpenChange: string;
|
|
47
57
|
onValueChange: string;
|
|
58
|
+
open: string;
|
|
48
59
|
options: string;
|
|
49
60
|
placeholder: string;
|
|
61
|
+
providers: string;
|
|
62
|
+
recent: string;
|
|
50
63
|
size: string;
|
|
51
64
|
value: string;
|
|
52
65
|
};
|
|
66
|
+
deprecated: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
53
69
|
};
|
|
54
70
|
ParameterPanel: {
|
|
55
71
|
description: string;
|
|
@@ -94,6 +110,20 @@ export declare const docs: {
|
|
|
94
110
|
suggestions: string;
|
|
95
111
|
};
|
|
96
112
|
};
|
|
113
|
+
Reasoning: {
|
|
114
|
+
description: string;
|
|
115
|
+
props: {
|
|
116
|
+
children: string;
|
|
117
|
+
defaultOpen: string;
|
|
118
|
+
duration: string;
|
|
119
|
+
hint: string;
|
|
120
|
+
live: string;
|
|
121
|
+
onOpenChange: string;
|
|
122
|
+
open: string;
|
|
123
|
+
text: string;
|
|
124
|
+
title: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
97
127
|
ResponseMetrics: {
|
|
98
128
|
description: string;
|
|
99
129
|
props: {
|
|
@@ -114,7 +144,9 @@ export declare const docs: {
|
|
|
114
144
|
props: {
|
|
115
145
|
"aria-label": string;
|
|
116
146
|
defaultReasoningOpen: string;
|
|
147
|
+
error: string;
|
|
117
148
|
footer: string;
|
|
149
|
+
incompleteReason: string;
|
|
118
150
|
onReasoningOpenChange: string;
|
|
119
151
|
onRetry: string;
|
|
120
152
|
reasoning: string;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { type CommandListGroup } from "../command-list/command-list.js";
|
|
2
|
+
import { type FieldWrapProps } from "../field/field.js";
|
|
3
|
+
import { type Capability } from "../kaeso/identity.js";
|
|
1
4
|
export declare const KAESO_MODEL_PICKER_VARIANTS: {
|
|
2
5
|
readonly appearance: {
|
|
3
6
|
readonly ghost: {
|
|
@@ -18,20 +21,52 @@ export interface ModelPickerOption {
|
|
|
18
21
|
provider: string;
|
|
19
22
|
model?: string | undefined;
|
|
20
23
|
name?: string | undefined;
|
|
24
|
+
capabilities?: Capability[] | undefined;
|
|
25
|
+
context?: number | undefined;
|
|
26
|
+
price?: string | undefined;
|
|
27
|
+
note?: string | undefined;
|
|
28
|
+
deprecated?: boolean | undefined;
|
|
21
29
|
disabled?: boolean | undefined;
|
|
22
30
|
}
|
|
23
|
-
export interface
|
|
31
|
+
export interface ModelPickerProvider {
|
|
32
|
+
id: string;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
connected?: boolean | undefined;
|
|
35
|
+
}
|
|
36
|
+
interface BaseProps extends FieldWrapProps {
|
|
24
37
|
options: ModelPickerOption[];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
onValueChange?: ((value: string) => void) | undefined;
|
|
38
|
+
providers?: ModelPickerProvider[] | undefined;
|
|
39
|
+
recent?: readonly string[] | undefined;
|
|
28
40
|
groupByProvider?: boolean | undefined;
|
|
29
41
|
placeholder?: string | undefined;
|
|
30
42
|
"aria-label"?: string | undefined;
|
|
31
43
|
appearance?: keyof typeof KAESO_MODEL_PICKER_VARIANTS.appearance | undefined;
|
|
32
44
|
size?: "sm" | "md" | undefined;
|
|
45
|
+
fullWidth?: boolean | undefined;
|
|
33
46
|
disabled?: boolean | undefined;
|
|
47
|
+
invalid?: boolean | undefined;
|
|
48
|
+
open?: boolean | undefined;
|
|
49
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
34
50
|
"data-force"?: string | undefined;
|
|
35
51
|
className?: string | undefined;
|
|
36
52
|
}
|
|
53
|
+
export interface SingleModelPickerProps extends BaseProps {
|
|
54
|
+
multiple?: false | undefined;
|
|
55
|
+
allLabel?: string | undefined;
|
|
56
|
+
value?: string | null | undefined;
|
|
57
|
+
defaultValue?: string | null | undefined;
|
|
58
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface MultiModelPickerProps extends BaseProps {
|
|
61
|
+
multiple: true;
|
|
62
|
+
value?: string[] | undefined;
|
|
63
|
+
defaultValue?: string[] | undefined;
|
|
64
|
+
onValueChange?: ((value: string[]) => void) | undefined;
|
|
65
|
+
}
|
|
66
|
+
export type ModelPickerProps = SingleModelPickerProps | MultiModelPickerProps;
|
|
67
|
+
export declare function useModelGroups(options: ModelPickerOption[], { providers, groupByProvider }?: {
|
|
68
|
+
providers?: ModelPickerProvider[] | undefined;
|
|
69
|
+
groupByProvider?: boolean | undefined;
|
|
70
|
+
}): CommandListGroup[];
|
|
37
71
|
export declare const ModelPicker: import("react").ForwardRefExoticComponent<ModelPickerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export declare const KAESO_REASONING_VARIANTS: {
|
|
3
|
+
readonly state: {
|
|
4
|
+
readonly done: {
|
|
5
|
+
readonly classes: "";
|
|
6
|
+
readonly description: "Finished: “Thought for 4.2 s”, closed until opened (default)";
|
|
7
|
+
};
|
|
8
|
+
readonly live: {
|
|
9
|
+
readonly classes: "";
|
|
10
|
+
readonly description: "Still reasoning: “Thinking” pulses quietly and the latest line shows beside it";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const KAESO_REASONING_DEFAULT_VARIANTS: {
|
|
15
|
+
readonly state: "done";
|
|
16
|
+
};
|
|
17
|
+
export interface ReasoningProps {
|
|
18
|
+
text?: string | undefined;
|
|
19
|
+
live?: boolean | undefined;
|
|
20
|
+
duration?: number | undefined;
|
|
21
|
+
title?: ReactNode | undefined;
|
|
22
|
+
hint?: ReactNode | undefined;
|
|
23
|
+
open?: boolean | undefined;
|
|
24
|
+
defaultOpen?: boolean | undefined;
|
|
25
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
26
|
+
children?: ReactNode | undefined;
|
|
27
|
+
className?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare const Reasoning: import("react").ForwardRefExoticComponent<ReasoningProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -17,9 +17,13 @@ export declare const KAESO_RESPONSE_VIEW_VARIANTS: {
|
|
|
17
17
|
readonly classes: "";
|
|
18
18
|
readonly description: "Stopped by the person: the text so far and “Stopped”";
|
|
19
19
|
};
|
|
20
|
+
readonly incomplete: {
|
|
21
|
+
readonly classes: "";
|
|
22
|
+
readonly description: "Cut off by the model: the text so far and why, such as “Stopped at the output limit”";
|
|
23
|
+
};
|
|
20
24
|
readonly error: {
|
|
21
25
|
readonly classes: "";
|
|
22
|
-
readonly description: "Failed:
|
|
26
|
+
readonly description: "Failed: the error in place of the response, and Retry";
|
|
23
27
|
};
|
|
24
28
|
};
|
|
25
29
|
};
|
|
@@ -35,6 +39,8 @@ export interface ResponseViewProps {
|
|
|
35
39
|
reasoningOpen?: boolean | undefined;
|
|
36
40
|
defaultReasoningOpen?: boolean | undefined;
|
|
37
41
|
onReasoningOpenChange?: ((open: boolean) => void) | undefined;
|
|
42
|
+
incompleteReason?: string | undefined;
|
|
43
|
+
error?: string | undefined;
|
|
38
44
|
onRetry?: (() => void) | undefined;
|
|
39
45
|
footer?: ReactNode | undefined;
|
|
40
46
|
"aria-label"?: string | undefined;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const RELEASE_ART_STYLES: readonly ["bauhaus", "albers", "stripes", "waves", "truchet", "arcs", "phyllotaxis", "spiro"];
|
|
2
|
+
export type ReleaseArtStyle = (typeof RELEASE_ART_STYLES)[number];
|
|
3
|
+
export interface ReleaseArtSpec {
|
|
4
|
+
version: 1;
|
|
5
|
+
seed: number;
|
|
6
|
+
style: ReleaseArtStyle;
|
|
7
|
+
palette: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ArtNode {
|
|
10
|
+
tag: string;
|
|
11
|
+
attrs: Record<string, string | number>;
|
|
12
|
+
children?: ArtNode[] | undefined;
|
|
13
|
+
text?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare const RELEASE_ART_VIEW: {
|
|
16
|
+
readonly banner: {
|
|
17
|
+
readonly w: 640;
|
|
18
|
+
readonly h: 360;
|
|
19
|
+
};
|
|
20
|
+
readonly wide: {
|
|
21
|
+
readonly w: 840;
|
|
22
|
+
readonly h: 360;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export type ReleaseArtShape = keyof typeof RELEASE_ART_VIEW;
|
|
26
|
+
export declare function isReleaseArtSpec(value: unknown): value is ReleaseArtSpec;
|
|
27
|
+
export declare function randomReleaseArt(next?: () => number): ReleaseArtSpec;
|
|
28
|
+
export declare function nextReleaseArt(previous: readonly ReleaseArtSpec[], next?: () => number): ReleaseArtSpec;
|
|
29
|
+
export declare function releaseArtFor(text: string): ReleaseArtSpec;
|
|
30
|
+
export interface DrawOptions {
|
|
31
|
+
shape?: ReleaseArtShape | undefined;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
eyebrow?: string | undefined;
|
|
34
|
+
idPrefix?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare function releaseArtText(spec: ReleaseArtSpec): {
|
|
37
|
+
color: "#f7f5f0" | "#141414";
|
|
38
|
+
eyebrow: {
|
|
39
|
+
x: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
};
|
|
42
|
+
title: {
|
|
43
|
+
x: number;
|
|
44
|
+
bottom: number;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare function drawReleaseArt(spec: ReleaseArtSpec, options?: DrawOptions): ArtNode;
|
|
48
|
+
export declare function serializeArt(n: ArtNode): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./release-art.js";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type ReleaseArtSpec } from "./drawing.js";
|
|
3
|
+
export { RELEASE_ART_STYLES, isReleaseArtSpec, nextReleaseArt, randomReleaseArt, releaseArtFor, type ReleaseArtSpec, type ReleaseArtStyle } from "./drawing.js";
|
|
4
|
+
export declare const KAESO_RELEASE_ART_VARIANTS: {
|
|
5
|
+
readonly shape: {
|
|
6
|
+
readonly banner: {
|
|
7
|
+
readonly classes: "aspect-video";
|
|
8
|
+
readonly description: "16:9: the head of a dialog or a card (default)";
|
|
9
|
+
};
|
|
10
|
+
readonly wide: {
|
|
11
|
+
readonly classes: "aspect-21/9";
|
|
12
|
+
readonly description: "21:9: a wide strip above a page's content";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const KAESO_RELEASE_ART_DEFAULT_VARIANTS: {
|
|
17
|
+
readonly shape: "banner";
|
|
18
|
+
};
|
|
19
|
+
export interface ReleaseArtProps {
|
|
20
|
+
seed: string;
|
|
21
|
+
label: string;
|
|
22
|
+
art?: ReleaseArtSpec | undefined;
|
|
23
|
+
title?: ReactNode | undefined;
|
|
24
|
+
eyebrow?: ReactNode | undefined;
|
|
25
|
+
shape?: keyof typeof KAESO_RELEASE_ART_VARIANTS.shape | undefined;
|
|
26
|
+
className?: string | undefined;
|
|
27
|
+
}
|
|
28
|
+
export declare const ReleaseArt: import("react").ForwardRefExoticComponent<ReleaseArtProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
export interface ReleaseArtSvgOptions {
|
|
30
|
+
seed: string;
|
|
31
|
+
label: string;
|
|
32
|
+
art?: ReleaseArtSpec | undefined;
|
|
33
|
+
title?: string | undefined;
|
|
34
|
+
eyebrow?: string | undefined;
|
|
35
|
+
shape?: keyof typeof KAESO_RELEASE_ART_VARIANTS.shape | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare function releaseArtSvg({ seed, label, art, title, eyebrow, shape }: ReleaseArtSvgOptions): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function OptionCheckbox(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -39,6 +39,7 @@ export interface StatTileProps {
|
|
|
39
39
|
detail?: ReactNode | undefined;
|
|
40
40
|
trend?: number[] | undefined;
|
|
41
41
|
trendColor?: string | undefined;
|
|
42
|
+
loading?: boolean | undefined;
|
|
42
43
|
className?: string | undefined;
|
|
43
44
|
}
|
|
44
45
|
export declare const STAT_VALUE_STEPS: readonly [{
|
|
@@ -3,6 +3,7 @@ export declare const docs: {
|
|
|
3
3
|
description: string;
|
|
4
4
|
props: {
|
|
5
5
|
children: string;
|
|
6
|
+
icon: string;
|
|
6
7
|
size: string;
|
|
7
8
|
tone: string;
|
|
8
9
|
};
|
|
@@ -11,6 +12,7 @@ export declare const docs: {
|
|
|
11
12
|
description: string;
|
|
12
13
|
props: {
|
|
13
14
|
children: string;
|
|
15
|
+
icon: string;
|
|
14
16
|
size: string;
|
|
15
17
|
tone: string;
|
|
16
18
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
+
import { type IconData } from "../icon/icon.js";
|
|
2
3
|
export declare const KAESO_STATUS_DOT_VARIANTS: {
|
|
3
4
|
readonly tone: {
|
|
4
5
|
readonly success: {
|
|
@@ -30,6 +31,7 @@ export interface StatusDotProps {
|
|
|
30
31
|
tone?: keyof typeof KAESO_STATUS_DOT_VARIANTS.tone | undefined;
|
|
31
32
|
children?: ReactNode | undefined;
|
|
32
33
|
size?: "sm" | "md" | undefined;
|
|
34
|
+
icon?: IconData | undefined;
|
|
33
35
|
className?: string | undefined;
|
|
34
36
|
}
|
|
35
37
|
export declare const StatusDot: import("react").ForwardRefExoticComponent<StatusDotProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
export declare function setFormatLocale(locale: string, messages?: Readonly<Record<string, string>>): void;
|
|
2
2
|
export declare function formatLocale(): string;
|
|
3
|
+
export declare function setFormatTimeZone(timeZone: string | undefined): void;
|
|
4
|
+
export declare function formatTimeZone(): string | undefined;
|
|
3
5
|
export declare function formatNumber(value: number, options?: Intl.NumberFormatOptions): string;
|
|
4
6
|
export declare function formatTokens(value: number): string;
|
|
7
|
+
/** A model's context or output limit as models are named: a multiple of 1,024 in binary thousands ("128K" for 131,072, "1M" for 1,048,576), anything else in decimal ones ("128K" for 128,000, "200K"). */
|
|
8
|
+
export declare function formatContext(tokens: number): string;
|
|
5
9
|
export declare function formatBytes(bytes: number): string;
|
|
6
10
|
export declare function formatPercent(ratio: number, digits?: number): string;
|
|
7
11
|
export declare function formatUSD(amount: string, options?: {
|
|
8
12
|
significant?: number;
|
|
9
13
|
decimals?: number;
|
|
10
14
|
}): string;
|
|
15
|
+
/** A price per million tokens, exactly as set: at least two decimals and up to six ("$0.075", "$4.00", "$1.25"). */
|
|
16
|
+
export declare function formatPrice(amount: string): string;
|
|
11
17
|
export declare function formatDuration(ms: number, options?: {
|
|
12
18
|
precise?: boolean | undefined;
|
|
13
19
|
}): string;
|
|
14
20
|
type DateInput = Date | string | number;
|
|
21
|
+
/** A cached date formatter in the format locale. English writes the day first with three-letter months ("20 Sep 2026", "Mon 21 Sep"), the console's English everywhere. */
|
|
22
|
+
export declare function dateFormatter(options: Intl.DateTimeFormatOptions, locale?: string): (value: DateInput) => string;
|
|
15
23
|
export declare function formatDate(value: DateInput, options?: {
|
|
16
24
|
time?: boolean;
|
|
17
25
|
utc?: boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export * from "./components/display-options/index.js";
|
|
|
50
50
|
export * from "./components/dialog/index.js";
|
|
51
51
|
export * from "./components/sheet/index.js";
|
|
52
52
|
export * from "./components/command-palette/index.js";
|
|
53
|
+
export * from "./components/command-list/index.js";
|
|
53
54
|
export * from "./components/toast/index.js";
|
|
54
55
|
export * from "./components/pagination/index.js";
|
|
55
56
|
export * from "./components/toc/index.js";
|
|
@@ -66,6 +67,7 @@ export * from "./components/avatar/index.js";
|
|
|
66
67
|
export * from "./components/stat/index.js";
|
|
67
68
|
export * from "./components/key-value/index.js";
|
|
68
69
|
export * from "./components/qr-code/index.js";
|
|
70
|
+
export * from "./components/release-art/index.js";
|
|
69
71
|
export * from "./components/collapsible/index.js";
|
|
70
72
|
export * from "./components/timeline/index.js";
|
|
71
73
|
export * from "./components/flow/index.js";
|
|
@@ -4,5 +4,5 @@ export { devWarn, warnStylingClassName, warnMissingName, warnControlled } from "
|
|
|
4
4
|
export { LinkProvider, useLinkComponent, isExternalHref, type LinkComponent, type LinkComponentProps } from "./link-provider.js";
|
|
5
5
|
export { useControllable } from "./use-controllable.js";
|
|
6
6
|
export { PortalContainer, usePortalContainer, pageBoundary } from "./portal-context.js";
|
|
7
|
-
export { InsetContent, useInset } from "./inset.js";
|
|
7
|
+
export { GutterContent, InsetContent, useGutterPadded, useInset } from "./inset.js";
|
|
8
8
|
export type { StatusTone } from "./tone.js";
|
|
@@ -4,3 +4,8 @@ export declare function InsetContent({ children, inset }: {
|
|
|
4
4
|
inset?: boolean | undefined;
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare function useInset(): boolean;
|
|
7
|
+
export declare function GutterContent({ children, padded }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
padded?: boolean | undefined;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function useGutterPadded(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OverNonModalSheet: import("react").Context<boolean>;
|