@logicplanes/kaeso-ui 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/ai/component-guides.md +232 -40
- package/ai/component-registry.json +481 -138
- package/ai/component-registry.md +174 -104
- package/ai/icons.md +2 -2
- package/ai/tokens.md +46 -48
- package/dist/chunks/app-frame-DibcP3SK.js +247 -0
- package/dist/chunks/app-frame-DibcP3SK.js.map +1 -0
- package/dist/chunks/arrow-focus-D9q8rMct.js +25 -0
- package/dist/chunks/arrow-focus-D9q8rMct.js.map +1 -0
- package/dist/chunks/{avatar-DVrkoFEg.js → avatar-rLwc_20v.js} +73 -60
- package/dist/chunks/avatar-rLwc_20v.js.map +1 -0
- package/dist/chunks/{badge-CTYrfTwc.js → badge-C6H9NlNw.js} +5 -6
- package/dist/chunks/{badge-CTYrfTwc.js.map → badge-C6H9NlNw.js.map} +1 -1
- package/dist/chunks/{banner-cJ89c-IR.js → banner-B3YT-DVa.js} +18 -18
- package/dist/chunks/banner-B3YT-DVa.js.map +1 -0
- package/dist/chunks/{button-Da8b-8ub.js → button-L10eO8bf.js} +34 -35
- package/dist/chunks/{button-Da8b-8ub.js.map → button-L10eO8bf.js.map} +1 -1
- package/dist/chunks/{button-group-BJxaz0sb.js → button-group-BZmq9BmX.js} +10 -11
- package/dist/chunks/{button-group-BJxaz0sb.js.map → button-group-BZmq9BmX.js.map} +1 -1
- package/dist/chunks/{calendar-CA9mDtwp.js → calendar-BR8wvVEv.js} +10 -11
- package/dist/chunks/{calendar-CA9mDtwp.js.map → calendar-BR8wvVEv.js.map} +1 -1
- package/dist/chunks/{checkbox-CPL47-us.js → checkbox-BkMPWcR_.js} +9 -10
- package/dist/chunks/{checkbox-CPL47-us.js.map → checkbox-BkMPWcR_.js.map} +1 -1
- package/dist/chunks/{cn-CLpm819s.js → cn-CF99d-bD.js} +8 -4
- package/dist/chunks/cn-CF99d-bD.js.map +1 -0
- package/dist/chunks/{code-CpqXogQK.js → code-C4bi_3gR.js} +3 -4
- package/dist/chunks/{code-CpqXogQK.js.map → code-C4bi_3gR.js.map} +1 -1
- package/dist/chunks/{code-block-BqFGa1-b.js → code-block-DBWno4Dm.js} +51 -53
- package/dist/chunks/code-block-DBWno4Dm.js.map +1 -0
- package/dist/chunks/code-block-DOZqnHjd.js +282 -0
- package/dist/chunks/code-block-DOZqnHjd.js.map +1 -0
- package/dist/chunks/{collapsible-DmLyF8Ol.js → collapsible-BFoDXP0y.js} +19 -17
- package/dist/chunks/collapsible-BFoDXP0y.js.map +1 -0
- package/dist/chunks/combobox-B8GjFlO4.js +365 -0
- package/dist/chunks/combobox-B8GjFlO4.js.map +1 -0
- package/dist/chunks/{command-list-GQ3y8on6.js → command-list-ttU7YLEl.js} +51 -50
- package/dist/chunks/command-list-ttU7YLEl.js.map +1 -0
- package/dist/chunks/{command-palette-DEJDRW31.js → command-palette-BEIK_hv9.js} +54 -52
- package/dist/chunks/command-palette-BEIK_hv9.js.map +1 -0
- package/dist/chunks/context-B2nNL7Im.js +19 -0
- package/dist/chunks/context-B2nNL7Im.js.map +1 -0
- package/dist/chunks/{copy-button-B67MEIu2.js → copy-button-59YLQ_oG.js} +48 -43
- package/dist/chunks/copy-button-59YLQ_oG.js.map +1 -0
- package/dist/chunks/core-B8c9Bty0.js +456 -0
- package/dist/chunks/core-B8c9Bty0.js.map +1 -0
- package/dist/chunks/dashboard-Cuv86JNj.js +135 -0
- package/dist/chunks/dashboard-Cuv86JNj.js.map +1 -0
- package/dist/chunks/data-table-BMopFMG6.js +641 -0
- package/dist/chunks/data-table-BMopFMG6.js.map +1 -0
- package/dist/chunks/date-picker-CkIMfoLV.js +345 -0
- package/dist/chunks/date-picker-CkIMfoLV.js.map +1 -0
- package/dist/chunks/{date-popup-7ZzVxhY1.js → date-popup-DhbnZRhl.js} +12 -14
- package/dist/chunks/{date-popup-7ZzVxhY1.js.map → date-popup-DhbnZRhl.js.map} +1 -1
- package/dist/chunks/{de-V_lN_KKk.js → de-QtAgHLnQ.js} +61 -3
- package/dist/chunks/de-QtAgHLnQ.js.map +1 -0
- package/dist/chunks/{delta-BCIXqi3O.js → delta-CJUsqoA_.js} +7 -8
- package/dist/chunks/{delta-BCIXqi3O.js.map → delta-CJUsqoA_.js.map} +1 -1
- package/dist/chunks/{dev-TgcS67XR.js → dev-CRNODF1J.js} +2 -3
- package/dist/chunks/{dev-TgcS67XR.js.map → dev-CRNODF1J.js.map} +1 -1
- package/dist/chunks/dialog-CYQsXjid.js +590 -0
- package/dist/chunks/dialog-CYQsXjid.js.map +1 -0
- package/dist/chunks/{disclosure-DhMvGSll.js → disclosure-0eeGo16u.js} +3 -4
- package/dist/chunks/{disclosure-DhMvGSll.js.map → disclosure-0eeGo16u.js.map} +1 -1
- package/dist/chunks/{display-options-BTFqLSJX.js → display-options-DZqFG-ly.js} +38 -38
- package/dist/chunks/display-options-DZqFG-ly.js.map +1 -0
- package/dist/chunks/domain-BqNtp2rQ.js +25 -0
- package/dist/chunks/domain-BqNtp2rQ.js.map +1 -0
- package/dist/chunks/empty-BLeimJFU.js +50 -0
- package/dist/chunks/empty-BLeimJFU.js.map +1 -0
- package/dist/chunks/{field-ng87P1GV.js → field-BJoH_7Mc.js} +15 -17
- package/dist/chunks/field-BJoH_7Mc.js.map +1 -0
- package/dist/chunks/{figure-_uZS1Y52.js → figure-g1FhNNJc.js} +8 -10
- package/dist/chunks/figure-g1FhNNJc.js.map +1 -0
- package/dist/chunks/filter-chip-KMkD6acL.js +208 -0
- package/dist/chunks/filter-chip-KMkD6acL.js.map +1 -0
- package/dist/chunks/{filter-row-Bs2lFT67.js → filter-row-Dia2atDQ.js} +9 -10
- package/dist/chunks/{filter-row-Bs2lFT67.js.map → filter-row-Dia2atDQ.js.map} +1 -1
- package/dist/chunks/{flow-BGFXfXgJ.js → flow-9Ap7HdzN.js} +27 -28
- package/dist/chunks/flow-9Ap7HdzN.js.map +1 -0
- package/dist/chunks/formatters-Be5AdLB2.js +12 -0
- package/dist/chunks/formatters-Be5AdLB2.js.map +1 -0
- package/dist/chunks/{heading-wBU2QK4s.js → heading-DjRyHd0R.js} +3 -4
- package/dist/chunks/{heading-wBU2QK4s.js.map → heading-DjRyHd0R.js.map} +1 -1
- package/dist/chunks/{i18n-0RW0IAf3.js → i18n-DA-5LboH.js} +2 -3
- package/dist/chunks/{i18n-0RW0IAf3.js.map → i18n-DA-5LboH.js.map} +1 -1
- package/dist/chunks/{icon-lgMMe3zk.js → icon-UqUodbsN.js} +26 -26
- package/dist/chunks/icon-UqUodbsN.js.map +1 -0
- package/dist/chunks/{icon-CPiYZMTw.js → icon-kQHSzziW.js} +3 -4
- package/dist/chunks/{icon-CPiYZMTw.js.map → icon-kQHSzziW.js.map} +1 -1
- package/dist/chunks/{identity-DCghs4Wp.js → identity-DCNUQgql.js} +231 -110
- package/dist/chunks/identity-DCNUQgql.js.map +1 -0
- package/dist/chunks/{input-iSaRkw-V.js → input-CI8DBTas.js} +20 -22
- package/dist/chunks/{input-iSaRkw-V.js.map → input-CI8DBTas.js.map} +1 -1
- package/dist/chunks/{input-QQR4KS9D.js → input-DpGqfw1G.js} +39 -39
- package/dist/chunks/input-DpGqfw1G.js.map +1 -0
- package/dist/chunks/input-group-FtZWEYNA.js +90 -0
- package/dist/chunks/input-group-FtZWEYNA.js.map +1 -0
- package/dist/chunks/{inset-BUzyXLK4.js → inset-BTAjcK6a.js} +2 -3
- package/dist/chunks/{inset-BUzyXLK4.js.map → inset-BTAjcK6a.js.map} +1 -1
- package/dist/chunks/{iso-field-D2CISQaB.js → iso-field-Dg-HGlv9.js} +7 -8
- package/dist/chunks/{iso-field-D2CISQaB.js.map → iso-field-Dg-HGlv9.js.map} +1 -1
- package/dist/chunks/{json-view-DeHSFq-2.js → json-view-CNpzGhtB.js} +25 -26
- package/dist/chunks/json-view-CNpzGhtB.js.map +1 -0
- package/dist/chunks/{kaeso-Bs1aLSTp.js → kaeso-C-E-8Dxz.js} +198 -200
- package/dist/chunks/kaeso-C-E-8Dxz.js.map +1 -0
- package/dist/chunks/{kaeso-theme-BIgOZi41.js → kaeso-theme-C9rnRKq2.js} +3 -5
- package/dist/chunks/{kaeso-theme-BIgOZi41.js.map → kaeso-theme-C9rnRKq2.js.map} +1 -1
- package/dist/chunks/{kbd-xC3k90CH.js → kbd-CI5W-2LJ.js} +4 -5
- package/dist/chunks/{kbd-xC3k90CH.js.map → kbd-CI5W-2LJ.js.map} +1 -1
- package/dist/chunks/{key-value-DKW2q0zt.js → key-value-nzN9Vojb.js} +12 -13
- package/dist/chunks/key-value-nzN9Vojb.js.map +1 -0
- package/dist/chunks/{labelled-D5udSPUI.js → labelled-DJa09XRF.js} +2 -3
- package/dist/chunks/{labelled-D5udSPUI.js.map → labelled-DJa09XRF.js.map} +1 -1
- package/dist/chunks/{linear-scale-BWKeRqDX.js → linear-scale-B5A7yNr7.js} +2 -3
- package/dist/chunks/{linear-scale-BWKeRqDX.js.map → linear-scale-B5A7yNr7.js.map} +1 -1
- package/dist/chunks/link-DXFn_hKF.js +54 -0
- package/dist/chunks/link-DXFn_hKF.js.map +1 -0
- package/dist/chunks/{link-provider-cvl8lSTT.js → link-provider-DSF9bbO3.js} +2 -3
- package/dist/chunks/{link-provider-cvl8lSTT.js.map → link-provider-DSF9bbO3.js.map} +1 -1
- package/dist/chunks/list-Bhtqsv9E.js +594 -0
- package/dist/chunks/list-Bhtqsv9E.js.map +1 -0
- package/dist/chunks/{loader-DtZd9btk.js → loader-C4ayEuXI.js} +3 -4
- package/dist/chunks/{loader-DtZd9btk.js.map → loader-C4ayEuXI.js.map} +1 -1
- package/dist/chunks/{loader-D27YO1c3.js → loader-DMnDOZWX.js} +10 -11
- package/dist/chunks/{loader-D27YO1c3.js.map → loader-DMnDOZWX.js.map} +1 -1
- package/dist/chunks/{logo-DTqTs3vV.js → logo-z7ZAq0So.js} +4 -5
- package/dist/chunks/{logo-DTqTs3vV.js.map → logo-z7ZAq0So.js.map} +1 -1
- package/dist/chunks/{markdown-BlIl3LuV.js → markdown-CLMrgRju.js} +118 -101
- package/dist/chunks/markdown-CLMrgRju.js.map +1 -0
- package/dist/chunks/{menu-D3tUjkCM.js → menu-Bl7vzB52.js} +126 -119
- package/dist/chunks/menu-Bl7vzB52.js.map +1 -0
- package/dist/chunks/{merge-refs-BN1FyQt9.js → merge-refs-SiVVoQsO.js} +2 -3
- package/dist/chunks/{merge-refs-BN1FyQt9.js.map → merge-refs-SiVVoQsO.js.map} +1 -1
- package/dist/chunks/{message-BxTkh1oA.js → message-DpD9D1Dj.js} +2 -3
- package/dist/chunks/{message-BxTkh1oA.js.map → message-DpD9D1Dj.js.map} +1 -1
- package/dist/chunks/meter-YuCR1Pjd.js +193 -0
- package/dist/chunks/meter-YuCR1Pjd.js.map +1 -0
- package/dist/chunks/nav-sheet-CQfZ7w_q.js +65 -0
- package/dist/chunks/nav-sheet-CQfZ7w_q.js.map +1 -0
- package/dist/chunks/{nav-wordmark-DR4Glswt.js → nav-wordmark-DoA-i2E9.js} +3 -4
- package/dist/chunks/{nav-wordmark-DR4Glswt.js.map → nav-wordmark-DoA-i2E9.js.map} +1 -1
- package/dist/chunks/{observe-resize-DhxhmoyB.js → observe-resize-DerQK57d.js} +2 -3
- package/dist/chunks/{observe-resize-DhxhmoyB.js.map → observe-resize-DerQK57d.js.map} +1 -1
- package/dist/chunks/{option-checkbox-Df7WhGn4.js → option-checkbox-wA9L8Nxo.js} +2 -3
- package/dist/chunks/{option-checkbox-Df7WhGn4.js.map → option-checkbox-wA9L8Nxo.js.map} +1 -1
- package/dist/chunks/over-sheet-CMUXcIMV.js +25 -0
- package/dist/chunks/over-sheet-CMUXcIMV.js.map +1 -0
- package/dist/chunks/page-header-C92GBvns.js +45 -0
- package/dist/chunks/page-header-C92GBvns.js.map +1 -0
- package/dist/chunks/{pagination-BT-lQc45.js → pagination-IL6wspAT.js} +13 -14
- package/dist/chunks/{pagination-BT-lQc45.js.map → pagination-IL6wspAT.js.map} +1 -1
- package/dist/chunks/{picker-popover-Bb-2Amjw.js → picker-popover-icF27914.js} +21 -22
- package/dist/chunks/picker-popover-icF27914.js.map +1 -0
- package/dist/chunks/{popover-CAoo5c59.js → popover-BFvV60-L.js} +9 -10
- package/dist/chunks/{popover-CAoo5c59.js.map → popover-BFvV60-L.js.map} +1 -1
- package/dist/chunks/{popover-root-D3q89WNF.js → popover-root-BI54wuLi.js} +2 -3
- package/dist/chunks/{popover-root-D3q89WNF.js.map → popover-root-BI54wuLi.js.map} +1 -1
- package/dist/chunks/{portal-context-CTatR2Z8.js → portal-context-Z2xSIPsc.js} +2 -3
- package/dist/chunks/{portal-context-CTatR2Z8.js.map → portal-context-Z2xSIPsc.js.map} +1 -1
- package/dist/chunks/{provider-marks-BVbDRIv-.js → provider-marks-DmonWRb5.js} +2 -3
- package/dist/chunks/{provider-marks-BVbDRIv-.js.map → provider-marks-DmonWRb5.js.map} +1 -1
- package/dist/chunks/{qr-code-DOsFDNiz.js → qr-code-CCNU8O2_.js} +3 -4
- package/dist/chunks/{qr-code-DOsFDNiz.js.map → qr-code-CCNU8O2_.js.map} +1 -1
- package/dist/chunks/{radio-DfOB6J3Z.js → radio-anvHOdCW.js} +5 -6
- package/dist/chunks/{radio-DfOB6J3Z.js.map → radio-anvHOdCW.js.map} +1 -1
- package/dist/chunks/{range-popup-iBru5bpM.js → range-popup-Z6K3WK7A.js} +61 -59
- package/dist/chunks/range-popup-Z6K3WK7A.js.map +1 -0
- package/dist/chunks/{reasoning-frame-DBIq2SMT.js → reasoning-frame-BCoFYqgO.js} +4 -5
- package/dist/chunks/{reasoning-frame-DBIq2SMT.js.map → reasoning-frame-BCoFYqgO.js.map} +1 -1
- package/dist/chunks/{release-art-D7Iq6Qhv.js → release-art-DJuOsmxV.js} +9 -11
- package/dist/chunks/{release-art-D7Iq6Qhv.js.map → release-art-DJuOsmxV.js.map} +1 -1
- package/dist/chunks/{resize-motion-DS3rIIqy.js → resize-motion-BbVXkxTO.js} +4 -7
- package/dist/chunks/{resize-motion-DS3rIIqy.js.map → resize-motion-BbVXkxTO.js.map} +1 -1
- package/dist/chunks/{rights-DDGgi823.js → rights-C44EtmsG.js} +68 -70
- package/dist/chunks/rights-C44EtmsG.js.map +1 -0
- package/dist/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/chunks/{rolling-number-ea1iiycC.js → rolling-number-wHJ6BD7h.js} +3 -4
- package/dist/chunks/{rolling-number-ea1iiycC.js.map → rolling-number-wHJ6BD7h.js.map} +1 -1
- package/dist/chunks/row-control-DlHLdthx.js +8 -0
- package/dist/chunks/row-control-DlHLdthx.js.map +1 -0
- package/dist/chunks/{safe-href-G5DBNVwm.js → safe-href-CWHpspUx.js} +2 -3
- package/dist/chunks/{safe-href-G5DBNVwm.js.map → safe-href-CWHpspUx.js.map} +1 -1
- package/dist/chunks/{scroll-area-D-ykAChX.js → scroll-area-CWPdGMJb.js} +4 -5
- package/dist/chunks/scroll-area-CWPdGMJb.js.map +1 -0
- package/dist/chunks/section-DmjNeJG9.js +97 -0
- package/dist/chunks/section-DmjNeJG9.js.map +1 -0
- package/dist/chunks/{segmented-BJJHHn0N.js → segmented-1WSOvDjT.js} +20 -21
- package/dist/chunks/segmented-1WSOvDjT.js.map +1 -0
- package/dist/chunks/{select-Ch4u5oIg.js → select-B3eoWXfR.js} +61 -61
- package/dist/chunks/select-B3eoWXfR.js.map +1 -0
- package/dist/chunks/{selects-text-R1lZHLKm.js → selects-text-kRMTsm4s.js} +5 -7
- package/dist/chunks/selects-text-kRMTsm4s.js.map +1 -0
- package/dist/chunks/{separator-B2CT4qia.js → separator-CAxDTLUL.js} +8 -6
- package/dist/chunks/separator-CAxDTLUL.js.map +1 -0
- package/dist/chunks/settings-CtVw9CiD.js +83 -0
- package/dist/chunks/settings-CtVw9CiD.js.map +1 -0
- package/dist/chunks/sheet-gHqkCQXy.js +127 -0
- package/dist/chunks/sheet-gHqkCQXy.js.map +1 -0
- package/dist/chunks/{shiki-CRJpi_Hd.js → shiki-QCHorMZO.js} +3 -4
- package/dist/chunks/{shiki-CRJpi_Hd.js.map → shiki-QCHorMZO.js.map} +1 -1
- package/dist/chunks/sidebar-BnIqRDVN.js +665 -0
- package/dist/chunks/sidebar-BnIqRDVN.js.map +1 -0
- package/dist/chunks/{sidebar-menu-f5NMgTdE.js → sidebar-menu-CSElX37g.js} +3 -4
- package/dist/chunks/sidebar-menu-CSElX37g.js.map +1 -0
- package/dist/chunks/sizes-CSjNvon0.js +20 -0
- package/dist/chunks/sizes-CSjNvon0.js.map +1 -0
- package/dist/chunks/{skeleton-Bx-vRJdy.js → skeleton-DTiYxSYX.js} +4 -5
- package/dist/chunks/skeleton-DTiYxSYX.js.map +1 -0
- package/dist/chunks/{slider-BuEZfzNB.js → slider-CSLWsGYq.js} +5 -5
- package/dist/chunks/{slider-BuEZfzNB.js.map → slider-CSLWsGYq.js.map} +1 -1
- package/dist/chunks/{stat-gR4hFqO8.js → stat-DuWKmxGr.js} +53 -51
- package/dist/chunks/stat-DuWKmxGr.js.map +1 -0
- package/dist/chunks/{status-CejTEkqR.js → status-Bi2tSKCj.js} +7 -8
- package/dist/chunks/{status-CejTEkqR.js.map → status-Bi2tSKCj.js.map} +1 -1
- package/dist/chunks/styles-CklJ8C7c.js +14 -0
- package/dist/chunks/styles-CklJ8C7c.js.map +1 -0
- package/dist/chunks/{swap-text-CxWcVD0a.js → swap-text-DL0V-pku.js} +3 -4
- package/dist/chunks/{swap-text-CxWcVD0a.js.map → swap-text-DL0V-pku.js.map} +1 -1
- package/dist/chunks/swap-value-TlZecHRF.js +29 -0
- package/dist/chunks/swap-value-TlZecHRF.js.map +1 -0
- package/dist/chunks/switch-C0sNr969.js +77 -0
- package/dist/chunks/switch-C0sNr969.js.map +1 -0
- package/dist/chunks/{table-BTUUwlXD.js → table-CceWZLhC.js} +20 -21
- package/dist/chunks/table-CceWZLhC.js.map +1 -0
- package/dist/chunks/{tabs-D0I6Jkd4.js → tabs-BElO8cFs.js} +18 -19
- package/dist/chunks/tabs-BElO8cFs.js.map +1 -0
- package/dist/chunks/{tag-BGvgGsvr.js → tag-o9BCsRkO.js} +13 -14
- package/dist/chunks/tag-o9BCsRkO.js.map +1 -0
- package/dist/chunks/{text-ChUk0Z46.js → text-BRYPrw1h.js} +8 -9
- package/dist/chunks/text-BRYPrw1h.js.map +1 -0
- package/dist/chunks/textarea-BP6I9yrU.js +172 -0
- package/dist/chunks/textarea-BP6I9yrU.js.map +1 -0
- package/dist/chunks/{theme-image-Bk97CYp8.js → theme-image-Cw4VJEag.js} +3 -4
- package/dist/chunks/{theme-image-Bk97CYp8.js.map → theme-image-Cw4VJEag.js.map} +1 -1
- package/dist/chunks/theme-menu-BgltuBqB.js +79 -0
- package/dist/chunks/theme-menu-BgltuBqB.js.map +1 -0
- package/dist/chunks/{theme-provider-CmsV0cYJ.js → theme-provider-DaD8hlXu.js} +3 -4
- package/dist/chunks/{theme-provider-CmsV0cYJ.js.map → theme-provider-DaD8hlXu.js.map} +1 -1
- package/dist/chunks/thumbnail-CtYBg7Ms.js +83 -0
- package/dist/chunks/thumbnail-CtYBg7Ms.js.map +1 -0
- package/dist/chunks/{thumbnail-D2hD8aEk.js → thumbnail-DmFBC3Rf.js} +7 -8
- package/dist/chunks/{thumbnail-D2hD8aEk.js.map → thumbnail-DmFBC3Rf.js.map} +1 -1
- package/dist/chunks/{timeline-BQm5Q-Ul.js → timeline-B3vkaxI1.js} +12 -13
- package/dist/chunks/timeline-B3vkaxI1.js.map +1 -0
- package/dist/chunks/timeseries-h7XdvYTo.js +404 -0
- package/dist/chunks/timeseries-h7XdvYTo.js.map +1 -0
- package/dist/chunks/{toast-CSlvlu-r.js → toast-XAZeCuV7.js} +47 -48
- package/dist/chunks/toast-XAZeCuV7.js.map +1 -0
- package/dist/chunks/{toc-Cu2QJL5A.js → toc-C9Ay3w5r.js} +22 -17
- package/dist/chunks/toc-C9Ay3w5r.js.map +1 -0
- package/dist/chunks/{tone-CWpsHPb6.js → tone-CF_XXfiq.js} +2 -3
- package/dist/chunks/{tone-CWpsHPb6.js.map → tone-CF_XXfiq.js.map} +1 -1
- package/dist/chunks/{toolbar-DE-R3sjA.js → toolbar-BHqTfPWr.js} +17 -18
- package/dist/chunks/toolbar-BHqTfPWr.js.map +1 -0
- package/dist/chunks/{tooltip-D2g_QO6w.js → tooltip-D0jdTWyX.js} +2 -3
- package/dist/chunks/{tooltip-D2g_QO6w.js.map → tooltip-D0jdTWyX.js.map} +1 -1
- package/dist/chunks/tooltip-DVpJ_urN.js +205 -0
- package/dist/chunks/tooltip-DVpJ_urN.js.map +1 -0
- package/dist/chunks/{tooltip-C8ehtFju.js → tooltip-OySqu0Bq.js} +30 -28
- package/dist/chunks/tooltip-OySqu0Bq.js.map +1 -0
- package/dist/chunks/{tooltip-root-CrLuOT4j.js → tooltip-root-BeCM9Uhj.js} +25 -25
- package/dist/chunks/tooltip-root-BeCM9Uhj.js.map +1 -0
- package/dist/chunks/{truncated-C0A4AU-U.js → truncated-C6K1q8DJ.js} +9 -10
- package/dist/chunks/{truncated-C0A4AU-U.js.map → truncated-C6K1q8DJ.js.map} +1 -1
- package/dist/chunks/{use-controllable-B5Fd12Bx.js → use-controllable-rN5Fg5EJ.js} +2 -3
- package/dist/chunks/{use-controllable-B5Fd12Bx.js.map → use-controllable-rN5Fg5EJ.js.map} +1 -1
- package/dist/chunks/{use-copy-Dm2ncvMX.js → use-copy-DtUCUOlR.js} +2 -3
- package/dist/chunks/{use-copy-Dm2ncvMX.js.map → use-copy-DtUCUOlR.js.map} +1 -1
- package/dist/chunks/{use-hydrating-COtYVRo4.js → use-hydrating-Dth8POSk.js} +2 -3
- package/dist/chunks/{use-hydrating-COtYVRo4.js.map → use-hydrating-Dth8POSk.js.map} +1 -1
- package/dist/chunks/{use-indicator-C1ovED2B.js → use-indicator-Dmlj4ucA.js} +3 -4
- package/dist/chunks/{use-indicator-C1ovED2B.js.map → use-indicator-Dmlj4ucA.js.map} +1 -1
- package/dist/chunks/{use-layout-width-CbSDbRb0.js → use-layout-width-D53VE1kJ.js} +3 -4
- package/dist/chunks/{use-layout-width-CbSDbRb0.js.map → use-layout-width-D53VE1kJ.js.map} +1 -1
- package/dist/chunks/{use-scroll-fade-uc8mWSDX.js → use-scroll-fade-CNLSc2jm.js} +3 -4
- package/dist/chunks/{use-scroll-fade-uc8mWSDX.js.map → use-scroll-fade-CNLSc2jm.js.map} +1 -1
- package/dist/chunks/{use-scroll-margin-atRtf0v_.js → use-scroll-margin-CpP0MUMb.js} +3 -4
- package/dist/chunks/{use-scroll-margin-atRtf0v_.js.map → use-scroll-margin-CpP0MUMb.js.map} +1 -1
- package/dist/chunks/{use-truncated-CW0hByYt.js → use-truncated-CVim8MP9.js} +3 -4
- package/dist/chunks/{use-truncated-CW0hByYt.js.map → use-truncated-CVim8MP9.js.map} +1 -1
- package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js +8 -0
- package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js.map +1 -0
- package/dist/chunks/{virtual-rows-CC_kc2PR.js → virtual-rows-ByQ87hP0.js} +5 -5
- package/dist/chunks/virtual-rows-ByQ87hP0.js.map +1 -0
- package/dist/chunks/{visually-hidden-CLTH1HKD.js → visually-hidden-BQ8nOlYI.js} +3 -4
- package/dist/chunks/{visually-hidden-CLTH1HKD.js.map → visually-hidden-BQ8nOlYI.js.map} +1 -1
- package/dist/chunks/{when-idle-Cy3pinqO.js → when-idle-DXKwyOLB.js} +1 -2
- package/dist/chunks/{when-idle-Cy3pinqO.js.map → when-idle-DXKwyOLB.js.map} +1 -1
- package/dist/chunks/{zh-CN-Dv7n5mAr.js → zh-CN-8ZWE79zI.js} +61 -3
- package/dist/chunks/zh-CN-8ZWE79zI.js.map +1 -0
- package/dist/components/app-frame.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/charts/bar.js +131 -133
- package/dist/components/charts/bar.js.map +1 -1
- package/dist/components/charts/donut.js +81 -81
- package/dist/components/charts/donut.js.map +1 -1
- package/dist/components/charts/heatmap.js +56 -57
- package/dist/components/charts/heatmap.js.map +1 -1
- package/dist/components/charts/sankey.js +54 -55
- package/dist/components/charts/sankey.js.map +1 -1
- package/dist/components/charts/sparkline.js +3 -4
- package/dist/components/charts/timeseries.js +1 -1
- package/dist/components/charts.js +5 -5
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-block.js +4 -4
- 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/legend.js +2 -3
- package/dist/components/dashboard/metric-tabs.js +47 -48
- package/dist/components/dashboard/metric-tabs.js.map +1 -1
- package/dist/components/dashboard/model-card.js +10 -11
- package/dist/components/dashboard/model-card.js.map +1 -1
- package/dist/components/dashboard/rank-list.js +11 -12
- package/dist/components/dashboard/rank-list.js.map +1 -1
- package/dist/components/dashboard.js +1 -1
- 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 +171 -170
- 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 +57 -58
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +9 -10
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +75 -76
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +3 -3
- package/dist/components/kbd.js +1 -1
- package/dist/components/key-value.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/logo.js +1 -1
- package/dist/components/markdown.js +2 -2
- package/dist/components/menu.js +3 -3
- 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 +1448 -694
- 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 +2 -2
- package/dist/components/visually-hidden.js +1 -1
- package/dist/format.js +275 -196
- package/dist/format.js.map +1 -1
- package/dist/i18n-locales.js +1 -2
- package/dist/i18n-provider.js +6 -7
- package/dist/i18n-provider.js.map +1 -1
- package/dist/i18n.js +5 -4
- package/dist/index.js +114 -113
- package/dist/kaeso.css +144 -32
- package/dist/styles.css +2 -2
- package/dist/theme.js +1 -1
- package/dist/types/components/avatar/avatar.d.ts +1 -1
- package/dist/types/components/banner/banner.d.ts +12 -12
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/charts/core.d.ts +37 -3
- package/dist/types/components/charts/domain.d.ts +0 -1
- package/dist/types/components/charts/donut.d.ts +3 -2
- package/dist/types/components/charts/marks.d.ts +1 -0
- package/dist/types/components/charts/tooltip.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/code/code.d.ts +2 -2
- package/dist/types/components/code-block/code-block.d.ts +2 -2
- package/dist/types/components/code-block/diff-view.d.ts +2 -2
- package/dist/types/components/code-block/json-view.d.ts +1 -1
- package/dist/types/components/code-block/words.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/command-list/command-list.d.ts +1 -1
- package/dist/types/components/copy-button/copy-button.d.ts +2 -2
- package/dist/types/components/dashboard/dashboard.d.ts +3 -3
- package/dist/types/components/dashboard/swap-value.d.ts +1 -0
- package/dist/types/components/data-table/data-table.d.ts +2 -1
- package/dist/types/components/empty/empty.d.ts +6 -6
- package/dist/types/components/figure/figure.d.ts +2 -2
- package/dist/types/components/filter-chip/docs.d.ts +1 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/heading/heading.d.ts +4 -4
- package/dist/types/components/input/input-group.d.ts +3 -24
- package/dist/types/components/input/sizes.d.ts +24 -0
- package/dist/types/components/kaeso/identity.d.ts +1 -0
- package/dist/types/components/key-value/key-value.d.ts +5 -5
- package/dist/types/components/label/label.d.ts +4 -4
- package/dist/types/components/link/link.d.ts +8 -4
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/components/menu/styles.d.ts +2 -2
- package/dist/types/components/meter/docs.d.ts +1 -0
- package/dist/types/components/meter/gauge.d.ts +1 -0
- package/dist/types/components/meter/meter.d.ts +5 -4
- package/dist/types/components/page-header/page-header.d.ts +1 -1
- package/dist/types/components/playground/decision-questions.d.ts +20 -0
- package/dist/types/components/playground/decision-response.d.ts +41 -0
- package/dist/types/components/playground/decision-types.d.ts +69 -0
- package/dist/types/components/playground/docs.d.ts +50 -0
- package/dist/types/components/playground/index.d.ts +9 -0
- package/dist/types/components/playground/model-picker.d.ts +2 -2
- package/dist/types/components/playground/probability-bar.d.ts +34 -0
- package/dist/types/components/playground/question-editor.d.ts +29 -0
- package/dist/types/components/playground/response-metrics.d.ts +3 -1
- package/dist/types/components/playground/response-view.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/separator/separator.d.ts +12 -0
- package/dist/types/components/sidebar/sidebar-menu.d.ts +1 -1
- package/dist/types/components/sidebar/sidebar.d.ts +4 -4
- package/dist/types/components/skeleton/skeleton.d.ts +3 -3
- package/dist/types/components/stat/stat.d.ts +6 -6
- package/dist/types/components/switch/switch.d.ts +9 -7
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components/text/text.d.ts +5 -5
- package/dist/types/components/theme-menu/docs.d.ts +1 -0
- package/dist/types/components/theme-menu/theme-menu.d.ts +1 -0
- package/dist/types/components/thumbnail/media-view.d.ts +3 -3
- package/dist/types/components/toc/toc.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/format/index.d.ts +50 -4
- package/dist/types/hooks/use-scrolled-under.d.ts +6 -0
- package/dist/types/hooks/use-utc-while-hydrating.d.ts +1 -0
- package/dist/types/i18n/context.d.ts +1 -0
- package/dist/types/i18n/formatters.d.ts +3 -0
- package/dist/types/i18n/index.d.ts +1 -0
- package/dist/types/icons/groups.d.ts +1 -1
- package/dist/types/icons/vocabulary.d.ts +5 -0
- package/dist/types/utils/arrow-focus.d.ts +4 -1
- package/dist/types/utils/cn.d.ts +9 -0
- package/dist/types/utils/row-control.d.ts +2 -0
- package/dist/utils.js +6 -6
- package/foundations/color.md +23 -24
- package/foundations/elevation.md +5 -4
- package/foundations/layout.md +1 -1
- package/foundations/motion.md +1 -1
- package/foundations/shape.md +4 -3
- package/foundations/typography.md +3 -2
- package/package.json +19 -19
- package/dist/chunks/app-frame-R1TWy5PY.js +0 -235
- package/dist/chunks/app-frame-R1TWy5PY.js.map +0 -1
- package/dist/chunks/arrow-focus-B0KdRFX8.js +0 -20
- package/dist/chunks/arrow-focus-B0KdRFX8.js.map +0 -1
- package/dist/chunks/avatar-DVrkoFEg.js.map +0 -1
- package/dist/chunks/banner-cJ89c-IR.js.map +0 -1
- package/dist/chunks/cn-CLpm819s.js.map +0 -1
- package/dist/chunks/code-block-7c_BOBlJ.js +0 -247
- package/dist/chunks/code-block-7c_BOBlJ.js.map +0 -1
- package/dist/chunks/code-block-BqFGa1-b.js.map +0 -1
- package/dist/chunks/collapsible-DmLyF8Ol.js.map +0 -1
- package/dist/chunks/combobox-B-xciC2c.js +0 -357
- package/dist/chunks/combobox-B-xciC2c.js.map +0 -1
- package/dist/chunks/command-list-GQ3y8on6.js.map +0 -1
- package/dist/chunks/command-palette-DEJDRW31.js.map +0 -1
- package/dist/chunks/context-BELWW79w.js +0 -20
- package/dist/chunks/context-BELWW79w.js.map +0 -1
- package/dist/chunks/copy-button-B67MEIu2.js.map +0 -1
- package/dist/chunks/core-CQUQdd7y.js +0 -414
- package/dist/chunks/core-CQUQdd7y.js.map +0 -1
- package/dist/chunks/dashboard-NqG9Wgga.js +0 -132
- package/dist/chunks/dashboard-NqG9Wgga.js.map +0 -1
- package/dist/chunks/data-table-ByhxIgY2.js +0 -625
- package/dist/chunks/data-table-ByhxIgY2.js.map +0 -1
- package/dist/chunks/date-picker-BmLb22jd.js +0 -346
- package/dist/chunks/date-picker-BmLb22jd.js.map +0 -1
- package/dist/chunks/de-V_lN_KKk.js.map +0 -1
- package/dist/chunks/dialog-C3CMOFxU.js +0 -611
- package/dist/chunks/dialog-C3CMOFxU.js.map +0 -1
- package/dist/chunks/display-options-BTFqLSJX.js.map +0 -1
- package/dist/chunks/domain-DtP6QrOA.js +0 -28
- package/dist/chunks/domain-DtP6QrOA.js.map +0 -1
- package/dist/chunks/empty-BSAHpS5Q.js +0 -38
- package/dist/chunks/empty-BSAHpS5Q.js.map +0 -1
- package/dist/chunks/field-ng87P1GV.js.map +0 -1
- package/dist/chunks/figure-_uZS1Y52.js.map +0 -1
- package/dist/chunks/filter-chip-CQO2lHeZ.js +0 -204
- package/dist/chunks/filter-chip-CQO2lHeZ.js.map +0 -1
- package/dist/chunks/flow-BGFXfXgJ.js.map +0 -1
- package/dist/chunks/icon-lgMMe3zk.js.map +0 -1
- package/dist/chunks/identity-DCghs4Wp.js.map +0 -1
- package/dist/chunks/input-QQR4KS9D.js.map +0 -1
- package/dist/chunks/input-group-A2mru3OM.js +0 -106
- package/dist/chunks/input-group-A2mru3OM.js.map +0 -1
- package/dist/chunks/json-view-DeHSFq-2.js.map +0 -1
- package/dist/chunks/kaeso-Bs1aLSTp.js.map +0 -1
- package/dist/chunks/key-value-DKW2q0zt.js.map +0 -1
- package/dist/chunks/link-CWYlF_dE.js +0 -54
- package/dist/chunks/link-CWYlF_dE.js.map +0 -1
- package/dist/chunks/list-CT7yIoA5.js +0 -565
- package/dist/chunks/list-CT7yIoA5.js.map +0 -1
- package/dist/chunks/markdown-BlIl3LuV.js.map +0 -1
- package/dist/chunks/menu-D3tUjkCM.js.map +0 -1
- package/dist/chunks/meter-wcH0LXva.js +0 -193
- package/dist/chunks/meter-wcH0LXva.js.map +0 -1
- package/dist/chunks/nav-sheet-CteQQuMz.js +0 -66
- package/dist/chunks/nav-sheet-CteQQuMz.js.map +0 -1
- package/dist/chunks/over-sheet-B8vzr_zU.js +0 -8
- package/dist/chunks/over-sheet-B8vzr_zU.js.map +0 -1
- package/dist/chunks/page-header-JWk6TQNN.js +0 -45
- package/dist/chunks/page-header-JWk6TQNN.js.map +0 -1
- package/dist/chunks/picker-popover-Bb-2Amjw.js.map +0 -1
- package/dist/chunks/range-popup-iBru5bpM.js.map +0 -1
- package/dist/chunks/rights-DDGgi823.js.map +0 -1
- package/dist/chunks/scroll-area-D-ykAChX.js.map +0 -1
- package/dist/chunks/section-BmR6_Wts.js +0 -99
- package/dist/chunks/section-BmR6_Wts.js.map +0 -1
- package/dist/chunks/segmented-BJJHHn0N.js.map +0 -1
- package/dist/chunks/select-Ch4u5oIg.js.map +0 -1
- package/dist/chunks/selects-text-R1lZHLKm.js.map +0 -1
- package/dist/chunks/separator-B2CT4qia.js.map +0 -1
- package/dist/chunks/settings-BnheJGYB.js +0 -83
- package/dist/chunks/settings-BnheJGYB.js.map +0 -1
- package/dist/chunks/sheet-K6qa1kRf.js +0 -119
- package/dist/chunks/sheet-K6qa1kRf.js.map +0 -1
- package/dist/chunks/sidebar-D7eSzz33.js +0 -664
- package/dist/chunks/sidebar-D7eSzz33.js.map +0 -1
- package/dist/chunks/sidebar-menu-f5NMgTdE.js.map +0 -1
- package/dist/chunks/skeleton-Bx-vRJdy.js.map +0 -1
- package/dist/chunks/stat-gR4hFqO8.js.map +0 -1
- package/dist/chunks/styles-8fn_bHRP.js +0 -21
- package/dist/chunks/styles-8fn_bHRP.js.map +0 -1
- package/dist/chunks/swap-value-DMEInk8V.js +0 -30
- package/dist/chunks/swap-value-DMEInk8V.js.map +0 -1
- package/dist/chunks/switch-CklvBjKu.js +0 -76
- package/dist/chunks/switch-CklvBjKu.js.map +0 -1
- package/dist/chunks/table-BTUUwlXD.js.map +0 -1
- package/dist/chunks/tabs-D0I6Jkd4.js.map +0 -1
- package/dist/chunks/tag-BGvgGsvr.js.map +0 -1
- package/dist/chunks/text-ChUk0Z46.js.map +0 -1
- package/dist/chunks/textarea-Bmj2Yk79.js +0 -171
- package/dist/chunks/textarea-Bmj2Yk79.js.map +0 -1
- package/dist/chunks/theme-menu-DvtuCuuN.js +0 -56
- package/dist/chunks/theme-menu-DvtuCuuN.js.map +0 -1
- package/dist/chunks/thumbnail-DadL1nPU.js +0 -71
- package/dist/chunks/thumbnail-DadL1nPU.js.map +0 -1
- package/dist/chunks/timeline-BQm5Q-Ul.js.map +0 -1
- package/dist/chunks/timeseries-B_Z3nNn6.js +0 -403
- package/dist/chunks/timeseries-B_Z3nNn6.js.map +0 -1
- package/dist/chunks/toast-CSlvlu-r.js.map +0 -1
- package/dist/chunks/toc-Cu2QJL5A.js.map +0 -1
- package/dist/chunks/toolbar-DE-R3sjA.js.map +0 -1
- package/dist/chunks/tooltip-C8ehtFju.js.map +0 -1
- package/dist/chunks/tooltip-SZvkUaq9.js +0 -202
- package/dist/chunks/tooltip-SZvkUaq9.js.map +0 -1
- package/dist/chunks/tooltip-root-CrLuOT4j.js.map +0 -1
- package/dist/chunks/virtual-rows-CC_kc2PR.js.map +0 -1
- package/dist/chunks/zh-CN-Dv7n5mAr.js.map +0 -1
package/AGENTS.md
CHANGED
|
@@ -80,7 +80,7 @@ export function Providers({ children }: { children: React.ReactNode }) {
|
|
|
80
80
|
5. **One primary button per view.** Everything else is secondary or ghost.
|
|
81
81
|
6. **No decorative cards and no decorative icons.** Content sits on the panel; empty states and dialogs carry words.
|
|
82
82
|
7. **Color only for data and status**, and a status always has a word.
|
|
83
|
-
8. **Use the formatters**
|
|
83
|
+
8. **Use the formatters** for money, tokens, durations and dates: `useFormatters()` in components, so they follow the nearest `LocaleProvider` on the server too; `@logicplanes/kaeso-ui/format` outside React. Money stays an exact decimal string.
|
|
84
84
|
9. **Use the icon vocabulary**: `icons.key`, `icons.model`, never an icon picked by look.
|
|
85
85
|
10. **Copy follows the voice**: sentence case, a verb first on buttons, no exclamation points or emoji, errors that say what to do next.
|
|
86
86
|
11. **Leave room.** Let the panel breathe: the components bring their own spacing, so don't pack screens with extra wrappers, borders or headings. Fewer elements, each one clear.
|
package/ai/component-guides.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @logicplanes/kaeso-ui component guides
|
|
2
2
|
|
|
3
|
-
Version 0.
|
|
3
|
+
Version 0.7.0. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
|
|
4
4
|
|
|
5
5
|
## AlertDialog
|
|
6
6
|
|
|
@@ -50,7 +50,7 @@ Confirms an irreversible action: names it, says the consequence, can ask for typ
|
|
|
50
50
|
|
|
51
51
|
## AppFrame
|
|
52
52
|
|
|
53
|
-
The console frame: the sidebar
|
|
53
|
+
The console frame: one square ground, the sidebar beside the content behind a hairline, the content scrolling by itself.
|
|
54
54
|
|
|
55
55
|
`import { AppFrame, NavSheet } from "@logicplanes/kaeso-ui";`
|
|
56
56
|
|
|
@@ -137,7 +137,7 @@ Free text with suggestions.
|
|
|
137
137
|
|
|
138
138
|
## Avatar
|
|
139
139
|
|
|
140
|
-
People round with initials or a picture; organizations and projects at radius
|
|
140
|
+
People round with initials or a picture; organizations and projects at radius 6; agents as a bot face on a square.
|
|
141
141
|
|
|
142
142
|
`import { Avatar } from "@logicplanes/kaeso-ui";`
|
|
143
143
|
|
|
@@ -228,7 +228,7 @@ function AgentAgents() {
|
|
|
228
228
|
|
|
229
229
|
## Badge
|
|
230
230
|
|
|
231
|
-
A small
|
|
231
|
+
A small label on a cut plate: 22px, 12/500. Words carry the meaning.
|
|
232
232
|
|
|
233
233
|
`import { Badge } from "@logicplanes/kaeso-ui";`
|
|
234
234
|
|
|
@@ -250,7 +250,7 @@ A small pill label: 22px, 12/500. Words carry the meaning.
|
|
|
250
250
|
|
|
251
251
|
## Banner
|
|
252
252
|
|
|
253
|
-
A standing notice about a state: a
|
|
253
|
+
A standing notice about a state: a flat plate, an icon in its tone's color, the text and actions; errors are toasts.
|
|
254
254
|
|
|
255
255
|
`import { Banner } from "@logicplanes/kaeso-ui";`
|
|
256
256
|
|
|
@@ -311,6 +311,7 @@ Grouped and stacked bars, slender with a 4px top radius and 2px gaps between sta
|
|
|
311
311
|
|
|
312
312
|
```tsx
|
|
313
313
|
function Stacked() {
|
|
314
|
+
const { formatTokens } = useFormatters();
|
|
314
315
|
const series = useSeries();
|
|
315
316
|
return (
|
|
316
317
|
<div className="w-full">
|
|
@@ -324,6 +325,7 @@ function Stacked() {
|
|
|
324
325
|
|
|
325
326
|
```tsx
|
|
326
327
|
function Grouped() {
|
|
328
|
+
const { formatTokens } = useFormatters();
|
|
327
329
|
const series = useSeries();
|
|
328
330
|
return (
|
|
329
331
|
<div className="w-full">
|
|
@@ -336,22 +338,28 @@ function Grouped() {
|
|
|
336
338
|
#### Ranking
|
|
337
339
|
|
|
338
340
|
```tsx
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
341
|
+
function Ranking() {
|
|
342
|
+
const spend = useSpend();
|
|
343
|
+
return (
|
|
344
|
+
<div className="w-full">
|
|
345
|
+
<BarChart
|
|
346
|
+
aria-label="Spend by key"
|
|
347
|
+
layout="horizontal"
|
|
348
|
+
height={200}
|
|
349
|
+
categories={["checkout-web", "checkout-worker", "ci-runner", "staging"]}
|
|
350
|
+
series={[{ id: "spend", label: "Spend", color: "var(--k-viz-1)", values: [84.2, 51.9, 12.4, 3.1] }]}
|
|
351
|
+
formatValue={spend}
|
|
352
|
+
/>
|
|
353
|
+
</div>
|
|
354
|
+
);
|
|
355
|
+
}
|
|
349
356
|
```
|
|
350
357
|
|
|
351
358
|
#### Months across a year
|
|
352
359
|
|
|
353
360
|
```tsx
|
|
354
361
|
function Months() {
|
|
362
|
+
const { formatTokens } = useFormatters();
|
|
355
363
|
const { months, monthAxis } = useAxes();
|
|
356
364
|
const monthTokens = useInputTokens(monthValues);
|
|
357
365
|
return (
|
|
@@ -1267,7 +1275,7 @@ function Overview() {
|
|
|
1267
1275
|
height={220}
|
|
1268
1276
|
timeZone="UTC"
|
|
1269
1277
|
series={[
|
|
1270
|
-
{ id: "now", label: "This period", points: points(NOW) },
|
|
1278
|
+
{ id: "now", label: "This period", color: "var(--k-viz-1)", points: points(NOW) },
|
|
1271
1279
|
{ id: "before", label: "Prior 30 days", color: "var(--k-text-tertiary)", dashed: true, points: points(BEFORE) },
|
|
1272
1280
|
]}
|
|
1273
1281
|
/>
|
|
@@ -1292,7 +1300,7 @@ function Overview() {
|
|
|
1292
1300
|
|
|
1293
1301
|
## DataTable
|
|
1294
1302
|
|
|
1295
|
-
The console's table: a 36px header, 40px rows
|
|
1303
|
+
The console's table: a 36px header on a strong rule, 40px rows on hairlines, numbers right, sorting, resizing, selection, virtualization.
|
|
1296
1304
|
|
|
1297
1305
|
`import { DataTable, col } from "@logicplanes/kaeso-ui";`
|
|
1298
1306
|
|
|
@@ -1461,9 +1469,71 @@ Presets first: Last 24 hours, 7 days, 30 days, This month, Last month, Custom. A
|
|
|
1461
1469
|
<TimeInput label="Daily report at" defaultValue="09:30" utc />
|
|
1462
1470
|
```
|
|
1463
1471
|
|
|
1472
|
+
## DecisionQuestions
|
|
1473
|
+
|
|
1474
|
+
The questions a decision model was asked, read only: each with its type and instructions, then what yes and no, each option or each level means.
|
|
1475
|
+
|
|
1476
|
+
`import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";`
|
|
1477
|
+
|
|
1478
|
+
### Accessibility
|
|
1479
|
+
|
|
1480
|
+
- The questions are an ordered list named Questions; each question is a list item named after the question.
|
|
1481
|
+
- What yes and no, each option or each level means is a description list, so each term is read with its meaning.
|
|
1482
|
+
- A missing description is said in words, never left blank.
|
|
1483
|
+
|
|
1484
|
+
### Examples
|
|
1485
|
+
|
|
1486
|
+
#### Questions
|
|
1487
|
+
|
|
1488
|
+
```tsx
|
|
1489
|
+
<div className="w-full max-w-480">
|
|
1490
|
+
<DecisionQuestions questions={triageQuestions} />
|
|
1491
|
+
</div>
|
|
1492
|
+
```
|
|
1493
|
+
|
|
1494
|
+
## DecisionResponse
|
|
1495
|
+
|
|
1496
|
+
A decision model's answers, one row per question: the answer, the confidence and a probability bar for every option or level; a box drawn on its image.
|
|
1497
|
+
|
|
1498
|
+
`import { DecisionResponse } from "@logicplanes/kaeso-ui/playground";`
|
|
1499
|
+
|
|
1500
|
+
### Accessibility
|
|
1501
|
+
|
|
1502
|
+
- The response is an article named after its model and busy while the answers are on their way; screen readers hear when they arrive.
|
|
1503
|
+
- Each question is a list item named after the question; every probability is a meter whose value is read as text.
|
|
1504
|
+
- A box's edges are numbers under the image as well as a line on it, so the answer doesn't depend on seeing the picture.
|
|
1505
|
+
- Show all is a real button that says how many options it reveals and whether they are shown.
|
|
1506
|
+
|
|
1507
|
+
### Examples
|
|
1508
|
+
|
|
1509
|
+
#### Answers
|
|
1510
|
+
|
|
1511
|
+
```tsx
|
|
1512
|
+
<div className="w-full max-w-480">
|
|
1513
|
+
<DecisionResponse
|
|
1514
|
+
questions={triageQuestions}
|
|
1515
|
+
answers={triageAnswers}
|
|
1516
|
+
image={receipt}
|
|
1517
|
+
footer={metrics}
|
|
1518
|
+
onRetry={() => undefined}
|
|
1519
|
+
aria-label="GPT-6 Luna response"
|
|
1520
|
+
/>
|
|
1521
|
+
</div>
|
|
1522
|
+
```
|
|
1523
|
+
|
|
1524
|
+
#### Waiting
|
|
1525
|
+
|
|
1526
|
+
Every row holds its room until the answers arrive.
|
|
1527
|
+
|
|
1528
|
+
```tsx
|
|
1529
|
+
<div className="w-full max-w-480">
|
|
1530
|
+
<DecisionResponse questions={textQuestions} status="pending" footer={<ResponseMetrics live />} aria-label="GPT-6 Luna response" />
|
|
1531
|
+
</div>
|
|
1532
|
+
```
|
|
1533
|
+
|
|
1464
1534
|
## Dialog
|
|
1465
1535
|
|
|
1466
|
-
A modal dialog: 440, 560 or 720 wide, radius
|
|
1536
|
+
A modal dialog: 440, 560 or 720 wide, radius 14; title, description, body, actions. Enter in a field and ⌘Enter submit. Longer forms use StepDialog: one question per step.
|
|
1467
1537
|
|
|
1468
1538
|
`import { Dialog } from "@logicplanes/kaeso-ui";`
|
|
1469
1539
|
|
|
@@ -1828,7 +1898,10 @@ A ring with rounded caps and 2px gaps, the total in the center; ShareBar is the
|
|
|
1828
1898
|
#### Spend by model
|
|
1829
1899
|
|
|
1830
1900
|
```tsx
|
|
1831
|
-
|
|
1901
|
+
function DonutDemo() {
|
|
1902
|
+
const money = useMoney();
|
|
1903
|
+
return <Donut aria-label="Spend by model" slices={slices} formatValue={money} totalLabel="Total spend" />;
|
|
1904
|
+
}
|
|
1832
1905
|
```
|
|
1833
1906
|
|
|
1834
1907
|
#### ShareBar
|
|
@@ -3007,6 +3080,9 @@ Links look like links: text color with a grey underline that takes the text colo
|
|
|
3007
3080
|
<Link href="#" variant="standalone">
|
|
3008
3081
|
Team overview ›
|
|
3009
3082
|
</Link>
|
|
3083
|
+
<Link href="#" variant="action">
|
|
3084
|
+
Forgot your password?
|
|
3085
|
+
</Link>
|
|
3010
3086
|
</div>
|
|
3011
3087
|
```
|
|
3012
3088
|
|
|
@@ -3338,7 +3414,7 @@ An image, an audio clip, a video or a file from a request, with a line that name
|
|
|
3338
3414
|
|
|
3339
3415
|
## Menu
|
|
3340
3416
|
|
|
3341
|
-
A
|
|
3417
|
+
A dropdown on a cut plate: radius 10, 34px rows, icons that wake on highlight.
|
|
3342
3418
|
|
|
3343
3419
|
`import { Menu } from "@logicplanes/kaeso-ui";`
|
|
3344
3420
|
|
|
@@ -3451,7 +3527,7 @@ A rounded dropdown: 16px radius, 34px rows, icons that wake on highlight.
|
|
|
3451
3527
|
|
|
3452
3528
|
## Meter
|
|
3453
3529
|
|
|
3454
|
-
A limit or quota: label and value, a 6px
|
|
3530
|
+
A limit or quota: label and value, a 6px track cut square, threshold ticks and a caption. Progress for work.
|
|
3455
3531
|
|
|
3456
3532
|
`import { Meter, Progress } from "@logicplanes/kaeso-ui";`
|
|
3457
3533
|
|
|
@@ -3815,6 +3891,42 @@ A floating panel next to its trigger, opened by a click and closed with Escape.
|
|
|
3815
3891
|
</Popover>
|
|
3816
3892
|
```
|
|
3817
3893
|
|
|
3894
|
+
## ProbabilityBar
|
|
3895
|
+
|
|
3896
|
+
One probability as a bar beside its label and its value in percent, the chosen one marked; a value the provider left out reads “Not given”.
|
|
3897
|
+
|
|
3898
|
+
`import { ProbabilityBar } from "@logicplanes/kaeso-ui/playground";`
|
|
3899
|
+
|
|
3900
|
+
### Accessibility
|
|
3901
|
+
|
|
3902
|
+
- Each bar is a meter named after its label; its value is read as text, such as “88%, chosen”.
|
|
3903
|
+
- The chosen bar is marked by weight and in words, not by colour alone.
|
|
3904
|
+
- A probability left out has no meter: its label and “Not given” read as plain text.
|
|
3905
|
+
- The bar grows only without reduced motion, and a waiting bar pulses only without it.
|
|
3906
|
+
|
|
3907
|
+
### Examples
|
|
3908
|
+
|
|
3909
|
+
#### A choice's options
|
|
3910
|
+
|
|
3911
|
+
```tsx
|
|
3912
|
+
<div className="flex w-full max-w-400 flex-col gap-4">
|
|
3913
|
+
<ProbabilityBar label="finance" value={0.8812} highlight />
|
|
3914
|
+
<ProbabilityBar label="legal" value={0.0041} />
|
|
3915
|
+
<ProbabilityBar label="support" value={0.1105} />
|
|
3916
|
+
<ProbabilityBar label="sales" value={null} />
|
|
3917
|
+
</div>
|
|
3918
|
+
```
|
|
3919
|
+
|
|
3920
|
+
#### One probability
|
|
3921
|
+
|
|
3922
|
+
The label and the value above the bar.
|
|
3923
|
+
|
|
3924
|
+
```tsx
|
|
3925
|
+
<div className="w-full max-w-320">
|
|
3926
|
+
<ProbabilityBar layout="stacked" label="The document is an invoice" value={0.9731} />
|
|
3927
|
+
</div>
|
|
3928
|
+
```
|
|
3929
|
+
|
|
3818
3930
|
## ProviderPicker
|
|
3819
3931
|
|
|
3820
3932
|
Choosing a provider from any number of them: connected ones first with their key counts, then the rest.
|
|
@@ -3912,6 +4024,55 @@ A scannable code drawn as one SVG path: dark modules on white in both themes, wi
|
|
|
3912
4024
|
<QRCode value={uri} label="QR code to add Kaeso to an authenticator app" />
|
|
3913
4025
|
```
|
|
3914
4026
|
|
|
4027
|
+
## QuestionEditor
|
|
4028
|
+
|
|
4029
|
+
Typed questions for a decision model: yes/no, a choice of options, a score on levels, and a box for models that draw one, each with a name, instructions and what its answers mean.
|
|
4030
|
+
|
|
4031
|
+
`import { QuestionEditor } from "@logicplanes/kaeso-ui/playground";`
|
|
4032
|
+
|
|
4033
|
+
### Keyboard
|
|
4034
|
+
|
|
4035
|
+
| Key | Action |
|
|
4036
|
+
|---|---|
|
|
4037
|
+
| Tab | Moves through a question's type, name, instructions, then its options or levels |
|
|
4038
|
+
| Enter | In an option or a level, adds the next one below it and moves there |
|
|
4039
|
+
|
|
4040
|
+
### Accessibility
|
|
4041
|
+
|
|
4042
|
+
- Each question is a group named after its name, or “Question 1” until it has one; every field has a visible label or a name such as “Option 2”.
|
|
4043
|
+
- Remove buttons are named after what they remove, and focus moves to a neighbour after a removal and into every new question, option or level.
|
|
4044
|
+
- At a limit, Add turns off and a line beside it says what the limit is.
|
|
4045
|
+
|
|
4046
|
+
### Examples
|
|
4047
|
+
|
|
4048
|
+
#### Questions
|
|
4049
|
+
|
|
4050
|
+
```tsx
|
|
4051
|
+
function Editor() {
|
|
4052
|
+
const [value, setValue] = useState<DecisionQuestion[]>(triageQuestions.slice(0, 2));
|
|
4053
|
+
return (
|
|
4054
|
+
<div className="w-full max-w-480">
|
|
4055
|
+
<QuestionEditor value={value} onValueChange={setValue} />
|
|
4056
|
+
</div>
|
|
4057
|
+
);
|
|
4058
|
+
}
|
|
4059
|
+
```
|
|
4060
|
+
|
|
4061
|
+
#### A model that draws boxes
|
|
4062
|
+
|
|
4063
|
+
Box joins the types.
|
|
4064
|
+
|
|
4065
|
+
```tsx
|
|
4066
|
+
function Box() {
|
|
4067
|
+
const [value, setValue] = useState<DecisionQuestion[]>(triageQuestions.slice(3));
|
|
4068
|
+
return (
|
|
4069
|
+
<div className="w-full max-w-480">
|
|
4070
|
+
<QuestionEditor value={value} onValueChange={setValue} allowBox />
|
|
4071
|
+
</div>
|
|
4072
|
+
);
|
|
4073
|
+
}
|
|
4074
|
+
```
|
|
4075
|
+
|
|
3915
4076
|
## Radio
|
|
3916
4077
|
|
|
3917
4078
|
One of a few choices: an ink donut around a panel center; cards (`variant="cards"`) for choices with descriptions.
|
|
@@ -4134,7 +4295,15 @@ function Stream() {
|
|
|
4134
4295
|
/>
|
|
4135
4296
|
</div>
|
|
4136
4297
|
<div className="flex flex-col gap-12">
|
|
4137
|
-
<UserMessage
|
|
4298
|
+
<UserMessage
|
|
4299
|
+
actions={
|
|
4300
|
+
<Button size="sm" variant="quiet" leadingIcon={icons.edit}>
|
|
4301
|
+
Edit
|
|
4302
|
+
</Button>
|
|
4303
|
+
}
|
|
4304
|
+
>
|
|
4305
|
+
Shorter subject line, please.
|
|
4306
|
+
</UserMessage>
|
|
4138
4307
|
<ResponseView aria-label="Claude Sonnet 4.5 response" status="streaming" text={'```json\n{\n "subject": "Order #4471 is'} />
|
|
4139
4308
|
</div>
|
|
4140
4309
|
</Thread>
|
|
@@ -5120,14 +5289,14 @@ A reference table of five or more columns puts 8px between them, so it fits the
|
|
|
5120
5289
|
|
|
5121
5290
|
## TableOfContents
|
|
5122
5291
|
|
|
5123
|
-
“On this page”: the heading in view in text color with
|
|
5292
|
+
“On this page”: one row per heading between hairlines; the heading in view in text color with an ink line above it, the others faded.
|
|
5124
5293
|
|
|
5125
5294
|
`import { TableOfContents } from "@logicplanes/kaeso-ui";`
|
|
5126
5295
|
|
|
5127
5296
|
### Accessibility
|
|
5128
5297
|
|
|
5129
5298
|
- A navigation landmark named by its title; the heading in view has aria-current=location.
|
|
5130
|
-
- Links are 32px tall, 44px with a coarse pointer;
|
|
5299
|
+
- Links are 32px tall, 44px with a coarse pointer; subheadings start 12px in on the start side, so they move to the right in right-to-left pages.
|
|
5131
5300
|
|
|
5132
5301
|
### Examples
|
|
5133
5302
|
|
|
@@ -5424,6 +5593,14 @@ A circle that opens system, light or dark, stored as `kaeso:theme`; its icon sho
|
|
|
5424
5593
|
</ThemeProvider>
|
|
5425
5594
|
```
|
|
5426
5595
|
|
|
5596
|
+
#### Segmented
|
|
5597
|
+
|
|
5598
|
+
```tsx
|
|
5599
|
+
<ThemeProvider>
|
|
5600
|
+
<ThemeMenu display="segmented" />
|
|
5601
|
+
</ThemeProvider>
|
|
5602
|
+
```
|
|
5603
|
+
|
|
5427
5604
|
## Thumbnail
|
|
5428
5605
|
|
|
5429
5606
|
A square image someone sent, such as a photo in a request's conversation, cropped to fill a well.
|
|
@@ -5494,32 +5671,47 @@ Spend over time: y labels on the right, a dashed grid, smart time ticks, a cross
|
|
|
5494
5671
|
#### Lines
|
|
5495
5672
|
|
|
5496
5673
|
```tsx
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5674
|
+
function Lines() {
|
|
5675
|
+
const money = useMoney();
|
|
5676
|
+
return (
|
|
5677
|
+
<div className="w-full">
|
|
5678
|
+
<TimeseriesChart aria-label="Spend per model, last 30 days" series={series} formatValue={money} />
|
|
5679
|
+
</div>
|
|
5680
|
+
);
|
|
5681
|
+
}
|
|
5500
5682
|
```
|
|
5501
5683
|
|
|
5502
5684
|
#### Area with a budget line
|
|
5503
5685
|
|
|
5504
5686
|
```tsx
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5687
|
+
function Area() {
|
|
5688
|
+
const money = useMoney();
|
|
5689
|
+
return (
|
|
5690
|
+
<div className="w-full">
|
|
5691
|
+
<TimeseriesChart
|
|
5692
|
+
aria-label="Spend, last 30 days"
|
|
5693
|
+
kind="area"
|
|
5694
|
+
series={series.slice(0, 1)}
|
|
5695
|
+
formatValue={money}
|
|
5696
|
+
threshold={{ value: 9, label: "Daily budget $9.00" }}
|
|
5697
|
+
hideLegend
|
|
5698
|
+
/>
|
|
5699
|
+
</div>
|
|
5700
|
+
);
|
|
5701
|
+
}
|
|
5515
5702
|
```
|
|
5516
5703
|
|
|
5517
5704
|
#### Stacked
|
|
5518
5705
|
|
|
5519
5706
|
```tsx
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5707
|
+
function Stacked() {
|
|
5708
|
+
const money = useMoney();
|
|
5709
|
+
return (
|
|
5710
|
+
<div className="w-full">
|
|
5711
|
+
<TimeseriesChart aria-label="Spend by model, stacked" kind="stacked" series={series} formatValue={money} />
|
|
5712
|
+
</div>
|
|
5713
|
+
);
|
|
5714
|
+
}
|
|
5523
5715
|
```
|
|
5524
5716
|
|
|
5525
5717
|
## Toast
|