@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
@@ -1,565 +0,0 @@
1
- "use client";
2
- import { t as e } from "./cn-CLpm819s.js";
3
- import { r as t } from "./portal-context-CTatR2Z8.js";
4
- import { a as n, i as r } from "./inset-BUzyXLK4.js";
5
- import { i } from "./context-BELWW79w.js";
6
- import { t as a } from "./icon-CPiYZMTw.js";
7
- import { l as o, o as s } from "./tooltip-SZvkUaq9.js";
8
- import { r as c } from "./text-ChUk0Z46.js";
9
- import { n as l } from "./button-Da8b-8ub.js";
10
- import { n as u } from "./use-layout-width-CbSDbRb0.js";
11
- import { r as d } from "./skeleton-Bx-vRJdy.js";
12
- import { t as f } from "./truncated-C0A4AU-U.js";
13
- import { n as p, r as m, t as h } from "./selects-text-R1lZHLKm.js";
14
- import { forwardRef as g, useCallback as _, useEffect as v, useLayoutEffect as y, useMemo as b, useRef as x, useState as S } from "react";
15
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
16
- import { Add01Icon as T, Cancel01Icon as E } from "@hugeicons/core-free-icons";
17
- import { createPortal as D } from "react-dom";
18
- //#region src/components/list/row-checkbox.tsx
19
- var O = /* @__PURE__ */ s(() => import("./checkbox-CPL47-us.js").then((e) => e.c), { base: () => import.meta.url });
20
- function k({ checked: t, onToggle: n, "aria-label": r }) {
21
- let [i, a] = o(O, !0), [s, c] = S(!1), [l, u] = S(!1);
22
- return v(() => {
23
- if (!l) return;
24
- let e, t = () => {
25
- e = setTimeout(() => u(!1));
26
- };
27
- return window.addEventListener("pointerup", t, !0), window.addEventListener("pointercancel", t, !0), () => {
28
- clearTimeout(e), window.removeEventListener("pointerup", t, !0), window.removeEventListener("pointercancel", t, !0);
29
- };
30
- }, [l]), i && !s && !l ? /* @__PURE__ */ C(i.CheckboxBox, {
31
- checked: t,
32
- onCheckedChange: n,
33
- "aria-label": r
34
- }) : /* @__PURE__ */ C("span", {
35
- role: "checkbox",
36
- "aria-checked": t,
37
- "aria-label": r,
38
- onPointerEnter: () => {
39
- c(!0), a();
40
- },
41
- onPointerLeave: () => c(!1),
42
- onPointerDown: () => u(!0),
43
- onClick: () => {
44
- n(), c(!1), u(!1);
45
- },
46
- className: "relative -m-3 inline-flex size-24 shrink-0 cursor-pointer items-center justify-center rounded-checkbox",
47
- children: /* @__PURE__ */ C("span", {
48
- "aria-hidden": !0,
49
- className: e("flex size-18 items-center justify-center rounded-checkbox", t ? "bg-ink" : "bg-raised shadow-selector")
50
- })
51
- });
52
- }
53
- //#endregion
54
- //#region src/components/list/list.tsx
55
- var A = /* @__PURE__ */ s(() => import("./virtual-rows-CC_kc2PR.js"), { base: () => import.meta.url }), j = { density: {
56
- default: { classes: "h-44" },
57
- compact: { classes: "h-36 coarse:h-44" }
58
- } }, M = { density: "default" }, ee = {
59
- 48: "w-48",
60
- 64: "w-64",
61
- 80: "w-80",
62
- 96: "w-96",
63
- 120: "w-120"
64
- }, N = 520, P = "a[href], button, input, select, textarea, [tabindex], [contenteditable=true]", F = "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(P)) n !== e && n.getAttribute("tabindex") !== "-1" && n.setAttribute("tabindex", "-1");
69
- }
70
- }
71
- var I = /* @__PURE__ */ g(function({ items: t, groups: r, onOpen: i, selectable: a, selected: s, onSelectedChange: c, idWidth: l, density: d = "default", wrapSubtitle: f = !1, virtualizeAbove: h = 100, selectionActions: g, selectionBar: v = !0, loading: T, empty: E, className: D, "aria-label": O, "data-force-row": k }, j) {
72
- let M = n(), [ee, I] = S(/* @__PURE__ */ new Set()), L = s ?? ee, R = _((e) => {
73
- s || I(e), c?.(e);
74
- }, [s, c]), [z, ce] = S(() => new Set((r ?? []).filter((e) => e.defaultCollapsed).map((e) => e.id))), [B, V] = S(-1), [le, ue] = S(null), H = x(null), U = x(null), de = u(H), W = !!de && de < N, G = b(() => {
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(t ?? []);
93
- }, [
94
- t,
95
- r,
96
- z
97
- ]), fe = G.findIndex((e) => e.kind === "row"), pe = r ? r.every((e) => e.items.length === 0) : (t ?? []).length === 0, K = G.length > h, me = p(), he = (e) => G[e]?.kind === "header" ? e === 0 ? 36 : 52 : W ? 64 : d === "compact" && !me ? 36 : 44, [ge, q] = o(A, K), J = ge?.VirtualRows, _e = x(null);
98
- B >= G.length && V(-1);
99
- let Y = B >= 0 ? B : G.length ? 0 : -1, X = (e) => {
100
- V(e), K && _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 = x(null);
106
- y(() => {
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
- });
118
- let ve = x(!!J);
119
- y(() => {
120
- J && !ve.current && B >= 0 && document.activeElement === document.body && H.current?.querySelector(`[data-index="${B}"]`)?.focus(), ve.current = !!J;
121
- }), y(() => {
122
- let e = H.current;
123
- if (!e) return;
124
- te(e);
125
- let t = new MutationObserver(() => te(e));
126
- return t.observe(e, {
127
- subtree: !0,
128
- childList: !0,
129
- attributes: !0,
130
- attributeFilter: ["tabindex"]
131
- }), () => t.disconnect();
132
- }, []);
133
- let ye = (e) => {
134
- let t = new Set(L);
135
- t.has(e) ? t.delete(e) : t.add(e), R(t);
136
- }, be = (e) => e.flatMap((e) => e.kind === "row" && !e.item.disabled ? [e.item.id] : []), xe = (e) => {
137
- let t = e.target;
138
- if (!e.currentTarget.contains(t) || t.closest(F)) return;
139
- let n = t.closest("[role=row]"), r = n?.querySelector("[data-index]");
140
- if (!n || !r) return;
141
- let o = t === r;
142
- if (e.key === "Escape" && !o && !e.altKey && !e.metaKey && !e.ctrlKey && !t.closest("[data-popup-open], [aria-expanded=true]")) {
143
- e.preventDefault(), r.focus();
144
- return;
145
- }
146
- if (e.defaultPrevented) return;
147
- let s = Number(r.dataset.index), c = G[s], l = c?.kind === "row" ? c.item : void 0;
148
- if (e.altKey) return;
149
- if (e.metaKey || e.ctrlKey) {
150
- e.key.toLowerCase() === "a" && a && !e.shiftKey && (e.preventDefault(), R(new Set(be(G))));
151
- return;
152
- }
153
- let u = (t) => {
154
- if (e.preventDefault(), e.shiftKey && a) {
155
- let e = le ?? s;
156
- ue(e);
157
- let n = new Set(L);
158
- be(G.slice(Math.min(e, t), Math.max(e, t) + 1)).forEach((e) => n.add(e)), R(n);
159
- } else ue(null);
160
- X(t);
161
- }, d = () => [...n.querySelectorAll(P)].filter((e) => e !== r && !e.closest("[role=checkbox], [aria-hidden=true], [hidden]") && !e.matches(":disabled, input[type=checkbox]"));
162
- if (e.key === "ArrowDown" || e.key === "j" && !e.shiftKey) u(Math.min(G.length - 1, s + 1));
163
- else if (e.key === "ArrowUp" || e.key === "k" && !e.shiftKey) u(Math.max(0, s - 1));
164
- else if (e.key === "Home") u(0);
165
- else if (e.key === "End") u(G.length - 1);
166
- else if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
167
- 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;
168
- if (!a) return;
169
- e.preventDefault(), a.focus();
170
- } else if (!o || !l || e.shiftKey) return;
171
- else (e.key === " " || e.key === "x") && a ? (e.preventDefault(), l.disabled || ye(l.id)) : e.key === "Enter" ? (e.preventDefault(), l.disabled || i?.(l)) : e.key === "Escape" && a && L.size && R(/* @__PURE__ */ new Set());
172
- }, Q = L.size > 0;
173
- y(() => {
174
- let e = document.activeElement;
175
- Q && e instanceof HTMLElement && H.current?.contains(e) && ne(e, U.current);
176
- }, [Q]);
177
- let $ = (e, t) => e.kind === "header" ? /* @__PURE__ */ C(oe, {
178
- title: e.group.title,
179
- glyph: e.group.glyph,
180
- count: e.group.count ?? e.group.items.length,
181
- collapsed: z.has(e.group.id),
182
- onToggle: () => {
183
- let t = new Set(z);
184
- t.has(e.group.id) ? t.delete(e.group.id) : t.add(e.group.id), ce(t);
185
- },
186
- onAdd: e.group.onAdd,
187
- addLabel: e.group.addLabel,
188
- actions: e.group.actions,
189
- indent: !!a,
190
- first: t === 0,
191
- index: t,
192
- active: t === Y,
193
- onFocus: () => V(t)
194
- }, e.key) : /* @__PURE__ */ C(ae, {
195
- index: t,
196
- item: e.item,
197
- depth: e.depth,
198
- lastChild: e.lastChild,
199
- idWidth: l,
200
- density: d,
201
- wrapSubtitle: f,
202
- narrow: W,
203
- active: t === Y,
204
- selected: L.has(e.item.id),
205
- selectable: !!a,
206
- selecting: Q,
207
- onSelect: () => ye(e.item.id),
208
- onOpen: () => i?.(e.item),
209
- onFocus: () => V(t),
210
- ...k && t === fe ? { "data-force": k } : {}
211
- }, e.key);
212
- return /* @__PURE__ */ w("div", {
213
- ref: (e) => {
214
- H.current = e, typeof j == "function" ? j(e) : j && (j.current = e);
215
- },
216
- role: "grid",
217
- "aria-label": O,
218
- "aria-rowcount": G.length || void 0,
219
- "aria-multiselectable": a || void 0,
220
- "aria-busy": T || void 0,
221
- onKeyDown: (e) => {
222
- q(), xe(e);
223
- },
224
- onPointerEnter: q,
225
- onPointerDown: q,
226
- onFocus: (e) => {
227
- if (q(), !e.currentTarget.contains(e.target)) return;
228
- let t = Number(e.target.closest("[role=row]")?.querySelector("[data-index]")?.dataset.index), n = G[t];
229
- Z.current = n ? {
230
- key: n.key,
231
- index: t
232
- } : null;
233
- },
234
- onBlur: (e) => {
235
- e.currentTarget.contains(e.target) && !e.relatedTarget && (Z.current = null);
236
- },
237
- onWheel: q,
238
- className: e("relative flex flex-col outline-none", M && "overflow-hidden rounded-group bg-raised shadow-xs", D),
239
- children: [T && (pe || G.length === 0) ? /* @__PURE__ */ C(ie, {
240
- density: d,
241
- grouped: !!r
242
- }) : pe && E ? /* @__PURE__ */ C("div", {
243
- role: "row",
244
- children: /* @__PURE__ */ C("div", {
245
- role: "gridcell",
246
- children: E
247
- })
248
- }) : K && J ? /* @__PURE__ */ C(J, {
249
- count: G.length,
250
- estimateSize: he,
251
- getScrollElement: () => m(H.current),
252
- scrollTo: _e,
253
- row: (e) => $(G[e], e),
254
- measure: W
255
- }) : K ? /* @__PURE__ */ C(re, {
256
- count: G.length,
257
- estimateSize: he,
258
- row: (e) => $(G[e], e)
259
- }) : G.map($), a && Q && v && /* @__PURE__ */ C(se, {
260
- ref: U,
261
- count: L.size,
262
- onClear: () => R(/* @__PURE__ */ new Set()),
263
- children: g
264
- })]
265
- });
266
- });
267
- process.env.NODE_ENV !== "production" && (I.displayName = "List");
268
- function L(e, t) {
269
- 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";
270
- }
271
- function ne(e, t) {
272
- let n = t?.firstElementChild?.getBoundingClientRect().top;
273
- if (n === void 0) return;
274
- let r = e.getBoundingClientRect().bottom + 8 - n;
275
- r > 0 && m(e)?.scrollBy({ top: r });
276
- }
277
- function re({ count: e, estimateSize: t, row: n }) {
278
- let r = typeof window > "u" ? 1024 : window.innerHeight, i = [], a = 0, o = 12;
279
- for (let s = 0; s < e; s++) {
280
- if (a >= r && o-- <= 0) {
281
- for (let n = s; n < e; n++) a += t(n);
282
- break;
283
- }
284
- i.push(/* @__PURE__ */ C("div", {
285
- role: "presentation",
286
- className: "absolute top-0 left-0 w-full",
287
- style: { transform: `translateY(${Math.round(a)}px)` },
288
- children: n(s)
289
- }, s)), a += t(s);
290
- }
291
- return /* @__PURE__ */ C("div", {
292
- role: "presentation",
293
- className: "relative w-full",
294
- style: { height: a },
295
- children: i
296
- });
297
- }
298
- function ie({ density: t, grouped: n }) {
299
- let i = r();
300
- return /* @__PURE__ */ w("div", {
301
- role: "presentation",
302
- children: [n && /* @__PURE__ */ C("div", {
303
- role: "presentation",
304
- className: i ? "px-0" : "px-24",
305
- children: /* @__PURE__ */ C("div", {
306
- className: "flex h-36 items-center px-12",
307
- children: /* @__PURE__ */ C(d, {
308
- shape: "line",
309
- className: "w-80"
310
- })
311
- })
312
- }), [
313
- 62,
314
- 48,
315
- 70,
316
- 54,
317
- 40,
318
- 58
319
- ].map((n, r) => /* @__PURE__ */ C("div", {
320
- role: "presentation",
321
- className: i ? "px-0" : "px-24",
322
- children: /* @__PURE__ */ w("div", {
323
- className: e("flex items-center gap-12 px-12", j.density[t].classes),
324
- children: [
325
- /* @__PURE__ */ C(d, {
326
- shape: "line",
327
- className: "min-w-0",
328
- style: { width: `${n}%` }
329
- }),
330
- /* @__PURE__ */ C("span", { className: "flex-1" }),
331
- /* @__PURE__ */ C(d, {
332
- shape: "line",
333
- className: "w-64 shrink-0"
334
- })
335
- ]
336
- })
337
- }, r))]
338
- });
339
- }
340
- var ae = /* @__PURE__ */ g(function({ item: t, index: a, depth: o = 0, lastChild: s, idWidth: l, density: u = "default", wrapSubtitle: d = !1, narrow: p = !1, active: m, selected: g, selectable: _, selecting: v, onSelect: y, onOpen: b, onFocus: x, "data-force": S }, T) {
341
- let E = n(), D = r(), O = i(), A = p && !!(t.meta || t.date), M = (E || A) && !!t.subtitle, N = M && d, P = !!t.disabled, F = t.avatar && /* @__PURE__ */ C("span", {
342
- className: e("flex shrink-0", P && "opacity-50"),
343
- children: t.avatar
344
- });
345
- return /* @__PURE__ */ C("div", {
346
- role: "row",
347
- "aria-rowindex": a === void 0 ? void 0 : a + 1,
348
- className: E ? e("px-0", a !== void 0 && a > 0 && "hairline-t") : D ? "px-0" : "px-24",
349
- children: /* @__PURE__ */ w("div", {
350
- ref: T,
351
- role: "gridcell",
352
- "aria-selected": _ ? !!g : void 0,
353
- "aria-disabled": P || void 0,
354
- "data-index": a,
355
- "data-row": "",
356
- tabIndex: m === !1 ? -1 : 0,
357
- onFocus: x,
358
- onClick: (e) => {
359
- e.currentTarget.contains(e.target) && !e.target.closest("button, a, [role=checkbox]") && (h(e.currentTarget) || (v && _ ? y?.() : b?.()));
360
- },
361
- ...S ? { "data-force": S } : {},
362
- className: e("group/row relative flex cursor-pointer items-center gap-12 text-body transition-control focus-ring-inset", E ? "rounded-none px-20" : "rounded-item px-12", M || A || N ? "min-h-56 py-8" : E && u === "default" ? "h-48" : j.density[u].classes, L(E, !!g), P && "pointer-events-none text-fg-disabled"),
363
- children: [
364
- _ && /* @__PURE__ */ C("span", {
365
- className: e("flex shrink-0 transition-control select-none", v || g ? "opacity-100" : "opacity-0 group-hover/row:opacity-100 group-focus-visible/row:opacity-100 coarse:opacity-100"),
366
- onClick: (e) => e.stopPropagation(),
367
- children: /* @__PURE__ */ C(k, {
368
- checked: !!g,
369
- onToggle: () => y?.(),
370
- "aria-label": O("list.selectItem", "Select {name}", { name: t.textValue ?? (typeof t.title == "string" ? t.title : t.id) })
371
- })
372
- }),
373
- o === 1 && /* @__PURE__ */ w("span", {
374
- "aria-hidden": !0,
375
- className: "relative -ml-4 h-full w-16 shrink-0 self-stretch",
376
- children: [/* @__PURE__ */ C("span", { className: e("absolute left-6 w-1 bg-line-strong forced-line", s ? "top-0 h-1/2" : "inset-y-0") }), /* @__PURE__ */ C("span", { className: "absolute top-1/2 left-6 h-1 w-10 bg-line-strong forced-line" })]
377
- }),
378
- t.glyph && /* @__PURE__ */ C("span", {
379
- className: e("flex size-16 shrink-0 items-center justify-center", P && "opacity-50"),
380
- children: t.glyph
381
- }),
382
- t.leading && /* @__PURE__ */ C("span", {
383
- className: e("-mr-4 flex shrink-0", M && "self-start", P && "opacity-50"),
384
- children: t.leading
385
- }),
386
- t.displayId && /* @__PURE__ */ C(f, {
387
- className: e("shrink-0 mono text-small tabular", P ? "text-fg-disabled" : g ? "text-fg-secondary" : "text-fg-tertiary", l && ee[l]),
388
- children: t.displayId
389
- }),
390
- /* @__PURE__ */ w("span", {
391
- className: e("flex min-w-0 flex-1", A ? "flex-col items-stretch gap-4" : "contents"),
392
- children: [/* @__PURE__ */ w("span", {
393
- className: e("flex min-w-0", A ? "w-full" : "flex-1", M ? "flex-col items-start gap-2" : "items-baseline gap-8"),
394
- children: [typeof t.title == "string" ? /* @__PURE__ */ C(c, {
395
- truncate: !0,
396
- weight: "medium",
397
- tone: P ? "inherit" : "default",
398
- className: e("min-w-0 shrink", M && "max-w-full"),
399
- children: t.title
400
- }) : /* @__PURE__ */ C("span", {
401
- className: e("min-w-0 truncate font-medium", P ? "text-inherit" : "text-fg", M && "max-w-full"),
402
- children: t.title
403
- }), t.subtitle && /* @__PURE__ */ C(f, {
404
- wrap: N,
405
- className: e("min-w-0", P ? "text-fg-disabled" : "text-fg-secondary", M ? "max-w-full text-small" : "flex-1 basis-0"),
406
- children: t.subtitle
407
- })]
408
- }), A && /* @__PURE__ */ w("span", {
409
- className: "flex min-h-24 min-w-0 flex-wrap items-center gap-x-8",
410
- children: [
411
- t.meta && /* @__PURE__ */ C("span", {
412
- className: e("flex min-w-0 max-w-full items-center gap-6 overflow-hidden", P && "opacity-50"),
413
- children: t.meta
414
- }),
415
- t.date && /* @__PURE__ */ C("span", {
416
- className: e("shrink-0 text-small whitespace-nowrap tabular", P ? "text-fg-disabled" : "text-fg-secondary"),
417
- children: t.date
418
- }),
419
- F,
420
- t.actions && /* @__PURE__ */ C("span", {
421
- className: "ml-auto flex shrink-0 items-center gap-2",
422
- children: t.actions
423
- })
424
- ]
425
- })]
426
- }),
427
- !A && (t.meta || t.actions) && /* @__PURE__ */ w("span", {
428
- className: "relative flex shrink-0 items-center gap-6",
429
- children: [/* @__PURE__ */ C("span", {
430
- className: e("flex items-center gap-6", t.actions && "transition-control group-hover/row:opacity-0 group-focus-within/row:opacity-0", P && "opacity-50"),
431
- children: t.meta
432
- }), t.actions && /* @__PURE__ */ C("span", {
433
- 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", t.meta && "absolute inset-y-0 right-0 coarse:static"),
434
- children: t.actions
435
- })]
436
- }),
437
- !A && t.date && /* @__PURE__ */ C("span", {
438
- className: e("min-w-80 shrink-0 text-right text-small whitespace-nowrap tabular", P ? "text-fg-disabled" : "text-fg-secondary"),
439
- children: t.date
440
- }),
441
- !A && F
442
- ]
443
- })
444
- });
445
- });
446
- process.env.NODE_ENV !== "production" && (ae.displayName = "ListRow");
447
- var oe = /* @__PURE__ */ g(function({ title: t, glyph: a, count: o, collapsed: s, onToggle: c, onAdd: u, addLabel: d, actions: f, indent: p, first: m, index: h, active: g, onFocus: _ }, v) {
448
- let y = n(), b = r(), x = i();
449
- return /* @__PURE__ */ C("div", {
450
- ref: v,
451
- role: "row",
452
- "aria-rowindex": h === void 0 ? void 0 : h + 1,
453
- onFocus: _,
454
- className: y ? e("group/gh bg-fill-1", !m && "hairline-t") : e("group/gh", !m && "pt-16", b ? "px-0" : "px-24"),
455
- children: /* @__PURE__ */ w("div", {
456
- role: "gridcell",
457
- className: e("flex h-36 items-center gap-4", y && "pr-12 pl-8"),
458
- children: [
459
- /* @__PURE__ */ w("button", {
460
- type: "button",
461
- "aria-expanded": !s,
462
- "data-index": h,
463
- tabIndex: g === !1 ? -1 : 0,
464
- onClick: c,
465
- 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"),
466
- children: [
467
- p && !y && /* @__PURE__ */ C("span", {
468
- "aria-hidden": !0,
469
- className: "w-22 shrink-0"
470
- }),
471
- a && /* @__PURE__ */ C("span", {
472
- className: "flex size-16 items-center justify-center",
473
- children: a
474
- }),
475
- /* @__PURE__ */ C("span", {
476
- className: "truncate font-medium text-fg-secondary",
477
- children: t
478
- }),
479
- o !== void 0 && /* @__PURE__ */ C("span", {
480
- className: "text-fg-tertiary tabular",
481
- children: o
482
- }),
483
- /* @__PURE__ */ C("svg", {
484
- viewBox: "0 0 8 8",
485
- "aria-hidden": !0,
486
- className: e("size-10 text-fg-tertiary transition-transform duration-200 ease-standard", !s && "rotate-90"),
487
- children: /* @__PURE__ */ C("path", {
488
- d: "M2.5 1.5 5.5 4l-3 2.5z",
489
- fill: "currentColor"
490
- })
491
- })
492
- ]
493
- }),
494
- /* @__PURE__ */ C("span", { className: "flex-1" }),
495
- f && /* @__PURE__ */ C("span", {
496
- className: "flex shrink-0 items-center gap-4",
497
- children: f
498
- }),
499
- u && /* @__PURE__ */ C("span", {
500
- className: "flex opacity-0 transition-control group-hover/gh:opacity-100 group-focus-within/gh:opacity-100 coarse:opacity-100",
501
- children: /* @__PURE__ */ C(l, {
502
- variant: "ghost",
503
- icon: T,
504
- "aria-label": d ?? x("list.add", "Add"),
505
- size: "xs",
506
- onClick: u
507
- })
508
- })
509
- ]
510
- })
511
- });
512
- });
513
- process.env.NODE_ENV !== "production" && (oe.displayName = "GroupHeader");
514
- var se = /* @__PURE__ */ g(function({ count: e, onClear: n, children: r }, o) {
515
- let s = t(), c = i();
516
- return typeof document > "u" ? null : D(/* @__PURE__ */ C("div", {
517
- ref: o,
518
- role: "region",
519
- "aria-label": c("list.selection", "Selection"),
520
- className: "pointer-events-none fixed right-0 bottom-24 left-0 z-50 flex justify-center px-16",
521
- children: /* @__PURE__ */ w("div", {
522
- 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",
523
- children: [
524
- /* @__PURE__ */ C("span", {
525
- className: "pr-8 tabular",
526
- children: c("list.selected", "{count} selected", { count: String(e) })
527
- }),
528
- /* @__PURE__ */ C("span", {
529
- className: "mr-4 h-20 w-1 bg-toast-action",
530
- "aria-hidden": !0
531
- }),
532
- r,
533
- /* @__PURE__ */ C("button", {
534
- type: "button",
535
- onClick: n,
536
- "aria-label": c("list.clearSelection", "Clear selection"),
537
- 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",
538
- children: /* @__PURE__ */ C(a, {
539
- icon: E,
540
- size: "sm"
541
- })
542
- })
543
- ]
544
- })
545
- }), s ?? document.body);
546
- });
547
- process.env.NODE_ENV !== "production" && (se.displayName = "SelectionBar");
548
- var R = /* @__PURE__ */ g(function({ children: t, onClick: n, icon: r, danger: i }, o) {
549
- return /* @__PURE__ */ w("button", {
550
- ref: o,
551
- type: "button",
552
- onClick: n,
553
- 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", i ? "text-toast-danger" : "text-toast-fg", r && "pl-10"),
554
- children: [r && /* @__PURE__ */ C(a, {
555
- icon: r,
556
- size: "sm",
557
- className: i ? void 0 : "text-toast-fg-secondary"
558
- }), t]
559
- });
560
- });
561
- process.env.NODE_ENV !== "production" && (R.displayName = "SelectionAction");
562
- //#endregion
563
- export { R as i, j as n, I as r, M as t };
564
-
565
- //# sourceMappingURL=list-CT7yIoA5.js.map