@logicplanes/kaeso-ui 0.7.4 → 0.7.5-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/AGENTS.md +3 -3
  2. package/NOTICE.md +1 -1
  3. package/README.md +1 -1
  4. package/ai/component-guides.md +128 -22
  5. package/ai/component-registry.json +378 -74
  6. package/ai/component-registry.md +120 -65
  7. package/ai/icons.md +1 -1
  8. package/ai/tokens.md +34 -14
  9. package/dist/chunks/{app-frame-CnyC_z96.js → app-frame-DPIr7C6C.js} +87 -86
  10. package/dist/chunks/app-frame-DPIr7C6C.js.map +1 -0
  11. package/dist/chunks/{avatar-DVw5ZHKN.js → avatar-C4r7x_uJ.js} +16 -15
  12. package/dist/chunks/avatar-C4r7x_uJ.js.map +1 -0
  13. package/dist/chunks/avatar-CQNbSj8X.js +5 -0
  14. package/dist/chunks/avatar-CQNbSj8X.js.map +1 -0
  15. package/dist/chunks/{badge-BgMTwNW5.js → badge-CU9K-wA1.js} +3 -3
  16. package/dist/chunks/{badge-BgMTwNW5.js.map → badge-CU9K-wA1.js.map} +1 -1
  17. package/dist/chunks/banner-R5GIFExf.js +93 -0
  18. package/dist/chunks/banner-R5GIFExf.js.map +1 -0
  19. package/dist/chunks/{button-DoZ7krdH.js → button-CXdEDVSI.js} +33 -32
  20. package/dist/chunks/button-CXdEDVSI.js.map +1 -0
  21. package/dist/chunks/{button-group-sMchV-fj.js → button-group-CbzjByVu.js} +5 -5
  22. package/dist/chunks/{button-group-sMchV-fj.js.map → button-group-CbzjByVu.js.map} +1 -1
  23. package/dist/chunks/{calendar-BR8wvVEv.js → calendar-BpY2J5Qf.js} +29 -27
  24. package/dist/chunks/calendar-BpY2J5Qf.js.map +1 -0
  25. package/dist/chunks/{checkbox-BkMPWcR_.js → checkbox-6GPT3xkr.js} +4 -4
  26. package/dist/chunks/{checkbox-BkMPWcR_.js.map → checkbox-6GPT3xkr.js.map} +1 -1
  27. package/dist/chunks/{cn-CF99d-bD.js → cn-Cim5WXyu.js} +49 -50
  28. package/dist/chunks/cn-Cim5WXyu.js.map +1 -0
  29. package/dist/chunks/{code-C4bi_3gR.js → code-CGPiBqzu.js} +2 -2
  30. package/dist/chunks/{code-C4bi_3gR.js.map → code-CGPiBqzu.js.map} +1 -1
  31. package/dist/chunks/{code-block-DpYJ9OQ9.js → code-block-DYODgIka.js} +112 -97
  32. package/dist/chunks/code-block-DYODgIka.js.map +1 -0
  33. package/dist/chunks/code-block-Dkedqh94.js +313 -0
  34. package/dist/chunks/code-block-Dkedqh94.js.map +1 -0
  35. package/dist/chunks/{collapsible-BdwAesRa.js → collapsible-BwQBF1wX.js} +3 -3
  36. package/dist/chunks/{collapsible-BdwAesRa.js.map → collapsible-BwQBF1wX.js.map} +1 -1
  37. package/dist/chunks/{combobox-B9PoRhga.js → combobox-DkWaZ-v_.js} +133 -130
  38. package/dist/chunks/combobox-DkWaZ-v_.js.map +1 -0
  39. package/dist/chunks/{command-list-DIv7azFz.js → command-list-98lB5cP5.js} +171 -170
  40. package/dist/chunks/command-list-98lB5cP5.js.map +1 -0
  41. package/dist/chunks/{command-palette-DAGGTUyX.js → command-palette-BoL0MoxB.js} +65 -64
  42. package/dist/chunks/command-palette-BoL0MoxB.js.map +1 -0
  43. package/dist/chunks/{copy-button-TT_5sNFW.js → copy-button-BjfGRgZi.js} +43 -42
  44. package/dist/chunks/copy-button-BjfGRgZi.js.map +1 -0
  45. package/dist/chunks/{core-iiSCX78t.js → core-Dtlb6S1k.js} +144 -129
  46. package/dist/chunks/core-Dtlb6S1k.js.map +1 -0
  47. package/dist/chunks/dashboard-BOeVNKwA.js +136 -0
  48. package/dist/chunks/dashboard-BOeVNKwA.js.map +1 -0
  49. package/dist/chunks/data-table-CoiHkxAQ.js +683 -0
  50. package/dist/chunks/data-table-CoiHkxAQ.js.map +1 -0
  51. package/dist/chunks/{date-picker-vS5h1HKN.js → date-picker-CiLNpsSh.js} +92 -90
  52. package/dist/chunks/date-picker-CiLNpsSh.js.map +1 -0
  53. package/dist/chunks/{date-popup-DDOLST_5.js → date-popup-Bp0d8U6H.js} +4 -4
  54. package/dist/chunks/{date-popup-DDOLST_5.js.map → date-popup-Bp0d8U6H.js.map} +1 -1
  55. package/dist/chunks/{de-K_t_sSKN.js → de-CdlagGzS.js} +15 -2
  56. package/dist/chunks/de-CdlagGzS.js.map +1 -0
  57. package/dist/chunks/{delta-CJUsqoA_.js → delta-Dspg6LP2.js} +3 -3
  58. package/dist/chunks/{delta-CJUsqoA_.js.map → delta-Dspg6LP2.js.map} +1 -1
  59. package/dist/chunks/dialog-wy5nNxfE.js +591 -0
  60. package/dist/chunks/dialog-wy5nNxfE.js.map +1 -0
  61. package/dist/chunks/disclosure-CmuBms1J.js +21 -0
  62. package/dist/chunks/disclosure-CmuBms1J.js.map +1 -0
  63. package/dist/chunks/{display-options-DcVmg-i-.js → display-options-DSUfHF5n.js} +55 -54
  64. package/dist/chunks/display-options-DSUfHF5n.js.map +1 -0
  65. package/dist/chunks/{domain-LXfZduW0.js → domain-CyQb3nHF.js} +2 -2
  66. package/dist/chunks/{domain-LXfZduW0.js.map → domain-CyQb3nHF.js.map} +1 -1
  67. package/dist/chunks/empty-DsN9jTVb.js +83 -0
  68. package/dist/chunks/empty-DsN9jTVb.js.map +1 -0
  69. package/dist/chunks/{field-BJoH_7Mc.js → field-DG61eK8Z.js} +2 -2
  70. package/dist/chunks/{field-BJoH_7Mc.js.map → field-DG61eK8Z.js.map} +1 -1
  71. package/dist/chunks/{figure-DtTP7WE4.js → figure-BI0eP7S-.js} +4 -4
  72. package/dist/chunks/{figure-DtTP7WE4.js.map → figure-BI0eP7S-.js.map} +1 -1
  73. package/dist/chunks/filter-chip-DE2j5Vyj.js +208 -0
  74. package/dist/chunks/filter-chip-DE2j5Vyj.js.map +1 -0
  75. package/dist/chunks/{filter-row-Dia2atDQ.js → filter-row-CPO_SEYy.js} +3 -3
  76. package/dist/chunks/filter-row-CPO_SEYy.js.map +1 -0
  77. package/dist/chunks/{flow-C3AupfRE.js → flow-B8DRLw6-.js} +5 -5
  78. package/dist/chunks/{flow-C3AupfRE.js.map → flow-B8DRLw6-.js.map} +1 -1
  79. package/dist/chunks/{heading-DjRyHd0R.js → heading-CkCOztRO.js} +2 -2
  80. package/dist/chunks/{heading-DjRyHd0R.js.map → heading-CkCOztRO.js.map} +1 -1
  81. package/dist/chunks/icon-B9UXhFTF.js +67 -0
  82. package/dist/chunks/icon-B9UXhFTF.js.map +1 -0
  83. package/dist/chunks/icon-DOwC1bbC.js +209 -0
  84. package/dist/chunks/icon-DOwC1bbC.js.map +1 -0
  85. package/dist/chunks/{identity-CKVVvPbE.js → identity-CAvHnogN.js} +164 -153
  86. package/dist/chunks/identity-CAvHnogN.js.map +1 -0
  87. package/dist/chunks/{input-bgfWrX1j.js → input-6tVIiN3-.js} +5 -5
  88. package/dist/chunks/{input-bgfWrX1j.js.map → input-6tVIiN3-.js.map} +1 -1
  89. package/dist/chunks/input-BVheeeEI.js +183 -0
  90. package/dist/chunks/input-BVheeeEI.js.map +1 -0
  91. package/dist/chunks/{input-group-B5PDh6li.js → input-group-ClNtr_Gm.js} +4 -4
  92. package/dist/chunks/{input-group-B5PDh6li.js.map → input-group-ClNtr_Gm.js.map} +1 -1
  93. package/dist/chunks/{iso-field-DWKhEAY7.js → iso-field-C29xji-V.js} +2 -2
  94. package/dist/chunks/{iso-field-DWKhEAY7.js.map → iso-field-C29xji-V.js.map} +1 -1
  95. package/dist/chunks/{json-view-CNpzGhtB.js → json-view-BVTEkhgz.js} +81 -79
  96. package/dist/chunks/json-view-BVTEkhgz.js.map +1 -0
  97. package/dist/chunks/{kaeso-6lWIZnFb.js → kaeso-MWzqLOiV.js} +448 -187
  98. package/dist/chunks/kaeso-MWzqLOiV.js.map +1 -0
  99. package/dist/chunks/{kbd-CI5W-2LJ.js → kbd-CmhJfU_8.js} +18 -10
  100. package/dist/chunks/kbd-CmhJfU_8.js.map +1 -0
  101. package/dist/chunks/{key-value-DTAMe71k.js → key-value-tPKtCSOn.js} +23 -16
  102. package/dist/chunks/key-value-tPKtCSOn.js.map +1 -0
  103. package/dist/chunks/{link-ouHMlBU8.js → link-CZ1h1ksk.js} +16 -16
  104. package/dist/chunks/link-CZ1h1ksk.js.map +1 -0
  105. package/dist/chunks/list-Bq7vGhxI.js +643 -0
  106. package/dist/chunks/list-Bq7vGhxI.js.map +1 -0
  107. package/dist/chunks/loader-BbKL8cW_.js +41 -0
  108. package/dist/chunks/loader-BbKL8cW_.js.map +1 -0
  109. package/dist/chunks/{loader-DMnDOZWX.js → loader-DBk2HCOh.js} +9 -8
  110. package/dist/chunks/{loader-DMnDOZWX.js.map → loader-DBk2HCOh.js.map} +1 -1
  111. package/dist/chunks/{logo-z7ZAq0So.js → logo-DqjYySTX.js} +3 -3
  112. package/dist/chunks/{logo-z7ZAq0So.js.map → logo-DqjYySTX.js.map} +1 -1
  113. package/dist/chunks/{markdown-h44XrRqz.js → markdown-BCG1Kkph.js} +61 -61
  114. package/dist/chunks/markdown-BCG1Kkph.js.map +1 -0
  115. package/dist/chunks/{menu-CS7aZSOd.js → menu-DT4G6X7s.js} +144 -142
  116. package/dist/chunks/menu-DT4G6X7s.js.map +1 -0
  117. package/dist/chunks/{meter-CUT58Aor.js → meter-D_c3jawb.js} +4 -4
  118. package/dist/chunks/{meter-CUT58Aor.js.map → meter-D_c3jawb.js.map} +1 -1
  119. package/dist/chunks/nav-sheet-DuqCp7cS.js +133 -0
  120. package/dist/chunks/nav-sheet-DuqCp7cS.js.map +1 -0
  121. package/dist/chunks/{nav-wordmark-DoA-i2E9.js → nav-wordmark-CPDxGU5t.js} +2 -2
  122. package/dist/chunks/{nav-wordmark-DoA-i2E9.js.map → nav-wordmark-CPDxGU5t.js.map} +1 -1
  123. package/dist/chunks/observe-resize-Bubv5_wX.js +34 -0
  124. package/dist/chunks/observe-resize-Bubv5_wX.js.map +1 -0
  125. package/dist/chunks/{page-header-DdqpIHda.js → page-header-B6lKcMlr.js} +6 -6
  126. package/dist/chunks/page-header-B6lKcMlr.js.map +1 -0
  127. package/dist/chunks/{pagination-C9kb4ymb.js → pagination-DvPIXuoj.js} +36 -35
  128. package/dist/chunks/pagination-DvPIXuoj.js.map +1 -0
  129. package/dist/chunks/{picker-popover-AA76MIKx.js → picker-popover-6ISVxMYv.js} +41 -40
  130. package/dist/chunks/picker-popover-6ISVxMYv.js.map +1 -0
  131. package/dist/chunks/{popover-BFvV60-L.js → popover-Dw7iTUNg.js} +2 -2
  132. package/dist/chunks/{popover-BFvV60-L.js.map → popover-Dw7iTUNg.js.map} +1 -1
  133. package/dist/chunks/{qr-code-CCNU8O2_.js → qr-code-ClT_2Xa9.js} +2 -2
  134. package/dist/chunks/{qr-code-CCNU8O2_.js.map → qr-code-ClT_2Xa9.js.map} +1 -1
  135. package/dist/chunks/{radio-anvHOdCW.js → radio-DJES13fj.js} +3 -3
  136. package/dist/chunks/{radio-anvHOdCW.js.map → radio-DJES13fj.js.map} +1 -1
  137. package/dist/chunks/{range-popup-DnI_IMVR.js → range-popup-CiCBpRfH.js} +34 -34
  138. package/dist/chunks/range-popup-CiCBpRfH.js.map +1 -0
  139. package/dist/chunks/{reasoning-frame-BCoFYqgO.js → reasoning-frame-DnTFGrD_.js} +18 -18
  140. package/dist/chunks/reasoning-frame-DnTFGrD_.js.map +1 -0
  141. package/dist/chunks/release-art-CgszffGH.js +808 -0
  142. package/dist/chunks/release-art-CgszffGH.js.map +1 -0
  143. package/dist/chunks/{resize-motion-BbVXkxTO.js → resize-motion-CMR1x5Kw.js} +2 -2
  144. package/dist/chunks/{resize-motion-BbVXkxTO.js.map → resize-motion-CMR1x5Kw.js.map} +1 -1
  145. package/dist/chunks/{rights-BZ1cfh4_.js → rights-BKkbkESE.js} +110 -108
  146. package/dist/chunks/rights-BKkbkESE.js.map +1 -0
  147. package/dist/chunks/{rolling-number-wHJ6BD7h.js → rolling-number-uNjki3hn.js} +2 -2
  148. package/dist/chunks/{rolling-number-wHJ6BD7h.js.map → rolling-number-uNjki3hn.js.map} +1 -1
  149. package/dist/chunks/{scroll-area-CWPdGMJb.js → scroll-area-CjokFhH6.js} +2 -2
  150. package/dist/chunks/{scroll-area-CWPdGMJb.js.map → scroll-area-CjokFhH6.js.map} +1 -1
  151. package/dist/chunks/{section-DmjNeJG9.js → section-DJgejMMh.js} +12 -11
  152. package/dist/chunks/section-DJgejMMh.js.map +1 -0
  153. package/dist/chunks/{segmented-Cb8cFVck.js → segmented-UnR1L-kk.js} +6 -6
  154. package/dist/chunks/{segmented-Cb8cFVck.js.map → segmented-UnR1L-kk.js.map} +1 -1
  155. package/dist/chunks/{select-DTMAr8fs.js → select-CvpwZaeF.js} +65 -63
  156. package/dist/chunks/select-CvpwZaeF.js.map +1 -0
  157. package/dist/chunks/{separator-CAxDTLUL.js → separator-3RcDNFzM.js} +2 -2
  158. package/dist/chunks/{separator-CAxDTLUL.js.map → separator-3RcDNFzM.js.map} +1 -1
  159. package/dist/chunks/{settings-CtVw9CiD.js → settings-CcNjQm1D.js} +28 -27
  160. package/dist/chunks/settings-CcNjQm1D.js.map +1 -0
  161. package/dist/chunks/{sheet-bfI8sb4T.js → sheet-CsN1uy5N.js} +39 -39
  162. package/dist/chunks/sheet-CsN1uy5N.js.map +1 -0
  163. package/dist/chunks/{shiki-QCHorMZO.js → shiki-Drii10ai.js} +26 -21
  164. package/dist/chunks/shiki-Drii10ai.js.map +1 -0
  165. package/dist/chunks/sidebar-5-2Nqm-H.js +795 -0
  166. package/dist/chunks/sidebar-5-2Nqm-H.js.map +1 -0
  167. package/dist/chunks/{sidebar-menu-ByGqoQlf.js → sidebar-menu-D0y3wpvD.js} +2 -2
  168. package/dist/chunks/{sidebar-menu-ByGqoQlf.js.map → sidebar-menu-D0y3wpvD.js.map} +1 -1
  169. package/dist/chunks/skeleton-GuivuiOP.js +70 -0
  170. package/dist/chunks/skeleton-GuivuiOP.js.map +1 -0
  171. package/dist/chunks/{slider-CSLWsGYq.js → slider-XvStaacJ.js} +2 -2
  172. package/dist/chunks/{slider-CSLWsGYq.js.map → slider-XvStaacJ.js.map} +1 -1
  173. package/dist/chunks/{stat-DpAGMop-.js → stat-BJ4otTGc.js} +7 -7
  174. package/dist/chunks/{stat-DpAGMop-.js.map → stat-BJ4otTGc.js.map} +1 -1
  175. package/dist/chunks/{status-BuZz3nIH.js → status-BkW_rVAX.js} +3 -3
  176. package/dist/chunks/{status-BuZz3nIH.js.map → status-BkW_rVAX.js.map} +1 -1
  177. package/dist/chunks/{swap-text-DL0V-pku.js → swap-text-Crb3uzrK.js} +2 -2
  178. package/dist/chunks/{swap-text-DL0V-pku.js.map → swap-text-Crb3uzrK.js.map} +1 -1
  179. package/dist/chunks/{swap-value-ClhwTe97.js → swap-value-BKrH58Iv.js} +3 -3
  180. package/dist/chunks/{swap-value-ClhwTe97.js.map → swap-value-BKrH58Iv.js.map} +1 -1
  181. package/dist/chunks/{switch-BMdMW6Gh.js → switch-CzmZ6gLD.js} +5 -4
  182. package/dist/chunks/{switch-BMdMW6Gh.js.map → switch-CzmZ6gLD.js.map} +1 -1
  183. package/dist/chunks/{table-BBhL2Sqv.js → table-ppZE7fYt.js} +4 -4
  184. package/dist/chunks/{table-BBhL2Sqv.js.map → table-ppZE7fYt.js.map} +1 -1
  185. package/dist/chunks/{tabs-C0JxB1Lf.js → tabs-DPA2zGfY.js} +4 -4
  186. package/dist/chunks/{tabs-C0JxB1Lf.js.map → tabs-DPA2zGfY.js.map} +1 -1
  187. package/dist/chunks/{tag-CTPr_IxL.js → tag-CnULig9p.js} +25 -24
  188. package/dist/chunks/tag-CnULig9p.js.map +1 -0
  189. package/dist/chunks/{text-OrW7BjbV.js → text-BC4rusw7.js} +4 -4
  190. package/dist/chunks/{text-OrW7BjbV.js.map → text-BC4rusw7.js.map} +1 -1
  191. package/dist/chunks/{textarea-qnw0s5LY.js → textarea-K4ojoshs.js} +45 -44
  192. package/dist/chunks/textarea-K4ojoshs.js.map +1 -0
  193. package/dist/chunks/{theme-image-Cw4VJEag.js → theme-image-C9p959Kv.js} +2 -2
  194. package/dist/chunks/{theme-image-Cw4VJEag.js.map → theme-image-C9p959Kv.js.map} +1 -1
  195. package/dist/chunks/theme-menu-CanR1L9T.js +81 -0
  196. package/dist/chunks/theme-menu-CanR1L9T.js.map +1 -0
  197. package/dist/chunks/{thumbnail-CtYBg7Ms.js → thumbnail-CUa0JXLG.js} +28 -27
  198. package/dist/chunks/thumbnail-CUa0JXLG.js.map +1 -0
  199. package/dist/chunks/{thumbnail-DmFBC3Rf.js → thumbnail-KtBHleQk.js} +2 -2
  200. package/dist/chunks/{thumbnail-DmFBC3Rf.js.map → thumbnail-KtBHleQk.js.map} +1 -1
  201. package/dist/chunks/{timeline-D28Owab7.js → timeline-hMJEN3ZB.js} +3 -3
  202. package/dist/chunks/{timeline-D28Owab7.js.map → timeline-hMJEN3ZB.js.map} +1 -1
  203. package/dist/chunks/{timeseries-C2_s3CC6.js → timeseries-B1h0RRhx.js} +6 -6
  204. package/dist/chunks/timeseries-B1h0RRhx.js.map +1 -0
  205. package/dist/chunks/toast-4PyK7GS1.js +238 -0
  206. package/dist/chunks/toast-4PyK7GS1.js.map +1 -0
  207. package/dist/chunks/{toc-C9Ay3w5r.js → toc-CUh8jCiJ.js} +2 -2
  208. package/dist/chunks/{toc-C9Ay3w5r.js.map → toc-CUh8jCiJ.js.map} +1 -1
  209. package/dist/chunks/toolbar-w3ZPxEoW.js +80 -0
  210. package/dist/chunks/toolbar-w3ZPxEoW.js.map +1 -0
  211. package/dist/chunks/{tooltip-YsywFywc.js → tooltip-iKeKjr7J.js} +3 -3
  212. package/dist/chunks/{tooltip-YsywFywc.js.map → tooltip-iKeKjr7J.js.map} +1 -1
  213. package/dist/chunks/{tooltip-root-DqFXjTS0.js → tooltip-root-Ka27-TrV.js} +9 -8
  214. package/dist/chunks/tooltip-root-Ka27-TrV.js.map +1 -0
  215. package/dist/chunks/{tooltip-Bmcp6DQh.js → tooltip-uRgNOzW_.js} +4 -4
  216. package/dist/chunks/{tooltip-Bmcp6DQh.js.map → tooltip-uRgNOzW_.js.map} +1 -1
  217. package/dist/chunks/{truncated-BEVUjhPv.js → truncated-CcpJk_3e.js} +4 -4
  218. package/dist/chunks/{truncated-BEVUjhPv.js.map → truncated-CcpJk_3e.js.map} +1 -1
  219. package/dist/chunks/{use-cut-off-Ca-Jqata.js → use-cut-off-Cx1Nn5uF.js} +3 -3
  220. package/dist/chunks/{use-cut-off-Ca-Jqata.js.map → use-cut-off-Cx1Nn5uF.js.map} +1 -1
  221. package/dist/chunks/use-delayed-loading-Chh5dI7E.js +21 -0
  222. package/dist/chunks/use-delayed-loading-Chh5dI7E.js.map +1 -0
  223. package/dist/chunks/{use-indicator-CTaEVhAs.js → use-indicator-C1pEv290.js} +2 -2
  224. package/dist/chunks/{use-indicator-CTaEVhAs.js.map → use-indicator-C1pEv290.js.map} +1 -1
  225. package/dist/chunks/{use-layout-width-DAuAGj4G.js → use-layout-width-DbMAv4mR.js} +2 -2
  226. package/dist/chunks/{use-layout-width-DAuAGj4G.js.map → use-layout-width-DbMAv4mR.js.map} +1 -1
  227. package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js → use-scroll-fade-BwpKEWY0.js} +2 -2
  228. package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js.map → use-scroll-fade-BwpKEWY0.js.map} +1 -1
  229. package/dist/chunks/{use-scroll-margin-DIoNdxlW.js → use-scroll-margin-LcRbT78-.js} +2 -2
  230. package/dist/chunks/{use-scroll-margin-DIoNdxlW.js.map → use-scroll-margin-LcRbT78-.js.map} +1 -1
  231. package/dist/chunks/{use-truncated-7FkH4j6x.js → use-truncated-Dn60-ubK.js} +2 -2
  232. package/dist/chunks/{use-truncated-7FkH4j6x.js.map → use-truncated-Dn60-ubK.js.map} +1 -1
  233. package/dist/chunks/{virtual-rows-CJ2gUUJ_.js → virtual-rows-D-ZT6V6B.js} +2 -2
  234. package/dist/chunks/{virtual-rows-CJ2gUUJ_.js.map → virtual-rows-D-ZT6V6B.js.map} +1 -1
  235. package/dist/chunks/{visually-hidden-BQ8nOlYI.js → visually-hidden-Di2pLhE3.js} +2 -2
  236. package/dist/chunks/{visually-hidden-BQ8nOlYI.js.map → visually-hidden-Di2pLhE3.js.map} +1 -1
  237. package/dist/chunks/{zh-CN-By8VGCbn.js → zh-CN-BjoJbfdJ.js} +15 -2
  238. package/dist/chunks/zh-CN-BjoJbfdJ.js.map +1 -0
  239. package/dist/components/app-frame.js +1 -1
  240. package/dist/components/avatar.js +3 -1
  241. package/dist/components/badge.js +1 -1
  242. package/dist/components/banner.js +1 -1
  243. package/dist/components/button-group.js +1 -1
  244. package/dist/components/button.js +1 -1
  245. package/dist/components/calendar.js +1 -1
  246. package/dist/components/charts/bar.js +5 -5
  247. package/dist/components/charts/bar.js.map +1 -1
  248. package/dist/components/charts/donut.js +157 -86
  249. package/dist/components/charts/donut.js.map +1 -1
  250. package/dist/components/charts/heatmap.js +4 -4
  251. package/dist/components/charts/sankey.js +4 -4
  252. package/dist/components/charts/sparkline.js +3 -3
  253. package/dist/components/charts/sparkline.js.map +1 -1
  254. package/dist/components/charts/swatches.js +31 -0
  255. package/dist/components/charts/swatches.js.map +1 -0
  256. package/dist/components/charts/timeseries.js +1 -1
  257. package/dist/components/charts.js +8 -8
  258. package/dist/components/checkbox.js +1 -1
  259. package/dist/components/code-block.js +3 -3
  260. package/dist/components/code.js +1 -1
  261. package/dist/components/collapsible.js +1 -1
  262. package/dist/components/combobox.js +1 -1
  263. package/dist/components/command-palette.js +1 -1
  264. package/dist/components/copy-button.js +1 -1
  265. package/dist/components/dashboard/about-header.js +44 -0
  266. package/dist/components/dashboard/about-header.js.map +1 -0
  267. package/dist/components/dashboard/legend.js +2 -2
  268. package/dist/components/dashboard/metric-tabs.js +5 -5
  269. package/dist/components/dashboard/model-card.js +123 -48
  270. package/dist/components/dashboard/model-card.js.map +1 -1
  271. package/dist/components/dashboard/rank-list.js +86 -60
  272. package/dist/components/dashboard/rank-list.js.map +1 -1
  273. package/dist/components/dashboard.js +3 -2
  274. package/dist/components/data-table.js +1 -1
  275. package/dist/components/date-picker.js +1 -1
  276. package/dist/components/dialog.js +1 -1
  277. package/dist/components/display-options.js +1 -1
  278. package/dist/components/empty.js +1 -1
  279. package/dist/components/field.js +1 -1
  280. package/dist/components/figure.js +1 -1
  281. package/dist/components/filter-chip.js +1 -1
  282. package/dist/components/filter-row.js +1 -1
  283. package/dist/components/flow-canvas.js +187 -184
  284. package/dist/components/flow-canvas.js.map +1 -1
  285. package/dist/components/flow.js +1 -1
  286. package/dist/components/heading.js +1 -1
  287. package/dist/components/icon.js +2 -2
  288. package/dist/components/input.js +3 -3
  289. package/dist/components/kaeso/conversation.js +97 -95
  290. package/dist/components/kaeso/conversation.js.map +1 -1
  291. package/dist/components/kaeso/identity.js +1 -1
  292. package/dist/components/kaeso/moments.js +25 -23
  293. package/dist/components/kaeso/moments.js.map +1 -1
  294. package/dist/components/kaeso/rights.js +1 -1
  295. package/dist/components/kaeso/usage.js +65 -63
  296. package/dist/components/kaeso/usage.js.map +1 -1
  297. package/dist/components/kaeso.js +4 -4
  298. package/dist/components/kbd.js +1 -1
  299. package/dist/components/key-value.js +1 -1
  300. package/dist/components/link.js +1 -1
  301. package/dist/components/list.js +1 -1
  302. package/dist/components/loader.js +3 -2
  303. package/dist/components/logo.js +1 -1
  304. package/dist/components/markdown.js +1 -1
  305. package/dist/components/menu.js +1 -1
  306. package/dist/components/meter.js +1 -1
  307. package/dist/components/page-header.js +1 -1
  308. package/dist/components/pagination.js +1 -1
  309. package/dist/components/playground.js +1047 -1014
  310. package/dist/components/playground.js.map +1 -1
  311. package/dist/components/popover.js +1 -1
  312. package/dist/components/qr-code.js +1 -1
  313. package/dist/components/radio.js +1 -1
  314. package/dist/components/release-art.js +1 -1
  315. package/dist/components/scroll-area.js +1 -1
  316. package/dist/components/section.js +1 -1
  317. package/dist/components/segmented.js +1 -1
  318. package/dist/components/select.js +1 -1
  319. package/dist/components/separator.js +1 -1
  320. package/dist/components/settings.js +1 -1
  321. package/dist/components/sheet.js +1 -1
  322. package/dist/components/sidebar.js +1 -1
  323. package/dist/components/skeleton.js +1 -1
  324. package/dist/components/slider.js +1 -1
  325. package/dist/components/stat.js +3 -3
  326. package/dist/components/status.js +1 -1
  327. package/dist/components/swap-text.js +1 -1
  328. package/dist/components/switch.js +1 -1
  329. package/dist/components/table.js +1 -1
  330. package/dist/components/tabs.js +1 -1
  331. package/dist/components/tag.js +1 -1
  332. package/dist/components/text.js +1 -1
  333. package/dist/components/theme-image.js +1 -1
  334. package/dist/components/theme-menu.js +1 -1
  335. package/dist/components/thumbnail.js +2 -2
  336. package/dist/components/timeline.js +1 -1
  337. package/dist/components/toast.js +1 -1
  338. package/dist/components/toc.js +1 -1
  339. package/dist/components/toolbar.js +1 -1
  340. package/dist/components/tooltip.js +1 -1
  341. package/dist/components/visually-hidden.js +1 -1
  342. package/dist/i18n-provider.js +1 -1
  343. package/dist/icons/agent.js +5 -0
  344. package/dist/icons/agent.js.map +1 -0
  345. package/dist/icons/alert.js +5 -0
  346. package/dist/icons/alert.js.map +1 -0
  347. package/dist/icons/apps.js +5 -0
  348. package/dist/icons/apps.js.map +1 -0
  349. package/dist/icons/arrow-both.js +5 -0
  350. package/dist/icons/arrow-both.js.map +1 -0
  351. package/dist/icons/arrow-down.js +5 -0
  352. package/dist/icons/arrow-down.js.map +1 -0
  353. package/dist/icons/arrow-right.js +5 -0
  354. package/dist/icons/arrow-right.js.map +1 -0
  355. package/dist/icons/arrow-switch.js +5 -0
  356. package/dist/icons/arrow-switch.js.map +1 -0
  357. package/dist/icons/arrow-up-right.js +5 -0
  358. package/dist/icons/arrow-up-right.js.map +1 -0
  359. package/dist/icons/arrow-up.js +5 -0
  360. package/dist/icons/arrow-up.js.map +1 -0
  361. package/dist/icons/bell.js +5 -0
  362. package/dist/icons/bell.js.map +1 -0
  363. package/dist/icons/broadcast.js +5 -0
  364. package/dist/icons/broadcast.js.map +1 -0
  365. package/dist/icons/calendar.js +5 -0
  366. package/dist/icons/calendar.js.map +1 -0
  367. package/dist/icons/check-circle.js +5 -0
  368. package/dist/icons/check-circle.js.map +1 -0
  369. package/dist/icons/check.js +5 -0
  370. package/dist/icons/check.js.map +1 -0
  371. package/dist/icons/checklist.js +5 -0
  372. package/dist/icons/checklist.js.map +1 -0
  373. package/dist/icons/chevron-down.js +5 -0
  374. package/dist/icons/chevron-down.js.map +1 -0
  375. package/dist/icons/chevron-left.js +5 -0
  376. package/dist/icons/chevron-left.js.map +1 -0
  377. package/dist/icons/chevron-right.js +5 -0
  378. package/dist/icons/chevron-right.js.map +1 -0
  379. package/dist/icons/chevron-up.js +5 -0
  380. package/dist/icons/chevron-up.js.map +1 -0
  381. package/dist/icons/clock.js +5 -0
  382. package/dist/icons/clock.js.map +1 -0
  383. package/dist/icons/code-square.js +8 -0
  384. package/dist/icons/code-square.js.map +1 -0
  385. package/dist/icons/code.js +5 -0
  386. package/dist/icons/code.js.map +1 -0
  387. package/dist/icons/copy.js +5 -0
  388. package/dist/icons/copy.js.map +1 -0
  389. package/dist/icons/cpu.js +5 -0
  390. package/dist/icons/cpu.js.map +1 -0
  391. package/dist/icons/credit-card.js +5 -0
  392. package/dist/icons/credit-card.js.map +1 -0
  393. package/dist/icons/dash.js +5 -0
  394. package/dist/icons/dash.js.map +1 -0
  395. package/dist/icons/dashboard.js +8 -0
  396. package/dist/icons/dashboard.js.map +1 -0
  397. package/dist/icons/database.js +5 -0
  398. package/dist/icons/database.js.map +1 -0
  399. package/dist/icons/device-desktop.js +5 -0
  400. package/dist/icons/device-desktop.js.map +1 -0
  401. package/dist/icons/devices.js +5 -0
  402. package/dist/icons/devices.js.map +1 -0
  403. package/dist/icons/download.js +5 -0
  404. package/dist/icons/download.js.map +1 -0
  405. package/dist/icons/eye-closed.js +5 -0
  406. package/dist/icons/eye-closed.js.map +1 -0
  407. package/dist/icons/eye.js +5 -0
  408. package/dist/icons/eye.js.map +1 -0
  409. package/dist/icons/file-directory.js +5 -0
  410. package/dist/icons/file-directory.js.map +1 -0
  411. package/dist/icons/file.js +5 -0
  412. package/dist/icons/file.js.map +1 -0
  413. package/dist/icons/filter.js +5 -0
  414. package/dist/icons/filter.js.map +1 -0
  415. package/dist/icons/gear.js +5 -0
  416. package/dist/icons/gear.js.map +1 -0
  417. package/dist/icons/git-branch.js +5 -0
  418. package/dist/icons/git-branch.js.map +1 -0
  419. package/dist/icons/git-compare.js +5 -0
  420. package/dist/icons/git-compare.js.map +1 -0
  421. package/dist/icons/globe.js +5 -0
  422. package/dist/icons/globe.js.map +1 -0
  423. package/dist/icons/graph-bar-horizontal.js +8 -0
  424. package/dist/icons/graph-bar-horizontal.js.map +1 -0
  425. package/dist/icons/graph.js +5 -0
  426. package/dist/icons/graph.js.map +1 -0
  427. package/dist/icons/home.js +5 -0
  428. package/dist/icons/home.js.map +1 -0
  429. package/dist/icons/id-badge.js +5 -0
  430. package/dist/icons/id-badge.js.map +1 -0
  431. package/dist/icons/image.js +5 -0
  432. package/dist/icons/image.js.map +1 -0
  433. package/dist/icons/info.js +5 -0
  434. package/dist/icons/info.js.map +1 -0
  435. package/dist/icons/kebab-horizontal.js +5 -0
  436. package/dist/icons/kebab-horizontal.js.map +1 -0
  437. package/dist/icons/key-asterisk.js +5 -0
  438. package/dist/icons/key-asterisk.js.map +1 -0
  439. package/dist/icons/key.js +5 -0
  440. package/dist/icons/key.js.map +1 -0
  441. package/dist/icons/keyboard.js +23 -0
  442. package/dist/icons/keyboard.js.map +1 -0
  443. package/dist/icons/law.js +5 -0
  444. package/dist/icons/law.js.map +1 -0
  445. package/dist/icons/link-external.js +5 -0
  446. package/dist/icons/link-external.js.map +1 -0
  447. package/dist/icons/link.js +5 -0
  448. package/dist/icons/link.js.map +1 -0
  449. package/dist/icons/list-unordered.js +5 -0
  450. package/dist/icons/list-unordered.js.map +1 -0
  451. package/dist/icons/lock.js +5 -0
  452. package/dist/icons/lock.js.map +1 -0
  453. package/dist/icons/log.js +5 -0
  454. package/dist/icons/log.js.map +1 -0
  455. package/dist/icons/loop.js +5 -0
  456. package/dist/icons/loop.js.map +1 -0
  457. package/dist/icons/mail.js +5 -0
  458. package/dist/icons/mail.js.map +1 -0
  459. package/dist/icons/mark-github.js +5 -0
  460. package/dist/icons/mark-github.js.map +1 -0
  461. package/dist/icons/maximize.js +5 -0
  462. package/dist/icons/maximize.js.map +1 -0
  463. package/dist/icons/meter.js +5 -0
  464. package/dist/icons/meter.js.map +1 -0
  465. package/dist/icons/microphone.js +23 -0
  466. package/dist/icons/microphone.js.map +1 -0
  467. package/dist/icons/minimize.js +5 -0
  468. package/dist/icons/minimize.js.map +1 -0
  469. package/dist/icons/moon.js +5 -0
  470. package/dist/icons/moon.js.map +1 -0
  471. package/dist/icons/note.js +5 -0
  472. package/dist/icons/note.js.map +1 -0
  473. package/dist/icons/organization.js +5 -0
  474. package/dist/icons/organization.js.map +1 -0
  475. package/dist/icons/package-dependencies.js +5 -0
  476. package/dist/icons/package-dependencies.js.map +1 -0
  477. package/dist/icons/package.js +5 -0
  478. package/dist/icons/package.js.map +1 -0
  479. package/dist/icons/paperclip.js +5 -0
  480. package/dist/icons/paperclip.js.map +1 -0
  481. package/dist/icons/pencil.js +5 -0
  482. package/dist/icons/pencil.js.map +1 -0
  483. package/dist/icons/people.js +5 -0
  484. package/dist/icons/people.js.map +1 -0
  485. package/dist/icons/person.js +5 -0
  486. package/dist/icons/person.js.map +1 -0
  487. package/dist/icons/plug.js +5 -0
  488. package/dist/icons/plug.js.map +1 -0
  489. package/dist/icons/plus.js +5 -0
  490. package/dist/icons/plus.js.map +1 -0
  491. package/dist/icons/question.js +5 -0
  492. package/dist/icons/question.js.map +1 -0
  493. package/dist/icons/redo.js +5 -0
  494. package/dist/icons/redo.js.map +1 -0
  495. package/dist/icons/search.js +5 -0
  496. package/dist/icons/search.js.map +1 -0
  497. package/dist/icons/server.js +5 -0
  498. package/dist/icons/server.js.map +1 -0
  499. package/dist/icons/shield-check.js +5 -0
  500. package/dist/icons/shield-check.js.map +1 -0
  501. package/dist/icons/sidebar-left.js +23 -0
  502. package/dist/icons/sidebar-left.js.map +1 -0
  503. package/dist/icons/sidebar-right.js +23 -0
  504. package/dist/icons/sidebar-right.js.map +1 -0
  505. package/dist/icons/sign-out.js +5 -0
  506. package/dist/icons/sign-out.js.map +1 -0
  507. package/dist/icons/sliders.js +5 -0
  508. package/dist/icons/sliders.js.map +1 -0
  509. package/dist/icons/sort-desc.js +5 -0
  510. package/dist/icons/sort-desc.js.map +1 -0
  511. package/dist/icons/square-fill.js +5 -0
  512. package/dist/icons/square-fill.js.map +1 -0
  513. package/dist/icons/stack.js +5 -0
  514. package/dist/icons/stack.js.map +1 -0
  515. package/dist/icons/stop.js +5 -0
  516. package/dist/icons/stop.js.map +1 -0
  517. package/dist/icons/sun.js +5 -0
  518. package/dist/icons/sun.js.map +1 -0
  519. package/dist/icons/switcher.js +12 -0
  520. package/dist/icons/switcher.js.map +1 -0
  521. package/dist/icons/sync.js +5 -0
  522. package/dist/icons/sync.js.map +1 -0
  523. package/dist/icons/terminal.js +5 -0
  524. package/dist/icons/terminal.js.map +1 -0
  525. package/dist/icons/three-bars.js +5 -0
  526. package/dist/icons/three-bars.js.map +1 -0
  527. package/dist/icons/tools.js +5 -0
  528. package/dist/icons/tools.js.map +1 -0
  529. package/dist/icons/trash.js +5 -0
  530. package/dist/icons/trash.js.map +1 -0
  531. package/dist/icons/undo.js +5 -0
  532. package/dist/icons/undo.js.map +1 -0
  533. package/dist/icons/unmute.js +5 -0
  534. package/dist/icons/unmute.js.map +1 -0
  535. package/dist/icons/upload.js +5 -0
  536. package/dist/icons/upload.js.map +1 -0
  537. package/dist/icons/webhook.js +9 -0
  538. package/dist/icons/webhook.js.map +1 -0
  539. package/dist/icons/workflow.js +5 -0
  540. package/dist/icons/workflow.js.map +1 -0
  541. package/dist/icons/x.js +5 -0
  542. package/dist/icons/x.js.map +1 -0
  543. package/dist/index.js +102 -100
  544. package/dist/kaeso.css +184 -106
  545. package/dist/octicons.js +101 -0
  546. package/dist/styles.css +1 -1
  547. package/dist/types/components/app-frame/app-frame.d.ts +2 -2
  548. package/dist/types/components/avatar/avatar.d.ts +1 -0
  549. package/dist/types/components/avatar/docs.d.ts +1 -0
  550. package/dist/types/components/avatar/index.d.ts +1 -0
  551. package/dist/types/components/avatar/swatches.d.ts +6 -0
  552. package/dist/types/components/banner/banner.d.ts +2 -2
  553. package/dist/types/components/charts/core.d.ts +6 -2
  554. package/dist/types/components/charts/docs.d.ts +2 -0
  555. package/dist/types/components/charts/donut.d.ts +2 -0
  556. package/dist/types/components/charts/index.d.ts +1 -1
  557. package/dist/types/components/charts/swatches.d.ts +8 -0
  558. package/dist/types/components/code-block/highlighter.d.ts +6 -0
  559. package/dist/types/components/code-block/shiki.d.ts +2 -0
  560. package/dist/types/components/dashboard/about-header.d.ts +12 -0
  561. package/dist/types/components/dashboard/docs.d.ts +17 -1
  562. package/dist/types/components/dashboard/index.d.ts +1 -0
  563. package/dist/types/components/dashboard/model-card.d.ts +3 -1
  564. package/dist/types/components/dashboard/rank-list.d.ts +3 -1
  565. package/dist/types/components/empty/docs.d.ts +2 -0
  566. package/dist/types/components/empty/empty.d.ts +26 -6
  567. package/dist/types/components/filter-row/filter-row.d.ts +2 -2
  568. package/dist/types/components/icon/icon.d.ts +2 -2
  569. package/dist/types/components/kaeso/client-button.d.ts +2 -2
  570. package/dist/types/components/kaeso/docs.d.ts +20 -0
  571. package/dist/types/components/kaeso/index.d.ts +2 -0
  572. package/dist/types/components/kaeso/model-makers.d.ts +5 -5
  573. package/dist/types/components/kaeso/scope-picker.d.ts +48 -0
  574. package/dist/types/components/kaeso/source-badge.d.ts +3 -3
  575. package/dist/types/components/key-value/key-value.d.ts +1 -0
  576. package/dist/types/components/list/docs.d.ts +1 -0
  577. package/dist/types/components/list/index.d.ts +1 -1
  578. package/dist/types/components/list/list.d.ts +6 -0
  579. package/dist/types/components/loader/loader.d.ts +1 -1
  580. package/dist/types/components/page-header/page-header.d.ts +1 -1
  581. package/dist/types/components/release-art/drawing.d.ts +25 -2
  582. package/dist/types/components/release-art/index.d.ts +1 -1
  583. package/dist/types/components/release-art/release-art.d.ts +1 -1
  584. package/dist/types/components/section/docs.d.ts +1 -0
  585. package/dist/types/components/section/section-header.d.ts +1 -0
  586. package/dist/types/components/section/section.d.ts +2 -0
  587. package/dist/types/components/sidebar/index.d.ts +1 -1
  588. package/dist/types/components/sidebar/sidebar.d.ts +24 -5
  589. package/dist/types/components/skeleton/docs.d.ts +1 -0
  590. package/dist/types/components/skeleton/skeleton.d.ts +9 -0
  591. package/dist/types/components/toolbar/docs.d.ts +1 -0
  592. package/dist/types/components/toolbar/toolbar.d.ts +14 -2
  593. package/dist/types/hooks/use-delayed-loading.d.ts +1 -0
  594. package/dist/types/icons/octicons/agent.d.ts +2 -0
  595. package/dist/types/icons/octicons/alert.d.ts +2 -0
  596. package/dist/types/icons/octicons/apps.d.ts +2 -0
  597. package/dist/types/icons/octicons/arrow-both.d.ts +2 -0
  598. package/dist/types/icons/octicons/arrow-down.d.ts +2 -0
  599. package/dist/types/icons/octicons/arrow-right.d.ts +2 -0
  600. package/dist/types/icons/octicons/arrow-switch.d.ts +2 -0
  601. package/dist/types/icons/octicons/arrow-up-right.d.ts +2 -0
  602. package/dist/types/icons/octicons/arrow-up.d.ts +2 -0
  603. package/dist/types/icons/octicons/bell.d.ts +2 -0
  604. package/dist/types/icons/octicons/broadcast.d.ts +2 -0
  605. package/dist/types/icons/octicons/calendar.d.ts +2 -0
  606. package/dist/types/icons/octicons/check-circle.d.ts +2 -0
  607. package/dist/types/icons/octicons/check.d.ts +2 -0
  608. package/dist/types/icons/octicons/checklist.d.ts +2 -0
  609. package/dist/types/icons/octicons/chevron-down.d.ts +2 -0
  610. package/dist/types/icons/octicons/chevron-left.d.ts +2 -0
  611. package/dist/types/icons/octicons/chevron-right.d.ts +2 -0
  612. package/dist/types/icons/octicons/chevron-up.d.ts +2 -0
  613. package/dist/types/icons/octicons/clock.d.ts +2 -0
  614. package/dist/types/icons/octicons/code-square.d.ts +2 -0
  615. package/dist/types/icons/octicons/code.d.ts +2 -0
  616. package/dist/types/icons/octicons/copy.d.ts +2 -0
  617. package/dist/types/icons/octicons/cpu.d.ts +2 -0
  618. package/dist/types/icons/octicons/credit-card.d.ts +2 -0
  619. package/dist/types/icons/octicons/dash.d.ts +2 -0
  620. package/dist/types/icons/octicons/dashboard.d.ts +2 -0
  621. package/dist/types/icons/octicons/database.d.ts +2 -0
  622. package/dist/types/icons/octicons/device-desktop.d.ts +2 -0
  623. package/dist/types/icons/octicons/devices.d.ts +2 -0
  624. package/dist/types/icons/octicons/download.d.ts +2 -0
  625. package/dist/types/icons/octicons/eye-closed.d.ts +2 -0
  626. package/dist/types/icons/octicons/eye.d.ts +2 -0
  627. package/dist/types/icons/octicons/file-directory.d.ts +2 -0
  628. package/dist/types/icons/octicons/file.d.ts +2 -0
  629. package/dist/types/icons/octicons/filter.d.ts +2 -0
  630. package/dist/types/icons/octicons/gear.d.ts +2 -0
  631. package/dist/types/icons/octicons/git-branch.d.ts +2 -0
  632. package/dist/types/icons/octicons/git-compare.d.ts +2 -0
  633. package/dist/types/icons/octicons/globe.d.ts +2 -0
  634. package/dist/types/icons/octicons/graph-bar-horizontal.d.ts +2 -0
  635. package/dist/types/icons/octicons/graph.d.ts +2 -0
  636. package/dist/types/icons/octicons/home.d.ts +2 -0
  637. package/dist/types/icons/octicons/id-badge.d.ts +2 -0
  638. package/dist/types/icons/octicons/image.d.ts +2 -0
  639. package/dist/types/icons/octicons/info.d.ts +2 -0
  640. package/dist/types/icons/octicons/kebab-horizontal.d.ts +2 -0
  641. package/dist/types/icons/octicons/key-asterisk.d.ts +2 -0
  642. package/dist/types/icons/octicons/key.d.ts +2 -0
  643. package/dist/types/icons/octicons/keyboard.d.ts +2 -0
  644. package/dist/types/icons/octicons/law.d.ts +2 -0
  645. package/dist/types/icons/octicons/link-external.d.ts +2 -0
  646. package/dist/types/icons/octicons/link.d.ts +2 -0
  647. package/dist/types/icons/octicons/list-unordered.d.ts +2 -0
  648. package/dist/types/icons/octicons/lock.d.ts +2 -0
  649. package/dist/types/icons/octicons/log.d.ts +2 -0
  650. package/dist/types/icons/octicons/loop.d.ts +2 -0
  651. package/dist/types/icons/octicons/mail.d.ts +2 -0
  652. package/dist/types/icons/octicons/mark-github.d.ts +2 -0
  653. package/dist/types/icons/octicons/maximize.d.ts +2 -0
  654. package/dist/types/icons/octicons/meter.d.ts +2 -0
  655. package/dist/types/icons/octicons/microphone.d.ts +2 -0
  656. package/dist/types/icons/octicons/minimize.d.ts +2 -0
  657. package/dist/types/icons/octicons/moon.d.ts +2 -0
  658. package/dist/types/icons/octicons/note.d.ts +2 -0
  659. package/dist/types/icons/octicons/organization.d.ts +2 -0
  660. package/dist/types/icons/octicons/package-dependencies.d.ts +2 -0
  661. package/dist/types/icons/octicons/package.d.ts +2 -0
  662. package/dist/types/icons/octicons/paperclip.d.ts +2 -0
  663. package/dist/types/icons/octicons/pencil.d.ts +2 -0
  664. package/dist/types/icons/octicons/people.d.ts +2 -0
  665. package/dist/types/icons/octicons/person.d.ts +2 -0
  666. package/dist/types/icons/octicons/plug.d.ts +2 -0
  667. package/dist/types/icons/octicons/plus.d.ts +2 -0
  668. package/dist/types/icons/octicons/question.d.ts +2 -0
  669. package/dist/types/icons/octicons/redo.d.ts +2 -0
  670. package/dist/types/icons/octicons/search.d.ts +2 -0
  671. package/dist/types/icons/octicons/server.d.ts +2 -0
  672. package/dist/types/icons/octicons/shield-check.d.ts +2 -0
  673. package/dist/types/icons/octicons/sidebar-left.d.ts +2 -0
  674. package/dist/types/icons/octicons/sidebar-right.d.ts +2 -0
  675. package/dist/types/icons/octicons/sign-out.d.ts +2 -0
  676. package/dist/types/icons/octicons/sliders.d.ts +2 -0
  677. package/dist/types/icons/octicons/sort-desc.d.ts +2 -0
  678. package/dist/types/icons/octicons/square-fill.d.ts +2 -0
  679. package/dist/types/icons/octicons/stack.d.ts +2 -0
  680. package/dist/types/icons/octicons/stop.d.ts +2 -0
  681. package/dist/types/icons/octicons/sun.d.ts +2 -0
  682. package/dist/types/icons/octicons/switcher.d.ts +2 -0
  683. package/dist/types/icons/octicons/sync.d.ts +2 -0
  684. package/dist/types/icons/octicons/terminal.d.ts +2 -0
  685. package/dist/types/icons/octicons/three-bars.d.ts +2 -0
  686. package/dist/types/icons/octicons/tools.d.ts +2 -0
  687. package/dist/types/icons/octicons/trash.d.ts +2 -0
  688. package/dist/types/icons/octicons/undo.d.ts +2 -0
  689. package/dist/types/icons/octicons/unmute.d.ts +2 -0
  690. package/dist/types/icons/octicons/upload.d.ts +2 -0
  691. package/dist/types/icons/octicons/webhook.d.ts +2 -0
  692. package/dist/types/icons/octicons/workflow.d.ts +2 -0
  693. package/dist/types/icons/octicons/x.d.ts +2 -0
  694. package/dist/types/icons/octicons.d.ts +100 -0
  695. package/dist/types/icons/vocabulary.d.ts +104 -515
  696. package/dist/types/utils/cn.d.ts +18 -16
  697. package/dist/types/utils/observe-resize.d.ts +1 -0
  698. package/dist/types/utils/swipe-dismiss.d.ts +3 -0
  699. package/dist/utils.js +1 -1
  700. package/foundations/color.md +4 -3
  701. package/foundations/icons.md +3 -3
  702. package/foundations/layout.md +9 -9
  703. package/foundations/motion.md +46 -21
  704. package/foundations/psychology.md +1 -1
  705. package/foundations/shape.md +26 -25
  706. package/foundations/writing.md +6 -1
  707. package/package.json +14 -14
  708. package/dist/chunks/app-frame-CnyC_z96.js.map +0 -1
  709. package/dist/chunks/avatar-DVw5ZHKN.js.map +0 -1
  710. package/dist/chunks/banner-DT5qBAkJ.js +0 -89
  711. package/dist/chunks/banner-DT5qBAkJ.js.map +0 -1
  712. package/dist/chunks/button-DoZ7krdH.js.map +0 -1
  713. package/dist/chunks/calendar-BR8wvVEv.js.map +0 -1
  714. package/dist/chunks/cn-CF99d-bD.js.map +0 -1
  715. package/dist/chunks/code-block-BCcbkQ3b.js +0 -282
  716. package/dist/chunks/code-block-BCcbkQ3b.js.map +0 -1
  717. package/dist/chunks/code-block-DpYJ9OQ9.js.map +0 -1
  718. package/dist/chunks/combobox-B9PoRhga.js.map +0 -1
  719. package/dist/chunks/command-list-DIv7azFz.js.map +0 -1
  720. package/dist/chunks/command-palette-DAGGTUyX.js.map +0 -1
  721. package/dist/chunks/copy-button-TT_5sNFW.js.map +0 -1
  722. package/dist/chunks/core-iiSCX78t.js.map +0 -1
  723. package/dist/chunks/dashboard-Bs8X-Qvt.js +0 -136
  724. package/dist/chunks/dashboard-Bs8X-Qvt.js.map +0 -1
  725. package/dist/chunks/data-table-CCv3fgK5.js +0 -682
  726. package/dist/chunks/data-table-CCv3fgK5.js.map +0 -1
  727. package/dist/chunks/date-picker-vS5h1HKN.js.map +0 -1
  728. package/dist/chunks/de-K_t_sSKN.js.map +0 -1
  729. package/dist/chunks/dialog-O2djESCg.js +0 -590
  730. package/dist/chunks/dialog-O2djESCg.js.map +0 -1
  731. package/dist/chunks/disclosure-0eeGo16u.js +0 -21
  732. package/dist/chunks/disclosure-0eeGo16u.js.map +0 -1
  733. package/dist/chunks/display-options-DcVmg-i-.js.map +0 -1
  734. package/dist/chunks/empty-BLeimJFU.js +0 -50
  735. package/dist/chunks/empty-BLeimJFU.js.map +0 -1
  736. package/dist/chunks/filter-chip-CFlRbeHm.js +0 -208
  737. package/dist/chunks/filter-chip-CFlRbeHm.js.map +0 -1
  738. package/dist/chunks/filter-row-Dia2atDQ.js.map +0 -1
  739. package/dist/chunks/icon-BMsYY158.js +0 -110
  740. package/dist/chunks/icon-BMsYY158.js.map +0 -1
  741. package/dist/chunks/icon-kQHSzziW.js +0 -74
  742. package/dist/chunks/icon-kQHSzziW.js.map +0 -1
  743. package/dist/chunks/identity-CKVVvPbE.js.map +0 -1
  744. package/dist/chunks/input-WUVIrQkn.js +0 -179
  745. package/dist/chunks/input-WUVIrQkn.js.map +0 -1
  746. package/dist/chunks/json-view-CNpzGhtB.js.map +0 -1
  747. package/dist/chunks/kaeso-6lWIZnFb.js.map +0 -1
  748. package/dist/chunks/kbd-CI5W-2LJ.js.map +0 -1
  749. package/dist/chunks/key-value-DTAMe71k.js.map +0 -1
  750. package/dist/chunks/link-ouHMlBU8.js.map +0 -1
  751. package/dist/chunks/list-CdnGU-gX.js +0 -595
  752. package/dist/chunks/list-CdnGU-gX.js.map +0 -1
  753. package/dist/chunks/loader-C4ayEuXI.js +0 -56
  754. package/dist/chunks/loader-C4ayEuXI.js.map +0 -1
  755. package/dist/chunks/markdown-h44XrRqz.js.map +0 -1
  756. package/dist/chunks/menu-CS7aZSOd.js.map +0 -1
  757. package/dist/chunks/nav-sheet-Da-sKZmW.js +0 -65
  758. package/dist/chunks/nav-sheet-Da-sKZmW.js.map +0 -1
  759. package/dist/chunks/observe-resize-CUTyU0ZX.js +0 -27
  760. package/dist/chunks/observe-resize-CUTyU0ZX.js.map +0 -1
  761. package/dist/chunks/page-header-DdqpIHda.js.map +0 -1
  762. package/dist/chunks/pagination-C9kb4ymb.js.map +0 -1
  763. package/dist/chunks/picker-popover-AA76MIKx.js.map +0 -1
  764. package/dist/chunks/range-popup-DnI_IMVR.js.map +0 -1
  765. package/dist/chunks/reasoning-frame-BCoFYqgO.js.map +0 -1
  766. package/dist/chunks/release-art-CQuIWLkB.js +0 -580
  767. package/dist/chunks/release-art-CQuIWLkB.js.map +0 -1
  768. package/dist/chunks/rights-BZ1cfh4_.js.map +0 -1
  769. package/dist/chunks/section-DmjNeJG9.js.map +0 -1
  770. package/dist/chunks/select-DTMAr8fs.js.map +0 -1
  771. package/dist/chunks/settings-CtVw9CiD.js.map +0 -1
  772. package/dist/chunks/sheet-bfI8sb4T.js.map +0 -1
  773. package/dist/chunks/shiki-QCHorMZO.js.map +0 -1
  774. package/dist/chunks/sidebar-ddl-qlYN.js +0 -665
  775. package/dist/chunks/sidebar-ddl-qlYN.js.map +0 -1
  776. package/dist/chunks/skeleton-DWcNGANz.js +0 -32
  777. package/dist/chunks/skeleton-DWcNGANz.js.map +0 -1
  778. package/dist/chunks/tag-CTPr_IxL.js.map +0 -1
  779. package/dist/chunks/textarea-qnw0s5LY.js.map +0 -1
  780. package/dist/chunks/theme-menu-B-t-nYWM.js +0 -79
  781. package/dist/chunks/theme-menu-B-t-nYWM.js.map +0 -1
  782. package/dist/chunks/thumbnail-CtYBg7Ms.js.map +0 -1
  783. package/dist/chunks/timeseries-C2_s3CC6.js.map +0 -1
  784. package/dist/chunks/toast-B6OZXKAp.js +0 -226
  785. package/dist/chunks/toast-B6OZXKAp.js.map +0 -1
  786. package/dist/chunks/toolbar-BHqTfPWr.js +0 -60
  787. package/dist/chunks/toolbar-BHqTfPWr.js.map +0 -1
  788. package/dist/chunks/tooltip-root-DqFXjTS0.js.map +0 -1
  789. package/dist/chunks/zh-CN-By8VGCbn.js.map +0 -1
