@logicplanes/kaeso-ui 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -0
- package/NOTICE.md +1 -1
- package/ai/component-guides.md +249 -24
- package/ai/component-registry.json +1044 -67
- package/ai/component-registry.md +238 -50
- package/ai/icons.md +1 -1
- package/ai/tokens.md +7 -3
- package/dist/blocks/delete-resource.js +1 -1
- package/dist/blocks/pages.js +5 -5
- package/dist/blocks/resource-list.js +4 -4
- package/dist/chunks/app-frame-B9vrgwaE.js +220 -0
- package/dist/chunks/app-frame-B9vrgwaE.js.map +1 -0
- package/dist/chunks/{avatar-D2nJNbtC.js → avatar-DOzOhYJr.js} +2 -2
- package/dist/chunks/{avatar-D2nJNbtC.js.map → avatar-DOzOhYJr.js.map} +1 -1
- package/dist/chunks/{badge-Dkyhs0_j.js → badge-wUHlj7m3.js} +2 -2
- package/dist/chunks/{badge-Dkyhs0_j.js.map → badge-wUHlj7m3.js.map} +1 -1
- package/dist/chunks/{banner-DxGBPQ7p.js → banner-BBlNFHd-.js} +4 -4
- package/dist/chunks/{banner-DxGBPQ7p.js.map → banner-BBlNFHd-.js.map} +1 -1
- package/dist/chunks/{button-DQvoOxVQ.js → button-CAPyW-v8.js} +8 -8
- package/dist/chunks/{button-DQvoOxVQ.js.map → button-CAPyW-v8.js.map} +1 -1
- package/dist/chunks/{calendar-CN3YJi2k.js → calendar-CBeptQFq.js} +2 -2
- package/dist/chunks/{calendar-CN3YJi2k.js.map → calendar-CBeptQFq.js.map} +1 -1
- package/dist/chunks/{checkbox-BgRdbfCE.js → checkbox-C5yvSS7O.js} +3 -3
- package/dist/chunks/{checkbox-BgRdbfCE.js.map → checkbox-C5yvSS7O.js.map} +1 -1
- package/dist/chunks/{cn-CidVUKMm.js → cn-DUDmdLpZ.js} +3 -1
- package/dist/chunks/cn-DUDmdLpZ.js.map +1 -0
- package/dist/chunks/{code-BADhvsgC.js → code-C49NzHUQ.js} +2 -2
- package/dist/chunks/{code-BADhvsgC.js.map → code-C49NzHUQ.js.map} +1 -1
- package/dist/chunks/{code-block-DxtladFW.js → code-block-DREsvJ-g.js} +24 -21
- package/dist/chunks/code-block-DREsvJ-g.js.map +1 -0
- package/dist/chunks/{collapsible-Cw_1aem5.js → collapsible-CDQq1Y9x.js} +6 -6
- package/dist/chunks/collapsible-CDQq1Y9x.js.map +1 -0
- package/dist/chunks/combobox-DqtzsAKG.js +314 -0
- package/dist/chunks/combobox-DqtzsAKG.js.map +1 -0
- package/dist/chunks/command-list-D5k0uvkR.js +417 -0
- package/dist/chunks/command-list-D5k0uvkR.js.map +1 -0
- package/dist/chunks/{copy-button-DXxn-YYZ.js → copy-button-CNpEnS04.js} +6 -6
- package/dist/chunks/{copy-button-DXxn-YYZ.js.map → copy-button-CNpEnS04.js.map} +1 -1
- package/dist/chunks/{core-K960A4OT.js → core-CqLWVMDI.js} +36 -36
- package/dist/chunks/core-CqLWVMDI.js.map +1 -0
- package/dist/chunks/{date-popup-B-6xhb-1.js → date-popup-BgDz6SUj.js} +4 -4
- package/dist/chunks/{date-popup-B-6xhb-1.js.map → date-popup-BgDz6SUj.js.map} +1 -1
- package/dist/chunks/{de-CTAo4KL7.js → de-CkXZKaBD.js} +37 -5
- package/dist/chunks/de-CkXZKaBD.js.map +1 -0
- package/dist/chunks/dialog-truWH0qe.js +353 -0
- package/dist/chunks/dialog-truWH0qe.js.map +1 -0
- package/dist/chunks/{empty-DIbBpytW.js → empty-YXmSkKzR.js} +2 -2
- package/dist/chunks/{empty-DIbBpytW.js.map → empty-YXmSkKzR.js.map} +1 -1
- package/dist/chunks/{field-d8V94bvZ.js → field-BZriODU7.js} +3 -3
- package/dist/chunks/field-BZriODU7.js.map +1 -0
- package/dist/chunks/{icon-CeNQtobn.js → icon-BqujXDUc.js} +2 -2
- package/dist/chunks/{icon-CeNQtobn.js.map → icon-BqujXDUc.js.map} +1 -1
- package/dist/chunks/{icon-button-_x1RUphC.js → icon-button-D4O4puwH.js} +3 -3
- package/dist/chunks/{icon-button-_x1RUphC.js.map → icon-button-D4O4puwH.js.map} +1 -1
- package/dist/chunks/identity-CsZvAUwu.js +361 -0
- package/dist/chunks/identity-CsZvAUwu.js.map +1 -0
- package/dist/chunks/{input-CNTfI6YE.js → input-B0wtkcNh.js} +5 -5
- package/dist/chunks/{input-CNTfI6YE.js.map → input-B0wtkcNh.js.map} +1 -1
- package/dist/chunks/{input-group-CYA1MEoZ.js → input-group-BQLw06B0.js} +33 -27
- package/dist/chunks/input-group-BQLw06B0.js.map +1 -0
- package/dist/chunks/{inset-BLMdxX4I.js → inset-BnBj8NJV.js} +12 -2
- package/dist/chunks/inset-BnBj8NJV.js.map +1 -0
- package/dist/chunks/{iso-field-1qmg7TP8.js → iso-field-BUXgY1dB.js} +5 -3
- package/dist/chunks/{iso-field-1qmg7TP8.js.map → iso-field-BUXgY1dB.js.map} +1 -1
- package/dist/chunks/{json-view-B6KHIWzh.js → json-view-BkG2hTXV.js} +11 -10
- package/dist/chunks/{json-view-B6KHIWzh.js.map → json-view-BkG2hTXV.js.map} +1 -1
- package/dist/chunks/{kbd-CBcBDvqU.js → kbd-DqWmbr_e.js} +2 -2
- package/dist/chunks/{kbd-CBcBDvqU.js.map → kbd-DqWmbr_e.js.map} +1 -1
- package/dist/chunks/{link-vz9aV8WX.js → link-YMcxM-BZ.js} +4 -4
- package/dist/chunks/{link-vz9aV8WX.js.map → link-YMcxM-BZ.js.map} +1 -1
- package/dist/chunks/{link-provider---9JdxTg.js → link-provider-BsUxhZKG.js} +2 -2
- package/dist/chunks/{link-provider---9JdxTg.js.map → link-provider-BsUxhZKG.js.map} +1 -1
- package/dist/chunks/list-wXZIZo_s.js +492 -0
- package/dist/chunks/list-wXZIZo_s.js.map +1 -0
- package/dist/chunks/{loader-CUehxvSZ.js → loader-ENBh2Fbt.js} +2 -2
- package/dist/chunks/{loader-CUehxvSZ.js.map → loader-ENBh2Fbt.js.map} +1 -1
- package/dist/chunks/{markdown-5NyaHHfN.js → markdown-DWyxjsSY.js} +10 -10
- package/dist/chunks/{markdown-5NyaHHfN.js.map → markdown-DWyxjsSY.js.map} +1 -1
- package/dist/chunks/{menu-DyVPwgfF.js → menu-Bnfi9P3t.js} +7 -7
- package/dist/chunks/{menu-DyVPwgfF.js.map → menu-Bnfi9P3t.js.map} +1 -1
- package/dist/chunks/{meter-DWhyzFGQ.js → meter-DhTnem4k.js} +2 -2
- package/dist/chunks/{meter-DWhyzFGQ.js.map → meter-DhTnem4k.js.map} +1 -1
- package/dist/chunks/nav-sheet-QqNRHo-y.js +60 -0
- package/dist/chunks/nav-sheet-QqNRHo-y.js.map +1 -0
- package/dist/chunks/{nav-wordmark-DLkItdvo.js → nav-wordmark-DmbT1Aiw.js} +2 -2
- package/dist/chunks/{nav-wordmark-DLkItdvo.js.map → nav-wordmark-DmbT1Aiw.js.map} +1 -1
- package/dist/chunks/option-checkbox-Df7WhGn4.js +25 -0
- package/dist/chunks/option-checkbox-Df7WhGn4.js.map +1 -0
- package/dist/chunks/over-sheet-B8vzr_zU.js +8 -0
- package/dist/chunks/over-sheet-B8vzr_zU.js.map +1 -0
- package/dist/chunks/{page-header-CEPZzhRp.js → page-header-Ccnrspbp.js} +5 -5
- package/dist/chunks/{page-header-CEPZzhRp.js.map → page-header-Ccnrspbp.js.map} +1 -1
- package/dist/chunks/{pagination-CCMxQ5pH.js → pagination-CEmWZNjp.js} +5 -4
- package/dist/chunks/{pagination-CCMxQ5pH.js.map → pagination-CEmWZNjp.js.map} +1 -1
- package/dist/chunks/picker-popover-C4ElNk7t.js +102 -0
- package/dist/chunks/picker-popover-C4ElNk7t.js.map +1 -0
- package/dist/chunks/{popover-BE7VO-a4.js → popover-bjxg020P.js} +3 -3
- package/dist/chunks/{popover-BE7VO-a4.js.map → popover-bjxg020P.js.map} +1 -1
- package/dist/chunks/{radio-CUxbLCvD.js → radio-DwYcXAzv.js} +2 -2
- package/dist/chunks/{radio-CUxbLCvD.js.map → radio-DwYcXAzv.js.map} +1 -1
- package/dist/chunks/range-popup-CG9Jo5B7.js +128 -0
- package/dist/chunks/range-popup-CG9Jo5B7.js.map +1 -0
- package/dist/chunks/release-art-Chd8l9Rf.js +555 -0
- package/dist/chunks/release-art-Chd8l9Rf.js.map +1 -0
- package/dist/chunks/{resize-motion-CMaidkwe.js → resize-motion-BWGMchyP.js} +27 -23
- package/dist/chunks/resize-motion-BWGMchyP.js.map +1 -0
- package/dist/chunks/{rights-BbiJ0AJB.js → rights-hMoaFasn.js} +12 -12
- package/dist/chunks/rights-hMoaFasn.js.map +1 -0
- package/dist/chunks/{section-DzOLLN1p.js → section-BsET7Fo-.js} +4 -4
- package/dist/chunks/{section-DzOLLN1p.js.map → section-BsET7Fo-.js.map} +1 -1
- package/dist/chunks/{segmented-MrinfDL8.js → segmented-DXKVF-nY.js} +4 -4
- package/dist/chunks/{segmented-MrinfDL8.js.map → segmented-DXKVF-nY.js.map} +1 -1
- package/dist/chunks/{select-Bc4kRiSG.js → select-Bbv2f5F8.js} +63 -80
- package/dist/chunks/select-Bbv2f5F8.js.map +1 -0
- package/dist/chunks/{separator-D5AzVFTS.js → separator-CpAUELNs.js} +2 -2
- package/dist/chunks/{separator-D5AzVFTS.js.map → separator-CpAUELNs.js.map} +1 -1
- package/dist/chunks/{sidebar-5IA18LuP.js → sidebar-Dey1ZfGt.js} +54 -51
- package/dist/chunks/sidebar-Dey1ZfGt.js.map +1 -0
- package/dist/chunks/{sidebar-menu-DRWRxcJ3.js → sidebar-menu-ct8IiL4z.js} +2 -2
- package/dist/chunks/{sidebar-menu-DRWRxcJ3.js.map → sidebar-menu-ct8IiL4z.js.map} +1 -1
- package/dist/chunks/{skeleton-kfuqdl1a.js → skeleton-BM797MAg.js} +2 -2
- package/dist/chunks/{skeleton-kfuqdl1a.js.map → skeleton-BM797MAg.js.map} +1 -1
- package/dist/chunks/{slider-DbhjJ3ML.js → slider-Ds-tqY-1.js} +2 -2
- package/dist/chunks/{slider-DbhjJ3ML.js.map → slider-Ds-tqY-1.js.map} +1 -1
- package/dist/chunks/status-dot-BqVOlShY.js +29 -0
- package/dist/chunks/status-dot-BqVOlShY.js.map +1 -0
- package/dist/chunks/{styles-Btvg2DCf.js → styles-CVJU9t9v.js} +2 -2
- package/dist/chunks/{styles-Btvg2DCf.js.map → styles-CVJU9t9v.js.map} +1 -1
- package/dist/chunks/{swap-text-BhPI8DOf.js → swap-text-Cica0pUr.js} +2 -2
- package/dist/chunks/{swap-text-BhPI8DOf.js.map → swap-text-Cica0pUr.js.map} +1 -1
- package/dist/chunks/{switch-XMY_CQE-.js → switch-CSKMEomo.js} +3 -3
- package/dist/chunks/{switch-XMY_CQE-.js.map → switch-CSKMEomo.js.map} +1 -1
- package/dist/chunks/{table-DYKa86af.js → table-D-36EM7f.js} +2 -2
- package/dist/chunks/{table-DYKa86af.js.map → table-D-36EM7f.js.map} +1 -1
- package/dist/chunks/{tag-Dg89uYpV.js → tag-CwDKXVHj.js} +4 -4
- package/dist/chunks/{tag-Dg89uYpV.js.map → tag-CwDKXVHj.js.map} +1 -1
- package/dist/chunks/{text--5MKh2G4.js → text-Dvvgg5Jt.js} +3 -3
- package/dist/chunks/{text--5MKh2G4.js.map → text-Dvvgg5Jt.js.map} +1 -1
- package/dist/chunks/{textarea-Cj8iR82R.js → textarea-2d373OyU.js} +35 -31
- package/dist/chunks/textarea-2d373OyU.js.map +1 -0
- package/dist/chunks/timeseries-LRDAZHV0.js +339 -0
- package/dist/chunks/timeseries-LRDAZHV0.js.map +1 -0
- package/dist/chunks/{toolbar-Dw3uxpsE.js → toolbar-nVLFWH2i.js} +3 -3
- package/dist/chunks/{toolbar-Dw3uxpsE.js.map → toolbar-nVLFWH2i.js.map} +1 -1
- package/dist/chunks/{tooltip-DEbCCsru.js → tooltip-S1DmyLVl.js} +4 -4
- package/dist/chunks/{tooltip-DEbCCsru.js.map → tooltip-S1DmyLVl.js.map} +1 -1
- package/dist/chunks/{tooltip-root-DRd4ciUv.js → tooltip-root-vjylFUqw.js} +4 -4
- package/dist/chunks/{tooltip-root-DRd4ciUv.js.map → tooltip-root-vjylFUqw.js.map} +1 -1
- package/dist/chunks/{virtual-rows-BZe49bKi.js → virtual-rows-yAMjeAwj.js} +4 -3
- package/dist/chunks/virtual-rows-yAMjeAwj.js.map +1 -0
- package/dist/chunks/{zh-CN-C7GmVswt.js → zh-CN-CqEA4PCM.js} +37 -5
- package/dist/chunks/zh-CN-CqEA4PCM.js.map +1 -0
- package/dist/components/app-frame.js +2 -2
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/button-group.js +33 -32
- package/dist/components/button-group.js.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/charts/bar.js +34 -31
- package/dist/components/charts/bar.js.map +1 -1
- package/dist/components/charts/donut.js +2 -2
- package/dist/components/charts/gauge.js +2 -2
- package/dist/components/charts/heatmap.js +1 -1
- package/dist/components/charts/sankey.js +2 -2
- package/dist/components/charts/sparkline.js +1 -1
- package/dist/components/charts/timeseries.js +1 -252
- package/dist/components/charts.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-block.js +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-list.js +4 -0
- package/dist/components/command-palette.js +120 -171
- package/dist/components/command-palette.js.map +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/data-table.js +251 -193
- package/dist/components/data-table.js.map +1 -1
- package/dist/components/date-picker.js +7 -7
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/dialog.js +7 -9
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/display-options.js +67 -53
- package/dist/components/display-options.js.map +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/filter-chip.js +138 -63
- package/dist/components/filter-chip.js.map +1 -1
- package/dist/components/filter-row.js +2 -2
- package/dist/components/flow.js +2 -2
- package/dist/components/heading.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/input.js +56 -54
- package/dist/components/input.js.map +1 -1
- package/dist/components/kaeso/conversation.js +88 -79
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +8 -8
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +6 -6
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +212 -84
- package/dist/components/kaeso.js.map +1 -1
- package/dist/components/kbd.js +1 -1
- package/dist/components/key-value.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/logo.js +2 -2
- package/dist/components/markdown.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/meter.js +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/playground.js +654 -381
- package/dist/components/playground.js.map +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/qr-code.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/release-art.js +2 -0
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/section.js +1 -1
- package/dist/components/segmented.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/settings.js +3 -3
- package/dist/components/sheet.js +69 -52
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/stat.js +88 -74
- package/dist/components/stat.js.map +1 -1
- package/dist/components/status-dot.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/swap-text.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +48 -49
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/theme-image.js +1 -1
- package/dist/components/theme-menu.js +2 -2
- package/dist/components/theme-select.js +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/toast.js +4 -4
- package/dist/components/toc.js +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/visually-hidden.js +1 -1
- package/dist/format.js +132 -79
- package/dist/format.js.map +1 -1
- package/dist/i18n-provider.js +1 -1
- package/dist/index.js +115 -111
- package/dist/kaeso.css +43 -8
- package/dist/styles.css +1 -1
- package/dist/types/components/charts/bar.d.ts +6 -0
- package/dist/types/components/charts/core.d.ts +2 -2
- package/dist/types/components/charts/docs.d.ts +7 -0
- package/dist/types/components/charts/time-axis.d.ts +5 -0
- package/dist/types/components/charts/timeseries.d.ts +9 -0
- package/dist/types/components/code-block/highlighter.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +2 -0
- package/dist/types/components/combobox/docs.d.ts +2 -4
- package/dist/types/components/command-list/command-list.d.ts +84 -0
- package/dist/types/components/command-list/docs.d.ts +52 -0
- package/dist/types/components/command-list/index.d.ts +3 -0
- package/dist/types/components/command-list/match.d.ts +1 -0
- package/dist/types/components/command-list/picker-popover.d.ts +44 -0
- package/dist/types/components/data-table/data-table.d.ts +3 -2
- package/dist/types/components/data-table/docs.d.ts +1 -0
- package/dist/types/components/date-picker/docs.d.ts +0 -6
- package/dist/types/components/dialog/dialog.d.ts +24 -0
- package/dist/types/components/dialog/docs.d.ts +4 -0
- package/dist/types/components/display-options/display-options.d.ts +1 -0
- package/dist/types/components/filter-chip/docs.d.ts +4 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +7 -0
- package/dist/types/components/input/docs.d.ts +2 -12
- package/dist/types/components/input/number-input.d.ts +1 -0
- package/dist/types/components/input/tag-input.d.ts +1 -0
- package/dist/types/components/kaeso/docs.d.ts +34 -0
- package/dist/types/components/kaeso/identity.d.ts +10 -1
- package/dist/types/components/kaeso/index.d.ts +1 -0
- package/dist/types/components/kaeso/provider-marks.d.ts +5 -1
- package/dist/types/components/kaeso/provider-picker.d.ts +42 -0
- package/dist/types/components/list/docs.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +2 -0
- package/dist/types/components/menu/styles.d.ts +1 -1
- package/dist/types/components/playground/docs.d.ts +32 -0
- package/dist/types/components/playground/index.d.ts +1 -0
- package/dist/types/components/playground/model-picker.d.ts +39 -4
- package/dist/types/components/playground/reasoning.d.ts +29 -0
- package/dist/types/components/playground/response-view.d.ts +7 -1
- package/dist/types/components/release-art/docs.d.ts +13 -0
- package/dist/types/components/release-art/drawing.d.ts +48 -0
- package/dist/types/components/release-art/index.d.ts +1 -0
- package/dist/types/components/release-art/release-art.d.ts +37 -0
- package/dist/types/components/select/docs.d.ts +0 -2
- package/dist/types/components/select/option-checkbox.d.ts +1 -0
- package/dist/types/components/sidebar/sidebar.d.ts +1 -0
- package/dist/types/components/stat/docs.d.ts +1 -0
- package/dist/types/components/stat/stat.d.ts +1 -0
- package/dist/types/components/status-dot/docs.d.ts +2 -0
- package/dist/types/components/status-dot/status-dot.d.ts +2 -0
- package/dist/types/format/index.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/inset.d.ts +5 -0
- package/dist/types/utils/over-sheet.d.ts +1 -0
- package/dist/types/utils/restore-focus.d.ts +1 -1
- package/dist/utils.js +4 -4
- package/foundations/accessibility.md +1 -0
- package/foundations/layout.md +45 -0
- package/foundations/writing.md +1 -0
- package/package.json +2 -2
- package/dist/chunks/app-frame-BXh-06HL.js +0 -214
- package/dist/chunks/app-frame-BXh-06HL.js.map +0 -1
- package/dist/chunks/cn-CidVUKMm.js.map +0 -1
- package/dist/chunks/code-block-DxtladFW.js.map +0 -1
- package/dist/chunks/collapsible-Cw_1aem5.js.map +0 -1
- package/dist/chunks/combobox-D30Wt11R.js +0 -291
- package/dist/chunks/combobox-D30Wt11R.js.map +0 -1
- package/dist/chunks/core-K960A4OT.js.map +0 -1
- package/dist/chunks/de-CTAo4KL7.js.map +0 -1
- package/dist/chunks/dialog-LNKgPEsV.js +0 -319
- package/dist/chunks/dialog-LNKgPEsV.js.map +0 -1
- package/dist/chunks/field-d8V94bvZ.js.map +0 -1
- package/dist/chunks/field-press-DwzBFafd.js +0 -10
- package/dist/chunks/field-press-DwzBFafd.js.map +0 -1
- package/dist/chunks/identity-BtZC_d_Q.js +0 -342
- package/dist/chunks/identity-BtZC_d_Q.js.map +0 -1
- package/dist/chunks/input-group-CYA1MEoZ.js.map +0 -1
- package/dist/chunks/inset-BLMdxX4I.js.map +0 -1
- package/dist/chunks/list-CzaiyNja.js +0 -483
- package/dist/chunks/list-CzaiyNja.js.map +0 -1
- package/dist/chunks/nav-sheet-BIErlV74.js +0 -58
- package/dist/chunks/nav-sheet-BIErlV74.js.map +0 -1
- package/dist/chunks/range-popup-DGOnGGag.js +0 -111
- package/dist/chunks/range-popup-DGOnGGag.js.map +0 -1
- package/dist/chunks/resize-motion-CMaidkwe.js.map +0 -1
- package/dist/chunks/rights-BbiJ0AJB.js.map +0 -1
- package/dist/chunks/select-Bc4kRiSG.js.map +0 -1
- package/dist/chunks/sidebar-5IA18LuP.js.map +0 -1
- package/dist/chunks/status-dot-CBoQpyL4.js +0 -25
- package/dist/chunks/status-dot-CBoQpyL4.js.map +0 -1
- package/dist/chunks/textarea-Cj8iR82R.js.map +0 -1
- package/dist/chunks/virtual-rows-BZe49bKi.js.map +0 -1
- package/dist/chunks/zh-CN-C7GmVswt.js.map +0 -1
- package/dist/components/charts/timeseries.js.map +0 -1
|
@@ -33,6 +33,12 @@ export interface BarChartProps extends ChartState {
|
|
|
33
33
|
highlight?: number | undefined;
|
|
34
34
|
axisLabels?: string[] | undefined;
|
|
35
35
|
dates?: readonly AxisDate[] | undefined;
|
|
36
|
+
shares?: boolean | undefined;
|
|
37
|
+
partial?: {
|
|
38
|
+
first?: boolean | undefined;
|
|
39
|
+
last?: boolean | undefined;
|
|
40
|
+
ongoing?: boolean | undefined;
|
|
41
|
+
} | undefined;
|
|
36
42
|
"aria-label": string;
|
|
37
43
|
className?: string | undefined;
|
|
38
44
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
|
-
import { type ReactNode
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
3
|
import { tokenKindSeries } from "@logicplanes/kaeso-tokens";
|
|
4
4
|
import { type UiText } from "../../i18n/context.js";
|
|
5
5
|
export declare function wholeTicks(ticks: number[], values: number[]): number[];
|
|
@@ -13,7 +13,7 @@ export type TokenKind = keyof typeof tokenKindSeries;
|
|
|
13
13
|
export declare const tokenKindColor: (k: TokenKind, thin?: boolean) => "var(--k-viz-1)" | "var(--k-viz-2)" | "var(--k-viz-3)" | "var(--k-viz-4)" | "var(--k-viz-5)" | "var(--k-viz-6)" | "var(--k-viz-7)" | "var(--k-viz-8)" | "var(--k-viz-thin-1)" | "var(--k-viz-thin-2)" | "var(--k-viz-thin-3)" | "var(--k-viz-thin-4)" | "var(--k-viz-thin-5)" | "var(--k-viz-thin-6)" | "var(--k-viz-thin-7)" | "var(--k-viz-thin-8)" | "var(--k-viz-1-soft)";
|
|
14
14
|
export declare const TOKEN_KIND_ORDER: TokenKind[];
|
|
15
15
|
export declare function tokenKindLabel(kind: TokenKind, t?: UiText): string;
|
|
16
|
-
export declare function useSize<T extends HTMLElement>(): [
|
|
16
|
+
export declare function useSize<T extends HTMLElement>(): [(el: T | null) => void, {
|
|
17
17
|
width: number;
|
|
18
18
|
height: number;
|
|
19
19
|
}];
|
|
@@ -15,7 +15,9 @@ export declare const docs: {
|
|
|
15
15
|
layout: string;
|
|
16
16
|
loading: string;
|
|
17
17
|
onRetry: string;
|
|
18
|
+
partial: string;
|
|
18
19
|
series: string;
|
|
20
|
+
shares: string;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
ChartFrame: {
|
|
@@ -159,6 +161,7 @@ export declare const docs: {
|
|
|
159
161
|
empty: string;
|
|
160
162
|
emptyText: string;
|
|
161
163
|
error: string;
|
|
164
|
+
formatTick: string;
|
|
162
165
|
formatTime: string;
|
|
163
166
|
formatValue: string;
|
|
164
167
|
height: string;
|
|
@@ -167,8 +170,12 @@ export declare const docs: {
|
|
|
167
170
|
kind: string;
|
|
168
171
|
loading: string;
|
|
169
172
|
onRetry: string;
|
|
173
|
+
partial: string;
|
|
170
174
|
series: string;
|
|
175
|
+
shares: string;
|
|
171
176
|
threshold: string;
|
|
177
|
+
tickAt: string;
|
|
178
|
+
timeZone: string;
|
|
172
179
|
};
|
|
173
180
|
};
|
|
174
181
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type WallClock = (d: Date) => number;
|
|
2
|
+
export declare function wallClock(timeZone: string | undefined): WallClock;
|
|
3
|
+
export declare function fromWall(wall: number, clock: WallClock): Date;
|
|
4
|
+
export declare function zoneTicks(from: Date, to: Date, count: number, clock: WallClock): Date[];
|
|
5
|
+
export declare const wallDay: (d: Date, clock: WallClock) => string;
|
|
@@ -41,6 +41,15 @@ export interface TimeseriesChartProps extends ChartState {
|
|
|
41
41
|
hideLegend?: boolean | undefined;
|
|
42
42
|
highlight?: number | undefined;
|
|
43
43
|
formatTime?: ((t: Date) => string) | undefined;
|
|
44
|
+
formatTick?: ((t: Date) => string) | undefined;
|
|
45
|
+
tickAt?: "time" | "points" | undefined;
|
|
46
|
+
timeZone?: string | undefined;
|
|
47
|
+
shares?: boolean | undefined;
|
|
48
|
+
partial?: {
|
|
49
|
+
first?: boolean | undefined;
|
|
50
|
+
last?: boolean | undefined;
|
|
51
|
+
ongoing?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
44
53
|
"aria-label": string;
|
|
45
54
|
className?: string | undefined;
|
|
46
55
|
}
|
|
@@ -2,6 +2,7 @@ type Highlighter = {
|
|
|
2
2
|
codeToTokens: (code: string, o: {
|
|
3
3
|
lang: string;
|
|
4
4
|
theme: string;
|
|
5
|
+
tokenizeMaxLineLength?: number | undefined;
|
|
5
6
|
}) => {
|
|
6
7
|
tokens: {
|
|
7
8
|
content: string;
|
|
@@ -12,6 +13,7 @@ type Highlighter = {
|
|
|
12
13
|
getLoadedLanguages: () => string[];
|
|
13
14
|
loadLanguage: (...l: unknown[]) => Promise<void>;
|
|
14
15
|
};
|
|
16
|
+
export declare const HIGHLIGHT_MAX_CHARS = 200000;
|
|
15
17
|
export declare const CODE_LANGS: readonly ["ts", "tsx", "js", "json", "bash", "python", "yaml", "diff"];
|
|
16
18
|
export type CodeLang = (typeof CODE_LANGS)[number] | "text";
|
|
17
19
|
export declare function getHighlighter(): Promise<Highlighter>;
|
|
@@ -44,7 +44,9 @@ interface BaseProps extends FieldWrapProps {
|
|
|
44
44
|
emptyText?: ReactNode | undefined;
|
|
45
45
|
loading?: boolean | undefined;
|
|
46
46
|
onInputValueChange?: ((value: string) => void) | undefined;
|
|
47
|
+
searchDelay?: number | undefined;
|
|
47
48
|
onCreate?: ((label: string) => void) | undefined;
|
|
49
|
+
createLabel?: ((label: string) => string) | undefined;
|
|
48
50
|
disabled?: boolean | undefined;
|
|
49
51
|
invalid?: boolean | undefined;
|
|
50
52
|
id?: string | undefined;
|
|
@@ -18,8 +18,6 @@ export declare const docs: {
|
|
|
18
18
|
size: string;
|
|
19
19
|
suggestions: string;
|
|
20
20
|
value: string;
|
|
21
|
-
};
|
|
22
|
-
deprecated: {
|
|
23
21
|
error: string;
|
|
24
22
|
};
|
|
25
23
|
};
|
|
@@ -38,17 +36,17 @@ export declare const docs: {
|
|
|
38
36
|
loading: string;
|
|
39
37
|
multiple: string;
|
|
40
38
|
name: string;
|
|
39
|
+
createLabel: string;
|
|
41
40
|
onCreate: string;
|
|
42
41
|
onInputValueChange: string;
|
|
43
42
|
onValueChange: string;
|
|
43
|
+
searchDelay: string;
|
|
44
44
|
optional: string;
|
|
45
45
|
options: string;
|
|
46
46
|
placeholder: string;
|
|
47
47
|
required: string;
|
|
48
48
|
size: string;
|
|
49
49
|
value: string;
|
|
50
|
-
};
|
|
51
|
-
deprecated: {
|
|
52
50
|
error: string;
|
|
53
51
|
};
|
|
54
52
|
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type KeyboardEvent, type ReactNode } from "react";
|
|
2
|
+
export declare const KAESO_COMMAND_LIST_VARIANTS: {
|
|
3
|
+
readonly height: {
|
|
4
|
+
readonly popover: {
|
|
5
|
+
readonly classes: "picker-limits";
|
|
6
|
+
readonly description: "At most 480px or 70% of the window, shrinking to its rows: a popover (default)";
|
|
7
|
+
};
|
|
8
|
+
readonly inline: {
|
|
9
|
+
readonly classes: "max-h-360 rounded-group bg-raised shadow-xs";
|
|
10
|
+
readonly description: "Its rows' height up to 360px in a raised frame, kept while searching: a dialog step";
|
|
11
|
+
};
|
|
12
|
+
readonly fill: {
|
|
13
|
+
readonly classes: "min-h-0 flex-1";
|
|
14
|
+
readonly description: "Fills its parent: a phone sheet or a command palette";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
readonly size: {
|
|
18
|
+
readonly md: {
|
|
19
|
+
readonly classes: "";
|
|
20
|
+
readonly description: "A 44px search over 34px rows (default)";
|
|
21
|
+
};
|
|
22
|
+
readonly lg: {
|
|
23
|
+
readonly classes: "";
|
|
24
|
+
readonly description: "A 56px search over 40px rows: the command palette";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const KAESO_COMMAND_LIST_DEFAULT_VARIANTS: {
|
|
29
|
+
readonly height: "popover";
|
|
30
|
+
readonly size: "md";
|
|
31
|
+
};
|
|
32
|
+
export type CommandListHeight = keyof typeof KAESO_COMMAND_LIST_VARIANTS.height;
|
|
33
|
+
export interface CommandListRowState {
|
|
34
|
+
query: string;
|
|
35
|
+
active: boolean;
|
|
36
|
+
selected: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface CommandListItem {
|
|
39
|
+
value: string;
|
|
40
|
+
label: string;
|
|
41
|
+
keywords?: readonly string[] | undefined;
|
|
42
|
+
leading?: ReactNode | undefined;
|
|
43
|
+
meta?: ReactNode | undefined;
|
|
44
|
+
render?: ((state: CommandListRowState) => ReactNode) | undefined;
|
|
45
|
+
disabled?: boolean | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface CommandListGroup {
|
|
48
|
+
id: string;
|
|
49
|
+
label?: string | undefined;
|
|
50
|
+
leading?: ReactNode | undefined;
|
|
51
|
+
count?: ReactNode | undefined;
|
|
52
|
+
loading?: boolean | undefined;
|
|
53
|
+
items: CommandListItem[];
|
|
54
|
+
}
|
|
55
|
+
export interface CommandListProps {
|
|
56
|
+
groups: CommandListGroup[];
|
|
57
|
+
"aria-label": string;
|
|
58
|
+
value?: string | readonly string[] | null | undefined;
|
|
59
|
+
multiple?: boolean | undefined;
|
|
60
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
61
|
+
query?: string | undefined;
|
|
62
|
+
defaultQuery?: string | undefined;
|
|
63
|
+
onQueryChange?: ((query: string) => void) | undefined;
|
|
64
|
+
placeholder?: string | undefined;
|
|
65
|
+
emptyText?: ReactNode | undefined;
|
|
66
|
+
toolbar?: ReactNode | undefined;
|
|
67
|
+
footer?: ReactNode | undefined;
|
|
68
|
+
searchPrefix?: ReactNode | undefined;
|
|
69
|
+
loading?: boolean | undefined;
|
|
70
|
+
onInputKeyDown?: ((event: KeyboardEvent<HTMLInputElement>) => void) | undefined;
|
|
71
|
+
size?: keyof typeof KAESO_COMMAND_LIST_VARIANTS.size | undefined;
|
|
72
|
+
height?: CommandListHeight | undefined;
|
|
73
|
+
autoFocus?: boolean | undefined;
|
|
74
|
+
onEscape?: (() => void) | undefined;
|
|
75
|
+
escapeClears?: boolean | undefined;
|
|
76
|
+
match?: ((item: CommandListItem, query: string) => number) | undefined;
|
|
77
|
+
inputProps?: {
|
|
78
|
+
[attribute: `data-${string}`]: string;
|
|
79
|
+
} | undefined;
|
|
80
|
+
className?: string | undefined;
|
|
81
|
+
"data-force"?: string | undefined;
|
|
82
|
+
}
|
|
83
|
+
export declare const CommandListHeightContext: import("react").Context<"inline" | "fill" | "popover" | null>;
|
|
84
|
+
export declare const CommandList: import("react").ForwardRefExoticComponent<CommandListProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const docs: {
|
|
2
|
+
CommandList: {
|
|
3
|
+
description: string;
|
|
4
|
+
props: {
|
|
5
|
+
"aria-label": string;
|
|
6
|
+
autoFocus: string;
|
|
7
|
+
defaultQuery: string;
|
|
8
|
+
escapeClears: string;
|
|
9
|
+
emptyText: string;
|
|
10
|
+
footer: string;
|
|
11
|
+
groups: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
height: string;
|
|
14
|
+
inputProps: string;
|
|
15
|
+
match: string;
|
|
16
|
+
multiple: string;
|
|
17
|
+
onEscape: string;
|
|
18
|
+
onQueryChange: string;
|
|
19
|
+
onInputKeyDown: string;
|
|
20
|
+
onSelect: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
query: string;
|
|
23
|
+
searchPrefix: string;
|
|
24
|
+
size: string;
|
|
25
|
+
toolbar: string;
|
|
26
|
+
value: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
PickerPopover: {
|
|
30
|
+
description: string;
|
|
31
|
+
props: {
|
|
32
|
+
align: string;
|
|
33
|
+
children: string;
|
|
34
|
+
onOpenChange: string;
|
|
35
|
+
open: string;
|
|
36
|
+
title: string;
|
|
37
|
+
trigger: string;
|
|
38
|
+
width: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
PickerTrigger: {
|
|
42
|
+
description: string;
|
|
43
|
+
props: {
|
|
44
|
+
appearance: string;
|
|
45
|
+
children: string;
|
|
46
|
+
fullWidth: string;
|
|
47
|
+
invalid: string;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
size: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function commandMatch(query: string, fields: readonly string[]): number;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import { KAESO_SELECT_VARIANTS } from "../select/select.js";
|
|
3
|
+
export declare const KAESO_PICKER_POPOVER_VARIANTS: {
|
|
4
|
+
readonly width: {
|
|
5
|
+
readonly sm: {
|
|
6
|
+
readonly classes: "w-320";
|
|
7
|
+
readonly description: "320px: providers and short lists";
|
|
8
|
+
};
|
|
9
|
+
readonly md: {
|
|
10
|
+
readonly classes: "w-400";
|
|
11
|
+
readonly description: "400px (default)";
|
|
12
|
+
};
|
|
13
|
+
readonly lg: {
|
|
14
|
+
readonly classes: "w-560";
|
|
15
|
+
readonly description: "560px: models with their details";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const KAESO_PICKER_POPOVER_DEFAULT_VARIANTS: {
|
|
20
|
+
readonly width: "md";
|
|
21
|
+
};
|
|
22
|
+
export interface PickerPopoverProps {
|
|
23
|
+
trigger: ReactElement;
|
|
24
|
+
title: string;
|
|
25
|
+
open?: boolean | undefined;
|
|
26
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
27
|
+
width?: keyof typeof KAESO_PICKER_POPOVER_VARIANTS.width | undefined;
|
|
28
|
+
align?: "start" | "end" | undefined;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export declare function PickerPopover({ trigger, title, open, onOpenChange, width, align, children }: PickerPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare namespace PickerPopover {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
export interface PickerTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
|
|
36
|
+
appearance?: keyof typeof KAESO_SELECT_VARIANTS.appearance | undefined;
|
|
37
|
+
size?: keyof typeof KAESO_SELECT_VARIANTS.size | undefined;
|
|
38
|
+
fullWidth?: boolean | undefined;
|
|
39
|
+
invalid?: boolean | undefined;
|
|
40
|
+
placeholder?: ReactNode | undefined;
|
|
41
|
+
children?: ReactNode | undefined;
|
|
42
|
+
"data-force"?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export declare const PickerTrigger: import("react").ForwardRefExoticComponent<PickerTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -58,6 +58,7 @@ export interface DataTableProps<T> {
|
|
|
58
58
|
className?: string | undefined;
|
|
59
59
|
activeRowId?: string | undefined;
|
|
60
60
|
freshRowIds?: ReadonlySet<string> | undefined;
|
|
61
|
+
onHiddenColumnsChange?: ((ids: string[]) => void) | undefined;
|
|
61
62
|
}
|
|
62
63
|
export declare const DATA_TABLE_GROW_MIN = 136;
|
|
63
64
|
type FitColumn = {
|
|
@@ -68,12 +69,12 @@ type FitColumn = {
|
|
|
68
69
|
minWidth: number | undefined;
|
|
69
70
|
fixed?: boolean | undefined;
|
|
70
71
|
};
|
|
71
|
-
export declare function fitColumns(columns: FitColumn[], width: number): {
|
|
72
|
+
export declare function fitColumns(columns: FitColumn[], width: number, reserve?: number): {
|
|
72
73
|
hidden: string[];
|
|
73
74
|
tight: boolean;
|
|
74
75
|
overflow: boolean;
|
|
75
76
|
};
|
|
76
|
-
declare function DataTableInner<T>({ data, columns: userColumns, getRowId, density, onRowClick, rowMenu, selectable, selection, onSelectionChange, sorting: sortingProp, onSortingChange, manualSorting, loading, error, onRetry, empty, hasMore, loadingMore, onLoadMore, stickyFirstColumn, virtualizeAbove, className, activeRowId, freshRowIds, "aria-label": ariaLabel, }: DataTableProps<T>, ref: React.Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
declare function DataTableInner<T>({ data, columns: userColumns, getRowId, density, onRowClick, rowMenu, selectable, selection, onSelectionChange, sorting: sortingProp, onSortingChange, manualSorting, loading, error, onRetry, empty, hasMore, loadingMore, onLoadMore, stickyFirstColumn, virtualizeAbove, className, activeRowId, freshRowIds, onHiddenColumnsChange, "aria-label": ariaLabel, }: DataTableProps<T>, ref: React.Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
77
78
|
export declare const DataTable: <T>(p: DataTableProps<T> & {
|
|
78
79
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
79
80
|
}) => ReturnType<typeof DataTableInner>;
|
|
@@ -18,8 +18,6 @@ export declare const docs: {
|
|
|
18
18
|
size: string;
|
|
19
19
|
value: string;
|
|
20
20
|
weekStartsOn: string;
|
|
21
|
-
};
|
|
22
|
-
deprecated: {
|
|
23
21
|
error: string;
|
|
24
22
|
};
|
|
25
23
|
};
|
|
@@ -44,8 +42,6 @@ export declare const docs: {
|
|
|
44
42
|
size: string;
|
|
45
43
|
value: string;
|
|
46
44
|
weekStartsOn: string;
|
|
47
|
-
};
|
|
48
|
-
deprecated: {
|
|
49
45
|
error: string;
|
|
50
46
|
};
|
|
51
47
|
};
|
|
@@ -65,8 +61,6 @@ export declare const docs: {
|
|
|
65
61
|
size: string;
|
|
66
62
|
utc: string;
|
|
67
63
|
value: string;
|
|
68
|
-
};
|
|
69
|
-
deprecated: {
|
|
70
64
|
error: string;
|
|
71
65
|
};
|
|
72
66
|
};
|
|
@@ -14,9 +14,20 @@ export declare const KAESO_DIALOG_VARIANTS: {
|
|
|
14
14
|
readonly description: "720px: two columns, previews";
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
+
readonly anchor: {
|
|
18
|
+
readonly center: {
|
|
19
|
+
readonly classes: "items-center";
|
|
20
|
+
readonly description: "Centered on the screen (default)";
|
|
21
|
+
};
|
|
22
|
+
readonly top: {
|
|
23
|
+
readonly classes: "items-start pt-dialog-top";
|
|
24
|
+
readonly description: "A fixed top edge, for content that changes height, such as the steps of a StepDialog";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
17
27
|
};
|
|
18
28
|
export declare const KAESO_DIALOG_DEFAULT_VARIANTS: {
|
|
19
29
|
readonly size: "md";
|
|
30
|
+
readonly anchor: "center";
|
|
20
31
|
};
|
|
21
32
|
export interface DialogProps {
|
|
22
33
|
open?: boolean | undefined;
|
|
@@ -27,6 +38,7 @@ export interface DialogProps {
|
|
|
27
38
|
description?: ReactNode | undefined;
|
|
28
39
|
busy?: boolean | undefined;
|
|
29
40
|
size?: keyof typeof KAESO_DIALOG_VARIANTS.size | undefined;
|
|
41
|
+
anchor?: keyof typeof KAESO_DIALOG_VARIANTS.anchor | undefined;
|
|
30
42
|
children?: ReactNode | undefined;
|
|
31
43
|
footer?: ReactNode | undefined;
|
|
32
44
|
onSubmit?: (() => void) | undefined;
|
|
@@ -34,6 +46,7 @@ export interface DialogProps {
|
|
|
34
46
|
headerStart?: ReactNode | undefined;
|
|
35
47
|
className?: string | undefined;
|
|
36
48
|
inline?: boolean | undefined;
|
|
49
|
+
persistent?: boolean | undefined;
|
|
37
50
|
}
|
|
38
51
|
declare function Close({ children }: {
|
|
39
52
|
children: ReactElement<{
|
|
@@ -99,9 +112,20 @@ export declare const KAESO_LAYER_DIALOG_VARIANTS: {
|
|
|
99
112
|
readonly description: "720px: two columns, previews";
|
|
100
113
|
};
|
|
101
114
|
};
|
|
115
|
+
readonly anchor: {
|
|
116
|
+
readonly center: {
|
|
117
|
+
readonly classes: "items-center";
|
|
118
|
+
readonly description: "Centered on the screen (default)";
|
|
119
|
+
};
|
|
120
|
+
readonly top: {
|
|
121
|
+
readonly classes: "items-start pt-dialog-top";
|
|
122
|
+
readonly description: "A fixed top edge, for content that changes height, such as the steps of a StepDialog";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
102
125
|
};
|
|
103
126
|
export declare const KAESO_LAYER_DIALOG_DEFAULT_VARIANTS: {
|
|
104
127
|
readonly size: "md";
|
|
128
|
+
readonly anchor: "center";
|
|
105
129
|
};
|
|
106
130
|
export interface DialogLayer {
|
|
107
131
|
title: ReactNode;
|
|
@@ -20,6 +20,7 @@ export declare const docs: {
|
|
|
20
20
|
Dialog: {
|
|
21
21
|
description: string;
|
|
22
22
|
props: {
|
|
23
|
+
anchor: string;
|
|
23
24
|
busy: string;
|
|
24
25
|
children: string;
|
|
25
26
|
defaultOpen: string;
|
|
@@ -31,6 +32,7 @@ export declare const docs: {
|
|
|
31
32
|
onOpenChange: string;
|
|
32
33
|
onSubmit: string;
|
|
33
34
|
open: string;
|
|
35
|
+
persistent: string;
|
|
34
36
|
size: string;
|
|
35
37
|
title: string;
|
|
36
38
|
trigger: string;
|
|
@@ -46,6 +48,7 @@ export declare const docs: {
|
|
|
46
48
|
LayerDialog: {
|
|
47
49
|
description: string;
|
|
48
50
|
props: {
|
|
51
|
+
anchor: string;
|
|
49
52
|
busy: string;
|
|
50
53
|
defaultOpen: string;
|
|
51
54
|
hideClose: string;
|
|
@@ -56,6 +59,7 @@ export declare const docs: {
|
|
|
56
59
|
onOpenChange: string;
|
|
57
60
|
onSubmit: string;
|
|
58
61
|
open: string;
|
|
62
|
+
persistent: string;
|
|
59
63
|
size: string;
|
|
60
64
|
trigger: string;
|
|
61
65
|
};
|
|
@@ -44,6 +44,7 @@ export interface DisplayOptionsProps {
|
|
|
44
44
|
}[];
|
|
45
45
|
value: string[];
|
|
46
46
|
onChange: (v: string[]) => void;
|
|
47
|
+
hidden?: string[] | undefined;
|
|
47
48
|
} | undefined;
|
|
48
49
|
trigger?: keyof typeof KAESO_DISPLAY_OPTIONS_VARIANTS.trigger | undefined;
|
|
49
50
|
inline?: boolean | undefined;
|
|
@@ -3,16 +3,20 @@ export declare const docs: {
|
|
|
3
3
|
description: string;
|
|
4
4
|
props: {
|
|
5
5
|
defaultValuesOpen: string;
|
|
6
|
+
groups: string;
|
|
6
7
|
multiple: string;
|
|
7
8
|
onOperatorChange: string;
|
|
8
9
|
onRemove: string;
|
|
9
10
|
onSelectedChange: string;
|
|
11
|
+
onValuesOpenChange: string;
|
|
10
12
|
operator: string;
|
|
11
13
|
operators: string;
|
|
12
14
|
property: string;
|
|
13
15
|
propertyIcon: string;
|
|
16
|
+
searchable: string;
|
|
14
17
|
selected: string;
|
|
15
18
|
value: string;
|
|
19
|
+
width: string;
|
|
16
20
|
values: string;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type IconData } from "../icon/icon.js";
|
|
3
|
+
import { type CommandListGroup } from "../command-list/command-list.js";
|
|
4
|
+
import { type PickerPopoverProps } from "../command-list/picker-popover.js";
|
|
3
5
|
export declare const KAESO_FILTER_CHIP_VARIANTS: {
|
|
4
6
|
readonly size: {
|
|
5
7
|
readonly sm: {
|
|
@@ -17,6 +19,7 @@ export interface FilterChipChoice {
|
|
|
17
19
|
icon?: IconData | undefined;
|
|
18
20
|
leading?: ReactNode | undefined;
|
|
19
21
|
textValue?: string | undefined;
|
|
22
|
+
group?: string | undefined;
|
|
20
23
|
}
|
|
21
24
|
export interface FilterChipProps {
|
|
22
25
|
property: ReactNode;
|
|
@@ -26,11 +29,15 @@ export interface FilterChipProps {
|
|
|
26
29
|
onOperatorChange?: ((operator: string) => void) | undefined;
|
|
27
30
|
value: ReactNode;
|
|
28
31
|
values?: FilterChipChoice[] | undefined;
|
|
32
|
+
groups?: CommandListGroup[] | undefined;
|
|
33
|
+
searchable?: boolean | undefined;
|
|
34
|
+
width?: PickerPopoverProps["width"] | undefined;
|
|
29
35
|
selected?: string[] | undefined;
|
|
30
36
|
multiple?: boolean | undefined;
|
|
31
37
|
onSelectedChange?: ((selected: string[]) => void) | undefined;
|
|
32
38
|
onRemove?: (() => void) | undefined;
|
|
33
39
|
defaultValuesOpen?: boolean | undefined;
|
|
40
|
+
onValuesOpenChange?: ((open: boolean) => void) | undefined;
|
|
34
41
|
className?: string | undefined;
|
|
35
42
|
"data-force"?: string | undefined;
|
|
36
43
|
}
|
|
@@ -13,8 +13,6 @@ export declare const docs: {
|
|
|
13
13
|
size: string;
|
|
14
14
|
suffix: string;
|
|
15
15
|
trailing: string;
|
|
16
|
-
};
|
|
17
|
-
deprecated: {
|
|
18
16
|
error: string;
|
|
19
17
|
};
|
|
20
18
|
};
|
|
@@ -36,6 +34,7 @@ export declare const docs: {
|
|
|
36
34
|
defaultValue: string;
|
|
37
35
|
description: string;
|
|
38
36
|
hideStepper: string;
|
|
37
|
+
integer: string;
|
|
39
38
|
invalid: string;
|
|
40
39
|
label: string;
|
|
41
40
|
layout: string;
|
|
@@ -51,8 +50,6 @@ export declare const docs: {
|
|
|
51
50
|
trailing: string;
|
|
52
51
|
unit: string;
|
|
53
52
|
value: string;
|
|
54
|
-
};
|
|
55
|
-
deprecated: {
|
|
56
53
|
error: string;
|
|
57
54
|
};
|
|
58
55
|
};
|
|
@@ -82,8 +79,6 @@ export declare const docs: {
|
|
|
82
79
|
shortcut: string;
|
|
83
80
|
size: string;
|
|
84
81
|
trailing: string;
|
|
85
|
-
};
|
|
86
|
-
deprecated: {
|
|
87
82
|
error: string;
|
|
88
83
|
};
|
|
89
84
|
};
|
|
@@ -102,8 +97,6 @@ export declare const docs: {
|
|
|
102
97
|
prefix: string;
|
|
103
98
|
size: string;
|
|
104
99
|
suffix: string;
|
|
105
|
-
};
|
|
106
|
-
deprecated: {
|
|
107
100
|
error: string;
|
|
108
101
|
};
|
|
109
102
|
};
|
|
@@ -118,6 +111,7 @@ export declare const docs: {
|
|
|
118
111
|
label: string;
|
|
119
112
|
layout: string;
|
|
120
113
|
name: string;
|
|
114
|
+
onInputValueChange: string;
|
|
121
115
|
onValueChange: string;
|
|
122
116
|
optional: string;
|
|
123
117
|
placeholder: string;
|
|
@@ -125,8 +119,6 @@ export declare const docs: {
|
|
|
125
119
|
separators: string;
|
|
126
120
|
validate: string;
|
|
127
121
|
value: string;
|
|
128
|
-
};
|
|
129
|
-
deprecated: {
|
|
130
122
|
error: string;
|
|
131
123
|
};
|
|
132
124
|
};
|
|
@@ -141,8 +133,6 @@ export declare const docs: {
|
|
|
141
133
|
mono: string;
|
|
142
134
|
optional: string;
|
|
143
135
|
resize: string;
|
|
144
|
-
};
|
|
145
|
-
deprecated: {
|
|
146
136
|
error: string;
|
|
147
137
|
};
|
|
148
138
|
};
|
|
@@ -23,6 +23,7 @@ export interface NumberInputProps extends Omit<InputProps, "type" | "value" | "d
|
|
|
23
23
|
min?: string | undefined;
|
|
24
24
|
max?: string | undefined;
|
|
25
25
|
hideStepper?: boolean | undefined;
|
|
26
|
+
integer?: boolean | undefined;
|
|
26
27
|
align?: keyof typeof KAESO_NUMBER_INPUT_VARIANTS.align | undefined;
|
|
27
28
|
}
|
|
28
29
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -14,6 +14,7 @@ export interface TagInputProps extends FieldWrapProps {
|
|
|
14
14
|
value?: string[] | undefined;
|
|
15
15
|
defaultValue?: string[] | undefined;
|
|
16
16
|
onValueChange?: ((value: string[]) => void) | undefined;
|
|
17
|
+
onInputValueChange?: ((draft: string) => void) | undefined;
|
|
17
18
|
placeholder?: string | undefined;
|
|
18
19
|
validate?: ((tag: string) => true | string) | undefined;
|
|
19
20
|
separators?: string[] | undefined;
|