@logicplanes/kaeso-ui 0.7.5-rc.3 → 0.7.5-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.md +1 -1
- package/README.md +1 -1
- package/ai/component-guides.md +4 -4
- package/ai/component-registry.json +22 -7
- package/ai/component-registry.md +9 -7
- package/ai/icons.md +1 -1
- package/ai/tokens.md +1 -1
- package/dist/chunks/{app-frame-VLHAyhj2.js → app-frame-De3zsYJq.js} +82 -82
- package/dist/chunks/app-frame-De3zsYJq.js.map +1 -0
- package/dist/chunks/{avatar-BsGGv-HG.js → avatar-BsacKnQk.js} +3 -3
- package/dist/chunks/{avatar-BsGGv-HG.js.map → avatar-BsacKnQk.js.map} +1 -1
- package/dist/chunks/{badge-B4WpT10S.js → badge-COZ79ctT.js} +3 -3
- package/dist/chunks/{badge-B4WpT10S.js.map → badge-COZ79ctT.js.map} +1 -1
- package/dist/chunks/{banner-9AJaa41-.js → banner-DrOpPy1g.js} +40 -36
- package/dist/chunks/banner-DrOpPy1g.js.map +1 -0
- package/dist/chunks/{button-BFICsP5F.js → button-BZwYhxWa.js} +13 -13
- package/dist/chunks/button-BZwYhxWa.js.map +1 -0
- package/dist/chunks/{button-group-Ccw7Nz9v.js → button-group-CoqqFhww.js} +5 -5
- package/dist/chunks/{button-group-Ccw7Nz9v.js.map → button-group-CoqqFhww.js.map} +1 -1
- package/dist/chunks/{calendar-D9m-U8lN.js → calendar-BJUBaxer.js} +29 -27
- package/dist/chunks/calendar-BJUBaxer.js.map +1 -0
- package/dist/chunks/{checkbox-BHbsR10W.js → checkbox-CJQSWapg.js} +4 -4
- package/dist/chunks/{checkbox-BHbsR10W.js.map → checkbox-CJQSWapg.js.map} +1 -1
- package/dist/chunks/{cn-CMKx4Iqc.js → cn-zuZd34u7.js} +40 -24
- package/dist/chunks/cn-zuZd34u7.js.map +1 -0
- package/dist/chunks/{code-f6EJfd2t.js → code-CHCF5y5k.js} +2 -2
- package/dist/chunks/{code-f6EJfd2t.js.map → code-CHCF5y5k.js.map} +1 -1
- package/dist/chunks/{code-block-DwFu1Oao.js → code-block-C66QXzNm.js} +16 -16
- package/dist/chunks/code-block-C66QXzNm.js.map +1 -0
- package/dist/chunks/{code-block-EcxLwIKu.js → code-block-CFhDelgf.js} +58 -58
- package/dist/chunks/code-block-CFhDelgf.js.map +1 -0
- package/dist/chunks/{collapsible-BJogp_7f.js → collapsible-DETTJh0A.js} +3 -3
- package/dist/chunks/{collapsible-BJogp_7f.js.map → collapsible-DETTJh0A.js.map} +1 -1
- package/dist/chunks/{combobox-D62P4R49.js → combobox-BYcRLqC4.js} +133 -130
- package/dist/chunks/combobox-BYcRLqC4.js.map +1 -0
- package/dist/chunks/{command-list-CX5fNYFH.js → command-list-DP5krFwA.js} +171 -170
- package/dist/chunks/command-list-DP5krFwA.js.map +1 -0
- package/dist/chunks/{command-palette-Bg7QAo9D.js → command-palette-D0aQamI2.js} +63 -62
- package/dist/chunks/command-palette-D0aQamI2.js.map +1 -0
- package/dist/chunks/{copy-button-BdkYKeHj.js → copy-button-BHawBZVp.js} +42 -41
- package/dist/chunks/copy-button-BHawBZVp.js.map +1 -0
- package/dist/chunks/{core-Dif5UToy.js → core-Cm1rwVeF.js} +7 -7
- package/dist/chunks/{core-Dif5UToy.js.map → core-Cm1rwVeF.js.map} +1 -1
- package/dist/chunks/dashboard-Cym-0pKS.js +136 -0
- package/dist/chunks/dashboard-Cym-0pKS.js.map +1 -0
- package/dist/chunks/data-table-DTMxreUX.js +683 -0
- package/dist/chunks/data-table-DTMxreUX.js.map +1 -0
- package/dist/chunks/{date-picker-B0a-M1-X.js → date-picker-e2Kgt94W.js} +96 -95
- package/dist/chunks/date-picker-e2Kgt94W.js.map +1 -0
- package/dist/chunks/{date-popup-DmflfD92.js → date-popup-BWbwQZCg.js} +4 -4
- package/dist/chunks/{date-popup-DmflfD92.js.map → date-popup-BWbwQZCg.js.map} +1 -1
- package/dist/chunks/{delta-CF53Q6zh.js → delta-CDXFVWs8.js} +3 -3
- package/dist/chunks/{delta-CF53Q6zh.js.map → delta-CDXFVWs8.js.map} +1 -1
- package/dist/chunks/dialog-Blk54POm.js +591 -0
- package/dist/chunks/dialog-Blk54POm.js.map +1 -0
- package/dist/chunks/{disclosure-BSjx5Bfe.js → disclosure-IBKHaBCo.js} +9 -9
- package/dist/chunks/disclosure-IBKHaBCo.js.map +1 -0
- package/dist/chunks/{display-options-Do_tA8Ny.js → display-options-gptuE18J.js} +55 -54
- package/dist/chunks/display-options-gptuE18J.js.map +1 -0
- package/dist/chunks/{domain-BlsYMVr2.js → domain-M7VlbuZc.js} +2 -2
- package/dist/chunks/{domain-BlsYMVr2.js.map → domain-M7VlbuZc.js.map} +1 -1
- package/dist/chunks/{empty--zrlboUS.js → empty-D876ZAI0.js} +2 -2
- package/dist/chunks/{empty--zrlboUS.js.map → empty-D876ZAI0.js.map} +1 -1
- package/dist/chunks/{field-QgjzRXDs.js → field-9aCqwrEc.js} +2 -2
- package/dist/chunks/{field-QgjzRXDs.js.map → field-9aCqwrEc.js.map} +1 -1
- package/dist/chunks/{figure-BhgJM57Z.js → figure-CWKKK7ti.js} +3 -3
- package/dist/chunks/{figure-BhgJM57Z.js.map → figure-CWKKK7ti.js.map} +1 -1
- package/dist/chunks/filter-chip-CPHr9_xc.js +208 -0
- package/dist/chunks/filter-chip-CPHr9_xc.js.map +1 -0
- package/dist/chunks/{filter-row-BvxEYbUu.js → filter-row-AAe3Tyvw.js} +2 -2
- package/dist/chunks/{filter-row-BvxEYbUu.js.map → filter-row-AAe3Tyvw.js.map} +1 -1
- package/dist/chunks/{flow-B1yigygj.js → flow-DtThDgv_.js} +3 -3
- package/dist/chunks/{flow-B1yigygj.js.map → flow-DtThDgv_.js.map} +1 -1
- package/dist/chunks/{heading-BRD6FMxa.js → heading-K4INqAAh.js} +2 -2
- package/dist/chunks/{heading-BRD6FMxa.js.map → heading-K4INqAAh.js.map} +1 -1
- package/dist/chunks/{icon-CBNyGLmF.js → icon-B35SS20V.js} +14 -18
- package/dist/chunks/icon-B35SS20V.js.map +1 -0
- package/dist/chunks/icon-Kl0leKK_.js +208 -0
- package/dist/chunks/icon-Kl0leKK_.js.map +1 -0
- package/dist/chunks/{identity-BqkmYCXU.js → identity-DbT2YX1q.js} +157 -151
- package/dist/chunks/identity-DbT2YX1q.js.map +1 -0
- package/dist/chunks/input-CAsVISwX.js +183 -0
- package/dist/chunks/input-CAsVISwX.js.map +1 -0
- package/dist/chunks/{input-Bkqkts0J.js → input-D6s-8QqI.js} +5 -5
- package/dist/chunks/{input-Bkqkts0J.js.map → input-D6s-8QqI.js.map} +1 -1
- package/dist/chunks/{input-group-C_Jozar2.js → input-group-BUyx9oav.js} +4 -4
- package/dist/chunks/{input-group-C_Jozar2.js.map → input-group-BUyx9oav.js.map} +1 -1
- package/dist/chunks/{iso-field-c2Tea1r1.js → iso-field-NOlD2z0f.js} +2 -2
- package/dist/chunks/{iso-field-c2Tea1r1.js.map → iso-field-NOlD2z0f.js.map} +1 -1
- package/dist/chunks/{json-view-BjvRVjVj.js → json-view-DlmKBymI.js} +81 -79
- package/dist/chunks/json-view-DlmKBymI.js.map +1 -0
- package/dist/chunks/{kaeso-B3Gh8pTA.js → kaeso-vXwJtSx8.js} +126 -123
- package/dist/chunks/kaeso-vXwJtSx8.js.map +1 -0
- package/dist/chunks/{kbd-rz6Nri9n.js → kbd-DjhjCv6S.js} +2 -2
- package/dist/chunks/{kbd-rz6Nri9n.js.map → kbd-DjhjCv6S.js.map} +1 -1
- package/dist/chunks/{key-value-VjAKy6rb.js → key-value-D0lJcORy.js} +4 -4
- package/dist/chunks/{key-value-VjAKy6rb.js.map → key-value-D0lJcORy.js.map} +1 -1
- package/dist/chunks/{link-D8GAra4B.js → link-CrJdLOW2.js} +16 -16
- package/dist/chunks/link-CrJdLOW2.js.map +1 -0
- package/dist/chunks/list-UVc0pTtJ.js +596 -0
- package/dist/chunks/list-UVc0pTtJ.js.map +1 -0
- package/dist/chunks/{loader-BIJp0SjC.js → loader-B6ARVJjE.js} +2 -2
- package/dist/chunks/{loader-BIJp0SjC.js.map → loader-B6ARVJjE.js.map} +1 -1
- package/dist/chunks/{loader-BD16-hH1.js → loader-CPAYGulX.js} +3 -3
- package/dist/chunks/{loader-BD16-hH1.js.map → loader-CPAYGulX.js.map} +1 -1
- package/dist/chunks/{logo-apwarALg.js → logo-DQji16vV.js} +3 -3
- package/dist/chunks/{logo-apwarALg.js.map → logo-DQji16vV.js.map} +1 -1
- package/dist/chunks/{markdown-CWbmz5ry.js → markdown-D3Hb1foW.js} +61 -61
- package/dist/chunks/markdown-D3Hb1foW.js.map +1 -0
- package/dist/chunks/{menu-DQDh5xNy.js → menu-30-K7vDV.js} +144 -142
- package/dist/chunks/menu-30-K7vDV.js.map +1 -0
- package/dist/chunks/{meter-CBbzQucV.js → meter-DVlbJ4r0.js} +4 -4
- package/dist/chunks/{meter-CBbzQucV.js.map → meter-DVlbJ4r0.js.map} +1 -1
- package/dist/chunks/{nav-sheet-Bfvrmbzx.js → nav-sheet-BUaQBRpE.js} +3 -3
- package/dist/chunks/{nav-sheet-Bfvrmbzx.js.map → nav-sheet-BUaQBRpE.js.map} +1 -1
- package/dist/chunks/{nav-wordmark-C1x2ppDk.js → nav-wordmark-BoShgQHU.js} +2 -2
- package/dist/chunks/{nav-wordmark-C1x2ppDk.js.map → nav-wordmark-BoShgQHU.js.map} +1 -1
- package/dist/chunks/{page-header-DkJ-8T-m.js → page-header-a6eu0c7J.js} +5 -5
- package/dist/chunks/{page-header-DkJ-8T-m.js.map → page-header-a6eu0c7J.js.map} +1 -1
- package/dist/chunks/{pagination-BMm6G530.js → pagination-XFs0kLgO.js} +36 -35
- package/dist/chunks/pagination-XFs0kLgO.js.map +1 -0
- package/dist/chunks/{picker-popover-pDKy4X2G.js → picker-popover-qZwVqUMg.js} +41 -40
- package/dist/chunks/picker-popover-qZwVqUMg.js.map +1 -0
- package/dist/chunks/{popover-DgdMdSMZ.js → popover-DW2csX_0.js} +2 -2
- package/dist/chunks/{popover-DgdMdSMZ.js.map → popover-DW2csX_0.js.map} +1 -1
- package/dist/chunks/{qr-code-BGhmssI_.js → qr-code-iZA21rUC.js} +2 -2
- package/dist/chunks/{qr-code-BGhmssI_.js.map → qr-code-iZA21rUC.js.map} +1 -1
- package/dist/chunks/{radio-BJWgFeN0.js → radio-BdeVRza3.js} +3 -3
- package/dist/chunks/{radio-BJWgFeN0.js.map → radio-BdeVRza3.js.map} +1 -1
- package/dist/chunks/{range-popup-CV2DcwVP.js → range-popup-oMRbcxq2.js} +34 -34
- package/dist/chunks/range-popup-oMRbcxq2.js.map +1 -0
- package/dist/chunks/{reasoning-frame-PB9t0Wfa.js → reasoning-frame-DpWs6PFG.js} +17 -17
- package/dist/chunks/reasoning-frame-DpWs6PFG.js.map +1 -0
- package/dist/chunks/{release-art-D7efWFek.js → release-art-DVbS_FDC.js} +99 -70
- package/dist/chunks/release-art-DVbS_FDC.js.map +1 -0
- package/dist/chunks/{rights-CGvKvyU-.js → rights-AyujVzjW.js} +110 -108
- package/dist/chunks/rights-AyujVzjW.js.map +1 -0
- package/dist/chunks/{rolling-number-t380qZeV.js → rolling-number-2ytAnnG5.js} +2 -2
- package/dist/chunks/{rolling-number-t380qZeV.js.map → rolling-number-2ytAnnG5.js.map} +1 -1
- package/dist/chunks/{scroll-area-mYD4ydP1.js → scroll-area-DYy17fFo.js} +2 -2
- package/dist/chunks/{scroll-area-mYD4ydP1.js.map → scroll-area-DYy17fFo.js.map} +1 -1
- package/dist/chunks/{section-CKMRit4e.js → section-CY03FLVh.js} +3 -3
- package/dist/chunks/{section-CKMRit4e.js.map → section-CY03FLVh.js.map} +1 -1
- package/dist/chunks/{segmented-BZqv-UmL.js → segmented-DFkWmyAZ.js} +4 -4
- package/dist/chunks/{segmented-BZqv-UmL.js.map → segmented-DFkWmyAZ.js.map} +1 -1
- package/dist/chunks/{select-CWYlb80r.js → select-Btc1sFaJ.js} +65 -63
- package/dist/chunks/select-Btc1sFaJ.js.map +1 -0
- package/dist/chunks/{separator-izn0QjEw.js → separator-D-EFGoXW.js} +2 -2
- package/dist/chunks/{separator-izn0QjEw.js.map → separator-D-EFGoXW.js.map} +1 -1
- package/dist/chunks/{settings-Bn187L6e.js → settings-D0HuUpgj.js} +27 -27
- package/dist/chunks/settings-D0HuUpgj.js.map +1 -0
- package/dist/chunks/{sheet-CDkEtizK.js → sheet-BcJ-LlVa.js} +38 -38
- package/dist/chunks/sheet-BcJ-LlVa.js.map +1 -0
- package/dist/chunks/{sidebar-tT5vsEph.js → sidebar-VrEFN1U6.js} +260 -248
- package/dist/chunks/sidebar-VrEFN1U6.js.map +1 -0
- package/dist/chunks/{sidebar-menu-B48BmFxk.js → sidebar-menu-BrJxSZzb.js} +2 -2
- package/dist/chunks/{sidebar-menu-B48BmFxk.js.map → sidebar-menu-BrJxSZzb.js.map} +1 -1
- package/dist/chunks/{skeleton-B4eMinki.js → skeleton-VhZ8VGvA.js} +2 -2
- package/dist/chunks/{skeleton-B4eMinki.js.map → skeleton-VhZ8VGvA.js.map} +1 -1
- package/dist/chunks/{slider-BXGcFqIw.js → slider-dMcarCge.js} +2 -2
- package/dist/chunks/{slider-BXGcFqIw.js.map → slider-dMcarCge.js.map} +1 -1
- package/dist/chunks/{stat-B-Uwlv0e.js → stat-B76bhyYg.js} +6 -6
- package/dist/chunks/{stat-B-Uwlv0e.js.map → stat-B76bhyYg.js.map} +1 -1
- package/dist/chunks/{status-B6kIYd1V.js → status-CViblLI7.js} +3 -3
- package/dist/chunks/{status-B6kIYd1V.js.map → status-CViblLI7.js.map} +1 -1
- package/dist/chunks/{swap-text-2F4UxxV_.js → swap-text-tAnLy5Cv.js} +2 -2
- package/dist/chunks/{swap-text-2F4UxxV_.js.map → swap-text-tAnLy5Cv.js.map} +1 -1
- package/dist/chunks/{swap-value--KOzxa9U.js → swap-value-_e9cwEXC.js} +3 -3
- package/dist/chunks/{swap-value--KOzxa9U.js.map → swap-value-_e9cwEXC.js.map} +1 -1
- package/dist/chunks/{switch-s83NAA7a.js → switch-C83fxKmp.js} +4 -4
- package/dist/chunks/{switch-s83NAA7a.js.map → switch-C83fxKmp.js.map} +1 -1
- package/dist/chunks/{table-BOBifZFJ.js → table-B4iYe3kq.js} +2 -2
- package/dist/chunks/{table-BOBifZFJ.js.map → table-B4iYe3kq.js.map} +1 -1
- package/dist/chunks/{tabs-DyNn_bGn.js → tabs-DPPY-isi.js} +3 -3
- package/dist/chunks/{tabs-DyNn_bGn.js.map → tabs-DPPY-isi.js.map} +1 -1
- package/dist/chunks/{tag-DWgn4i_w.js → tag-C4IHYTw9.js} +24 -23
- package/dist/chunks/tag-C4IHYTw9.js.map +1 -0
- package/dist/chunks/{text-B08Xg8eF.js → text-BG26Wi3Y.js} +3 -3
- package/dist/chunks/{text-B08Xg8eF.js.map → text-BG26Wi3Y.js.map} +1 -1
- package/dist/chunks/{textarea-DmkoGT_D.js → textarea-IU2c6HO8.js} +45 -44
- package/dist/chunks/textarea-IU2c6HO8.js.map +1 -0
- package/dist/chunks/{theme-image-CQLnjTNf.js → theme-image-Cj315zu0.js} +2 -2
- package/dist/chunks/{theme-image-CQLnjTNf.js.map → theme-image-Cj315zu0.js.map} +1 -1
- package/dist/chunks/theme-menu-CbMPNNnt.js +81 -0
- package/dist/chunks/theme-menu-CbMPNNnt.js.map +1 -0
- package/dist/chunks/{thumbnail-DO_g_ELw.js → thumbnail-B1Qdx8o5.js} +28 -27
- package/dist/chunks/thumbnail-B1Qdx8o5.js.map +1 -0
- package/dist/chunks/{thumbnail-ChAqHAnn.js → thumbnail-CC2q1JgG.js} +2 -2
- package/dist/chunks/{thumbnail-ChAqHAnn.js.map → thumbnail-CC2q1JgG.js.map} +1 -1
- package/dist/chunks/{timeline-BP8oCIpY.js → timeline-m_RT1yTP.js} +3 -3
- package/dist/chunks/{timeline-BP8oCIpY.js.map → timeline-m_RT1yTP.js.map} +1 -1
- package/dist/chunks/{timeseries-BxWZuh0y.js → timeseries-BT6JfQRa.js} +5 -5
- package/dist/chunks/{timeseries-BxWZuh0y.js.map → timeseries-BT6JfQRa.js.map} +1 -1
- package/dist/chunks/{toast-En1S8NmC.js → toast-BJhL7IXT.js} +78 -74
- package/dist/chunks/toast-BJhL7IXT.js.map +1 -0
- package/dist/chunks/{toc-DPhOXU5Z.js → toc-C-eNWB0s.js} +2 -2
- package/dist/chunks/{toc-DPhOXU5Z.js.map → toc-C-eNWB0s.js.map} +1 -1
- package/dist/chunks/{toolbar-DOhzR88W.js → toolbar-LNeFkLMF.js} +2 -2
- package/dist/chunks/{toolbar-DOhzR88W.js.map → toolbar-LNeFkLMF.js.map} +1 -1
- package/dist/chunks/{tooltip-B-Ybhfxi.js → tooltip-B-SPWsDM.js} +2 -2
- package/dist/chunks/{tooltip-B-Ybhfxi.js.map → tooltip-B-SPWsDM.js.map} +1 -1
- package/dist/chunks/{tooltip-root-Bejz49k_.js → tooltip-root-Cj2VIGub.js} +4 -4
- package/dist/chunks/{tooltip-root-Bejz49k_.js.map → tooltip-root-Cj2VIGub.js.map} +1 -1
- package/dist/chunks/{tooltip-CSQqspNQ.js → tooltip-xgDRsxO3.js} +4 -4
- package/dist/chunks/{tooltip-CSQqspNQ.js.map → tooltip-xgDRsxO3.js.map} +1 -1
- package/dist/chunks/{truncated-BHhxOOi6.js → truncated-seJQFoi3.js} +3 -3
- package/dist/chunks/{truncated-BHhxOOi6.js.map → truncated-seJQFoi3.js.map} +1 -1
- package/dist/chunks/{visually-hidden-De55hDAC.js → visually-hidden-DJjBZcyv.js} +2 -2
- package/dist/chunks/{visually-hidden-De55hDAC.js.map → visually-hidden-DJjBZcyv.js.map} +1 -1
- 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 +4 -4
- package/dist/components/charts/donut.js +4 -4
- package/dist/components/charts/heatmap.js +3 -3
- package/dist/components/charts/sankey.js +4 -4
- package/dist/components/charts/sparkline.js +2 -2
- package/dist/components/charts/timeseries.js +1 -1
- package/dist/components/charts.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/code-block.js +3 -3
- package/dist/components/code.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/copy-button.js +1 -1
- package/dist/components/dashboard/legend.js +2 -2
- package/dist/components/dashboard/metric-tabs.js +4 -4
- package/dist/components/dashboard/model-card.js +61 -48
- package/dist/components/dashboard/model-card.js.map +1 -1
- package/dist/components/dashboard/rank-list.js +4 -4
- 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 +185 -182
- package/dist/components/flow-canvas.js.map +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/heading.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +3 -3
- package/dist/components/kaeso/conversation.js +97 -95
- package/dist/components/kaeso/conversation.js.map +1 -1
- package/dist/components/kaeso/identity.js +1 -1
- package/dist/components/kaeso/moments.js +25 -23
- package/dist/components/kaeso/moments.js.map +1 -1
- package/dist/components/kaeso/rights.js +1 -1
- package/dist/components/kaeso/usage.js +65 -63
- package/dist/components/kaeso/usage.js.map +1 -1
- package/dist/components/kaeso.js +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 +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/playground.js +1019 -1005
- package/dist/components/playground.js.map +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/qr-code.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/release-art.js +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/section.js +1 -1
- package/dist/components/segmented.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/settings.js +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/stat.js +3 -3
- package/dist/components/status.js +1 -1
- package/dist/components/swap-text.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/theme-image.js +1 -1
- package/dist/components/theme-menu.js +1 -1
- package/dist/components/thumbnail.js +2 -2
- package/dist/components/timeline.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toc.js +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/visually-hidden.js +1 -1
- package/dist/icons/alert.js +5 -0
- package/dist/icons/alert.js.map +1 -0
- package/dist/icons/apps.js +5 -0
- package/dist/icons/apps.js.map +1 -0
- package/dist/icons/arrow-both.js +5 -0
- package/dist/icons/arrow-both.js.map +1 -0
- package/dist/icons/arrow-down.js +5 -0
- package/dist/icons/arrow-down.js.map +1 -0
- package/dist/icons/arrow-switch.js +5 -0
- package/dist/icons/arrow-switch.js.map +1 -0
- package/dist/icons/arrow-up-right.js +5 -0
- package/dist/icons/arrow-up-right.js.map +1 -0
- package/dist/icons/arrow-up.js +5 -0
- package/dist/icons/arrow-up.js.map +1 -0
- package/dist/icons/bell.js +5 -0
- package/dist/icons/bell.js.map +1 -0
- package/dist/icons/broadcast.js +5 -0
- package/dist/icons/broadcast.js.map +1 -0
- package/dist/icons/calendar.js +5 -0
- package/dist/icons/calendar.js.map +1 -0
- package/dist/icons/check-circle.js +5 -0
- package/dist/icons/check-circle.js.map +1 -0
- package/dist/icons/check.js +5 -0
- package/dist/icons/check.js.map +1 -0
- package/dist/icons/checklist.js +5 -0
- package/dist/icons/checklist.js.map +1 -0
- package/dist/icons/chevron-down.js +5 -0
- package/dist/icons/chevron-down.js.map +1 -0
- package/dist/icons/chevron-left.js +5 -0
- package/dist/icons/chevron-left.js.map +1 -0
- package/dist/icons/chevron-right.js +5 -0
- package/dist/icons/chevron-right.js.map +1 -0
- package/dist/icons/chevron-up.js +5 -0
- package/dist/icons/chevron-up.js.map +1 -0
- package/dist/icons/clock.js +5 -0
- package/dist/icons/clock.js.map +1 -0
- package/dist/icons/code-square.js +8 -0
- package/dist/icons/code-square.js.map +1 -0
- package/dist/icons/code.js +5 -0
- package/dist/icons/code.js.map +1 -0
- package/dist/icons/copilot.js +5 -0
- package/dist/icons/copilot.js.map +1 -0
- package/dist/icons/copy.js +5 -0
- package/dist/icons/copy.js.map +1 -0
- package/dist/icons/cpu.js +5 -0
- package/dist/icons/cpu.js.map +1 -0
- package/dist/icons/credit-card.js +5 -0
- package/dist/icons/credit-card.js.map +1 -0
- package/dist/icons/dash.js +5 -0
- package/dist/icons/dash.js.map +1 -0
- package/dist/icons/dashboard.js +8 -0
- package/dist/icons/dashboard.js.map +1 -0
- package/dist/icons/database.js +5 -0
- package/dist/icons/database.js.map +1 -0
- package/dist/icons/dependabot.js +5 -0
- package/dist/icons/dependabot.js.map +1 -0
- package/dist/icons/device-desktop.js +5 -0
- package/dist/icons/device-desktop.js.map +1 -0
- package/dist/icons/devices.js +5 -0
- package/dist/icons/devices.js.map +1 -0
- package/dist/icons/download.js +5 -0
- package/dist/icons/download.js.map +1 -0
- package/dist/icons/eye-closed.js +5 -0
- package/dist/icons/eye-closed.js.map +1 -0
- package/dist/icons/eye.js +5 -0
- package/dist/icons/eye.js.map +1 -0
- package/dist/icons/file-directory.js +5 -0
- package/dist/icons/file-directory.js.map +1 -0
- package/dist/icons/file.js +5 -0
- package/dist/icons/file.js.map +1 -0
- package/dist/icons/filter.js +5 -0
- package/dist/icons/filter.js.map +1 -0
- package/dist/icons/gear.js +5 -0
- package/dist/icons/gear.js.map +1 -0
- package/dist/icons/git-branch.js +5 -0
- package/dist/icons/git-branch.js.map +1 -0
- package/dist/icons/git-compare.js +5 -0
- package/dist/icons/git-compare.js.map +1 -0
- package/dist/icons/globe.js +5 -0
- package/dist/icons/globe.js.map +1 -0
- package/dist/icons/graph-bar-horizontal.js +8 -0
- package/dist/icons/graph-bar-horizontal.js.map +1 -0
- package/dist/icons/graph.js +5 -0
- package/dist/icons/graph.js.map +1 -0
- package/dist/icons/home.js +5 -0
- package/dist/icons/home.js.map +1 -0
- package/dist/icons/image.js +5 -0
- package/dist/icons/image.js.map +1 -0
- package/dist/icons/info.js +5 -0
- package/dist/icons/info.js.map +1 -0
- package/dist/icons/kebab-horizontal.js +5 -0
- package/dist/icons/kebab-horizontal.js.map +1 -0
- package/dist/icons/key-asterisk.js +5 -0
- package/dist/icons/key-asterisk.js.map +1 -0
- package/dist/icons/key.js +5 -0
- package/dist/icons/key.js.map +1 -0
- package/dist/icons/keyboard.js +23 -0
- package/dist/icons/keyboard.js.map +1 -0
- package/dist/icons/law.js +5 -0
- package/dist/icons/law.js.map +1 -0
- package/dist/icons/link-external.js +5 -0
- package/dist/icons/link-external.js.map +1 -0
- package/dist/icons/link.js +5 -0
- package/dist/icons/link.js.map +1 -0
- package/dist/icons/list-unordered.js +5 -0
- package/dist/icons/list-unordered.js.map +1 -0
- package/dist/icons/lock.js +5 -0
- package/dist/icons/lock.js.map +1 -0
- package/dist/icons/log.js +5 -0
- package/dist/icons/log.js.map +1 -0
- package/dist/icons/loop.js +5 -0
- package/dist/icons/loop.js.map +1 -0
- package/dist/icons/mail.js +5 -0
- package/dist/icons/mail.js.map +1 -0
- package/dist/icons/mark-github.js +5 -0
- package/dist/icons/mark-github.js.map +1 -0
- package/dist/icons/maximize.js +5 -0
- package/dist/icons/maximize.js.map +1 -0
- package/dist/icons/meter.js +5 -0
- package/dist/icons/meter.js.map +1 -0
- package/dist/icons/microphone.js +23 -0
- package/dist/icons/microphone.js.map +1 -0
- package/dist/icons/minimize.js +5 -0
- package/dist/icons/minimize.js.map +1 -0
- package/dist/icons/moon.js +5 -0
- package/dist/icons/moon.js.map +1 -0
- package/dist/icons/note.js +5 -0
- package/dist/icons/note.js.map +1 -0
- package/dist/icons/organization.js +5 -0
- package/dist/icons/organization.js.map +1 -0
- package/dist/icons/package-dependencies.js +5 -0
- package/dist/icons/package-dependencies.js.map +1 -0
- package/dist/icons/package.js +5 -0
- package/dist/icons/package.js.map +1 -0
- package/dist/icons/paperclip.js +5 -0
- package/dist/icons/paperclip.js.map +1 -0
- package/dist/icons/pencil.js +5 -0
- package/dist/icons/pencil.js.map +1 -0
- package/dist/icons/people.js +5 -0
- package/dist/icons/people.js.map +1 -0
- package/dist/icons/person.js +5 -0
- package/dist/icons/person.js.map +1 -0
- package/dist/icons/plug.js +5 -0
- package/dist/icons/plug.js.map +1 -0
- package/dist/icons/plus.js +5 -0
- package/dist/icons/plus.js.map +1 -0
- package/dist/icons/question.js +5 -0
- package/dist/icons/question.js.map +1 -0
- package/dist/icons/redo.js +5 -0
- package/dist/icons/redo.js.map +1 -0
- package/dist/icons/search.js +5 -0
- package/dist/icons/search.js.map +1 -0
- package/dist/icons/server.js +5 -0
- package/dist/icons/server.js.map +1 -0
- package/dist/icons/shield-check.js +5 -0
- package/dist/icons/shield-check.js.map +1 -0
- package/dist/icons/sidebar-left.js +23 -0
- package/dist/icons/sidebar-left.js.map +1 -0
- package/dist/icons/sidebar-right.js +23 -0
- package/dist/icons/sidebar-right.js.map +1 -0
- package/dist/icons/sign-out.js +5 -0
- package/dist/icons/sign-out.js.map +1 -0
- package/dist/icons/sliders.js +5 -0
- package/dist/icons/sliders.js.map +1 -0
- package/dist/icons/sort-desc.js +5 -0
- package/dist/icons/sort-desc.js.map +1 -0
- package/dist/icons/square-fill.js +5 -0
- package/dist/icons/square-fill.js.map +1 -0
- package/dist/icons/stack.js +5 -0
- package/dist/icons/stack.js.map +1 -0
- package/dist/icons/stop.js +5 -0
- package/dist/icons/stop.js.map +1 -0
- package/dist/icons/sun.js +5 -0
- package/dist/icons/sun.js.map +1 -0
- package/dist/icons/switcher.js +12 -0
- package/dist/icons/switcher.js.map +1 -0
- package/dist/icons/sync.js +5 -0
- package/dist/icons/sync.js.map +1 -0
- package/dist/icons/terminal.js +5 -0
- package/dist/icons/terminal.js.map +1 -0
- package/dist/icons/three-bars.js +5 -0
- package/dist/icons/three-bars.js.map +1 -0
- package/dist/icons/tools.js +5 -0
- package/dist/icons/tools.js.map +1 -0
- package/dist/icons/trash.js +5 -0
- package/dist/icons/trash.js.map +1 -0
- package/dist/icons/undo.js +5 -0
- package/dist/icons/undo.js.map +1 -0
- package/dist/icons/unmute.js +5 -0
- package/dist/icons/unmute.js.map +1 -0
- package/dist/icons/upload.js +5 -0
- package/dist/icons/upload.js.map +1 -0
- package/dist/icons/webhook.js +9 -0
- package/dist/icons/webhook.js.map +1 -0
- package/dist/icons/workflow.js +5 -0
- package/dist/icons/workflow.js.map +1 -0
- package/dist/icons/x.js +5 -0
- package/dist/icons/x.js.map +1 -0
- package/dist/index.js +96 -96
- package/dist/octicons.js +100 -0
- package/dist/styles.css +1 -1
- package/dist/types/components/dashboard/docs.d.ts +2 -0
- package/dist/types/components/dashboard/model-card.d.ts +2 -0
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/kaeso/model-makers.d.ts +3 -3
- package/dist/types/components/release-art/drawing.d.ts +5 -0
- package/dist/types/components/release-art/index.d.ts +1 -1
- package/dist/types/components/release-art/release-art.d.ts +5 -1
- package/dist/types/components/sidebar/index.d.ts +1 -1
- package/dist/types/components/sidebar/sidebar.d.ts +11 -0
- package/dist/types/icons/octicons/alert.d.ts +2 -0
- package/dist/types/icons/octicons/apps.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-both.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-down.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-switch.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-up-right.d.ts +2 -0
- package/dist/types/icons/octicons/arrow-up.d.ts +2 -0
- package/dist/types/icons/octicons/bell.d.ts +2 -0
- package/dist/types/icons/octicons/broadcast.d.ts +2 -0
- package/dist/types/icons/octicons/calendar.d.ts +2 -0
- package/dist/types/icons/octicons/check-circle.d.ts +2 -0
- package/dist/types/icons/octicons/check.d.ts +2 -0
- package/dist/types/icons/octicons/checklist.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-down.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-left.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-right.d.ts +2 -0
- package/dist/types/icons/octicons/chevron-up.d.ts +2 -0
- package/dist/types/icons/octicons/clock.d.ts +2 -0
- package/dist/types/icons/octicons/code-square.d.ts +2 -0
- package/dist/types/icons/octicons/code.d.ts +2 -0
- package/dist/types/icons/octicons/copilot.d.ts +2 -0
- package/dist/types/icons/octicons/copy.d.ts +2 -0
- package/dist/types/icons/octicons/cpu.d.ts +2 -0
- package/dist/types/icons/octicons/credit-card.d.ts +2 -0
- package/dist/types/icons/octicons/dash.d.ts +2 -0
- package/dist/types/icons/octicons/dashboard.d.ts +2 -0
- package/dist/types/icons/octicons/database.d.ts +2 -0
- package/dist/types/icons/octicons/dependabot.d.ts +2 -0
- package/dist/types/icons/octicons/device-desktop.d.ts +2 -0
- package/dist/types/icons/octicons/devices.d.ts +2 -0
- package/dist/types/icons/octicons/download.d.ts +2 -0
- package/dist/types/icons/octicons/eye-closed.d.ts +2 -0
- package/dist/types/icons/octicons/eye.d.ts +2 -0
- package/dist/types/icons/octicons/file-directory.d.ts +2 -0
- package/dist/types/icons/octicons/file.d.ts +2 -0
- package/dist/types/icons/octicons/filter.d.ts +2 -0
- package/dist/types/icons/octicons/gear.d.ts +2 -0
- package/dist/types/icons/octicons/git-branch.d.ts +2 -0
- package/dist/types/icons/octicons/git-compare.d.ts +2 -0
- package/dist/types/icons/octicons/globe.d.ts +2 -0
- package/dist/types/icons/octicons/graph-bar-horizontal.d.ts +2 -0
- package/dist/types/icons/octicons/graph.d.ts +2 -0
- package/dist/types/icons/octicons/home.d.ts +2 -0
- package/dist/types/icons/octicons/image.d.ts +2 -0
- package/dist/types/icons/octicons/info.d.ts +2 -0
- package/dist/types/icons/octicons/kebab-horizontal.d.ts +2 -0
- package/dist/types/icons/octicons/key-asterisk.d.ts +2 -0
- package/dist/types/icons/octicons/key.d.ts +2 -0
- package/dist/types/icons/octicons/keyboard.d.ts +2 -0
- package/dist/types/icons/octicons/law.d.ts +2 -0
- package/dist/types/icons/octicons/link-external.d.ts +2 -0
- package/dist/types/icons/octicons/link.d.ts +2 -0
- package/dist/types/icons/octicons/list-unordered.d.ts +2 -0
- package/dist/types/icons/octicons/lock.d.ts +2 -0
- package/dist/types/icons/octicons/log.d.ts +2 -0
- package/dist/types/icons/octicons/loop.d.ts +2 -0
- package/dist/types/icons/octicons/mail.d.ts +2 -0
- package/dist/types/icons/octicons/mark-github.d.ts +2 -0
- package/dist/types/icons/octicons/maximize.d.ts +2 -0
- package/dist/types/icons/octicons/meter.d.ts +2 -0
- package/dist/types/icons/octicons/microphone.d.ts +2 -0
- package/dist/types/icons/octicons/minimize.d.ts +2 -0
- package/dist/types/icons/octicons/moon.d.ts +2 -0
- package/dist/types/icons/octicons/note.d.ts +2 -0
- package/dist/types/icons/octicons/organization.d.ts +2 -0
- package/dist/types/icons/octicons/package-dependencies.d.ts +2 -0
- package/dist/types/icons/octicons/package.d.ts +2 -0
- package/dist/types/icons/octicons/paperclip.d.ts +2 -0
- package/dist/types/icons/octicons/pencil.d.ts +2 -0
- package/dist/types/icons/octicons/people.d.ts +2 -0
- package/dist/types/icons/octicons/person.d.ts +2 -0
- package/dist/types/icons/octicons/plug.d.ts +2 -0
- package/dist/types/icons/octicons/plus.d.ts +2 -0
- package/dist/types/icons/octicons/question.d.ts +2 -0
- package/dist/types/icons/octicons/redo.d.ts +2 -0
- package/dist/types/icons/octicons/search.d.ts +2 -0
- package/dist/types/icons/octicons/server.d.ts +2 -0
- package/dist/types/icons/octicons/shield-check.d.ts +2 -0
- package/dist/types/icons/octicons/sidebar-left.d.ts +2 -0
- package/dist/types/icons/octicons/sidebar-right.d.ts +2 -0
- package/dist/types/icons/octicons/sign-out.d.ts +2 -0
- package/dist/types/icons/octicons/sliders.d.ts +2 -0
- package/dist/types/icons/octicons/sort-desc.d.ts +2 -0
- package/dist/types/icons/octicons/square-fill.d.ts +2 -0
- package/dist/types/icons/octicons/stack.d.ts +2 -0
- package/dist/types/icons/octicons/stop.d.ts +2 -0
- package/dist/types/icons/octicons/sun.d.ts +2 -0
- package/dist/types/icons/octicons/switcher.d.ts +2 -0
- package/dist/types/icons/octicons/sync.d.ts +2 -0
- package/dist/types/icons/octicons/terminal.d.ts +2 -0
- package/dist/types/icons/octicons/three-bars.d.ts +2 -0
- package/dist/types/icons/octicons/tools.d.ts +2 -0
- package/dist/types/icons/octicons/trash.d.ts +2 -0
- package/dist/types/icons/octicons/undo.d.ts +2 -0
- package/dist/types/icons/octicons/unmute.d.ts +2 -0
- package/dist/types/icons/octicons/upload.d.ts +2 -0
- package/dist/types/icons/octicons/webhook.d.ts +2 -0
- package/dist/types/icons/octicons/workflow.d.ts +2 -0
- package/dist/types/icons/octicons/x.d.ts +2 -0
- package/dist/types/icons/octicons.d.ts +99 -0
- package/dist/types/icons/vocabulary.d.ts +102 -102
- package/dist/types/utils/cn.d.ts +3 -1
- package/dist/utils.js +1 -1
- package/foundations/icons.md +2 -2
- package/package.json +14 -12
- package/dist/chunks/app-frame-VLHAyhj2.js.map +0 -1
- package/dist/chunks/banner-9AJaa41-.js.map +0 -1
- package/dist/chunks/button-BFICsP5F.js.map +0 -1
- package/dist/chunks/calendar-D9m-U8lN.js.map +0 -1
- package/dist/chunks/cn-CMKx4Iqc.js.map +0 -1
- package/dist/chunks/code-block-DwFu1Oao.js.map +0 -1
- package/dist/chunks/code-block-EcxLwIKu.js.map +0 -1
- package/dist/chunks/combobox-D62P4R49.js.map +0 -1
- package/dist/chunks/command-list-CX5fNYFH.js.map +0 -1
- package/dist/chunks/command-palette-Bg7QAo9D.js.map +0 -1
- package/dist/chunks/copy-button-BdkYKeHj.js.map +0 -1
- package/dist/chunks/dashboard-DpZ3hwTL.js +0 -136
- package/dist/chunks/dashboard-DpZ3hwTL.js.map +0 -1
- package/dist/chunks/data-table-kRdFW_WM.js +0 -682
- package/dist/chunks/data-table-kRdFW_WM.js.map +0 -1
- package/dist/chunks/date-picker-B0a-M1-X.js.map +0 -1
- package/dist/chunks/dialog-yYxpv6_2.js +0 -590
- package/dist/chunks/dialog-yYxpv6_2.js.map +0 -1
- package/dist/chunks/disclosure-BSjx5Bfe.js.map +0 -1
- package/dist/chunks/display-options-Do_tA8Ny.js.map +0 -1
- package/dist/chunks/filter-chip-DH-44QvM.js +0 -208
- package/dist/chunks/filter-chip-DH-44QvM.js.map +0 -1
- package/dist/chunks/icon-CBNyGLmF.js.map +0 -1
- package/dist/chunks/icon-XXzOuDIV.js +0 -109
- package/dist/chunks/icon-XXzOuDIV.js.map +0 -1
- package/dist/chunks/identity-BqkmYCXU.js.map +0 -1
- package/dist/chunks/input-5UKmy5SP.js +0 -179
- package/dist/chunks/input-5UKmy5SP.js.map +0 -1
- package/dist/chunks/json-view-BjvRVjVj.js.map +0 -1
- package/dist/chunks/kaeso-B3Gh8pTA.js.map +0 -1
- package/dist/chunks/link-D8GAra4B.js.map +0 -1
- package/dist/chunks/list-DM_bS_1J.js +0 -595
- package/dist/chunks/list-DM_bS_1J.js.map +0 -1
- package/dist/chunks/markdown-CWbmz5ry.js.map +0 -1
- package/dist/chunks/menu-DQDh5xNy.js.map +0 -1
- package/dist/chunks/pagination-BMm6G530.js.map +0 -1
- package/dist/chunks/picker-popover-pDKy4X2G.js.map +0 -1
- package/dist/chunks/range-popup-CV2DcwVP.js.map +0 -1
- package/dist/chunks/reasoning-frame-PB9t0Wfa.js.map +0 -1
- package/dist/chunks/release-art-D7efWFek.js.map +0 -1
- package/dist/chunks/rights-CGvKvyU-.js.map +0 -1
- package/dist/chunks/select-CWYlb80r.js.map +0 -1
- package/dist/chunks/settings-Bn187L6e.js.map +0 -1
- package/dist/chunks/sheet-CDkEtizK.js.map +0 -1
- package/dist/chunks/sidebar-tT5vsEph.js.map +0 -1
- package/dist/chunks/tag-DWgn4i_w.js.map +0 -1
- package/dist/chunks/textarea-DmkoGT_D.js.map +0 -1
- package/dist/chunks/theme-menu-DcUuVoRq.js +0 -79
- package/dist/chunks/theme-menu-DcUuVoRq.js.map +0 -1
- package/dist/chunks/thumbnail-DO_g_ELw.js.map +0 -1
- package/dist/chunks/toast-En1S8NmC.js.map +0 -1
package/NOTICE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Notices
|
|
2
2
|
|
|
3
|
-
Fonts: Inter (SIL Open Font License 1.1) and Geist Mono (SIL Open Font License 1.1), self-hosted as unmodified subsets of their Fontsource builds and shipped in `dist/fonts/` with `LICENSE-Inter.txt` and `LICENSE-GeistMono.txt`. Icons:
|
|
3
|
+
Fonts: Inter (SIL Open Font License 1.1) and Geist Mono (SIL Open Font License 1.1), self-hosted as unmodified subsets of their Fontsource builds and shipped in `dist/fonts/` with `LICENSE-Inter.txt` and `LICENSE-GeistMono.txt`. Icons: Octicons (MIT, Copyright (c) GitHub Inc.), their 16px drawings unchanged in `dist/octicons.js`. Provider and model maker marks: the trademarks of the providers and model makers they name, shown only to identify each, from each owner's own vector or a pinned drawing of it (Simple Icons, CC0 1.0, and the projects below), in the owner's colours or one colour. All trademarks belong to their owners; Kaeso is not affiliated with, endorsed or sponsored by any of them. Client marks: the trademarks of the agent clients they name, from Simple Icons (CC0 1.0), in one colour. Source marks: the trademarks of the clients sources report from, from LobeHub Icons (MIT, below) and Simple Icons (CC0 1.0), in one colour. The repository's `NOTICE.md` lists the source of each.
|
|
4
4
|
|
|
5
5
|
The runtime dependencies are listed in `package.json`; each is MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0 or 0BSD licensed.
|
|
6
6
|
|
package/README.md
CHANGED
package/ai/component-guides.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @logicplanes/kaeso-ui component guides
|
|
2
2
|
|
|
3
|
-
Version 0.7.5-rc.
|
|
3
|
+
Version 0.7.5-rc.5. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
|
|
4
4
|
|
|
5
5
|
## AlertDialog
|
|
6
6
|
|
|
@@ -2603,7 +2603,7 @@ Hour by weekday on a five-step ramp from fill to series 1; never a rainbow.
|
|
|
2603
2603
|
|
|
2604
2604
|
## Icon
|
|
2605
2605
|
|
|
2606
|
-
|
|
2606
|
+
Octicons, in currentColor. One icon per Kaeso concept.
|
|
2607
2607
|
|
|
2608
2608
|
`import { Icon, icons } from "@logicplanes/kaeso-ui";`
|
|
2609
2609
|
|
|
@@ -2615,7 +2615,7 @@ Lucide, in currentColor. One icon per Kaeso concept.
|
|
|
2615
2615
|
|
|
2616
2616
|
#### Sizes
|
|
2617
2617
|
|
|
2618
|
-
14
|
|
2618
|
+
14, 16, 18, 20, 24.
|
|
2619
2619
|
|
|
2620
2620
|
```tsx
|
|
2621
2621
|
<div className="flex items-end gap-16 text-fg">
|
|
@@ -3199,7 +3199,7 @@ A status with a label, in secondary text.
|
|
|
3199
3199
|
|
|
3200
3200
|
#### Sizes
|
|
3201
3201
|
|
|
3202
|
-
14 and 16px in controls and toasts, 20px in xl buttons, 24px for a region, 32px for a page. The stroke is 1.5px at every size
|
|
3202
|
+
14 and 16px in controls and toasts, 20px in xl buttons, 24px for a region, 32px for a page. The stroke is 1.5px at every size.
|
|
3203
3203
|
|
|
3204
3204
|
```tsx
|
|
3205
3205
|
<div className="flex items-center gap-16 text-fg">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@logicplanes/kaeso-ui",
|
|
3
|
-
"version": "0.7.5-rc.
|
|
3
|
+
"version": "0.7.5-rc.5",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"entry": "app-frame",
|
|
@@ -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: a title set large and tight, what kind of news it is under it (never above it: no eyebrows), a line and an action
|
|
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, all lying on its artwork, such as a new release on a `ReleaseArt` strip. It can be closed.",
|
|
2665
2665
|
"props": [
|
|
2666
2666
|
{
|
|
2667
2667
|
"name": "title",
|
|
@@ -2682,7 +2682,7 @@
|
|
|
2682
2682
|
"type": "ReactNode",
|
|
2683
2683
|
"required": false,
|
|
2684
2684
|
"default": null,
|
|
2685
|
-
"description": "The artwork
|
|
2685
|
+
"description": "The artwork behind the words, filling the announcement: a `ReleaseArt` with `shape=\"strip\"` and `flush`, which keeps its left clear for them."
|
|
2686
2686
|
},
|
|
2687
2687
|
{
|
|
2688
2688
|
"name": "className",
|
|
@@ -2704,6 +2704,20 @@
|
|
|
2704
2704
|
"required": false,
|
|
2705
2705
|
"default": null,
|
|
2706
2706
|
"description": "What kind of news: \"New release\". It stands under the title as a small label, never above it."
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
"name": "onDismiss",
|
|
2710
|
+
"type": "(() => void)",
|
|
2711
|
+
"required": false,
|
|
2712
|
+
"default": null,
|
|
2713
|
+
"description": "Shows a close button in the top right corner and is called when it is pressed; the app remembers which news was closed and leaves the announcement out."
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"name": "scheme",
|
|
2717
|
+
"type": "\"light\" | \"dark\"",
|
|
2718
|
+
"required": false,
|
|
2719
|
+
"default": null,
|
|
2720
|
+
"description": "The mode the words and buttons take on the artwork, whatever the page's: `releaseArtScheme` of the art, `light` on a paper ground and `dark` on ink or a glow."
|
|
2707
2721
|
}
|
|
2708
2722
|
],
|
|
2709
2723
|
"file": "src/components/dashboard/model-card.tsx"
|
|
@@ -5157,14 +5171,14 @@
|
|
|
5157
5171
|
"components": [
|
|
5158
5172
|
{
|
|
5159
5173
|
"name": "Icon",
|
|
5160
|
-
"description": "The one way to draw an icon:
|
|
5174
|
+
"description": "The one way to draw an icon: Octicons' 16px drawings in currentColor, whose 1.5px lines match the weight of the text beside them. When the icon changes, as Copy turns to Copied, the old one shrinks out and the new one grows in.",
|
|
5161
5175
|
"props": [
|
|
5162
5176
|
{
|
|
5163
5177
|
"name": "icon",
|
|
5164
5178
|
"type": "IconData",
|
|
5165
5179
|
"required": true,
|
|
5166
5180
|
"default": null,
|
|
5167
|
-
"description": "
|
|
5181
|
+
"description": "An icon from `icons` in `@logicplanes/kaeso-ui`, or one of the drawings in `@logicplanes/kaeso-ui/octicons`."
|
|
5168
5182
|
},
|
|
5169
5183
|
{
|
|
5170
5184
|
"name": "label",
|
|
@@ -9794,7 +9808,7 @@
|
|
|
9794
9808
|
},
|
|
9795
9809
|
{
|
|
9796
9810
|
"name": "shape",
|
|
9797
|
-
"type": "\"banner\" | \"wide\"",
|
|
9811
|
+
"type": "\"banner\" | \"wide\" | \"strip\"",
|
|
9798
9812
|
"required": false,
|
|
9799
9813
|
"default": "banner",
|
|
9800
9814
|
"description": "The artwork's aspect ratio."
|
|
@@ -9822,7 +9836,8 @@
|
|
|
9822
9836
|
"axes": {
|
|
9823
9837
|
"shape": {
|
|
9824
9838
|
"banner": "16:9: the head of a dialog or a card (default)",
|
|
9825
|
-
"wide": "21:9: a wide strip above a page's content"
|
|
9839
|
+
"wide": "21:9: a wide strip above a page's content",
|
|
9840
|
+
"strip": "5:1: the ground of an `Announcement`, its left half kept clear for the words on it"
|
|
9826
9841
|
}
|
|
9827
9842
|
},
|
|
9828
9843
|
"defaults": {
|
package/ai/component-registry.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @logicplanes/kaeso-ui component registry
|
|
2
2
|
|
|
3
|
-
Version 0.7.5-rc.
|
|
3
|
+
Version 0.7.5-rc.5. Generated from the component types, their descriptions and variants; do not edit.
|
|
4
4
|
|
|
5
5
|
## app-frame
|
|
6
6
|
|
|
@@ -584,16 +584,18 @@ Copies a value, with a check and "Copied" for 1.2s: a circle (the default), a re
|
|
|
584
584
|
|
|
585
585
|
### Announcement
|
|
586
586
|
|
|
587
|
-
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
|
|
587
|
+
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, all lying on its artwork, such as a new release on a `ReleaseArt` strip. It can be closed.
|
|
588
588
|
|
|
589
589
|
| Prop | Type | Default | Description |
|
|
590
590
|
|---|---|---|---|
|
|
591
591
|
| `title` * | `ReactNode` | | The news itself. |
|
|
592
592
|
| `actions` | `ReactNode` | | One or two buttons. |
|
|
593
|
-
| `art` | `ReactNode` | | The artwork
|
|
593
|
+
| `art` | `ReactNode` | | The artwork behind the words, filling the announcement: a `ReleaseArt` with `shape="strip"` and `flush`, which keeps its left clear for them. |
|
|
594
594
|
| `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
|
|
595
595
|
| `description` | `ReactNode` | | One line, two at most; it keeps the room of two, so the announcement is as tall while it loads as after. |
|
|
596
596
|
| `eyebrow` | `ReactNode` | | What kind of news: "New release". It stands under the title as a small label, never above it. |
|
|
597
|
+
| `onDismiss` | `(() => void)` | | Shows a close button in the top right corner and is called when it is pressed; the app remembers which news was closed and leaves the announcement out. |
|
|
598
|
+
| `scheme` | `"light" \| "dark"` | | The mode the words and buttons take on the artwork, whatever the page's: `releaseArtScheme` of the art, `light` on a paper ground and `dark` on ink or a glow. |
|
|
597
599
|
|
|
598
600
|
### CellInset
|
|
599
601
|
|
|
@@ -1156,11 +1158,11 @@ Heading levels map to the title tokens (4.3).
|
|
|
1156
1158
|
|
|
1157
1159
|
### Icon
|
|
1158
1160
|
|
|
1159
|
-
The one way to draw an icon:
|
|
1161
|
+
The one way to draw an icon: Octicons' 16px drawings in currentColor, whose 1.5px lines match the weight of the text beside them. When the icon changes, as Copy turns to Copied, the old one shrinks out and the new one grows in.
|
|
1160
1162
|
|
|
1161
1163
|
| Prop | Type | Default | Description |
|
|
1162
1164
|
|---|---|---|---|
|
|
1163
|
-
| `icon` * | `IconData` | |
|
|
1165
|
+
| `icon` * | `IconData` | | An icon from `icons` in `@logicplanes/kaeso-ui`, or one of the drawings in `@logicplanes/kaeso-ui/octicons`. |
|
|
1164
1166
|
| `label` | `string` | | When set, the icon is announced with this name; otherwise it is decorative and hidden. |
|
|
1165
1167
|
| `size` | `"md" \| "xs" \| "sm" \| "lg" \| "xl"` | `sm` | The icon's size on the type scale. |
|
|
1166
1168
|
|
|
@@ -2180,7 +2182,7 @@ The group a set of radios belongs to: one of them is chosen, and the arrow keys
|
|
|
2180
2182
|
|
|
2181
2183
|
`import { ReleaseArt } from "@logicplanes/kaeso-ui/release-art";`
|
|
2182
2184
|
|
|
2183
|
-
- **shape** (release_art): `banner` (default) — 16:9: the head of a dialog or a card (default); `wide` — 21:9: a wide strip above a page's content
|
|
2185
|
+
- **shape** (release_art): `banner` (default) — 16:9: the head of a dialog or a card (default); `wide` — 21:9: a wide strip above a page's content; `strip` — 5:1: the ground of an `Announcement`, its left half kept clear for the words on it
|
|
2184
2186
|
|
|
2185
2187
|
### ReleaseArt
|
|
2186
2188
|
|
|
@@ -2194,7 +2196,7 @@ A release's artwork, drawn from a stored art spec or a seed. New releases, and a
|
|
|
2194
2196
|
| `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
|
|
2195
2197
|
| `eyebrow` | `ReactNode` | | Small text above the title, e.g. “Kaeso”; a glow sets it before the title on one line. |
|
|
2196
2198
|
| `flush` | `boolean` | | Drops the rounded corners and outline and fills the height it is given, cropping to its shape, for artwork that meets the edges of the surface it sits in, such as an `Announcement`. |
|
|
2197
|
-
| `shape` | `"banner" \| "wide"` | `banner` | The artwork's aspect ratio. |
|
|
2199
|
+
| `shape` | `"banner" \| "wide" \| "strip"` | `banner` | The artwork's aspect ratio. |
|
|
2198
2200
|
| `src` | `string` | | An image of the release's stored artwork, e.g. `https://update.kaeso.app/art/0.1.0.svg`, shown in the frame instead of the drawn picture, which takes its place if the image doesn't load. |
|
|
2199
2201
|
| `title` | `ReactNode` | | Large text on the artwork, e.g. the version number; a glow sets it after the eyebrow on one centred line. |
|
|
2200
2202
|
|
package/ai/icons.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Icon vocabulary
|
|
2
2
|
|
|
3
|
-
Version 0.7.5-rc.
|
|
3
|
+
Version 0.7.5-rc.5. Generated from `src/icons/vocabulary.ts`; do not edit. Use the name, never an icon picked by look: `icons.key` always means a key. Octicons. Rules: `foundations/icons.md`.
|
|
4
4
|
|
|
5
5
|
## Kaeso objects
|
|
6
6
|
|
package/ai/tokens.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @logicplanes/kaeso-ui tokens
|
|
2
2
|
|
|
3
|
-
Version 0.7.5-rc.
|
|
3
|
+
Version 0.7.5-rc.5. Generated from `@logicplanes/kaeso-tokens`; do not edit. Components use these through role names (`bg-panel`, `text-fg-secondary`, `h-36`, `rounded-pill`); a raw value never appears in a component. How to use them: `foundations/*.md`.
|
|
4
4
|
|
|
5
5
|
## Neutrals
|
|
6
6
|
|
|
@@ -1,130 +1,130 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as e, t } from "./inset-BTAjcK6a.js";
|
|
3
|
-
import { t as n } from "./cn-
|
|
4
|
-
import {
|
|
5
|
-
import { a,
|
|
6
|
-
import { t as s } from "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
3
|
+
import { t as n } from "./cn-zuZd34u7.js";
|
|
4
|
+
import { SidebarLeft as r } from "../icons/sidebar-left.js";
|
|
5
|
+
import { a as i, n as a } from "./button-BZwYhxWa.js";
|
|
6
|
+
import { a as o, t as s } from "./sidebar-VrEFN1U6.js";
|
|
7
|
+
import { t as c } from "./portal-context-Z2xSIPsc.js";
|
|
8
|
+
import { c as l, o as u } from "./tooltip-xgDRsxO3.js";
|
|
9
|
+
import { t as d } from "./when-idle-DXKwyOLB.js";
|
|
10
|
+
import { a as f } from "./context-B2nNL7Im.js";
|
|
11
|
+
import { t as p } from "./merge-refs-SiVVoQsO.js";
|
|
12
|
+
import { createContext as m, forwardRef as h, useCallback as g, useContext as _, useEffect as v, useId as y, useLayoutEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
13
|
+
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
14
14
|
// src/components/app-frame/app-frame.tsx
|
|
15
15
|
var E = { fill: {
|
|
16
16
|
screen: { classes: "h-dvh" },
|
|
17
17
|
parent: { classes: "h-full" }
|
|
18
|
-
} }, D = { fill: "screen" }, O = /* @__PURE__ */
|
|
18
|
+
} }, D = { fill: "screen" }, O = /* @__PURE__ */ m({
|
|
19
19
|
openNav: () => void 0,
|
|
20
20
|
embedded: !1,
|
|
21
21
|
sheetReady: { current: !1 }
|
|
22
|
-
}), k = () =>
|
|
23
|
-
let [d, f] =
|
|
22
|
+
}), k = () => _(O), A = /* @__PURE__ */ h(function({ sidebar: e, children: t, corner: r, fill: i = "screen", brandHref: a, brandLabel: o, phoneActions: s, className: l }, u) {
|
|
23
|
+
let [d, f] = C(!1), p = S(null), m = S(!1), h = `k-main-${y().replace(/[^\w-]/g, "")}`, g = i === "screen" ? "main" : "div", _ = x(() => ({
|
|
24
24
|
openNav: () => f(!0),
|
|
25
25
|
embedded: i === "parent",
|
|
26
26
|
sheetReady: m
|
|
27
|
-
}), [i]),
|
|
27
|
+
}), [i]), v = /* @__PURE__ */ w(F, {
|
|
28
28
|
navOpen: d,
|
|
29
29
|
setNavOpen: f,
|
|
30
30
|
toggle: p,
|
|
31
31
|
ready: m,
|
|
32
32
|
children: e
|
|
33
33
|
});
|
|
34
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ w(O.Provider, {
|
|
35
35
|
value: _,
|
|
36
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ T("div", {
|
|
37
37
|
ref: u,
|
|
38
38
|
"data-app-frame": i,
|
|
39
39
|
className: n("relative isolate flex w-full flex-col overflow-hidden bg-panel text-fg lg:flex-row", E.fill[i].classes, l),
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ w(j, { target: h }),
|
|
42
|
+
/* @__PURE__ */ w("div", {
|
|
43
43
|
className: "hidden h-full lg:flex",
|
|
44
44
|
children: e
|
|
45
45
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ w(M, {
|
|
47
47
|
banner: i === "screen",
|
|
48
48
|
href: a,
|
|
49
49
|
label: o,
|
|
50
|
-
actions:
|
|
50
|
+
actions: s,
|
|
51
51
|
open: d,
|
|
52
52
|
onToggle: () => f((e) => !e),
|
|
53
53
|
toggleRef: p
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ w(g, {
|
|
56
56
|
id: h,
|
|
57
57
|
className: "relative flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-panel outline-none safe-area-panel frame-main-top",
|
|
58
58
|
children: t
|
|
59
59
|
}),
|
|
60
|
-
r && /* @__PURE__ */
|
|
60
|
+
r && /* @__PURE__ */ w("div", {
|
|
61
61
|
className: n(i === "parent" ? "absolute" : "fixed", "right-16 bottom-16 z-10 flex items-center gap-8"),
|
|
62
62
|
children: r
|
|
63
63
|
}),
|
|
64
|
-
i === "parent" ? /* @__PURE__ */
|
|
64
|
+
i === "parent" ? /* @__PURE__ */ w(c, {
|
|
65
65
|
className: "contents",
|
|
66
|
-
children:
|
|
67
|
-
}) :
|
|
66
|
+
children: v
|
|
67
|
+
}) : v
|
|
68
68
|
]
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
process.env.NODE_ENV !== "production" && (A.displayName = "AppFrame");
|
|
73
73
|
function j({ target: e }) {
|
|
74
|
-
let t =
|
|
75
|
-
return /* @__PURE__ */
|
|
74
|
+
let t = f();
|
|
75
|
+
return /* @__PURE__ */ w("a", {
|
|
76
76
|
href: `#${e}`,
|
|
77
77
|
onClick: (t) => {
|
|
78
78
|
let n = document.getElementById(e);
|
|
79
79
|
n && (t.preventDefault(), n.setAttribute("tabindex", "-1"), n.addEventListener("blur", () => n.removeAttribute("tabindex"), { once: !0 }), n.focus());
|
|
80
80
|
},
|
|
81
|
-
className: n(
|
|
81
|
+
className: n(i({ size: "sm" }), "absolute top-16 left-16 z-50 not-focus:sr-only"),
|
|
82
82
|
children: t("appFrame.skipToContent", "Skip to content")
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
process.env.NODE_ENV !== "production" && (j.displayName = "AppFrame.SkipLink");
|
|
86
|
-
function M({ banner: e, href: t, label: n, actions:
|
|
87
|
-
let
|
|
88
|
-
return /* @__PURE__ */
|
|
86
|
+
function M({ banner: e, href: t, label: n, actions: i, open: o, onToggle: c, toggleRef: l }) {
|
|
87
|
+
let u = e ? "header" : "div", d = f();
|
|
88
|
+
return /* @__PURE__ */ w(u, {
|
|
89
89
|
"data-phone-bar": "",
|
|
90
90
|
className: "shrink-0 bg-panel safe-area-bar lg:hidden",
|
|
91
|
-
children: /* @__PURE__ */
|
|
91
|
+
children: /* @__PURE__ */ T("div", {
|
|
92
92
|
className: "mt-8 flex h-52 items-center justify-between px-24",
|
|
93
|
-
children: [/* @__PURE__ */
|
|
93
|
+
children: [/* @__PURE__ */ w(s, {
|
|
94
94
|
href: t,
|
|
95
95
|
label: n
|
|
96
|
-
}), /* @__PURE__ */
|
|
96
|
+
}), /* @__PURE__ */ T("span", {
|
|
97
97
|
className: "flex items-center",
|
|
98
|
-
children: [
|
|
98
|
+
children: [i, /* @__PURE__ */ w(a, {
|
|
99
99
|
variant: "ghost",
|
|
100
100
|
size: "sm",
|
|
101
|
-
ref:
|
|
102
|
-
icon:
|
|
103
|
-
"aria-label":
|
|
101
|
+
ref: l,
|
|
102
|
+
icon: r,
|
|
103
|
+
"aria-label": d("appFrame.openNavigation", "Open navigation"),
|
|
104
104
|
"aria-haspopup": "dialog",
|
|
105
|
-
"aria-expanded":
|
|
105
|
+
"aria-expanded": o,
|
|
106
106
|
tooltip: !1,
|
|
107
|
-
onClick:
|
|
107
|
+
onClick: c
|
|
108
108
|
})]
|
|
109
109
|
})]
|
|
110
110
|
})
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
process.env.NODE_ENV !== "production" && (M.displayName = "AppFrame.PhoneBar");
|
|
114
|
-
var N = 160, P = /* @__PURE__ */
|
|
114
|
+
var N = 160, P = /* @__PURE__ */ u(() => import("./nav-sheet-BUaQBRpE.js"), { base: () => import.meta.url });
|
|
115
115
|
function F({ navOpen: e, setNavOpen: t, toggle: n, ready: r, children: i }) {
|
|
116
|
-
let { peeking:
|
|
117
|
-
|
|
118
|
-
let f =
|
|
116
|
+
let { peeking: a, setPeeking: s } = o(), [c, u] = C(!1);
|
|
117
|
+
v(() => d(() => u(!0)), []);
|
|
118
|
+
let f = g(() => {
|
|
119
119
|
t(!1), s(!1);
|
|
120
|
-
}, [t, s]), p =
|
|
121
|
-
|
|
122
|
-
})?.NavSheet, m = (e ||
|
|
123
|
-
return
|
|
120
|
+
}, [t, s]), p = l(P, c || e || a, () => {
|
|
121
|
+
u(!1), f();
|
|
122
|
+
})?.NavSheet, m = (e || a) && !p;
|
|
123
|
+
return b(() => {
|
|
124
124
|
r.current = !!p;
|
|
125
|
-
}), I(m, n, f), p ? /* @__PURE__ */
|
|
126
|
-
open: e ||
|
|
127
|
-
peek:
|
|
125
|
+
}), I(m, n, f), p ? /* @__PURE__ */ w(p, {
|
|
126
|
+
open: e || a,
|
|
127
|
+
peek: a && !e,
|
|
128
128
|
...e ? { returnFocus: n } : {},
|
|
129
129
|
onOpenChange: (e) => {
|
|
130
130
|
e || f();
|
|
@@ -133,7 +133,7 @@ function F({ navOpen: e, setNavOpen: t, toggle: n, ready: r, children: i }) {
|
|
|
133
133
|
}) : null;
|
|
134
134
|
}
|
|
135
135
|
function I(e, t, n) {
|
|
136
|
-
|
|
136
|
+
v(() => {
|
|
137
137
|
if (!e) return;
|
|
138
138
|
let r = t.current?.ownerDocument ?? document, i = (e) => {
|
|
139
139
|
e.key === "Escape" && (e.stopPropagation(), n());
|
|
@@ -149,32 +149,32 @@ function I(e, t, n) {
|
|
|
149
149
|
n
|
|
150
150
|
]);
|
|
151
151
|
}
|
|
152
|
-
var L = /* @__PURE__ */
|
|
153
|
-
let { openNav:
|
|
154
|
-
|
|
155
|
-
let
|
|
156
|
-
return /* @__PURE__ */
|
|
152
|
+
var L = /* @__PURE__ */ h(function({ className: e }, t) {
|
|
153
|
+
let { openNav: i, sheetReady: s } = k(), { collapsed: c, setCollapsed: l, peeking: u, setPeeking: d, shortcut: p } = o(), m = S(void 0);
|
|
154
|
+
v(() => () => clearTimeout(m.current), []);
|
|
155
|
+
let h = f(), g = () => typeof window < "u" && window.matchMedia("(min-width: 1024px)").matches;
|
|
156
|
+
return /* @__PURE__ */ w(a, {
|
|
157
157
|
variant: "ghost",
|
|
158
158
|
size: "sm",
|
|
159
159
|
ref: t,
|
|
160
160
|
onPointerEnter: () => {
|
|
161
|
-
clearTimeout(
|
|
161
|
+
clearTimeout(m.current), c && g() && !u && (m.current = setTimeout(() => d(!0), 750));
|
|
162
162
|
},
|
|
163
163
|
onPointerLeave: (e) => {
|
|
164
|
-
if (clearTimeout(
|
|
164
|
+
if (clearTimeout(m.current), !s.current || !u) return d(!1);
|
|
165
165
|
let t = e.currentTarget.ownerDocument;
|
|
166
|
-
|
|
167
|
-
t.querySelector("[data-nav-sheet]")?.matches(":hover") ||
|
|
166
|
+
m.current = setTimeout(() => {
|
|
167
|
+
t.querySelector("[data-nav-sheet]")?.matches(":hover") || d(!1);
|
|
168
168
|
}, N);
|
|
169
169
|
},
|
|
170
|
-
icon:
|
|
170
|
+
icon: r,
|
|
171
171
|
"data-sidebar-expand": "",
|
|
172
|
-
"aria-label":
|
|
173
|
-
shortcut:
|
|
172
|
+
"aria-label": c ? h("appFrame.expandSidebar", "Expand sidebar") : h("appFrame.openNavigation", "Open navigation"),
|
|
173
|
+
shortcut: c && p ? ["["] : void 0,
|
|
174
174
|
onClick: () => {
|
|
175
|
-
clearTimeout(
|
|
175
|
+
clearTimeout(m.current), c && g() ? l(!1) : i();
|
|
176
176
|
},
|
|
177
|
-
className: n("hidden",
|
|
177
|
+
className: n("hidden", c && "lg:inline-flex", e)
|
|
178
178
|
});
|
|
179
179
|
});
|
|
180
180
|
process.env.NODE_ENV !== "production" && (L.displayName = "AppFrame.MenuButton");
|
|
@@ -182,9 +182,9 @@ var R = { padding: {
|
|
|
182
182
|
none: { classes: "" },
|
|
183
183
|
list: { classes: "pt-8 pb-24" },
|
|
184
184
|
page: { classes: "px-24 pt-16 pb-48" }
|
|
185
|
-
} }, z = { padding: "none" }, B = /* @__PURE__ */
|
|
186
|
-
let s =
|
|
187
|
-
return
|
|
185
|
+
} }, z = { padding: "none" }, B = /* @__PURE__ */ h(function({ className: e, padding: r = "none", children: i, ...a }, o) {
|
|
186
|
+
let s = S(null), c = x(() => p(s, o), [o]);
|
|
187
|
+
return v(() => {
|
|
188
188
|
let e = s.current;
|
|
189
189
|
if (!e) return;
|
|
190
190
|
let t = null, n = () => {
|
|
@@ -194,44 +194,44 @@ var R = { padding: {
|
|
|
194
194
|
return n(), e.addEventListener("scroll", n, { passive: !0 }), () => {
|
|
195
195
|
e.removeEventListener("scroll", n), t?.removeAttribute("data-k-content-under");
|
|
196
196
|
};
|
|
197
|
-
}, []), /* @__PURE__ */
|
|
197
|
+
}, []), /* @__PURE__ */ w("div", {
|
|
198
198
|
ref: c,
|
|
199
199
|
"data-frame-body": "",
|
|
200
200
|
className: n("min-h-0 flex-1 overflow-y-auto overscroll-contain scrollbar-quiet", R.padding[r].classes, e),
|
|
201
201
|
...a,
|
|
202
|
-
children: /* @__PURE__ */
|
|
202
|
+
children: /* @__PURE__ */ w(t, {
|
|
203
203
|
padded: r === "page",
|
|
204
204
|
children: i
|
|
205
205
|
})
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
process.env.NODE_ENV !== "production" && (B.displayName = "AppFrame.Body");
|
|
209
|
-
var V = /* @__PURE__ */
|
|
210
|
-
return /* @__PURE__ */
|
|
209
|
+
var V = /* @__PURE__ */ h(function({ title: r, description: i, actions: a, className: o, children: s, ...c }, l) {
|
|
210
|
+
return /* @__PURE__ */ T(B, {
|
|
211
211
|
ref: l,
|
|
212
212
|
className: "relative",
|
|
213
|
-
children: [/* @__PURE__ */
|
|
213
|
+
children: [/* @__PURE__ */ w(L, { className: "absolute top-10 left-24 z-10" }), /* @__PURE__ */ T("div", {
|
|
214
214
|
className: n("w-full px-24 pt-16 pb-96 lg:mx-auto lg:max-w-settings lg:pt-64", o),
|
|
215
215
|
...c,
|
|
216
|
-
children: [/* @__PURE__ */
|
|
216
|
+
children: [/* @__PURE__ */ T("header", {
|
|
217
217
|
className: "flex flex-wrap items-start justify-between gap-x-16 gap-y-8 pb-24 rule-b",
|
|
218
218
|
children: [
|
|
219
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ w("h1", {
|
|
220
220
|
className: "min-w-0 text-title-lg font-semibold text-fg text-balance sm:flex-1",
|
|
221
221
|
children: r
|
|
222
222
|
}),
|
|
223
|
-
a && /* @__PURE__ */
|
|
223
|
+
a && /* @__PURE__ */ w("div", {
|
|
224
224
|
className: "order-last flex min-h-32 shrink-0 items-center gap-8 sm:order-none sm:ml-auto",
|
|
225
225
|
children: a
|
|
226
226
|
}),
|
|
227
|
-
i && /* @__PURE__ */
|
|
227
|
+
i && /* @__PURE__ */ w("p", {
|
|
228
228
|
className: "basis-full text-body-lg font-regular text-fg-secondary",
|
|
229
229
|
children: i
|
|
230
230
|
})
|
|
231
231
|
]
|
|
232
|
-
}), /* @__PURE__ */
|
|
232
|
+
}), /* @__PURE__ */ w("div", {
|
|
233
233
|
className: "mt-8",
|
|
234
|
-
children: /* @__PURE__ */
|
|
234
|
+
children: /* @__PURE__ */ w(e, { children: /* @__PURE__ */ w(t, { children: s }) })
|
|
235
235
|
})]
|
|
236
236
|
})]
|
|
237
237
|
});
|
|
@@ -244,4 +244,4 @@ var H = /* @__PURE__ */ Object.assign(A, {
|
|
|
244
244
|
});
|
|
245
245
|
export { E as a, D as i, z as n, k as o, R as r, H as t };
|
|
246
246
|
|
|
247
|
-
//# sourceMappingURL=app-frame-
|
|
247
|
+
//# sourceMappingURL=app-frame-De3zsYJq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-frame-De3zsYJq.js","names":["__icon_SidebarLeft","InsetContent","cn","buttonClasses","Button","useSidebar","BrandWordmark","PortalContainer","useLazyModule","lazyModule","whenIdle","useUiText","mergeRefs","KAESO_APP_FRAME_VARIANTS","KAESO_APP_FRAME_DEFAULT_VARIANTS","Ctx","useAppFrame","useContext","Root","navOpen","setNavOpen","useState","toggle","useRef","sheetReady","mainId","useId","Main","fill","frame","useMemo","sheet","FrameSheet","sidebar","className","SkipLink","PhoneBar","brandHref","brandLabel","phoneActions","o","corner","target","main","e","Bar","banner","t","actions","toggleRef","SidebarLeft","open","onToggle","PEEK_LEAVE","navSheet","idle","setIdle","dismiss","useCallback","setPeeking","NavSheet","peeking","pending","useLayoutEffect","usePendingDismiss","doc","onKeyDown","onPointerDown","MenuButton","intent","wide","collapsed","shortcut","setCollapsed","openNav","KAESO_APP_FRAME_BODY_VARIANTS","KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS","Body","props","own","refs","ref","useEffect","el","band","mark","next","padding","GutterContent","Settings","title","description","AppFrame"],"sources":["../../src/components/app-frame/app-frame.tsx"],"sourcesContent":["import {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useId,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type HTMLAttributes,\n type ReactNode,\n type RefObject,\n} from \"react\";\nimport { GutterContent, InsetContent } from \"../../utils/inset.js\";\nimport { cn } from \"../../utils/cn.js\";\nimport { SidebarLeft as __icon_SidebarLeft } from \"../../icons/octicons/sidebar-left.js\";\nimport { Button, buttonClasses } from \"../button/button.js\";\nimport { useSidebar, BrandWordmark } from \"../sidebar/sidebar.js\";\nimport { PortalContainer } from \"../../utils/portal-context.js\";\nimport { lazyModule, useLazyModule } from \"../../utils/lazy-module.js\";\nimport { whenIdle } from \"../../utils/when-idle.js\";\nimport { useUiText } from \"../../i18n/context.js\";\nimport { mergeRefs } from \"../../utils/merge-refs.js\";\n\nexport const KAESO_APP_FRAME_VARIANTS = {\n fill: {\n screen: { classes: \"h-dvh\" },\n parent: { classes: \"h-full\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_DEFAULT_VARIANTS = { fill: \"screen\" } as const;\n\nconst Ctx = /* @__PURE__ */ createContext<{ openNav: () => void; embedded: boolean; sheetReady: RefObject<boolean> }>({\n openNav: () => undefined,\n embedded: false,\n sheetReady: { current: false },\n});\nexport const useAppFrame = () => useContext(Ctx);\n\nexport interface AppFrameProps {\n sidebar: ReactNode;\n children: ReactNode;\n corner?: ReactNode | undefined;\n fill?: keyof typeof KAESO_APP_FRAME_VARIANTS.fill | undefined;\n brandHref?: string | undefined;\n brandLabel?: string | undefined;\n phoneActions?: ReactNode | undefined;\n className?: string | undefined;\n}\n\nconst Root = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameProps>(function AppFrame(\n { sidebar, children, corner, fill = \"screen\", brandHref, brandLabel, phoneActions, className },\n ref,\n) {\n const [navOpen, setNavOpen] = useState(false);\n const toggle = useRef<HTMLButtonElement | null>(null);\n const sheetReady = useRef(false);\n const mainId = `k-main-${useId().replace(/[^\\w-]/g, \"\")}`;\n const Main = fill === \"screen\" ? \"main\" : \"div\";\n const frame = useMemo(() => ({ openNav: () => setNavOpen(true), embedded: fill === \"parent\", sheetReady }), [fill]);\n const sheet = (\n <FrameSheet navOpen={navOpen} setNavOpen={setNavOpen} toggle={toggle} ready={sheetReady}>\n {sidebar}\n </FrameSheet>\n );\n return (\n <Ctx.Provider value={frame}>\n <div\n ref={ref}\n data-app-frame={fill}\n className={cn(\n \"relative isolate flex w-full flex-col overflow-hidden bg-panel text-fg lg:flex-row\",\n KAESO_APP_FRAME_VARIANTS.fill[fill].classes,\n className,\n )}\n >\n <SkipLink target={mainId} />\n <div className=\"hidden h-full lg:flex\">{sidebar}</div>\n <PhoneBar\n banner={fill === \"screen\"}\n href={brandHref}\n label={brandLabel}\n actions={phoneActions}\n open={navOpen}\n onToggle={() => setNavOpen((o) => !o)}\n toggleRef={toggle}\n />\n <Main id={mainId} className=\"relative flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-panel outline-none safe-area-panel frame-main-top\">\n {children}\n </Main>\n {corner && <div className={cn(fill === \"parent\" ? \"absolute\" : \"fixed\", \"right-16 bottom-16 z-10 flex items-center gap-8\")}>{corner}</div>}\n {fill === \"parent\" ? <PortalContainer className=\"contents\">{sheet}</PortalContainer> : sheet}\n </div>\n </Ctx.Provider>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Root.displayName = \"AppFrame\";\n\nfunction SkipLink({ target }: { target: string }) {\n const t = useUiText();\n return (\n <a\n href={`#${target}`}\n onClick={(e) => {\n const main = document.getElementById(target);\n if (!main) return;\n e.preventDefault();\n main.setAttribute(\"tabindex\", \"-1\");\n main.addEventListener(\"blur\", () => main.removeAttribute(\"tabindex\"), { once: true });\n main.focus();\n }}\n className={cn(buttonClasses({ size: \"sm\" }), \"absolute top-16 left-16 z-50 not-focus:sr-only\")}\n >\n {t(\"appFrame.skipToContent\", \"Skip to content\")}\n </a>\n );\n}\nif (process.env.NODE_ENV !== \"production\") SkipLink.displayName = \"AppFrame.SkipLink\";\n\nfunction PhoneBar({\n banner,\n href,\n label,\n actions,\n open,\n onToggle,\n toggleRef,\n}: {\n banner: boolean;\n href: string | undefined;\n label: string | undefined;\n actions: ReactNode;\n open: boolean;\n onToggle: () => void;\n toggleRef: RefObject<HTMLButtonElement | null>;\n}) {\n const Bar = banner ? \"header\" : \"div\";\n const t = useUiText();\n return (\n <Bar data-phone-bar=\"\" className=\"shrink-0 bg-panel safe-area-bar lg:hidden\">\n <div className=\"mt-8 flex h-52 items-center justify-between px-24\">\n <BrandWordmark href={href} label={label} />\n <span className=\"flex items-center\">\n {actions}\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={toggleRef}\n icon={__icon_SidebarLeft}\n aria-label={t(\"appFrame.openNavigation\", \"Open navigation\")}\n aria-haspopup=\"dialog\"\n aria-expanded={open}\n tooltip={false}\n onClick={onToggle}\n />\n </span>\n </div>\n </Bar>\n );\n}\nif (process.env.NODE_ENV !== \"production\") PhoneBar.displayName = \"AppFrame.PhoneBar\";\n\nexport const PEEK_DELAY = 750;\nconst PEEK_LEAVE = 160;\n\nconst navSheet = /* @__PURE__ */ lazyModule(() => import(\"./nav-sheet.js\"), { base: () => import.meta.url });\n\nfunction FrameSheet({\n navOpen,\n setNavOpen,\n toggle,\n ready,\n children,\n}: {\n navOpen: boolean;\n setNavOpen: (o: boolean) => void;\n toggle: RefObject<HTMLElement | null>;\n ready: RefObject<boolean>;\n children: ReactNode;\n}) {\n const { peeking, setPeeking } = useSidebar();\n const [idle, setIdle] = useState(false);\n useEffect(() => whenIdle(() => setIdle(true)), []);\n const dismiss = useCallback(() => {\n setNavOpen(false);\n setPeeking(false);\n }, [setNavOpen, setPeeking]);\n const NavSheet = useLazyModule(navSheet, idle || navOpen || peeking, () => {\n setIdle(false);\n dismiss();\n })?.NavSheet;\n const pending = (navOpen || peeking) && !NavSheet;\n useLayoutEffect(() => {\n ready.current = !!NavSheet;\n });\n usePendingDismiss(pending, toggle, dismiss);\n if (!NavSheet) return null;\n return (\n <NavSheet\n open={navOpen || peeking}\n peek={peeking && !navOpen}\n {...(navOpen ? { returnFocus: toggle } : {})}\n onOpenChange={(o) => {\n if (!o) dismiss();\n }}\n >\n {children}\n </NavSheet>\n );\n}\n\nfunction usePendingDismiss(pending: boolean, toggle: RefObject<HTMLElement | null>, dismiss: () => void) {\n useEffect(() => {\n if (!pending) return;\n const doc = toggle.current?.ownerDocument ?? document;\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Escape\") return;\n e.stopPropagation();\n dismiss();\n };\n const onPointerDown = (e: PointerEvent) => {\n if (!toggle.current?.contains(e.target as Node)) dismiss();\n };\n doc.addEventListener(\"keydown\", onKeyDown, true);\n doc.addEventListener(\"pointerdown\", onPointerDown, true);\n return () => {\n doc.removeEventListener(\"keydown\", onKeyDown, true);\n doc.removeEventListener(\"pointerdown\", onPointerDown, true);\n };\n }, [pending, toggle, dismiss]);\n}\n\nconst MenuButton = /* @__PURE__ */ forwardRef<HTMLButtonElement, { className?: string | undefined }>(function AppFrameMenuButton({ className }, ref) {\n const { openNav, sheetReady } = useAppFrame();\n const { collapsed, setCollapsed, peeking, setPeeking, shortcut } = useSidebar();\n const intent = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);\n useEffect(() => () => clearTimeout(intent.current), []);\n const t = useUiText();\n const wide = () => typeof window !== \"undefined\" && window.matchMedia(\"(min-width: 1024px)\").matches;\n return (\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={ref}\n onPointerEnter={() => {\n clearTimeout(intent.current);\n if (collapsed && wide() && !peeking) intent.current = setTimeout(() => setPeeking(true), PEEK_DELAY);\n }}\n onPointerLeave={(e) => {\n clearTimeout(intent.current);\n if (!sheetReady.current || !peeking) return setPeeking(false);\n const doc = e.currentTarget.ownerDocument;\n intent.current = setTimeout(() => {\n if (!doc.querySelector(\"[data-nav-sheet]\")?.matches(\":hover\")) setPeeking(false);\n }, PEEK_LEAVE);\n }}\n icon={__icon_SidebarLeft}\n data-sidebar-expand=\"\"\n aria-label={collapsed ? t(\"appFrame.expandSidebar\", \"Expand sidebar\") : t(\"appFrame.openNavigation\", \"Open navigation\")}\n shortcut={collapsed && shortcut ? [\"[\"] : undefined}\n onClick={() => {\n clearTimeout(intent.current);\n if (collapsed && wide()) setCollapsed(false);\n else openNav();\n }}\n className={cn(\"hidden\", collapsed && \"lg:inline-flex\", className)}\n />\n );\n});\nif (process.env.NODE_ENV !== \"production\") MenuButton.displayName = \"AppFrame.MenuButton\";\n\nexport const KAESO_APP_FRAME_BODY_VARIANTS = {\n padding: {\n none: { classes: \"\" },\n list: { classes: \"pt-8 pb-24\" },\n page: { classes: \"px-24 pt-16 pb-48\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS = { padding: \"none\" } as const;\n\nexport interface AppFrameBodyProps extends HTMLAttributes<HTMLDivElement> {\n padding?: keyof typeof KAESO_APP_FRAME_BODY_VARIANTS.padding | undefined;\n}\n\nconst Body = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameBodyProps>(function AppFrameBody({ className, padding = \"none\", children, ...props }, ref) {\n const own = useRef<HTMLDivElement | null>(null);\n const refs = useMemo(() => mergeRefs(own, ref), [ref]);\n useEffect(() => {\n const el = own.current;\n if (!el) return;\n let band: Element | null = null;\n const mark = () => {\n const next = el.scrollTop > 0 ? el.previousElementSibling : null;\n if (next === band) return;\n band?.removeAttribute(\"data-k-content-under\");\n next?.setAttribute(\"data-k-content-under\", \"\");\n band = next;\n };\n mark();\n el.addEventListener(\"scroll\", mark, { passive: true });\n return () => {\n el.removeEventListener(\"scroll\", mark);\n band?.removeAttribute(\"data-k-content-under\");\n };\n }, []);\n return (\n <div\n ref={refs}\n data-frame-body=\"\"\n className={cn(\"min-h-0 flex-1 overflow-y-auto overscroll-contain scrollbar-quiet\", KAESO_APP_FRAME_BODY_VARIANTS.padding[padding].classes, className)}\n {...props}\n >\n <GutterContent padded={padding === \"page\"}>{children}</GutterContent>\n </div>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Body.displayName = \"AppFrame.Body\";\n\nexport interface SettingsPageProps extends Omit<HTMLAttributes<HTMLDivElement>, \"title\"> {\n title: ReactNode;\n description?: ReactNode | undefined;\n actions?: ReactNode | undefined;\n}\n\nconst Settings = /* @__PURE__ */ forwardRef<HTMLDivElement, SettingsPageProps>(function AppFrameSettings({ title, description, actions, className, children, ...props }, ref) {\n return (\n <Body ref={ref} className=\"relative\">\n <MenuButton className=\"absolute top-10 left-24 z-10\" />\n <div className={cn(\"w-full px-24 pt-16 pb-96 lg:mx-auto lg:max-w-settings lg:pt-64\", className)} {...props}>\n <header className=\"flex flex-wrap items-start justify-between gap-x-16 gap-y-8 pb-24 rule-b\">\n <h1 className=\"min-w-0 text-title-lg font-semibold text-fg text-balance sm:flex-1\">{title}</h1>\n {actions && <div className=\"order-last flex min-h-32 shrink-0 items-center gap-8 sm:order-none sm:ml-auto\">{actions}</div>}\n {description && <p className=\"basis-full text-body-lg font-regular text-fg-secondary\">{description}</p>}\n </header>\n <div className=\"mt-8\">\n <InsetContent>\n <GutterContent>{children}</GutterContent>\n </InsetContent>\n </div>\n </div>\n </Body>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Settings.displayName = \"AppFrame.Settings\";\n\nexport const AppFrame = /* @__PURE__ */ Object.assign(Root, { MenuButton, Body, Settings });\n"],"mappings":";;;;;;;;;;;;;;AA0BA,IAAaa,IAA2B,EACtC,MAAM;CACJ,QAAQ,EAAE,SA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AAS,cAAW,aAAU,GAAGX,KAAS,GAAK;CAC5K,OACE,kBAACD,GAAD;EAAW;EAAK,WAAU;EAA1B,UAAA,CACE,kBAACT,GAAD,EAAY,WAAU,+BAAgC,CAAA,GACtD,kBAAC,OAAD;GAAK,WAAWlE,EAAG,kEAAkEgC,CAAS;GAAG,GAAI4C;GAArG,UAAA,CACE,kBAAC,UAAD;IAAQ,WAAU;IAAlB,UAAA;KACE,kBAAC,MAAD;MAAI,WAAU;MAAsE,UAAAY;KAAU,CAAA;KAC7F1C,KAAW,kBAAC,OAAD;MAAK,WAAU;MAAiF,UAAAA;KAAa,CAAA;KACxH2C,KAAe,kBAAC,KAAD;MAAG,WAAU;MAA0D,UAAAA;KAAe,CAAA;IAChG;GACR,CAAA,GAAA,kBAAC,OAAD;IAAK,WAAU;IACb,UAAA,kBAAC1F,GAAD,EAAA,UACE,kBAACuF,GAAD,EAAgB,YAAwB,CAAA,EAC5B,CAAA;GACX,CAAA,CACF;EACD,CAAA,CAAA;;AAEV,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAS,cAAc;AAElE,IAAaI,IAA2B,uBAAO,OAAO1E,GAAM;CAAE;CAAY;CAAM;AAAS,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./cn-
|
|
2
|
+
import { t as e } from "./cn-zuZd34u7.js";
|
|
3
3
|
import { t } from "./use-hydrating-Dth8POSk.js";
|
|
4
4
|
import { a as n, r } from "./context-B2nNL7Im.js";
|
|
5
|
-
import { r as i } from "./tooltip-
|
|
5
|
+
import { r as i } from "./tooltip-xgDRsxO3.js";
|
|
6
6
|
import { forwardRef as a, useMemo as o, useState as s } from "react";
|
|
7
7
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
8
|
// src/components/avatar/agent.tsx
|
|
@@ -314,4 +314,4 @@ process.env.NODE_ENV !== "production" && (P.displayName = "Avatar.Group");
|
|
|
314
314
|
var F = /* @__PURE__ */ Object.assign(O, { Group: P });
|
|
315
315
|
export { x as a, y as c, T as i, w as n, S as o, C as r, v as s, F as t };
|
|
316
316
|
|
|
317
|
-
//# sourceMappingURL=avatar-
|
|
317
|
+
//# sourceMappingURL=avatar-BsacKnQk.js.map
|