@logicplanes/kaeso-ui 0.6.0 → 0.7.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@logicplanes/kaeso-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-rc.1",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"entry": "app-frame",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"components": [
|
|
10
10
|
{
|
|
11
11
|
"name": "AppFrame",
|
|
12
|
-
"description": "The page frame of an app: a skip link to the content, the sidebar
|
|
12
|
+
"description": "The page frame of an app: a skip link to the content, the sidebar and the content panel, one square ground divided by a hairline, and on phones a bar with a menu button. `AppFrame.Body` draws a hairline at the foot of the band right above it (the page header or a toolbar) while its content is scrolled under that band. The navigation sheet's code loads once the page is idle or on the first tap; after a failed download the next tap or hover loads it again from a fresh address. Chromium and WebKit keep a failed download of a chunk the sheet shares with the rest of the app until the page is reloaded. The sheet closes when a link in it or in a switcher's menu is followed, when a switcher's item is chosen, and when a control marked `data-leaves-navigation` is pressed, such as a search button that opens a palette over the page.",
|
|
13
13
|
"props": [
|
|
14
14
|
{
|
|
15
15
|
"name": "children",
|
|
16
16
|
"type": "ReactNode",
|
|
17
17
|
"required": true,
|
|
18
18
|
"default": null,
|
|
19
|
-
"description": "The page,
|
|
19
|
+
"description": "The page, in the content panel."
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": "sidebar",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"type": "\"person\" | \"agent\" | \"org\"",
|
|
140
140
|
"required": false,
|
|
141
141
|
"default": "person",
|
|
142
|
-
"description": "A person (round), an organization (
|
|
142
|
+
"description": "A person (round), an organization (a cut square), or an agent (a bot face on a cut square)."
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "size",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
},
|
|
214
214
|
"kind": {
|
|
215
215
|
"person": "People are round",
|
|
216
|
-
"org": "Organizations and projects: radius
|
|
216
|
+
"org": "Organizations and projects: a cut square, radius 6 (4 at 24px and under)",
|
|
217
217
|
"agent": "An agent acting for a person: one bot face on a square, the same for every agent"
|
|
218
218
|
}
|
|
219
219
|
},
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"components": [
|
|
232
232
|
{
|
|
233
233
|
"name": "Badge",
|
|
234
|
-
"description": "A small read-only
|
|
234
|
+
"description": "A small read-only label on a cut plate: 22px, 12/500, radius 4, set apart from a Tag's pill (24 or 28px) so a mark never looks like a control. Words carry meaning; color supports them, with no dot beside the word. A label longer than its room ends in an ellipsis and shows in full in a tooltip. `ink` is for at most one badge on a view.",
|
|
235
235
|
"props": [
|
|
236
236
|
{
|
|
237
237
|
"name": "children",
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
"components": [
|
|
278
278
|
{
|
|
279
279
|
"name": "Banner",
|
|
280
|
-
"description": "An inline notice
|
|
280
|
+
"description": "An inline notice on a flat plate, the same for every tone: the tone's color only in its icon, a mark before the words (none for a neutral notice, so it never looks like information), an optional title with the text under it in the secondary color, actions at the end. Inline, the icon sits 12px in and the banner is at least 56px tall, so banners with and without actions stack evenly; full width, the icon sits on the 24px gutter and the text 24px further in. The banner is its own size container. From 480px inside its padding (the `banner` container size, `@banner:`) the actions sit on the right, centered on the title and text together, and the icon stays on the first line. Narrower (a phone) the actions go under the text, starting where the text starts: their 24px inset is the icon's 16px column and its 8px gap, which in the row is the gap before them.",
|
|
281
281
|
"props": [
|
|
282
282
|
{
|
|
283
283
|
"name": "actions",
|
|
@@ -343,15 +343,15 @@
|
|
|
343
343
|
"BANNER": {
|
|
344
344
|
"axes": {
|
|
345
345
|
"tone": {
|
|
346
|
-
"neutral": "A neutral notice (default)",
|
|
347
|
-
"info": "Information",
|
|
348
|
-
"success": "Something worked",
|
|
349
|
-
"warning": "Attention needed soon",
|
|
350
|
-
"danger": "Something failed or will fail"
|
|
346
|
+
"neutral": "A neutral notice, without an icon (default)",
|
|
347
|
+
"info": "Information: a blue mark before the words",
|
|
348
|
+
"success": "Something worked: a green mark before the words",
|
|
349
|
+
"warning": "Attention needed soon: an amber mark before the words",
|
|
350
|
+
"danger": "Something failed or will fail: a red mark before the words"
|
|
351
351
|
},
|
|
352
352
|
"layout": {
|
|
353
|
-
"inline": "Inside content: radius
|
|
354
|
-
"full": "Across the top of the panel for global notices: its icon on the 24px gutter"
|
|
353
|
+
"inline": "Inside content: a cut plate, radius 6, its icon 12px in, at least 56px tall with or without actions (default)",
|
|
354
|
+
"full": "Across the top of the panel for global notices: its icon on the 24px gutter, a hairline at its foot"
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
357
|
"defaults": {
|
|
@@ -532,8 +532,8 @@
|
|
|
532
532
|
"BUTTON": {
|
|
533
533
|
"axes": {
|
|
534
534
|
"variant": {
|
|
535
|
-
"primary": "
|
|
536
|
-
"secondary": "Raised, ring and
|
|
535
|
+
"primary": "A flat ink fill. Exactly one per view.",
|
|
536
|
+
"secondary": "Raised, with a hairline ring and no shadow. The default.",
|
|
537
537
|
"ghost": "Transparent until hovered: toolbars, rows, quiet actions",
|
|
538
538
|
"quiet": "A ghost in secondary text that darkens on hover: actions inside a field (clear, reveal, copy)",
|
|
539
539
|
"soft": "A fill without a ring: the active pill tab",
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
"name": "Donut",
|
|
857
|
-
"description": "A ring of shares with the total in the center and a legend beside it, or under it when narrow. Use it for a few parts of one whole.",
|
|
857
|
+
"description": "A ring of shares with the total in the center and a legend beside it, or under it when narrow, its rows divided by hairlines. Use it for a few parts of one whole.",
|
|
858
858
|
"props": [
|
|
859
859
|
{
|
|
860
860
|
"name": "aria-label",
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
"name": "formatValue",
|
|
903
903
|
"type": "((v: number) => string)",
|
|
904
904
|
"required": false,
|
|
905
|
-
"default":
|
|
905
|
+
"default": null,
|
|
906
906
|
"description": "Formats the total in the center and the values in the legend. Defaults to `formatNumber`."
|
|
907
907
|
},
|
|
908
908
|
{
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
"name": "formatValue",
|
|
994
994
|
"type": "((v: number) => string)",
|
|
995
995
|
"required": false,
|
|
996
|
-
"default":
|
|
996
|
+
"default": null,
|
|
997
997
|
"description": "Formats a cell's value for its tooltip, the table and screen readers. Defaults to `formatNumber`."
|
|
998
998
|
}
|
|
999
999
|
],
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
"name": "formatValue",
|
|
1057
1057
|
"type": "((v: number) => string)",
|
|
1058
1058
|
"required": false,
|
|
1059
|
-
"default":
|
|
1059
|
+
"default": null,
|
|
1060
1060
|
"description": "Formats the values beside the nodes and in the data table. Defaults to `formatNumber`."
|
|
1061
1061
|
},
|
|
1062
1062
|
{
|
|
@@ -1112,7 +1112,7 @@
|
|
|
1112
1112
|
"name": "formatValue",
|
|
1113
1113
|
"type": "((v: number) => string)",
|
|
1114
1114
|
"required": false,
|
|
1115
|
-
"default":
|
|
1115
|
+
"default": null,
|
|
1116
1116
|
"description": "Formats each segment's value for screen readers, beside its share. Defaults to `formatNumber`."
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
@@ -1359,7 +1359,7 @@
|
|
|
1359
1359
|
"CHARTS": {
|
|
1360
1360
|
"axes": {
|
|
1361
1361
|
"chrome": {
|
|
1362
|
-
"default": "
|
|
1362
|
+
"default": "Solid 1px hairline grid, so only data is ever dashed; tertiary 12px labels, a strong baseline; no frame"
|
|
1363
1363
|
}
|
|
1364
1364
|
},
|
|
1365
1365
|
"defaults": {
|
|
@@ -1667,7 +1667,7 @@
|
|
|
1667
1667
|
"CHECKBOX": {
|
|
1668
1668
|
"axes": {
|
|
1669
1669
|
"size": {
|
|
1670
|
-
"md": "18px, radius
|
|
1670
|
+
"md": "18px, radius 4 (default)"
|
|
1671
1671
|
},
|
|
1672
1672
|
"variant": {
|
|
1673
1673
|
"default": "The box with its label beside it (default)",
|
|
@@ -1699,7 +1699,7 @@
|
|
|
1699
1699
|
"components": [
|
|
1700
1700
|
{
|
|
1701
1701
|
"name": "Code",
|
|
1702
|
-
"description": "Inline code: Geist Mono 13 on fill-1.",
|
|
1702
|
+
"description": "Inline code: Geist Mono 13 on a fill-1 cut plate (radius 4).",
|
|
1703
1703
|
"props": [
|
|
1704
1704
|
{
|
|
1705
1705
|
"name": "flow",
|
|
@@ -1713,7 +1713,7 @@
|
|
|
1713
1713
|
"type": "\"auto\" | \"pill\" | \"rounded\"",
|
|
1714
1714
|
"required": false,
|
|
1715
1715
|
"default": "auto",
|
|
1716
|
-
"description": "`auto` (default) and `rounded` keep radius
|
|
1716
|
+
"description": "`auto` (default) and `rounded` keep radius 4, so code in a sentence never mixes shapes; pass `pill` for one word standing alone, such as a model name in a table cell."
|
|
1717
1717
|
}
|
|
1718
1718
|
],
|
|
1719
1719
|
"file": "src/components/code/code.tsx"
|
|
@@ -1723,9 +1723,9 @@
|
|
|
1723
1723
|
"CODE": {
|
|
1724
1724
|
"axes": {
|
|
1725
1725
|
"shape": {
|
|
1726
|
-
"auto": "
|
|
1726
|
+
"auto": "A cut plate, radius 4, like every inline code in running text (default)",
|
|
1727
1727
|
"pill": "Always a pill",
|
|
1728
|
-
"rounded": "Always radius
|
|
1728
|
+
"rounded": "Always a cut plate, radius 4"
|
|
1729
1729
|
},
|
|
1730
1730
|
"flow": {
|
|
1731
1731
|
"box": "One box: it moves to the next line whole and wraps inside itself (default)",
|
|
@@ -1747,7 +1747,7 @@
|
|
|
1747
1747
|
"components": [
|
|
1748
1748
|
{
|
|
1749
1749
|
"name": "CodeBlock",
|
|
1750
|
-
"description": "Highlighted code on a
|
|
1750
|
+
"description": "Highlighted code on a flat plate (cut corners, no ring) in Kaeso's syntax palette, in every common language, each loaded the first time a block shows it: a quiet title bar under a hairline holds the title, the tabs and the copy circle, which otherwise shows on hover beside the first line; line numbers; collapse with a fade at the cut and a toggle hung from the code's edge. Long lines scroll sideways inside 16px of padding at both ends, and the code fades out at an edge with more to scroll to.",
|
|
1751
1751
|
"props": [
|
|
1752
1752
|
{
|
|
1753
1753
|
"name": "className",
|
|
@@ -1810,7 +1810,7 @@
|
|
|
1810
1810
|
"type": "\"well\" | \"plain\"",
|
|
1811
1811
|
"required": false,
|
|
1812
1812
|
"default": "well",
|
|
1813
|
-
"description": "On a
|
|
1813
|
+
"description": "On a flat plate (`well`) or on the panel itself (`plain`), such as inside a plate of your own."
|
|
1814
1814
|
},
|
|
1815
1815
|
{
|
|
1816
1816
|
"name": "tab",
|
|
@@ -1824,7 +1824,7 @@
|
|
|
1824
1824
|
"type": "CodeTab[]",
|
|
1825
1825
|
"required": false,
|
|
1826
1826
|
"default": null,
|
|
1827
|
-
"description": "Several versions: \"Python · Node · curl\", shown as pill tabs."
|
|
1827
|
+
"description": "Several versions: \"Python · Node · curl\", shown as pill tabs in the title bar, the chosen one raised on the plate as in a segmented control."
|
|
1828
1828
|
},
|
|
1829
1829
|
{
|
|
1830
1830
|
"name": "title",
|
|
@@ -1838,7 +1838,7 @@
|
|
|
1838
1838
|
"type": "boolean | \"phone\"",
|
|
1839
1839
|
"required": false,
|
|
1840
1840
|
"default": "false",
|
|
1841
|
-
"description": "Long lines wrap instead of scrolling sideways: code in a narrow column (a model's response). `phone` wraps them only below 640px, with wrapped parts indented, and scrolls from there up."
|
|
1841
|
+
"description": "Long lines wrap instead of scrolling sideways: code in a narrow column (a model's response). They break at spaces, never inside a flag or a name unless it is wider than the line. `phone` wraps them only below 640px, with wrapped parts indented, and scrolls from there up."
|
|
1842
1842
|
}
|
|
1843
1843
|
],
|
|
1844
1844
|
"file": "src/components/code-block/code-block.tsx"
|
|
@@ -1901,7 +1901,7 @@
|
|
|
1901
1901
|
"type": "\"well\" | \"plain\"",
|
|
1902
1902
|
"required": false,
|
|
1903
1903
|
"default": "well",
|
|
1904
|
-
"description": "On a
|
|
1904
|
+
"description": "On a flat plate (`well`) or on the panel itself (`plain`)."
|
|
1905
1905
|
},
|
|
1906
1906
|
{
|
|
1907
1907
|
"name": "title",
|
|
@@ -1957,7 +1957,7 @@
|
|
|
1957
1957
|
"type": "\"well\" | \"plain\"",
|
|
1958
1958
|
"required": false,
|
|
1959
1959
|
"default": "well",
|
|
1960
|
-
"description": "On a
|
|
1960
|
+
"description": "On a flat plate (`well`) or on the panel itself (`plain`)."
|
|
1961
1961
|
}
|
|
1962
1962
|
],
|
|
1963
1963
|
"file": "src/components/code-block/json-view.tsx"
|
|
@@ -1967,8 +1967,8 @@
|
|
|
1967
1967
|
"CODE_BLOCK": {
|
|
1968
1968
|
"axes": {
|
|
1969
1969
|
"surface": {
|
|
1970
|
-
"well": "A
|
|
1971
|
-
"plain": "No surface, inside another
|
|
1970
|
+
"well": "A flat plate: cut corners (radius 6), fill, no ring (default)",
|
|
1971
|
+
"plain": "No surface, inside another plate"
|
|
1972
1972
|
}
|
|
1973
1973
|
},
|
|
1974
1974
|
"defaults": {
|
|
@@ -1978,8 +1978,8 @@
|
|
|
1978
1978
|
"DIFF_VIEW": {
|
|
1979
1979
|
"axes": {
|
|
1980
1980
|
"surface": {
|
|
1981
|
-
"well": "A
|
|
1982
|
-
"plain": "No surface, inside another
|
|
1981
|
+
"well": "A flat plate: cut corners (radius 6), fill, no ring (default)",
|
|
1982
|
+
"plain": "No surface, inside another plate"
|
|
1983
1983
|
}
|
|
1984
1984
|
},
|
|
1985
1985
|
"defaults": {
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
"JSON_VIEW": {
|
|
1990
1990
|
"axes": {
|
|
1991
1991
|
"surface": {
|
|
1992
|
-
"well": "On a
|
|
1992
|
+
"well": "On a flat plate: cut corners, fill, no ring (default)",
|
|
1993
1993
|
"plain": "No surface"
|
|
1994
1994
|
}
|
|
1995
1995
|
},
|
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
"display": {
|
|
2632
2632
|
"icon": "A circle that copies a value (default)",
|
|
2633
2633
|
"inline": "Mono text in a sentence or a row that copies itself on click",
|
|
2634
|
-
"field": "A read-only pill field: the value in mono and a copy circle inside"
|
|
2634
|
+
"field": "A read-only pill field, filled and ringed like a read-only input: the value in mono and a copy circle inside"
|
|
2635
2635
|
},
|
|
2636
2636
|
"variant": {
|
|
2637
2637
|
"ghost": "Inside fields and wells (default)",
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
"components": [
|
|
2662
2662
|
{
|
|
2663
2663
|
"name": "Announcement",
|
|
2664
|
-
"description": "One piece of news across the top of a home page:
|
|
2664
|
+
"description": "One piece of news across the top of a home page: a title set large and tight, what kind of news it is under it (never above it: no eyebrows), a line and an action beside its artwork, such as a new release with a flush `ReleaseArt`. The artwork leaves on narrow screens.",
|
|
2665
2665
|
"props": [
|
|
2666
2666
|
{
|
|
2667
2667
|
"name": "title",
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
"type": "ReactNode",
|
|
2704
2704
|
"required": false,
|
|
2705
2705
|
"default": null,
|
|
2706
|
-
"description": "What kind of news: \"New release\"."
|
|
2706
|
+
"description": "What kind of news: \"New release\". It stands under the title as a small label, never above it."
|
|
2707
2707
|
}
|
|
2708
2708
|
],
|
|
2709
2709
|
"file": "src/components/dashboard/model-card.tsx"
|
|
@@ -2731,7 +2731,7 @@
|
|
|
2731
2731
|
},
|
|
2732
2732
|
{
|
|
2733
2733
|
"name": "Dashboard",
|
|
2734
|
-
"description": "An overview page's numbers, charts and lists on one raised surface split by hairlines,
|
|
2734
|
+
"description": "An overview page's numbers, charts and lists on one raised surface split by hairlines, its numbers set medium, tight and tabular. As many columns from 1024px as `columns` says (twelve by default), one below it; each `DashboardCell` takes its span through `className` (`lg:col-span-2`). Put `MetricTabs` first, so the totals lead and pick what the chart beneath them shows.",
|
|
2735
2735
|
"props": [
|
|
2736
2736
|
{
|
|
2737
2737
|
"name": "children",
|
|
@@ -3011,7 +3011,7 @@
|
|
|
3011
3011
|
"type": "((id: string) => void)",
|
|
3012
3012
|
"required": false,
|
|
3013
3013
|
"default": null,
|
|
3014
|
-
"description": "Called with a row's id when it is chosen; without it, rows are plain text."
|
|
3014
|
+
"description": "Called with a row's id when it is chosen; without it, rows are plain text. Rows that open something grow to 44px on a touch screen."
|
|
3015
3015
|
},
|
|
3016
3016
|
{
|
|
3017
3017
|
"name": "rows",
|
|
@@ -3084,7 +3084,7 @@
|
|
|
3084
3084
|
"DASHBOARD": {
|
|
3085
3085
|
"axes": {
|
|
3086
3086
|
"surface": {
|
|
3087
|
-
"grid": "Cells on one surface, split by hairlines
|
|
3087
|
+
"grid": "Cells on one raised surface with 6px corners, split by hairlines (default)"
|
|
3088
3088
|
}
|
|
3089
3089
|
},
|
|
3090
3090
|
"defaults": {
|
|
@@ -3094,8 +3094,8 @@
|
|
|
3094
3094
|
"READOUT": {
|
|
3095
3095
|
"axes": {
|
|
3096
3096
|
"size": {
|
|
3097
|
-
"md": "28/32: the cell's main number (default)",
|
|
3098
|
-
"sm": "20/
|
|
3097
|
+
"md": "28/32 medium and tight: the cell's main number (default)",
|
|
3098
|
+
"sm": "20/26 medium: a number beside another, under a small label"
|
|
3099
3099
|
}
|
|
3100
3100
|
},
|
|
3101
3101
|
"defaults": {
|
|
@@ -3111,7 +3111,7 @@
|
|
|
3111
3111
|
"components": [
|
|
3112
3112
|
{
|
|
3113
3113
|
"name": "DataTable",
|
|
3114
|
-
"description": "A table for many rows: sorting, selection, loading and empty states, more rows on demand, and virtual scrolling for long lists. One tab stop: the arrows move between rows and header buttons, Right reaches a row's controls, Shift with Left or Right resizes a column from its header, and a header's context menu widens, narrows or resets it.",
|
|
3114
|
+
"description": "A table for many rows: sorting, selection, loading and empty states, more rows on demand, and virtual scrolling for long lists. Its head stands on a rule in the strong line colour and every row a hairline at its foot, the same length; a row's hover and selected fill is square and sits under that hairline. One tab stop: the arrows move between rows and header buttons, Right reaches a row's controls, Shift with Left or Right resizes a column from its header, and a header's context menu widens, narrows or resets it.",
|
|
3115
3115
|
"props": [
|
|
3116
3116
|
{
|
|
3117
3117
|
"name": "aria-label",
|
|
@@ -3887,7 +3887,7 @@
|
|
|
3887
3887
|
},
|
|
3888
3888
|
{
|
|
3889
3889
|
"name": "Dialog",
|
|
3890
|
-
"description": "A modal dialog: 440 / 560 / 720, radius
|
|
3890
|
+
"description": "A modal dialog: 440 / 560 / 720, radius 14, its title alone at the top, one sentence under it, the body, and the actions at the end edge. Enter in a single-line field and ⌘/Ctrl+Enter anywhere submit; Enter in a text area adds a line. It stays centered (or, with `anchor=\"top\"`, keeps its top edge) while its content changes, growing or shrinking 200ms from the size it has; the body scrolls between the header and the footer when the content is taller than the screen, with a hairline under the header once it scrolls and over the footer while content is below. Its content unmounts once it has closed; state kept beside it, like a field, a step or a secret, goes in a component inside a DialogScope.",
|
|
3891
3891
|
"props": [
|
|
3892
3892
|
{
|
|
3893
3893
|
"name": "title",
|
|
@@ -4410,7 +4410,7 @@
|
|
|
4410
4410
|
"components": [
|
|
4411
4411
|
{
|
|
4412
4412
|
"name": "Empty",
|
|
4413
|
-
"description": "An empty state: a title, one sentence, one action. No icon, no illustration.
|
|
4413
|
+
"description": "An empty state: a strong title, one sentence, one action. No icon, no illustration. On a page (`lg`) and in a section (`md`) it hangs from the gutter the page's title and rows start on, its title in the empty-state size (`text-title`); in a table or list row (`compact`) it is one short statement, centered. On an edge-to-edge page body it keeps the 24px gutter itself; on a padded surface it uses the surface's padding; inside a card it keeps 20px off the card's edges, like the card's rows. The title is a heading (h2) at every size.",
|
|
4414
4414
|
"props": [
|
|
4415
4415
|
{
|
|
4416
4416
|
"name": "title",
|
|
@@ -4462,9 +4462,9 @@
|
|
|
4462
4462
|
"EMPTY": {
|
|
4463
4463
|
"axes": {
|
|
4464
4464
|
"size": {
|
|
4465
|
-
"lg": "
|
|
4466
|
-
"md": "Inside a section",
|
|
4467
|
-
"compact": "Inside tables and lists"
|
|
4465
|
+
"lg": "A page with nothing in it: hung from the page's gutter (default)",
|
|
4466
|
+
"md": "Inside a section: hung from the section's gutter",
|
|
4467
|
+
"compact": "Inside tables and lists: one line, centered in the row"
|
|
4468
4468
|
}
|
|
4469
4469
|
},
|
|
4470
4470
|
"defaults": {
|
|
@@ -4529,7 +4529,7 @@
|
|
|
4529
4529
|
},
|
|
4530
4530
|
{
|
|
4531
4531
|
"name": "Fieldset",
|
|
4532
|
-
"description": "A group of fields under one legend, which names the group for screen readers.",
|
|
4532
|
+
"description": "A group of fields under one legend, which names the group for screen readers. The legend and its description are set as a section head, with a hairline under them.",
|
|
4533
4533
|
"props": [
|
|
4534
4534
|
{
|
|
4535
4535
|
"name": "legend",
|
|
@@ -4570,7 +4570,7 @@
|
|
|
4570
4570
|
"components": [
|
|
4571
4571
|
{
|
|
4572
4572
|
"name": "Figure",
|
|
4573
|
-
"description": "A diagram or image set apart from the text: centred on a
|
|
4573
|
+
"description": "A diagram or image set apart from the text: centred on a flat plate, its caption hung from the plate's left edge under a hairline at its foot, scrolling sideways only when it can't shrink to fit.",
|
|
4574
4574
|
"props": [
|
|
4575
4575
|
{
|
|
4576
4576
|
"name": "children",
|
|
@@ -4591,7 +4591,7 @@
|
|
|
4591
4591
|
"type": "ReactNode",
|
|
4592
4592
|
"required": false,
|
|
4593
4593
|
"default": null,
|
|
4594
|
-
"description": "A few words
|
|
4594
|
+
"description": "A few words at the figure's foot that say what it shows, such as a diagram's title."
|
|
4595
4595
|
},
|
|
4596
4596
|
{
|
|
4597
4597
|
"name": "className",
|
|
@@ -4612,7 +4612,7 @@
|
|
|
4612
4612
|
"type": "\"well\" | \"plain\"",
|
|
4613
4613
|
"required": false,
|
|
4614
4614
|
"default": "well",
|
|
4615
|
-
"description": "The figure's background: a
|
|
4615
|
+
"description": "The figure's background: a flat plate like a code block's, or none, with the caption under a hairline."
|
|
4616
4616
|
}
|
|
4617
4617
|
],
|
|
4618
4618
|
"file": "src/components/figure/figure.tsx"
|
|
@@ -4622,7 +4622,7 @@
|
|
|
4622
4622
|
"FIGURE": {
|
|
4623
4623
|
"axes": {
|
|
4624
4624
|
"surface": {
|
|
4625
|
-
"well": "A
|
|
4625
|
+
"well": "A flat plate like a code block's: cut corners, fill, no ring, the caption at its foot (default)",
|
|
4626
4626
|
"plain": "No surface, for a figure that brings its own"
|
|
4627
4627
|
}
|
|
4628
4628
|
},
|
|
@@ -4683,6 +4683,13 @@
|
|
|
4683
4683
|
"default": null,
|
|
4684
4684
|
"description": "Open the value menu when the chip appears: a filter just added asks for its value at once."
|
|
4685
4685
|
},
|
|
4686
|
+
{
|
|
4687
|
+
"name": "freeText",
|
|
4688
|
+
"type": "((text: string) => ReactNode)",
|
|
4689
|
+
"required": false,
|
|
4690
|
+
"default": null,
|
|
4691
|
+
"description": "Lets what someone types in the search field be the value, for a filter no list can hold, such as text an error message contains: the label of the item that takes it. Enter takes it too."
|
|
4692
|
+
},
|
|
4686
4693
|
{
|
|
4687
4694
|
"name": "groups",
|
|
4688
4695
|
"type": "CommandListGroup[]",
|
|
@@ -4791,7 +4798,7 @@
|
|
|
4791
4798
|
"components": [
|
|
4792
4799
|
{
|
|
4793
4800
|
"name": "FilterRow",
|
|
4794
|
-
"description": "The row between a page's header and its list or table: pill tabs at the start, filters at the end. It grows with its content instead of keeping a toolbar's 48px, and on a narrow screen the filters wrap under the tabs, at the start. The tabs keep their own arrow keys; Left and Right move from filter to filter, which form their own toolbar.",
|
|
4801
|
+
"description": "The row between a page's header and its list or table: pill tabs at the start, filters at the end. It grows with its content instead of keeping a toolbar's 48px, and on a narrow screen the filters wrap under the tabs, at the start, and take the whole line, so a search can fill what the other filters leave. The tabs keep their own arrow keys; Left and Right move from filter to filter, which form their own toolbar.",
|
|
4795
4802
|
"props": [
|
|
4796
4803
|
{
|
|
4797
4804
|
"name": "children",
|
|
@@ -4899,7 +4906,7 @@
|
|
|
4899
4906
|
"axes": {
|
|
4900
4907
|
"node": {
|
|
4901
4908
|
"pill": "A pill with a hairline (default)",
|
|
4902
|
-
"box": "A
|
|
4909
|
+
"box": "A cut plate (radius 6) with a description line"
|
|
4903
4910
|
}
|
|
4904
4911
|
},
|
|
4905
4912
|
"defaults": {
|
|
@@ -4915,7 +4922,7 @@
|
|
|
4915
4922
|
"components": [
|
|
4916
4923
|
{
|
|
4917
4924
|
"name": "FlowCanvas",
|
|
4918
|
-
"description": "An editable route drawn as a tree, top down: the start, then each step with its branches side by side under it, and a model's fallback straight under the model on a dashed line, so a chain reads top down in the order its models are tried and a route stays as narrow as its widest row of steps. The layout is computed, never measured, so it is the same at every zoom. Drag the background or scroll to pan; ⌘ or Ctrl with the wheel, a pinch or the buttons at the bottom left zoom between 25% and 150%; it fits itself
|
|
4925
|
+
"description": "An editable route drawn as a tree, top down: the start, then each step with its branches side by side under it, and a model's fallback straight under the model on a dashed line, so a chain reads top down in the order its models are tried and a route stays as narrow as its widest row of steps. The layout is computed, never measured, so it is the same at every zoom. Drag the background or scroll to pan; ⌘ or Ctrl with the wheel, a pinch or the buttons at the bottom left zoom between 25% and 150%; it fits itself on first render, never below 67% so every step stays readable, fits again whenever the canvas changes size until the person pans or zooms, and keeps the view when the route changes. The steps are one tree for the keyboard and screen readers.",
|
|
4919
4926
|
"props": [
|
|
4920
4927
|
{
|
|
4921
4928
|
"name": "aria-label",
|
|
@@ -5131,10 +5138,10 @@
|
|
|
5131
5138
|
"HEADING": {
|
|
5132
5139
|
"axes": {
|
|
5133
5140
|
"size": {
|
|
5134
|
-
"title-sm": "17/24: section, dialog and sheet titles",
|
|
5135
|
-
"title": "20/
|
|
5136
|
-
"title-lg": "28/
|
|
5137
|
-
"display": "40/
|
|
5141
|
+
"title-sm": "17/24, -0.014em: section, dialog and sheet titles",
|
|
5142
|
+
"title": "20/26, -0.022em: empty states, compact page titles",
|
|
5143
|
+
"title-lg": "28/32, -0.032em: settings page titles, auth screens",
|
|
5144
|
+
"display": "40/42, -0.042em: showcase headings, the setup screen"
|
|
5138
5145
|
}
|
|
5139
5146
|
},
|
|
5140
5147
|
"defaults": {
|
|
@@ -5973,7 +5980,7 @@
|
|
|
5973
5980
|
},
|
|
5974
5981
|
{
|
|
5975
5982
|
"name": "GrantSummary",
|
|
5976
|
-
"description": "What an agent or a key may do, one short line each after a check mark, on a
|
|
5983
|
+
"description": "What an agent or a key may do, one short line each after a check mark, on a flat cut plate with 20px inside, the note under a hairline.",
|
|
5977
5984
|
"props": [
|
|
5978
5985
|
{
|
|
5979
5986
|
"name": "aria-label",
|
|
@@ -6660,7 +6667,7 @@
|
|
|
6660
6667
|
},
|
|
6661
6668
|
{
|
|
6662
6669
|
"name": "StatusCode",
|
|
6663
|
-
"description": "An HTTP status: the code in mono, in its class color
|
|
6670
|
+
"description": "An HTTP status: the code in mono, in its class color. Without `showText`, its phrase is in a tooltip that hover and keyboard focus open, with a focus ring.",
|
|
6664
6671
|
"props": [
|
|
6665
6672
|
{
|
|
6666
6673
|
"name": "code",
|
|
@@ -6676,6 +6683,13 @@
|
|
|
6676
6683
|
"default": null,
|
|
6677
6684
|
"description": "Classes for the layout of the outer element: margin, width and placement, never its look."
|
|
6678
6685
|
},
|
|
6686
|
+
{
|
|
6687
|
+
"name": "data-force",
|
|
6688
|
+
"type": "string",
|
|
6689
|
+
"required": false,
|
|
6690
|
+
"default": null,
|
|
6691
|
+
"description": "Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`."
|
|
6692
|
+
},
|
|
6679
6693
|
{
|
|
6680
6694
|
"name": "showText",
|
|
6681
6695
|
"type": "boolean",
|
|
@@ -6878,7 +6892,7 @@
|
|
|
6878
6892
|
"components": [
|
|
6879
6893
|
{
|
|
6880
6894
|
"name": "KeyValue",
|
|
6881
|
-
"description": "Label and value pairs (13 secondary label, 14 value), copyable values. Side by side for sheets; label above value in columns (`grid`) where a sheet is wide enough for two or more to a row. A value or grid label that doesn't fit ends in an ellipsis, takes focus and shows whole in a tooltip. Side by side, the label column grows to its longest label up to 240px, and longer labels wrap. Ids and keys (`mono`) are 13px, like ids everywhere in the library.",
|
|
6895
|
+
"description": "Label and value pairs (13/500 secondary label, 14 value), copyable values, each pair a row with a hairline at its foot; values line up on one edge. Side by side for sheets; label above value in columns (`grid`) where a sheet is wide enough for two or more to a row. A value or grid label that doesn't fit ends in an ellipsis, takes focus and shows whole in a tooltip. A value that wraps (`wrap`) keeps its line breaks. Side by side, the label column grows to its longest label up to 240px, and longer labels wrap; a label and its value share their first line's baseline, however many lines either takes. Ids and keys (`mono`) are 13px, like ids everywhere in the library.",
|
|
6882
6896
|
"props": [
|
|
6883
6897
|
{
|
|
6884
6898
|
"name": "items",
|
|
@@ -6916,9 +6930,9 @@
|
|
|
6916
6930
|
"KEY_VALUE": {
|
|
6917
6931
|
"axes": {
|
|
6918
6932
|
"layout": {
|
|
6919
|
-
"columns": "Label and value side by side (default)",
|
|
6920
|
-
"stacked": "Label above value, for narrow sheets",
|
|
6921
|
-
"grid": "Label above value, in columns: a wide sheet's details, two or more to a row"
|
|
6933
|
+
"columns": "Label and value side by side, each pair a row with a hairline at its foot (default)",
|
|
6934
|
+
"stacked": "Label above value, each pair over a hairline, for narrow sheets",
|
|
6935
|
+
"grid": "Label above value, in columns, each pair over its own hairline: a wide sheet's details, two or more to a row"
|
|
6922
6936
|
},
|
|
6923
6937
|
"columns": {
|
|
6924
6938
|
"2": "Two to a row from 480px; one below (default)",
|
|
@@ -6965,10 +6979,10 @@
|
|
|
6965
6979
|
},
|
|
6966
6980
|
{
|
|
6967
6981
|
"name": "variant",
|
|
6968
|
-
"type": "\"heading\" | \"inline\" | \"quiet\" | \"card\" | \"standalone\"",
|
|
6982
|
+
"type": "\"heading\" | \"inline\" | \"quiet\" | \"card\" | \"action\" | \"standalone\"",
|
|
6969
6983
|
"required": false,
|
|
6970
6984
|
"default": "inline",
|
|
6971
|
-
"description": "Underlined in text (`inline`),
|
|
6985
|
+
"description": "Underlined in text (`inline`) or on a line of its own under a form, with a touch target a finger can hit (`action`), secondary until hovered in footers and lists (`quiet`), on its own line in full text that steps back on hover (`standalone`), inside a heading that links to itself (`heading`), or as a page to read next on a cut plate, its name strong and a sentence under it (`card`)."
|
|
6972
6986
|
}
|
|
6973
6987
|
],
|
|
6974
6988
|
"file": "src/components/link/link.tsx"
|
|
@@ -6979,10 +6993,11 @@
|
|
|
6979
6993
|
"axes": {
|
|
6980
6994
|
"variant": {
|
|
6981
6995
|
"inline": "Inside prose: text color with a grey underline that turns to the text color on hover",
|
|
6996
|
+
"action": "Under a form, on its own line or ending its sentence (“Forgot your password?”): inline's underline, with a touch target a finger can hit",
|
|
6982
6997
|
"quiet": "Navigation-style links in footers and metadata; no underline until hover",
|
|
6983
|
-
"standalone": "A link on its own line (“Team overview ›”)",
|
|
6998
|
+
"standalone": "A link on its own line (“Team overview ›”): full text that steps back to 60% on hover",
|
|
6984
6999
|
"heading": "A heading's link to itself: the heading's own look, with a # beside it on hover and keyboard focus",
|
|
6985
|
-
"card": "A page to read next: a
|
|
7000
|
+
"card": "A page to read next: a flat cut plate with the page's name in medium weight and one sentence about it in secondary text; a hairline rings it on hover"
|
|
6986
7001
|
}
|
|
6987
7002
|
},
|
|
6988
7003
|
"defaults": {
|
|
@@ -6998,7 +7013,7 @@
|
|
|
6998
7013
|
"components": [
|
|
6999
7014
|
{
|
|
7000
7015
|
"name": "List",
|
|
7001
|
-
"description": "The console list: 44px rows on the panel (48px in a card, 56px with a second line),
|
|
7016
|
+
"description": "The console list: 44px rows on the panel (48px in a card, 56px with a second line), each with a hairline at its foot from gutter to gutter as kaeso.app lists its rows and a square fill under it on hover and selection, metadata on the right, keyboard-first. On a phone the metadata moves to a line under the title and the row's actions and avatar stay at the title's end. An ARIA grid of one-cell rows with one tab stop: arrows move between rows, Space selects, Enter opens, the right arrow reaches a row's actions and Escape comes back. A row's text can be selected and copied; a click that selects text doesn't open the row.",
|
|
7002
7017
|
"props": [
|
|
7003
7018
|
{
|
|
7004
7019
|
"name": "aria-label",
|
|
@@ -7355,7 +7370,7 @@
|
|
|
7355
7370
|
"components": [
|
|
7356
7371
|
{
|
|
7357
7372
|
"name": "Markdown",
|
|
7358
|
-
"description": "Markdown, safely: headings, paragraphs, lists, tasks, code fences (CodeBlock), inline code, emphasis, links, quotes, rules and tables. Raw HTML stays text, links open only for http, https and mailto in a new tab, images are links. Long texts show their start until \"Show all\". A table wider than its column scrolls sideways with a fade and takes focus.",
|
|
7373
|
+
"description": "Markdown, safely: headings, paragraphs, lists, tasks, code fences (CodeBlock), inline code, emphasis, links, quotes, rules and tables. Raw HTML stays text, links open only for http, https and mailto in a new tab, images are links. Headings take twice the room above them as below, a top-level heading stands on a strong hairline, bullets are short rules and quotes stand behind a 2px rule. Long texts show their start until \"Show all\". A table wider than its column scrolls sideways with a fade and takes focus.",
|
|
7359
7374
|
"props": [
|
|
7360
7375
|
{
|
|
7361
7376
|
"name": "text",
|
|
@@ -7472,7 +7487,7 @@
|
|
|
7472
7487
|
},
|
|
7473
7488
|
{
|
|
7474
7489
|
"name": "Menu",
|
|
7475
|
-
"description": "A dropdown menu:
|
|
7490
|
+
"description": "A dropdown menu: a 10px plate with 4px rows inset 6px, 34px rows that grow when a label wraps, hairlines between groups that run edge to edge, labels on one column (an item without an icon lines up with those that have one), typeahead, Home/End, loops. An item's shortcut and hint describe it rather than name it. Checkbox and radio items show a check when chosen; the group's label says whether it takes one or several.",
|
|
7476
7491
|
"props": [
|
|
7477
7492
|
{
|
|
7478
7493
|
"name": "children",
|
|
@@ -7497,10 +7512,10 @@
|
|
|
7497
7512
|
},
|
|
7498
7513
|
{
|
|
7499
7514
|
"name": "onOpenChange",
|
|
7500
|
-
"type": "((open: boolean) => void)",
|
|
7515
|
+
"type": "((open: boolean, reason?: string) => void)",
|
|
7501
7516
|
"required": false,
|
|
7502
7517
|
"default": null,
|
|
7503
|
-
"description": "Called when it opens or closes."
|
|
7518
|
+
"description": "Called when it opens or closes, with why: `item-press` when a chosen item closed it, `escape-key`, `outside-press` or `trigger-press` otherwise."
|
|
7504
7519
|
},
|
|
7505
7520
|
{
|
|
7506
7521
|
"name": "open",
|
|
@@ -7548,7 +7563,7 @@
|
|
|
7548
7563
|
"components": [
|
|
7549
7564
|
{
|
|
7550
7565
|
"name": "Meter",
|
|
7551
|
-
"description": "A limit or quota: label and value, a 6px
|
|
7566
|
+
"description": "A limit or quota: label and value, a 6px track cut square like a plate, threshold ticks cut out of the bar, a caption. Past the first threshold the bar turns amber and the value and caption step up from the secondary to the text color, at the limit the bar turns red; the bar alone carries the color, and screen readers hear \"near the limit\" or \"over the limit\" after the value; in light the bar's end keeps 3:1 against the track. With `shape=\"gauge\"` it is a half circle with the value in its middle, for the one number a page is about.",
|
|
7552
7567
|
"props": [
|
|
7553
7568
|
{
|
|
7554
7569
|
"name": "value",
|
|
@@ -7597,7 +7612,7 @@
|
|
|
7597
7612
|
"type": "\"bar\" | \"gauge\"",
|
|
7598
7613
|
"required": false,
|
|
7599
7614
|
"default": "bar",
|
|
7600
|
-
"description": "A
|
|
7615
|
+
"description": "A bar (`bar`), or a half circle with square ends (`gauge`) with the number in its middle and, under its caption, near or over the limit."
|
|
7601
7616
|
},
|
|
7602
7617
|
{
|
|
7603
7618
|
"name": "thresholds",
|
|
@@ -7626,13 +7641,20 @@
|
|
|
7626
7641
|
"required": false,
|
|
7627
7642
|
"default": null,
|
|
7628
7643
|
"description": "\"$32.10 of $50.00\""
|
|
7644
|
+
},
|
|
7645
|
+
{
|
|
7646
|
+
"name": "valueText",
|
|
7647
|
+
"type": "string",
|
|
7648
|
+
"required": false,
|
|
7649
|
+
"default": null,
|
|
7650
|
+
"description": "What screen readers hear as the value when `valueLabel` is not plain text, such as a shortened figure with the exact one in a tooltip: \"10,624,184 of 100,000,000\"."
|
|
7629
7651
|
}
|
|
7630
7652
|
],
|
|
7631
7653
|
"file": "src/components/meter/meter.tsx"
|
|
7632
7654
|
},
|
|
7633
7655
|
{
|
|
7634
7656
|
"name": "Progress",
|
|
7635
|
-
"description": "Progress for work over a second: a determinate
|
|
7657
|
+
"description": "Progress for work over a second: a determinate 6px bar, or an indeterminate 2px line. With reduced motion the indeterminate line spans the width and pulses instead of sliding, so it never reads as a third done.",
|
|
7636
7658
|
"props": [
|
|
7637
7659
|
{
|
|
7638
7660
|
"name": "aria-label",
|
|
@@ -7663,11 +7685,11 @@
|
|
|
7663
7685
|
"METER": {
|
|
7664
7686
|
"axes": {
|
|
7665
7687
|
"tone": {
|
|
7666
|
-
"auto": "Series 1 until the first alert threshold, amber (series 2) after, danger at 100%; the value and the caption
|
|
7688
|
+
"auto": "Series 1 until the first alert threshold, amber (series 2) after, danger at 100%; the bar alone carries the color, and the value and the caption step up to the text color (default)",
|
|
7667
7689
|
"neutral": "A plain share"
|
|
7668
7690
|
},
|
|
7669
7691
|
"shape": {
|
|
7670
|
-
"bar": "A 6px
|
|
7692
|
+
"bar": "A 6px bar under its label and value, cut square like a plate (default)",
|
|
7671
7693
|
"gauge": "A 180px half circle with the value in its middle, for one number a page is about"
|
|
7672
7694
|
}
|
|
7673
7695
|
},
|
|
@@ -7679,7 +7701,7 @@
|
|
|
7679
7701
|
"PROGRESS": {
|
|
7680
7702
|
"axes": {
|
|
7681
7703
|
"kind": {
|
|
7682
|
-
"determinate": "A
|
|
7704
|
+
"determinate": "A 6px bar with a known amount, cut square like a plate",
|
|
7683
7705
|
"indeterminate": "A 2px line at the top of a container"
|
|
7684
7706
|
}
|
|
7685
7707
|
},
|
|
@@ -7696,7 +7718,7 @@
|
|
|
7696
7718
|
"components": [
|
|
7697
7719
|
{
|
|
7698
7720
|
"name": "PageHeader",
|
|
7699
|
-
"description": "The 52px header of a page: its title, pill tabs, actions. On a phone the tabs move to a row of their own under the title and actions, and actions that
|
|
7721
|
+
"description": "The 52px header of a page: its title, pill tabs, actions. Beside the tabs, a long title is cut short first, down to nothing if need be; only then do the tabs scroll. Whatever sits right above AppFrame.Body (this header, or a toolbar under it) shows a hairline at its foot while the content is scrolled under it, so the line separates only where something passes beneath. On a phone the tabs move to a row of their own under the title and actions, and actions that don't fit beside the whole title move to a row of their own too, wrapping onto another line when they are wider than the page, so the title isn't cut short, the tabs aren't squeezed beside a button and no action runs off the edge.",
|
|
7700
7722
|
"props": [
|
|
7701
7723
|
{
|
|
7702
7724
|
"name": "actions",
|
|
@@ -7738,7 +7760,7 @@
|
|
|
7738
7760
|
"type": "ReactNode",
|
|
7739
7761
|
"required": false,
|
|
7740
7762
|
"default": null,
|
|
7741
|
-
"description": "The page's title (
|
|
7763
|
+
"description": "The page's title (17/600), alone: no label above it."
|
|
7742
7764
|
}
|
|
7743
7765
|
],
|
|
7744
7766
|
"file": "src/components/page-header/page-header.tsx"
|
|
@@ -7748,7 +7770,7 @@
|
|
|
7748
7770
|
"PAGE_HEADER": {
|
|
7749
7771
|
"axes": {
|
|
7750
7772
|
"size": {
|
|
7751
|
-
"md": "52px,
|
|
7773
|
+
"md": "52px, the title alone at 17/600; a hairline at its foot only while the page scrolls under it (default); on a phone the actions sit beside a title that fits and under one that doesn't, wrap rather than run off the edge, and the tabs take a row of their own"
|
|
7752
7774
|
}
|
|
7753
7775
|
},
|
|
7754
7776
|
"defaults": {
|
|
@@ -8168,6 +8190,125 @@
|
|
|
8168
8190
|
],
|
|
8169
8191
|
"file": "src/components/playground/composer.tsx"
|
|
8170
8192
|
},
|
|
8193
|
+
{
|
|
8194
|
+
"name": "DecisionQuestions",
|
|
8195
|
+
"description": "The questions a decision model was asked, read only, in the order the app sent them: each with its name, type and instructions, then what its answers mean: what yes and no mean, each option's value and description, or each level's number, label and description. A hairline sits between questions; a question without instructions or an option without a description says so.",
|
|
8196
|
+
"props": [
|
|
8197
|
+
{
|
|
8198
|
+
"name": "questions",
|
|
8199
|
+
"type": "readonly DecisionQuestion[]",
|
|
8200
|
+
"required": true,
|
|
8201
|
+
"default": null,
|
|
8202
|
+
"description": "The questions as they were sent: kind, name, instructions, and what yes and no, the options or the levels mean."
|
|
8203
|
+
},
|
|
8204
|
+
{
|
|
8205
|
+
"name": "aria-label",
|
|
8206
|
+
"type": "string",
|
|
8207
|
+
"required": false,
|
|
8208
|
+
"default": null,
|
|
8209
|
+
"description": "The list's accessible name (\"Questions\" by default, in the provider's language)."
|
|
8210
|
+
},
|
|
8211
|
+
{
|
|
8212
|
+
"name": "className",
|
|
8213
|
+
"type": "string",
|
|
8214
|
+
"required": false,
|
|
8215
|
+
"default": null,
|
|
8216
|
+
"description": "Classes for the layout of the outer element: margin, width and placement, never its look."
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"name": "layout",
|
|
8220
|
+
"type": "\"list\"",
|
|
8221
|
+
"required": false,
|
|
8222
|
+
"default": "list",
|
|
8223
|
+
"description": "The list of questions, a hairline between them."
|
|
8224
|
+
}
|
|
8225
|
+
],
|
|
8226
|
+
"file": "src/components/playground/decision-questions.tsx"
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"name": "DecisionResponse",
|
|
8230
|
+
"description": "A decision model's answers, one row per question in the order asked, a hairline between rows: its name, type and the confidence when the provider gives one, the instructions when asked for, then a probability bar for every option or level with the answer's bar marked, and a score's value on its scale. Labels, bars and values line up in columns. A box question draws its box on the image and gives its edges as numbers. While the answers are on their way every row holds its room with quiet placeholders, so nothing moves when they arrive; a missing answer reads “No answer”, a refused question says so in its row, and a failure shows its error in place of the answers.",
|
|
8231
|
+
"props": [
|
|
8232
|
+
{
|
|
8233
|
+
"name": "questions",
|
|
8234
|
+
"type": "readonly DecisionQuestion[]",
|
|
8235
|
+
"required": true,
|
|
8236
|
+
"default": null,
|
|
8237
|
+
"description": "The questions as they were sent: kind, name, and the options or levels whose labels name the bars."
|
|
8238
|
+
},
|
|
8239
|
+
{
|
|
8240
|
+
"name": "answers",
|
|
8241
|
+
"type": "readonly (DecisionAnswer | null)[]",
|
|
8242
|
+
"required": false,
|
|
8243
|
+
"default": "[]",
|
|
8244
|
+
"description": "The answers in question order: a yes probability, a chosen option index with a probability per option, a score with a probability per level, a box's four edges from 0 to 1, or a refusal with its reason. A probability left out reads “Not given”; a missing answer reads “No answer”."
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
"name": "aria-label",
|
|
8248
|
+
"type": "string",
|
|
8249
|
+
"required": false,
|
|
8250
|
+
"default": null,
|
|
8251
|
+
"description": "The response's accessible name (\"GPT-6 Luna response\" in a comparison). Defaults to \"Response\" in the provider's language."
|
|
8252
|
+
},
|
|
8253
|
+
{
|
|
8254
|
+
"name": "className",
|
|
8255
|
+
"type": "string",
|
|
8256
|
+
"required": false,
|
|
8257
|
+
"default": null,
|
|
8258
|
+
"description": "Classes for the layout of the outer element: margin, width and placement, never its look."
|
|
8259
|
+
},
|
|
8260
|
+
{
|
|
8261
|
+
"name": "error",
|
|
8262
|
+
"type": "string",
|
|
8263
|
+
"required": false,
|
|
8264
|
+
"default": null,
|
|
8265
|
+
"description": "Why the call failed, shown under \"No answers\" with status \"error\"."
|
|
8266
|
+
},
|
|
8267
|
+
{
|
|
8268
|
+
"name": "footer",
|
|
8269
|
+
"type": "ReactNode",
|
|
8270
|
+
"required": false,
|
|
8271
|
+
"default": null,
|
|
8272
|
+
"description": "Under the answers, after Retry: the call's metrics."
|
|
8273
|
+
},
|
|
8274
|
+
{
|
|
8275
|
+
"name": "image",
|
|
8276
|
+
"type": "DecisionImage",
|
|
8277
|
+
"required": false,
|
|
8278
|
+
"default": null,
|
|
8279
|
+
"description": "The image a box question was asked about: the box is drawn on it, and its edges stay as numbers under it."
|
|
8280
|
+
},
|
|
8281
|
+
{
|
|
8282
|
+
"name": "maxBars",
|
|
8283
|
+
"type": "number",
|
|
8284
|
+
"required": false,
|
|
8285
|
+
"default": "8",
|
|
8286
|
+
"description": "Bars shown per question before “Show all” (8 by default): the most likely ones and the answer's, in their order, so a choice of 200 options stays short."
|
|
8287
|
+
},
|
|
8288
|
+
{
|
|
8289
|
+
"name": "onRetry",
|
|
8290
|
+
"type": "(() => void)",
|
|
8291
|
+
"required": false,
|
|
8292
|
+
"default": null,
|
|
8293
|
+
"description": "Sends the call again: a Retry button after a failure, and a quiet Retry circle under the answers."
|
|
8294
|
+
},
|
|
8295
|
+
{
|
|
8296
|
+
"name": "showInstructions",
|
|
8297
|
+
"type": "boolean",
|
|
8298
|
+
"required": false,
|
|
8299
|
+
"default": "false",
|
|
8300
|
+
"description": "Shows each question's instructions under its name, where the questions aren't on screen beside the answers, as in a request log."
|
|
8301
|
+
},
|
|
8302
|
+
{
|
|
8303
|
+
"name": "status",
|
|
8304
|
+
"type": "\"done\" | \"error\" | \"pending\"",
|
|
8305
|
+
"required": false,
|
|
8306
|
+
"default": "done",
|
|
8307
|
+
"description": "Where the call stands: waiting for answers, answered, or failed."
|
|
8308
|
+
}
|
|
8309
|
+
],
|
|
8310
|
+
"file": "src/components/playground/decision-response.tsx"
|
|
8311
|
+
},
|
|
8171
8312
|
{
|
|
8172
8313
|
"name": "MediaResponse",
|
|
8173
8314
|
"description": "What an image, speech, sound or video model made, in the place a text response takes: images in a grid of squares, audio in a player a row tall, a video in a 16:9 player, each with Download. While it is made, quiet placeholders of the same size hold the room; a video job shows its progress, the seconds it has taken and Cancel. A stop or a failure reads as in ResponseView.",
|
|
@@ -8603,6 +8744,139 @@
|
|
|
8603
8744
|
],
|
|
8604
8745
|
"file": "src/components/playground/parameter-panel.tsx"
|
|
8605
8746
|
},
|
|
8747
|
+
{
|
|
8748
|
+
"name": "ProbabilityBar",
|
|
8749
|
+
"description": "One probability as a 6px bar beside its label and its value in whole percents, with “<1%” and “>99%” where rounding would mislead. The chosen option's bar takes the data colour and its label and value take medium weight, so it doesn't rely on colour. A probability the provider left out reads “Not given” over an empty track. The bar grows only without reduced motion.",
|
|
8750
|
+
"props": [
|
|
8751
|
+
{
|
|
8752
|
+
"name": "aria-label",
|
|
8753
|
+
"type": "string",
|
|
8754
|
+
"required": false,
|
|
8755
|
+
"default": null,
|
|
8756
|
+
"description": "The meter's accessible name, when the label isn't plain text."
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"name": "className",
|
|
8760
|
+
"type": "string",
|
|
8761
|
+
"required": false,
|
|
8762
|
+
"default": null,
|
|
8763
|
+
"description": "Classes for the layout of the outer element: margin, width and placement, never its look."
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
"name": "highlight",
|
|
8767
|
+
"type": "boolean",
|
|
8768
|
+
"required": false,
|
|
8769
|
+
"default": "false",
|
|
8770
|
+
"description": "Marks the bar as the answer: the data colour, medium-weight text, and “chosen” after its value for screen readers."
|
|
8771
|
+
},
|
|
8772
|
+
{
|
|
8773
|
+
"name": "label",
|
|
8774
|
+
"type": "ReactNode",
|
|
8775
|
+
"required": false,
|
|
8776
|
+
"default": null,
|
|
8777
|
+
"description": "What the probability is of: an option, a level, Yes or No."
|
|
8778
|
+
},
|
|
8779
|
+
{
|
|
8780
|
+
"name": "layout",
|
|
8781
|
+
"type": "\"row\" | \"inline\" | \"stacked\"",
|
|
8782
|
+
"required": false,
|
|
8783
|
+
"default": "inline",
|
|
8784
|
+
"description": "Label, bar and value on one line, the label and value above the bar, or one row of a `grid-cols-meter` grid so a list's bars line up."
|
|
8785
|
+
},
|
|
8786
|
+
{
|
|
8787
|
+
"name": "pending",
|
|
8788
|
+
"type": "boolean",
|
|
8789
|
+
"required": false,
|
|
8790
|
+
"default": "false",
|
|
8791
|
+
"description": "The value is on its way: the track pulses quietly and screen readers skip it."
|
|
8792
|
+
},
|
|
8793
|
+
{
|
|
8794
|
+
"name": "value",
|
|
8795
|
+
"type": "number | null",
|
|
8796
|
+
"required": false,
|
|
8797
|
+
"default": null,
|
|
8798
|
+
"description": "The probability from 0 to 1; null or absent when the provider left it out."
|
|
8799
|
+
}
|
|
8800
|
+
],
|
|
8801
|
+
"file": "src/components/playground/probability-bar.tsx"
|
|
8802
|
+
},
|
|
8803
|
+
{
|
|
8804
|
+
"name": "QuestionEditor",
|
|
8805
|
+
"description": "Typed questions for a decision model: each with a type (Yes/no, Choice, Score, and Box when the model draws boxes), a name, instructions, and what its answers mean: what yes and no mean, each option's value and description, each level's label and description from level 0 up. Add and remove questions, options and levels with buttons; Enter in an option or a level adds the next one below it, and focus follows every addition and removal.",
|
|
8806
|
+
"props": [
|
|
8807
|
+
{
|
|
8808
|
+
"name": "onValueChange",
|
|
8809
|
+
"type": "(next: DecisionQuestion[]) => void",
|
|
8810
|
+
"required": true,
|
|
8811
|
+
"default": null,
|
|
8812
|
+
"description": "Called with the changed questions. A question added here has an `id`; empty optional text is left out."
|
|
8813
|
+
},
|
|
8814
|
+
{
|
|
8815
|
+
"name": "value",
|
|
8816
|
+
"type": "readonly DecisionQuestion[]",
|
|
8817
|
+
"required": true,
|
|
8818
|
+
"default": null,
|
|
8819
|
+
"description": "The questions, in order. Give each an `id` so its fields keep their place when one above it is removed."
|
|
8820
|
+
},
|
|
8821
|
+
{
|
|
8822
|
+
"name": "allowBox",
|
|
8823
|
+
"type": "boolean",
|
|
8824
|
+
"required": false,
|
|
8825
|
+
"default": "false",
|
|
8826
|
+
"description": "Offers the Box type, for a model that answers with a box on an image."
|
|
8827
|
+
},
|
|
8828
|
+
{
|
|
8829
|
+
"name": "aria-label",
|
|
8830
|
+
"type": "string",
|
|
8831
|
+
"required": false,
|
|
8832
|
+
"default": null,
|
|
8833
|
+
"description": "The group's accessible name (\"Questions\" by default)."
|
|
8834
|
+
},
|
|
8835
|
+
{
|
|
8836
|
+
"name": "className",
|
|
8837
|
+
"type": "string",
|
|
8838
|
+
"required": false,
|
|
8839
|
+
"default": null,
|
|
8840
|
+
"description": "Classes for the layout of the outer element: margin, width and placement, never its look."
|
|
8841
|
+
},
|
|
8842
|
+
{
|
|
8843
|
+
"name": "disabled",
|
|
8844
|
+
"type": "boolean",
|
|
8845
|
+
"required": false,
|
|
8846
|
+
"default": "false",
|
|
8847
|
+
"description": "Turns off every field and button."
|
|
8848
|
+
},
|
|
8849
|
+
{
|
|
8850
|
+
"name": "layout",
|
|
8851
|
+
"type": "\"compact\" | \"panel\"",
|
|
8852
|
+
"required": false,
|
|
8853
|
+
"default": "panel",
|
|
8854
|
+
"description": "Questions 24px apart in a panel, or 16px in a narrow column."
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
"name": "maxLevels",
|
|
8858
|
+
"type": "number",
|
|
8859
|
+
"required": false,
|
|
8860
|
+
"default": "10",
|
|
8861
|
+
"description": "Levels a score takes at most (10 by default): Add level turns off there and says so."
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
"name": "maxOptions",
|
|
8865
|
+
"type": "number",
|
|
8866
|
+
"required": false,
|
|
8867
|
+
"default": "255",
|
|
8868
|
+
"description": "Options a choice takes at most (255 by default): Add option turns off there and says so."
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"name": "maxQuestions",
|
|
8872
|
+
"type": "number",
|
|
8873
|
+
"required": false,
|
|
8874
|
+
"default": null,
|
|
8875
|
+
"description": "Questions at most; none by default."
|
|
8876
|
+
}
|
|
8877
|
+
],
|
|
8878
|
+
"file": "src/components/playground/question-editor.tsx"
|
|
8879
|
+
},
|
|
8606
8880
|
{
|
|
8607
8881
|
"name": "Reasoning",
|
|
8608
8882
|
"description": "A model's reasoning behind a quiet disclosure, closed by default: a chevron, then “Thought for 4.2 s” when it is done, or “Thinking” with the latest line beside it while it streams. Opened, the reasoning reads in small secondary text under the title, beside a line under the chevron. The Playground and the request log (ConversationView) show reasoning with it.",
|
|
@@ -8719,6 +8993,13 @@
|
|
|
8719
8993
|
"default": null,
|
|
8720
8994
|
"description": "Milliseconds from sending to the last token."
|
|
8721
8995
|
},
|
|
8996
|
+
{
|
|
8997
|
+
"name": "formatCost",
|
|
8998
|
+
"type": "((cost: string) => string)",
|
|
8999
|
+
"required": false,
|
|
9000
|
+
"default": null,
|
|
9001
|
+
"description": "Writes `cost` in place of the dollar format, such as in another currency at the day's rate."
|
|
9002
|
+
},
|
|
8722
9003
|
{
|
|
8723
9004
|
"name": "inputTokens",
|
|
8724
9005
|
"type": "number | null",
|
|
@@ -8901,6 +9182,13 @@
|
|
|
8901
9182
|
"default": null,
|
|
8902
9183
|
"description": "The prompt as it was written: plain text, line breaks kept."
|
|
8903
9184
|
},
|
|
9185
|
+
{
|
|
9186
|
+
"name": "actions",
|
|
9187
|
+
"type": "ReactNode",
|
|
9188
|
+
"required": false,
|
|
9189
|
+
"default": null,
|
|
9190
|
+
"description": "Actions on the prompt, such as Edit, in a row under its bubble after \"Show all\"."
|
|
9191
|
+
},
|
|
8904
9192
|
{
|
|
8905
9193
|
"name": "aria-label",
|
|
8906
9194
|
"type": "string",
|
|
@@ -8967,6 +9255,28 @@
|
|
|
8967
9255
|
"size": "md"
|
|
8968
9256
|
}
|
|
8969
9257
|
},
|
|
9258
|
+
"DECISION_QUESTIONS": {
|
|
9259
|
+
"axes": {
|
|
9260
|
+
"layout": {
|
|
9261
|
+
"list": "Each question with its type, instructions and what its answers mean, a hairline between questions (default)"
|
|
9262
|
+
}
|
|
9263
|
+
},
|
|
9264
|
+
"defaults": {
|
|
9265
|
+
"layout": "list"
|
|
9266
|
+
}
|
|
9267
|
+
},
|
|
9268
|
+
"DECISION_RESPONSE": {
|
|
9269
|
+
"axes": {
|
|
9270
|
+
"status": {
|
|
9271
|
+
"pending": "Sent, no answers yet: every question's row is drawn with quiet placeholders of the height its answer will take",
|
|
9272
|
+
"done": "Answered: each question's answer, its probabilities and the confidence; a refusal in its own row (default)",
|
|
9273
|
+
"error": "Failed: the error in place of the answers, and Retry"
|
|
9274
|
+
}
|
|
9275
|
+
},
|
|
9276
|
+
"defaults": {
|
|
9277
|
+
"status": "done"
|
|
9278
|
+
}
|
|
9279
|
+
},
|
|
8970
9280
|
"MEDIA_RESPONSE": {
|
|
8971
9281
|
"axes": {
|
|
8972
9282
|
"kind": {
|
|
@@ -9001,6 +9311,29 @@
|
|
|
9001
9311
|
"layout": "popover"
|
|
9002
9312
|
}
|
|
9003
9313
|
},
|
|
9314
|
+
"PROBABILITY_BAR": {
|
|
9315
|
+
"axes": {
|
|
9316
|
+
"layout": {
|
|
9317
|
+
"inline": "The label, a 6px bar and the value on one line, so a list of options lines up (default)",
|
|
9318
|
+
"stacked": "The label and the value above a full-width bar, for one probability alone",
|
|
9319
|
+
"row": "One row of a `grid-cols-meter` grid: labels, bars and values line up in columns as wide as the longest label and value"
|
|
9320
|
+
}
|
|
9321
|
+
},
|
|
9322
|
+
"defaults": {
|
|
9323
|
+
"layout": "inline"
|
|
9324
|
+
}
|
|
9325
|
+
},
|
|
9326
|
+
"QUESTION_EDITOR": {
|
|
9327
|
+
"axes": {
|
|
9328
|
+
"layout": {
|
|
9329
|
+
"panel": "Questions 24px apart, in a side panel or a sheet (default)",
|
|
9330
|
+
"compact": "Questions 16px apart, inside a popover or a narrow column"
|
|
9331
|
+
}
|
|
9332
|
+
},
|
|
9333
|
+
"defaults": {
|
|
9334
|
+
"layout": "panel"
|
|
9335
|
+
}
|
|
9336
|
+
},
|
|
9004
9337
|
"REASONING": {
|
|
9005
9338
|
"axes": {
|
|
9006
9339
|
"state": {
|
|
@@ -9047,7 +9380,7 @@
|
|
|
9047
9380
|
"components": [
|
|
9048
9381
|
{
|
|
9049
9382
|
"name": "Popover",
|
|
9050
|
-
"description": "A floating panel next to its trigger:
|
|
9383
|
+
"description": "A floating panel next to its trigger: a 10px plate with a hairline and one long, quiet shadow; collision-aware and never wider than the screen. Its content takes a title, or an aria-label, which names it.",
|
|
9051
9384
|
"props": [
|
|
9052
9385
|
{
|
|
9053
9386
|
"name": "children",
|
|
@@ -9093,7 +9426,7 @@
|
|
|
9093
9426
|
"axes": {
|
|
9094
9427
|
"padding": {
|
|
9095
9428
|
"form": "12px: forms and free content (default)",
|
|
9096
|
-
"list": "6px: lists of rows, concentric with
|
|
9429
|
+
"list": "6px: lists of rows, concentric with 4px items",
|
|
9097
9430
|
"none": "No padding: calendars and custom layouts"
|
|
9098
9431
|
}
|
|
9099
9432
|
},
|
|
@@ -9502,18 +9835,18 @@
|
|
|
9502
9835
|
"description": "Sign-in and setup: no chrome, a centered 400px column on the panel with the title and description centered above the form. The wordmark sits top left exactly where the sidebar header puts it in every other layout: as far in as it is down (28px; centered in a 52px row 8px from the top).",
|
|
9503
9836
|
"props": [
|
|
9504
9837
|
{
|
|
9505
|
-
"name": "
|
|
9838
|
+
"name": "title",
|
|
9506
9839
|
"type": "ReactNode",
|
|
9507
9840
|
"required": true,
|
|
9508
9841
|
"default": null,
|
|
9509
|
-
"description": "The
|
|
9842
|
+
"description": "The page's heading."
|
|
9510
9843
|
},
|
|
9511
9844
|
{
|
|
9512
|
-
"name": "
|
|
9845
|
+
"name": "children",
|
|
9513
9846
|
"type": "ReactNode",
|
|
9514
|
-
"required":
|
|
9847
|
+
"required": false,
|
|
9515
9848
|
"default": null,
|
|
9516
|
-
"description": "The page's
|
|
9849
|
+
"description": "The form or the page's one action; leave it out when the title and description say everything."
|
|
9517
9850
|
},
|
|
9518
9851
|
{
|
|
9519
9852
|
"name": "className",
|
|
@@ -9534,14 +9867,14 @@
|
|
|
9534
9867
|
"type": "ReactNode",
|
|
9535
9868
|
"required": false,
|
|
9536
9869
|
"default": null,
|
|
9537
|
-
"description": "Content under the form, such as a link to sign up."
|
|
9870
|
+
"description": "Content under the form, such as a link to sign up; centered in the column, also when it wraps."
|
|
9538
9871
|
}
|
|
9539
9872
|
],
|
|
9540
9873
|
"file": "src/components/section/section.tsx"
|
|
9541
9874
|
},
|
|
9542
9875
|
{
|
|
9543
9876
|
"name": "Section",
|
|
9544
|
-
"description": "A section of a page: a title-sm heading with optional
|
|
9877
|
+
"description": "A section of a page, as kaeso.app heads one: a title-sm heading with an optional sentence under it and actions at the end of its row, standing on a 1px rule in the strong line colour. No frame: the content follows 16px under the rule. The title keeps 240px beside the actions before they wrap under it, and actions wider than the row wrap among themselves.",
|
|
9545
9878
|
"props": [
|
|
9546
9879
|
{
|
|
9547
9880
|
"name": "children",
|
|
@@ -9921,12 +10254,12 @@
|
|
|
9921
10254
|
"SELECT": {
|
|
9922
10255
|
"axes": {
|
|
9923
10256
|
"appearance": {
|
|
9924
|
-
"default": "A pill with the same ring, hover and focus as a text input (default)",
|
|
10257
|
+
"default": "A pill with the same ring, hover and focus as a text input, its value in the input's regular weight (default)",
|
|
9925
10258
|
"ghost": "Inline in settings rows: “GPT-5 mini (default) ⌄”",
|
|
9926
10259
|
"header": "Transparent until hovered, in full text colour: a column header's model"
|
|
9927
10260
|
},
|
|
9928
10261
|
"size": {
|
|
9929
|
-
"sm": "32px: settings rows and toolbars",
|
|
10262
|
+
"sm": "32px: settings rows and toolbars; the chevron centred in the pill's end, as in every field",
|
|
9930
10263
|
"md": "36px (default)",
|
|
9931
10264
|
"lg": "40px",
|
|
9932
10265
|
"xl": "48px: sign-in and setup forms"
|
|
@@ -9964,10 +10297,10 @@
|
|
|
9964
10297
|
},
|
|
9965
10298
|
{
|
|
9966
10299
|
"name": "tone",
|
|
9967
|
-
"type": "\"default\" | \"subtle\"",
|
|
10300
|
+
"type": "\"ink\" | \"default\" | \"subtle\" | \"strong\" | \"marker\"",
|
|
9968
10301
|
"required": false,
|
|
9969
10302
|
"default": "subtle",
|
|
9970
|
-
"description": "A subtle
|
|
10303
|
+
"description": "A subtle line inside groups, a clearer one between regions, `strong` for a section head's rule, `marker` for a list item's short hairline, or `ink` in the text colour for a quotation's rule (2px wide when vertical)."
|
|
9971
10304
|
}
|
|
9972
10305
|
],
|
|
9973
10306
|
"file": "src/components/separator/separator.tsx"
|
|
@@ -9982,7 +10315,10 @@
|
|
|
9982
10315
|
},
|
|
9983
10316
|
"tone": {
|
|
9984
10317
|
"subtle": "Inside groups and tables (default)",
|
|
9985
|
-
"default": "Between regions that tone and space cannot separate"
|
|
10318
|
+
"default": "Between regions that tone and space cannot separate",
|
|
10319
|
+
"strong": "A section head's rule, as kaeso.app draws it",
|
|
10320
|
+
"marker": "A list item's short hairline marker, as kaeso.app's articles draw it",
|
|
10321
|
+
"ink": "A quotation's rule: kaeso.app's blockquote stands behind a line in the text colour, 2px wide when vertical"
|
|
9986
10322
|
}
|
|
9987
10323
|
},
|
|
9988
10324
|
"defaults": {
|
|
@@ -9999,7 +10335,7 @@
|
|
|
9999
10335
|
"components": [
|
|
10000
10336
|
{
|
|
10001
10337
|
"name": "SettingsGroup",
|
|
10002
|
-
"description": "A group of settings rows
|
|
10338
|
+
"description": "A group of settings rows on one cut plate: raised, 6px corners and a hairline ring, no shadow. Rows are divided by hairlines across the whole plate, as the checkbox and radio cards it holds are.",
|
|
10003
10339
|
"props": [
|
|
10004
10340
|
{
|
|
10005
10341
|
"name": "children",
|
|
@@ -10027,7 +10363,7 @@
|
|
|
10027
10363
|
},
|
|
10028
10364
|
{
|
|
10029
10365
|
"name": "SettingsRow",
|
|
10030
|
-
"description": "One setting: title 15/500 and description 13 on the left, the control on the right. The row is its own size container: narrower than 480px inside its padding (the `settings-row` container size, a phone), every row's control moves under its text, so the rows of a group line up the same way whatever their control's width. A ghost or quiet button that ends the control keeps its label on the row's edge, where an outlined button's ring ends; under the text it starts on the text's edge.",
|
|
10366
|
+
"description": "One setting: title 15/500 and description 13 on the left, the control on the right. The row is its own size container: narrower than 480px inside its padding (the `settings-row` container size, a phone), every row's control moves under its text, so the rows of a group line up the same way whatever their control's width; a `Switch`, as narrow as a chevron, keeps its place at the row's end. A ghost or quiet button that ends the control keeps its label on the row's edge, where an outlined button's ring ends; under the text it starts on the text's edge.",
|
|
10031
10367
|
"props": [
|
|
10032
10368
|
{
|
|
10033
10369
|
"name": "title",
|
|
@@ -10131,7 +10467,7 @@
|
|
|
10131
10467
|
"components": [
|
|
10132
10468
|
{
|
|
10133
10469
|
"name": "Sheet",
|
|
10134
|
-
"description": "A panel that slides in from the edge of the screen, for details and longer forms. While it slides out it keeps showing what it showed when it was open, so a page can let go of the row as soon as it closes.",
|
|
10470
|
+
"description": "A panel that slides in from the edge of the screen, for details and longer forms: its title alone at the top with its actions and the close circle at the end edge, a hairline under it once the body scrolls and over the footer while content is below. While it slides out it keeps showing what it showed when it was open, so a page can let go of the row as soon as it closes.",
|
|
10135
10471
|
"props": [
|
|
10136
10472
|
{
|
|
10137
10473
|
"name": "children",
|
|
@@ -10319,8 +10655,8 @@
|
|
|
10319
10655
|
"rail": "60px: icons only, labels in tooltips"
|
|
10320
10656
|
},
|
|
10321
10657
|
"item": {
|
|
10322
|
-
"default": "A navigation item",
|
|
10323
|
-
"active": "The current page"
|
|
10658
|
+
"default": "A navigation item: a pill that fills under the pointer",
|
|
10659
|
+
"active": "The current page, a filled pill"
|
|
10324
10660
|
},
|
|
10325
10661
|
"caption": {
|
|
10326
10662
|
"secondary": "A quiet second line under the switcher's label (default)",
|
|
@@ -10366,8 +10702,8 @@
|
|
|
10366
10702
|
"SKELETON": {
|
|
10367
10703
|
"axes": {
|
|
10368
10704
|
"shape": {
|
|
10369
|
-
"block": "
|
|
10370
|
-
"line": "A
|
|
10705
|
+
"block": "A cut plate for charts and wells (default)",
|
|
10706
|
+
"line": "A bar for a line of text, cut like a plate",
|
|
10371
10707
|
"circle": "Avatars and icons",
|
|
10372
10708
|
"control": "The shape of a 36px control"
|
|
10373
10709
|
}
|
|
@@ -10565,7 +10901,7 @@
|
|
|
10565
10901
|
},
|
|
10566
10902
|
{
|
|
10567
10903
|
"name": "Stat",
|
|
10568
|
-
"description": "A number. Plain, it is a big number followed by its word, no box, as on a usage page. As a `tile` (`variant=\"tile\"`), it is one metric of a dashboard row in a `StatGroup
|
|
10904
|
+
"description": "A number, set medium, tight and tabular. Plain, it is a big number followed by its word, no box, as on a usage page. As a `tile` (`variant=\"tile\"`), it is one metric of a dashboard row in a `StatGroup`, set as kaeso.app sets its key figures: a flat plate with the number large at its head (40px where it fits), the change against the previous period and the trend under it, and its label at the foot over a rule. Screen readers still hear the label first.",
|
|
10569
10905
|
"props": [
|
|
10570
10906
|
{
|
|
10571
10907
|
"name": "value",
|
|
@@ -10607,7 +10943,7 @@
|
|
|
10607
10943
|
"type": "ReactNode",
|
|
10608
10944
|
"required": false,
|
|
10609
10945
|
"default": null,
|
|
10610
|
-
"description": "What the number
|
|
10946
|
+
"description": "What the number counts: \"Requests\", \"Cost\". A tile sets it at its foot."
|
|
10611
10947
|
},
|
|
10612
10948
|
{
|
|
10613
10949
|
"name": "loading",
|
|
@@ -10656,7 +10992,7 @@
|
|
|
10656
10992
|
},
|
|
10657
10993
|
{
|
|
10658
10994
|
"name": "StatGroup",
|
|
10659
|
-
"description": "Stats side by side. As a `grid` (the default), tiles
|
|
10995
|
+
"description": "Stats side by side. As a `grid` (the default), tiles are flat plates 8px apart: two to a row, then as many as there are tiles (up to four) from 1024px. The last tile of a short row widens to fill it, so the group never shows an empty cell. Where a number doesn't fit its tile, every tile's number steps down a size (40, 28, 20, then 17px), and the tiles take a row each when even the smallest doesn't fit; live numbers only step down at the same width, so a digit that comes and goes doesn't make the tiles jump. As a `row`, three to five plain numbers sit side by side with generous space between them.",
|
|
10660
10996
|
"props": [
|
|
10661
10997
|
{
|
|
10662
10998
|
"name": "children",
|
|
@@ -10709,11 +11045,11 @@
|
|
|
10709
11045
|
"axes": {
|
|
10710
11046
|
"variant": {
|
|
10711
11047
|
"plain": "A number with its unit and change, in a row of numbers (default)",
|
|
10712
|
-
"tile": "A
|
|
11048
|
+
"tile": "A flat plate in a StatGroup: the number large at its head, its change, detail and optional trend, and what it counts at its foot"
|
|
10713
11049
|
},
|
|
10714
11050
|
"size": {
|
|
10715
|
-
"md": "28/32 metric (default)",
|
|
10716
|
-
"sm": "20/
|
|
11051
|
+
"md": "28/32 metric, medium and tight (default)",
|
|
11052
|
+
"sm": "20/26 for dense rows"
|
|
10717
11053
|
}
|
|
10718
11054
|
},
|
|
10719
11055
|
"defaults": {
|
|
@@ -10724,7 +11060,7 @@
|
|
|
10724
11060
|
"STAT_GROUP": {
|
|
10725
11061
|
"axes": {
|
|
10726
11062
|
"variant": {
|
|
10727
|
-
"grid": "Tiles
|
|
11063
|
+
"grid": "Tiles as flat plates 8px apart, fitting the columns and the size of every number to the room (default)",
|
|
10728
11064
|
"row": "Plain numbers in a row that wraps"
|
|
10729
11065
|
}
|
|
10730
11066
|
},
|
|
@@ -10861,7 +11197,7 @@
|
|
|
10861
11197
|
"components": [
|
|
10862
11198
|
{
|
|
10863
11199
|
"name": "Switch",
|
|
10864
|
-
"description": "A pill track and a round thumb that travels in 180ms.",
|
|
11200
|
+
"description": "A pill track and a round thumb that travels in 180ms. Off, it is ringed like a field with a grey thumb; on, it fills with ink and the thumb turns light, as a checked box does.",
|
|
10865
11201
|
"props": [
|
|
10866
11202
|
{
|
|
10867
11203
|
"name": "aria-label",
|
|
@@ -10983,9 +11319,9 @@
|
|
|
10983
11319
|
"SWITCH": {
|
|
10984
11320
|
"axes": {
|
|
10985
11321
|
"size": {
|
|
10986
|
-
"sm": "28×16,
|
|
10987
|
-
"md": "36×20,
|
|
10988
|
-
"lg": "44×24,
|
|
11322
|
+
"sm": "28×16, 10px thumb",
|
|
11323
|
+
"md": "36×20, 14px thumb (default)",
|
|
11324
|
+
"lg": "44×24, 18px thumb"
|
|
10989
11325
|
}
|
|
10990
11326
|
},
|
|
10991
11327
|
"defaults": {
|
|
@@ -11001,7 +11337,7 @@
|
|
|
11001
11337
|
"components": [
|
|
11002
11338
|
{
|
|
11003
11339
|
"name": "Table",
|
|
11004
|
-
"description": "A plain table for small amounts of data; use `DataTable` for sorting, selection and many rows. It has no row boxes, so its text sits on the gutter, not 12px in; its rows are 40px like DataTable's and grow when a cell wraps. Wider than its room, it scrolls sideways inside its own box under an edge fade, and the box takes focus as a group named \"Table, scrolls sideways\". Keep ids and model names on one line with `className=\"whitespace-nowrap\"` on their cells.",
|
|
11340
|
+
"description": "A plain table for small amounts of data; use `DataTable` for sorting, selection and many rows. It has no row boxes, so its text sits on the gutter, not 12px in; its rows are 40px like DataTable's, each with a hairline at its foot under a head that stands on a rule in the strong line colour, and grow when a cell wraps, the first lines of its cells on one baseline so a key reads beside the first line of its note. Wider than its room, it scrolls sideways inside its own box under an edge fade, and the box takes focus as a group named \"Table, scrolls sideways\". Keep ids and model names on one line with `className=\"whitespace-nowrap\"` on their cells.",
|
|
11005
11341
|
"props": [
|
|
11006
11342
|
{
|
|
11007
11343
|
"name": "density",
|
|
@@ -11092,7 +11428,7 @@
|
|
|
11092
11428
|
"TABS": {
|
|
11093
11429
|
"axes": {
|
|
11094
11430
|
"variant": {
|
|
11095
|
-
"underline": "Underline tabs for detail pages: 40px, the first label on the content edge like the heading above, 24px apart, a 2px ink
|
|
11431
|
+
"underline": "Underline tabs for detail pages: 40px, the first label on the content edge like the heading above, 24px apart, a square 2px ink rule under the label that slides along the hairline; hover previews it",
|
|
11096
11432
|
"pill": "Header tabs: separate 32px pills, the active one filled; the first pill's edge on the gutter"
|
|
11097
11433
|
}
|
|
11098
11434
|
},
|
|
@@ -11284,10 +11620,10 @@
|
|
|
11284
11620
|
"body": "14/20: the default",
|
|
11285
11621
|
"body-lg": "15/22 500: settings row titles, dialog body",
|
|
11286
11622
|
"title-sm": "17/24 600: section and dialog titles",
|
|
11287
|
-
"title": "20/
|
|
11288
|
-
"title-lg": "28/
|
|
11289
|
-
"display": "40/
|
|
11290
|
-
"metric": "28/32
|
|
11623
|
+
"title": "20/26 600, -0.022em: empty-state and compact page titles",
|
|
11624
|
+
"title-lg": "28/32 600, -0.032em: settings page titles, auth screens",
|
|
11625
|
+
"display": "40/42 600, -0.042em: showcase headings, the setup screen",
|
|
11626
|
+
"metric": "28/32 500 tabular, -0.04em: big numbers, set like kaeso.app's figures"
|
|
11291
11627
|
},
|
|
11292
11628
|
"tone": {
|
|
11293
11629
|
"default": "Primary text",
|
|
@@ -11409,6 +11745,13 @@
|
|
|
11409
11745
|
"default": null,
|
|
11410
11746
|
"description": "Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`."
|
|
11411
11747
|
},
|
|
11748
|
+
{
|
|
11749
|
+
"name": "display",
|
|
11750
|
+
"type": "\"menu\" | \"segmented\"",
|
|
11751
|
+
"required": false,
|
|
11752
|
+
"default": "menu",
|
|
11753
|
+
"description": "One circle that opens the choices (`menu`), or the three choices side by side as icons with the current one raised (`segmented`), for the foot of a sidebar where one tap changes the theme."
|
|
11754
|
+
},
|
|
11412
11755
|
{
|
|
11413
11756
|
"name": "side",
|
|
11414
11757
|
"type": "\"top\" | \"bottom\"",
|
|
@@ -11421,7 +11764,7 @@
|
|
|
11421
11764
|
"type": "\"md\" | \"sm\"",
|
|
11422
11765
|
"required": false,
|
|
11423
11766
|
"default": "sm",
|
|
11424
|
-
"description": "The button's height."
|
|
11767
|
+
"description": "The button's or the track's height."
|
|
11425
11768
|
},
|
|
11426
11769
|
{
|
|
11427
11770
|
"name": "variant",
|
|
@@ -11455,7 +11798,7 @@
|
|
|
11455
11798
|
"components": [
|
|
11456
11799
|
{
|
|
11457
11800
|
"name": "MediaView",
|
|
11458
|
-
"description": "An image, an audio clip, a video or a file someone sent or a model made, with a line that names it and a download: an image is a thumbnail that opens to the whole image in place, audio and video play in the browser's own player.",
|
|
11801
|
+
"description": "An image, an audio clip, a video or a file someone sent or a model made, with a line that names it and a download: an image is a thumbnail that opens to the whole image in place, audio and video play in the browser's own player, and a file that can only be downloaded stands beside a file mark on a cut plate. The download carries its arrow.",
|
|
11459
11802
|
"props": [
|
|
11460
11803
|
{
|
|
11461
11804
|
"name": "label",
|
|
@@ -11511,7 +11854,7 @@
|
|
|
11511
11854
|
},
|
|
11512
11855
|
{
|
|
11513
11856
|
"name": "Thumbnail",
|
|
11514
|
-
"description": "A square image someone sent, such as a photo in a conversation: cropped to fill, on a
|
|
11857
|
+
"description": "A square image someone sent, such as a photo in a conversation: cropped to fill, on a cut plate (radius 6) with a hairline just inside its edge; when it can't load, its text alternative shows instead, at the plate's foot like a caption.",
|
|
11515
11858
|
"props": [
|
|
11516
11859
|
{
|
|
11517
11860
|
"name": "alt",
|
|
@@ -11551,8 +11894,8 @@
|
|
|
11551
11894
|
"kind": {
|
|
11552
11895
|
"image": "A thumbnail that opens to the whole image in place, and closes again (default)",
|
|
11553
11896
|
"audio": "The browser's audio player",
|
|
11554
|
-
"video": "The browser's video player on a
|
|
11555
|
-
"file": "Nothing to play: the name, the detail and the download
|
|
11897
|
+
"video": "The browser's video player on a cut plate",
|
|
11898
|
+
"file": "Nothing to play: a file mark on a cut plate beside the name, the detail and the download"
|
|
11556
11899
|
}
|
|
11557
11900
|
},
|
|
11558
11901
|
"defaults": {
|
|
@@ -11580,7 +11923,7 @@
|
|
|
11580
11923
|
"components": [
|
|
11581
11924
|
{
|
|
11582
11925
|
"name": "Timeline",
|
|
11583
|
-
"description": "Events down a 1px line (the audit log): each event marks the line with a short 3px bar in its tone, no dots; titles, and times on the right. A toned event's title starts with its tone in words for screen readers (\"Critical: Key revoked\"), and a time with `datetime` shows the exact date and time in a tooltip.",
|
|
11926
|
+
"description": "Events down a 1px line (the audit log): each event marks the line with a short 3px bar in its tone with cut corners, no dots; titles, and times on the right. A toned event's title starts with its tone in words for screen readers (\"Critical: Key revoked\"), and a time with `datetime` shows the exact date and time in a tooltip.",
|
|
11584
11927
|
"props": [
|
|
11585
11928
|
{
|
|
11586
11929
|
"name": "events",
|
|
@@ -11669,7 +12012,7 @@
|
|
|
11669
12012
|
"components": [
|
|
11670
12013
|
{
|
|
11671
12014
|
"name": "TableOfContents",
|
|
11672
|
-
"description": "\"On this page\": the heading in view
|
|
12015
|
+
"description": "\"On this page\" beside the text: one row per heading between hairlines, the heading in view at full strength with the line under it in ink, the others faded. A subheading's row and its line start 12px in.",
|
|
11673
12016
|
"props": [
|
|
11674
12017
|
{
|
|
11675
12018
|
"name": "items",
|
|
@@ -11707,8 +12050,8 @@
|
|
|
11707
12050
|
"TABLE_OF_CONTENTS": {
|
|
11708
12051
|
"axes": {
|
|
11709
12052
|
"state": {
|
|
11710
|
-
"default": "A heading",
|
|
11711
|
-
"active": "The heading in view,
|
|
12053
|
+
"default": "A heading, faded until it is read or pointed at",
|
|
12054
|
+
"active": "The heading in view, at full strength, its row's hairline drawn in ink (the only line left in forced colours)"
|
|
11712
12055
|
}
|
|
11713
12056
|
},
|
|
11714
12057
|
"defaults": {
|
|
@@ -11724,7 +12067,7 @@
|
|
|
11724
12067
|
"components": [
|
|
11725
12068
|
{
|
|
11726
12069
|
"name": "Toolbar",
|
|
11727
|
-
"description": "A row of controls above a list or a chart: one tab stop, with the arrow keys moving between its controls.",
|
|
12070
|
+
"description": "A row of controls above a list or a chart: one tab stop, with the arrow keys moving between its controls; a Segmented or tabs in it keep their own tab stop and arrow keys.",
|
|
11728
12071
|
"props": [
|
|
11729
12072
|
{
|
|
11730
12073
|
"name": "aria-label",
|
|
@@ -11765,7 +12108,7 @@
|
|
|
11765
12108
|
"components": [
|
|
11766
12109
|
{
|
|
11767
12110
|
"name": "Tooltip",
|
|
11768
|
-
"description": "A short label for a control, shown on hover and focus. When it says more than the control's name, it is also the control's accessible description. Never on disabled elements without a reason.",
|
|
12111
|
+
"description": "A short label for a control, shown on hover and focus, on a dark plate in both themes so it never reads as another control. When it says more than the control's name, it is also the control's accessible description. Never on disabled elements without a reason.",
|
|
11769
12112
|
"props": [
|
|
11770
12113
|
{
|
|
11771
12114
|
"name": "children",
|
|
@@ -11880,7 +12223,7 @@
|
|
|
11880
12223
|
},
|
|
11881
12224
|
"shape": {
|
|
11882
12225
|
"pill": "Single line: a pill (default)",
|
|
11883
|
-
"multiline": "Several lines: radius
|
|
12226
|
+
"multiline": "Several lines: radius 8, max 280px"
|
|
11884
12227
|
}
|
|
11885
12228
|
},
|
|
11886
12229
|
"defaults": {
|