@logicplanes/kaeso-ui 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (594) hide show
  1. package/AGENTS.md +1 -1
  2. package/ai/component-guides.md +232 -40
  3. package/ai/component-registry.json +481 -138
  4. package/ai/component-registry.md +174 -104
  5. package/ai/icons.md +2 -2
  6. package/ai/tokens.md +46 -48
  7. package/dist/chunks/app-frame-DibcP3SK.js +247 -0
  8. package/dist/chunks/app-frame-DibcP3SK.js.map +1 -0
  9. package/dist/chunks/arrow-focus-D9q8rMct.js +25 -0
  10. package/dist/chunks/arrow-focus-D9q8rMct.js.map +1 -0
  11. package/dist/chunks/{avatar-DVrkoFEg.js → avatar-rLwc_20v.js} +73 -60
  12. package/dist/chunks/avatar-rLwc_20v.js.map +1 -0
  13. package/dist/chunks/{badge-CTYrfTwc.js → badge-C6H9NlNw.js} +5 -6
  14. package/dist/chunks/{badge-CTYrfTwc.js.map → badge-C6H9NlNw.js.map} +1 -1
  15. package/dist/chunks/{banner-cJ89c-IR.js → banner-B3YT-DVa.js} +18 -18
  16. package/dist/chunks/banner-B3YT-DVa.js.map +1 -0
  17. package/dist/chunks/{button-Da8b-8ub.js → button-L10eO8bf.js} +34 -35
  18. package/dist/chunks/{button-Da8b-8ub.js.map → button-L10eO8bf.js.map} +1 -1
  19. package/dist/chunks/{button-group-BJxaz0sb.js → button-group-BZmq9BmX.js} +10 -11
  20. package/dist/chunks/{button-group-BJxaz0sb.js.map → button-group-BZmq9BmX.js.map} +1 -1
  21. package/dist/chunks/{calendar-CA9mDtwp.js → calendar-BR8wvVEv.js} +10 -11
  22. package/dist/chunks/{calendar-CA9mDtwp.js.map → calendar-BR8wvVEv.js.map} +1 -1
  23. package/dist/chunks/{checkbox-CPL47-us.js → checkbox-BkMPWcR_.js} +9 -10
  24. package/dist/chunks/{checkbox-CPL47-us.js.map → checkbox-BkMPWcR_.js.map} +1 -1
  25. package/dist/chunks/{cn-CLpm819s.js → cn-CF99d-bD.js} +8 -4
  26. package/dist/chunks/cn-CF99d-bD.js.map +1 -0
  27. package/dist/chunks/{code-CpqXogQK.js → code-C4bi_3gR.js} +3 -4
  28. package/dist/chunks/{code-CpqXogQK.js.map → code-C4bi_3gR.js.map} +1 -1
  29. package/dist/chunks/{code-block-BqFGa1-b.js → code-block-DBWno4Dm.js} +51 -53
  30. package/dist/chunks/code-block-DBWno4Dm.js.map +1 -0
  31. package/dist/chunks/code-block-DOZqnHjd.js +282 -0
  32. package/dist/chunks/code-block-DOZqnHjd.js.map +1 -0
  33. package/dist/chunks/{collapsible-DmLyF8Ol.js → collapsible-BFoDXP0y.js} +19 -17
  34. package/dist/chunks/collapsible-BFoDXP0y.js.map +1 -0
  35. package/dist/chunks/combobox-B8GjFlO4.js +365 -0
  36. package/dist/chunks/combobox-B8GjFlO4.js.map +1 -0
  37. package/dist/chunks/{command-list-GQ3y8on6.js → command-list-ttU7YLEl.js} +51 -50
  38. package/dist/chunks/command-list-ttU7YLEl.js.map +1 -0
  39. package/dist/chunks/{command-palette-DEJDRW31.js → command-palette-BEIK_hv9.js} +54 -52
  40. package/dist/chunks/command-palette-BEIK_hv9.js.map +1 -0
  41. package/dist/chunks/context-B2nNL7Im.js +19 -0
  42. package/dist/chunks/context-B2nNL7Im.js.map +1 -0
  43. package/dist/chunks/{copy-button-B67MEIu2.js → copy-button-59YLQ_oG.js} +48 -43
  44. package/dist/chunks/copy-button-59YLQ_oG.js.map +1 -0
  45. package/dist/chunks/core-B8c9Bty0.js +456 -0
  46. package/dist/chunks/core-B8c9Bty0.js.map +1 -0
  47. package/dist/chunks/dashboard-Cuv86JNj.js +135 -0
  48. package/dist/chunks/dashboard-Cuv86JNj.js.map +1 -0
  49. package/dist/chunks/data-table-BMopFMG6.js +641 -0
  50. package/dist/chunks/data-table-BMopFMG6.js.map +1 -0
  51. package/dist/chunks/date-picker-CkIMfoLV.js +345 -0
  52. package/dist/chunks/date-picker-CkIMfoLV.js.map +1 -0
  53. package/dist/chunks/{date-popup-7ZzVxhY1.js → date-popup-DhbnZRhl.js} +12 -14
  54. package/dist/chunks/{date-popup-7ZzVxhY1.js.map → date-popup-DhbnZRhl.js.map} +1 -1
  55. package/dist/chunks/{de-V_lN_KKk.js → de-QtAgHLnQ.js} +61 -3
  56. package/dist/chunks/de-QtAgHLnQ.js.map +1 -0
  57. package/dist/chunks/{delta-BCIXqi3O.js → delta-CJUsqoA_.js} +7 -8
  58. package/dist/chunks/{delta-BCIXqi3O.js.map → delta-CJUsqoA_.js.map} +1 -1
  59. package/dist/chunks/{dev-TgcS67XR.js → dev-CRNODF1J.js} +2 -3
  60. package/dist/chunks/{dev-TgcS67XR.js.map → dev-CRNODF1J.js.map} +1 -1
  61. package/dist/chunks/dialog-CYQsXjid.js +590 -0
  62. package/dist/chunks/dialog-CYQsXjid.js.map +1 -0
  63. package/dist/chunks/{disclosure-DhMvGSll.js → disclosure-0eeGo16u.js} +3 -4
  64. package/dist/chunks/{disclosure-DhMvGSll.js.map → disclosure-0eeGo16u.js.map} +1 -1
  65. package/dist/chunks/{display-options-BTFqLSJX.js → display-options-DZqFG-ly.js} +38 -38
  66. package/dist/chunks/display-options-DZqFG-ly.js.map +1 -0
  67. package/dist/chunks/domain-BqNtp2rQ.js +25 -0
  68. package/dist/chunks/domain-BqNtp2rQ.js.map +1 -0
  69. package/dist/chunks/empty-BLeimJFU.js +50 -0
  70. package/dist/chunks/empty-BLeimJFU.js.map +1 -0
  71. package/dist/chunks/{field-ng87P1GV.js → field-BJoH_7Mc.js} +15 -17
  72. package/dist/chunks/field-BJoH_7Mc.js.map +1 -0
  73. package/dist/chunks/{figure-_uZS1Y52.js → figure-g1FhNNJc.js} +8 -10
  74. package/dist/chunks/figure-g1FhNNJc.js.map +1 -0
  75. package/dist/chunks/filter-chip-KMkD6acL.js +208 -0
  76. package/dist/chunks/filter-chip-KMkD6acL.js.map +1 -0
  77. package/dist/chunks/{filter-row-Bs2lFT67.js → filter-row-Dia2atDQ.js} +9 -10
  78. package/dist/chunks/{filter-row-Bs2lFT67.js.map → filter-row-Dia2atDQ.js.map} +1 -1
  79. package/dist/chunks/{flow-BGFXfXgJ.js → flow-9Ap7HdzN.js} +27 -28
  80. package/dist/chunks/flow-9Ap7HdzN.js.map +1 -0
  81. package/dist/chunks/formatters-Be5AdLB2.js +12 -0
  82. package/dist/chunks/formatters-Be5AdLB2.js.map +1 -0
  83. package/dist/chunks/{heading-wBU2QK4s.js → heading-DjRyHd0R.js} +3 -4
  84. package/dist/chunks/{heading-wBU2QK4s.js.map → heading-DjRyHd0R.js.map} +1 -1
  85. package/dist/chunks/{i18n-0RW0IAf3.js → i18n-DA-5LboH.js} +2 -3
  86. package/dist/chunks/{i18n-0RW0IAf3.js.map → i18n-DA-5LboH.js.map} +1 -1
  87. package/dist/chunks/{icon-lgMMe3zk.js → icon-UqUodbsN.js} +26 -26
  88. package/dist/chunks/icon-UqUodbsN.js.map +1 -0
  89. package/dist/chunks/{icon-CPiYZMTw.js → icon-kQHSzziW.js} +3 -4
  90. package/dist/chunks/{icon-CPiYZMTw.js.map → icon-kQHSzziW.js.map} +1 -1
  91. package/dist/chunks/{identity-DCghs4Wp.js → identity-DCNUQgql.js} +231 -110
  92. package/dist/chunks/identity-DCNUQgql.js.map +1 -0
  93. package/dist/chunks/{input-iSaRkw-V.js → input-CI8DBTas.js} +20 -22
  94. package/dist/chunks/{input-iSaRkw-V.js.map → input-CI8DBTas.js.map} +1 -1
  95. package/dist/chunks/{input-QQR4KS9D.js → input-DpGqfw1G.js} +39 -39
  96. package/dist/chunks/input-DpGqfw1G.js.map +1 -0
  97. package/dist/chunks/input-group-FtZWEYNA.js +90 -0
  98. package/dist/chunks/input-group-FtZWEYNA.js.map +1 -0
  99. package/dist/chunks/{inset-BUzyXLK4.js → inset-BTAjcK6a.js} +2 -3
  100. package/dist/chunks/{inset-BUzyXLK4.js.map → inset-BTAjcK6a.js.map} +1 -1
  101. package/dist/chunks/{iso-field-D2CISQaB.js → iso-field-Dg-HGlv9.js} +7 -8
  102. package/dist/chunks/{iso-field-D2CISQaB.js.map → iso-field-Dg-HGlv9.js.map} +1 -1
  103. package/dist/chunks/{json-view-DeHSFq-2.js → json-view-CNpzGhtB.js} +25 -26
  104. package/dist/chunks/json-view-CNpzGhtB.js.map +1 -0
  105. package/dist/chunks/{kaeso-Bs1aLSTp.js → kaeso-C-E-8Dxz.js} +198 -200
  106. package/dist/chunks/kaeso-C-E-8Dxz.js.map +1 -0
  107. package/dist/chunks/{kaeso-theme-BIgOZi41.js → kaeso-theme-C9rnRKq2.js} +3 -5
  108. package/dist/chunks/{kaeso-theme-BIgOZi41.js.map → kaeso-theme-C9rnRKq2.js.map} +1 -1
  109. package/dist/chunks/{kbd-xC3k90CH.js → kbd-CI5W-2LJ.js} +4 -5
  110. package/dist/chunks/{kbd-xC3k90CH.js.map → kbd-CI5W-2LJ.js.map} +1 -1
  111. package/dist/chunks/{key-value-DKW2q0zt.js → key-value-nzN9Vojb.js} +12 -13
  112. package/dist/chunks/key-value-nzN9Vojb.js.map +1 -0
  113. package/dist/chunks/{labelled-D5udSPUI.js → labelled-DJa09XRF.js} +2 -3
  114. package/dist/chunks/{labelled-D5udSPUI.js.map → labelled-DJa09XRF.js.map} +1 -1
  115. package/dist/chunks/{linear-scale-BWKeRqDX.js → linear-scale-B5A7yNr7.js} +2 -3
  116. package/dist/chunks/{linear-scale-BWKeRqDX.js.map → linear-scale-B5A7yNr7.js.map} +1 -1
  117. package/dist/chunks/link-DXFn_hKF.js +54 -0
  118. package/dist/chunks/link-DXFn_hKF.js.map +1 -0
  119. package/dist/chunks/{link-provider-cvl8lSTT.js → link-provider-DSF9bbO3.js} +2 -3
  120. package/dist/chunks/{link-provider-cvl8lSTT.js.map → link-provider-DSF9bbO3.js.map} +1 -1
  121. package/dist/chunks/list-Bhtqsv9E.js +594 -0
  122. package/dist/chunks/list-Bhtqsv9E.js.map +1 -0
  123. package/dist/chunks/{loader-DtZd9btk.js → loader-C4ayEuXI.js} +3 -4
  124. package/dist/chunks/{loader-DtZd9btk.js.map → loader-C4ayEuXI.js.map} +1 -1
  125. package/dist/chunks/{loader-D27YO1c3.js → loader-DMnDOZWX.js} +10 -11
  126. package/dist/chunks/{loader-D27YO1c3.js.map → loader-DMnDOZWX.js.map} +1 -1
  127. package/dist/chunks/{logo-DTqTs3vV.js → logo-z7ZAq0So.js} +4 -5
  128. package/dist/chunks/{logo-DTqTs3vV.js.map → logo-z7ZAq0So.js.map} +1 -1
  129. package/dist/chunks/{markdown-BlIl3LuV.js → markdown-CLMrgRju.js} +118 -101
  130. package/dist/chunks/markdown-CLMrgRju.js.map +1 -0
  131. package/dist/chunks/{menu-D3tUjkCM.js → menu-Bl7vzB52.js} +126 -119
  132. package/dist/chunks/menu-Bl7vzB52.js.map +1 -0
  133. package/dist/chunks/{merge-refs-BN1FyQt9.js → merge-refs-SiVVoQsO.js} +2 -3
  134. package/dist/chunks/{merge-refs-BN1FyQt9.js.map → merge-refs-SiVVoQsO.js.map} +1 -1
  135. package/dist/chunks/{message-BxTkh1oA.js → message-DpD9D1Dj.js} +2 -3
  136. package/dist/chunks/{message-BxTkh1oA.js.map → message-DpD9D1Dj.js.map} +1 -1
  137. package/dist/chunks/meter-YuCR1Pjd.js +193 -0
  138. package/dist/chunks/meter-YuCR1Pjd.js.map +1 -0
  139. package/dist/chunks/nav-sheet-CQfZ7w_q.js +65 -0
  140. package/dist/chunks/nav-sheet-CQfZ7w_q.js.map +1 -0
  141. package/dist/chunks/{nav-wordmark-DR4Glswt.js → nav-wordmark-DoA-i2E9.js} +3 -4
  142. package/dist/chunks/{nav-wordmark-DR4Glswt.js.map → nav-wordmark-DoA-i2E9.js.map} +1 -1
  143. package/dist/chunks/{observe-resize-DhxhmoyB.js → observe-resize-DerQK57d.js} +2 -3
  144. package/dist/chunks/{observe-resize-DhxhmoyB.js.map → observe-resize-DerQK57d.js.map} +1 -1
  145. package/dist/chunks/{option-checkbox-Df7WhGn4.js → option-checkbox-wA9L8Nxo.js} +2 -3
  146. package/dist/chunks/{option-checkbox-Df7WhGn4.js.map → option-checkbox-wA9L8Nxo.js.map} +1 -1
  147. package/dist/chunks/over-sheet-CMUXcIMV.js +25 -0
  148. package/dist/chunks/over-sheet-CMUXcIMV.js.map +1 -0
  149. package/dist/chunks/page-header-C92GBvns.js +45 -0
  150. package/dist/chunks/page-header-C92GBvns.js.map +1 -0
  151. package/dist/chunks/{pagination-BT-lQc45.js → pagination-IL6wspAT.js} +13 -14
  152. package/dist/chunks/{pagination-BT-lQc45.js.map → pagination-IL6wspAT.js.map} +1 -1
  153. package/dist/chunks/{picker-popover-Bb-2Amjw.js → picker-popover-icF27914.js} +21 -22
  154. package/dist/chunks/picker-popover-icF27914.js.map +1 -0
  155. package/dist/chunks/{popover-CAoo5c59.js → popover-BFvV60-L.js} +9 -10
  156. package/dist/chunks/{popover-CAoo5c59.js.map → popover-BFvV60-L.js.map} +1 -1
  157. package/dist/chunks/{popover-root-D3q89WNF.js → popover-root-BI54wuLi.js} +2 -3
  158. package/dist/chunks/{popover-root-D3q89WNF.js.map → popover-root-BI54wuLi.js.map} +1 -1
  159. package/dist/chunks/{portal-context-CTatR2Z8.js → portal-context-Z2xSIPsc.js} +2 -3
  160. package/dist/chunks/{portal-context-CTatR2Z8.js.map → portal-context-Z2xSIPsc.js.map} +1 -1
  161. package/dist/chunks/{provider-marks-BVbDRIv-.js → provider-marks-DmonWRb5.js} +2 -3
  162. package/dist/chunks/{provider-marks-BVbDRIv-.js.map → provider-marks-DmonWRb5.js.map} +1 -1
  163. package/dist/chunks/{qr-code-DOsFDNiz.js → qr-code-CCNU8O2_.js} +3 -4
  164. package/dist/chunks/{qr-code-DOsFDNiz.js.map → qr-code-CCNU8O2_.js.map} +1 -1
  165. package/dist/chunks/{radio-DfOB6J3Z.js → radio-anvHOdCW.js} +5 -6
  166. package/dist/chunks/{radio-DfOB6J3Z.js.map → radio-anvHOdCW.js.map} +1 -1
  167. package/dist/chunks/{range-popup-iBru5bpM.js → range-popup-Z6K3WK7A.js} +61 -59
  168. package/dist/chunks/range-popup-Z6K3WK7A.js.map +1 -0
  169. package/dist/chunks/{reasoning-frame-DBIq2SMT.js → reasoning-frame-BCoFYqgO.js} +4 -5
  170. package/dist/chunks/{reasoning-frame-DBIq2SMT.js.map → reasoning-frame-BCoFYqgO.js.map} +1 -1
  171. package/dist/chunks/{release-art-D7Iq6Qhv.js → release-art-DJuOsmxV.js} +9 -11
  172. package/dist/chunks/{release-art-D7Iq6Qhv.js.map → release-art-DJuOsmxV.js.map} +1 -1
  173. package/dist/chunks/{resize-motion-DS3rIIqy.js → resize-motion-BbVXkxTO.js} +4 -7
  174. package/dist/chunks/{resize-motion-DS3rIIqy.js.map → resize-motion-BbVXkxTO.js.map} +1 -1
  175. package/dist/chunks/{rights-DDGgi823.js → rights-C44EtmsG.js} +68 -70
  176. package/dist/chunks/rights-C44EtmsG.js.map +1 -0
  177. package/dist/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  178. package/dist/chunks/{rolling-number-ea1iiycC.js → rolling-number-wHJ6BD7h.js} +3 -4
  179. package/dist/chunks/{rolling-number-ea1iiycC.js.map → rolling-number-wHJ6BD7h.js.map} +1 -1
  180. package/dist/chunks/row-control-DlHLdthx.js +8 -0
  181. package/dist/chunks/row-control-DlHLdthx.js.map +1 -0
  182. package/dist/chunks/{safe-href-G5DBNVwm.js → safe-href-CWHpspUx.js} +2 -3
  183. package/dist/chunks/{safe-href-G5DBNVwm.js.map → safe-href-CWHpspUx.js.map} +1 -1
  184. package/dist/chunks/{scroll-area-D-ykAChX.js → scroll-area-CWPdGMJb.js} +4 -5
  185. package/dist/chunks/scroll-area-CWPdGMJb.js.map +1 -0
  186. package/dist/chunks/section-DmjNeJG9.js +97 -0
  187. package/dist/chunks/section-DmjNeJG9.js.map +1 -0
  188. package/dist/chunks/{segmented-BJJHHn0N.js → segmented-1WSOvDjT.js} +20 -21
  189. package/dist/chunks/segmented-1WSOvDjT.js.map +1 -0
  190. package/dist/chunks/{select-Ch4u5oIg.js → select-B3eoWXfR.js} +61 -61
  191. package/dist/chunks/select-B3eoWXfR.js.map +1 -0
  192. package/dist/chunks/{selects-text-R1lZHLKm.js → selects-text-kRMTsm4s.js} +5 -7
  193. package/dist/chunks/selects-text-kRMTsm4s.js.map +1 -0
  194. package/dist/chunks/{separator-B2CT4qia.js → separator-CAxDTLUL.js} +8 -6
  195. package/dist/chunks/separator-CAxDTLUL.js.map +1 -0
  196. package/dist/chunks/settings-CtVw9CiD.js +83 -0
  197. package/dist/chunks/settings-CtVw9CiD.js.map +1 -0
  198. package/dist/chunks/sheet-gHqkCQXy.js +127 -0
  199. package/dist/chunks/sheet-gHqkCQXy.js.map +1 -0
  200. package/dist/chunks/{shiki-CRJpi_Hd.js → shiki-QCHorMZO.js} +3 -4
  201. package/dist/chunks/{shiki-CRJpi_Hd.js.map → shiki-QCHorMZO.js.map} +1 -1
  202. package/dist/chunks/sidebar-BnIqRDVN.js +665 -0
  203. package/dist/chunks/sidebar-BnIqRDVN.js.map +1 -0
  204. package/dist/chunks/{sidebar-menu-f5NMgTdE.js → sidebar-menu-CSElX37g.js} +3 -4
  205. package/dist/chunks/sidebar-menu-CSElX37g.js.map +1 -0
  206. package/dist/chunks/sizes-CSjNvon0.js +20 -0
  207. package/dist/chunks/sizes-CSjNvon0.js.map +1 -0
  208. package/dist/chunks/{skeleton-Bx-vRJdy.js → skeleton-DTiYxSYX.js} +4 -5
  209. package/dist/chunks/skeleton-DTiYxSYX.js.map +1 -0
  210. package/dist/chunks/{slider-BuEZfzNB.js → slider-CSLWsGYq.js} +5 -5
  211. package/dist/chunks/{slider-BuEZfzNB.js.map → slider-CSLWsGYq.js.map} +1 -1
  212. package/dist/chunks/{stat-gR4hFqO8.js → stat-DuWKmxGr.js} +53 -51
  213. package/dist/chunks/stat-DuWKmxGr.js.map +1 -0
  214. package/dist/chunks/{status-CejTEkqR.js → status-Bi2tSKCj.js} +7 -8
  215. package/dist/chunks/{status-CejTEkqR.js.map → status-Bi2tSKCj.js.map} +1 -1
  216. package/dist/chunks/styles-CklJ8C7c.js +14 -0
  217. package/dist/chunks/styles-CklJ8C7c.js.map +1 -0
  218. package/dist/chunks/{swap-text-CxWcVD0a.js → swap-text-DL0V-pku.js} +3 -4
  219. package/dist/chunks/{swap-text-CxWcVD0a.js.map → swap-text-DL0V-pku.js.map} +1 -1
  220. package/dist/chunks/swap-value-TlZecHRF.js +29 -0
  221. package/dist/chunks/swap-value-TlZecHRF.js.map +1 -0
  222. package/dist/chunks/switch-C0sNr969.js +77 -0
  223. package/dist/chunks/switch-C0sNr969.js.map +1 -0
  224. package/dist/chunks/{table-BTUUwlXD.js → table-CceWZLhC.js} +20 -21
  225. package/dist/chunks/table-CceWZLhC.js.map +1 -0
  226. package/dist/chunks/{tabs-D0I6Jkd4.js → tabs-BElO8cFs.js} +18 -19
  227. package/dist/chunks/tabs-BElO8cFs.js.map +1 -0
  228. package/dist/chunks/{tag-BGvgGsvr.js → tag-o9BCsRkO.js} +13 -14
  229. package/dist/chunks/tag-o9BCsRkO.js.map +1 -0
  230. package/dist/chunks/{text-ChUk0Z46.js → text-BRYPrw1h.js} +8 -9
  231. package/dist/chunks/text-BRYPrw1h.js.map +1 -0
  232. package/dist/chunks/textarea-BP6I9yrU.js +172 -0
  233. package/dist/chunks/textarea-BP6I9yrU.js.map +1 -0
  234. package/dist/chunks/{theme-image-Bk97CYp8.js → theme-image-Cw4VJEag.js} +3 -4
  235. package/dist/chunks/{theme-image-Bk97CYp8.js.map → theme-image-Cw4VJEag.js.map} +1 -1
  236. package/dist/chunks/theme-menu-BgltuBqB.js +79 -0
  237. package/dist/chunks/theme-menu-BgltuBqB.js.map +1 -0
  238. package/dist/chunks/{theme-provider-CmsV0cYJ.js → theme-provider-DaD8hlXu.js} +3 -4
  239. package/dist/chunks/{theme-provider-CmsV0cYJ.js.map → theme-provider-DaD8hlXu.js.map} +1 -1
  240. package/dist/chunks/thumbnail-CtYBg7Ms.js +83 -0
  241. package/dist/chunks/thumbnail-CtYBg7Ms.js.map +1 -0
  242. package/dist/chunks/{thumbnail-D2hD8aEk.js → thumbnail-DmFBC3Rf.js} +7 -8
  243. package/dist/chunks/{thumbnail-D2hD8aEk.js.map → thumbnail-DmFBC3Rf.js.map} +1 -1
  244. package/dist/chunks/{timeline-BQm5Q-Ul.js → timeline-B3vkaxI1.js} +12 -13
  245. package/dist/chunks/timeline-B3vkaxI1.js.map +1 -0
  246. package/dist/chunks/timeseries-h7XdvYTo.js +404 -0
  247. package/dist/chunks/timeseries-h7XdvYTo.js.map +1 -0
  248. package/dist/chunks/{toast-CSlvlu-r.js → toast-XAZeCuV7.js} +47 -48
  249. package/dist/chunks/toast-XAZeCuV7.js.map +1 -0
  250. package/dist/chunks/{toc-Cu2QJL5A.js → toc-C9Ay3w5r.js} +22 -17
  251. package/dist/chunks/toc-C9Ay3w5r.js.map +1 -0
  252. package/dist/chunks/{tone-CWpsHPb6.js → tone-CF_XXfiq.js} +2 -3
  253. package/dist/chunks/{tone-CWpsHPb6.js.map → tone-CF_XXfiq.js.map} +1 -1
  254. package/dist/chunks/{toolbar-DE-R3sjA.js → toolbar-BHqTfPWr.js} +17 -18
  255. package/dist/chunks/toolbar-BHqTfPWr.js.map +1 -0
  256. package/dist/chunks/{tooltip-D2g_QO6w.js → tooltip-D0jdTWyX.js} +2 -3
  257. package/dist/chunks/{tooltip-D2g_QO6w.js.map → tooltip-D0jdTWyX.js.map} +1 -1
  258. package/dist/chunks/tooltip-DVpJ_urN.js +205 -0
  259. package/dist/chunks/tooltip-DVpJ_urN.js.map +1 -0
  260. package/dist/chunks/{tooltip-C8ehtFju.js → tooltip-OySqu0Bq.js} +30 -28
  261. package/dist/chunks/tooltip-OySqu0Bq.js.map +1 -0
  262. package/dist/chunks/{tooltip-root-CrLuOT4j.js → tooltip-root-BeCM9Uhj.js} +25 -25
  263. package/dist/chunks/tooltip-root-BeCM9Uhj.js.map +1 -0
  264. package/dist/chunks/{truncated-C0A4AU-U.js → truncated-C6K1q8DJ.js} +9 -10
  265. package/dist/chunks/{truncated-C0A4AU-U.js.map → truncated-C6K1q8DJ.js.map} +1 -1
  266. package/dist/chunks/{use-controllable-B5Fd12Bx.js → use-controllable-rN5Fg5EJ.js} +2 -3
  267. package/dist/chunks/{use-controllable-B5Fd12Bx.js.map → use-controllable-rN5Fg5EJ.js.map} +1 -1
  268. package/dist/chunks/{use-copy-Dm2ncvMX.js → use-copy-DtUCUOlR.js} +2 -3
  269. package/dist/chunks/{use-copy-Dm2ncvMX.js.map → use-copy-DtUCUOlR.js.map} +1 -1
  270. package/dist/chunks/{use-hydrating-COtYVRo4.js → use-hydrating-Dth8POSk.js} +2 -3
  271. package/dist/chunks/{use-hydrating-COtYVRo4.js.map → use-hydrating-Dth8POSk.js.map} +1 -1
  272. package/dist/chunks/{use-indicator-C1ovED2B.js → use-indicator-Dmlj4ucA.js} +3 -4
  273. package/dist/chunks/{use-indicator-C1ovED2B.js.map → use-indicator-Dmlj4ucA.js.map} +1 -1
  274. package/dist/chunks/{use-layout-width-CbSDbRb0.js → use-layout-width-D53VE1kJ.js} +3 -4
  275. package/dist/chunks/{use-layout-width-CbSDbRb0.js.map → use-layout-width-D53VE1kJ.js.map} +1 -1
  276. package/dist/chunks/{use-scroll-fade-uc8mWSDX.js → use-scroll-fade-CNLSc2jm.js} +3 -4
  277. package/dist/chunks/{use-scroll-fade-uc8mWSDX.js.map → use-scroll-fade-CNLSc2jm.js.map} +1 -1
  278. package/dist/chunks/{use-scroll-margin-atRtf0v_.js → use-scroll-margin-CpP0MUMb.js} +3 -4
  279. package/dist/chunks/{use-scroll-margin-atRtf0v_.js.map → use-scroll-margin-CpP0MUMb.js.map} +1 -1
  280. package/dist/chunks/{use-truncated-CW0hByYt.js → use-truncated-CVim8MP9.js} +3 -4
  281. package/dist/chunks/{use-truncated-CW0hByYt.js.map → use-truncated-CVim8MP9.js.map} +1 -1
  282. package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js +8 -0
  283. package/dist/chunks/use-utc-while-hydrating-PP48Tcfz.js.map +1 -0
  284. package/dist/chunks/{virtual-rows-CC_kc2PR.js → virtual-rows-ByQ87hP0.js} +5 -5
  285. package/dist/chunks/virtual-rows-ByQ87hP0.js.map +1 -0
  286. package/dist/chunks/{visually-hidden-CLTH1HKD.js → visually-hidden-BQ8nOlYI.js} +3 -4
  287. package/dist/chunks/{visually-hidden-CLTH1HKD.js.map → visually-hidden-BQ8nOlYI.js.map} +1 -1
  288. package/dist/chunks/{when-idle-Cy3pinqO.js → when-idle-DXKwyOLB.js} +1 -2
  289. package/dist/chunks/{when-idle-Cy3pinqO.js.map → when-idle-DXKwyOLB.js.map} +1 -1
  290. package/dist/chunks/{zh-CN-Dv7n5mAr.js → zh-CN-8ZWE79zI.js} +61 -3
  291. package/dist/chunks/zh-CN-8ZWE79zI.js.map +1 -0
  292. package/dist/components/app-frame.js +1 -1
  293. package/dist/components/avatar.js +1 -1
  294. package/dist/components/badge.js +1 -1
  295. package/dist/components/banner.js +1 -1
  296. package/dist/components/button-group.js +1 -1
  297. package/dist/components/button.js +1 -1
  298. package/dist/components/calendar.js +1 -1
  299. package/dist/components/charts/bar.js +131 -133
  300. package/dist/components/charts/bar.js.map +1 -1
  301. package/dist/components/charts/donut.js +81 -81
  302. package/dist/components/charts/donut.js.map +1 -1
  303. package/dist/components/charts/heatmap.js +56 -57
  304. package/dist/components/charts/heatmap.js.map +1 -1
  305. package/dist/components/charts/sankey.js +54 -55
  306. package/dist/components/charts/sankey.js.map +1 -1
  307. package/dist/components/charts/sparkline.js +3 -4
  308. package/dist/components/charts/timeseries.js +1 -1
  309. package/dist/components/charts.js +5 -5
  310. package/dist/components/checkbox.js +1 -1
  311. package/dist/components/code-block.js +4 -4
  312. package/dist/components/code.js +1 -1
  313. package/dist/components/collapsible.js +1 -1
  314. package/dist/components/combobox.js +1 -1
  315. package/dist/components/command-palette.js +1 -1
  316. package/dist/components/copy-button.js +1 -1
  317. package/dist/components/dashboard/legend.js +2 -3
  318. package/dist/components/dashboard/metric-tabs.js +47 -48
  319. package/dist/components/dashboard/metric-tabs.js.map +1 -1
  320. package/dist/components/dashboard/model-card.js +10 -11
  321. package/dist/components/dashboard/model-card.js.map +1 -1
  322. package/dist/components/dashboard/rank-list.js +11 -12
  323. package/dist/components/dashboard/rank-list.js.map +1 -1
  324. package/dist/components/dashboard.js +1 -1
  325. package/dist/components/data-table.js +1 -1
  326. package/dist/components/date-picker.js +1 -1
  327. package/dist/components/dialog.js +1 -1
  328. package/dist/components/display-options.js +1 -1
  329. package/dist/components/empty.js +1 -1
  330. package/dist/components/field.js +1 -1
  331. package/dist/components/figure.js +1 -1
  332. package/dist/components/filter-chip.js +1 -1
  333. package/dist/components/filter-row.js +1 -1
  334. package/dist/components/flow-canvas.js +171 -170
  335. package/dist/components/flow-canvas.js.map +1 -1
  336. package/dist/components/flow.js +1 -1
  337. package/dist/components/heading.js +1 -1
  338. package/dist/components/icon.js +2 -2
  339. package/dist/components/input.js +3 -3
  340. package/dist/components/kaeso/conversation.js +57 -58
  341. package/dist/components/kaeso/conversation.js.map +1 -1
  342. package/dist/components/kaeso/identity.js +1 -1
  343. package/dist/components/kaeso/moments.js +9 -10
  344. package/dist/components/kaeso/moments.js.map +1 -1
  345. package/dist/components/kaeso/rights.js +1 -1
  346. package/dist/components/kaeso/usage.js +75 -76
  347. package/dist/components/kaeso/usage.js.map +1 -1
  348. package/dist/components/kaeso.js +3 -3
  349. package/dist/components/kbd.js +1 -1
  350. package/dist/components/key-value.js +1 -1
  351. package/dist/components/link.js +1 -1
  352. package/dist/components/list.js +1 -1
  353. package/dist/components/loader.js +2 -2
  354. package/dist/components/logo.js +1 -1
  355. package/dist/components/markdown.js +2 -2
  356. package/dist/components/menu.js +3 -3
  357. package/dist/components/meter.js +1 -1
  358. package/dist/components/page-header.js +1 -1
  359. package/dist/components/pagination.js +1 -1
  360. package/dist/components/playground.js +1448 -694
  361. package/dist/components/playground.js.map +1 -1
  362. package/dist/components/popover.js +1 -1
  363. package/dist/components/qr-code.js +1 -1
  364. package/dist/components/radio.js +1 -1
  365. package/dist/components/release-art.js +1 -1
  366. package/dist/components/scroll-area.js +1 -1
  367. package/dist/components/section.js +1 -1
  368. package/dist/components/segmented.js +1 -1
  369. package/dist/components/select.js +1 -1
  370. package/dist/components/separator.js +1 -1
  371. package/dist/components/settings.js +1 -1
  372. package/dist/components/sheet.js +1 -1
  373. package/dist/components/sidebar.js +1 -1
  374. package/dist/components/skeleton.js +1 -1
  375. package/dist/components/slider.js +1 -1
  376. package/dist/components/stat.js +3 -3
  377. package/dist/components/status.js +1 -1
  378. package/dist/components/swap-text.js +1 -1
  379. package/dist/components/switch.js +1 -1
  380. package/dist/components/table.js +1 -1
  381. package/dist/components/tabs.js +1 -1
  382. package/dist/components/tag.js +1 -1
  383. package/dist/components/text.js +1 -1
  384. package/dist/components/theme-image.js +1 -1
  385. package/dist/components/theme-menu.js +1 -1
  386. package/dist/components/thumbnail.js +2 -2
  387. package/dist/components/timeline.js +1 -1
  388. package/dist/components/toast.js +1 -1
  389. package/dist/components/toc.js +1 -1
  390. package/dist/components/toolbar.js +1 -1
  391. package/dist/components/tooltip.js +2 -2
  392. package/dist/components/visually-hidden.js +1 -1
  393. package/dist/format.js +275 -196
  394. package/dist/format.js.map +1 -1
  395. package/dist/i18n-locales.js +1 -2
  396. package/dist/i18n-provider.js +6 -7
  397. package/dist/i18n-provider.js.map +1 -1
  398. package/dist/i18n.js +5 -4
  399. package/dist/index.js +114 -113
  400. package/dist/kaeso.css +144 -32
  401. package/dist/styles.css +2 -2
  402. package/dist/theme.js +1 -1
  403. package/dist/types/components/avatar/avatar.d.ts +1 -1
  404. package/dist/types/components/banner/banner.d.ts +12 -12
  405. package/dist/types/components/button/button.d.ts +2 -2
  406. package/dist/types/components/charts/core.d.ts +37 -3
  407. package/dist/types/components/charts/domain.d.ts +0 -1
  408. package/dist/types/components/charts/donut.d.ts +3 -2
  409. package/dist/types/components/charts/marks.d.ts +1 -0
  410. package/dist/types/components/charts/tooltip.d.ts +1 -0
  411. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  412. package/dist/types/components/code/code.d.ts +2 -2
  413. package/dist/types/components/code-block/code-block.d.ts +2 -2
  414. package/dist/types/components/code-block/diff-view.d.ts +2 -2
  415. package/dist/types/components/code-block/json-view.d.ts +1 -1
  416. package/dist/types/components/code-block/words.d.ts +3 -0
  417. package/dist/types/components/combobox/combobox.d.ts +1 -1
  418. package/dist/types/components/command-list/command-list.d.ts +1 -1
  419. package/dist/types/components/copy-button/copy-button.d.ts +2 -2
  420. package/dist/types/components/dashboard/dashboard.d.ts +3 -3
  421. package/dist/types/components/dashboard/swap-value.d.ts +1 -0
  422. package/dist/types/components/data-table/data-table.d.ts +2 -1
  423. package/dist/types/components/empty/empty.d.ts +6 -6
  424. package/dist/types/components/figure/figure.d.ts +2 -2
  425. package/dist/types/components/filter-chip/docs.d.ts +1 -0
  426. package/dist/types/components/filter-chip/filter-chip.d.ts +5 -0
  427. package/dist/types/components/flow/flow.d.ts +1 -1
  428. package/dist/types/components/heading/heading.d.ts +4 -4
  429. package/dist/types/components/input/input-group.d.ts +3 -24
  430. package/dist/types/components/input/sizes.d.ts +24 -0
  431. package/dist/types/components/kaeso/identity.d.ts +1 -0
  432. package/dist/types/components/key-value/key-value.d.ts +5 -5
  433. package/dist/types/components/label/label.d.ts +4 -4
  434. package/dist/types/components/link/link.d.ts +8 -4
  435. package/dist/types/components/list/list.d.ts +1 -0
  436. package/dist/types/components/menu/menu.d.ts +1 -1
  437. package/dist/types/components/menu/styles.d.ts +2 -2
  438. package/dist/types/components/meter/docs.d.ts +1 -0
  439. package/dist/types/components/meter/gauge.d.ts +1 -0
  440. package/dist/types/components/meter/meter.d.ts +5 -4
  441. package/dist/types/components/page-header/page-header.d.ts +1 -1
  442. package/dist/types/components/playground/decision-questions.d.ts +20 -0
  443. package/dist/types/components/playground/decision-response.d.ts +41 -0
  444. package/dist/types/components/playground/decision-types.d.ts +69 -0
  445. package/dist/types/components/playground/docs.d.ts +50 -0
  446. package/dist/types/components/playground/index.d.ts +9 -0
  447. package/dist/types/components/playground/model-picker.d.ts +2 -2
  448. package/dist/types/components/playground/probability-bar.d.ts +34 -0
  449. package/dist/types/components/playground/question-editor.d.ts +29 -0
  450. package/dist/types/components/playground/response-metrics.d.ts +3 -1
  451. package/dist/types/components/playground/response-view.d.ts +2 -0
  452. package/dist/types/components/popover/popover.d.ts +1 -1
  453. package/dist/types/components/section/section.d.ts +1 -1
  454. package/dist/types/components/select/select.d.ts +9 -9
  455. package/dist/types/components/separator/separator.d.ts +12 -0
  456. package/dist/types/components/sidebar/sidebar-menu.d.ts +1 -1
  457. package/dist/types/components/sidebar/sidebar.d.ts +4 -4
  458. package/dist/types/components/skeleton/skeleton.d.ts +3 -3
  459. package/dist/types/components/stat/stat.d.ts +6 -6
  460. package/dist/types/components/switch/switch.d.ts +9 -7
  461. package/dist/types/components/tabs/tabs.d.ts +1 -1
  462. package/dist/types/components/text/text.d.ts +5 -5
  463. package/dist/types/components/theme-menu/docs.d.ts +1 -0
  464. package/dist/types/components/theme-menu/theme-menu.d.ts +1 -0
  465. package/dist/types/components/thumbnail/media-view.d.ts +3 -3
  466. package/dist/types/components/toc/toc.d.ts +3 -3
  467. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  468. package/dist/types/format/index.d.ts +50 -4
  469. package/dist/types/hooks/use-scrolled-under.d.ts +6 -0
  470. package/dist/types/hooks/use-utc-while-hydrating.d.ts +1 -0
  471. package/dist/types/i18n/context.d.ts +1 -0
  472. package/dist/types/i18n/formatters.d.ts +3 -0
  473. package/dist/types/i18n/index.d.ts +1 -0
  474. package/dist/types/icons/groups.d.ts +1 -1
  475. package/dist/types/icons/vocabulary.d.ts +5 -0
  476. package/dist/types/utils/arrow-focus.d.ts +4 -1
  477. package/dist/types/utils/cn.d.ts +9 -0
  478. package/dist/types/utils/row-control.d.ts +2 -0
  479. package/dist/utils.js +6 -6
  480. package/foundations/color.md +23 -24
  481. package/foundations/elevation.md +5 -4
  482. package/foundations/layout.md +1 -1
  483. package/foundations/motion.md +1 -1
  484. package/foundations/shape.md +4 -3
  485. package/foundations/typography.md +3 -2
  486. package/package.json +19 -19
  487. package/dist/chunks/app-frame-R1TWy5PY.js +0 -235
  488. package/dist/chunks/app-frame-R1TWy5PY.js.map +0 -1
  489. package/dist/chunks/arrow-focus-B0KdRFX8.js +0 -20
  490. package/dist/chunks/arrow-focus-B0KdRFX8.js.map +0 -1
  491. package/dist/chunks/avatar-DVrkoFEg.js.map +0 -1
  492. package/dist/chunks/banner-cJ89c-IR.js.map +0 -1
  493. package/dist/chunks/cn-CLpm819s.js.map +0 -1
  494. package/dist/chunks/code-block-7c_BOBlJ.js +0 -247
  495. package/dist/chunks/code-block-7c_BOBlJ.js.map +0 -1
  496. package/dist/chunks/code-block-BqFGa1-b.js.map +0 -1
  497. package/dist/chunks/collapsible-DmLyF8Ol.js.map +0 -1
  498. package/dist/chunks/combobox-B-xciC2c.js +0 -357
  499. package/dist/chunks/combobox-B-xciC2c.js.map +0 -1
  500. package/dist/chunks/command-list-GQ3y8on6.js.map +0 -1
  501. package/dist/chunks/command-palette-DEJDRW31.js.map +0 -1
  502. package/dist/chunks/context-BELWW79w.js +0 -20
  503. package/dist/chunks/context-BELWW79w.js.map +0 -1
  504. package/dist/chunks/copy-button-B67MEIu2.js.map +0 -1
  505. package/dist/chunks/core-CQUQdd7y.js +0 -414
  506. package/dist/chunks/core-CQUQdd7y.js.map +0 -1
  507. package/dist/chunks/dashboard-NqG9Wgga.js +0 -132
  508. package/dist/chunks/dashboard-NqG9Wgga.js.map +0 -1
  509. package/dist/chunks/data-table-ByhxIgY2.js +0 -625
  510. package/dist/chunks/data-table-ByhxIgY2.js.map +0 -1
  511. package/dist/chunks/date-picker-BmLb22jd.js +0 -346
  512. package/dist/chunks/date-picker-BmLb22jd.js.map +0 -1
  513. package/dist/chunks/de-V_lN_KKk.js.map +0 -1
  514. package/dist/chunks/dialog-C3CMOFxU.js +0 -611
  515. package/dist/chunks/dialog-C3CMOFxU.js.map +0 -1
  516. package/dist/chunks/display-options-BTFqLSJX.js.map +0 -1
  517. package/dist/chunks/domain-DtP6QrOA.js +0 -28
  518. package/dist/chunks/domain-DtP6QrOA.js.map +0 -1
  519. package/dist/chunks/empty-BSAHpS5Q.js +0 -38
  520. package/dist/chunks/empty-BSAHpS5Q.js.map +0 -1
  521. package/dist/chunks/field-ng87P1GV.js.map +0 -1
  522. package/dist/chunks/figure-_uZS1Y52.js.map +0 -1
  523. package/dist/chunks/filter-chip-CQO2lHeZ.js +0 -204
  524. package/dist/chunks/filter-chip-CQO2lHeZ.js.map +0 -1
  525. package/dist/chunks/flow-BGFXfXgJ.js.map +0 -1
  526. package/dist/chunks/icon-lgMMe3zk.js.map +0 -1
  527. package/dist/chunks/identity-DCghs4Wp.js.map +0 -1
  528. package/dist/chunks/input-QQR4KS9D.js.map +0 -1
  529. package/dist/chunks/input-group-A2mru3OM.js +0 -106
  530. package/dist/chunks/input-group-A2mru3OM.js.map +0 -1
  531. package/dist/chunks/json-view-DeHSFq-2.js.map +0 -1
  532. package/dist/chunks/kaeso-Bs1aLSTp.js.map +0 -1
  533. package/dist/chunks/key-value-DKW2q0zt.js.map +0 -1
  534. package/dist/chunks/link-CWYlF_dE.js +0 -54
  535. package/dist/chunks/link-CWYlF_dE.js.map +0 -1
  536. package/dist/chunks/list-CT7yIoA5.js +0 -565
  537. package/dist/chunks/list-CT7yIoA5.js.map +0 -1
  538. package/dist/chunks/markdown-BlIl3LuV.js.map +0 -1
  539. package/dist/chunks/menu-D3tUjkCM.js.map +0 -1
  540. package/dist/chunks/meter-wcH0LXva.js +0 -193
  541. package/dist/chunks/meter-wcH0LXva.js.map +0 -1
  542. package/dist/chunks/nav-sheet-CteQQuMz.js +0 -66
  543. package/dist/chunks/nav-sheet-CteQQuMz.js.map +0 -1
  544. package/dist/chunks/over-sheet-B8vzr_zU.js +0 -8
  545. package/dist/chunks/over-sheet-B8vzr_zU.js.map +0 -1
  546. package/dist/chunks/page-header-JWk6TQNN.js +0 -45
  547. package/dist/chunks/page-header-JWk6TQNN.js.map +0 -1
  548. package/dist/chunks/picker-popover-Bb-2Amjw.js.map +0 -1
  549. package/dist/chunks/range-popup-iBru5bpM.js.map +0 -1
  550. package/dist/chunks/rights-DDGgi823.js.map +0 -1
  551. package/dist/chunks/scroll-area-D-ykAChX.js.map +0 -1
  552. package/dist/chunks/section-BmR6_Wts.js +0 -99
  553. package/dist/chunks/section-BmR6_Wts.js.map +0 -1
  554. package/dist/chunks/segmented-BJJHHn0N.js.map +0 -1
  555. package/dist/chunks/select-Ch4u5oIg.js.map +0 -1
  556. package/dist/chunks/selects-text-R1lZHLKm.js.map +0 -1
  557. package/dist/chunks/separator-B2CT4qia.js.map +0 -1
  558. package/dist/chunks/settings-BnheJGYB.js +0 -83
  559. package/dist/chunks/settings-BnheJGYB.js.map +0 -1
  560. package/dist/chunks/sheet-K6qa1kRf.js +0 -119
  561. package/dist/chunks/sheet-K6qa1kRf.js.map +0 -1
  562. package/dist/chunks/sidebar-D7eSzz33.js +0 -664
  563. package/dist/chunks/sidebar-D7eSzz33.js.map +0 -1
  564. package/dist/chunks/sidebar-menu-f5NMgTdE.js.map +0 -1
  565. package/dist/chunks/skeleton-Bx-vRJdy.js.map +0 -1
  566. package/dist/chunks/stat-gR4hFqO8.js.map +0 -1
  567. package/dist/chunks/styles-8fn_bHRP.js +0 -21
  568. package/dist/chunks/styles-8fn_bHRP.js.map +0 -1
  569. package/dist/chunks/swap-value-DMEInk8V.js +0 -30
  570. package/dist/chunks/swap-value-DMEInk8V.js.map +0 -1
  571. package/dist/chunks/switch-CklvBjKu.js +0 -76
  572. package/dist/chunks/switch-CklvBjKu.js.map +0 -1
  573. package/dist/chunks/table-BTUUwlXD.js.map +0 -1
  574. package/dist/chunks/tabs-D0I6Jkd4.js.map +0 -1
  575. package/dist/chunks/tag-BGvgGsvr.js.map +0 -1
  576. package/dist/chunks/text-ChUk0Z46.js.map +0 -1
  577. package/dist/chunks/textarea-Bmj2Yk79.js +0 -171
  578. package/dist/chunks/textarea-Bmj2Yk79.js.map +0 -1
  579. package/dist/chunks/theme-menu-DvtuCuuN.js +0 -56
  580. package/dist/chunks/theme-menu-DvtuCuuN.js.map +0 -1
  581. package/dist/chunks/thumbnail-DadL1nPU.js +0 -71
  582. package/dist/chunks/thumbnail-DadL1nPU.js.map +0 -1
  583. package/dist/chunks/timeline-BQm5Q-Ul.js.map +0 -1
  584. package/dist/chunks/timeseries-B_Z3nNn6.js +0 -403
  585. package/dist/chunks/timeseries-B_Z3nNn6.js.map +0 -1
  586. package/dist/chunks/toast-CSlvlu-r.js.map +0 -1
  587. package/dist/chunks/toc-Cu2QJL5A.js.map +0 -1
  588. package/dist/chunks/toolbar-DE-R3sjA.js.map +0 -1
  589. package/dist/chunks/tooltip-C8ehtFju.js.map +0 -1
  590. package/dist/chunks/tooltip-SZvkUaq9.js +0 -202
  591. package/dist/chunks/tooltip-SZvkUaq9.js.map +0 -1
  592. package/dist/chunks/tooltip-root-CrLuOT4j.js.map +0 -1
  593. package/dist/chunks/virtual-rows-CC_kc2PR.js.map +0 -1
  594. package/dist/chunks/zh-CN-Dv7n5mAr.js.map +0 -1
