@logicplanes/kaeso-ui 0.7.5-rc.8 → 0.7.5
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 +4 -4
- package/ai/component-guides.md +106 -8
- package/ai/component-registry.json +207 -55
- package/ai/component-registry.md +72 -44
- package/ai/icons.md +1 -1
- package/ai/tokens.md +18 -1
- package/dist/chunks/{app-frame-BZH_ATS-.js → app-frame-COfWg7wS.js} +10 -10
- package/dist/chunks/app-frame-COfWg7wS.js.map +1 -0
- package/dist/chunks/arrow-focus-D9q8rMct.js.map +1 -1
- package/dist/chunks/{avatar-CXhUuE1G.js → avatar-C4r7x_uJ.js} +16 -15
- package/dist/chunks/avatar-C4r7x_uJ.js.map +1 -0
- package/dist/chunks/avatar-CQNbSj8X.js +5 -0
- package/dist/chunks/avatar-CQNbSj8X.js.map +1 -0
- package/dist/chunks/{badge-Be95hMkq.js → badge-CU9K-wA1.js} +3 -3
- package/dist/chunks/badge-CU9K-wA1.js.map +1 -0
- package/dist/chunks/{banner-_XNQ5JDU.js → banner-R5GIFExf.js} +5 -5
- package/dist/chunks/banner-R5GIFExf.js.map +1 -0
- package/dist/chunks/{button-IDx51cLu.js → button-CXdEDVSI.js} +31 -30
- package/dist/chunks/button-CXdEDVSI.js.map +1 -0
- package/dist/chunks/{button-group-B5rYVJZk.js → button-group-CbzjByVu.js} +5 -5
- package/dist/chunks/button-group-CbzjByVu.js.map +1 -0
- package/dist/chunks/{calendar-D7Sbcrq-.js → calendar-BpY2J5Qf.js} +2 -2
- package/dist/chunks/calendar-BpY2J5Qf.js.map +1 -0
- package/dist/chunks/{checkbox-CzHNM_1C.js → checkbox-D2MWvFlH.js} +5 -5
- package/dist/chunks/checkbox-D2MWvFlH.js.map +1 -0
- package/dist/chunks/{cn-DQJRk8Ly.js → cn-Cim5WXyu.js} +7 -2
- package/dist/chunks/cn-Cim5WXyu.js.map +1 -0
- package/dist/chunks/{code-bpAOiAx9.js → code-CGPiBqzu.js} +2 -2
- package/dist/chunks/code-CGPiBqzu.js.map +1 -0
- package/dist/chunks/{code-block-DgACR0FD.js → code-block-Dkedqh94.js} +6 -6
- package/dist/chunks/code-block-Dkedqh94.js.map +1 -0
- package/dist/chunks/{code-block-CmkCi6IL.js → code-block-RYsP7P22.js} +7 -7
- package/dist/chunks/code-block-RYsP7P22.js.map +1 -0
- package/dist/chunks/{collapsible-ivslPUbI.js → collapsible-BwQBF1wX.js} +3 -3
- package/dist/chunks/collapsible-BwQBF1wX.js.map +1 -0
- package/dist/chunks/{combobox-Co0aJbVi.js → combobox-DlIGL6fh.js} +7 -7
- package/dist/chunks/combobox-DlIGL6fh.js.map +1 -0
- package/dist/chunks/{command-list-DuUjJqji.js → command-list-D7wBlyDt.js} +5 -5
- package/dist/chunks/command-list-D7wBlyDt.js.map +1 -0
- package/dist/chunks/{command-palette-3Q-vDMw2.js → command-palette-DhHS-XXz.js} +6 -6
- package/dist/chunks/command-palette-DhHS-XXz.js.map +1 -0
- package/dist/chunks/context-B2nNL7Im.js.map +1 -1
- package/dist/chunks/{copy-button-rX4M-GJO.js → copy-button-BjfGRgZi.js} +5 -5
- package/dist/chunks/copy-button-BjfGRgZi.js.map +1 -0
- package/dist/chunks/{core-hhm1-i4Y.js → core-DZ_ZGFjd.js} +147 -132
- package/dist/chunks/core-DZ_ZGFjd.js.map +1 -0
- package/dist/chunks/{dashboard-DQuMF9Tq.js → dashboard-BOeVNKwA.js} +8 -8
- package/dist/chunks/dashboard-BOeVNKwA.js.map +1 -0
- package/dist/chunks/data-table-DLqzrTF8.js +715 -0
- package/dist/chunks/data-table-DLqzrTF8.js.map +1 -0
- package/dist/chunks/{date-picker-eA13V1zj.js → date-picker-CiLNpsSh.js} +27 -26
- package/dist/chunks/{date-picker-eA13V1zj.js.map → date-picker-CiLNpsSh.js.map} +1 -1
- package/dist/chunks/{date-popup-DRANGI9L.js → date-popup-Bp0d8U6H.js} +4 -4
- package/dist/chunks/date-popup-Bp0d8U6H.js.map +1 -0
- package/dist/chunks/{de-CwdJzATr.js → de-BsTWV__5.js} +9 -5
- package/dist/chunks/de-BsTWV__5.js.map +1 -0
- package/dist/chunks/{delta-CNXOF9oJ.js → delta-Dspg6LP2.js} +3 -3
- package/dist/chunks/delta-Dspg6LP2.js.map +1 -0
- package/dist/chunks/dev-CRNODF1J.js.map +1 -1
- package/dist/chunks/{dialog-BAaxqNmo.js → dialog-wy5nNxfE.js} +4 -4
- package/dist/chunks/dialog-wy5nNxfE.js.map +1 -0
- package/dist/chunks/{disclosure-B5vcFKmf.js → disclosure-CmuBms1J.js} +2 -2
- package/dist/chunks/disclosure-CmuBms1J.js.map +1 -0
- package/dist/chunks/{display-options-DoSemxi6.js → display-options-CPo4Pn5F.js} +9 -9
- package/dist/chunks/display-options-CPo4Pn5F.js.map +1 -0
- package/dist/chunks/{domain-B9R6WwkJ.js → domain-Cfyk1vCK.js} +3 -3
- package/dist/chunks/{domain-B9R6WwkJ.js.map → domain-Cfyk1vCK.js.map} +1 -1
- package/dist/chunks/empty-JZwT3C6e.js +81 -0
- package/dist/chunks/empty-JZwT3C6e.js.map +1 -0
- package/dist/chunks/{field-CJmKViom.js → field-DG61eK8Z.js} +2 -2
- package/dist/chunks/field-DG61eK8Z.js.map +1 -0
- package/dist/chunks/{figure-D1v9DoaH.js → figure-BI0eP7S-.js} +3 -3
- package/dist/chunks/figure-BI0eP7S-.js.map +1 -0
- package/dist/chunks/figures-D_Tsrwwj.js.map +1 -1
- package/dist/chunks/{filter-chip-CK9CRCkU.js → filter-chip-DY-gZVYb.js} +6 -6
- package/dist/chunks/filter-chip-DY-gZVYb.js.map +1 -0
- package/dist/chunks/{filter-row-O70oE2iD.js → filter-row-CPO_SEYy.js} +3 -3
- package/dist/chunks/{filter-row-O70oE2iD.js.map → filter-row-CPO_SEYy.js.map} +1 -1
- package/dist/chunks/{flow-DMHMDBA4.js → flow-B8DRLw6-.js} +3 -3
- package/dist/chunks/flow-B8DRLw6-.js.map +1 -0
- package/dist/chunks/formatters-Be5AdLB2.js.map +1 -1
- package/dist/chunks/{heading-BTLbKrGv.js → heading-CkCOztRO.js} +2 -2
- package/dist/chunks/heading-CkCOztRO.js.map +1 -0
- package/dist/chunks/{icon-BGgbhXWJ.js → icon-B9UXhFTF.js} +2 -2
- package/dist/chunks/icon-B9UXhFTF.js.map +1 -0
- package/dist/chunks/icon-DOwC1bbC.js.map +1 -1
- package/dist/chunks/{identity-Bg-bQX3c.js → identity-CAvHnogN.js} +13 -8
- package/dist/chunks/identity-CAvHnogN.js.map +1 -0
- package/dist/chunks/{input-BYFKkVNf.js → input-6tVIiN3-.js} +5 -5
- package/dist/chunks/input-6tVIiN3-.js.map +1 -0
- package/dist/chunks/{input-BMuZu79b.js → input-BVheeeEI.js} +5 -5
- package/dist/chunks/input-BVheeeEI.js.map +1 -0
- package/dist/chunks/{input-group-BXj2Mghf.js → input-group-ClNtr_Gm.js} +4 -4
- package/dist/chunks/input-group-ClNtr_Gm.js.map +1 -0
- package/dist/chunks/inset-BTAjcK6a.js.map +1 -1
- package/dist/chunks/{iso-field-5b8xjn5X.js → iso-field-C29xji-V.js} +2 -2
- package/dist/chunks/iso-field-C29xji-V.js.map +1 -0
- package/dist/chunks/{json-view-DTIEJTSR.js → json-view-BVTEkhgz.js} +3 -3
- package/dist/chunks/json-view-BVTEkhgz.js.map +1 -0
- package/dist/chunks/{kaeso-DIbGvfhi.js → kaeso-CaMYkbqJ.js} +20 -20
- package/dist/chunks/kaeso-CaMYkbqJ.js.map +1 -0
- package/dist/chunks/kaeso-theme-C9rnRKq2.js.map +1 -1
- package/dist/chunks/{kbd-zNFwdrg1.js → kbd-CmhJfU_8.js} +18 -10
- package/dist/chunks/kbd-CmhJfU_8.js.map +1 -0
- package/dist/chunks/{key-value-BZca_YDS.js → key-value-tPKtCSOn.js} +23 -16
- package/dist/chunks/key-value-tPKtCSOn.js.map +1 -0
- package/dist/chunks/labelled-DJa09XRF.js.map +1 -1
- package/dist/chunks/linear-scale-B5A7yNr7.js.map +1 -1
- package/dist/chunks/{link-B_qFiRsh.js → link-CZ1h1ksk.js} +3 -3
- package/dist/chunks/link-CZ1h1ksk.js.map +1 -0
- package/dist/chunks/link-provider-DSF9bbO3.js.map +1 -1
- package/dist/chunks/list-zQrK77Dx.js +698 -0
- package/dist/chunks/list-zQrK77Dx.js.map +1 -0
- package/dist/chunks/loader-BbKL8cW_.js +41 -0
- package/dist/chunks/loader-BbKL8cW_.js.map +1 -0
- package/dist/chunks/{loader-BkSlU0vv.js → loader-DBk2HCOh.js} +9 -8
- package/dist/chunks/loader-DBk2HCOh.js.map +1 -0
- package/dist/chunks/{logo-BNUcTTFE.js → logo-DqjYySTX.js} +3 -3
- package/dist/chunks/logo-DqjYySTX.js.map +1 -0
- package/dist/chunks/{markdown-DH8zo4N5.js → markdown-Ds1mSbGa.js} +11 -11
- package/dist/chunks/markdown-Ds1mSbGa.js.map +1 -0
- package/dist/chunks/{menu-4EfdXXaY.js → menu-CKlz_Dp4.js} +5 -5
- package/dist/chunks/menu-CKlz_Dp4.js.map +1 -0
- package/dist/chunks/merge-refs-SiVVoQsO.js.map +1 -1
- package/dist/chunks/message-DpD9D1Dj.js.map +1 -1
- package/dist/chunks/{meter-B-VbJ8-a.js → meter-d2wMKjVU.js} +4 -4
- package/dist/chunks/meter-d2wMKjVU.js.map +1 -0
- package/dist/chunks/{nav-sheet-B1C0Qsan.js → nav-sheet--ycVeOvo.js} +3 -3
- package/dist/chunks/nav-sheet--ycVeOvo.js.map +1 -0
- package/dist/chunks/{nav-wordmark-CkHnmvCE.js → nav-wordmark-CPDxGU5t.js} +2 -2
- package/dist/chunks/nav-wordmark-CPDxGU5t.js.map +1 -0
- package/dist/chunks/observe-resize-Bubv5_wX.js.map +1 -1
- package/dist/chunks/option-checkbox-wA9L8Nxo.js.map +1 -1
- package/dist/chunks/over-sheet-CMUXcIMV.js.map +1 -1
- package/dist/chunks/{page-header-CMk_EwVa.js → page-header-DRi-hKtt.js} +8 -8
- package/dist/chunks/page-header-DRi-hKtt.js.map +1 -0
- package/dist/chunks/{pagination-BfmCRgHJ.js → pagination-DvPIXuoj.js} +3 -3
- package/dist/chunks/pagination-DvPIXuoj.js.map +1 -0
- package/dist/chunks/{picker-popover-3iW35tmy.js → picker-popover-B-zhsNiS.js} +7 -7
- package/dist/chunks/picker-popover-B-zhsNiS.js.map +1 -0
- package/dist/chunks/{popover-DEaeabhG.js → popover-Dw7iTUNg.js} +2 -2
- package/dist/chunks/popover-Dw7iTUNg.js.map +1 -0
- package/dist/chunks/popover-root-BI54wuLi.js.map +1 -1
- package/dist/chunks/portal-context-Z2xSIPsc.js.map +1 -1
- package/dist/chunks/provider-marks-DmonWRb5.js.map +1 -1
- package/dist/chunks/{qr-code-cRty-avF.js → qr-code-ClT_2Xa9.js} +2 -2
- package/dist/chunks/qr-code-ClT_2Xa9.js.map +1 -0
- package/dist/chunks/{radio-C9iPbghn.js → radio-DJES13fj.js} +3 -3
- package/dist/chunks/radio-DJES13fj.js.map +1 -0
- package/dist/chunks/{range-popup-UYRCFfQl.js → range-popup-CiCBpRfH.js} +7 -7
- package/dist/chunks/range-popup-CiCBpRfH.js.map +1 -0
- package/dist/chunks/{reasoning-frame-IiHAbh6g.js → reasoning-frame-DnTFGrD_.js} +3 -3
- package/dist/chunks/reasoning-frame-DnTFGrD_.js.map +1 -0
- package/dist/chunks/{release-art-CE2j4YlI.js → release-art-CQjO2Ewv.js} +193 -207
- package/dist/chunks/release-art-CQjO2Ewv.js.map +1 -0
- package/dist/chunks/resize-motion-CMR1x5Kw.js.map +1 -1
- package/dist/chunks/{rights-i-LRTcge.js → rights-B0LWKkB2.js} +121 -115
- package/dist/chunks/rights-B0LWKkB2.js.map +1 -0
- package/dist/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
- package/dist/chunks/{rolling-number-_2kGzuy_.js → rolling-number-uNjki3hn.js} +2 -2
- package/dist/chunks/rolling-number-uNjki3hn.js.map +1 -0
- package/dist/chunks/row-control-DlHLdthx.js.map +1 -1
- package/dist/chunks/safe-href-CWHpspUx.js.map +1 -1
- package/dist/chunks/{scroll-area-DrzIUI9G.js → scroll-area-CjokFhH6.js} +2 -2
- package/dist/chunks/scroll-area-CjokFhH6.js.map +1 -0
- package/dist/chunks/{section-NyJfocIN.js → section-DJgejMMh.js} +3 -3
- package/dist/chunks/section-DJgejMMh.js.map +1 -0
- package/dist/chunks/{segmented-CHt-g7nN.js → segmented-UnR1L-kk.js} +4 -4
- package/dist/chunks/segmented-UnR1L-kk.js.map +1 -0
- package/dist/chunks/{select-Kk7Zr4sY.js → select-BDwDI8L3.js} +5 -5
- package/dist/chunks/select-BDwDI8L3.js.map +1 -0
- package/dist/chunks/selects-text-CYQ11JVI.js +46 -0
- package/dist/chunks/selects-text-CYQ11JVI.js.map +1 -0
- package/dist/chunks/{separator-B4NRWxdN.js → separator-3RcDNFzM.js} +2 -2
- package/dist/chunks/separator-3RcDNFzM.js.map +1 -0
- package/dist/chunks/{settings-DxCWt7db.js → settings-CcNjQm1D.js} +4 -3
- package/dist/chunks/settings-CcNjQm1D.js.map +1 -0
- package/dist/chunks/{sheet-CDzn-r3p.js → sheet-CsN1uy5N.js} +3 -3
- package/dist/chunks/sheet-CsN1uy5N.js.map +1 -0
- package/dist/chunks/shiki-Drii10ai.js.map +1 -1
- package/dist/chunks/{sidebar-DvWmC7uY.js → sidebar-Cz0KdApZ.js} +307 -257
- package/dist/chunks/sidebar-Cz0KdApZ.js.map +1 -0
- package/dist/chunks/{sidebar-menu-BTXCx8zv.js → sidebar-menu-CTaQhVTv.js} +2 -2
- package/dist/chunks/sidebar-menu-CTaQhVTv.js.map +1 -0
- package/dist/chunks/skeleton-GuivuiOP.js +70 -0
- package/dist/chunks/skeleton-GuivuiOP.js.map +1 -0
- package/dist/chunks/{slider-DOlqqalv.js → slider-XvStaacJ.js} +2 -2
- package/dist/chunks/slider-XvStaacJ.js.map +1 -0
- package/dist/chunks/{stat-Bp_wZjxy.js → stat-BJ4otTGc.js} +6 -6
- package/dist/chunks/stat-BJ4otTGc.js.map +1 -0
- package/dist/chunks/{status-C3kBsFx5.js → status-BkW_rVAX.js} +3 -3
- package/dist/chunks/status-BkW_rVAX.js.map +1 -0
- package/dist/chunks/{styles-CN0ovMB2.js → styles-BsZZml1H.js} +2 -2
- package/dist/chunks/{styles-CN0ovMB2.js.map → styles-BsZZml1H.js.map} +1 -1
- package/dist/chunks/{swap-text-BwTV6JqO.js → swap-text-Crb3uzrK.js} +2 -2
- package/dist/chunks/swap-text-Crb3uzrK.js.map +1 -0
- package/dist/chunks/{swap-value-Di18BQCa.js → swap-value-BKrH58Iv.js} +3 -3
- package/dist/chunks/swap-value-BKrH58Iv.js.map +1 -0
- package/dist/chunks/{switch-C1pUsVtT.js → switch-CzmZ6gLD.js} +5 -4
- package/dist/chunks/switch-CzmZ6gLD.js.map +1 -0
- package/dist/chunks/{table-BXJrLHr8.js → table-ppZE7fYt.js} +2 -2
- package/dist/chunks/table-ppZE7fYt.js.map +1 -0
- package/dist/chunks/{tabs-D40oQwXB.js → tabs-DPA2zGfY.js} +3 -3
- package/dist/chunks/tabs-DPA2zGfY.js.map +1 -0
- package/dist/chunks/{tag-x-EyRR8h.js → tag-CnULig9p.js} +4 -4
- package/dist/chunks/tag-CnULig9p.js.map +1 -0
- package/dist/chunks/{text-BXZOSAHk.js → text-BC4rusw7.js} +3 -3
- package/dist/chunks/text-BC4rusw7.js.map +1 -0
- package/dist/chunks/{textarea-DsYriHdR.js → textarea-K4ojoshs.js} +5 -5
- package/dist/chunks/textarea-K4ojoshs.js.map +1 -0
- package/dist/chunks/{theme-image-DKxmJnVz.js → theme-image-C9p959Kv.js} +2 -2
- package/dist/chunks/theme-image-C9p959Kv.js.map +1 -0
- package/dist/chunks/{theme-menu-BfTPLeV1.js → theme-menu-Bm8d9ooS.js} +4 -4
- package/dist/chunks/theme-menu-Bm8d9ooS.js.map +1 -0
- package/dist/chunks/theme-provider-DaD8hlXu.js.map +1 -1
- package/dist/chunks/{thumbnail-DYBOnTRy.js → thumbnail-CUa0JXLG.js} +4 -4
- package/dist/chunks/thumbnail-CUa0JXLG.js.map +1 -0
- package/dist/chunks/{thumbnail-CcC1oISm.js → thumbnail-KtBHleQk.js} +2 -2
- package/dist/chunks/thumbnail-KtBHleQk.js.map +1 -0
- package/dist/chunks/{timeline-l12CWnH0.js → timeline-hMJEN3ZB.js} +3 -3
- package/dist/chunks/timeline-hMJEN3ZB.js.map +1 -0
- package/dist/chunks/{timeseries-11o3wvRN.js → timeseries-BUL9zITH.js} +7 -7
- package/dist/chunks/timeseries-BUL9zITH.js.map +1 -0
- package/dist/chunks/{toast-YiWEHrDi.js → toast-4PyK7GS1.js} +5 -5
- package/dist/chunks/toast-4PyK7GS1.js.map +1 -0
- package/dist/chunks/{toc-kwH5V9BC.js → toc-CUh8jCiJ.js} +2 -2
- package/dist/chunks/toc-CUh8jCiJ.js.map +1 -0
- package/dist/chunks/toolbar-w3ZPxEoW.js +80 -0
- package/dist/chunks/toolbar-w3ZPxEoW.js.map +1 -0
- package/dist/chunks/tooltip-D0jdTWyX.js.map +1 -1
- package/dist/chunks/{tooltip-5VkHAnXF.js → tooltip-DpUVorD8.js} +4 -4
- package/dist/chunks/tooltip-DpUVorD8.js.map +1 -0
- package/dist/chunks/{tooltip-root-munfMGEN.js → tooltip-root-Ka27-TrV.js} +8 -7
- package/dist/chunks/tooltip-root-Ka27-TrV.js.map +1 -0
- package/dist/chunks/{tooltip-D8DF9Pe6.js → tooltip-uRgNOzW_.js} +4 -4
- package/dist/chunks/tooltip-uRgNOzW_.js.map +1 -0
- package/dist/chunks/{truncated-xRd8D8kf.js → truncated-CcpJk_3e.js} +3 -3
- package/dist/chunks/truncated-CcpJk_3e.js.map +1 -0
- package/dist/chunks/use-controllable-rN5Fg5EJ.js.map +1 -1
- package/dist/chunks/use-copy-DtUCUOlR.js.map +1 -1
- package/dist/chunks/use-cut-off-Cx1Nn5uF.js.map +1 -1
- package/dist/chunks/use-delayed-loading-Chh5dI7E.js +21 -0
- package/dist/chunks/use-delayed-loading-Chh5dI7E.js.map +1 -0
- package/dist/chunks/use-hydrating-Dth8POSk.js.map +1 -1
- package/dist/chunks/use-indicator-C1pEv290.js.map +1 -1
- package/dist/chunks/use-layout-width-DbMAv4mR.js.map +1 -1
- package/dist/chunks/use-scroll-fade-BwpKEWY0.js.map +1 -1
- package/dist/chunks/use-scroll-margin-LcRbT78-.js.map +1 -1
- package/dist/chunks/use-truncated-Dn60-ubK.js.map +1 -1
- package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js.map +1 -1
- package/dist/chunks/virtual-rows-D-ZT6V6B.js.map +1 -1
- package/dist/chunks/{visually-hidden-BloW-QXO.js → visually-hidden-Di2pLhE3.js} +2 -2
- package/dist/chunks/visually-hidden-Di2pLhE3.js.map +1 -0
- package/dist/chunks/when-idle-DXKwyOLB.js.map +1 -1
- package/dist/chunks/{zh-CN-Db1lfihK.js → zh-CN-C4aFUWpC.js} +6 -2
- package/dist/chunks/zh-CN-C4aFUWpC.js.map +1 -0
- package/dist/components/app-frame.js +1 -1
- package/dist/components/avatar.js +3 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/charts/bar.js +6 -6
- package/dist/components/charts/bar.js.map +1 -1
- package/dist/components/charts/donut.js +156 -85
- package/dist/components/charts/donut.js.map +1 -1
- package/dist/components/charts/heatmap.js +3 -3
- package/dist/components/charts/heatmap.js.map +1 -1
- package/dist/components/charts/sankey.js +4 -4
- package/dist/components/charts/sankey.js.map +1 -1
- package/dist/components/charts/sparkline.js +3 -3
- package/dist/components/charts/sparkline.js.map +1 -1
- package/dist/components/charts/swatches.js +31 -0
- package/dist/components/charts/swatches.js.map +1 -0
- package/dist/components/charts/timeseries.js +1 -1
- package/dist/components/charts.js +8 -8
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-block.js +3 -3
- 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-palette.js +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/dashboard/about-header.js +44 -0
- package/dist/components/dashboard/about-header.js.map +1 -0
- package/dist/components/dashboard/legend.js +2 -2
- package/dist/components/dashboard/legend.js.map +1 -1
- package/dist/components/dashboard/metric-tabs.js +4 -4
- package/dist/components/dashboard/metric-tabs.js.map +1 -1
- package/dist/components/dashboard/model-card.js +100 -38
- package/dist/components/dashboard/model-card.js.map +1 -1
- package/dist/components/dashboard/rank-list.js +90 -59
- package/dist/components/dashboard/rank-list.js.map +1 -1
- package/dist/components/dashboard.js +3 -2
- package/dist/components/data-table.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/display-options.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/figure.js +1 -1
- package/dist/components/filter-chip.js +1 -1
- package/dist/components/filter-row.js +1 -1
- package/dist/components/flow-canvas.js +8 -8
- package/dist/components/flow-canvas.js.map +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/heading.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/kaeso/conversation.js +8 -8
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +4 -4
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +8 -8
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +3 -3
- package/dist/components/kbd.js +1 -1
- package/dist/components/key-value.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loader.js +3 -2
- package/dist/components/logo.js +1 -1
- 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 +61 -42
- package/dist/components/playground.js.map +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/qr-code.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/release-art.js +1 -1
- 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 +1 -1
- package/dist/components/sheet.js +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 +3 -3
- package/dist/components/status.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 +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 +1 -1
- package/dist/components/thumbnail.js +2 -2
- package/dist/components/timeline.js +1 -1
- package/dist/components/toast.js +1 -1
- 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.map +1 -1
- package/dist/i18n-locales.js.map +1 -1
- package/dist/i18n-provider.js +1 -1
- package/dist/i18n-provider.js.map +1 -1
- package/dist/index.js +101 -99
- package/dist/kaeso.css +138 -44
- package/dist/styles.css +1 -1
- package/dist/types/components/app-frame/app-frame.d.ts +2 -2
- package/dist/types/components/avatar/avatar.d.ts +1 -0
- package/dist/types/components/avatar/docs.d.ts +1 -0
- package/dist/types/components/avatar/index.d.ts +1 -0
- package/dist/types/components/avatar/swatches.d.ts +6 -0
- package/dist/types/components/banner/banner.d.ts +2 -2
- package/dist/types/components/charts/core.d.ts +6 -2
- package/dist/types/components/charts/docs.d.ts +2 -0
- package/dist/types/components/charts/donut.d.ts +2 -0
- package/dist/types/components/charts/index.d.ts +1 -1
- package/dist/types/components/charts/swatches.d.ts +8 -0
- package/dist/types/components/dashboard/about-header.d.ts +12 -0
- package/dist/types/components/dashboard/docs.d.ts +16 -2
- package/dist/types/components/dashboard/index.d.ts +1 -0
- package/dist/types/components/dashboard/model-card.d.ts +2 -2
- package/dist/types/components/dashboard/rank-list.d.ts +2 -0
- package/dist/types/components/empty/docs.d.ts +2 -0
- package/dist/types/components/empty/empty.d.ts +29 -7
- package/dist/types/components/empty/ghost.d.ts +9 -0
- package/dist/types/components/filter-row/filter-row.d.ts +2 -2
- package/dist/types/components/kaeso/client-button.d.ts +2 -2
- package/dist/types/components/kaeso/model-makers.d.ts +2 -2
- package/dist/types/components/kaeso/source-badge.d.ts +3 -3
- package/dist/types/components/key-value/key-value.d.ts +1 -0
- package/dist/types/components/list/docs.d.ts +2 -0
- package/dist/types/components/list/index.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +18 -0
- package/dist/types/components/loader/loader.d.ts +1 -1
- package/dist/types/components/page-header/page-header.d.ts +1 -1
- package/dist/types/components/release-art/drawing.d.ts +1 -5
- package/dist/types/components/release-art/index.d.ts +1 -1
- package/dist/types/components/release-art/release-art.d.ts +1 -5
- package/dist/types/components/sidebar/sidebar.d.ts +1 -0
- package/dist/types/components/skeleton/docs.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton.d.ts +9 -0
- package/dist/types/components/toolbar/docs.d.ts +1 -0
- package/dist/types/components/toolbar/toolbar.d.ts +14 -2
- package/dist/types/hooks/use-delayed-loading.d.ts +1 -0
- package/dist/types/utils/cn.d.ts +15 -15
- package/dist/utils.js +1 -1
- package/foundations/color.md +4 -3
- package/foundations/icons.md +1 -1
- package/foundations/layout.md +9 -9
- package/foundations/motion.md +4 -2
- package/foundations/psychology.md +1 -1
- package/foundations/writing.md +6 -1
- package/package.json +10 -10
- package/dist/chunks/app-frame-BZH_ATS-.js.map +0 -1
- package/dist/chunks/avatar-CXhUuE1G.js.map +0 -1
- package/dist/chunks/badge-Be95hMkq.js.map +0 -1
- package/dist/chunks/banner-_XNQ5JDU.js.map +0 -1
- package/dist/chunks/button-IDx51cLu.js.map +0 -1
- package/dist/chunks/button-group-B5rYVJZk.js.map +0 -1
- package/dist/chunks/calendar-D7Sbcrq-.js.map +0 -1
- package/dist/chunks/checkbox-CzHNM_1C.js.map +0 -1
- package/dist/chunks/cn-DQJRk8Ly.js.map +0 -1
- package/dist/chunks/code-block-CmkCi6IL.js.map +0 -1
- package/dist/chunks/code-block-DgACR0FD.js.map +0 -1
- package/dist/chunks/code-bpAOiAx9.js.map +0 -1
- package/dist/chunks/collapsible-ivslPUbI.js.map +0 -1
- package/dist/chunks/combobox-Co0aJbVi.js.map +0 -1
- package/dist/chunks/command-list-DuUjJqji.js.map +0 -1
- package/dist/chunks/command-palette-3Q-vDMw2.js.map +0 -1
- package/dist/chunks/copy-button-rX4M-GJO.js.map +0 -1
- package/dist/chunks/core-hhm1-i4Y.js.map +0 -1
- package/dist/chunks/dashboard-DQuMF9Tq.js.map +0 -1
- package/dist/chunks/data-table-BwZjiKKY.js +0 -683
- package/dist/chunks/data-table-BwZjiKKY.js.map +0 -1
- package/dist/chunks/date-popup-DRANGI9L.js.map +0 -1
- package/dist/chunks/de-CwdJzATr.js.map +0 -1
- package/dist/chunks/delta-CNXOF9oJ.js.map +0 -1
- package/dist/chunks/dialog-BAaxqNmo.js.map +0 -1
- package/dist/chunks/disclosure-B5vcFKmf.js.map +0 -1
- package/dist/chunks/display-options-DoSemxi6.js.map +0 -1
- package/dist/chunks/empty-2sGaG4zU.js +0 -50
- package/dist/chunks/empty-2sGaG4zU.js.map +0 -1
- package/dist/chunks/field-CJmKViom.js.map +0 -1
- package/dist/chunks/figure-D1v9DoaH.js.map +0 -1
- package/dist/chunks/filter-chip-CK9CRCkU.js.map +0 -1
- package/dist/chunks/flow-DMHMDBA4.js.map +0 -1
- package/dist/chunks/heading-BTLbKrGv.js.map +0 -1
- package/dist/chunks/icon-BGgbhXWJ.js.map +0 -1
- package/dist/chunks/identity-Bg-bQX3c.js.map +0 -1
- package/dist/chunks/input-BMuZu79b.js.map +0 -1
- package/dist/chunks/input-BYFKkVNf.js.map +0 -1
- package/dist/chunks/input-group-BXj2Mghf.js.map +0 -1
- package/dist/chunks/iso-field-5b8xjn5X.js.map +0 -1
- package/dist/chunks/json-view-DTIEJTSR.js.map +0 -1
- package/dist/chunks/kaeso-DIbGvfhi.js.map +0 -1
- package/dist/chunks/kbd-zNFwdrg1.js.map +0 -1
- package/dist/chunks/key-value-BZca_YDS.js.map +0 -1
- package/dist/chunks/link-B_qFiRsh.js.map +0 -1
- package/dist/chunks/list-D40s-Q7V.js +0 -596
- package/dist/chunks/list-D40s-Q7V.js.map +0 -1
- package/dist/chunks/loader-B0lA9LE9.js +0 -56
- package/dist/chunks/loader-B0lA9LE9.js.map +0 -1
- package/dist/chunks/loader-BkSlU0vv.js.map +0 -1
- package/dist/chunks/logo-BNUcTTFE.js.map +0 -1
- package/dist/chunks/markdown-DH8zo4N5.js.map +0 -1
- package/dist/chunks/menu-4EfdXXaY.js.map +0 -1
- package/dist/chunks/meter-B-VbJ8-a.js.map +0 -1
- package/dist/chunks/nav-sheet-B1C0Qsan.js.map +0 -1
- package/dist/chunks/nav-wordmark-CkHnmvCE.js.map +0 -1
- package/dist/chunks/page-header-CMk_EwVa.js.map +0 -1
- package/dist/chunks/pagination-BfmCRgHJ.js.map +0 -1
- package/dist/chunks/picker-popover-3iW35tmy.js.map +0 -1
- package/dist/chunks/popover-DEaeabhG.js.map +0 -1
- package/dist/chunks/qr-code-cRty-avF.js.map +0 -1
- package/dist/chunks/radio-C9iPbghn.js.map +0 -1
- package/dist/chunks/range-popup-UYRCFfQl.js.map +0 -1
- package/dist/chunks/reasoning-frame-IiHAbh6g.js.map +0 -1
- package/dist/chunks/release-art-CE2j4YlI.js.map +0 -1
- package/dist/chunks/rights-i-LRTcge.js.map +0 -1
- package/dist/chunks/rolling-number-_2kGzuy_.js.map +0 -1
- package/dist/chunks/scroll-area-DrzIUI9G.js.map +0 -1
- package/dist/chunks/section-NyJfocIN.js.map +0 -1
- package/dist/chunks/segmented-CHt-g7nN.js.map +0 -1
- package/dist/chunks/select-Kk7Zr4sY.js.map +0 -1
- package/dist/chunks/selects-text-kRMTsm4s.js +0 -32
- package/dist/chunks/selects-text-kRMTsm4s.js.map +0 -1
- package/dist/chunks/separator-B4NRWxdN.js.map +0 -1
- package/dist/chunks/settings-DxCWt7db.js.map +0 -1
- package/dist/chunks/sheet-CDzn-r3p.js.map +0 -1
- package/dist/chunks/sidebar-DvWmC7uY.js.map +0 -1
- package/dist/chunks/sidebar-menu-BTXCx8zv.js.map +0 -1
- package/dist/chunks/skeleton-4vjHa9pE.js +0 -32
- package/dist/chunks/skeleton-4vjHa9pE.js.map +0 -1
- package/dist/chunks/slider-DOlqqalv.js.map +0 -1
- package/dist/chunks/stat-Bp_wZjxy.js.map +0 -1
- package/dist/chunks/status-C3kBsFx5.js.map +0 -1
- package/dist/chunks/swap-text-BwTV6JqO.js.map +0 -1
- package/dist/chunks/swap-value-Di18BQCa.js.map +0 -1
- package/dist/chunks/switch-C1pUsVtT.js.map +0 -1
- package/dist/chunks/table-BXJrLHr8.js.map +0 -1
- package/dist/chunks/tabs-D40oQwXB.js.map +0 -1
- package/dist/chunks/tag-x-EyRR8h.js.map +0 -1
- package/dist/chunks/text-BXZOSAHk.js.map +0 -1
- package/dist/chunks/textarea-DsYriHdR.js.map +0 -1
- package/dist/chunks/theme-image-DKxmJnVz.js.map +0 -1
- package/dist/chunks/theme-menu-BfTPLeV1.js.map +0 -1
- package/dist/chunks/thumbnail-CcC1oISm.js.map +0 -1
- package/dist/chunks/thumbnail-DYBOnTRy.js.map +0 -1
- package/dist/chunks/timeline-l12CWnH0.js.map +0 -1
- package/dist/chunks/timeseries-11o3wvRN.js.map +0 -1
- package/dist/chunks/toast-YiWEHrDi.js.map +0 -1
- package/dist/chunks/toc-kwH5V9BC.js.map +0 -1
- package/dist/chunks/toolbar-CsamWPRC.js +0 -60
- package/dist/chunks/toolbar-CsamWPRC.js.map +0 -1
- package/dist/chunks/tooltip-5VkHAnXF.js.map +0 -1
- package/dist/chunks/tooltip-D8DF9Pe6.js.map +0 -1
- package/dist/chunks/tooltip-root-munfMGEN.js.map +0 -1
- package/dist/chunks/truncated-xRd8D8kf.js.map +0 -1
- package/dist/chunks/visually-hidden-BloW-QXO.js.map +0 -1
- package/dist/chunks/zh-CN-Db1lfihK.js.map +0 -1
|
@@ -41,8 +41,8 @@ export declare const KAESO_APP_FRAME_BODY_VARIANTS: {
|
|
|
41
41
|
readonly description: "A list or table under the header: 8px above the first row; rows bring their own side insets";
|
|
42
42
|
};
|
|
43
43
|
readonly page: {
|
|
44
|
-
readonly classes: "px-
|
|
45
|
-
readonly description: "A content page (overviews, charts, sections):
|
|
44
|
+
readonly classes: "px-gutter pt-16 pb-48";
|
|
45
|
+
readonly description: "A content page (overviews, charts, sections): the gutter at its sides, 16px under the header, 48px at the end";
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -45,6 +45,7 @@ export declare function initials(name: string, max?: 1 | 2): string;
|
|
|
45
45
|
export interface AvatarProps {
|
|
46
46
|
name: string;
|
|
47
47
|
src?: string | undefined;
|
|
48
|
+
color?: string | undefined;
|
|
48
49
|
size?: keyof typeof KAESO_AVATAR_VARIANTS.size | undefined;
|
|
49
50
|
kind?: keyof typeof KAESO_AVATAR_VARIANTS.kind | undefined;
|
|
50
51
|
agent?: {
|
|
@@ -2,3 +2,4 @@ export { Avatar, KAESO_AVATAR_DEFAULT_VARIANTS, KAESO_AVATAR_VARIANTS, initials
|
|
|
2
2
|
export type { AvatarGroupProps, AvatarProps } from "./avatar.js";
|
|
3
3
|
export { AGENT_MODELS, agentModel, type AgentModel } from "./models.js";
|
|
4
4
|
export { modelName, useModelName } from "./model-name.js";
|
|
5
|
+
export { SWATCHES } from "./swatches.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The swatches of things people name, such as projects, as CSS colours, in the order they are given out
|
|
3
|
+
* (`--k-swatch-1` to `--k-swatch-10`). Written out rather than read from the tokens, so a page that only paints them
|
|
4
|
+
* doesn't load the token tables.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SWATCHES: readonly string[];
|
|
@@ -29,8 +29,8 @@ export declare const KAESO_BANNER_VARIANTS: {
|
|
|
29
29
|
readonly description: "Inside content: a cut plate, radius 6, its icon 12px in, at least 56px tall with or without actions (default)";
|
|
30
30
|
};
|
|
31
31
|
readonly full: {
|
|
32
|
-
readonly classes: "rounded-none px-
|
|
33
|
-
readonly description: "Across the top of the panel for global notices: its icon on the
|
|
32
|
+
readonly classes: "rounded-none px-gutter py-10 hairline-b-strong";
|
|
33
|
+
readonly description: "Across the top of the panel for global notices: its icon on the gutter, a hairline at its foot";
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -9,8 +9,12 @@ export declare function wholeTicks(ticks: number[], values: number[]): number[];
|
|
|
9
9
|
export declare const VIZ: readonly ["var(--k-viz-1)", "var(--k-viz-2)", "var(--k-viz-3)", "var(--k-viz-4)", "var(--k-viz-5)", "var(--k-viz-6)", "var(--k-viz-7)", "var(--k-viz-8)"];
|
|
10
10
|
export declare const VIZ_THIN: readonly ["var(--k-viz-thin-1)", "var(--k-viz-thin-2)", "var(--k-viz-thin-3)", "var(--k-viz-thin-4)", "var(--k-viz-thin-5)", "var(--k-viz-thin-6)", "var(--k-viz-thin-7)", "var(--k-viz-thin-8)"];
|
|
11
11
|
export declare function seriesIndex(id: string): number;
|
|
12
|
-
export declare function assignSeries(ids: string[]): Map<string, number>;
|
|
13
|
-
|
|
12
|
+
export declare function assignSeries(ids: string[], taken?: Iterable<string>): Map<string, number>;
|
|
13
|
+
/**
|
|
14
|
+
* A colour for each series id, the same for an id whatever else a chart holds where it can be. Colours in `taken`, the
|
|
15
|
+
* ones some series already carry, are given to no other.
|
|
16
|
+
*/
|
|
17
|
+
export declare function seriesColors(ids: string[], thin?: boolean, taken?: Iterable<string>): Map<string, string>;
|
|
14
18
|
export declare const seriesColor: (id: string, thin?: boolean) => "var(--k-viz-1)" | "var(--k-viz-2)" | "var(--k-viz-3)" | "var(--k-viz-4)" | "var(--k-viz-5)" | "var(--k-viz-6)" | "var(--k-viz-7)" | "var(--k-viz-8)" | "var(--k-viz-thin-1)" | "var(--k-viz-thin-2)" | "var(--k-viz-thin-3)" | "var(--k-viz-thin-4)" | "var(--k-viz-thin-5)" | "var(--k-viz-thin-6)" | "var(--k-viz-thin-7)" | "var(--k-viz-thin-8)";
|
|
15
19
|
export type TokenKind = keyof typeof tokenKindSeries;
|
|
16
20
|
export declare const tokenKindColor: (k: TokenKind, thin?: boolean) => "var(--k-viz-1)" | "var(--k-viz-2)" | "var(--k-viz-3)" | "var(--k-viz-4)" | "var(--k-viz-5)" | "var(--k-viz-6)" | "var(--k-viz-7)" | "var(--k-viz-8)" | "var(--k-viz-thin-1)" | "var(--k-viz-thin-2)" | "var(--k-viz-thin-3)" | "var(--k-viz-thin-4)" | "var(--k-viz-thin-5)" | "var(--k-viz-thin-6)" | "var(--k-viz-thin-7)" | "var(--k-viz-thin-8)" | "var(--k-viz-1-soft)";
|
|
@@ -54,6 +54,8 @@ export declare const ShareBar: import("react").ForwardRefExoticComponent<{
|
|
|
54
54
|
slices: Slice[];
|
|
55
55
|
formatValue?: ((v: number) => string) | undefined;
|
|
56
56
|
legend?: boolean | undefined;
|
|
57
|
+
loading?: boolean | undefined;
|
|
58
|
+
entries?: number | undefined;
|
|
57
59
|
"aria-label": string;
|
|
58
60
|
className?: string | undefined;
|
|
59
61
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { KAESO_CHARTS_DEFAULT_VARIANTS, KAESO_CHARTS_VARIANTS, TOKEN_KIND_ORDER, VIZ, axisLabelIndexes, tokenKindColor, tokenKindLabel } from "./core.js";
|
|
1
|
+
export { KAESO_CHARTS_DEFAULT_VARIANTS, KAESO_CHARTS_VARIANTS, TOKEN_KIND_ORDER, VIZ, axisLabelIndexes, seriesColors, tokenKindColor, tokenKindLabel, } from "./core.js";
|
|
2
2
|
export type { AxisDate, ChartState, LegendItem, TableData, TokenKind, TooltipRow } from "./core.js";
|
|
3
3
|
export { KAESO_TIMESERIES_CHART_DEFAULT_VARIANTS, KAESO_TIMESERIES_CHART_VARIANTS, TimeseriesChart } from "./timeseries.js";
|
|
4
4
|
export type { TimePoint, TimeSeries, TimeseriesChartProps } from "./timeseries.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type Rgb = readonly [number, number, number];
|
|
2
|
+
/**
|
|
3
|
+
* The swatches closest to a colour given as sRGB 0–255, such as a picture's, nearest first, as indexes into `SWATCHES`
|
|
4
|
+
* (compared with light mode's values); an empty list for a colour too grey to resemble any. Hue counts more than
|
|
5
|
+
* lightness. An entry of its own, so pages that only paint swatches don't load the token tables.
|
|
6
|
+
*/
|
|
7
|
+
export declare function nearestSwatches(rgb: Rgb): number[];
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export interface AboutHeaderProps {
|
|
3
|
+
name?: string | undefined;
|
|
4
|
+
tagline?: ReactNode | undefined;
|
|
5
|
+
versionLabel?: ReactNode | undefined;
|
|
6
|
+
version?: ReactNode | undefined;
|
|
7
|
+
badge?: ReactNode | undefined;
|
|
8
|
+
meta?: ReactNode | undefined;
|
|
9
|
+
actions?: ReactNode | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare const AboutHeader: import("react").ForwardRefExoticComponent<AboutHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -55,9 +55,11 @@ export declare const docs: {
|
|
|
55
55
|
props: {
|
|
56
56
|
"aria-label": string;
|
|
57
57
|
empty: string;
|
|
58
|
+
error: string;
|
|
58
59
|
items: string;
|
|
59
60
|
loading: string;
|
|
60
61
|
onOpen: string;
|
|
62
|
+
onRetry: string;
|
|
61
63
|
rows: string;
|
|
62
64
|
};
|
|
63
65
|
};
|
|
@@ -73,15 +75,27 @@ export declare const docs: {
|
|
|
73
75
|
mark: string;
|
|
74
76
|
};
|
|
75
77
|
};
|
|
78
|
+
AboutHeader: {
|
|
79
|
+
description: string;
|
|
80
|
+
props: {
|
|
81
|
+
actions: string;
|
|
82
|
+
badge: string;
|
|
83
|
+
meta: string;
|
|
84
|
+
name: string;
|
|
85
|
+
tagline: string;
|
|
86
|
+
version: string;
|
|
87
|
+
versionLabel: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
76
90
|
Announcement: {
|
|
77
91
|
description: string;
|
|
78
92
|
props: {
|
|
93
|
+
accent: string;
|
|
79
94
|
actions: string;
|
|
80
|
-
art: string;
|
|
81
95
|
description: string;
|
|
82
96
|
eyebrow: string;
|
|
83
97
|
onDismiss: string;
|
|
84
|
-
|
|
98
|
+
quiet: string;
|
|
85
99
|
title: string;
|
|
86
100
|
};
|
|
87
101
|
};
|
|
@@ -4,3 +4,4 @@ export { Legend, type LegendEntry } from "./legend.js";
|
|
|
4
4
|
export { Announcement, ModelCard, type ModelCardProps } from "./model-card.js";
|
|
5
5
|
export { RankList, type RankItem } from "./rank-list.js";
|
|
6
6
|
export { MetricTabs, type MetricTabItem } from "./metric-tabs.js";
|
|
7
|
+
export { AboutHeader, type AboutHeaderProps } from "./about-header.js";
|
|
@@ -18,8 +18,8 @@ export declare const Announcement: import("react").ForwardRefExoticComponent<{
|
|
|
18
18
|
title: ReactNode;
|
|
19
19
|
description?: ReactNode | undefined;
|
|
20
20
|
actions?: ReactNode | undefined;
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
accent?: number | undefined;
|
|
22
|
+
quiet?: boolean | undefined;
|
|
23
23
|
onDismiss?: (() => void) | undefined;
|
|
24
24
|
className?: string | undefined;
|
|
25
25
|
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -15,6 +15,8 @@ export declare const RankList: import("react").ForwardRefExoticComponent<{
|
|
|
15
15
|
loading?: boolean | undefined;
|
|
16
16
|
rows?: number | undefined;
|
|
17
17
|
empty?: ReactNode | undefined;
|
|
18
|
+
error?: ReactNode | undefined;
|
|
19
|
+
onRetry?: (() => void) | undefined;
|
|
18
20
|
onOpen?: ((id: string) => void) | undefined;
|
|
19
21
|
"aria-label": string;
|
|
20
22
|
className?: string | undefined;
|
|
@@ -1,29 +1,51 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
+
import { type IconData } from "../icon/icon.js";
|
|
2
3
|
export declare const KAESO_EMPTY_VARIANTS: {
|
|
3
4
|
readonly size: {
|
|
4
5
|
readonly lg: {
|
|
5
|
-
readonly classes: "
|
|
6
|
-
readonly description: "A page with nothing in it:
|
|
6
|
+
readonly classes: "min-h-full py-32";
|
|
7
|
+
readonly description: "A page with nothing in it: centred, two fifths of the way down the page under its header (default)";
|
|
7
8
|
};
|
|
8
9
|
readonly md: {
|
|
9
|
-
readonly classes: "
|
|
10
|
-
readonly description: "
|
|
10
|
+
readonly classes: "min-h-full py-24";
|
|
11
|
+
readonly description: "A section, a sheet or a dialog step: centred, two fifths of the way down a sheet";
|
|
12
|
+
};
|
|
13
|
+
readonly sm: {
|
|
14
|
+
readonly classes: "py-16";
|
|
15
|
+
readonly description: "A card, a dashboard cell or a sheet's tab: centred in it";
|
|
11
16
|
};
|
|
12
17
|
readonly compact: {
|
|
13
|
-
readonly classes: "
|
|
14
|
-
readonly description: "Inside tables and lists: one
|
|
18
|
+
readonly classes: "py-32";
|
|
19
|
+
readonly description: "Inside tables and lists: one short statement, centred in the row";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly tone: {
|
|
23
|
+
readonly neutral: {
|
|
24
|
+
readonly classes: "";
|
|
25
|
+
readonly description: "Something is absent: nothing yet, nothing matches, nothing to see (default)";
|
|
26
|
+
};
|
|
27
|
+
readonly error: {
|
|
28
|
+
readonly classes: "";
|
|
29
|
+
readonly description: "Something couldn't load: what happened and a way to try again, announced as an alert";
|
|
15
30
|
};
|
|
16
31
|
};
|
|
17
32
|
};
|
|
18
33
|
export declare const KAESO_EMPTY_DEFAULT_VARIANTS: {
|
|
19
34
|
readonly size: "lg";
|
|
35
|
+
readonly tone: "neutral";
|
|
20
36
|
};
|
|
37
|
+
type Size = keyof typeof KAESO_EMPTY_VARIANTS.size;
|
|
38
|
+
/** Inside a list or table's faint rows (`Ghost`): the message keeps a section's size and no icon. */
|
|
39
|
+
export declare const InGhost: import("react").Context<boolean>;
|
|
21
40
|
export interface EmptyProps {
|
|
22
41
|
title: ReactNode;
|
|
23
42
|
description?: ReactNode | undefined;
|
|
24
43
|
actions?: ReactNode | undefined;
|
|
25
|
-
|
|
44
|
+
icon?: IconData | undefined;
|
|
45
|
+
size?: Size | undefined;
|
|
46
|
+
tone?: keyof typeof KAESO_EMPTY_VARIANTS.tone | undefined;
|
|
26
47
|
children?: ReactNode | undefined;
|
|
27
48
|
className?: string | undefined;
|
|
28
49
|
}
|
|
29
50
|
export declare const Empty: import("react").ForwardRefExoticComponent<EmptyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The faint, still rows of a list or table that has none, with its message after the first two: the place reads as
|
|
4
|
+
* itself, and its first real row lands where the first faint one was. The rows below fade out; none of them pulse, so
|
|
5
|
+
* they can't be taken for loading.
|
|
6
|
+
*/
|
|
7
|
+
export declare function ghostAround(rows: ReactNode[], message: ReactNode): import("react").JSX.Element;
|
|
8
|
+
/** How faint the nth of a ghost's rows is: the two above its message as drawn, those below fading out. */
|
|
9
|
+
export declare const ghostOpacity: (i: number, count: number) => number;
|
|
@@ -2,8 +2,8 @@ import { type HTMLAttributes, type ReactNode } from "react";
|
|
|
2
2
|
export declare const KAESO_FILTER_ROW_VARIANTS: {
|
|
3
3
|
readonly size: {
|
|
4
4
|
readonly md: {
|
|
5
|
-
readonly classes: "px-
|
|
6
|
-
readonly description: "Under a page header on an edge-to-edge page:
|
|
5
|
+
readonly classes: "px-gutter py-8";
|
|
6
|
+
readonly description: "Under a page header on an edge-to-edge page: the gutter at its sides, 48px tall on one line like a toolbar";
|
|
7
7
|
};
|
|
8
8
|
readonly inset: {
|
|
9
9
|
readonly classes: "pt-16 pb-16";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const KAESO_CLIENT_BUTTON_VARIANTS: {};
|
|
2
2
|
export declare const KAESO_CLIENT_BUTTON_DEFAULT_VARIANTS: {};
|
|
3
|
-
/** The marks of the agent clients Kaeso connects to, on a 24px grid. */
|
|
3
|
+
/** The marks of the agent clients Kaeso connects to, on a 24px grid. `cursor` is Grok Build, formerly Cursor, which kept Cursor's cube. */
|
|
4
4
|
export declare const CLIENT_MARKS: {
|
|
5
5
|
readonly claude: "m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z";
|
|
6
6
|
readonly cursor: "M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23";
|
|
@@ -8,7 +8,7 @@ export declare const CLIENT_MARKS: {
|
|
|
8
8
|
readonly chatgpt: "M9.205 8.765v-2.26c0-.19.071-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.567 0 .166 0 .356-.024.547l-4.71-2.76a.8.8 0 0 0-.856 0zm10.608 8.8v-5.399c0-.333-.142-.57-.428-.737l-5.97-3.472 1.95-1.118a.43.43 0 0 1 .476 0l4.544 2.616c1.308.761 2.188 2.379 2.188 3.948 0 1.808-1.07 3.473-2.76 4.163ZM7.802 12.81l-1.95-1.142a.45.45 0 0 1-.239-.428V6.006c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.174c-.285.166-.428.404-.428.737zM12 15.235l-2.795-1.57v-3.33L12 8.765l2.795 1.57v3.33zm1.796 7.23a4.45 4.45 0 0 1-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472Zm-5.638-5.303-4.543-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.48 4.48 0 0 1 4.21 6.434v5.424c0 .333.142.57.428.737l5.947 3.449-1.951 1.118a.43.43 0 0 1-.476 0m-.261 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71a.8.8 0 0 0 .857 0l5.97-3.448v2.26c0 .19-.072.333-.238.428l-4.543 2.616c-.619.357-1.356.524-2.117.524Zm5.899 2.831a5.95 5.95 0 0 0 5.828-4.757c2.663-.69 4.376-3.188 4.376-5.733a6 6 0 0 0-1.998-4.447c.119-.5.19-1 .19-1.499 0-3.401-2.759-5.947-5.946-5.947a5.7 5.7 0 0 0-1.88.31A5.96 5.96 0 0 0 10.205.107a5.95 5.95 0 0 0-5.828 4.757C1.712 5.554 0 8.052 0 10.597c0 1.665.713 3.282 1.998 4.448-.12.5-.19.999-.19 1.498 0 3.401 2.759 5.947 5.946 5.947a5.7 5.7 0 0 0 1.88-.31 5.96 5.96 0 0 0 4.162 1.713";
|
|
9
9
|
};
|
|
10
10
|
export type ClientMark = keyof typeof CLIENT_MARKS;
|
|
11
|
-
/** Each mark's colour as its maker draws it: Claude's spark in Claude's orange;
|
|
11
|
+
/** Each mark's colour as its maker draws it: Claude's spark in Claude's orange; Grok Build, GitHub Copilot and ChatGPT in black and white, for which the text colour stands in. */
|
|
12
12
|
export declare const CLIENT_MARK_COLORS: Readonly<Record<ClientMark, string>>;
|
|
13
13
|
export interface ClientButtonProps {
|
|
14
14
|
client: ClientMark;
|
|
@@ -47,7 +47,7 @@ declare const MAKERS: {
|
|
|
47
47
|
readonly moonshotai: {
|
|
48
48
|
readonly name: "Moonshot";
|
|
49
49
|
readonly mark: "moonshotai";
|
|
50
|
-
readonly namespaces: readonly ["moonshot", "moonshotai"];
|
|
50
|
+
readonly namespaces: readonly ["moonshot", "moonshotai", "kimi"];
|
|
51
51
|
readonly names: RegExp;
|
|
52
52
|
};
|
|
53
53
|
readonly alibaba: {
|
|
@@ -59,7 +59,7 @@ declare const MAKERS: {
|
|
|
59
59
|
readonly zai: {
|
|
60
60
|
readonly name: "Z.ai";
|
|
61
61
|
readonly mark: "zai";
|
|
62
|
-
readonly namespaces: readonly ["zai", "z-ai", "zai-org", "thudm", "zhipuai"];
|
|
62
|
+
readonly namespaces: readonly ["zai", "z-ai", "zai-org", "thudm", "zhipuai", "zhipu"];
|
|
63
63
|
readonly names: RegExp;
|
|
64
64
|
};
|
|
65
65
|
readonly minimax: {
|
|
@@ -25,13 +25,13 @@ export declare const KAESO_SOURCE_BADGE_DEFAULT_VARIANTS: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* The marks of the clients and gateways that report to Kaeso as sources, on a 24px grid. OpenRouter's
|
|
28
|
-
* is its provider mark, Grok Build's
|
|
28
|
+
* is its provider mark, and the Grok Build TUI's is Grok Build's cube, kept from Cursor; LiteLLM publishes no vector mark and HTTP is no product, so both show an icon.
|
|
29
29
|
*/
|
|
30
30
|
export declare const SOURCE_MARKS: Readonly<Record<string, string>>;
|
|
31
31
|
/**
|
|
32
32
|
* Each mark in its maker's colours: Claude's orange for Claude Code; Gemini CLI's red-to-blue gradient, in its icon's
|
|
33
|
-
* direction; Antigravity's Google colours across the arch, blue at the feet; OpenTelemetry's orange and blue. Codex
|
|
34
|
-
* OpenRouter are black and white, as their makers draw them, and the text colour stands in for black.
|
|
33
|
+
* direction; Antigravity's Google colours across the arch, blue at the feet; OpenTelemetry's orange and blue. Codex,
|
|
34
|
+
* OpenRouter and the Grok Build TUI are black and white, as their makers draw them, and the text colour stands in for black.
|
|
35
35
|
*/
|
|
36
36
|
export declare const SOURCE_MARK_LOOKS: Readonly<Record<string, ProviderMark>>;
|
|
37
37
|
/** Each kind's product name, which no language translates. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { KAESO_LIST_DEFAULT_VARIANTS, KAESO_LIST_VARIANTS, List, SelectionAction } from "./list.js";
|
|
2
|
-
export type { ListGroup, ListItemData, ListProps, SelectionActionProps } from "./list.js";
|
|
2
|
+
export type { ListGhost, ListGroup, ListHeadings, ListItemData, ListProps, SelectionActionProps } from "./list.js";
|
|
@@ -41,9 +41,26 @@ export interface ListGroup {
|
|
|
41
41
|
actions?: ReactNode | undefined;
|
|
42
42
|
defaultCollapsed?: boolean | undefined;
|
|
43
43
|
}
|
|
44
|
+
/** The shape of the faint rows an empty list draws behind its message, like its real rows. */
|
|
45
|
+
export interface ListGhost {
|
|
46
|
+
/** A second line of text beside the title, as most rows have (default). */
|
|
47
|
+
subtitle?: boolean | undefined;
|
|
48
|
+
/** How many badges a row carries before its date. */
|
|
49
|
+
meta?: number | undefined;
|
|
50
|
+
/** A date at the row's end (default). */
|
|
51
|
+
date?: boolean | undefined;
|
|
52
|
+
/** A picture or mark before the title. */
|
|
53
|
+
leading?: boolean | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface ListHeadings {
|
|
56
|
+
title?: ReactNode | undefined;
|
|
57
|
+
meta?: ReactNode | undefined;
|
|
58
|
+
date?: ReactNode | undefined;
|
|
59
|
+
}
|
|
44
60
|
export interface ListProps {
|
|
45
61
|
items?: ListItemData[] | undefined;
|
|
46
62
|
groups?: ListGroup[] | undefined;
|
|
63
|
+
headings?: ListHeadings | undefined;
|
|
47
64
|
onOpen?: ((item: ListItemData) => void) | undefined;
|
|
48
65
|
selectable?: boolean | undefined;
|
|
49
66
|
selected?: Set<string> | undefined;
|
|
@@ -56,6 +73,7 @@ export interface ListProps {
|
|
|
56
73
|
selectionBar?: boolean | undefined;
|
|
57
74
|
loading?: boolean | undefined;
|
|
58
75
|
empty?: ReactNode | undefined;
|
|
76
|
+
ghost?: ListGhost | false | undefined;
|
|
59
77
|
"aria-label": string;
|
|
60
78
|
className?: string | undefined;
|
|
61
79
|
"data-force-row"?: string | undefined;
|
|
@@ -32,4 +32,4 @@ export interface SpinnerProps extends Omit<SVGAttributes<SVGSVGElement>, "childr
|
|
|
32
32
|
label?: string | undefined;
|
|
33
33
|
}
|
|
34
34
|
export declare const Spinner: import("react").ForwardRefExoticComponent<SpinnerProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
-
export
|
|
35
|
+
export { useDelayedLoading } from "../../hooks/use-delayed-loading.js";
|
|
@@ -3,7 +3,7 @@ import { type IconData } from "../icon/icon.js";
|
|
|
3
3
|
export declare const KAESO_PAGE_HEADER_VARIANTS: {
|
|
4
4
|
readonly size: {
|
|
5
5
|
readonly md: {
|
|
6
|
-
readonly classes: "min-h-52 flex-wrap gap-x-12 gap-y-8 px-
|
|
6
|
+
readonly classes: "min-h-52 flex-wrap gap-x-12 gap-y-8 px-gutter py-10 sm:h-52 sm:flex-nowrap sm:py-0";
|
|
7
7
|
readonly description: "52px, the title alone at 17/600; a hairline at its foot only while the page scrolls under it (default); on a phone the actions sit beside a title that fits and under one that doesn't, wrap rather than run off the edge, and the tabs take a row of their own";
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -22,10 +22,6 @@ export declare const RELEASE_ART_VIEW: {
|
|
|
22
22
|
readonly w: 840;
|
|
23
23
|
readonly h: 360;
|
|
24
24
|
};
|
|
25
|
-
readonly strip: {
|
|
26
|
-
readonly w: 1200;
|
|
27
|
-
readonly h: 240;
|
|
28
|
-
};
|
|
29
25
|
};
|
|
30
26
|
export type ReleaseArtShape = keyof typeof RELEASE_ART_VIEW;
|
|
31
27
|
export declare function isReleaseArtSpec(value: unknown): value is ReleaseArtSpec;
|
|
@@ -38,7 +34,6 @@ export interface DrawOptions {
|
|
|
38
34
|
eyebrow?: string | undefined;
|
|
39
35
|
idPrefix?: string | undefined;
|
|
40
36
|
}
|
|
41
|
-
export declare function releaseArtScheme(spec: ReleaseArtSpec): "light" | "dark";
|
|
42
37
|
export declare function releaseArtText(spec: ReleaseArtSpec): {
|
|
43
38
|
color: string;
|
|
44
39
|
eyebrow: {
|
|
@@ -63,6 +58,7 @@ export interface GlowLight {
|
|
|
63
58
|
brightest: number;
|
|
64
59
|
}
|
|
65
60
|
export declare function releaseArtGlowLight(spec: ReleaseArtSpec, shape?: ReleaseArtShape): GlowLight;
|
|
61
|
+
export declare function releaseArtHue(spec: ReleaseArtSpec): number;
|
|
66
62
|
export declare function releaseArtGlowName(eyebrow: string | undefined, title: string | undefined): string;
|
|
67
63
|
export declare function releaseArtGlowText(name: string, w: number, h: number): {
|
|
68
64
|
x: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { KAESO_RELEASE_ART_DEFAULT_VARIANTS, KAESO_RELEASE_ART_VARIANTS, RELEASE_ART_FLAT_STYLES, RELEASE_ART_STYLES, ReleaseArt, isReleaseArtSpec, nextReleaseArt, randomReleaseArt, releaseArtFor,
|
|
1
|
+
export { KAESO_RELEASE_ART_DEFAULT_VARIANTS, KAESO_RELEASE_ART_VARIANTS, RELEASE_ART_FLAT_STYLES, RELEASE_ART_STYLES, ReleaseArt, isReleaseArtSpec, nextReleaseArt, randomReleaseArt, releaseArtFor, releaseArtHue, releaseArtGlowName, releaseArtGlowText, releaseArtSvg, } from "./release-art.js";
|
|
2
2
|
export type { ReleaseArtProps, ReleaseArtSpec, ReleaseArtStyle, ReleaseArtSvgOptions } from "./release-art.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type ReleaseArtSpec } from "./drawing.js";
|
|
3
|
-
export { RELEASE_ART_FLAT_STYLES, RELEASE_ART_STYLES, isReleaseArtSpec, nextReleaseArt, releaseArtGlowName, releaseArtGlowText, randomReleaseArt, releaseArtFor,
|
|
3
|
+
export { RELEASE_ART_FLAT_STYLES, RELEASE_ART_STYLES, isReleaseArtSpec, nextReleaseArt, releaseArtGlowName, releaseArtGlowText, randomReleaseArt, releaseArtFor, releaseArtHue, type ReleaseArtSpec, type ReleaseArtStyle, } from "./drawing.js";
|
|
4
4
|
export declare const KAESO_RELEASE_ART_VARIANTS: {
|
|
5
5
|
readonly shape: {
|
|
6
6
|
readonly banner: {
|
|
@@ -11,10 +11,6 @@ export declare const KAESO_RELEASE_ART_VARIANTS: {
|
|
|
11
11
|
readonly classes: "aspect-21/9";
|
|
12
12
|
readonly description: "21:9: a wide strip above a page's content";
|
|
13
13
|
};
|
|
14
|
-
readonly strip: {
|
|
15
|
-
readonly classes: "aspect-5/1";
|
|
16
|
-
readonly description: "5:1: the ground of an `Announcement`, its left half kept clear for the words on it";
|
|
17
|
-
};
|
|
18
14
|
};
|
|
19
15
|
};
|
|
20
16
|
export declare const KAESO_RELEASE_ART_DEFAULT_VARIANTS: {
|
|
@@ -158,6 +158,7 @@ export declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & Rea
|
|
|
158
158
|
className?: string | undefined;
|
|
159
159
|
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
160
160
|
Action: React.ForwardRefExoticComponent<SidebarActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
161
|
+
Search: React.ForwardRefExoticComponent<Omit<SidebarActionProps, "icon"> & React.RefAttributes<HTMLButtonElement>>;
|
|
161
162
|
Loading: React.ForwardRefExoticComponent<{
|
|
162
163
|
rows?: number | undefined;
|
|
163
164
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -21,10 +21,18 @@ export declare const KAESO_SKELETON_VARIANTS: {
|
|
|
21
21
|
readonly classes: "h-36 rounded-pill";
|
|
22
22
|
readonly description: "The shape of a 36px control";
|
|
23
23
|
};
|
|
24
|
+
readonly field: {
|
|
25
|
+
readonly classes: "h-32 rounded-pill";
|
|
26
|
+
readonly description: "The shape of a 32px control, such as a settings row's small field or button";
|
|
27
|
+
};
|
|
24
28
|
readonly trend: {
|
|
25
29
|
readonly classes: "h-48 rounded-well";
|
|
26
30
|
readonly description: "The plate of a 48px trend line, such as a dashboard cell's fluid Sparkline";
|
|
27
31
|
};
|
|
32
|
+
readonly fields: {
|
|
33
|
+
readonly classes: "grid grid-cols-kv content-start";
|
|
34
|
+
readonly description: "Label and value pairs in KeyValue's columns, for a sheet or a details panel still loading; `lines` sets how many (5 by default)";
|
|
35
|
+
};
|
|
28
36
|
};
|
|
29
37
|
};
|
|
30
38
|
export declare const KAESO_SKELETON_DEFAULT_VARIANTS: {
|
|
@@ -33,5 +41,6 @@ export declare const KAESO_SKELETON_DEFAULT_VARIANTS: {
|
|
|
33
41
|
export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
34
42
|
shape?: keyof typeof KAESO_SKELETON_VARIANTS.shape | undefined;
|
|
35
43
|
lines?: number | undefined;
|
|
44
|
+
announce?: boolean | string | undefined;
|
|
36
45
|
}
|
|
37
46
|
export declare const Skeleton: import("react").ForwardRefExoticComponent<SkeletonProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -2,20 +2,32 @@ import { type HTMLAttributes } from "react";
|
|
|
2
2
|
export declare const KAESO_TOOLBAR_VARIANTS: {
|
|
3
3
|
readonly size: {
|
|
4
4
|
readonly md: {
|
|
5
|
-
readonly classes: "min-h-48 gap-8 px-
|
|
6
|
-
readonly description: "48px,
|
|
5
|
+
readonly classes: "min-h-48 gap-8 px-gutter py-6";
|
|
6
|
+
readonly description: "48px, the gutter at its sides, under the page header (default); one tab stop, arrows move between controls";
|
|
7
7
|
};
|
|
8
8
|
readonly inset: {
|
|
9
9
|
readonly classes: "min-h-48 gap-8 px-0 py-6";
|
|
10
10
|
readonly description: "48px without side padding, inside padded content";
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
readonly overflow: {
|
|
14
|
+
readonly wrap: {
|
|
15
|
+
readonly classes: "flex-wrap";
|
|
16
|
+
readonly description: "Controls that don't fit move to a second line (default)";
|
|
17
|
+
};
|
|
18
|
+
readonly scroll: {
|
|
19
|
+
readonly classes: "flex-wrap max-sm:flex-nowrap max-sm:overflow-x-auto max-sm:overscroll-x-contain max-sm:scrollbar-none max-sm:scroll-fade-x max-sm:*:shrink-0";
|
|
20
|
+
readonly description: "On a phone the bar stays one line and scrolls sideways, fading at the cut edge; for a bar of many filters";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
13
23
|
};
|
|
14
24
|
export declare const KAESO_TOOLBAR_DEFAULT_VARIANTS: {
|
|
15
25
|
readonly size: "md";
|
|
26
|
+
readonly overflow: "wrap";
|
|
16
27
|
};
|
|
17
28
|
export interface ToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
18
29
|
size?: keyof typeof KAESO_TOOLBAR_VARIANTS.size | undefined;
|
|
30
|
+
overflow?: keyof typeof KAESO_TOOLBAR_VARIANTS.overflow | undefined;
|
|
19
31
|
"aria-label": string;
|
|
20
32
|
}
|
|
21
33
|
export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDelayedLoading(loading: boolean, delay?: number, minDuration?: number): boolean;
|