@@ -1,665 +0,0 @@
1
- "use client";
2
- import { n as e, t } from "./disclosure-0eeGo16u.js";
3
- import { t as n } from "./cn-CF99d-bD.js";
4
- import { n as r } from "./observe-resize-CUTyU0ZX.js";
5
- import { r as i } from "./link-provider-DSF9bbO3.js";
6
- import { a, c as o, d as s, f as c, i as l, o as u, r as d } from "./tooltip-Bmcp6DQh.js";
7
- import { t as f } from "./icon-kQHSzziW.js";
8
- import { r as p } from "./skeleton-DWcNGANz.js";
9
- import { t as m } from "./nav-wordmark-DoA-i2E9.js";
10
- import { t as h } from "./when-idle-DXKwyOLB.js";
11
- import { t as g } from "./merge-refs-SiVVoQsO.js";
12
- import { a as _ } from "./context-B2nNL7Im.js";
13
- import { createContext as v, forwardRef as y, useCallback as b, useContext as x, useEffect as S, useId as C, useLayoutEffect as w, useMemo as T, useRef as E, useState as D, useSyncExternalStore as O } from "react";
14
- import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
15
- import { Alert02Icon as M, ArrowLeft01Icon as ee, SidebarLeftIcon as N, UnfoldMoreIcon as P } from "@hugeicons/core-free-icons";
16
- import { Collapsible as F } from "@base-ui/react/collapsible";
17
- // src/hooks/use-stored-state.ts
18
- var I, L;
19
- function te(e) {
20
- try {
21
- let t = localStorage.getItem(e);
22
- if (t !== null) return t;
23
- } catch {}
24
- return L?.get(e) ?? null;
25
- }
26
- function ne(e, t) {
27
- I ??= /* @__PURE__ */ new Map();
28
- let n = I.get(e);
29
- n || I.set(e, n = /* @__PURE__ */ new Set()), n.add(t);
30
- let r = (n) => {
31
- n.key === e && t();
32
- };
33
- return window.addEventListener("storage", r), () => {
34
- n.delete(t), window.removeEventListener("storage", r);
35
- };
36
- }
37
- var re = () => () => void 0, ie = () => null;
38
- function R(e, t) {
39
- let n = e ? `kaeso:${e}` : void 0, [r, i] = D(t), a = b((e) => n ? ne(n, e) : () => void 0, [n]), o = b(() => n ? te(n) : null, [n]), s = O(n ? a : re, o, ie), c = T(() => {
40
- if (s !== null) try {
41
- return { value: JSON.parse(s) };
42
- } catch {
43
- return;
44
- }
45
- }, [s]), l = b((e) => {
46
- if (!n) {
47
- i(e);
48
- return;
49
- }
50
- let t = JSON.stringify(e);
51
- try {
52
- localStorage.setItem(n, t);
53
- } catch {
54
- (L ??= /* @__PURE__ */ new Map()).set(n, t);
55
- }
56
- I?.get(n)?.forEach((e) => e());
57
- }, [n]);
58
- return [n ? c ? c.value : t : r, l];
59
- }
60
- // src/components/sidebar/sidebar-context.ts
61
- var z = /* @__PURE__ */ v(!1), B = /* @__PURE__ */ v(null), V = (e) => e.split("**").map((e, t) => t % 2 ? /* @__PURE__ */ A("span", {
62
- className: "font-semibold text-fg",
63
- children: e
64
- }, t) : e), H = {
65
- mode: {
66
- expanded: { classes: "w-(--k-sidebar-width)" },
67
- rail: { classes: "w-60" }
68
- },
69
- item: {
70
- default: { classes: "text-fg hover:bg-fill-1 active:bg-fill-2" },
71
- active: { classes: "bg-fill-2 text-fg" }
72
- },
73
- caption: {
74
- secondary: { classes: "text-fg-secondary" },
75
- danger: { classes: "text-danger-text" }
76
- }
77
- }, ae = {
78
- mode: "expanded",
79
- item: "default",
80
- caption: "secondary"
81
- }, U = /* @__PURE__ */ v({
82
- rail: !1,
83
- setRail: () => void 0,
84
- collapsed: !1,
85
- setCollapsed: () => void 0,
86
- peeking: !1,
87
- setPeeking: () => void 0,
88
- width: 248,
89
- setWidth: () => void 0,
90
- previewWidth: () => void 0,
91
- storageKey: void 0,
92
- shortcut: !1
93
- }), W = () => x(U);
94
- function G({ children: e, storageKey: t, defaultRail: n = !1, shortcut: r = !0 }) {
95
- let [i, a] = R(t ? `${t}:rail` : void 0, n), [o, s] = R(t ? `${t}:width` : void 0, 248), [c, l] = D(null), u = K(c ?? o), [d, f] = R(t ? `${t}:collapsed` : void 0, !1), [p, m] = D(!1), h = E(null), g = b((e) => {
96
- let t = document.activeElement instanceof HTMLElement ? document.activeElement : null, n = e && !!t?.closest("[data-sidebar-root]"), r = !e && !!t?.closest("[data-sidebar-expand]");
97
- n && (h.current = t), f(e), m(!1), n && requestAnimationFrame(() => document.querySelector("[data-sidebar-expand]")?.focus()), r && requestAnimationFrame(() => {
98
- ((h.current?.isConnected ? h.current : null) ?? document.querySelector("[data-sidebar-root] [data-sidebar-collapse]"))?.focus();
99
- });
100
- }, [f]);
101
- S(() => {
102
- if (!r) return;
103
- let e = (e) => {
104
- if (e.key !== "[" || e.defaultPrevented || e.repeat || e.metaKey || e.ctrlKey && !e.altKey) return;
105
- let t = e.target;
106
- t instanceof HTMLElement && (t.isContentEditable || t.closest(oe)) || !document.querySelector("[aria-modal=\"true\"]") && window.matchMedia("(min-width: 1024px)").matches && g(!d);
107
- };
108
- return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
109
- }, [
110
- d,
111
- g,
112
- r
113
- ]);
114
- let _ = T(() => ({
115
- rail: i,
116
- setRail: a,
117
- collapsed: d,
118
- setCollapsed: g,
119
- peeking: p,
120
- setPeeking: m,
121
- width: u,
122
- setWidth: s,
123
- previewWidth: l,
124
- storageKey: t,
125
- shortcut: r
126
- }), [
127
- i,
128
- a,
129
- d,
130
- g,
131
- p,
132
- u,
133
- s,
134
- t,
135
- r
136
- ]);
137
- return /* @__PURE__ */ A(U.Provider, {
138
- value: _,
139
- children: e
140
- });
141
- }
142
- process.env.NODE_ENV !== "production" && (G.displayName = "Sidebar.Provider");
143
- var oe = "input, textarea, select, [contenteditable]:not([contenteditable=\"false\"]), [role=\"textbox\"], [role=\"combobox\"], [role=\"searchbox\"]", se = 500, K = (e) => Math.round(Math.min(280, Math.max(232, Number.isFinite(e) ? e : 248))), q = /* @__PURE__ */ y(function({ resizable: e = !0, className: t, children: r, style: i, "aria-label": a, ...o }, s) {
144
- let { rail: c, width: l, setWidth: u, previewWidth: d, collapsed: f, setCollapsed: p } = W(), m = _(), [h, g] = D(null), v = E(void 0);
145
- S(() => () => clearTimeout(v.current), []);
146
- let [y, C] = D(!1), w = E(null);
147
- S(() => () => w.current?.(), []);
148
- let T = b((e) => {
149
- if (e.button !== 0) return;
150
- e.preventDefault(), w.current?.();
151
- let t = e.currentTarget, n = e.clientX, r = l, i = !1, a = r, o = (e) => {
152
- Math.abs(e.clientX - n) > 3 && (i = !0, C(!0)), i && (a = K(r + e.clientX - n), d(a));
153
- }, s = () => {
154
- t.removeEventListener("pointermove", o), t.removeEventListener("pointerup", c), t.removeEventListener("pointercancel", s), document.body.style.cursor = "", document.body.style.userSelect = "", w.current = null, C(!1), i && u(a), d(null);
155
- }, c = () => {
156
- s(), i || p(!0);
157
- };
158
- t.setPointerCapture(e.pointerId), t.addEventListener("pointermove", o), t.addEventListener("pointerup", c), t.addEventListener("pointercancel", s), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", w.current = s;
159
- }, [
160
- l,
161
- u,
162
- d,
163
- p
164
- ]), O = x(z), k = f && !O, M = /* @__PURE__ */ A("nav", {
165
- ref: s,
166
- "aria-label": a ?? m("sidebar.main", "Main"),
167
- "data-rail": c || void 0,
168
- "data-sidebar-root": "",
169
- className: n("group/sidebar relative flex h-full shrink-0 flex-col bg-panel text-fg", !O && "divider-r", c ? H.mode.rail.classes : H.mode.expanded.classes, t),
170
- style: {
171
- "--k-sidebar-width": `${l}px`,
172
- ...i
173
- },
174
- ...o,
175
- children: r
176
- });
177
- return O ? M : /* @__PURE__ */ j("div", {
178
- className: "relative flex h-full shrink-0",
179
- children: [/* @__PURE__ */ A("div", {
180
- className: "sidebar-motion relative h-full shrink-0",
181
- style: { width: k ? 0 : c ? 60 : l },
182
- ...k ? {
183
- "data-collapsed": "",
184
- inert: !0,
185
- "aria-hidden": !0
186
- } : {},
187
- children: /* @__PURE__ */ A("div", {
188
- className: "sidebar-content-motion h-full",
189
- style: { width: c ? 60 : l },
190
- children: M
191
- })
192
- }), e && !c && !k && /* @__PURE__ */ j("div", {
193
- role: "separator",
194
- "aria-orientation": "vertical",
195
- "aria-label": m("sidebar.resizeOrCollapse", "Resize sidebar; press Enter to collapse"),
196
- "aria-valuemin": 232,
197
- "aria-valuemax": 280,
198
- "aria-valuenow": l,
199
- "aria-valuetext": `${l} px`,
200
- tabIndex: 0,
201
- onPointerDown: T,
202
- onPointerEnter: (e) => {
203
- let t = Math.round(e.clientY - e.currentTarget.getBoundingClientRect().top);
204
- clearTimeout(v.current), v.current = setTimeout(() => g(t), se);
205
- },
206
- onPointerLeave: () => {
207
- clearTimeout(v.current), g(null);
208
- },
209
- onKeyDown: (e) => {
210
- let t = e.key === "ArrowLeft" ? l - 8 : e.key === "ArrowRight" ? l + 8 : e.key === "Home" ? 232 : e.key === "End" ? 280 : null;
211
- t !== null && (e.preventDefault(), u(K(t))), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), p(!0));
212
- },
213
- className: "group/edge absolute top-0 right-0 z-10 h-full w-8 cursor-col-resize rounded-pill focus-ring-inset",
214
- children: [/* @__PURE__ */ A("span", {
215
- "aria-hidden": !0,
216
- className: "absolute inset-y-0 right-0 w-1 bg-fg-tertiary opacity-0 transition-control group-hover/edge:opacity-100 forced-line"
217
- }), h !== null && !y && /* @__PURE__ */ j("span", {
218
- "aria-hidden": !0,
219
- "data-theme": "dark",
220
- className: "pointer-events-none absolute left-16 flex w-max flex-col gap-2 rounded-tooltip-lg bg-tooltip px-12 py-8 text-small text-fg-secondary shadow-xs",
221
- style: { top: Math.max(8, h - 24) },
222
- children: [/* @__PURE__ */ A("span", { children: V(m("sidebar.dragToResize", "**Drag** to resize")) }), /* @__PURE__ */ A("span", { children: V(m("sidebar.clickToCollapse", "**Click** to collapse")) })]
223
- })]
224
- })]
225
- });
226
- });
227
- process.env.NODE_ENV !== "production" && (q.displayName = "Sidebar");
228
- var J = /* @__PURE__ */ y(function({ className: e, ...t }, r) {
229
- return /* @__PURE__ */ A("div", {
230
- ref: r,
231
- className: n("mt-8 flex h-52 shrink-0 items-center gap-4 px-8 transition-control group-data-scrolled-over/sidebar:hairline-b-strong", e),
232
- ...t
233
- });
234
- });
235
- process.env.NODE_ENV !== "production" && (J.displayName = "Sidebar.Header");
236
- var Y = /* @__PURE__ */ y(function({ href: e, label: t = "Kaeso", children: r, className: i }, a) {
237
- let { rail: o } = W();
238
- return o ? /* @__PURE__ */ A(J, {
239
- ref: a,
240
- className: n("justify-center px-0", i),
241
- children: r
242
- }) : /* @__PURE__ */ j(J, {
243
- ref: a,
244
- className: n("justify-between pr-16 pl-28", i),
245
- children: [/* @__PURE__ */ A(X, {
246
- href: e,
247
- label: t
248
- }), r && /* @__PURE__ */ A("span", {
249
- className: "flex items-center",
250
- children: r
251
- })]
252
- });
253
- });
254
- process.env.NODE_ENV !== "production" && (Y.displayName = "Sidebar.Brand");
255
- var X = /* @__PURE__ */ y(function({ href: e, label: t = "Kaeso" }, n) {
256
- let r = i();
257
- return e ? /* @__PURE__ */ A(r, {
258
- ref: n,
259
- href: e,
260
- "aria-label": t,
261
- className: "relative -mx-4 flex h-32 items-center rounded-code px-4 text-fg tap-target focus-ring",
262
- children: /* @__PURE__ */ A(m, { decorative: !0 })
263
- }) : /* @__PURE__ */ A(m, {
264
- ref: n,
265
- title: t,
266
- className: "text-fg"
267
- });
268
- });
269
- process.env.NODE_ENV !== "production" && (X.displayName = "BrandWordmark");
270
- var ce = /* @__PURE__ */ u(() => import("./sidebar-menu-ByGqoQlf.js"), { base: () => import.meta.url });
271
- function Z({ trigger: e, side: t, header: n, footer: r, children: i }) {
272
- let [s, c] = D(!1), [u, d] = D(!1), f = x(B), p = (e, t) => {
273
- c(e), !e && t === "item-press" && f && !f.peek && f.close();
274
- }, m = o(ce, u || s, () => {
275
- d(!1), c(!1);
276
- }), [_] = D(a), v = E(null), y = e.props.ref, b = T(() => g(v, y), [y]), C = s && !m;
277
- S(() => h(() => d(!0)), []), S(() => {
278
- if (!C) return;
279
- let e = v.current?.ownerDocument ?? document, t = (e) => {
280
- e.key === "Escape" && (e.stopPropagation(), c(!1));
281
- }, n = (e) => {
282
- v.current?.contains(e.target) || c(!1);
283
- };
284
- return e.addEventListener("keydown", t, !0), e.addEventListener("pointerdown", n, !0), () => {
285
- e.removeEventListener("keydown", t, !0), e.removeEventListener("pointerdown", n, !0);
286
- };
287
- }, [C]);
288
- let w = () => d(!0), O = m ? { ref: b } : {
289
- ref: b,
290
- "aria-haspopup": "menu",
291
- "aria-expanded": s,
292
- ...s ? { "data-popup-open": "" } : {},
293
- onPointerEnter: w,
294
- onFocus: w,
295
- onClick: () => c((e) => !e),
296
- onKeyDown: (e) => {
297
- (e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), c(!0));
298
- },
299
- onBlur: (e) => {
300
- s && e.relatedTarget && !e.currentTarget.contains(e.relatedTarget) && c(!1);
301
- }
302
- };
303
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(l, {
304
- store: _,
305
- merge: m?.mergeTriggerProps,
306
- extra: O,
307
- children: e
308
- }), m && /* @__PURE__ */ A(m.SidebarMenuRoot, {
309
- open: s,
310
- onOpenChange: p,
311
- triggerProps: _,
312
- side: t,
313
- header: n,
314
- footer: r,
315
- children: i
316
- })] });
317
- }
318
- process.env.NODE_ENV !== "production" && (Z.displayName = "Sidebar.Menu");
319
- var Q = /* @__PURE__ */ y(function({ avatar: e, label: t, trailing: r, caption: i, captionTone: a = "secondary", children: o, header: l, footer: u, "aria-label": d, className: p, "data-force": m }, h) {
320
- let { rail: g } = W(), v = _(), y = s(i), b = s(t), x = d ?? v("sidebar.switchOrOpenSettings", "Switch or open settings"), S = c(b ? x : void 0);
321
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(Z, {
322
- side: "top",
323
- header: l,
324
- footer: u,
325
- trigger: /* @__PURE__ */ j("button", {
326
- ref: h,
327
- type: "button",
328
- ...b ? { "aria-describedby": S.id } : { "aria-label": x },
329
- ...m ? { "data-force": m } : {},
330
- className: n("group/sw flex h-36 w-full min-w-0 cursor-pointer items-center gap-8 rounded-pill px-12 text-left text-body font-medium text-fg transition-control hover:bg-fill-1 active:bg-fill-2 open:bg-fill-2 focus-ring-inset coarse:h-44", g && "justify-center px-0", p),
331
- children: [
332
- /* @__PURE__ */ j("span", {
333
- className: "relative flex size-18 shrink-0 items-center justify-center",
334
- children: [e, g && y && a === "danger" && /* @__PURE__ */ A(f, {
335
- icon: M,
336
- size: "xs",
337
- className: "absolute -right-6 -bottom-6 rounded-pill bg-panel text-danger-text"
338
- })]
339
- }),
340
- !g && (y ? /* @__PURE__ */ j("span", {
341
- className: "flex min-w-0 flex-1 flex-col",
342
- children: [/* @__PURE__ */ A("span", {
343
- className: "truncate",
344
- children: t
345
- }), /* @__PURE__ */ A("span", {
346
- className: n("truncate text-caption font-regular", H.caption[a].classes),
347
- children: i
348
- })]
349
- }) : /* @__PURE__ */ A("span", {
350
- className: "min-w-0 flex-1 truncate",
351
- children: t
352
- })),
353
- g && b && /* @__PURE__ */ A("span", {
354
- className: "sr-only",
355
- children: t
356
- }),
357
- g && y && /* @__PURE__ */ A("span", {
358
- className: "sr-only",
359
- children: i
360
- }),
361
- !g && r,
362
- !g && /* @__PURE__ */ A(f, {
363
- icon: P,
364
- size: "sm",
365
- className: "text-fg-tertiary transition-control group-hover/sw:text-fg-secondary"
366
- })
367
- ]
368
- }),
369
- children: o
370
- }), S.node] });
371
- });
372
- process.env.NODE_ENV !== "production" && (Q.displayName = "Sidebar.Switcher");
373
- var $ = /* @__PURE__ */ y(function({ avatar: e, label: t, children: r, href: a, header: o, footer: l, "aria-label": u, className: p, "data-force": m }, h) {
374
- let { rail: g } = W(), v = _(), y = i(), b = s(t), x = r ? u ?? v("sidebar.switchPlace", "Switch project") : u, S = c(b ? x : void 0), C = b ? S.id ? { "aria-describedby": S.id } : {} : x ? { "aria-label": x } : {}, w = n("group/place flex h-36 w-full min-w-0 items-center gap-8 rounded-pill px-12 text-left text-body font-medium text-fg", (r || a) && "cursor-pointer transition-control hover:bg-fill-1 active:bg-fill-2 open:bg-fill-2 focus-ring-inset coarse:h-44", g && "justify-center px-0", p), T = /* @__PURE__ */ j(k, { children: [
375
- /* @__PURE__ */ A("span", {
376
- className: "flex size-18 shrink-0 items-center justify-center",
377
- children: e
378
- }),
379
- g ? /* @__PURE__ */ A("span", {
380
- className: "sr-only",
381
- children: t
382
- }) : /* @__PURE__ */ A(ue, { label: t }),
383
- !g && r && /* @__PURE__ */ A(f, {
384
- icon: P,
385
- size: "sm",
386
- className: "text-fg-tertiary transition-control group-hover/place:text-fg-secondary"
387
- })
388
- ] }), E = {
389
- className: w,
390
- ...m ? { "data-force": m } : {}
391
- };
392
- if (r) return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(Z, {
393
- side: "bottom",
394
- header: o,
395
- footer: l,
396
- trigger: /* @__PURE__ */ A("button", {
397
- ref: h,
398
- type: "button",
399
- ...C,
400
- ...E,
401
- children: T
402
- }),
403
- children: r
404
- }), S.node] });
405
- let D = a ? /* @__PURE__ */ A(y, {
406
- ref: h,
407
- href: a,
408
- ...C,
409
- ...E,
410
- children: T
411
- }) : /* @__PURE__ */ A("div", {
412
- ref: h,
413
- ...E,
414
- children: T
415
- });
416
- return /* @__PURE__ */ j(k, { children: [g ? /* @__PURE__ */ A(d, {
417
- content: t,
418
- side: "right",
419
- children: D
420
- }) : D, a && S.node] });
421
- });
422
- process.env.NODE_ENV !== "production" && ($.displayName = "Sidebar.Place");
423
- function le(e, t) {
424
- let [n, i] = D(!1);
425
- return w(() => {
426
- let n = e.current;
427
- if (!t || !n || typeof ResizeObserver > "u") return;
428
- let a = () => i(n.scrollWidth > n.clientWidth);
429
- return a(), r([n], a);
430
- }, [e, t]), t && n;
431
- }
432
- function ue({ label: e }) {
433
- let t = E(null), n = le(t, !0);
434
- return /* @__PURE__ */ A(d, {
435
- content: e,
436
- side: "right",
437
- disabled: !n,
438
- children: /* @__PURE__ */ A("span", {
439
- ref: t,
440
- className: "min-w-0 flex-1 truncate",
441
- children: e
442
- })
443
- });
444
- }
445
- var de = /* @__PURE__ */ y(function({ className: e, ...t }, i) {
446
- let { rail: a } = W(), o = E(null), s = T(() => g(o, i), [i]);
447
- return S(() => {
448
- let e = o.current, t = e?.closest("[data-sidebar-root]");
449
- if (!e || !t) return;
450
- let n = () => {
451
- t.toggleAttribute("data-scrolled-under", e.scrollHeight - e.scrollTop - e.clientHeight > 1), t.toggleAttribute("data-scrolled-over", e.scrollTop > 1);
452
- };
453
- n(), e.addEventListener("scroll", n, { passive: !0 });
454
- let i = r([e, ...e.children], n);
455
- return () => {
456
- e.removeEventListener("scroll", n), i(), t.removeAttribute("data-scrolled-under"), t.removeAttribute("data-scrolled-over");
457
- };
458
- }, []), /* @__PURE__ */ A("div", {
459
- ref: s,
460
- className: n("flex min-h-0 flex-1 flex-col gap-16 overflow-y-auto overscroll-contain pt-8 pb-16 scrollbar-quiet", a ? "px-8" : "px-16", e),
461
- ...t
462
- });
463
- });
464
- process.env.NODE_ENV !== "production" && (de.displayName = "Sidebar.Content");
465
- var fe = /* @__PURE__ */ y(function({ className: e, ...t }, r) {
466
- let { rail: i } = W();
467
- return /* @__PURE__ */ A("div", {
468
- ref: r,
469
- className: n("mb-8 flex min-h-52 shrink-0 items-center gap-8 transition-control sidebar-foot group-data-scrolled-under/sidebar:hairline-t-strong", i ? "px-8" : "px-16", e),
470
- ...t
471
- });
472
- });
473
- process.env.NODE_ENV !== "production" && (fe.displayName = "Sidebar.Footer");
474
- var pe = /* @__PURE__ */ y(function({ label: r, id: i, defaultOpen: a = !0, collapsible: o = !0, children: s, className: c }, l) {
475
- let { storageKey: u, rail: d } = W(), [f, p] = R(u && i ? `${u}:group:${i}` : void 0, a), m = C();
476
- if (!r || !o || d) {
477
- let e = !!r && !d;
478
- return /* @__PURE__ */ j("div", {
479
- ref: l,
480
- ...e ? {
481
- role: "group",
482
- "aria-labelledby": m
483
- } : {},
484
- className: n("flex flex-col", c),
485
- children: [e && /* @__PURE__ */ A("div", {
486
- id: m,
487
- className: "flex h-32 items-center px-12 text-caption font-medium text-fg-secondary",
488
- children: r
489
- }), /* @__PURE__ */ A("ul", {
490
- className: "flex flex-col gap-2",
491
- children: s
492
- })]
493
- });
494
- }
495
- return /* @__PURE__ */ j(F.Root, {
496
- ref: l,
497
- open: f,
498
- onOpenChange: (e) => p(e),
499
- className: n("flex flex-col", c),
500
- children: [/* @__PURE__ */ j(F.Trigger, {
501
- className: n(t, "h-32 text-caption font-medium text-fg-secondary hover:bg-fill-1 hover:text-fg active:bg-fill-2 coarse:h-44"),
502
- children: [/* @__PURE__ */ A("span", {
503
- className: "min-w-0 flex-1 truncate",
504
- children: r
505
- }), /* @__PURE__ */ A(e, {})]
506
- }), /* @__PURE__ */ A(F.Panel, {
507
- className: "collapse-motion",
508
- children: /* @__PURE__ */ A("ul", {
509
- className: "flex flex-col gap-2 pt-2",
510
- children: s
511
- })
512
- })]
513
- });
514
- });
515
- process.env.NODE_ENV !== "production" && (pe.displayName = "Sidebar.Group");
516
- var me = [
517
- "",
518
- "pl-36",
519
- "pl-60"
520
- ], he = /* @__PURE__ */ y(function({ children: e, icon: t, leading: r, href: a, onClick: o, active: s, count: c, trailing: l, depth: u = 0, shortcut: p, className: m, "data-force": h }, g) {
521
- let { rail: _ } = W(), v = i(), y = x(B), b = E(null), S = le(b, !_), C = (e) => {
522
- o?.(e), y && !y.peek && !a && !e.defaultPrevented && y.close();
523
- }, w = n("group/si flex h-32 w-full min-w-0 cursor-pointer items-center gap-8 rounded-pill px-12 text-left text-body font-medium transition-control focus-ring-inset coarse:h-44", s ? H.item.active.classes : H.item.default.classes, !_ && me[u], _ && "justify-center px-0", m), T = /* @__PURE__ */ j(k, { children: [
524
- r ? /* @__PURE__ */ A("span", {
525
- className: "flex size-18 shrink-0 items-center justify-center",
526
- children: r
527
- }) : t && /* @__PURE__ */ A(f, {
528
- icon: t,
529
- size: "md",
530
- className: n("text-fg-secondary transition-control group-hover/si:text-fg", s && "text-fg")
531
- }),
532
- _ ? /* @__PURE__ */ A("span", {
533
- className: "sr-only",
534
- children: e
535
- }) : /* @__PURE__ */ A("span", {
536
- ref: b,
537
- className: "min-w-0 flex-1 truncate",
538
- children: e
539
- }),
540
- !_ && c !== void 0 && /* @__PURE__ */ A("span", {
541
- className: n("text-caption font-medium tabular", s ? "text-fg" : "text-fg-tertiary"),
542
- children: c
543
- }),
544
- !_ && l
545
- ] }), D = {
546
- className: w,
547
- ...s ? { "aria-current": "page" } : {},
548
- ...h ? { "data-force": h } : {}
549
- }, O = a ? /* @__PURE__ */ A(v, {
550
- ref: g,
551
- href: a,
552
- ...D,
553
- ...o ? { onClick: o } : {},
554
- children: T
555
- }) : /* @__PURE__ */ A("button", {
556
- ref: g,
557
- type: "button",
558
- ...D,
559
- onClick: C,
560
- children: T
561
- });
562
- return /* @__PURE__ */ A("li", {
563
- className: "flex",
564
- children: /* @__PURE__ */ A(d, {
565
- content: e,
566
- side: "right",
567
- disabled: !_ && !S,
568
- ..._ && p ? { shortcut: p } : {},
569
- children: O
570
- })
571
- });
572
- });
573
- process.env.NODE_ENV !== "production" && (he.displayName = "Sidebar.Item");
574
- var ge = /* @__PURE__ */ y(function({ href: e, children: t, className: r }, a) {
575
- let o = i(), s = _();
576
- return /* @__PURE__ */ j(o, {
577
- ref: a,
578
- href: e,
579
- className: n("flex h-32 items-center gap-8 rounded-pill px-12 text-body font-medium text-fg-secondary transition-control hover:bg-fill-1 hover:text-fg active:bg-fill-2 focus-ring-inset coarse:h-44", r),
580
- children: [/* @__PURE__ */ A(f, {
581
- icon: ee,
582
- size: "md"
583
- }), t ?? s("sidebar.backToApp", "Back to app")]
584
- });
585
- });
586
- process.env.NODE_ENV !== "production" && (ge.displayName = "Sidebar.BackLink");
587
- var _e = /* @__PURE__ */ y(function({ rows: e = 5 }, t) {
588
- let n = _();
589
- return /* @__PURE__ */ A("div", {
590
- ref: t,
591
- role: "status",
592
- "aria-label": n("sidebar.loading", "Loading navigation"),
593
- "aria-busy": !0,
594
- className: "flex flex-col gap-2",
595
- children: Array.from({ length: e }, (e, t) => /* @__PURE__ */ j("div", {
596
- className: "flex h-32 items-center gap-8 px-12",
597
- children: [/* @__PURE__ */ A(p, { className: "size-18 rounded-pill" }), /* @__PURE__ */ A(p, {
598
- className: "h-12 rounded-pill",
599
- style: { width: `${48 + t * 37 % 40}%` }
600
- })]
601
- }, t))
602
- });
603
- });
604
- process.env.NODE_ENV !== "production" && (_e.displayName = "Sidebar.Loading");
605
- var ve = /* @__PURE__ */ y(function({ className: e }, t) {
606
- let { collapsed: r, setCollapsed: i, shortcut: a } = W(), o = x(B), s = _(), c = o ? o.peek ? s("sidebar.keepOpen", "Keep sidebar open") : s("sidebar.closeNavigation", "Close navigation") : r ? s("sidebar.expand", "Expand sidebar") : s("sidebar.collapse", "Collapse sidebar"), l = () => {
607
- o?.peek ? i(!1) : o ? o.close() : i(!r);
608
- };
609
- return /* @__PURE__ */ A(d, {
610
- content: c,
611
- ...a && (!o || o.peek) ? { shortcut: ["["] } : {},
612
- children: /* @__PURE__ */ A("button", {
613
- ref: t,
614
- type: "button",
615
- "data-sidebar-collapse": "",
616
- "aria-label": c,
617
- ...o ? {} : { "aria-expanded": !r },
618
- onClick: l,
619
- className: n("relative inline-flex size-32 cursor-pointer items-center justify-center rounded-pill text-fg-secondary transition-control tap-target hover:bg-fill-1 hover:text-fg active:bg-fill-2 focus-ring", e),
620
- children: /* @__PURE__ */ A(f, {
621
- icon: N,
622
- size: "sm"
623
- })
624
- })
625
- });
626
- });
627
- process.env.NODE_ENV !== "production" && (ve.displayName = "Sidebar.CollapseToggle");
628
- var ye = /* @__PURE__ */ y(function({ className: e }, t) {
629
- let { rail: r, setRail: i } = W(), a = _()("sidebar.iconsOnly", "Icons only");
630
- return /* @__PURE__ */ A(d, {
631
- content: a,
632
- side: "right",
633
- children: /* @__PURE__ */ A("button", {
634
- ref: t,
635
- type: "button",
636
- "aria-label": a,
637
- "aria-pressed": r,
638
- onClick: () => i(!r),
639
- className: n("relative inline-flex size-32 cursor-pointer items-center justify-center rounded-pill text-fg-secondary transition-control tap-target hover:bg-fill-1 hover:text-fg active:bg-fill-2 aria-pressed:bg-fill-2 aria-pressed:text-fg focus-ring", e),
640
- children: /* @__PURE__ */ A(f, {
641
- icon: N,
642
- size: "sm"
643
- })
644
- })
645
- });
646
- });
647
- process.env.NODE_ENV !== "production" && (ye.displayName = "Sidebar.RailToggle");
648
- var be = /* @__PURE__ */ Object.assign(q, {
649
- Provider: G,
650
- Header: J,
651
- Brand: Y,
652
- Switcher: Q,
653
- Place: $,
654
- Content: de,
655
- Footer: fe,
656
- Group: pe,
657
- Item: he,
658
- BackLink: ge,
659
- Loading: _e,
660
- RailToggle: ye,
661
- CollapseToggle: ve
662
- });
663
- export { W as a, be as i, ae as n, z as o, H as r, B as s, X as t };
664
-
665
- //# sourceMappingURL=sidebar-ddl-qlYN.js.map