@@ -0,0 +1,594 @@
1
+ "use client";
2
+ import { t as e } from "./cn-CF99d-bD.js";
3
+ import { a as t, i as n } from "./inset-BTAjcK6a.js";
4
+ import { t as r } from "./icon-kQHSzziW.js";
5
+ import { n as i } from "./button-L10eO8bf.js";
6
+ import { r as a } from "./text-BRYPrw1h.js";
7
+ import { t as o } from "./truncated-C6K1q8DJ.js";
8
+ import { r as s } from "./skeleton-DTiYxSYX.js";
9
+ import { n as c, r as l, t as u } from "./selects-text-kRMTsm4s.js";
10
+ import { n as d } from "./use-layout-width-D53VE1kJ.js";
11
+ import { r as f } from "./portal-context-Z2xSIPsc.js";
12
+ import { l as p, o as m } from "./tooltip-DVpJ_urN.js";
13
+ import { a as h } from "./context-B2nNL7Im.js";
14
+ import { t as g } from "./use-hydrating-Dth8POSk.js";
15
+ import { forwardRef as _, useCallback as v, useEffect as y, useLayoutEffect as b, useMemo as x, useRef as S, useState as C } from "react";
16
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
17
+ import { Add01Icon as E, Cancel01Icon as D } from "@hugeicons/core-free-icons";
18
+ import { createPortal as O } from "react-dom";
19
+ // src/components/list/row-checkbox.tsx
20
+ var k = /* @__PURE__ */ m(() => import("./checkbox-BkMPWcR_.js").then((e) => e.c), { base: () => import.meta.url });
21
+ function A({ checked: t, onToggle: n, "aria-label": r }) {
22
+ let [i, a] = p(k, !0), [o, s] = C(!1), [c, l] = C(!1);
23
+ return y(() => {
24
+ if (!c) return;
25
+ let e, t = () => {
26
+ e = setTimeout(() => l(!1));
27
+ };
28
+ return window.addEventListener("pointerup", t, !0), window.addEventListener("pointercancel", t, !0), () => {
29
+ clearTimeout(e), window.removeEventListener("pointerup", t, !0), window.removeEventListener("pointercancel", t, !0);
30
+ };
31
+ }, [c]), i && !o && !c ? /* @__PURE__ */ w(i.CheckboxBox, {
32
+ checked: t,
33
+ onCheckedChange: n,
34
+ "aria-label": r
35
+ }) : /* @__PURE__ */ w("span", {
36
+ role: "checkbox",
37
+ "aria-checked": t,
38
+ "aria-label": r,
39
+ onPointerEnter: () => {
40
+ s(!0), a();
41
+ },
42
+ onPointerLeave: () => s(!1),
43
+ onPointerDown: () => l(!0),
44
+ onClick: () => {
45
+ n(), s(!1), l(!1);
46
+ },
47
+ className: "relative -m-3 inline-flex size-24 shrink-0 cursor-pointer items-center justify-center rounded-checkbox",
48
+ children: /* @__PURE__ */ w("span", {
49
+ "aria-hidden": !0,
50
+ className: e("flex size-18 items-center justify-center rounded-checkbox", t ? "bg-ink" : "bg-raised shadow-selector")
51
+ })
52
+ });
53
+ }
54
+ // src/components/list/list.tsx
55
+ var j = /* @__PURE__ */ m(() => import("./virtual-rows-ByQ87hP0.js"), { base: () => import.meta.url }), M = { density: {
56
+ default: { classes: "h-44" },
57
+ compact: { classes: "h-36 coarse:h-44" }
58
+ } }, N = { density: "default" }, ee = {
59
+ 48: "w-48",
60
+ 64: "w-64",
61
+ 80: "w-80",
62
+ 96: "w-96",
63
+ 120: "w-120"
64
+ }, P = 520, F = "a[href], button, input, select, textarea, [tabindex], [contenteditable=true]", I = "input:not([type=checkbox]):not([type=radio]), textarea, select, [contenteditable=true]";
65
+ function te(e) {
66
+ for (let t of e.querySelectorAll("[role=row]")) {
67
+ let e = t.querySelector("[data-index]");
68
+ if (e) for (let n of t.querySelectorAll(F)) n !== e && n.getAttribute("tabindex") !== "-1" && n.setAttribute("tabindex", "-1");
69
+ }
70
+ }
71
+ var L = /* @__PURE__ */ _(function({ items: n, groups: r, onOpen: i, selectable: a, selected: o, onSelectedChange: s, idWidth: u, density: f = "default", wrapSubtitle: m = !1, virtualizeAbove: h = 100, selectionActions: g, selectionBar: _ = !0, loading: y, empty: E, className: D, "aria-label": O, "data-force-row": k }, A) {
72
+ let M = t(), [N, ee] = C(/* @__PURE__ */ new Set()), L = o ?? N, R = v((e) => {
73
+ o || ee(e), s?.(e);
74
+ }, [o, s]), [z, ce] = C(() => new Set((r ?? []).filter((e) => e.defaultCollapsed).map((e) => e.id))), [B, V] = C(-1), [le, ue] = C(null), H = S(null), U = S(null), de = d(H), W = !!de && de < P, G = x(() => {
75
+ let e = (e) => e.flatMap((e) => [{
76
+ kind: "row",
77
+ item: e,
78
+ depth: 0,
79
+ lastChild: !1,
80
+ key: e.id
81
+ }, ...(e.children ?? []).map((e, t, n) => ({
82
+ kind: "row",
83
+ item: e,
84
+ depth: 1,
85
+ lastChild: t === n.length - 1,
86
+ key: e.id
87
+ }))]);
88
+ return r ? r.flatMap((t) => [{
89
+ kind: "header",
90
+ group: t,
91
+ key: `h-${t.id}`
92
+ }, ...z.has(t.id) ? [] : e(t.items)]) : e(n ?? []);
93
+ }, [
94
+ n,
95
+ r,
96
+ z
97
+ ]), fe = G.findIndex((e) => e.kind === "row"), K = G.some((e) => e.kind === "row" && e.item.date !== void 0), pe = r ? r.every((e) => e.items.length === 0) : (n ?? []).length === 0, q = G.length > h, me = c(), he = (e) => G[e]?.kind === "header" ? e === 0 ? 36 : 52 : W ? 64 : f === "compact" && !me ? 36 : 44, [ge, J] = p(j, q), Y = ge?.VirtualRows, _e = S(null);
98
+ B >= G.length && V(-1);
99
+ let ve = B >= 0 ? B : G.length ? 0 : -1, X = (e) => {
100
+ V(e), q && _e.current?.(e);
101
+ let t = () => H.current?.querySelector(`[data-index="${e}"]`), n = (e) => {
102
+ e && (e.focus(), ne(e, U.current));
103
+ }, r = t();
104
+ r ? n(r) : requestAnimationFrame(() => n(t()));
105
+ }, Z = S(null);
106
+ b(() => {
107
+ let e = Z.current;
108
+ if (!e || G.some((t) => t.key === e.key) || (Z.current = null, !G.length)) return;
109
+ let t = Math.min(e.index, G.length - 1);
110
+ if (document.activeElement === document.body) return X(t);
111
+ let n = document.activeElement?.closest("[role=dialog], [role=alertdialog]");
112
+ if (!n) return;
113
+ let r = performance.now() + 2e3, i = () => {
114
+ document.activeElement === document.body ? H.current?.isConnected && X(t) : n.contains(document.activeElement) && performance.now() < r && requestAnimationFrame(i);
115
+ };
116
+ requestAnimationFrame(i);
117
+ }), b(() => {
118
+ let e = H.current;
119
+ if (!e) return;
120
+ if (W || !K) {
121
+ e.style.removeProperty("--k-list-date");
122
+ return;
123
+ }
124
+ let t = 0, n = () => {
125
+ for (let n of e.querySelectorAll("[data-list-date]")) t = Math.max(t, n.getBoundingClientRect().width);
126
+ let n = t ? `${Math.ceil(t)}px` : "";
127
+ e.style.getPropertyValue("--k-list-date") !== n && e.style.setProperty("--k-list-date", n);
128
+ };
129
+ n();
130
+ let r = new MutationObserver(n);
131
+ r.observe(e, {
132
+ childList: !0,
133
+ subtree: !0,
134
+ characterData: !0
135
+ });
136
+ let i = !0;
137
+ return document.fonts?.ready.then(() => i && n()), () => {
138
+ i = !1, r.disconnect();
139
+ };
140
+ }, [
141
+ G,
142
+ W,
143
+ K
144
+ ]);
145
+ let ye = S(!!Y);
146
+ b(() => {
147
+ Y && !ye.current && B >= 0 && document.activeElement === document.body && H.current?.querySelector(`[data-index="${B}"]`)?.focus(), ye.current = !!Y;
148
+ }), b(() => {
149
+ let e = H.current;
150
+ if (!e) return;
151
+ te(e);
152
+ let t = new MutationObserver(() => te(e));
153
+ return t.observe(e, {
154
+ subtree: !0,
155
+ childList: !0,
156
+ attributes: !0,
157
+ attributeFilter: ["tabindex"]
158
+ }), () => t.disconnect();
159
+ }, []);
160
+ let be = (e) => {
161
+ let t = new Set(L);
162
+ t.has(e) ? t.delete(e) : t.add(e), R(t);
163
+ }, xe = (e) => e.flatMap((e) => e.kind === "row" && !e.item.disabled ? [e.item.id] : []), Se = (e) => {
164
+ let t = e.target;
165
+ if (!e.currentTarget.contains(t) || t.closest(I)) return;
166
+ let n = t.closest("[role=row]"), r = n?.querySelector("[data-index]");
167
+ if (!n || !r) return;
168
+ let o = t === r;
169
+ if (e.key === "Escape" && !o && !e.altKey && !e.metaKey && !e.ctrlKey && !t.closest("[data-popup-open], [aria-expanded=true]")) {
170
+ e.preventDefault(), r.focus();
171
+ return;
172
+ }
173
+ if (e.defaultPrevented) return;
174
+ let s = Number(r.dataset.index), c = G[s], l = c?.kind === "row" ? c.item : void 0;
175
+ if (e.altKey) return;
176
+ if (e.metaKey || e.ctrlKey) {
177
+ e.key.toLowerCase() === "a" && a && !e.shiftKey && (e.preventDefault(), R(new Set(xe(G))));
178
+ return;
179
+ }
180
+ let u = (t) => {
181
+ if (e.preventDefault(), e.shiftKey && a) {
182
+ let e = le ?? s;
183
+ ue(e);
184
+ let n = new Set(L);
185
+ xe(G.slice(Math.min(e, t), Math.max(e, t) + 1)).forEach((e) => n.add(e)), R(n);
186
+ } else ue(null);
187
+ X(t);
188
+ }, d = () => [...n.querySelectorAll(F)].filter((e) => e !== r && !e.closest("[role=checkbox], [aria-hidden=true], [hidden]") && !e.matches(":disabled, input[type=checkbox]"));
189
+ if (e.key === "ArrowDown" || e.key === "j" && !e.shiftKey) u(Math.min(G.length - 1, s + 1));
190
+ else if (e.key === "ArrowUp" || e.key === "k" && !e.shiftKey) u(Math.max(0, s - 1));
191
+ else if (e.key === "Home") u(0);
192
+ else if (e.key === "End") u(G.length - 1);
193
+ else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
194
+ let n = d(), i = o ? -1 : n.indexOf(t), a = e.key === "ArrowRight" ? n[i + 1] : i > 0 ? n[i - 1] : i === 0 ? r : void 0;
195
+ if (!a) return;
196
+ e.preventDefault(), a.focus();
197
+ } else if (!o || !l || e.shiftKey) return;
198
+ else (e.key === " " || e.key === "x") && a ? (e.preventDefault(), l.disabled || be(l.id)) : e.key === "Enter" ? (e.preventDefault(), l.disabled || i?.(l)) : e.key === "Escape" && a && L.size && R(/* @__PURE__ */ new Set());
199
+ }, Q = L.size > 0;
200
+ b(() => {
201
+ let e = document.activeElement;
202
+ Q && e instanceof HTMLElement && H.current?.contains(e) && ne(e, U.current);
203
+ }, [Q]);
204
+ let $ = (e, t) => e.kind === "header" ? /* @__PURE__ */ w(oe, {
205
+ title: e.group.title,
206
+ glyph: e.group.glyph,
207
+ count: e.group.count ?? e.group.items.length,
208
+ collapsed: z.has(e.group.id),
209
+ onToggle: () => {
210
+ let t = new Set(z);
211
+ t.has(e.group.id) ? t.delete(e.group.id) : t.add(e.group.id), ce(t);
212
+ },
213
+ onAdd: e.group.onAdd,
214
+ addLabel: e.group.addLabel,
215
+ actions: e.group.actions,
216
+ indent: !!a,
217
+ first: t === 0,
218
+ index: t,
219
+ active: t === ve,
220
+ onFocus: () => V(t)
221
+ }, e.key) : /* @__PURE__ */ w(ae, {
222
+ index: t,
223
+ item: e.item,
224
+ depth: e.depth,
225
+ lastChild: e.lastChild,
226
+ idWidth: u,
227
+ density: f,
228
+ wrapSubtitle: m,
229
+ narrow: W,
230
+ dated: K,
231
+ active: t === ve,
232
+ selected: L.has(e.item.id),
233
+ selectable: !!a,
234
+ selecting: Q,
235
+ onSelect: () => be(e.item.id),
236
+ onOpen: () => i?.(e.item),
237
+ onFocus: () => V(t),
238
+ ...k && t === fe ? { "data-force": k } : {}
239
+ }, e.key);
240
+ return /* @__PURE__ */ T("div", {
241
+ ref: (e) => {
242
+ H.current = e, typeof A == "function" ? A(e) : A && (A.current = e);
243
+ },
244
+ role: "grid",
245
+ "aria-label": O,
246
+ "aria-rowcount": G.length || void 0,
247
+ "aria-multiselectable": a || void 0,
248
+ "aria-busy": y || void 0,
249
+ onKeyDown: (e) => {
250
+ J(), Se(e);
251
+ },
252
+ onPointerEnter: J,
253
+ onPointerDown: J,
254
+ onFocus: (e) => {
255
+ if (J(), !e.currentTarget.contains(e.target)) return;
256
+ let t = Number(e.target.closest("[role=row]")?.querySelector("[data-index]")?.dataset.index), n = G[t];
257
+ Z.current = n ? {
258
+ key: n.key,
259
+ index: t
260
+ } : null;
261
+ },
262
+ onBlur: (e) => {
263
+ e.currentTarget.contains(e.target) && !e.relatedTarget && (Z.current = null);
264
+ },
265
+ onWheel: J,
266
+ className: e("relative flex flex-col outline-none", M && "overflow-hidden rounded-group bg-raised shadow-xs first:mt-16", D),
267
+ children: [y && (pe || G.length === 0) ? /* @__PURE__ */ w(ie, {
268
+ density: f,
269
+ grouped: !!r
270
+ }) : pe && E ? /* @__PURE__ */ w("div", {
271
+ role: "row",
272
+ children: /* @__PURE__ */ w("div", {
273
+ role: "gridcell",
274
+ children: E
275
+ })
276
+ }) : q && Y ? /* @__PURE__ */ w(Y, {
277
+ count: G.length,
278
+ estimateSize: he,
279
+ getScrollElement: () => l(H.current),
280
+ scrollTo: _e,
281
+ row: (e) => $(G[e], e),
282
+ measure: W
283
+ }) : q ? /* @__PURE__ */ w(re, {
284
+ count: G.length,
285
+ estimateSize: he,
286
+ row: (e) => $(G[e], e)
287
+ }) : G.map($), a && Q && _ && /* @__PURE__ */ w(se, {
288
+ ref: U,
289
+ count: L.size,
290
+ onClear: () => R(/* @__PURE__ */ new Set()),
291
+ children: g
292
+ })]
293
+ });
294
+ });
295
+ process.env.NODE_ENV !== "production" && (L.displayName = "List");
296
+ function R(e, t) {
297
+ return t ? e ? "bg-raised-pressed controls-on-fill hover:raised-selected-hover active:raised-selected-hover" : "bg-fill-2 controls-on-fill hover:bg-fill-3 active:bg-fill-3" : e ? "hover:bg-raised-hover hover:controls-on-fill active:bg-raised-pressed" : "hover:bg-fill-1 hover:controls-on-fill active:bg-fill-2";
298
+ }
299
+ function ne(e, t) {
300
+ let n = t?.firstElementChild?.getBoundingClientRect().top;
301
+ if (n === void 0) return;
302
+ let r = e.getBoundingClientRect().bottom + 8 - n;
303
+ r > 0 && l(e)?.scrollBy({ top: r });
304
+ }
305
+ function re({ count: e, estimateSize: t, row: n }) {
306
+ let r = g() ? 1024 : window.innerHeight, i = [], a = 0, o = 12;
307
+ for (let s = 0; s < e; s++) {
308
+ if (a >= r && o-- <= 0) {
309
+ for (let n = s; n < e; n++) a += t(n);
310
+ break;
311
+ }
312
+ i.push(/* @__PURE__ */ w("div", {
313
+ role: "presentation",
314
+ className: "absolute top-0 left-0 w-full",
315
+ style: { transform: `translateY(${Math.round(a)}px)` },
316
+ children: n(s)
317
+ }, s)), a += t(s);
318
+ }
319
+ return /* @__PURE__ */ w("div", {
320
+ role: "presentation",
321
+ className: "relative w-full",
322
+ style: { height: a },
323
+ children: i
324
+ });
325
+ }
326
+ function ie({ density: t, grouped: r }) {
327
+ let i = n();
328
+ return /* @__PURE__ */ T("div", {
329
+ role: "presentation",
330
+ children: [r && /* @__PURE__ */ w("div", {
331
+ role: "presentation",
332
+ className: i ? "px-0" : "px-24",
333
+ children: /* @__PURE__ */ w("div", {
334
+ className: "flex h-36 items-center px-12",
335
+ children: /* @__PURE__ */ w(s, {
336
+ shape: "line",
337
+ className: "w-80"
338
+ })
339
+ })
340
+ }), [
341
+ 62,
342
+ 48,
343
+ 70,
344
+ 54,
345
+ 40,
346
+ 58
347
+ ].map((n, r) => /* @__PURE__ */ w("div", {
348
+ role: "presentation",
349
+ className: i ? "px-0" : "px-24",
350
+ children: /* @__PURE__ */ T("div", {
351
+ className: e("flex items-center gap-12 px-12", M.density[t].classes),
352
+ children: [
353
+ /* @__PURE__ */ w(s, {
354
+ shape: "line",
355
+ className: "min-w-0",
356
+ style: { width: `${n}%` }
357
+ }),
358
+ /* @__PURE__ */ w("span", { className: "flex-1" }),
359
+ /* @__PURE__ */ w(s, {
360
+ shape: "line",
361
+ className: "w-64 shrink-0"
362
+ })
363
+ ]
364
+ })
365
+ }, r))]
366
+ });
367
+ }
368
+ var ae = /* @__PURE__ */ _(function({ item: r, index: i, depth: s = 0, lastChild: c, idWidth: l, density: d = "default", wrapSubtitle: f = !1, narrow: p = !1, dated: m = !1, active: g, selected: _, selectable: v, selecting: y, onSelect: b, onOpen: x, onFocus: S, "data-force": C }, E) {
369
+ let D = t(), O = n(), k = h(), j = p && !!(r.meta || r.date), N = (D || j) && !!r.subtitle, P = N && f, F = !!r.disabled, I = r.avatar && /* @__PURE__ */ w("span", {
370
+ className: e("flex shrink-0", F && "opacity-50"),
371
+ children: r.avatar
372
+ });
373
+ return /* @__PURE__ */ w("div", {
374
+ role: "row",
375
+ "aria-rowindex": i === void 0 ? void 0 : i + 1,
376
+ className: D ? e("px-0", i !== void 0 && i > 0 && "hairline-t") : O ? "px-0" : "px-24",
377
+ children: /* @__PURE__ */ T("div", {
378
+ ref: E,
379
+ role: "gridcell",
380
+ "aria-selected": v ? !!_ : void 0,
381
+ "aria-disabled": F || void 0,
382
+ "data-index": i,
383
+ "data-row": "",
384
+ tabIndex: g === !1 ? -1 : 0,
385
+ onFocus: S,
386
+ onClick: (e) => {
387
+ e.currentTarget.contains(e.target) && !e.target.closest("button, a, [role=checkbox]") && (u(e.currentTarget) || (y && v ? b?.() : x?.()));
388
+ },
389
+ ...C ? { "data-force": C } : {},
390
+ className: e("group/row relative flex cursor-pointer items-center gap-12 text-body transition-control focus-ring-inset", D ? "px-20" : "px-12 row-rule", N || j || P ? "min-h-56 py-8" : D && d === "default" ? "h-48" : M.density[d].classes, R(D, !!_), F && "pointer-events-none text-fg-disabled"),
391
+ children: [
392
+ v && /* @__PURE__ */ w("span", {
393
+ className: e("flex shrink-0 transition-control select-none", y || _ ? "opacity-100" : "opacity-0 group-hover/row:opacity-100 group-focus-visible/row:opacity-100 coarse:opacity-100"),
394
+ onClick: (e) => e.stopPropagation(),
395
+ children: /* @__PURE__ */ w(A, {
396
+ checked: !!_,
397
+ onToggle: () => b?.(),
398
+ "aria-label": k("list.selectItem", "Select {name}", { name: r.textValue ?? (typeof r.title == "string" ? r.title : r.id) })
399
+ })
400
+ }),
401
+ s === 1 && /* @__PURE__ */ T("span", {
402
+ "aria-hidden": !0,
403
+ className: "relative -ml-4 h-full w-16 shrink-0 self-stretch",
404
+ children: [/* @__PURE__ */ w("span", { className: e("absolute left-6 w-1 bg-line-strong forced-line", c ? "top-0 h-1/2" : "inset-y-0") }), /* @__PURE__ */ w("span", { className: "absolute top-1/2 left-6 h-1 w-10 bg-line-strong forced-line" })]
405
+ }),
406
+ r.glyph && /* @__PURE__ */ w("span", {
407
+ className: e("flex size-16 shrink-0 items-center justify-center", F && "opacity-50"),
408
+ children: r.glyph
409
+ }),
410
+ r.leading && /* @__PURE__ */ w("span", {
411
+ className: e("-mr-4 flex shrink-0", N && "self-start", F && "opacity-50"),
412
+ children: r.leading
413
+ }),
414
+ r.displayId && /* @__PURE__ */ w(o, {
415
+ className: e("shrink-0 mono text-small tabular", F ? "text-fg-disabled" : _ ? "text-fg-secondary" : "text-fg-tertiary", l && ee[l]),
416
+ children: r.displayId
417
+ }),
418
+ /* @__PURE__ */ T("span", {
419
+ className: e("flex min-w-0 flex-1", j ? "flex-col items-stretch gap-4" : "contents"),
420
+ children: [/* @__PURE__ */ T("span", {
421
+ className: e(j ? e("grid min-w-0 items-start gap-y-2", r.actions || I ? "grid-cols-row-actions gap-x-8" : "grid-cols-1") : "contents"),
422
+ children: [/* @__PURE__ */ T("span", {
423
+ className: e(j && N ? "contents" : e("flex min-w-0 flex-1", N ? "flex-col items-start gap-2" : "items-baseline gap-8")),
424
+ children: [typeof r.title == "string" ? /* @__PURE__ */ w(a, {
425
+ truncate: !0,
426
+ weight: "medium",
427
+ tone: F ? "inherit" : "default",
428
+ className: e("min-w-0 shrink", N && "max-w-full"),
429
+ children: r.title
430
+ }) : /* @__PURE__ */ w("span", {
431
+ className: e("min-w-0 truncate font-medium", F ? "text-inherit" : "text-fg", N && "max-w-full"),
432
+ children: r.title
433
+ }), r.subtitle && /* @__PURE__ */ w(o, {
434
+ wrap: P,
435
+ className: e("min-w-0", F ? "text-fg-disabled" : "text-fg-secondary", N ? "max-w-full text-small" : "flex-1 basis-0", j && (r.actions || I) && "col-span-2"),
436
+ children: r.subtitle
437
+ })]
438
+ }), j && (r.actions || I) && /* @__PURE__ */ T("span", {
439
+ className: "col-start-2 row-start-1 flex h-24 shrink-0 items-center gap-2",
440
+ children: [r.actions, I]
441
+ })]
442
+ }), j && /* @__PURE__ */ T("span", {
443
+ className: "flex min-h-24 min-w-0 flex-wrap items-center gap-x-8",
444
+ children: [r.meta && /* @__PURE__ */ w("span", {
445
+ className: e("flex min-w-0 max-w-full items-center gap-6 overflow-hidden", F && "opacity-50"),
446
+ children: r.meta
447
+ }), r.date && /* @__PURE__ */ w("span", {
448
+ className: e("shrink-0 text-small whitespace-nowrap tabular", F ? "text-fg-disabled" : "text-fg-secondary"),
449
+ children: r.date
450
+ })]
451
+ })]
452
+ }),
453
+ !j && (r.meta || r.actions) && /* @__PURE__ */ T("span", {
454
+ className: "relative flex shrink-0 items-center gap-6",
455
+ children: [/* @__PURE__ */ w("span", {
456
+ className: e("flex items-center gap-6", r.actions && "transition-control group-hover/row:opacity-0 group-focus-within/row:opacity-0", F && "opacity-50"),
457
+ children: r.meta
458
+ }), r.actions && /* @__PURE__ */ w("span", {
459
+ className: e("flex items-center gap-2 opacity-0 transition-control group-hover/row:opacity-100 group-focus-within/row:opacity-100 coarse:opacity-100", r.meta && "absolute inset-y-0 right-0 coarse:static"),
460
+ children: r.actions
461
+ })]
462
+ }),
463
+ !j && (r.date || m) && /* @__PURE__ */ w("span", {
464
+ className: e("shrink-0 text-right text-small whitespace-nowrap tabular", F ? "text-fg-disabled" : "text-fg-secondary"),
465
+ style: { minWidth: "max(112px, var(--k-list-date, 0px))" },
466
+ children: /* @__PURE__ */ w("span", {
467
+ "data-list-date": "",
468
+ children: r.date
469
+ })
470
+ }),
471
+ !j && I
472
+ ]
473
+ })
474
+ });
475
+ });
476
+ process.env.NODE_ENV !== "production" && (ae.displayName = "ListRow");
477
+ var oe = /* @__PURE__ */ _(function({ title: r, glyph: a, count: o, collapsed: s, onToggle: c, onAdd: l, addLabel: u, actions: d, indent: f, first: p, index: m, active: g, onFocus: _ }, v) {
478
+ let y = t(), b = n(), x = h();
479
+ return /* @__PURE__ */ w("div", {
480
+ ref: v,
481
+ role: "row",
482
+ "aria-rowindex": m === void 0 ? void 0 : m + 1,
483
+ onFocus: _,
484
+ className: y ? e("group/gh bg-fill-1", !p && "hairline-t") : e("group/gh", !p && "pt-16", b ? "px-0" : "px-24"),
485
+ children: /* @__PURE__ */ T("div", {
486
+ role: "gridcell",
487
+ className: e("flex h-36 items-center gap-4", y && "pr-12 pl-8"),
488
+ children: [
489
+ /* @__PURE__ */ T("button", {
490
+ type: "button",
491
+ "aria-expanded": !s,
492
+ "data-index": m,
493
+ tabIndex: g === !1 ? -1 : 0,
494
+ onClick: c,
495
+ className: e("relative flex h-28 min-w-0 cursor-pointer items-center gap-8 rounded-pill px-12 text-small transition-control focus-ring tap-target", y ? "hover:bg-fill-2 active:bg-fill-3" : "hover:bg-fill-1 active:bg-fill-2"),
496
+ children: [
497
+ f && !y && /* @__PURE__ */ w("span", {
498
+ "aria-hidden": !0,
499
+ className: "w-22 shrink-0"
500
+ }),
501
+ a && /* @__PURE__ */ w("span", {
502
+ className: "flex size-16 items-center justify-center",
503
+ children: a
504
+ }),
505
+ /* @__PURE__ */ w("span", {
506
+ className: "truncate font-medium text-fg-secondary",
507
+ children: r
508
+ }),
509
+ o !== void 0 && /* @__PURE__ */ w("span", {
510
+ className: "text-fg-tertiary tabular",
511
+ children: o
512
+ }),
513
+ /* @__PURE__ */ w("svg", {
514
+ viewBox: "0 0 8 8",
515
+ "aria-hidden": !0,
516
+ className: e("size-10 text-fg-tertiary transition-transform duration-200 ease-standard", !s && "rotate-90"),
517
+ children: /* @__PURE__ */ w("path", {
518
+ d: "M2.5 1.5 5.5 4l-3 2.5z",
519
+ fill: "currentColor"
520
+ })
521
+ })
522
+ ]
523
+ }),
524
+ /* @__PURE__ */ w("span", { className: "flex-1" }),
525
+ d && /* @__PURE__ */ w("span", {
526
+ className: "flex shrink-0 items-center gap-4",
527
+ children: d
528
+ }),
529
+ l && /* @__PURE__ */ w("span", {
530
+ className: "flex opacity-0 transition-control group-hover/gh:opacity-100 group-focus-within/gh:opacity-100 coarse:opacity-100",
531
+ children: /* @__PURE__ */ w(i, {
532
+ variant: "ghost",
533
+ icon: E,
534
+ "aria-label": u ?? x("list.add", "Add"),
535
+ size: "xs",
536
+ onClick: l
537
+ })
538
+ })
539
+ ]
540
+ })
541
+ });
542
+ });
543
+ process.env.NODE_ENV !== "production" && (oe.displayName = "GroupHeader");
544
+ var se = /* @__PURE__ */ _(function({ count: e, onClear: t, children: n }, i) {
545
+ let a = f(), o = h();
546
+ return g() ? null : O(/* @__PURE__ */ w("div", {
547
+ ref: i,
548
+ role: "region",
549
+ "aria-label": o("list.selection", "Selection"),
550
+ className: "pointer-events-none fixed right-0 bottom-24 left-0 z-50 flex justify-center px-16",
551
+ children: /* @__PURE__ */ T("div", {
552
+ className: "pointer-events-auto flex min-h-44 items-center gap-4 rounded-pill bg-toast py-6 pr-6 pl-16 text-body font-medium text-toast-fg shadow-toast popup-motion",
553
+ children: [
554
+ /* @__PURE__ */ w("span", {
555
+ className: "pr-8 tabular",
556
+ children: o("list.selected", "{count} selected", { count: String(e) })
557
+ }),
558
+ /* @__PURE__ */ w("span", {
559
+ className: "mr-4 h-20 w-1 bg-toast-action",
560
+ "aria-hidden": !0
561
+ }),
562
+ n,
563
+ /* @__PURE__ */ w("button", {
564
+ type: "button",
565
+ onClick: t,
566
+ "aria-label": o("list.clearSelection", "Clear selection"),
567
+ className: "inline-flex size-32 cursor-pointer items-center justify-center rounded-pill text-toast-fg-secondary transition-control hover:bg-toast-action hover:text-toast-fg focus-ring",
568
+ children: /* @__PURE__ */ w(r, {
569
+ icon: D,
570
+ size: "sm"
571
+ })
572
+ })
573
+ ]
574
+ })
575
+ }), a ?? document.body);
576
+ });
577
+ process.env.NODE_ENV !== "production" && (se.displayName = "SelectionBar");
578
+ var z = /* @__PURE__ */ _(function({ children: t, onClick: n, icon: i, danger: a }, o) {
579
+ return /* @__PURE__ */ T("button", {
580
+ ref: o,
581
+ type: "button",
582
+ onClick: n,
583
+ className: e("inline-flex h-32 cursor-pointer items-center gap-6 rounded-pill px-12 text-body font-medium transition-control hover:bg-toast-action focus-ring", a ? "text-toast-danger" : "text-toast-fg", i && "pl-10"),
584
+ children: [i && /* @__PURE__ */ w(r, {
585
+ icon: i,
586
+ size: "sm",
587
+ className: a ? void 0 : "text-toast-fg-secondary"
588
+ }), t]
589
+ });
590
+ });
591
+ process.env.NODE_ENV !== "production" && (z.displayName = "SelectionAction");
592
+ export { z as i, M as n, L as r, N as t };
593
+
594
+ //# sourceMappingURL=list-Bhtqsv9E.js.map