@logicplanes/kaeso-ui 0.7.4 → 0.7.5-rc.10
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 +3 -3
- package/NOTICE.md +1 -1
- package/README.md +1 -1
- package/ai/component-guides.md +128 -22
- package/ai/component-registry.json +378 -74
- package/ai/component-registry.md +120 -65
- package/ai/icons.md +1 -1
- package/ai/tokens.md +34 -14
- package/dist/chunks/{app-frame-CnyC_z96.js → app-frame-DPIr7C6C.js} +87 -86
- package/dist/chunks/app-frame-DPIr7C6C.js.map +1 -0
- package/dist/chunks/{avatar-DVw5ZHKN.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-BgMTwNW5.js → badge-CU9K-wA1.js} +3 -3
- package/dist/chunks/{badge-BgMTwNW5.js.map → badge-CU9K-wA1.js.map} +1 -1
- package/dist/chunks/banner-R5GIFExf.js +93 -0
- package/dist/chunks/banner-R5GIFExf.js.map +1 -0
- package/dist/chunks/{button-DoZ7krdH.js → button-CXdEDVSI.js} +33 -32
- package/dist/chunks/button-CXdEDVSI.js.map +1 -0
- package/dist/chunks/{button-group-sMchV-fj.js → button-group-CbzjByVu.js} +5 -5
- package/dist/chunks/{button-group-sMchV-fj.js.map → button-group-CbzjByVu.js.map} +1 -1
- package/dist/chunks/{calendar-BR8wvVEv.js → calendar-BpY2J5Qf.js} +29 -27
- package/dist/chunks/calendar-BpY2J5Qf.js.map +1 -0
- package/dist/chunks/{checkbox-BkMPWcR_.js → checkbox-6GPT3xkr.js} +4 -4
- package/dist/chunks/{checkbox-BkMPWcR_.js.map → checkbox-6GPT3xkr.js.map} +1 -1
- package/dist/chunks/{cn-CF99d-bD.js → cn-Cim5WXyu.js} +49 -50
- package/dist/chunks/cn-Cim5WXyu.js.map +1 -0
- package/dist/chunks/{code-C4bi_3gR.js → code-CGPiBqzu.js} +2 -2
- package/dist/chunks/{code-C4bi_3gR.js.map → code-CGPiBqzu.js.map} +1 -1
- package/dist/chunks/{code-block-DpYJ9OQ9.js → code-block-DYODgIka.js} +112 -97
- package/dist/chunks/code-block-DYODgIka.js.map +1 -0
- package/dist/chunks/code-block-Dkedqh94.js +313 -0
- package/dist/chunks/code-block-Dkedqh94.js.map +1 -0
- package/dist/chunks/{collapsible-BdwAesRa.js → collapsible-BwQBF1wX.js} +3 -3
- package/dist/chunks/{collapsible-BdwAesRa.js.map → collapsible-BwQBF1wX.js.map} +1 -1
- package/dist/chunks/{combobox-B9PoRhga.js → combobox-DkWaZ-v_.js} +133 -130
- package/dist/chunks/combobox-DkWaZ-v_.js.map +1 -0
- package/dist/chunks/{command-list-DIv7azFz.js → command-list-98lB5cP5.js} +171 -170
- package/dist/chunks/command-list-98lB5cP5.js.map +1 -0
- package/dist/chunks/{command-palette-DAGGTUyX.js → command-palette-BoL0MoxB.js} +65 -64
- package/dist/chunks/command-palette-BoL0MoxB.js.map +1 -0
- package/dist/chunks/{copy-button-TT_5sNFW.js → copy-button-BjfGRgZi.js} +43 -42
- package/dist/chunks/copy-button-BjfGRgZi.js.map +1 -0
- package/dist/chunks/{core-iiSCX78t.js → core-Dtlb6S1k.js} +144 -129
- package/dist/chunks/core-Dtlb6S1k.js.map +1 -0
- package/dist/chunks/dashboard-BOeVNKwA.js +136 -0
- package/dist/chunks/dashboard-BOeVNKwA.js.map +1 -0
- package/dist/chunks/data-table-CoiHkxAQ.js +683 -0
- package/dist/chunks/data-table-CoiHkxAQ.js.map +1 -0
- package/dist/chunks/{date-picker-vS5h1HKN.js → date-picker-CiLNpsSh.js} +92 -90
- package/dist/chunks/date-picker-CiLNpsSh.js.map +1 -0
- package/dist/chunks/{date-popup-DDOLST_5.js → date-popup-Bp0d8U6H.js} +4 -4
- package/dist/chunks/{date-popup-DDOLST_5.js.map → date-popup-Bp0d8U6H.js.map} +1 -1
- package/dist/chunks/{de-K_t_sSKN.js → de-CdlagGzS.js} +15 -2
- package/dist/chunks/de-CdlagGzS.js.map +1 -0
- package/dist/chunks/{delta-CJUsqoA_.js → delta-Dspg6LP2.js} +3 -3
- package/dist/chunks/{delta-CJUsqoA_.js.map → delta-Dspg6LP2.js.map} +1 -1
- package/dist/chunks/dialog-wy5nNxfE.js +591 -0
- package/dist/chunks/dialog-wy5nNxfE.js.map +1 -0
- package/dist/chunks/disclosure-CmuBms1J.js +21 -0
- package/dist/chunks/disclosure-CmuBms1J.js.map +1 -0
- package/dist/chunks/{display-options-DcVmg-i-.js → display-options-DSUfHF5n.js} +55 -54
- package/dist/chunks/display-options-DSUfHF5n.js.map +1 -0
- package/dist/chunks/{domain-LXfZduW0.js → domain-CyQb3nHF.js} +2 -2
- package/dist/chunks/{domain-LXfZduW0.js.map → domain-CyQb3nHF.js.map} +1 -1
- package/dist/chunks/empty-DsN9jTVb.js +83 -0
- package/dist/chunks/empty-DsN9jTVb.js.map +1 -0
- package/dist/chunks/{field-BJoH_7Mc.js → field-DG61eK8Z.js} +2 -2
- package/dist/chunks/{field-BJoH_7Mc.js.map → field-DG61eK8Z.js.map} +1 -1
- package/dist/chunks/{figure-DtTP7WE4.js → figure-BI0eP7S-.js} +4 -4
- package/dist/chunks/{figure-DtTP7WE4.js.map → figure-BI0eP7S-.js.map} +1 -1
- package/dist/chunks/filter-chip-DE2j5Vyj.js +208 -0
- package/dist/chunks/filter-chip-DE2j5Vyj.js.map +1 -0
- package/dist/chunks/{filter-row-Dia2atDQ.js → filter-row-CPO_SEYy.js} +3 -3
- package/dist/chunks/filter-row-CPO_SEYy.js.map +1 -0
- package/dist/chunks/{flow-C3AupfRE.js → flow-B8DRLw6-.js} +5 -5
- package/dist/chunks/{flow-C3AupfRE.js.map → flow-B8DRLw6-.js.map} +1 -1
- package/dist/chunks/{heading-DjRyHd0R.js → heading-CkCOztRO.js} +2 -2
- package/dist/chunks/{heading-DjRyHd0R.js.map → heading-CkCOztRO.js.map} +1 -1
- package/dist/chunks/icon-B9UXhFTF.js +67 -0
- package/dist/chunks/icon-B9UXhFTF.js.map +1 -0
- package/dist/chunks/icon-DOwC1bbC.js +209 -0
- package/dist/chunks/icon-DOwC1bbC.js.map +1 -0
- package/dist/chunks/{identity-CKVVvPbE.js → identity-CAvHnogN.js} +164 -153
- package/dist/chunks/identity-CAvHnogN.js.map +1 -0
- package/dist/chunks/{input-bgfWrX1j.js → input-6tVIiN3-.js} +5 -5
- package/dist/chunks/{input-bgfWrX1j.js.map → input-6tVIiN3-.js.map} +1 -1
- package/dist/chunks/input-BVheeeEI.js +183 -0
- package/dist/chunks/input-BVheeeEI.js.map +1 -0
- package/dist/chunks/{input-group-B5PDh6li.js → input-group-ClNtr_Gm.js} +4 -4
- package/dist/chunks/{input-group-B5PDh6li.js.map → input-group-ClNtr_Gm.js.map} +1 -1
- package/dist/chunks/{iso-field-DWKhEAY7.js → iso-field-C29xji-V.js} +2 -2
- package/dist/chunks/{iso-field-DWKhEAY7.js.map → iso-field-C29xji-V.js.map} +1 -1
- package/dist/chunks/{json-view-CNpzGhtB.js → json-view-BVTEkhgz.js} +81 -79
- package/dist/chunks/json-view-BVTEkhgz.js.map +1 -0
- package/dist/chunks/{kaeso-6lWIZnFb.js → kaeso-MWzqLOiV.js} +448 -187
- package/dist/chunks/kaeso-MWzqLOiV.js.map +1 -0
- package/dist/chunks/{kbd-CI5W-2LJ.js → kbd-CmhJfU_8.js} +18 -10
- package/dist/chunks/kbd-CmhJfU_8.js.map +1 -0
- package/dist/chunks/{key-value-DTAMe71k.js → key-value-tPKtCSOn.js} +23 -16
- package/dist/chunks/key-value-tPKtCSOn.js.map +1 -0
- package/dist/chunks/{link-ouHMlBU8.js → link-CZ1h1ksk.js} +16 -16
- package/dist/chunks/link-CZ1h1ksk.js.map +1 -0
- package/dist/chunks/list-Bq7vGhxI.js +643 -0
- package/dist/chunks/list-Bq7vGhxI.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-DMnDOZWX.js → loader-DBk2HCOh.js} +9 -8
- package/dist/chunks/{loader-DMnDOZWX.js.map → loader-DBk2HCOh.js.map} +1 -1
- package/dist/chunks/{logo-z7ZAq0So.js → logo-DqjYySTX.js} +3 -3
- package/dist/chunks/{logo-z7ZAq0So.js.map → logo-DqjYySTX.js.map} +1 -1
- package/dist/chunks/{markdown-h44XrRqz.js → markdown-BCG1Kkph.js} +61 -61
- package/dist/chunks/markdown-BCG1Kkph.js.map +1 -0
- package/dist/chunks/{menu-CS7aZSOd.js → menu-DT4G6X7s.js} +144 -142
- package/dist/chunks/menu-DT4G6X7s.js.map +1 -0
- package/dist/chunks/{meter-CUT58Aor.js → meter-D_c3jawb.js} +4 -4
- package/dist/chunks/{meter-CUT58Aor.js.map → meter-D_c3jawb.js.map} +1 -1
- package/dist/chunks/nav-sheet-DuqCp7cS.js +133 -0
- package/dist/chunks/nav-sheet-DuqCp7cS.js.map +1 -0
- package/dist/chunks/{nav-wordmark-DoA-i2E9.js → nav-wordmark-CPDxGU5t.js} +2 -2
- package/dist/chunks/{nav-wordmark-DoA-i2E9.js.map → nav-wordmark-CPDxGU5t.js.map} +1 -1
- package/dist/chunks/observe-resize-Bubv5_wX.js +34 -0
- package/dist/chunks/observe-resize-Bubv5_wX.js.map +1 -0
- package/dist/chunks/{page-header-DdqpIHda.js → page-header-B6lKcMlr.js} +6 -6
- package/dist/chunks/page-header-B6lKcMlr.js.map +1 -0
- package/dist/chunks/{pagination-C9kb4ymb.js → pagination-DvPIXuoj.js} +36 -35
- package/dist/chunks/pagination-DvPIXuoj.js.map +1 -0
- package/dist/chunks/{picker-popover-AA76MIKx.js → picker-popover-6ISVxMYv.js} +41 -40
- package/dist/chunks/picker-popover-6ISVxMYv.js.map +1 -0
- package/dist/chunks/{popover-BFvV60-L.js → popover-Dw7iTUNg.js} +2 -2
- package/dist/chunks/{popover-BFvV60-L.js.map → popover-Dw7iTUNg.js.map} +1 -1
- package/dist/chunks/{qr-code-CCNU8O2_.js → qr-code-ClT_2Xa9.js} +2 -2
- package/dist/chunks/{qr-code-CCNU8O2_.js.map → qr-code-ClT_2Xa9.js.map} +1 -1
- package/dist/chunks/{radio-anvHOdCW.js → radio-DJES13fj.js} +3 -3
- package/dist/chunks/{radio-anvHOdCW.js.map → radio-DJES13fj.js.map} +1 -1
- package/dist/chunks/{range-popup-DnI_IMVR.js → range-popup-CiCBpRfH.js} +34 -34
- package/dist/chunks/range-popup-CiCBpRfH.js.map +1 -0
- package/dist/chunks/{reasoning-frame-BCoFYqgO.js → reasoning-frame-DnTFGrD_.js} +18 -18
- package/dist/chunks/reasoning-frame-DnTFGrD_.js.map +1 -0
- package/dist/chunks/release-art-CgszffGH.js +808 -0
- package/dist/chunks/release-art-CgszffGH.js.map +1 -0
- package/dist/chunks/{resize-motion-BbVXkxTO.js → resize-motion-CMR1x5Kw.js} +2 -2
- package/dist/chunks/{resize-motion-BbVXkxTO.js.map → resize-motion-CMR1x5Kw.js.map} +1 -1
- package/dist/chunks/{rights-BZ1cfh4_.js → rights-BKkbkESE.js} +110 -108
- package/dist/chunks/rights-BKkbkESE.js.map +1 -0
- package/dist/chunks/{rolling-number-wHJ6BD7h.js → rolling-number-uNjki3hn.js} +2 -2
- package/dist/chunks/{rolling-number-wHJ6BD7h.js.map → rolling-number-uNjki3hn.js.map} +1 -1
- package/dist/chunks/{scroll-area-CWPdGMJb.js → scroll-area-CjokFhH6.js} +2 -2
- package/dist/chunks/{scroll-area-CWPdGMJb.js.map → scroll-area-CjokFhH6.js.map} +1 -1
- package/dist/chunks/{section-DmjNeJG9.js → section-DJgejMMh.js} +12 -11
- package/dist/chunks/section-DJgejMMh.js.map +1 -0
- package/dist/chunks/{segmented-Cb8cFVck.js → segmented-UnR1L-kk.js} +6 -6
- package/dist/chunks/{segmented-Cb8cFVck.js.map → segmented-UnR1L-kk.js.map} +1 -1
- package/dist/chunks/{select-DTMAr8fs.js → select-CvpwZaeF.js} +65 -63
- package/dist/chunks/select-CvpwZaeF.js.map +1 -0
- package/dist/chunks/{separator-CAxDTLUL.js → separator-3RcDNFzM.js} +2 -2
- package/dist/chunks/{separator-CAxDTLUL.js.map → separator-3RcDNFzM.js.map} +1 -1
- package/dist/chunks/{settings-CtVw9CiD.js → settings-CcNjQm1D.js} +28 -27
- package/dist/chunks/settings-CcNjQm1D.js.map +1 -0
- package/dist/chunks/{sheet-bfI8sb4T.js → sheet-CsN1uy5N.js} +39 -39
- package/dist/chunks/sheet-CsN1uy5N.js.map +1 -0
- package/dist/chunks/{shiki-QCHorMZO.js → shiki-Drii10ai.js} +26 -21
- package/dist/chunks/shiki-Drii10ai.js.map +1 -0
- package/dist/chunks/sidebar-5-2Nqm-H.js +795 -0
- package/dist/chunks/sidebar-5-2Nqm-H.js.map +1 -0
- package/dist/chunks/{sidebar-menu-ByGqoQlf.js → sidebar-menu-D0y3wpvD.js} +2 -2
- package/dist/chunks/{sidebar-menu-ByGqoQlf.js.map → sidebar-menu-D0y3wpvD.js.map} +1 -1
- package/dist/chunks/skeleton-GuivuiOP.js +70 -0
- package/dist/chunks/skeleton-GuivuiOP.js.map +1 -0
- package/dist/chunks/{slider-CSLWsGYq.js → slider-XvStaacJ.js} +2 -2
- package/dist/chunks/{slider-CSLWsGYq.js.map → slider-XvStaacJ.js.map} +1 -1
- package/dist/chunks/{stat-DpAGMop-.js → stat-BJ4otTGc.js} +7 -7
- package/dist/chunks/{stat-DpAGMop-.js.map → stat-BJ4otTGc.js.map} +1 -1
- package/dist/chunks/{status-BuZz3nIH.js → status-BkW_rVAX.js} +3 -3
- package/dist/chunks/{status-BuZz3nIH.js.map → status-BkW_rVAX.js.map} +1 -1
- package/dist/chunks/{swap-text-DL0V-pku.js → swap-text-Crb3uzrK.js} +2 -2
- package/dist/chunks/{swap-text-DL0V-pku.js.map → swap-text-Crb3uzrK.js.map} +1 -1
- package/dist/chunks/{swap-value-ClhwTe97.js → swap-value-BKrH58Iv.js} +3 -3
- package/dist/chunks/{swap-value-ClhwTe97.js.map → swap-value-BKrH58Iv.js.map} +1 -1
- package/dist/chunks/{switch-BMdMW6Gh.js → switch-CzmZ6gLD.js} +5 -4
- package/dist/chunks/{switch-BMdMW6Gh.js.map → switch-CzmZ6gLD.js.map} +1 -1
- package/dist/chunks/{table-BBhL2Sqv.js → table-ppZE7fYt.js} +4 -4
- package/dist/chunks/{table-BBhL2Sqv.js.map → table-ppZE7fYt.js.map} +1 -1
- package/dist/chunks/{tabs-C0JxB1Lf.js → tabs-DPA2zGfY.js} +4 -4
- package/dist/chunks/{tabs-C0JxB1Lf.js.map → tabs-DPA2zGfY.js.map} +1 -1
- package/dist/chunks/{tag-CTPr_IxL.js → tag-CnULig9p.js} +25 -24
- package/dist/chunks/tag-CnULig9p.js.map +1 -0
- package/dist/chunks/{text-OrW7BjbV.js → text-BC4rusw7.js} +4 -4
- package/dist/chunks/{text-OrW7BjbV.js.map → text-BC4rusw7.js.map} +1 -1
- package/dist/chunks/{textarea-qnw0s5LY.js → textarea-K4ojoshs.js} +45 -44
- package/dist/chunks/textarea-K4ojoshs.js.map +1 -0
- package/dist/chunks/{theme-image-Cw4VJEag.js → theme-image-C9p959Kv.js} +2 -2
- package/dist/chunks/{theme-image-Cw4VJEag.js.map → theme-image-C9p959Kv.js.map} +1 -1
- package/dist/chunks/theme-menu-CanR1L9T.js +81 -0
- package/dist/chunks/theme-menu-CanR1L9T.js.map +1 -0
- package/dist/chunks/{thumbnail-CtYBg7Ms.js → thumbnail-CUa0JXLG.js} +28 -27
- package/dist/chunks/thumbnail-CUa0JXLG.js.map +1 -0
- package/dist/chunks/{thumbnail-DmFBC3Rf.js → thumbnail-KtBHleQk.js} +2 -2
- package/dist/chunks/{thumbnail-DmFBC3Rf.js.map → thumbnail-KtBHleQk.js.map} +1 -1
- package/dist/chunks/{timeline-D28Owab7.js → timeline-hMJEN3ZB.js} +3 -3
- package/dist/chunks/{timeline-D28Owab7.js.map → timeline-hMJEN3ZB.js.map} +1 -1
- package/dist/chunks/{timeseries-C2_s3CC6.js → timeseries-B1h0RRhx.js} +6 -6
- package/dist/chunks/timeseries-B1h0RRhx.js.map +1 -0
- package/dist/chunks/toast-4PyK7GS1.js +238 -0
- package/dist/chunks/toast-4PyK7GS1.js.map +1 -0
- package/dist/chunks/{toc-C9Ay3w5r.js → toc-CUh8jCiJ.js} +2 -2
- package/dist/chunks/{toc-C9Ay3w5r.js.map → toc-CUh8jCiJ.js.map} +1 -1
- package/dist/chunks/toolbar-w3ZPxEoW.js +80 -0
- package/dist/chunks/toolbar-w3ZPxEoW.js.map +1 -0
- package/dist/chunks/{tooltip-YsywFywc.js → tooltip-iKeKjr7J.js} +3 -3
- package/dist/chunks/{tooltip-YsywFywc.js.map → tooltip-iKeKjr7J.js.map} +1 -1
- package/dist/chunks/{tooltip-root-DqFXjTS0.js → tooltip-root-Ka27-TrV.js} +9 -8
- package/dist/chunks/tooltip-root-Ka27-TrV.js.map +1 -0
- package/dist/chunks/{tooltip-Bmcp6DQh.js → tooltip-uRgNOzW_.js} +4 -4
- package/dist/chunks/{tooltip-Bmcp6DQh.js.map → tooltip-uRgNOzW_.js.map} +1 -1
- package/dist/chunks/{truncated-BEVUjhPv.js → truncated-CcpJk_3e.js} +4 -4
- package/dist/chunks/{truncated-BEVUjhPv.js.map → truncated-CcpJk_3e.js.map} +1 -1
- package/dist/chunks/{use-cut-off-Ca-Jqata.js → use-cut-off-Cx1Nn5uF.js} +3 -3
- package/dist/chunks/{use-cut-off-Ca-Jqata.js.map → 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-indicator-CTaEVhAs.js → use-indicator-C1pEv290.js} +2 -2
- package/dist/chunks/{use-indicator-CTaEVhAs.js.map → use-indicator-C1pEv290.js.map} +1 -1
- package/dist/chunks/{use-layout-width-DAuAGj4G.js → use-layout-width-DbMAv4mR.js} +2 -2
- package/dist/chunks/{use-layout-width-DAuAGj4G.js.map → use-layout-width-DbMAv4mR.js.map} +1 -1
- package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js → use-scroll-fade-BwpKEWY0.js} +2 -2
- package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js.map → use-scroll-fade-BwpKEWY0.js.map} +1 -1
- package/dist/chunks/{use-scroll-margin-DIoNdxlW.js → use-scroll-margin-LcRbT78-.js} +2 -2
- package/dist/chunks/{use-scroll-margin-DIoNdxlW.js.map → use-scroll-margin-LcRbT78-.js.map} +1 -1
- package/dist/chunks/{use-truncated-7FkH4j6x.js → use-truncated-Dn60-ubK.js} +2 -2
- package/dist/chunks/{use-truncated-7FkH4j6x.js.map → use-truncated-Dn60-ubK.js.map} +1 -1
- package/dist/chunks/{virtual-rows-CJ2gUUJ_.js → virtual-rows-D-ZT6V6B.js} +2 -2
- package/dist/chunks/{virtual-rows-CJ2gUUJ_.js.map → virtual-rows-D-ZT6V6B.js.map} +1 -1
- package/dist/chunks/{visually-hidden-BQ8nOlYI.js → visually-hidden-Di2pLhE3.js} +2 -2
- package/dist/chunks/{visually-hidden-BQ8nOlYI.js.map → visually-hidden-Di2pLhE3.js.map} +1 -1
- package/dist/chunks/{zh-CN-By8VGCbn.js → zh-CN-BjoJbfdJ.js} +15 -2
- package/dist/chunks/zh-CN-BjoJbfdJ.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 +5 -5
- package/dist/components/charts/bar.js.map +1 -1
- package/dist/components/charts/donut.js +157 -86
- package/dist/components/charts/donut.js.map +1 -1
- package/dist/components/charts/heatmap.js +4 -4
- package/dist/components/charts/sankey.js +4 -4
- 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/metric-tabs.js +5 -5
- package/dist/components/dashboard/model-card.js +123 -48
- package/dist/components/dashboard/model-card.js.map +1 -1
- package/dist/components/dashboard/rank-list.js +86 -60
- 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 +187 -184
- 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 +2 -2
- package/dist/components/input.js +3 -3
- package/dist/components/kaeso/conversation.js +97 -95
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +25 -23
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +65 -63
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +4 -4
- 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 +1 -1
- 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 +1047 -1014
- 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/i18n-provider.js +1 -1
- package/dist/icons/agent.js +5 -0
- package/dist/icons/agent.js.map +1 -0
- package/dist/icons/alert.js +5 -0
- package/dist/icons/alert.js.map +1 -0
- package/dist/icons/apps.js +5 -0
- package/dist/icons/apps.js.map +1 -0
- package/dist/icons/arrow-both.js +5 -0
- package/dist/icons/arrow-both.js.map +1 -0
- package/dist/icons/arrow-down.js +5 -0
- package/dist/icons/arrow-down.js.map +1 -0
- package/dist/icons/arrow-right.js +5 -0
- package/dist/icons/arrow-right.js.map +1 -0
- package/dist/icons/arrow-switch.js +5 -0
- package/dist/icons/arrow-switch.js.map +1 -0
- package/dist/icons/arrow-up-right.js +5 -0
- package/dist/icons/arrow-up-right.js.map +1 -0
- package/dist/icons/arrow-up.js +5 -0
- package/dist/icons/arrow-up.js.map +1 -0
- package/dist/icons/bell.js +5 -0
- package/dist/icons/bell.js.map +1 -0
- package/dist/icons/broadcast.js +5 -0
- package/dist/icons/broadcast.js.map +1 -0
- package/dist/icons/calendar.js +5 -0
- package/dist/icons/calendar.js.map +1 -0
- package/dist/icons/check-circle.js +5 -0
- package/dist/icons/check-circle.js.map +1 -0
- package/dist/icons/check.js +5 -0
- package/dist/icons/check.js.map +1 -0
- package/dist/icons/checklist.js +5 -0
- package/dist/icons/checklist.js.map +1 -0
- package/dist/icons/chevron-down.js +5 -0
- package/dist/icons/chevron-down.js.map +1 -0
- package/dist/icons/chevron-left.js +5 -0
- package/dist/icons/chevron-left.js.map +1 -0
- package/dist/icons/chevron-right.js +5 -0
- package/dist/icons/chevron-right.js.map +1 -0
- package/dist/icons/chevron-up.js +5 -0
- package/dist/icons/chevron-up.js.map +1 -0
- package/dist/icons/clock.js +5 -0
- package/dist/icons/clock.js.map +1 -0
- package/dist/icons/code-square.js +8 -0
- package/dist/icons/code-square.js.map +1 -0
- package/dist/icons/code.js +5 -0
- package/dist/icons/code.js.map +1 -0
- package/dist/icons/copy.js +5 -0
- package/dist/icons/copy.js.map +1 -0
- package/dist/icons/cpu.js +5 -0
- package/dist/icons/cpu.js.map +1 -0
- package/dist/icons/credit-card.js +5 -0
- package/dist/icons/credit-card.js.map +1 -0
- package/dist/icons/dash.js +5 -0
- package/dist/icons/dash.js.map +1 -0
- package/dist/icons/dashboard.js +8 -0
- package/dist/icons/dashboard.js.map +1 -0
- package/dist/icons/database.js +5 -0
- package/dist/icons/database.js.map +1 -0
- package/dist/icons/device-desktop.js +5 -0
- package/dist/icons/device-desktop.js.map +1 -0
- package/dist/icons/devices.js +5 -0
- package/dist/icons/devices.js.map +1 -0
- package/dist/icons/download.js +5 -0
- package/dist/icons/download.js.map +1 -0
- package/dist/icons/eye-closed.js +5 -0
- package/dist/icons/eye-closed.js.map +1 -0
- package/dist/icons/eye.js +5 -0
- package/dist/icons/eye.js.map +1 -0
- package/dist/icons/file-directory.js +5 -0
- package/dist/icons/file-directory.js.map +1 -0
- package/dist/icons/file.js +5 -0
- package/dist/icons/file.js.map +1 -0
- package/dist/icons/filter.js +5 -0
- package/dist/icons/filter.js.map +1 -0
- package/dist/icons/gear.js +5 -0
- package/dist/icons/gear.js.map +1 -0
- package/dist/icons/git-branch.js +5 -0
- package/dist/icons/git-branch.js.map +1 -0
- package/dist/icons/git-compare.js +5 -0
- package/dist/icons/git-compare.js.map +1 -0
- package/dist/icons/globe.js +5 -0
- package/dist/icons/globe.js.map +1 -0
- package/dist/icons/graph-bar-horizontal.js +8 -0
- package/dist/icons/graph-bar-horizontal.js.map +1 -0
- package/dist/icons/graph.js +5 -0
- package/dist/icons/graph.js.map +1 -0
- package/dist/icons/home.js +5 -0
- package/dist/icons/home.js.map +1 -0
- package/dist/icons/id-badge.js +5 -0
- package/dist/icons/id-badge.js.map +1 -0
- package/dist/icons/image.js +5 -0
- package/dist/icons/image.js.map +1 -0
- package/dist/icons/info.js +5 -0
- package/dist/icons/info.js.map +1 -0
- package/dist/icons/kebab-horizontal.js +5 -0
- package/dist/icons/kebab-horizontal.js.map +1 -0
- package/dist/icons/key-asterisk.js +5 -0
- package/dist/icons/key-asterisk.js.map +1 -0
- package/dist/icons/key.js +5 -0
- package/dist/icons/key.js.map +1 -0
- package/dist/icons/keyboard.js +23 -0
- package/dist/icons/keyboard.js.map +1 -0
- package/dist/icons/law.js +5 -0
- package/dist/icons/law.js.map +1 -0
- package/dist/icons/link-external.js +5 -0
- package/dist/icons/link-external.js.map +1 -0
- package/dist/icons/link.js +5 -0
- package/dist/icons/link.js.map +1 -0
- package/dist/icons/list-unordered.js +5 -0
- package/dist/icons/list-unordered.js.map +1 -0
- package/dist/icons/lock.js +5 -0
- package/dist/icons/lock.js.map +1 -0
- package/dist/icons/log.js +5 -0
- package/dist/icons/log.js.map +1 -0
- package/dist/icons/loop.js +5 -0
- package/dist/icons/loop.js.map +1 -0
- package/dist/icons/mail.js +5 -0
- package/dist/icons/mail.js.map +1 -0
- package/dist/icons/mark-github.js +5 -0
- package/dist/icons/mark-github.js.map +1 -0
- package/dist/icons/maximize.js +5 -0
- package/dist/icons/maximize.js.map +1 -0
- package/dist/icons/meter.js +5 -0
- package/dist/icons/meter.js.map +1 -0
- package/dist/icons/microphone.js +23 -0
- package/dist/icons/microphone.js.map +1 -0
- package/dist/icons/minimize.js +5 -0
- package/dist/icons/minimize.js.map +1 -0
- package/dist/icons/moon.js +5 -0
- package/dist/icons/moon.js.map +1 -0
- package/dist/icons/note.js +5 -0
- package/dist/icons/note.js.map +1 -0
- package/dist/icons/organization.js +5 -0
- package/dist/icons/organization.js.map +1 -0
- package/dist/icons/package-dependencies.js +5 -0
- package/dist/icons/package-dependencies.js.map +1 -0
- package/dist/icons/package.js +5 -0
- package/dist/icons/package.js.map +1 -0
- package/dist/icons/paperclip.js +5 -0
- package/dist/icons/paperclip.js.map +1 -0
- package/dist/icons/pencil.js +5 -0
- package/dist/icons/pencil.js.map +1 -0
- package/dist/icons/people.js +5 -0
- package/dist/icons/people.js.map +1 -0
- package/dist/icons/person.js +5 -0
- package/dist/icons/person.js.map +1 -0
- package/dist/icons/plug.js +5 -0
- package/dist/icons/plug.js.map +1 -0
- package/dist/icons/plus.js +5 -0
- package/dist/icons/plus.js.map +1 -0
- package/dist/icons/question.js +5 -0
- package/dist/icons/question.js.map +1 -0
- package/dist/icons/redo.js +5 -0
- package/dist/icons/redo.js.map +1 -0
- package/dist/icons/search.js +5 -0
- package/dist/icons/search.js.map +1 -0
- package/dist/icons/server.js +5 -0
- package/dist/icons/server.js.map +1 -0
- package/dist/icons/shield-check.js +5 -0
- package/dist/icons/shield-check.js.map +1 -0
- package/dist/icons/sidebar-left.js +23 -0
- package/dist/icons/sidebar-left.js.map +1 -0
- package/dist/icons/sidebar-right.js +23 -0
- package/dist/icons/sidebar-right.js.map +1 -0
- package/dist/icons/sign-out.js +5 -0
- package/dist/icons/sign-out.js.map +1 -0
- package/dist/icons/sliders.js +5 -0
- package/dist/icons/sliders.js.map +1 -0
- package/dist/icons/sort-desc.js +5 -0
- package/dist/icons/sort-desc.js.map +1 -0
- package/dist/icons/square-fill.js +5 -0
- package/dist/icons/square-fill.js.map +1 -0
- package/dist/icons/stack.js +5 -0
- package/dist/icons/stack.js.map +1 -0
- package/dist/icons/stop.js +5 -0
- package/dist/icons/stop.js.map +1 -0
- package/dist/icons/sun.js +5 -0
- package/dist/icons/sun.js.map +1 -0
- package/dist/icons/switcher.js +12 -0
- package/dist/icons/switcher.js.map +1 -0
- package/dist/icons/sync.js +5 -0
- package/dist/icons/sync.js.map +1 -0
- package/dist/icons/terminal.js +5 -0
- package/dist/icons/terminal.js.map +1 -0
- package/dist/icons/three-bars.js +5 -0
- package/dist/icons/three-bars.js.map +1 -0
- package/dist/icons/tools.js +5 -0
- package/dist/icons/tools.js.map +1 -0
- package/dist/icons/trash.js +5 -0
- package/dist/icons/trash.js.map +1 -0
- package/dist/icons/undo.js +5 -0
- package/dist/icons/undo.js.map +1 -0
- package/dist/icons/unmute.js +5 -0
- package/dist/icons/unmute.js.map +1 -0
- package/dist/icons/upload.js +5 -0
- package/dist/icons/upload.js.map +1 -0
- package/dist/icons/webhook.js +9 -0
- package/dist/icons/webhook.js.map +1 -0
- package/dist/icons/workflow.js +5 -0
- package/dist/icons/workflow.js.map +1 -0
- package/dist/icons/x.js +5 -0
- package/dist/icons/x.js.map +1 -0
- package/dist/index.js +102 -100
- package/dist/kaeso.css +184 -106
- package/dist/octicons.js +101 -0
- 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/code-block/highlighter.d.ts +6 -0
- package/dist/types/components/code-block/shiki.d.ts +2 -0
- package/dist/types/components/dashboard/about-header.d.ts +12 -0
- package/dist/types/components/dashboard/docs.d.ts +17 -1
- package/dist/types/components/dashboard/index.d.ts +1 -0
- package/dist/types/components/dashboard/model-card.d.ts +3 -1
- package/dist/types/components/dashboard/rank-list.d.ts +3 -1
- package/dist/types/components/empty/docs.d.ts +2 -0
- package/dist/types/components/empty/empty.d.ts +26 -6
- package/dist/types/components/filter-row/filter-row.d.ts +2 -2
- package/dist/types/components/icon/icon.d.ts +2 -2
- package/dist/types/components/kaeso/client-button.d.ts +2 -2
- package/dist/types/components/kaeso/docs.d.ts +20 -0
- package/dist/types/components/kaeso/index.d.ts +2 -0
- package/dist/types/components/kaeso/model-makers.d.ts +5 -5
- package/dist/types/components/kaeso/scope-picker.d.ts +48 -0
- 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 +1 -0
- package/dist/types/components/list/index.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +6 -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 +25 -2
- package/dist/types/components/release-art/index.d.ts +1 -1
- package/dist/types/components/release-art/release-art.d.ts +1 -1
- package/dist/types/components/section/docs.d.ts +1 -0
- package/dist/types/components/section/section-header.d.ts +1 -0
- package/dist/types/components/section/section.d.ts +2 -0
- package/dist/types/components/sidebar/index.d.ts +1 -1
- package/dist/types/components/sidebar/sidebar.d.ts +24 -5
- 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/icons/octicons/agent.d.ts +2 -0
- package/dist/types/icons/octicons/alert.d.ts +2 -0
- package/dist/types/icons/octicons/apps.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-both.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-down.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-right.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-switch.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-up-right.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-up.d.ts +2 -0
- package/dist/types/icons/octicons/bell.d.ts +2 -0
- package/dist/types/icons/octicons/broadcast.d.ts +2 -0
- package/dist/types/icons/octicons/calendar.d.ts +2 -0
- package/dist/types/icons/octicons/check-circle.d.ts +2 -0
- package/dist/types/icons/octicons/check.d.ts +2 -0
- package/dist/types/icons/octicons/checklist.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-down.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-left.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-right.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-up.d.ts +2 -0
- package/dist/types/icons/octicons/clock.d.ts +2 -0
- package/dist/types/icons/octicons/code-square.d.ts +2 -0
- package/dist/types/icons/octicons/code.d.ts +2 -0
- package/dist/types/icons/octicons/copy.d.ts +2 -0
- package/dist/types/icons/octicons/cpu.d.ts +2 -0
- package/dist/types/icons/octicons/credit-card.d.ts +2 -0
- package/dist/types/icons/octicons/dash.d.ts +2 -0
- package/dist/types/icons/octicons/dashboard.d.ts +2 -0
- package/dist/types/icons/octicons/database.d.ts +2 -0
- package/dist/types/icons/octicons/device-desktop.d.ts +2 -0
- package/dist/types/icons/octicons/devices.d.ts +2 -0
- package/dist/types/icons/octicons/download.d.ts +2 -0
- package/dist/types/icons/octicons/eye-closed.d.ts +2 -0
- package/dist/types/icons/octicons/eye.d.ts +2 -0
- package/dist/types/icons/octicons/file-directory.d.ts +2 -0
- package/dist/types/icons/octicons/file.d.ts +2 -0
- package/dist/types/icons/octicons/filter.d.ts +2 -0
- package/dist/types/icons/octicons/gear.d.ts +2 -0
- package/dist/types/icons/octicons/git-branch.d.ts +2 -0
- package/dist/types/icons/octicons/git-compare.d.ts +2 -0
- package/dist/types/icons/octicons/globe.d.ts +2 -0
- package/dist/types/icons/octicons/graph-bar-horizontal.d.ts +2 -0
- package/dist/types/icons/octicons/graph.d.ts +2 -0
- package/dist/types/icons/octicons/home.d.ts +2 -0
- package/dist/types/icons/octicons/id-badge.d.ts +2 -0
- package/dist/types/icons/octicons/image.d.ts +2 -0
- package/dist/types/icons/octicons/info.d.ts +2 -0
- package/dist/types/icons/octicons/kebab-horizontal.d.ts +2 -0
- package/dist/types/icons/octicons/key-asterisk.d.ts +2 -0
- package/dist/types/icons/octicons/key.d.ts +2 -0
- package/dist/types/icons/octicons/keyboard.d.ts +2 -0
- package/dist/types/icons/octicons/law.d.ts +2 -0
- package/dist/types/icons/octicons/link-external.d.ts +2 -0
- package/dist/types/icons/octicons/link.d.ts +2 -0
- package/dist/types/icons/octicons/list-unordered.d.ts +2 -0
- package/dist/types/icons/octicons/lock.d.ts +2 -0
- package/dist/types/icons/octicons/log.d.ts +2 -0
- package/dist/types/icons/octicons/loop.d.ts +2 -0
- package/dist/types/icons/octicons/mail.d.ts +2 -0
- package/dist/types/icons/octicons/mark-github.d.ts +2 -0
- package/dist/types/icons/octicons/maximize.d.ts +2 -0
- package/dist/types/icons/octicons/meter.d.ts +2 -0
- package/dist/types/icons/octicons/microphone.d.ts +2 -0
- package/dist/types/icons/octicons/minimize.d.ts +2 -0
- package/dist/types/icons/octicons/moon.d.ts +2 -0
- package/dist/types/icons/octicons/note.d.ts +2 -0
- package/dist/types/icons/octicons/organization.d.ts +2 -0
- package/dist/types/icons/octicons/package-dependencies.d.ts +2 -0
- package/dist/types/icons/octicons/package.d.ts +2 -0
- package/dist/types/icons/octicons/paperclip.d.ts +2 -0
- package/dist/types/icons/octicons/pencil.d.ts +2 -0
- package/dist/types/icons/octicons/people.d.ts +2 -0
- package/dist/types/icons/octicons/person.d.ts +2 -0
- package/dist/types/icons/octicons/plug.d.ts +2 -0
- package/dist/types/icons/octicons/plus.d.ts +2 -0
- package/dist/types/icons/octicons/question.d.ts +2 -0
- package/dist/types/icons/octicons/redo.d.ts +2 -0
- package/dist/types/icons/octicons/search.d.ts +2 -0
- package/dist/types/icons/octicons/server.d.ts +2 -0
- package/dist/types/icons/octicons/shield-check.d.ts +2 -0
- package/dist/types/icons/octicons/sidebar-left.d.ts +2 -0
- package/dist/types/icons/octicons/sidebar-right.d.ts +2 -0
- package/dist/types/icons/octicons/sign-out.d.ts +2 -0
- package/dist/types/icons/octicons/sliders.d.ts +2 -0
- package/dist/types/icons/octicons/sort-desc.d.ts +2 -0
- package/dist/types/icons/octicons/square-fill.d.ts +2 -0
- package/dist/types/icons/octicons/stack.d.ts +2 -0
- package/dist/types/icons/octicons/stop.d.ts +2 -0
- package/dist/types/icons/octicons/sun.d.ts +2 -0
- package/dist/types/icons/octicons/switcher.d.ts +2 -0
- package/dist/types/icons/octicons/sync.d.ts +2 -0
- package/dist/types/icons/octicons/terminal.d.ts +2 -0
- package/dist/types/icons/octicons/three-bars.d.ts +2 -0
- package/dist/types/icons/octicons/tools.d.ts +2 -0
- package/dist/types/icons/octicons/trash.d.ts +2 -0
- package/dist/types/icons/octicons/undo.d.ts +2 -0
- package/dist/types/icons/octicons/unmute.d.ts +2 -0
- package/dist/types/icons/octicons/upload.d.ts +2 -0
- package/dist/types/icons/octicons/webhook.d.ts +2 -0
- package/dist/types/icons/octicons/workflow.d.ts +2 -0
- package/dist/types/icons/octicons/x.d.ts +2 -0
- package/dist/types/icons/octicons.d.ts +100 -0
- package/dist/types/icons/vocabulary.d.ts +104 -515
- package/dist/types/utils/cn.d.ts +18 -16
- package/dist/types/utils/observe-resize.d.ts +1 -0
- package/dist/types/utils/swipe-dismiss.d.ts +3 -0
- package/dist/utils.js +1 -1
- package/foundations/color.md +4 -3
- package/foundations/icons.md +3 -3
- package/foundations/layout.md +9 -9
- package/foundations/motion.md +46 -21
- package/foundations/psychology.md +1 -1
- package/foundations/shape.md +26 -25
- package/foundations/writing.md +6 -1
- package/package.json +14 -14
- package/dist/chunks/app-frame-CnyC_z96.js.map +0 -1
- package/dist/chunks/avatar-DVw5ZHKN.js.map +0 -1
- package/dist/chunks/banner-DT5qBAkJ.js +0 -89
- package/dist/chunks/banner-DT5qBAkJ.js.map +0 -1
- package/dist/chunks/button-DoZ7krdH.js.map +0 -1
- package/dist/chunks/calendar-BR8wvVEv.js.map +0 -1
- package/dist/chunks/cn-CF99d-bD.js.map +0 -1
- package/dist/chunks/code-block-BCcbkQ3b.js +0 -282
- package/dist/chunks/code-block-BCcbkQ3b.js.map +0 -1
- package/dist/chunks/code-block-DpYJ9OQ9.js.map +0 -1
- package/dist/chunks/combobox-B9PoRhga.js.map +0 -1
- package/dist/chunks/command-list-DIv7azFz.js.map +0 -1
- package/dist/chunks/command-palette-DAGGTUyX.js.map +0 -1
- package/dist/chunks/copy-button-TT_5sNFW.js.map +0 -1
- package/dist/chunks/core-iiSCX78t.js.map +0 -1
- package/dist/chunks/dashboard-Bs8X-Qvt.js +0 -136
- package/dist/chunks/dashboard-Bs8X-Qvt.js.map +0 -1
- package/dist/chunks/data-table-CCv3fgK5.js +0 -682
- package/dist/chunks/data-table-CCv3fgK5.js.map +0 -1
- package/dist/chunks/date-picker-vS5h1HKN.js.map +0 -1
- package/dist/chunks/de-K_t_sSKN.js.map +0 -1
- package/dist/chunks/dialog-O2djESCg.js +0 -590
- package/dist/chunks/dialog-O2djESCg.js.map +0 -1
- package/dist/chunks/disclosure-0eeGo16u.js +0 -21
- package/dist/chunks/disclosure-0eeGo16u.js.map +0 -1
- package/dist/chunks/display-options-DcVmg-i-.js.map +0 -1
- package/dist/chunks/empty-BLeimJFU.js +0 -50
- package/dist/chunks/empty-BLeimJFU.js.map +0 -1
- package/dist/chunks/filter-chip-CFlRbeHm.js +0 -208
- package/dist/chunks/filter-chip-CFlRbeHm.js.map +0 -1
- package/dist/chunks/filter-row-Dia2atDQ.js.map +0 -1
- package/dist/chunks/icon-BMsYY158.js +0 -110
- package/dist/chunks/icon-BMsYY158.js.map +0 -1
- package/dist/chunks/icon-kQHSzziW.js +0 -74
- package/dist/chunks/icon-kQHSzziW.js.map +0 -1
- package/dist/chunks/identity-CKVVvPbE.js.map +0 -1
- package/dist/chunks/input-WUVIrQkn.js +0 -179
- package/dist/chunks/input-WUVIrQkn.js.map +0 -1
- package/dist/chunks/json-view-CNpzGhtB.js.map +0 -1
- package/dist/chunks/kaeso-6lWIZnFb.js.map +0 -1
- package/dist/chunks/kbd-CI5W-2LJ.js.map +0 -1
- package/dist/chunks/key-value-DTAMe71k.js.map +0 -1
- package/dist/chunks/link-ouHMlBU8.js.map +0 -1
- package/dist/chunks/list-CdnGU-gX.js +0 -595
- package/dist/chunks/list-CdnGU-gX.js.map +0 -1
- package/dist/chunks/loader-C4ayEuXI.js +0 -56
- package/dist/chunks/loader-C4ayEuXI.js.map +0 -1
- package/dist/chunks/markdown-h44XrRqz.js.map +0 -1
- package/dist/chunks/menu-CS7aZSOd.js.map +0 -1
- package/dist/chunks/nav-sheet-Da-sKZmW.js +0 -65
- package/dist/chunks/nav-sheet-Da-sKZmW.js.map +0 -1
- package/dist/chunks/observe-resize-CUTyU0ZX.js +0 -27
- package/dist/chunks/observe-resize-CUTyU0ZX.js.map +0 -1
- package/dist/chunks/page-header-DdqpIHda.js.map +0 -1
- package/dist/chunks/pagination-C9kb4ymb.js.map +0 -1
- package/dist/chunks/picker-popover-AA76MIKx.js.map +0 -1
- package/dist/chunks/range-popup-DnI_IMVR.js.map +0 -1
- package/dist/chunks/reasoning-frame-BCoFYqgO.js.map +0 -1
- package/dist/chunks/release-art-CQuIWLkB.js +0 -580
- package/dist/chunks/release-art-CQuIWLkB.js.map +0 -1
- package/dist/chunks/rights-BZ1cfh4_.js.map +0 -1
- package/dist/chunks/section-DmjNeJG9.js.map +0 -1
- package/dist/chunks/select-DTMAr8fs.js.map +0 -1
- package/dist/chunks/settings-CtVw9CiD.js.map +0 -1
- package/dist/chunks/sheet-bfI8sb4T.js.map +0 -1
- package/dist/chunks/shiki-QCHorMZO.js.map +0 -1
- package/dist/chunks/sidebar-ddl-qlYN.js +0 -665
- package/dist/chunks/sidebar-ddl-qlYN.js.map +0 -1
- package/dist/chunks/skeleton-DWcNGANz.js +0 -32
- package/dist/chunks/skeleton-DWcNGANz.js.map +0 -1
- package/dist/chunks/tag-CTPr_IxL.js.map +0 -1
- package/dist/chunks/textarea-qnw0s5LY.js.map +0 -1
- package/dist/chunks/theme-menu-B-t-nYWM.js +0 -79
- package/dist/chunks/theme-menu-B-t-nYWM.js.map +0 -1
- package/dist/chunks/thumbnail-CtYBg7Ms.js.map +0 -1
- package/dist/chunks/timeseries-C2_s3CC6.js.map +0 -1
- package/dist/chunks/toast-B6OZXKAp.js +0 -226
- package/dist/chunks/toast-B6OZXKAp.js.map +0 -1
- package/dist/chunks/toolbar-BHqTfPWr.js +0 -60
- package/dist/chunks/toolbar-BHqTfPWr.js.map +0 -1
- package/dist/chunks/tooltip-root-DqFXjTS0.js.map +0 -1
- package/dist/chunks/zh-CN-By8VGCbn.js.map +0 -1
package/dist/types/utils/cn.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare function kaesoMergeConfig(): {
|
|
|
18
18
|
}[];
|
|
19
19
|
display: string[];
|
|
20
20
|
sr: string[];
|
|
21
|
+
"not-sr": string[];
|
|
21
22
|
isolation: string[];
|
|
22
23
|
"object-fit": {
|
|
23
24
|
object: string[];
|
|
@@ -116,13 +117,13 @@ export declare function kaesoMergeConfig(): {
|
|
|
116
117
|
"row-start": (string | ((value: string) => boolean))[];
|
|
117
118
|
}[];
|
|
118
119
|
gap: {
|
|
119
|
-
gap: ((value: string) => boolean)[];
|
|
120
|
+
gap: (string | ((value: string) => boolean))[];
|
|
120
121
|
}[];
|
|
121
122
|
"gap-x": {
|
|
122
|
-
"gap-x": ((value: string) => boolean)[];
|
|
123
|
+
"gap-x": (string | ((value: string) => boolean))[];
|
|
123
124
|
}[];
|
|
124
125
|
"gap-y": {
|
|
125
|
-
"gap-y": ((value: string) => boolean)[];
|
|
126
|
+
"gap-y": (string | ((value: string) => boolean))[];
|
|
126
127
|
}[];
|
|
127
128
|
"justify-content": {
|
|
128
129
|
justify: string[];
|
|
@@ -144,31 +145,31 @@ export declare function kaesoMergeConfig(): {
|
|
|
144
145
|
})[];
|
|
145
146
|
}[];
|
|
146
147
|
p: {
|
|
147
|
-
p: ((value: string) => boolean)[];
|
|
148
|
+
p: (string | ((value: string) => boolean))[];
|
|
148
149
|
}[];
|
|
149
150
|
px: {
|
|
150
|
-
px: ((value: string) => boolean)[];
|
|
151
|
+
px: (string | ((value: string) => boolean))[];
|
|
151
152
|
}[];
|
|
152
153
|
py: {
|
|
153
|
-
py: ((value: string) => boolean)[];
|
|
154
|
+
py: (string | ((value: string) => boolean))[];
|
|
154
155
|
}[];
|
|
155
156
|
pt: {
|
|
156
|
-
pt: ((value: string) => boolean)[];
|
|
157
|
+
pt: (string | ((value: string) => boolean))[];
|
|
157
158
|
}[];
|
|
158
159
|
pr: {
|
|
159
|
-
pr: ((value: string) => boolean)[];
|
|
160
|
+
pr: (string | ((value: string) => boolean))[];
|
|
160
161
|
}[];
|
|
161
162
|
pb: {
|
|
162
|
-
pb: ((value: string) => boolean)[];
|
|
163
|
+
pb: (string | ((value: string) => boolean))[];
|
|
163
164
|
}[];
|
|
164
165
|
pl: {
|
|
165
|
-
pl: ((value: string) => boolean)[];
|
|
166
|
+
pl: (string | ((value: string) => boolean))[];
|
|
166
167
|
}[];
|
|
167
168
|
ps: {
|
|
168
|
-
ps: ((value: string) => boolean)[];
|
|
169
|
+
ps: (string | ((value: string) => boolean))[];
|
|
169
170
|
}[];
|
|
170
171
|
pe: {
|
|
171
|
-
pe: ((value: string) => boolean)[];
|
|
172
|
+
pe: (string | ((value: string) => boolean))[];
|
|
172
173
|
}[];
|
|
173
174
|
m: {
|
|
174
175
|
m: (string | ((value: string) => boolean))[];
|
|
@@ -236,7 +237,7 @@ export declare function kaesoMergeConfig(): {
|
|
|
236
237
|
leading: (string | ((value: string) => boolean))[];
|
|
237
238
|
}[];
|
|
238
239
|
indent: {
|
|
239
|
-
indent: ((value: string) => boolean)[];
|
|
240
|
+
indent: (string | ((value: string) => boolean))[];
|
|
240
241
|
}[];
|
|
241
242
|
"text-alignment": {
|
|
242
243
|
text: string[];
|
|
@@ -374,10 +375,10 @@ export declare function kaesoMergeConfig(): {
|
|
|
374
375
|
scrollbar: string[];
|
|
375
376
|
}[];
|
|
376
377
|
"scroll-mt": {
|
|
377
|
-
"scroll-mt": ((value: string) => boolean)[];
|
|
378
|
+
"scroll-mt": (string | ((value: string) => boolean))[];
|
|
378
379
|
}[];
|
|
379
380
|
"scroll-px": {
|
|
380
|
-
"scroll-px": ((value: string) => boolean)[];
|
|
381
|
+
"scroll-px": (string | ((value: string) => boolean))[];
|
|
381
382
|
}[];
|
|
382
383
|
"snap-align": {
|
|
383
384
|
snap: string[];
|
|
@@ -419,8 +420,9 @@ export declare function kaesoMergeConfig(): {
|
|
|
419
420
|
mx: string[];
|
|
420
421
|
my: string[];
|
|
421
422
|
size: string[];
|
|
422
|
-
"font-size": string[];
|
|
423
423
|
"line-clamp": string[];
|
|
424
|
+
sr: string[];
|
|
425
|
+
"not-sr": string[];
|
|
424
426
|
rounded: string[];
|
|
425
427
|
};
|
|
426
428
|
conflictingClassGroupModifiers: {
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./chunks/cn-
|
|
2
|
+
import { t as e } from "./chunks/cn-Cim5WXyu.js";
|
|
3
3
|
import { t } from "./chunks/provider-marks-DmonWRb5.js";
|
|
4
4
|
import { n, r, t as i } from "./chunks/link-provider-DSF9bbO3.js";
|
|
5
5
|
import { t as a } from "./chunks/use-controllable-rN5Fg5EJ.js";
|
package/foundations/color.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Color
|
|
2
2
|
|
|
3
|
-
A monochrome interface on pure white and pure black. Color appears only in data, in small status marks next to a word, and in
|
|
3
|
+
A monochrome interface on pure white and pure black. Color appears only in data, in small status marks next to a word, in highlighted code, and in a release's accent beside an announcement's words. Values: `../ai/tokens.md`.
|
|
4
4
|
|
|
5
5
|
## Neutrals
|
|
6
6
|
|
|
@@ -56,11 +56,12 @@ Each role is a `--k-code-<role>` variable and a `text-code-<role>` class. In hig
|
|
|
56
56
|
|
|
57
57
|
## Data
|
|
58
58
|
|
|
59
|
-
Eight series in a fixed order, balanced in lightness so none shouts. Token kinds always take the same series: input blue, output emerald, cache read a soft blue edged in input's blue, cache write amber, reasoning violet. A soft tint is too faint to stand on the panel alone, so it always carries a 1px edge in its series colour. Partial periods draw faint with a dashed edge, on bars and lines alike. Marks thinner than 2px use a darker shade in light mode to keep 3:1.
|
|
59
|
+
Eight series in a fixed order, balanced in lightness so none shouts. Things people name, such as projects, take one of ten swatches instead and keep it in every chart, legend and tile: `--k-swatch-1` to `--k-swatch-10`, given out in order (by creation, for projects), so the first few differ in lightness as well as hue and stay apart for every kind of colour vision. Token kinds always take the same series: input blue, output emerald, cache read a soft blue edged in input's blue, cache write amber, reasoning violet. A soft tint is too faint to stand on the panel alone, so it always carries a 1px edge in its series colour. Partial periods draw faint with a dashed edge, on bars and lines alike. Marks thinner than 2px use a darker shade in light mode to keep 3:1.
|
|
60
60
|
|
|
61
61
|
## Rules
|
|
62
62
|
|
|
63
|
-
- The interface is monochrome. A color that is not data, status
|
|
63
|
+
- The interface is monochrome. A color that is not data, status, highlighted code or a release's accent is a bug.
|
|
64
|
+
- A release's accent is one hue, its artwork's (`releaseArtHue`), drawn in the mode's shades (`--k-accent-*`): tinted on a light card, lit on a dark one. It stays beside the words; they keep a flat surface.
|
|
64
65
|
- A status mark sits next to a word or an icon; color alone never carries meaning.
|
|
65
66
|
- Dark mode is designed on its own: the panel is the darkest surface, controls are lifted with a ring, and weights render twenty units lighter.
|
|
66
67
|
- Lines are rings drawn with box-shadow, one device pixel, and rarer than space or tone.
|
package/foundations/icons.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Octicons, GitHub's icon set, one icon per Kaeso concept. The same idea always looks the same. Every name: `../ai/icons.md`.
|
|
4
4
|
|
|
5
5
|
## Vocabulary
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@ Use the names, not the icons: `icons.key` always means a key, `icons.model` a mo
|
|
|
9
9
|
## Rules
|
|
10
10
|
|
|
11
11
|
- An icon accompanies a word or names a button that has an accessible label. Decorative icons are hidden from assistive technology.
|
|
12
|
-
- No decorative icons: empty states, dialogs and badges carry words, not symbols.
|
|
12
|
+
- No decorative icons: empty states, dialogs and badges carry words, not symbols. An empty page or section may show the icon its place has in the navigation, in `Empty`'s quiet tile, so the empty page still reads as that place.
|
|
13
13
|
- Icons sit quieter than their label (text secondary) and take the label's color when active.
|
|
14
14
|
- Stroke icons next to text are centered on the cap height, not the box.
|
|
15
|
-
- Every icon
|
|
15
|
+
- Every icon is Octicons' 16px drawing, whose 1.5px lines have the weight of the medium text beside it: a hairline beside a label reads as a different, lighter thing.
|
|
16
16
|
- An icon that changes with state, as Copy turns to Copied, cross-fades: the old one shrinks to a quarter and blurs out while the new one grows in, in `--k-duration-swap`; with reduced motion only the opacity changes. `Icon` does it whenever its `icon` changes after the first render.
|
package/foundations/layout.md
CHANGED
|
@@ -4,12 +4,12 @@ One edge per page. The components bring their own insets, so a page composed of
|
|
|
4
4
|
|
|
5
5
|
## The gutter
|
|
6
6
|
|
|
7
|
-
| Where | Gutter
|
|
8
|
-
| --------------------------------------------- |
|
|
9
|
-
| The content panel,
|
|
10
|
-
| The sidebar | 16px; its items pad their content 12px, so icons and the wordmark sit 28px in
|
|
11
|
-
| Settings groups, inset lists and inset tables | 20px inside the group
|
|
12
|
-
| Menus, selects and the command palette | Their own inset (6px), with rows padded 10px; a popup is a surface, not part of the page
|
|
7
|
+
| Where | Gutter |
|
|
8
|
+
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
9
|
+
| The content panel | 24px, and 16px below 640px: page header, toolbar, page body, lists, tables, the phone bar; dialogs and sheets keep 24px |
|
|
10
|
+
| The sidebar | 16px; its items pad their content 12px, so icons and the wordmark sit 28px in |
|
|
11
|
+
| Settings groups, inset lists and inset tables | 20px inside the group |
|
|
12
|
+
| Menus, selects and the command palette | Their own inset (6px), with rows padded 10px; a popup is a surface, not part of the page |
|
|
13
13
|
|
|
14
14
|
## Boxes sit on the gutter
|
|
15
15
|
|
|
@@ -20,7 +20,7 @@ Text inside a box is padded by the box: 12px in list rows, table cells, pill tab
|
|
|
20
20
|
- **The gutter**, where every box and every piece of plain text starts: the page title, headings, labels, descriptions, chart axes.
|
|
21
21
|
- **The gutter plus 12px**, where the text inside boxes starts: a row's title, a tab's label, a column's values.
|
|
22
22
|
|
|
23
|
-
A surface that already pads its content by the gutter, such as a dialog, a sheet, a content page (`AppFrame.Body padding="page"`) or a settings column, is the gutter: a list or a table inside it puts its rows on that padding instead of adding
|
|
23
|
+
A surface that already pads its content by the gutter, such as a dialog, a sheet, a content page (`AppFrame.Body padding="page"`) or a settings column, is the gutter: a list or a table inside it puts its rows on that padding instead of adding a gutter of its own.
|
|
24
24
|
|
|
25
25
|
The same holds at the right edge: the last box ends on the gutter, the last column's text 12px inside it.
|
|
26
26
|
|
|
@@ -28,8 +28,8 @@ The same holds at the right edge: the last box ends on the gutter, the last colu
|
|
|
28
28
|
|
|
29
29
|
- **Text in running text.** A link or an inline copyable value inside a sentence keeps its 2 to 4px of hit padding around the text. It is part of the line, not a box.
|
|
30
30
|
- **Controls inside a box on the gutter.** Inside a box that already sits on the gutter, such as a table's header cell, a settings group's header or a banner, a control may use that box's own padding and keep its label on the box's text line: a column's sort button keeps its label on the column's edge.
|
|
31
|
-
- **Pane dividers.** Hairlines that split the panel into panes, such as the playground's columns, run from edge to edge; each pane keeps the
|
|
32
|
-
- **The wordmark** sits 28px in and 28px down in the sidebar and on sign-in screens, on the sidebar's content line. On the phone bar it sits on the page's
|
|
31
|
+
- **Pane dividers.** Hairlines that split the panel into panes, such as the playground's columns, run from edge to edge; each pane keeps the gutter inside it.
|
|
32
|
+
- **The wordmark** sits 28px in and 28px down in the sidebar and on sign-in screens, on the sidebar's content line. On the phone bar it sits on the page's 16px gutter, and on a sign-in screen narrower than 640px on the form's 16px gutter, like everything under it.
|
|
33
33
|
|
|
34
34
|
## Vertical rhythm
|
|
35
35
|
|
package/foundations/motion.md
CHANGED
|
@@ -1,32 +1,51 @@
|
|
|
1
1
|
# Motion
|
|
2
2
|
|
|
3
|
-
Quick, decelerating, from the trigger, never bouncing and never in the way. Motion explains where something came from; it never decorates. Durations and curves: `../ai/tokens.md`.
|
|
3
|
+
Quick, decelerating, from the trigger, never bouncing and never in the way. Motion explains where something came from or that something changed; it never decorates. Durations and curves: `../ai/tokens.md`.
|
|
4
|
+
|
|
5
|
+
## When to animate
|
|
6
|
+
|
|
7
|
+
- **How often decides.** Something people do many times a day, or from the keyboard, happens at once: the command palette, shortcuts such as `[` for the sidebar, Escape, Enter on a focused trigger. A popup opened or closed from the keyboard appears and goes without motion (Base UI's `data-instant`, and dialogs and sheets while the last input was a key).
|
|
8
|
+
- **Every animation has a job:** feedback that a press landed, where a popup or sheet came from, that a value or a state changed. Nothing moves for its own sake.
|
|
9
|
+
- **Only `transform` and `opacity`.** Width, height, margins and positions change at once; whatever has to travel is drawn in place with a transform. A sidebar that collapses changes the page's layout once and slides the sidebar and the page on the compositor; `AppFrame`'s page follows by itself, and a page beside a `Sidebar` in a layout of your own marks its column with `data-sidebar-follows`.
|
|
10
|
+
- **Interruptible.** Anything that can reverse halfway uses transitions or the Web Animations API, starting from where it is, never a keyframe that restarts.
|
|
4
11
|
|
|
5
12
|
## Durations
|
|
6
13
|
|
|
7
|
-
| Token | Use
|
|
8
|
-
| ---------------------------------------------------- |
|
|
9
|
-
| `--k-duration-fast` | Hover and color changes
|
|
10
|
-
| `--k-duration-press` | A button scaling down while pressed
|
|
11
|
-
| `--k-duration-swap` | An icon that changes with state cross-fading
|
|
12
|
-
| `--k-duration-overlay`, `--k-duration-close-overlay` | Menus and
|
|
13
|
-
| `--k-duration-dialog`, `--k-duration-close-dialog` | Dialogs opening, closing
|
|
14
|
-
| `--k-duration-sheet`, `--k-duration-close-sheet` | Sheets opening, closing
|
|
15
|
-
| `--k-duration-toast-in`, `--k-duration-toast-out` | A toast arriving, leaving
|
|
16
|
-
| `--k-duration-indicator` | Tab and segment indicators, the switch thumb
|
|
17
|
-
| `--k-duration-disclosure` |
|
|
18
|
-
| `--k-duration-chart` | Chart values changing
|
|
19
|
-
| `--k-duration-roll` | A number's digits rolling to a new value
|
|
20
|
-
| `--k-duration-check`, `--k-duration-radio` | The checkmark drawing in, the radio dot
|
|
21
|
-
| `--k-duration-copied` | How long "Copied" stays
|
|
14
|
+
| Token | Use |
|
|
15
|
+
| ---------------------------------------------------- | --------------------------------------------------------------------- |
|
|
16
|
+
| `--k-duration-fast` | Hover and color changes |
|
|
17
|
+
| `--k-duration-press` | A button scaling down while pressed |
|
|
18
|
+
| `--k-duration-swap` | An icon that changes with state cross-fading |
|
|
19
|
+
| `--k-duration-overlay`, `--k-duration-close-overlay` | Menus, popovers and tooltips opening, closing |
|
|
20
|
+
| `--k-duration-dialog`, `--k-duration-close-dialog` | Dialogs opening, closing |
|
|
21
|
+
| `--k-duration-sheet`, `--k-duration-close-sheet` | Sheets opening, closing; the sidebar sliding in and out |
|
|
22
|
+
| `--k-duration-toast-in`, `--k-duration-toast-out` | A toast arriving, leaving |
|
|
23
|
+
| `--k-duration-indicator` | Tab and segment indicators, the switch thumb |
|
|
24
|
+
| `--k-duration-disclosure` | A collapsible's content fading in |
|
|
25
|
+
| `--k-duration-chart` | Chart values changing |
|
|
26
|
+
| `--k-duration-roll` | A number's digits rolling to a new value |
|
|
27
|
+
| `--k-duration-check`, `--k-duration-radio` | The checkmark drawing in, the radio dot |
|
|
28
|
+
| `--k-duration-copied` | How long "Copied" stays (not a motion) |
|
|
29
|
+
| `--k-duration-fresh` | How long a new table row keeps its highlight while it fades (a color) |
|
|
30
|
+
|
|
31
|
+
Every motion stays under 300ms: presses 120ms, tooltips and menus 180ms, dialogs 200ms, sheets 260ms. Leaving takes less time than arriving.
|
|
22
32
|
|
|
23
33
|
## Easing
|
|
24
34
|
|
|
25
|
-
|
|
35
|
+
| Token | Curve | Use |
|
|
36
|
+
| ------------------- | --------------------------------- | -------------------------------------------------------------------------------------- |
|
|
37
|
+
| `--k-ease-standard` | `cubic-bezier(0.23, 1, 0.32, 1)` | Anything that appears, changes color or responds to a press |
|
|
38
|
+
| `--k-ease-overlay` | `cubic-bezier(0.16, 1, 0.3, 1)` | Popups and dialogs arriving |
|
|
39
|
+
| `--k-ease-exit` | `cubic-bezier(0.23, 1, 0.32, 1)` | Anything leaving: it eases out too, never in |
|
|
40
|
+
| `--k-ease-move` | `cubic-bezier(0.77, 0, 0.175, 1)` | Something already on screen that moves or changes shape: indicators, a dialog resizing |
|
|
41
|
+
| `--k-ease-drawer` | `cubic-bezier(0.32, 0.72, 0, 1)` | Sheets and the sidebar sliding from their edge |
|
|
42
|
+
| `--k-ease-pulse` | `cubic-bezier(0.4, 0, 0.6, 1)` | Loading only |
|
|
43
|
+
|
|
44
|
+
Never ease in: an element that starts slowly feels late. The CSS keywords (`ease`, `ease-in-out`) are too weak to use.
|
|
26
45
|
|
|
27
46
|
## Loading
|
|
28
47
|
|
|
29
|
-
Loading keeps one beat of
|
|
48
|
+
Loading keeps one beat of 600ms on the pulse easing. The spinner is three routes on a ring, like the three branches of the mark; it advances a third of a turn per beat. The skeleton breathes over 1.6 seconds.
|
|
30
49
|
|
|
31
50
|
- A busy control says so at once (`aria-busy`, clicks ignored); its spinner waits out the 300ms delay, then stays at least 400ms so it never flickers. `useDelayedLoading` times any other indicator the same way.
|
|
32
51
|
- A page's own indicator that goes away with the page can wait out the delay in CSS alone: `show-after-delay`.
|
|
@@ -35,9 +54,15 @@ Loading keeps one beat of 800ms on the pulse easing. The spinner is three routes
|
|
|
35
54
|
|
|
36
55
|
## Rules
|
|
37
56
|
|
|
38
|
-
- A pressed button scales to 0.
|
|
39
|
-
-
|
|
40
|
-
-
|
|
57
|
+
- A pressed button scales to 0.97 and back, and never when it is disabled; `static` keeps one still where the movement would distract. With reduced motion it only darkens.
|
|
58
|
+
- Popups (menus, popovers, selects, tooltips) grow from 0.95 at their trigger (`transform-origin` from Base UI's `--transform-origin`) as they fade in, and shrink back as they fade out. Dialogs grow from 0.95 in the center. Sheets slide from their edge. Nothing grows from 0.
|
|
59
|
+
- The first tooltip waits 500ms; the next one opens at once and without motion while one has just been shown.
|
|
60
|
+
- A dialog whose content changes stays centered and grows or shrinks to its new size from the size it has, in `--k-duration-dialog` on the `move` curve; a sheet from the bottom grows upwards. A dialog's content takes its new size and place at once and only the dialog's edges move over it, so a button never slides away from a pointer pressing it. Keep one dialog open through a task, and change its content, rather than closing one dialog and opening another. Its layers and steps cross-fade in place through a 2px blur.
|
|
61
|
+
- A collapsible takes its height at once and fades its content in; it closes at once.
|
|
62
|
+
- Hover effects only exist where a fine pointer can hover (`@media (hover: hover) and (pointer: fine)`), so a tap never leaves one behind.
|
|
63
|
+
- A state outranks hover. An open, pressed, selected, checked or invalid control keeps its look under the pointer, so it never turns back to the hover of its resting state and switches again when the pointer leaves. A state that answers the pointer says so itself (`selected:hover:bg-fill-3`). The `hover:` variant and every hover rule in the styles add no specificity (`:where(:hover)`).
|
|
64
|
+
- A tooltip never changes the look of the control it names.
|
|
65
|
+
- Toasts pause their timers while the pointer is over them, while the window is in the background and while the tab is hidden.
|
|
41
66
|
- No page-enter animation and no loops but loading's.
|
|
42
67
|
- Never `transition: all`; only the properties that change.
|
|
43
68
|
- With reduced motion, transforms are removed and only opacity changes remain.
|
|
@@ -32,5 +32,5 @@ People spend hours a day in this interface. Every rule in the library traces bac
|
|
|
32
32
|
|
|
33
33
|
24. **Nothing moves when its state changes.** A button that reads “Copy page” keeps its width when it reads “Copied”; loading, hover, selected and open keep the box. Every label variant is reserved in one grid cell. _(Found in review: a shrinking button reads as a glitch and moves the pointer's target.)_
|
|
34
34
|
25. **Rings follow the keyboard.** Focus rings appear for keyboard focus only; a clicked control looks clean, never "stuck selected". _(Found in review: a ring left after a click reads as an error state.)_
|
|
35
|
-
26. **Words, not symbols.** Empty states, alert dialogs, badges and status labels carry words; a decorative icon or dot beside them adds noise without meaning. _(Found in review:
|
|
35
|
+
26. **Words, not symbols.** Empty states, alert dialogs, badges and status labels carry words; a decorative icon or dot beside them adds noise without meaning. An empty page may name its place with the icon the navigation gives it, small, in a quiet tile on the gutter, never a large symbol centered above the words. _(Found in review: a large icon above an empty state and the dot in a badge made screens look cheaper.)_
|
|
36
36
|
27. **Every control text inherits the interface family.** No serif fallback ever renders, in portals and native controls included. _(Found in review.)_
|
package/foundations/shape.md
CHANGED
|
@@ -4,31 +4,32 @@ Kaeso Vanguard: pills for everything on one line, cut plates for everything that
|
|
|
4
4
|
|
|
5
5
|
## Radii
|
|
6
6
|
|
|
7
|
-
| Utility | Use
|
|
8
|
-
| ----------------------------------------- |
|
|
9
|
-
| `rounded-pill` | Every single-line control: buttons, inputs, selects, tabs, tags
|
|
10
|
-
| `rounded-panel` | The content panel of the app frame
|
|
11
|
-
| `rounded-menu` | Menus and listbox popups
|
|
12
|
-
| `rounded-item` | Rows inside menus and lists (menu radius minus its 6px inset)
|
|
13
|
-
| `rounded-popover` | Popovers and hover cards
|
|
14
|
-
| `rounded-dialog` | Dialogs and the command palette
|
|
15
|
-
| `rounded-sheet` | Sheets, on the side that faces the content
|
|
16
|
-
| `rounded-group` | Settings groups
|
|
17
|
-
| `rounded-well` | Code wells, preview frames and image thumbnails
|
|
18
|
-
| `rounded-tooltip` | Tooltips that wrap; a single-line tooltip is a pill
|
|
19
|
-
| `rounded-palette`, `rounded-palette-item` | The command palette and its rows
|
|
20
|
-
| `rounded-
|
|
21
|
-
| `rounded-
|
|
22
|
-
| `rounded-
|
|
23
|
-
| `rounded-
|
|
24
|
-
| `rounded-
|
|
25
|
-
| `rounded-
|
|
26
|
-
| `rounded-
|
|
27
|
-
| `rounded-
|
|
28
|
-
| `rounded-
|
|
29
|
-
| `rounded-
|
|
30
|
-
| `rounded-
|
|
31
|
-
| `rounded-
|
|
7
|
+
| Utility | Use |
|
|
8
|
+
| ----------------------------------------- | ----------------------------------------------------------------------- |
|
|
9
|
+
| `rounded-pill` | Every single-line control: buttons, inputs, selects, tabs, tags |
|
|
10
|
+
| `rounded-panel` | The content panel of the app frame |
|
|
11
|
+
| `rounded-menu` | Menus and listbox popups |
|
|
12
|
+
| `rounded-item` | Rows inside menus and lists (menu radius minus its 6px inset) |
|
|
13
|
+
| `rounded-popover` | Popovers and hover cards |
|
|
14
|
+
| `rounded-dialog` | Dialogs and the command palette |
|
|
15
|
+
| `rounded-sheet` | Sheets, on the side that faces the content |
|
|
16
|
+
| `rounded-group` | Settings groups |
|
|
17
|
+
| `rounded-well` | Code wells, preview frames and image thumbnails |
|
|
18
|
+
| `rounded-tooltip` | Tooltips that wrap; a single-line tooltip is a pill |
|
|
19
|
+
| `rounded-palette`, `rounded-palette-item` | The command palette and its rows |
|
|
20
|
+
| `rounded-sidebar` | Sidebar rows and the sidebar's icon buttons: full-width rows are plates |
|
|
21
|
+
| `rounded-checkbox` | Checkboxes |
|
|
22
|
+
| `rounded-org` | Organization avatars |
|
|
23
|
+
| `rounded-kbd` | Key caps |
|
|
24
|
+
| `rounded-code` | Inline code |
|
|
25
|
+
| `rounded-bar`, `rounded-cell` | Bars in charts, heatmap cells |
|
|
26
|
+
| `rounded-avatar` | Small square marks |
|
|
27
|
+
| `rounded-field` | Token fields that wrap |
|
|
28
|
+
| `rounded-textarea` | Textareas |
|
|
29
|
+
| `rounded-cell-lg` | One-time code cells |
|
|
30
|
+
| `rounded-tooltip-lg` | Not used by tooltips any more; use `rounded-tooltip` |
|
|
31
|
+
| `rounded-frame` | An app frame embedded in a page |
|
|
32
|
+
| `rounded-toast` | A toast that wraps |
|
|
32
33
|
|
|
33
34
|
## Concentric corners
|
|
34
35
|
|
package/foundations/writing.md
CHANGED
|
@@ -25,7 +25,12 @@ A label names the field; a placeholder shows an example, never the label. Hints
|
|
|
25
25
|
|
|
26
26
|
## Empty states
|
|
27
27
|
|
|
28
|
-
An empty state says what will appear and how to make it appear, in one sentence, with one action. No illustration
|
|
28
|
+
An empty state says what will appear and how to make it appear, in one sentence, with one action. No illustration; a page may show its place's own icon. When the page's header already has the action, the empty state doesn't repeat it: it explains, and links to read more.
|
|
29
|
+
|
|
30
|
+
- **Nothing yet:** what the place holds and how it fills ("Keys let apps call the gateway; each request names one.").
|
|
31
|
+
- **Nothing matches:** the filter is the reason; offer to clear it ("No keys match “ci”." with Clear search).
|
|
32
|
+
- **No access:** which right is missing and who can give it.
|
|
33
|
+
- **Couldn't load:** what failed, the gateway's reason when it gave one, and Try again.
|
|
29
34
|
|
|
30
35
|
| Do | Avoid |
|
|
31
36
|
| ----------------------------------------------------------------- | ---------------------- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logicplanes/kaeso-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5-rc.10",
|
|
4
4
|
"description": "UI library for the Kaeso open-source AI gateway: React components on Base UI, Tailwind CSS v4 and the Kaeso tokens.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Devin Oldenburg",
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
"types": "./dist/types/i18n/index.d.ts",
|
|
53
53
|
"import": "./dist/i18n.js"
|
|
54
54
|
},
|
|
55
|
+
"./octicons": {
|
|
56
|
+
"types": "./dist/types/icons/octicons.d.ts",
|
|
57
|
+
"import": "./dist/octicons.js"
|
|
58
|
+
},
|
|
55
59
|
"./ai/component-registry.json": "./ai/component-registry.json",
|
|
56
60
|
"./charts/*": {
|
|
57
61
|
"types": "./dist/types/components/charts/*.d.ts",
|
|
@@ -79,8 +83,6 @@
|
|
|
79
83
|
"foundations"
|
|
80
84
|
],
|
|
81
85
|
"peerDependencies": {
|
|
82
|
-
"@hugeicons/core-free-icons": "^4.2.0",
|
|
83
|
-
"@hugeicons/react": "^1.1.0",
|
|
84
86
|
"react": "^19.0.0",
|
|
85
87
|
"react-dom": "^19.0.0"
|
|
86
88
|
},
|
|
@@ -94,22 +96,20 @@
|
|
|
94
96
|
"d3-scale": "4.0.3",
|
|
95
97
|
"d3-shape": "3.2.1",
|
|
96
98
|
"d3-time": "3.1.1",
|
|
97
|
-
"marked": "18.2.
|
|
99
|
+
"marked": "18.2.1",
|
|
98
100
|
"react-day-picker": "9.14.0",
|
|
99
101
|
"shiki": "4.6.0",
|
|
100
|
-
"tailwind-merge": "3.7.
|
|
102
|
+
"tailwind-merge": "3.7.1",
|
|
101
103
|
"uqr": "0.1.3",
|
|
102
|
-
"@logicplanes/kaeso-tokens": "0.7.
|
|
104
|
+
"@logicplanes/kaeso-tokens": "0.7.5-rc.10"
|
|
103
105
|
},
|
|
104
106
|
"devDependencies": {
|
|
105
|
-
"@hugeicons/core-free-icons": "4.4.0",
|
|
106
|
-
"@hugeicons/react": "1.1.10",
|
|
107
107
|
"@tailwindcss/node": "4.3.5",
|
|
108
108
|
"@tailwindcss/oxide": "4.3.5",
|
|
109
109
|
"@tailwindcss/vite": "4.3.5",
|
|
110
|
-
"@testing-library/jest-dom": "
|
|
110
|
+
"@testing-library/jest-dom": "8.0.0",
|
|
111
111
|
"@testing-library/react": "16.3.3",
|
|
112
|
-
"@testing-library/user-event": "14.6.
|
|
112
|
+
"@testing-library/user-event": "14.6.13",
|
|
113
113
|
"@types/d3-array": "3.2.2",
|
|
114
114
|
"@types/d3-sankey": "0.12.5",
|
|
115
115
|
"@types/d3-scale": "4.0.9",
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
"@types/react": "19.3.0",
|
|
120
120
|
"@types/react-dom": "19.3.0",
|
|
121
121
|
"@vitejs/plugin-react": "6.3.0",
|
|
122
|
-
"@vitest/coverage-v8": "5.1.
|
|
123
|
-
"axe-core": "4.14.
|
|
122
|
+
"@vitest/coverage-v8": "5.1.1",
|
|
123
|
+
"axe-core": "4.14.1",
|
|
124
124
|
"happy-dom": "21.0.4",
|
|
125
|
-
"oxlint": "1.
|
|
125
|
+
"oxlint": "1.94.0",
|
|
126
126
|
"react": "19.3.1",
|
|
127
127
|
"react-docgen-typescript": "2.4.0",
|
|
128
128
|
"react-dom": "19.3.1",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"tsx": "4.23.15",
|
|
131
131
|
"typescript": "5.9.3",
|
|
132
132
|
"vite": "8.3.8",
|
|
133
|
-
"vitest": "5.1.
|
|
133
|
+
"vitest": "5.1.1"
|
|
134
134
|
},
|
|
135
135
|
"scripts": {
|
|
136
136
|
"build": "vite build && tsc -p tsconfig.build.json && node scripts/build-css.mjs && node scripts/registry.mjs && node scripts/references.mjs && node scripts/budgets.mjs",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-frame-CnyC_z96.js","names":["__icon_SidebarLeftIcon","InsetContent","cn","buttonClasses","Button","BrandWordmark","PortalContainer","lazyModule","whenIdle","useUiText","mergeRefs","KAESO_APP_FRAME_VARIANTS","KAESO_APP_FRAME_DEFAULT_VARIANTS","Ctx","useAppFrame","useContext","Root","navOpen","setNavOpen","useState","toggle","useRef","sheetReady","mainId","useId","Main","fill","frame","useMemo","sheet","FrameSheet","sidebar","className","SkipLink","PhoneBar","brandHref","brandLabel","phoneActions","o","corner","target","main","e","Bar","banner","t","actions","toggleRef","SidebarLeftIcon","open","onToggle","PEEK_LEAVE","navSheet","useSidebar","idle","setIdle","dismiss","useCallback","setPeeking","NavSheet","useLazyModule","peeking","pending","useLayoutEffect","usePendingDismiss","doc","onKeyDown","onPointerDown","MenuButton","intent","wide","collapsed","shortcut","setCollapsed","openNav","KAESO_APP_FRAME_BODY_VARIANTS","KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS","Body","props","own","refs","ref","useEffect","el","band","mark","next","padding","GutterContent","Settings","title","description","AppFrame"],"sources":["../../src/components/app-frame/app-frame.tsx"],"sourcesContent":["import {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useId,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type HTMLAttributes,\n type ReactNode,\n type RefObject,\n} from \"react\";\nimport { GutterContent, InsetContent } from \"../../utils/inset.js\";\nimport { cn } from \"../../utils/cn.js\";\nimport { SidebarLeftIcon as __icon_SidebarLeftIcon } from \"@hugeicons/core-free-icons\";\nimport { Button, buttonClasses } from \"../button/button.js\";\nimport { useSidebar, BrandWordmark } from \"../sidebar/sidebar.js\";\nimport { PortalContainer } from \"../../utils/portal-context.js\";\nimport { lazyModule, useLazyModule } from \"../../utils/lazy-module.js\";\nimport { whenIdle } from \"../../utils/when-idle.js\";\nimport { useUiText } from \"../../i18n/context.js\";\nimport { mergeRefs } from \"../../utils/merge-refs.js\";\n\nexport const KAESO_APP_FRAME_VARIANTS = {\n fill: {\n screen: { classes: \"h-dvh\" },\n parent: { classes: \"h-full\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_DEFAULT_VARIANTS = { fill: \"screen\" } as const;\n\nconst Ctx = /* @__PURE__ */ createContext<{ openNav: () => void; embedded: boolean; sheetReady: RefObject<boolean> }>({\n openNav: () => undefined,\n embedded: false,\n sheetReady: { current: false },\n});\nexport const useAppFrame = () => useContext(Ctx);\n\nexport interface AppFrameProps {\n sidebar: ReactNode;\n children: ReactNode;\n corner?: ReactNode | undefined;\n fill?: keyof typeof KAESO_APP_FRAME_VARIANTS.fill | undefined;\n brandHref?: string | undefined;\n brandLabel?: string | undefined;\n phoneActions?: ReactNode | undefined;\n className?: string | undefined;\n}\n\nconst Root = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameProps>(function AppFrame(\n { sidebar, children, corner, fill = \"screen\", brandHref, brandLabel, phoneActions, className },\n ref,\n) {\n const [navOpen, setNavOpen] = useState(false);\n const toggle = useRef<HTMLButtonElement | null>(null);\n const sheetReady = useRef(false);\n const mainId = `k-main-${useId().replace(/[^\\w-]/g, \"\")}`;\n const Main = fill === \"screen\" ? \"main\" : \"div\";\n const frame = useMemo(() => ({ openNav: () => setNavOpen(true), embedded: fill === \"parent\", sheetReady }), [fill]);\n const sheet = (\n <FrameSheet navOpen={navOpen} setNavOpen={setNavOpen} toggle={toggle} ready={sheetReady}>\n {sidebar}\n </FrameSheet>\n );\n return (\n <Ctx.Provider value={frame}>\n <div\n ref={ref}\n data-app-frame={fill}\n className={cn(\n \"relative isolate flex w-full flex-col overflow-hidden bg-panel text-fg lg:flex-row\",\n KAESO_APP_FRAME_VARIANTS.fill[fill].classes,\n className,\n )}\n >\n <SkipLink target={mainId} />\n <div className=\"hidden h-full lg:flex\">{sidebar}</div>\n <PhoneBar\n banner={fill === \"screen\"}\n href={brandHref}\n label={brandLabel}\n actions={phoneActions}\n open={navOpen}\n onToggle={() => setNavOpen((o) => !o)}\n toggleRef={toggle}\n />\n <Main id={mainId} className=\"relative flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-panel outline-none safe-area-panel frame-main-top\">\n {children}\n </Main>\n {corner && <div className={cn(fill === \"parent\" ? \"absolute\" : \"fixed\", \"right-16 bottom-16 z-10 flex items-center gap-8\")}>{corner}</div>}\n {fill === \"parent\" ? <PortalContainer className=\"contents\">{sheet}</PortalContainer> : sheet}\n </div>\n </Ctx.Provider>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Root.displayName = \"AppFrame\";\n\nfunction SkipLink({ target }: { target: string }) {\n const t = useUiText();\n return (\n <a\n href={`#${target}`}\n onClick={(e) => {\n const main = document.getElementById(target);\n if (!main) return;\n e.preventDefault();\n main.setAttribute(\"tabindex\", \"-1\");\n main.addEventListener(\"blur\", () => main.removeAttribute(\"tabindex\"), { once: true });\n main.focus();\n }}\n className={cn(buttonClasses({ size: \"sm\" }), \"absolute top-16 left-16 z-50 not-focus:sr-only\")}\n >\n {t(\"appFrame.skipToContent\", \"Skip to content\")}\n </a>\n );\n}\nif (process.env.NODE_ENV !== \"production\") SkipLink.displayName = \"AppFrame.SkipLink\";\n\nfunction PhoneBar({\n banner,\n href,\n label,\n actions,\n open,\n onToggle,\n toggleRef,\n}: {\n banner: boolean;\n href: string | undefined;\n label: string | undefined;\n actions: ReactNode;\n open: boolean;\n onToggle: () => void;\n toggleRef: RefObject<HTMLButtonElement | null>;\n}) {\n const Bar = banner ? \"header\" : \"div\";\n const t = useUiText();\n return (\n <Bar data-phone-bar=\"\" className=\"shrink-0 bg-panel safe-area-bar lg:hidden\">\n <div className=\"mt-8 flex h-52 items-center justify-between px-24\">\n <BrandWordmark href={href} label={label} />\n <span className=\"flex items-center\">\n {actions}\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={toggleRef}\n icon={__icon_SidebarLeftIcon}\n aria-label={t(\"appFrame.openNavigation\", \"Open navigation\")}\n aria-haspopup=\"dialog\"\n aria-expanded={open}\n tooltip={false}\n onClick={onToggle}\n />\n </span>\n </div>\n </Bar>\n );\n}\nif (process.env.NODE_ENV !== \"production\") PhoneBar.displayName = \"AppFrame.PhoneBar\";\n\nexport const PEEK_DELAY = 750;\nconst PEEK_LEAVE = 160;\n\nconst navSheet = /* @__PURE__ */ lazyModule(() => import(\"./nav-sheet.js\"), { base: () => import.meta.url });\n\nfunction FrameSheet({\n navOpen,\n setNavOpen,\n toggle,\n ready,\n children,\n}: {\n navOpen: boolean;\n setNavOpen: (o: boolean) => void;\n toggle: RefObject<HTMLElement | null>;\n ready: RefObject<boolean>;\n children: ReactNode;\n}) {\n const { peeking, setPeeking } = useSidebar();\n const [idle, setIdle] = useState(false);\n useEffect(() => whenIdle(() => setIdle(true)), []);\n const dismiss = useCallback(() => {\n setNavOpen(false);\n setPeeking(false);\n }, [setNavOpen, setPeeking]);\n const NavSheet = useLazyModule(navSheet, idle || navOpen || peeking, () => {\n setIdle(false);\n dismiss();\n })?.NavSheet;\n const pending = (navOpen || peeking) && !NavSheet;\n useLayoutEffect(() => {\n ready.current = !!NavSheet;\n });\n usePendingDismiss(pending, toggle, dismiss);\n if (!NavSheet) return null;\n return (\n <NavSheet\n open={navOpen || peeking}\n peek={peeking && !navOpen}\n {...(navOpen ? { returnFocus: toggle } : {})}\n onOpenChange={(o) => {\n if (!o) dismiss();\n }}\n >\n {children}\n </NavSheet>\n );\n}\n\nfunction usePendingDismiss(pending: boolean, toggle: RefObject<HTMLElement | null>, dismiss: () => void) {\n useEffect(() => {\n if (!pending) return;\n const doc = toggle.current?.ownerDocument ?? document;\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Escape\") return;\n e.stopPropagation();\n dismiss();\n };\n const onPointerDown = (e: PointerEvent) => {\n if (!toggle.current?.contains(e.target as Node)) dismiss();\n };\n doc.addEventListener(\"keydown\", onKeyDown, true);\n doc.addEventListener(\"pointerdown\", onPointerDown, true);\n return () => {\n doc.removeEventListener(\"keydown\", onKeyDown, true);\n doc.removeEventListener(\"pointerdown\", onPointerDown, true);\n };\n }, [pending, toggle, dismiss]);\n}\n\nconst MenuButton = /* @__PURE__ */ forwardRef<HTMLButtonElement, { className?: string | undefined }>(function AppFrameMenuButton({ className }, ref) {\n const { openNav, sheetReady } = useAppFrame();\n const { collapsed, setCollapsed, peeking, setPeeking, shortcut } = useSidebar();\n const intent = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);\n useEffect(() => () => clearTimeout(intent.current), []);\n const t = useUiText();\n const wide = () => typeof window !== \"undefined\" && window.matchMedia(\"(min-width: 1024px)\").matches;\n return (\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={ref}\n onPointerEnter={() => {\n clearTimeout(intent.current);\n if (collapsed && wide() && !peeking) intent.current = setTimeout(() => setPeeking(true), PEEK_DELAY);\n }}\n onPointerLeave={(e) => {\n clearTimeout(intent.current);\n if (!sheetReady.current || !peeking) return setPeeking(false);\n const doc = e.currentTarget.ownerDocument;\n intent.current = setTimeout(() => {\n if (!doc.querySelector(\"[data-nav-sheet]\")?.matches(\":hover\")) setPeeking(false);\n }, PEEK_LEAVE);\n }}\n icon={__icon_SidebarLeftIcon}\n data-sidebar-expand=\"\"\n aria-label={collapsed ? t(\"appFrame.expandSidebar\", \"Expand sidebar\") : t(\"appFrame.openNavigation\", \"Open navigation\")}\n shortcut={collapsed && shortcut ? [\"[\"] : undefined}\n onClick={() => {\n clearTimeout(intent.current);\n if (collapsed && wide()) setCollapsed(false);\n else openNav();\n }}\n className={cn(\"hidden\", collapsed && \"lg:inline-flex\", className)}\n />\n );\n});\nif (process.env.NODE_ENV !== \"production\") MenuButton.displayName = \"AppFrame.MenuButton\";\n\nexport const KAESO_APP_FRAME_BODY_VARIANTS = {\n padding: {\n none: { classes: \"\" },\n list: { classes: \"pt-8 pb-24\" },\n page: { classes: \"px-24 pt-16 pb-48\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS = { padding: \"none\" } as const;\n\nexport interface AppFrameBodyProps extends HTMLAttributes<HTMLDivElement> {\n padding?: keyof typeof KAESO_APP_FRAME_BODY_VARIANTS.padding | undefined;\n}\n\nconst Body = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameBodyProps>(function AppFrameBody({ className, padding = \"none\", children, ...props }, ref) {\n const own = useRef<HTMLDivElement | null>(null);\n const refs = useMemo(() => mergeRefs(own, ref), [ref]);\n useEffect(() => {\n const el = own.current;\n if (!el) return;\n let band: Element | null = null;\n const mark = () => {\n const next = el.scrollTop > 0 ? el.previousElementSibling : null;\n if (next === band) return;\n band?.removeAttribute(\"data-k-content-under\");\n next?.setAttribute(\"data-k-content-under\", \"\");\n band = next;\n };\n mark();\n el.addEventListener(\"scroll\", mark, { passive: true });\n return () => {\n el.removeEventListener(\"scroll\", mark);\n band?.removeAttribute(\"data-k-content-under\");\n };\n }, []);\n return (\n <div\n ref={refs}\n data-frame-body=\"\"\n className={cn(\"min-h-0 flex-1 overflow-y-auto overscroll-contain scrollbar-quiet\", KAESO_APP_FRAME_BODY_VARIANTS.padding[padding].classes, className)}\n {...props}\n >\n <GutterContent padded={padding === \"page\"}>{children}</GutterContent>\n </div>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Body.displayName = \"AppFrame.Body\";\n\nexport interface SettingsPageProps extends Omit<HTMLAttributes<HTMLDivElement>, \"title\"> {\n title: ReactNode;\n description?: ReactNode | undefined;\n actions?: ReactNode | undefined;\n}\n\nconst Settings = /* @__PURE__ */ forwardRef<HTMLDivElement, SettingsPageProps>(function AppFrameSettings({ title, description, actions, className, children, ...props }, ref) {\n return (\n <Body ref={ref} className=\"relative\">\n <MenuButton className=\"absolute top-10 left-24 z-10\" />\n <div className={cn(\"w-full px-24 pt-16 pb-96 lg:mx-auto lg:max-w-settings lg:pt-64\", className)} {...props}>\n <header className=\"flex flex-wrap items-start justify-between gap-x-16 gap-y-8 pb-24 rule-b\">\n <h1 className=\"min-w-0 text-title-lg font-semibold text-fg text-balance sm:flex-1\">{title}</h1>\n {actions && <div className=\"order-last flex min-h-32 shrink-0 items-center gap-8 sm:order-none sm:ml-auto\">{actions}</div>}\n {description && <p className=\"basis-full text-body-lg font-regular text-fg-secondary\">{description}</p>}\n </header>\n <div className=\"mt-8\">\n <InsetContent>\n <GutterContent>{children}</GutterContent>\n </InsetContent>\n </div>\n </div>\n </Body>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Settings.displayName = \"AppFrame.Settings\";\n\nexport const AppFrame = /* @__PURE__ */ Object.assign(Root, { MenuButton, Body, Settings });\n"],"mappings":";;;;;;;;;;;;;;AA0BA,IAAaW,IAA2B,EACtC,MAAM;CACJ,QAAQ,EAAE,SAAS,QAAQ;CAC3B,QAAQ,EAAE,SAAS,SAAS;AAC9B,EACF,GACaC,IAAmC,EAAE,MAAM,SAAS,GAE3DC,IAAsB,kBAA0F;CACpH,eAAe,KAAA;CACf,UAAU;CACV,YAAY,EAAE,SAAS,GAAM;AAC/B,CAAC,GACYC,UAAoBC,EAAWF,CAAG,GAazCG,IAAuB,kBAA0C,SACrE,EAAE,YAAS,aAAU,WAAQ,UAAO,UAAU,cAAW,eAAY,iBAAc,gBACnF,GACA;CACA,IAAM,CAACC,GAASC,KAAcC,EAAS,EAAK,GACtCC,IAASC,EAAiC,IAAI,GAC9CC,IAAaD,EAAO,EAAK,GACzBE,IAAS,UAAUC,EAAM,CAAC,CAAC,QAAQ,WAAW,EAAE,KAChDC,IAAOC,MAAS,WAAW,SAAS,OACpCC,IAAQC,SAAe;EAAE,eAAeV,EAAW,EAAI;EAAG,UAAUQ,MAAS;EAAU;CAAW,IAAI,CAACA,CAAI,CAAC,GAC5GG,IACJ,kBAACC,GAAD;EAAqB;EAAqB;EAAoB;EAAQ,OAAOR;EAC1E,UAAAS;CACS,CAAA;CAEd,OACE,kBAAClB,EAAI,UAAL;EAAc,OAAOc;EACnB,UAAA,kBAAC,OAAD;GACO;GACL,kBAAgBD;GAChB,WAAWxB,EACT,sFACAS,EAAyB,KAAKe,EAAK,CAAC,SACpCM,CACF;GAPF,UAAA;IASE,kBAACC,GAAD,EAAU,QAAQV,EAAS,CAAA;IAC3B,kBAAC,OAAD;KAAK,WAAU;KAAyB,UAAAQ;IAAa,CAAA;IACrD,kBAACG,GAAD;KACE,QAAQR,MAAS;KACjB,MAAMS;KACN,OAAOC;KACP,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CAAS;EACpJ,GAAI8C;EAEJ,UAAA,kBAACU,GAAD;GAAe,QAAQD,MAAY;GAAS;EAAwB,CAAA;CACjE,CAAA;AAET,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAK,cAAc;AAQ9D,IAAME,IAA2B,kBAA8C,SAA0B,EAAE,UAAO,gBAAa,YAAS,cAAW,aAAU,GAAGX,KAAS,GAAK;CAC5K,OACE,kBAACD,GAAD;EAAW;EAAK,WAAU;EAA1B,UAAA,CACE,kBAACT,GAAD,EAAY,WAAU,+BAAgC,CAAA,GACtD,kBAAC,OAAD;GAAK,WAAWlE,EAAG,kEAAkE8B,CAAS;GAAG,GAAI8C;GAArG,UAAA,CACE,kBAAC,UAAD;IAAQ,WAAU;IAAlB,UAAA;KACE,kBAAC,MAAD;MAAI,WAAU;MAAsE,UAAAY;KAAU,CAAA;KAC7F5C,KAAW,kBAAC,OAAD;MAAK,WAAU;MAAiF,UAAAA;KAAa,CAAA;KACxH6C,KAAe,kBAAC,KAAD;MAAG,WAAU;MAA0D,UAAAA;KAAe,CAAA;IAChG;GACR,CAAA,GAAA,kBAAC,OAAD;IAAK,WAAU;IACb,UAAA,kBAAC1F,GAAD,EAAA,UACE,kBAACuF,GAAD,EAAgB,YAAwB,CAAA,EAC5B,CAAA;GACX,CAAA,CACF;EACD,CAAA,CAAA;;AAEV,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAS,cAAc;AAElE,IAAaI,IAA2B,uBAAO,OAAO5E,GAAM;CAAE;CAAY;CAAM;AAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-DVw5ZHKN.js","names":["_Fragment","cn","useUiText","Tooltip","Fragment$1","AGENT_TILE","AGENT_BADGE","BADGE_BOT","BOT","botGlyph","tile","paths","d","AgentGlyph","size","AgentBadge","badge","centre","label","className","AGENT_MODELS","agentModel","model","PRODUCT_NAMES","modelName","englishText","known","useModelName","t","useMemo","KAESO_AVATAR_VARIANTS","KAESO_AVATAR_DEFAULT_VARIANTS","initials","parts","name","first","max","BADGE_NUDGE","GROUP_NUDGE","Root","props","kind","decorative","agent","Face","failedSrc","setFailedSrc","useState","hydrating","useHydrating","src","img","nudge","GROUP_OVERLAP","OVERLAP_CLASS","GAP","cutFor","overlap","Group","shown","people","rest","items","slot","i","child","key","p","children","Avatar"],"sources":["../../src/components/avatar/agent.tsx","../../src/components/avatar/models.ts","../../src/components/avatar/model-name.ts","../../src/components/avatar/avatar.tsx"],"sourcesContent":["import { forwardRef, type CSSProperties, type ReactNode } from \"react\";\nimport { cn } from \"../../utils/cn.js\";\n\nexport const AGENT_TILE = {\n 20: { classes: \"size-20 rounded-avatar\", glyph: \"size-14\", stroke: 2.25 },\n 24: { classes: \"size-24 rounded-avatar\", glyph: \"size-16\", stroke: 2 },\n 28: { classes: \"size-28 rounded-org\", glyph: \"size-18\", stroke: 2 },\n 32: { classes: \"size-32 rounded-org\", glyph: \"size-20\", stroke: 1.75 },\n 40: { classes: \"size-40 rounded-org\", glyph: \"size-28\", stroke: 1.5 },\n} as const;\n\nconst AGENT_BADGE = {\n 20: { classes: \"size-8\", px: 8, glyph: \"size-6\", stroke: 3.5 },\n 24: { classes: \"size-10\", px: 10, glyph: \"size-8\", stroke: 3 },\n 28: { classes: \"size-12\", px: 12, glyph: \"size-10\", stroke: 2.75 },\n 32: { classes: \"size-12\", px: 12, glyph: \"size-10\", stroke: 2.75 },\n 40: { classes: \"size-16\", px: 16, glyph: \"size-12\", stroke: 2.5 },\n} as const;\n\ntype AvatarSize = keyof typeof AGENT_TILE;\n\n// Below 14px the ears merge with the head, so the badge drops them and widens the head instead.\nconst BADGE_BOT = [\n \"M6.5 7h11A3.5 3.5 0 0 1 21 10.5v6a3.5 3.5 0 0 1-3.5 3.5h-11A3.5 3.5 0 0 1 3 16.5v-6A3.5 3.5 0 0 1 6.5 7z\",\n \"M12 7V3.5\",\n \"M9 13v1.5\",\n \"M15 13v1.5\",\n];\nconst BOT = [\n \"M7.5 8h9A3.5 3.5 0 0 1 20 11.5v5a3.5 3.5 0 0 1-3.5 3.5h-9A3.5 3.5 0 0 1 4 16.5v-5A3.5 3.5 0 0 1 7.5 8z\",\n \"M12 8V4.5\",\n \"M9.5 13.5v1\",\n \"M14.5 13.5v1\",\n \"M2 13v2\",\n \"M22 13v2\",\n];\n\nfunction botGlyph(tile: { glyph: string; stroke: number }, paths: readonly string[] = BOT) {\n return (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={tile.stroke}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden\n focusable=\"false\"\n className={tile.glyph}\n >\n {paths.map((d) => (\n <path key={d} d={d} />\n ))}\n </svg>\n );\n}\n\nexport function AgentGlyph({ size }: { size: AvatarSize }) {\n return botGlyph(AGENT_TILE[size]);\n}\n\nexport const AgentBadge = /* @__PURE__ */ forwardRef<HTMLSpanElement, { size: AvatarSize; label: string; className?: string | undefined; children: ReactNode }>(\n function AgentBadge({ size, label, className, children }, ref) {\n const badge = AGENT_BADGE[size];\n const centre = `${size - badge.px / 2}px`;\n return (\n <span ref={ref} role=\"img\" aria-label={label} className={cn(\"relative inline-flex shrink-0\", className)}>\n <span\n className=\"flex cutout rounded-pill\"\n style={{ \"--k-cut-x-ltr\": centre, \"--k-cut-y\": centre, \"--k-cut-r\": `${badge.px / 2 + 2}px` } as CSSProperties}\n >\n {children}\n </span>\n <span\n aria-hidden\n data-agent-badge=\"\"\n className={cn(\n \"absolute right-0 bottom-0 inline-flex items-center justify-center rounded-pill bg-ink text-on-ink data-mark forced-colors:outline forced-colors:-outline-offset-1\",\n badge.classes,\n )}\n >\n {botGlyph(badge, BADGE_BOT)}\n </span>\n </span>\n );\n },\n);\nif (process.env.NODE_ENV !== \"production\") AgentBadge.displayName = \"Avatar\";\n","export const AGENT_MODELS = [\n \"claude\",\n \"gpt\",\n \"gemini\",\n \"gemma\",\n \"grok\",\n \"llama\",\n \"mistral\",\n \"deepseek\",\n \"qwen\",\n \"kimi\",\n \"glm\",\n \"minimax\",\n \"command\",\n \"nova\",\n \"phi\",\n \"granite\",\n \"jamba\",\n \"ernie\",\n \"hunyuan\",\n \"doubao\",\n \"yi\",\n \"nemotron\",\n \"olmo\",\n \"sonar\",\n \"reka\",\n \"unknown\",\n] as const;\n\nexport type AgentModel = (typeof AGENT_MODELS)[number];\n\n/** The model family an API string names, or `unknown` for anything the library doesn't know. */\nexport function agentModel(model: string): AgentModel {\n return (AGENT_MODELS as readonly string[]).includes(model) ? (model as AgentModel) : \"unknown\";\n}\n","import { useMemo } from \"react\";\nimport { englishText, useUiText, type UiText } from \"../../i18n/context.js\";\nimport { agentModel, type AgentModel } from \"./models.js\";\n\nconst PRODUCT_NAMES: Readonly<Record<Exclude<AgentModel, \"unknown\">, string>> = {\n claude: \"Claude\",\n gpt: \"GPT\",\n gemini: \"Gemini\",\n gemma: \"Gemma\",\n grok: \"Grok\",\n llama: \"Llama\",\n mistral: \"Mistral\",\n deepseek: \"DeepSeek\",\n qwen: \"Qwen\",\n kimi: \"Kimi\",\n glm: \"GLM\",\n minimax: \"MiniMax\",\n command: \"Command\",\n nova: \"Nova\",\n phi: \"Phi\",\n granite: \"Granite\",\n jamba: \"Jamba\",\n ernie: \"ERNIE\",\n hunyuan: \"Hunyuan\",\n doubao: \"Doubao\",\n yi: \"Yi\",\n nemotron: \"Nemotron\",\n olmo: \"OLMo\",\n sonar: \"Sonar\",\n reka: \"Reka\",\n};\n\n/**\n * The display name of a model family from the API, such as `deepseek` → \"DeepSeek\". Product names are never\n * translated; `unknown` and ids the library doesn't know are \"Unknown\", translated through `t` (English without it).\n * In a component, prefer `useModelName()`, which translates into the page's language.\n */\nexport function modelName(model: string, t: UiText = englishText): string {\n const known = agentModel(model);\n return known === \"unknown\" ? t(\"agentAvatar.unknownModel\", \"Unknown\") : PRODUCT_NAMES[known];\n}\n\n/** `modelName` in the language of the nearest `LocaleProvider`. */\nexport function useModelName(): (model: string) => string {\n const t = useUiText();\n return useMemo(() => (model: string) => modelName(model, t), [t]);\n}\n","import { forwardRef, useState, type CSSProperties, type ReactNode } from \"react\";\nimport { cn } from \"../../utils/cn.js\";\nimport { useHydrating } from \"../../hooks/use-hydrating.js\";\nimport { useUiText } from \"../../i18n/context.js\";\nimport { Tooltip } from \"../tooltip/tooltip.js\";\nimport { AGENT_TILE, AgentBadge, AgentGlyph } from \"./agent.js\";\nimport { modelName } from \"./model-name.js\";\n\nexport const KAESO_AVATAR_VARIANTS = {\n size: {\n 20: { classes: \"size-20 text-micro\" },\n 24: { classes: \"size-24 text-micro\" },\n 28: { classes: \"size-28 text-caption\" },\n 32: { classes: \"size-32 text-caption\" },\n 40: { classes: \"size-40 text-body\" },\n },\n kind: {\n person: { classes: \"rounded-pill\" },\n org: { classes: \"rounded-org\" },\n agent: { classes: \"bg-fill-3\" },\n },\n} as const;\nexport const KAESO_AVATAR_DEFAULT_VARIANTS = { size: 24, kind: \"person\" } as const;\n\nexport function initials(name: string, max: 1 | 2 = 2): string {\n const parts = name.trim().split(/\\s+/).filter(Boolean);\n if (parts.length === 0) return \"?\";\n const first = parts[0]?.[0] ?? \"\";\n return (max === 1 || parts.length < 2 ? first : first + (parts[parts.length - 1]?.[0] ?? \"\")).toUpperCase();\n}\n\n// Initials move toward the part of the face a cut leaves whole, so the cut never takes a letter.\nconst BADGE_NUDGE = { 20: \"me-2 mb-2\", 24: \"me-4 mb-4\", 28: \"me-4 mb-4\", 32: \"me-4 mb-4\", 40: \"me-6 mb-6\" } as const;\nconst GROUP_NUDGE = { 20: \"me-6\", 24: \"me-6\", 28: \"me-6\", 32: \"me-8\", 40: \"me-10\" } as const;\n\nexport interface AvatarProps {\n name: string;\n src?: string | undefined;\n size?: keyof typeof KAESO_AVATAR_VARIANTS.size | undefined;\n kind?: keyof typeof KAESO_AVATAR_VARIANTS.kind | undefined;\n agent?: { name: string; model: string } | undefined;\n decorative?: boolean | undefined;\n className?: string | undefined;\n}\n\nconst Root = /* @__PURE__ */ forwardRef<HTMLSpanElement, AvatarProps>(function Avatar(props, ref) {\n const { name, size = 24, kind = \"person\", agent, decorative, className } = props;\n const t = useUiText();\n if (kind === \"agent\") {\n return (\n <span\n ref={ref}\n {...(decorative ? { \"aria-hidden\": true } : { role: \"img\", \"aria-label\": name })}\n className={cn(\n \"inline-flex shrink-0 items-center justify-center bg-fill-3 text-fg select-none forced-colors:outline forced-colors:-outline-offset-1\",\n AGENT_TILE[size].classes,\n className,\n )}\n >\n <AgentGlyph size={size} />\n </span>\n );\n }\n if (agent) {\n const label = t(\"agentAttribution.label\", \"{name} via {agent} ({model})\", { name, agent: agent.name, model: modelName(agent.model, t) });\n return (\n <Tooltip content={label}>\n <AgentBadge ref={ref} size={size} label={label} className={className}>\n <Face {...props} agent={undefined} className={undefined} decorative nudge={BADGE_NUDGE[size]} />\n </AgentBadge>\n </Tooltip>\n );\n }\n return <Face ref={ref} {...props} />;\n});\nif (process.env.NODE_ENV !== \"production\") Root.displayName = \"Avatar\";\n\nconst Face = /* @__PURE__ */ forwardRef<HTMLSpanElement, AvatarProps & { nudge?: string | undefined }>(function Face(\n { name, src, size = 24, kind = \"person\", decorative, className, nudge },\n ref,\n) {\n const [failedSrc, setFailedSrc] = useState<string | undefined>(undefined);\n const hydrating = useHydrating();\n return (\n <span\n ref={ref}\n {...(decorative ? { \"aria-hidden\": true } : { role: \"img\", \"aria-label\": name })}\n className={cn(\n \"relative inline-flex shrink-0 items-center justify-center overflow-hidden mark-fill font-semibold text-fg select-none forced-colors:outline forced-colors:-outline-offset-1\",\n KAESO_AVATAR_VARIANTS.size[size].classes,\n KAESO_AVATAR_VARIANTS.kind[kind].classes,\n size <= 24 && kind === \"org\" && \"rounded-avatar\",\n className,\n )}\n >\n {src && src !== failedSrc ? (\n <>\n <img\n ref={(img) => {\n // A server-rendered picture that failed before hydration fired its error event before React listened for it.\n if (hydrating && img?.complete && img.naturalWidth === 0) setFailedSrc(src);\n }}\n src={src}\n alt=\"\"\n className=\"size-full object-cover image-outline\"\n onError={() => setFailedSrc(src)}\n />\n </>\n ) : nudge ? (\n <span className={nudge}>{initials(name, size === 20 ? 1 : 2)}</span>\n ) : (\n initials(name, size === 20 ? 1 : 2)\n )}\n </span>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Face.displayName = \"Avatar\";\n\nexport interface AvatarGroupProps {\n people: { name: string; src?: string | undefined }[];\n size?: keyof typeof KAESO_AVATAR_VARIANTS.size | undefined;\n max?: number | undefined;\n className?: string | undefined;\n children?: ReactNode | undefined;\n}\n\nconst GROUP_OVERLAP = { 20: 4, 24: 4, 28: 4, 32: 6, 40: 8 } as const;\nconst OVERLAP_CLASS = { 4: \"-ms-4\", 6: \"-ms-6\", 8: \"-ms-8\" } as const;\nconst GAP = 2;\n\nfunction cutFor(size: number, overlap: number): CSSProperties {\n return {\n \"--k-cut-x-ltr\": `${1.5 * size - overlap}px`,\n \"--k-cut-x-rtl\": `${overlap - 0.5 * size}px`,\n \"--k-cut-r\": `${size / 2 + GAP}px`,\n } as CSSProperties;\n}\n\nexport const Group = /* @__PURE__ */ forwardRef<HTMLDivElement, AvatarGroupProps>(function AvatarGroup({ people, size = 24, max = 4, className, children }, ref) {\n const t = useUiText();\n const shown = people.slice(0, max);\n const rest = people.length - shown.length;\n const overlap = GROUP_OVERLAP[size];\n const items = shown.length + (rest > 0 ? 1 : 0);\n const slot = (i: number, child: ReactNode, key: string) => (\n <span\n key={key}\n className={cn(\"flex shrink-0 rounded-pill\", i > 0 && OVERLAP_CLASS[overlap], i < items - 1 && \"cutout\")}\n style={i < items - 1 ? cutFor(size, overlap) : undefined}\n >\n {child}\n </span>\n );\n return (\n <div\n ref={ref}\n role=\"group\"\n aria-label={people.map((p) => p.name).join(t(\"avatarGroup.listSeparator\", \", \"))}\n className={cn(\"flex items-center\", className)}\n >\n {shown.map((p, i) =>\n slot(\n i,\n <Face name={p.name} {...(p.src ? { src: p.src } : {})} size={size} decorative {...(i < items - 1 ? { nudge: GROUP_NUDGE[size] } : {})} />,\n p.name + i,\n ),\n )}\n {rest > 0 &&\n slot(\n shown.length,\n <Tooltip\n content={people\n .slice(max)\n .map((p) => p.name)\n .join(t(\"avatarGroup.listSeparator\", \", \"))}\n shape=\"multiline\"\n >\n <span\n className={cn(\n \"inline-flex shrink-0 items-center justify-center rounded-pill mark-fill font-medium text-fg-secondary tabular forced-colors:outline forced-colors:-outline-offset-1\",\n KAESO_AVATAR_VARIANTS.size[size].classes,\n )}\n >\n +{rest}\n </span>\n </Tooltip>,\n \"rest\",\n )}\n {children && <span className=\"ms-8 inline-flex items-center\">{children}</span>}\n </div>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Group.displayName = \"Avatar.Group\";\n\nexport const Avatar = /* @__PURE__ */ Object.assign(Root, { Group });\n"],"mappings":";;;;;;;;AAGA,IAAaK,IAAa;CACxB,IAAI;EAAE,SAAS;EAA0B,OAAO;EAAW,QAAQ;CAAK;CACxE,IAAI;EAAE,SAAS;EAA0B,OAAO;EAAW,QAAQ;CAAE;CACrE,IAAI;EAAE,SAAS;EAAuB,OAAO;EAAW,QAAQ;CAAE;CAClE,IAAI;EAAE,SAAS;EAAuB,OAAO;EAAW,QAAQ;CAAK;CACrE,IAAI;EAAE,SAAS;EAAuB,OAAO;EAAW,QAAQ;CAAI;AACtE,GAEMC,IAAc;CAClB,IAAI;EAAE,SAAS;EAAU,IAAI;EAAG,OAAO;EAAU,QAAQ;CAAI;CAC7D,IAAI;EAAE,SAAS;EAAW,IAAI;EAAI,OAAO;EAAU,QAAQ;CAAE;CAC7D,IAAI;EAAE,SAAS;EAAW,IAAI;EAAI,OAAO;EAAW,QAAQ;CAAK;CACjE,IAAI;EAAE,SAAS;EAAW,IAAI;EAAI,OAAO;EAAW,QAAQ;CAAK;CACjE,IAAI;EAAE,SAAS;EAAW,IAAI;EAAI,OAAO;EAAW,QAAQ;CAAI;AAClE,GAKMC,IAAY;CAChB;CACA;CACA;CACA;AACF,GACMC,IAAM;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