@logicplanes/kaeso-ui 0.7.5-rc.6 → 0.7.5-rc.8

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 (362) hide show
  1. package/ai/component-guides.md +46 -3
  2. package/ai/component-registry.json +141 -4
  3. package/ai/component-registry.md +30 -5
  4. package/ai/icons.md +1 -1
  5. package/ai/tokens.md +15 -13
  6. package/dist/chunks/{app-frame-De3zsYJq.js → app-frame-BZH_ATS-.js} +9 -8
  7. package/dist/chunks/app-frame-BZH_ATS-.js.map +1 -0
  8. package/dist/chunks/{avatar-BsacKnQk.js → avatar-CXhUuE1G.js} +3 -3
  9. package/dist/chunks/{avatar-BsacKnQk.js.map → avatar-CXhUuE1G.js.map} +1 -1
  10. package/dist/chunks/{badge-COZ79ctT.js → badge-Be95hMkq.js} +3 -3
  11. package/dist/chunks/{badge-COZ79ctT.js.map → badge-Be95hMkq.js.map} +1 -1
  12. package/dist/chunks/{banner-DrOpPy1g.js → banner-_XNQ5JDU.js} +4 -4
  13. package/dist/chunks/{banner-DrOpPy1g.js.map → banner-_XNQ5JDU.js.map} +1 -1
  14. package/dist/chunks/{button-BZwYhxWa.js → button-IDx51cLu.js} +8 -8
  15. package/dist/chunks/{button-BZwYhxWa.js.map → button-IDx51cLu.js.map} +1 -1
  16. package/dist/chunks/{button-group-CoqqFhww.js → button-group-B5rYVJZk.js} +5 -5
  17. package/dist/chunks/{button-group-CoqqFhww.js.map → button-group-B5rYVJZk.js.map} +1 -1
  18. package/dist/chunks/{calendar-BJUBaxer.js → calendar-D7Sbcrq-.js} +2 -2
  19. package/dist/chunks/{calendar-BJUBaxer.js.map → calendar-D7Sbcrq-.js.map} +1 -1
  20. package/dist/chunks/{checkbox-CJQSWapg.js → checkbox-CzHNM_1C.js} +4 -4
  21. package/dist/chunks/{checkbox-CJQSWapg.js.map → checkbox-CzHNM_1C.js.map} +1 -1
  22. package/dist/chunks/{cn-zuZd34u7.js → cn-DQJRk8Ly.js} +3 -1
  23. package/dist/chunks/cn-DQJRk8Ly.js.map +1 -0
  24. package/dist/chunks/{code-block-CFhDelgf.js → code-block-CmkCi6IL.js} +7 -7
  25. package/dist/chunks/{code-block-CFhDelgf.js.map → code-block-CmkCi6IL.js.map} +1 -1
  26. package/dist/chunks/{code-block-C66QXzNm.js → code-block-DgACR0FD.js} +7 -7
  27. package/dist/chunks/{code-block-C66QXzNm.js.map → code-block-DgACR0FD.js.map} +1 -1
  28. package/dist/chunks/{code-CHCF5y5k.js → code-bpAOiAx9.js} +2 -2
  29. package/dist/chunks/{code-CHCF5y5k.js.map → code-bpAOiAx9.js.map} +1 -1
  30. package/dist/chunks/{collapsible-DETTJh0A.js → collapsible-ivslPUbI.js} +3 -3
  31. package/dist/chunks/{collapsible-DETTJh0A.js.map → collapsible-ivslPUbI.js.map} +1 -1
  32. package/dist/chunks/{combobox-BYcRLqC4.js → combobox-Co0aJbVi.js} +6 -6
  33. package/dist/chunks/{combobox-BYcRLqC4.js.map → combobox-Co0aJbVi.js.map} +1 -1
  34. package/dist/chunks/{command-list-DP5krFwA.js → command-list-DuUjJqji.js} +4 -4
  35. package/dist/chunks/{command-list-DP5krFwA.js.map → command-list-DuUjJqji.js.map} +1 -1
  36. package/dist/chunks/{command-palette-D0aQamI2.js → command-palette-3Q-vDMw2.js} +8 -8
  37. package/dist/chunks/{command-palette-D0aQamI2.js.map → command-palette-3Q-vDMw2.js.map} +1 -1
  38. package/dist/chunks/{copy-button-BHawBZVp.js → copy-button-rX4M-GJO.js} +6 -6
  39. package/dist/chunks/{copy-button-BHawBZVp.js.map → copy-button-rX4M-GJO.js.map} +1 -1
  40. package/dist/chunks/{core-Cm1rwVeF.js → core-hhm1-i4Y.js} +7 -7
  41. package/dist/chunks/{core-Cm1rwVeF.js.map → core-hhm1-i4Y.js.map} +1 -1
  42. package/dist/chunks/{dashboard-Cym-0pKS.js → dashboard-DQuMF9Tq.js} +6 -6
  43. package/dist/chunks/{dashboard-Cym-0pKS.js.map → dashboard-DQuMF9Tq.js.map} +1 -1
  44. package/dist/chunks/{data-table-DTMxreUX.js → data-table-BwZjiKKY.js} +17 -17
  45. package/dist/chunks/{data-table-DTMxreUX.js.map → data-table-BwZjiKKY.js.map} +1 -1
  46. package/dist/chunks/{date-picker-e2Kgt94W.js → date-picker-eA13V1zj.js} +8 -8
  47. package/dist/chunks/{date-picker-e2Kgt94W.js.map → date-picker-eA13V1zj.js.map} +1 -1
  48. package/dist/chunks/{date-popup-BWbwQZCg.js → date-popup-DRANGI9L.js} +4 -4
  49. package/dist/chunks/{date-popup-BWbwQZCg.js.map → date-popup-DRANGI9L.js.map} +1 -1
  50. package/dist/chunks/{de-K_t_sSKN.js → de-CwdJzATr.js} +11 -1
  51. package/dist/chunks/{de-K_t_sSKN.js.map → de-CwdJzATr.js.map} +1 -1
  52. package/dist/chunks/{delta-CDXFVWs8.js → delta-CNXOF9oJ.js} +3 -3
  53. package/dist/chunks/{delta-CDXFVWs8.js.map → delta-CNXOF9oJ.js.map} +1 -1
  54. package/dist/chunks/{dialog-Blk54POm.js → dialog-BAaxqNmo.js} +5 -5
  55. package/dist/chunks/{dialog-Blk54POm.js.map → dialog-BAaxqNmo.js.map} +1 -1
  56. package/dist/chunks/{disclosure-IBKHaBCo.js → disclosure-B5vcFKmf.js} +3 -3
  57. package/dist/chunks/{disclosure-IBKHaBCo.js.map → disclosure-B5vcFKmf.js.map} +1 -1
  58. package/dist/chunks/{display-options-gptuE18J.js → display-options-DoSemxi6.js} +9 -9
  59. package/dist/chunks/{display-options-gptuE18J.js.map → display-options-DoSemxi6.js.map} +1 -1
  60. package/dist/chunks/{domain-M7VlbuZc.js → domain-B9R6WwkJ.js} +2 -2
  61. package/dist/chunks/{domain-M7VlbuZc.js.map → domain-B9R6WwkJ.js.map} +1 -1
  62. package/dist/chunks/{empty-D876ZAI0.js → empty-2sGaG4zU.js} +2 -2
  63. package/dist/chunks/{empty-D876ZAI0.js.map → empty-2sGaG4zU.js.map} +1 -1
  64. package/dist/chunks/{field-9aCqwrEc.js → field-CJmKViom.js} +2 -2
  65. package/dist/chunks/{field-9aCqwrEc.js.map → field-CJmKViom.js.map} +1 -1
  66. package/dist/chunks/{figure-CWKKK7ti.js → figure-D1v9DoaH.js} +4 -4
  67. package/dist/chunks/{figure-CWKKK7ti.js.map → figure-D1v9DoaH.js.map} +1 -1
  68. package/dist/chunks/{filter-chip-CPHr9_xc.js → filter-chip-CK9CRCkU.js} +6 -6
  69. package/dist/chunks/{filter-chip-CPHr9_xc.js.map → filter-chip-CK9CRCkU.js.map} +1 -1
  70. package/dist/chunks/{filter-row-AAe3Tyvw.js → filter-row-O70oE2iD.js} +2 -2
  71. package/dist/chunks/{filter-row-AAe3Tyvw.js.map → filter-row-O70oE2iD.js.map} +1 -1
  72. package/dist/chunks/{flow-DtThDgv_.js → flow-DMHMDBA4.js} +5 -5
  73. package/dist/chunks/{flow-DtThDgv_.js.map → flow-DMHMDBA4.js.map} +1 -1
  74. package/dist/chunks/{heading-K4INqAAh.js → heading-BTLbKrGv.js} +2 -2
  75. package/dist/chunks/{heading-K4INqAAh.js.map → heading-BTLbKrGv.js.map} +1 -1
  76. package/dist/chunks/{icon-B35SS20V.js → icon-BGgbhXWJ.js} +2 -2
  77. package/dist/chunks/{icon-B35SS20V.js.map → icon-BGgbhXWJ.js.map} +1 -1
  78. package/dist/chunks/icon-DOwC1bbC.js +209 -0
  79. package/dist/chunks/icon-DOwC1bbC.js.map +1 -0
  80. package/dist/chunks/{identity-DbT2YX1q.js → identity-Bg-bQX3c.js} +6 -6
  81. package/dist/chunks/{identity-DbT2YX1q.js.map → identity-Bg-bQX3c.js.map} +1 -1
  82. package/dist/chunks/{input-CAsVISwX.js → input-BMuZu79b.js} +5 -5
  83. package/dist/chunks/{input-CAsVISwX.js.map → input-BMuZu79b.js.map} +1 -1
  84. package/dist/chunks/{input-D6s-8QqI.js → input-BYFKkVNf.js} +5 -5
  85. package/dist/chunks/{input-D6s-8QqI.js.map → input-BYFKkVNf.js.map} +1 -1
  86. package/dist/chunks/{input-group-BUyx9oav.js → input-group-BXj2Mghf.js} +4 -4
  87. package/dist/chunks/{input-group-BUyx9oav.js.map → input-group-BXj2Mghf.js.map} +1 -1
  88. package/dist/chunks/{iso-field-NOlD2z0f.js → iso-field-5b8xjn5X.js} +2 -2
  89. package/dist/chunks/{iso-field-NOlD2z0f.js.map → iso-field-5b8xjn5X.js.map} +1 -1
  90. package/dist/chunks/{json-view-DlmKBymI.js → json-view-DTIEJTSR.js} +4 -4
  91. package/dist/chunks/json-view-DTIEJTSR.js.map +1 -0
  92. package/dist/chunks/{kaeso-vXwJtSx8.js → kaeso-DIbGvfhi.js} +428 -170
  93. package/dist/chunks/kaeso-DIbGvfhi.js.map +1 -0
  94. package/dist/chunks/{kbd-DjhjCv6S.js → kbd-zNFwdrg1.js} +2 -2
  95. package/dist/chunks/{kbd-DjhjCv6S.js.map → kbd-zNFwdrg1.js.map} +1 -1
  96. package/dist/chunks/{key-value-D0lJcORy.js → key-value-BZca_YDS.js} +4 -4
  97. package/dist/chunks/{key-value-D0lJcORy.js.map → key-value-BZca_YDS.js.map} +1 -1
  98. package/dist/chunks/{link-CrJdLOW2.js → link-B_qFiRsh.js} +3 -3
  99. package/dist/chunks/{link-CrJdLOW2.js.map → link-B_qFiRsh.js.map} +1 -1
  100. package/dist/chunks/{list-UVc0pTtJ.js → list-D40s-Q7V.js} +12 -12
  101. package/dist/chunks/{list-UVc0pTtJ.js.map → list-D40s-Q7V.js.map} +1 -1
  102. package/dist/chunks/{loader-B6ARVJjE.js → loader-B0lA9LE9.js} +2 -2
  103. package/dist/chunks/{loader-B6ARVJjE.js.map → loader-B0lA9LE9.js.map} +1 -1
  104. package/dist/chunks/{loader-CPAYGulX.js → loader-BkSlU0vv.js} +3 -3
  105. package/dist/chunks/{loader-CPAYGulX.js.map → loader-BkSlU0vv.js.map} +1 -1
  106. package/dist/chunks/{logo-DQji16vV.js → logo-BNUcTTFE.js} +3 -3
  107. package/dist/chunks/{logo-DQji16vV.js.map → logo-BNUcTTFE.js.map} +1 -1
  108. package/dist/chunks/{markdown-D3Hb1foW.js → markdown-DH8zo4N5.js} +10 -10
  109. package/dist/chunks/{markdown-D3Hb1foW.js.map → markdown-DH8zo4N5.js.map} +1 -1
  110. package/dist/chunks/{menu-30-K7vDV.js → menu-4EfdXXaY.js} +5 -5
  111. package/dist/chunks/{menu-30-K7vDV.js.map → menu-4EfdXXaY.js.map} +1 -1
  112. package/dist/chunks/{meter-DVlbJ4r0.js → meter-B-VbJ8-a.js} +4 -4
  113. package/dist/chunks/{meter-DVlbJ4r0.js.map → meter-B-VbJ8-a.js.map} +1 -1
  114. package/dist/chunks/nav-sheet-B1C0Qsan.js +133 -0
  115. package/dist/chunks/nav-sheet-B1C0Qsan.js.map +1 -0
  116. package/dist/chunks/{nav-wordmark-BoShgQHU.js → nav-wordmark-CkHnmvCE.js} +2 -2
  117. package/dist/chunks/{nav-wordmark-BoShgQHU.js.map → nav-wordmark-CkHnmvCE.js.map} +1 -1
  118. package/dist/chunks/observe-resize-Bubv5_wX.js +34 -0
  119. package/dist/chunks/observe-resize-Bubv5_wX.js.map +1 -0
  120. package/dist/chunks/{page-header-a6eu0c7J.js → page-header-CMk_EwVa.js} +5 -5
  121. package/dist/chunks/{page-header-a6eu0c7J.js.map → page-header-CMk_EwVa.js.map} +1 -1
  122. package/dist/chunks/{pagination-XFs0kLgO.js → pagination-BfmCRgHJ.js} +3 -3
  123. package/dist/chunks/{pagination-XFs0kLgO.js.map → pagination-BfmCRgHJ.js.map} +1 -1
  124. package/dist/chunks/{picker-popover-qZwVqUMg.js → picker-popover-3iW35tmy.js} +7 -7
  125. package/dist/chunks/{picker-popover-qZwVqUMg.js.map → picker-popover-3iW35tmy.js.map} +1 -1
  126. package/dist/chunks/{popover-DW2csX_0.js → popover-DEaeabhG.js} +2 -2
  127. package/dist/chunks/{popover-DW2csX_0.js.map → popover-DEaeabhG.js.map} +1 -1
  128. package/dist/chunks/{qr-code-iZA21rUC.js → qr-code-cRty-avF.js} +2 -2
  129. package/dist/chunks/{qr-code-iZA21rUC.js.map → qr-code-cRty-avF.js.map} +1 -1
  130. package/dist/chunks/{radio-BdeVRza3.js → radio-C9iPbghn.js} +3 -3
  131. package/dist/chunks/{radio-BdeVRza3.js.map → radio-C9iPbghn.js.map} +1 -1
  132. package/dist/chunks/{range-popup-oMRbcxq2.js → range-popup-UYRCFfQl.js} +7 -7
  133. package/dist/chunks/{range-popup-oMRbcxq2.js.map → range-popup-UYRCFfQl.js.map} +1 -1
  134. package/dist/chunks/{reasoning-frame-DpWs6PFG.js → reasoning-frame-IiHAbh6g.js} +4 -4
  135. package/dist/chunks/{reasoning-frame-DpWs6PFG.js.map → reasoning-frame-IiHAbh6g.js.map} +1 -1
  136. package/dist/chunks/{release-art-DVbS_FDC.js → release-art-CE2j4YlI.js} +3 -3
  137. package/dist/chunks/{release-art-DVbS_FDC.js.map → release-art-CE2j4YlI.js.map} +1 -1
  138. package/dist/chunks/{resize-motion-BbVXkxTO.js → resize-motion-CMR1x5Kw.js} +2 -2
  139. package/dist/chunks/{resize-motion-BbVXkxTO.js.map → resize-motion-CMR1x5Kw.js.map} +1 -1
  140. package/dist/chunks/{rights-AyujVzjW.js → rights-i-LRTcge.js} +10 -10
  141. package/dist/chunks/{rights-AyujVzjW.js.map → rights-i-LRTcge.js.map} +1 -1
  142. package/dist/chunks/{rolling-number-2ytAnnG5.js → rolling-number-_2kGzuy_.js} +2 -2
  143. package/dist/chunks/{rolling-number-2ytAnnG5.js.map → rolling-number-_2kGzuy_.js.map} +1 -1
  144. package/dist/chunks/{scroll-area-DYy17fFo.js → scroll-area-DrzIUI9G.js} +2 -2
  145. package/dist/chunks/{scroll-area-DYy17fFo.js.map → scroll-area-DrzIUI9G.js.map} +1 -1
  146. package/dist/chunks/{section-CY03FLVh.js → section-NyJfocIN.js} +3 -3
  147. package/dist/chunks/{section-CY03FLVh.js.map → section-NyJfocIN.js.map} +1 -1
  148. package/dist/chunks/{segmented-DFkWmyAZ.js → segmented-CHt-g7nN.js} +6 -6
  149. package/dist/chunks/{segmented-DFkWmyAZ.js.map → segmented-CHt-g7nN.js.map} +1 -1
  150. package/dist/chunks/{select-Btc1sFaJ.js → select-Kk7Zr4sY.js} +5 -5
  151. package/dist/chunks/{select-Btc1sFaJ.js.map → select-Kk7Zr4sY.js.map} +1 -1
  152. package/dist/chunks/{separator-D-EFGoXW.js → separator-B4NRWxdN.js} +2 -2
  153. package/dist/chunks/{separator-D-EFGoXW.js.map → separator-B4NRWxdN.js.map} +1 -1
  154. package/dist/chunks/{settings-D0HuUpgj.js → settings-DxCWt7db.js} +3 -3
  155. package/dist/chunks/{settings-D0HuUpgj.js.map → settings-DxCWt7db.js.map} +1 -1
  156. package/dist/chunks/{sheet-BcJ-LlVa.js → sheet-CDzn-r3p.js} +4 -4
  157. package/dist/chunks/{sheet-BcJ-LlVa.js.map → sheet-CDzn-r3p.js.map} +1 -1
  158. package/dist/chunks/sidebar-DvWmC7uY.js +745 -0
  159. package/dist/chunks/sidebar-DvWmC7uY.js.map +1 -0
  160. package/dist/chunks/{sidebar-menu-BrJxSZzb.js → sidebar-menu-BTXCx8zv.js} +2 -2
  161. package/dist/chunks/{sidebar-menu-BrJxSZzb.js.map → sidebar-menu-BTXCx8zv.js.map} +1 -1
  162. package/dist/chunks/{skeleton-VhZ8VGvA.js → skeleton-4vjHa9pE.js} +2 -2
  163. package/dist/chunks/{skeleton-VhZ8VGvA.js.map → skeleton-4vjHa9pE.js.map} +1 -1
  164. package/dist/chunks/{slider-dMcarCge.js → slider-DOlqqalv.js} +2 -2
  165. package/dist/chunks/{slider-dMcarCge.js.map → slider-DOlqqalv.js.map} +1 -1
  166. package/dist/chunks/{stat-B76bhyYg.js → stat-Bp_wZjxy.js} +7 -7
  167. package/dist/chunks/{stat-B76bhyYg.js.map → stat-Bp_wZjxy.js.map} +1 -1
  168. package/dist/chunks/{status-CViblLI7.js → status-C3kBsFx5.js} +3 -3
  169. package/dist/chunks/{status-CViblLI7.js.map → status-C3kBsFx5.js.map} +1 -1
  170. package/dist/chunks/{swap-text-tAnLy5Cv.js → swap-text-BwTV6JqO.js} +2 -2
  171. package/dist/chunks/{swap-text-tAnLy5Cv.js.map → swap-text-BwTV6JqO.js.map} +1 -1
  172. package/dist/chunks/{swap-value-_e9cwEXC.js → swap-value-Di18BQCa.js} +3 -3
  173. package/dist/chunks/{swap-value-_e9cwEXC.js.map → swap-value-Di18BQCa.js.map} +1 -1
  174. package/dist/chunks/{switch-C83fxKmp.js → switch-C1pUsVtT.js} +4 -4
  175. package/dist/chunks/{switch-C83fxKmp.js.map → switch-C1pUsVtT.js.map} +1 -1
  176. package/dist/chunks/{table-B4iYe3kq.js → table-BXJrLHr8.js} +4 -4
  177. package/dist/chunks/{table-B4iYe3kq.js.map → table-BXJrLHr8.js.map} +1 -1
  178. package/dist/chunks/{tabs-DPPY-isi.js → tabs-D40oQwXB.js} +4 -4
  179. package/dist/chunks/{tabs-DPPY-isi.js.map → tabs-D40oQwXB.js.map} +1 -1
  180. package/dist/chunks/{tag-C4IHYTw9.js → tag-x-EyRR8h.js} +5 -5
  181. package/dist/chunks/{tag-C4IHYTw9.js.map → tag-x-EyRR8h.js.map} +1 -1
  182. package/dist/chunks/{text-BG26Wi3Y.js → text-BXZOSAHk.js} +4 -4
  183. package/dist/chunks/{text-BG26Wi3Y.js.map → text-BXZOSAHk.js.map} +1 -1
  184. package/dist/chunks/{textarea-IU2c6HO8.js → textarea-DsYriHdR.js} +6 -6
  185. package/dist/chunks/{textarea-IU2c6HO8.js.map → textarea-DsYriHdR.js.map} +1 -1
  186. package/dist/chunks/{theme-image-Cj315zu0.js → theme-image-DKxmJnVz.js} +2 -2
  187. package/dist/chunks/{theme-image-Cj315zu0.js.map → theme-image-DKxmJnVz.js.map} +1 -1
  188. package/dist/chunks/{theme-menu-CbMPNNnt.js → theme-menu-BfTPLeV1.js} +4 -4
  189. package/dist/chunks/{theme-menu-CbMPNNnt.js.map → theme-menu-BfTPLeV1.js.map} +1 -1
  190. package/dist/chunks/{thumbnail-CC2q1JgG.js → thumbnail-CcC1oISm.js} +2 -2
  191. package/dist/chunks/{thumbnail-CC2q1JgG.js.map → thumbnail-CcC1oISm.js.map} +1 -1
  192. package/dist/chunks/{thumbnail-B1Qdx8o5.js → thumbnail-DYBOnTRy.js} +4 -4
  193. package/dist/chunks/{thumbnail-B1Qdx8o5.js.map → thumbnail-DYBOnTRy.js.map} +1 -1
  194. package/dist/chunks/{timeline-m_RT1yTP.js → timeline-l12CWnH0.js} +3 -3
  195. package/dist/chunks/{timeline-m_RT1yTP.js.map → timeline-l12CWnH0.js.map} +1 -1
  196. package/dist/chunks/{timeseries-BT6JfQRa.js → timeseries-11o3wvRN.js} +5 -5
  197. package/dist/chunks/{timeseries-BT6JfQRa.js.map → timeseries-11o3wvRN.js.map} +1 -1
  198. package/dist/chunks/toast-YiWEHrDi.js +238 -0
  199. package/dist/chunks/toast-YiWEHrDi.js.map +1 -0
  200. package/dist/chunks/{toc-C-eNWB0s.js → toc-kwH5V9BC.js} +2 -2
  201. package/dist/chunks/{toc-C-eNWB0s.js.map → toc-kwH5V9BC.js.map} +1 -1
  202. package/dist/chunks/{toolbar-LNeFkLMF.js → toolbar-CsamWPRC.js} +2 -2
  203. package/dist/chunks/{toolbar-LNeFkLMF.js.map → toolbar-CsamWPRC.js.map} +1 -1
  204. package/dist/chunks/{tooltip-B-SPWsDM.js → tooltip-5VkHAnXF.js} +3 -3
  205. package/dist/chunks/{tooltip-B-SPWsDM.js.map → tooltip-5VkHAnXF.js.map} +1 -1
  206. package/dist/chunks/{tooltip-xgDRsxO3.js → tooltip-D8DF9Pe6.js} +4 -4
  207. package/dist/chunks/{tooltip-xgDRsxO3.js.map → tooltip-D8DF9Pe6.js.map} +1 -1
  208. package/dist/chunks/{tooltip-root-Cj2VIGub.js → tooltip-root-munfMGEN.js} +5 -5
  209. package/dist/chunks/{tooltip-root-Cj2VIGub.js.map → tooltip-root-munfMGEN.js.map} +1 -1
  210. package/dist/chunks/{truncated-seJQFoi3.js → truncated-xRd8D8kf.js} +4 -4
  211. package/dist/chunks/{truncated-seJQFoi3.js.map → truncated-xRd8D8kf.js.map} +1 -1
  212. package/dist/chunks/{use-cut-off-Ca-Jqata.js → use-cut-off-Cx1Nn5uF.js} +3 -3
  213. package/dist/chunks/{use-cut-off-Ca-Jqata.js.map → use-cut-off-Cx1Nn5uF.js.map} +1 -1
  214. package/dist/chunks/{use-indicator-CTaEVhAs.js → use-indicator-C1pEv290.js} +2 -2
  215. package/dist/chunks/{use-indicator-CTaEVhAs.js.map → use-indicator-C1pEv290.js.map} +1 -1
  216. package/dist/chunks/{use-layout-width-DAuAGj4G.js → use-layout-width-DbMAv4mR.js} +2 -2
  217. package/dist/chunks/{use-layout-width-DAuAGj4G.js.map → use-layout-width-DbMAv4mR.js.map} +1 -1
  218. package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js → use-scroll-fade-BwpKEWY0.js} +2 -2
  219. package/dist/chunks/{use-scroll-fade-Bu4Rhui7.js.map → use-scroll-fade-BwpKEWY0.js.map} +1 -1
  220. package/dist/chunks/{use-scroll-margin-DIoNdxlW.js → use-scroll-margin-LcRbT78-.js} +2 -2
  221. package/dist/chunks/{use-scroll-margin-DIoNdxlW.js.map → use-scroll-margin-LcRbT78-.js.map} +1 -1
  222. package/dist/chunks/{use-truncated-7FkH4j6x.js → use-truncated-Dn60-ubK.js} +2 -2
  223. package/dist/chunks/{use-truncated-7FkH4j6x.js.map → use-truncated-Dn60-ubK.js.map} +1 -1
  224. package/dist/chunks/{virtual-rows-CJ2gUUJ_.js → virtual-rows-D-ZT6V6B.js} +2 -2
  225. package/dist/chunks/{virtual-rows-CJ2gUUJ_.js.map → virtual-rows-D-ZT6V6B.js.map} +1 -1
  226. package/dist/chunks/{visually-hidden-DJjBZcyv.js → visually-hidden-BloW-QXO.js} +2 -2
  227. package/dist/chunks/{visually-hidden-DJjBZcyv.js.map → visually-hidden-BloW-QXO.js.map} +1 -1
  228. package/dist/chunks/{zh-CN-By8VGCbn.js → zh-CN-Db1lfihK.js} +11 -1
  229. package/dist/chunks/{zh-CN-By8VGCbn.js.map → zh-CN-Db1lfihK.js.map} +1 -1
  230. package/dist/components/app-frame.js +1 -1
  231. package/dist/components/avatar.js +1 -1
  232. package/dist/components/badge.js +1 -1
  233. package/dist/components/banner.js +1 -1
  234. package/dist/components/button-group.js +1 -1
  235. package/dist/components/button.js +1 -1
  236. package/dist/components/calendar.js +1 -1
  237. package/dist/components/charts/bar.js +4 -4
  238. package/dist/components/charts/donut.js +5 -5
  239. package/dist/components/charts/heatmap.js +4 -4
  240. package/dist/components/charts/sankey.js +4 -4
  241. package/dist/components/charts/sparkline.js +2 -2
  242. package/dist/components/charts/timeseries.js +1 -1
  243. package/dist/components/charts.js +2 -2
  244. package/dist/components/checkbox.js +1 -1
  245. package/dist/components/code-block.js +3 -3
  246. package/dist/components/code.js +1 -1
  247. package/dist/components/collapsible.js +1 -1
  248. package/dist/components/combobox.js +1 -1
  249. package/dist/components/command-palette.js +1 -1
  250. package/dist/components/copy-button.js +1 -1
  251. package/dist/components/dashboard/legend.js +2 -2
  252. package/dist/components/dashboard/metric-tabs.js +5 -5
  253. package/dist/components/dashboard/model-card.js +2 -2
  254. package/dist/components/dashboard/rank-list.js +5 -5
  255. package/dist/components/dashboard/rank-list.js.map +1 -1
  256. package/dist/components/dashboard.js +1 -1
  257. package/dist/components/data-table.js +1 -1
  258. package/dist/components/date-picker.js +1 -1
  259. package/dist/components/dialog.js +1 -1
  260. package/dist/components/display-options.js +1 -1
  261. package/dist/components/empty.js +1 -1
  262. package/dist/components/field.js +1 -1
  263. package/dist/components/figure.js +1 -1
  264. package/dist/components/filter-chip.js +1 -1
  265. package/dist/components/filter-row.js +1 -1
  266. package/dist/components/flow-canvas.js +5 -5
  267. package/dist/components/flow.js +1 -1
  268. package/dist/components/heading.js +1 -1
  269. package/dist/components/icon.js +2 -2
  270. package/dist/components/input.js +3 -3
  271. package/dist/components/kaeso/conversation.js +8 -8
  272. package/dist/components/kaeso/identity.js +1 -1
  273. package/dist/components/kaeso/moments.js +4 -4
  274. package/dist/components/kaeso/rights.js +1 -1
  275. package/dist/components/kaeso/usage.js +8 -8
  276. package/dist/components/kaeso.js +4 -4
  277. package/dist/components/kbd.js +1 -1
  278. package/dist/components/key-value.js +1 -1
  279. package/dist/components/link.js +1 -1
  280. package/dist/components/list.js +1 -1
  281. package/dist/components/loader.js +2 -2
  282. package/dist/components/logo.js +1 -1
  283. package/dist/components/markdown.js +1 -1
  284. package/dist/components/menu.js +1 -1
  285. package/dist/components/meter.js +1 -1
  286. package/dist/components/page-header.js +1 -1
  287. package/dist/components/pagination.js +1 -1
  288. package/dist/components/playground.js +21 -21
  289. package/dist/components/popover.js +1 -1
  290. package/dist/components/qr-code.js +1 -1
  291. package/dist/components/radio.js +1 -1
  292. package/dist/components/release-art.js +1 -1
  293. package/dist/components/scroll-area.js +1 -1
  294. package/dist/components/section.js +1 -1
  295. package/dist/components/segmented.js +1 -1
  296. package/dist/components/select.js +1 -1
  297. package/dist/components/separator.js +1 -1
  298. package/dist/components/settings.js +1 -1
  299. package/dist/components/sheet.js +1 -1
  300. package/dist/components/sidebar.js +1 -1
  301. package/dist/components/skeleton.js +1 -1
  302. package/dist/components/slider.js +1 -1
  303. package/dist/components/stat.js +3 -3
  304. package/dist/components/status.js +1 -1
  305. package/dist/components/swap-text.js +1 -1
  306. package/dist/components/switch.js +1 -1
  307. package/dist/components/table.js +1 -1
  308. package/dist/components/tabs.js +1 -1
  309. package/dist/components/tag.js +1 -1
  310. package/dist/components/text.js +1 -1
  311. package/dist/components/theme-image.js +1 -1
  312. package/dist/components/theme-menu.js +1 -1
  313. package/dist/components/thumbnail.js +2 -2
  314. package/dist/components/timeline.js +1 -1
  315. package/dist/components/toast.js +1 -1
  316. package/dist/components/toc.js +1 -1
  317. package/dist/components/toolbar.js +1 -1
  318. package/dist/components/tooltip.js +1 -1
  319. package/dist/components/visually-hidden.js +1 -1
  320. package/dist/i18n-provider.js +1 -1
  321. package/dist/icons/agent.js +5 -0
  322. package/dist/icons/agent.js.map +1 -0
  323. package/dist/icons/arrow-right.js +5 -0
  324. package/dist/icons/arrow-right.js.map +1 -0
  325. package/dist/icons/id-badge.js +5 -0
  326. package/dist/icons/id-badge.js.map +1 -0
  327. package/dist/index.js +86 -86
  328. package/dist/kaeso.css +70 -66
  329. package/dist/octicons.js +86 -85
  330. package/dist/styles.css +1 -1
  331. package/dist/types/components/kaeso/docs.d.ts +20 -0
  332. package/dist/types/components/kaeso/index.d.ts +2 -0
  333. package/dist/types/components/kaeso/scope-picker.d.ts +48 -0
  334. package/dist/types/components/sidebar/index.d.ts +1 -1
  335. package/dist/types/components/sidebar/sidebar.d.ts +5 -2
  336. package/dist/types/icons/octicons/{copilot.d.ts → agent.d.ts} +1 -1
  337. package/dist/types/icons/octicons/{dependabot.d.ts → arrow-right.d.ts} +1 -1
  338. package/dist/types/icons/octicons/id-badge.d.ts +2 -0
  339. package/dist/types/icons/octicons.d.ts +3 -2
  340. package/dist/types/utils/observe-resize.d.ts +1 -0
  341. package/dist/types/utils/swipe-dismiss.d.ts +3 -0
  342. package/dist/utils.js +1 -1
  343. package/foundations/motion.md +44 -21
  344. package/package.json +2 -2
  345. package/dist/chunks/app-frame-De3zsYJq.js.map +0 -1
  346. package/dist/chunks/cn-zuZd34u7.js.map +0 -1
  347. package/dist/chunks/icon-Kl0leKK_.js +0 -208
  348. package/dist/chunks/icon-Kl0leKK_.js.map +0 -1
  349. package/dist/chunks/json-view-DlmKBymI.js.map +0 -1
  350. package/dist/chunks/kaeso-vXwJtSx8.js.map +0 -1
  351. package/dist/chunks/nav-sheet-BUaQBRpE.js +0 -65
  352. package/dist/chunks/nav-sheet-BUaQBRpE.js.map +0 -1
  353. package/dist/chunks/observe-resize-CUTyU0ZX.js +0 -27
  354. package/dist/chunks/observe-resize-CUTyU0ZX.js.map +0 -1
  355. package/dist/chunks/sidebar-VrEFN1U6.js +0 -687
  356. package/dist/chunks/sidebar-VrEFN1U6.js.map +0 -1
  357. package/dist/chunks/toast-BJhL7IXT.js +0 -230
  358. package/dist/chunks/toast-BJhL7IXT.js.map +0 -1
  359. package/dist/icons/copilot.js +0 -5
  360. package/dist/icons/copilot.js.map +0 -1
  361. package/dist/icons/dependabot.js +0 -5
  362. package/dist/icons/dependabot.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component guides
2
2
 
3
- Version 0.7.5-rc.6. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
3
+ Version 0.7.5-rc.8. Generated from the showcase's demo modules (apps/showcase/src/demos); do not edit. For each component: what it is for, its import, keyboard, accessibility, do and don't, and every example's code. Props and variants: `component-registry.md`.
4
4
 
5
5
  ## AlertDialog
6
6
 
@@ -867,7 +867,7 @@ Highlighted code on a well in Kaeso's syntax palette, in every common language:
867
867
 
868
868
  ## Collapsible
869
869
 
870
- Disclosure rows: a pill row with the title 12px in, a chevron at its end that turns in 200ms, and a measured height animation.
870
+ Disclosure rows: a pill row with the title 12px in, a chevron at its end that turns in 180ms, and content that fades in at its full height.
871
871
 
872
872
  `import { Collapsible } from "@logicplanes/kaeso-ui";`
873
873
 
@@ -3177,7 +3177,7 @@ Links look like links: text color with a grey underline that takes the text colo
3177
3177
 
3178
3178
  ## Loader
3179
3179
 
3180
- Kaeso's spinner: three routes on a ring, the lead in full color, advancing a third of a turn per 800ms beat. In controls it shows only once work has taken 300ms, then for at least 400ms.
3180
+ Kaeso's spinner: three routes on a ring, the lead in full color, advancing a third of a turn per 600ms beat. In controls it shows only once work has taken 300ms, then for at least 400ms.
3181
3181
 
3182
3182
  `import { Loader, Spinner, useDelayedLoading } from "@logicplanes/kaeso-ui";`
3183
3183
 
@@ -4437,6 +4437,49 @@ Requests from keys to models to providers; hover a node to follow its path.
4437
4437
  </div>
4438
4438
  ```
4439
4439
 
4440
+ ## ScopePicker
4441
+
4442
+ Choosing what a limit counts: every request, or any mix of providers and models, shown as removable chips.
4443
+
4444
+ `import { ScopePicker } from "@logicplanes/kaeso-ui";`
4445
+
4446
+ ### Keyboard
4447
+
4448
+ | Key | Action |
4449
+ |---|---|
4450
+ | Enter | Opens the list, and in it adds or removes the active provider or model |
4451
+ | A–Z | Searches providers and models by name or id |
4452
+ | Up Down | Moves through the list |
4453
+ | Escape | Closes the list |
4454
+
4455
+ ### Accessibility
4456
+
4457
+ - The pill is a button named by its label; the list is a multi-select listbox with a group for providers and one per provider for its models.
4458
+ - Each chip's remove button names what it removes, such as “Remove Anthropic”.
4459
+
4460
+ ### Examples
4461
+
4462
+ #### A limit's scope
4463
+
4464
+ ```tsx
4465
+ function Limit() {
4466
+ const [value, setValue] = useState<ScopePickerValue>({ providers: ["anthropic"], models: ["cm_flash"] });
4467
+ return (
4468
+ <div className="w-400 max-w-full">
4469
+ <ScopePicker label="Counts requests to" providers={providers} models={models} value={value} onValueChange={setValue} />
4470
+ </div>
4471
+ );
4472
+ }
4473
+ ```
4474
+
4475
+ #### Nothing chosen yet
4476
+
4477
+ ```tsx
4478
+ <div className="w-400 max-w-full">
4479
+ <ScopePicker label="Counts requests to" providers={providers} models={models} />
4480
+ </div>
4481
+ ```
4482
+
4440
4483
  ## ScrollArea
4441
4484
 
4442
4485
  A scroll container with thin scrollbars that appear on hover, fading at every edge with more to scroll to.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@logicplanes/kaeso-ui",
3
- "version": "0.7.5-rc.6",
3
+ "version": "0.7.5-rc.8",
4
4
  "components": [
5
5
  {
6
6
  "entry": "app-frame",
@@ -487,7 +487,7 @@
487
487
  "type": "boolean",
488
488
  "required": false,
489
489
  "default": null,
490
- "description": "Keeps the button still when pressed, for a control whose 0.96 press would distract; it still darkens."
490
+ "description": "Keeps the button still when pressed, for a control whose 0.97 press would distract; it still darkens."
491
491
  },
492
492
  {
493
493
  "name": "target",
@@ -2006,7 +2006,7 @@
2006
2006
  "components": [
2007
2007
  {
2008
2008
  "name": "Collapsible",
2009
- "description": "A disclosure row: a pill with the title 12px in and a chevron at its end that turns in 200ms, the content on the title's line, a measured height animation.",
2009
+ "description": "A disclosure row: a pill with the title 12px in and a chevron at its end that turns in 180ms, the content on the title's line; it opens at its full height and fades the content in, and closes at once.",
2010
2010
  "props": [
2011
2011
  {
2012
2012
  "name": "children",
@@ -6623,6 +6623,132 @@
6623
6623
  ],
6624
6624
  "file": "src/components/kaeso/role-picker.tsx"
6625
6625
  },
6626
+ {
6627
+ "name": "ScopePicker",
6628
+ "description": "Choosing what something counts: every request, or any mix of providers and models, each model under its provider with its name and id. A searchable list opens from a pill; the choice shows as removable chips with each provider's mark.",
6629
+ "props": [
6630
+ {
6631
+ "name": "models",
6632
+ "type": "ScopePickerModel[]",
6633
+ "required": true,
6634
+ "default": null,
6635
+ "description": "The models to offer: their value, provider, model id, name and whether they are deprecated. Deprecated models show once chosen, or behind the list's Show deprecated switch."
6636
+ },
6637
+ {
6638
+ "name": "providers",
6639
+ "type": "ScopePickerProvider[]",
6640
+ "required": true,
6641
+ "default": null,
6642
+ "description": "The providers to offer: id, name, whether the organization has connected it, which lists it first, and whether it shows only once searched for."
6643
+ },
6644
+ {
6645
+ "name": "aria-label",
6646
+ "type": "string",
6647
+ "required": false,
6648
+ "default": null,
6649
+ "description": "What the picker is for, when there is no visible label; it names the pill and the list."
6650
+ },
6651
+ {
6652
+ "name": "className",
6653
+ "type": "string",
6654
+ "required": false,
6655
+ "default": null,
6656
+ "description": "Classes for the layout of the outer element: margin, width and placement, never its look."
6657
+ },
6658
+ {
6659
+ "name": "data-force",
6660
+ "type": "string",
6661
+ "required": false,
6662
+ "default": null,
6663
+ "description": "Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`."
6664
+ },
6665
+ {
6666
+ "name": "defaultValue",
6667
+ "type": "ScopePickerValue",
6668
+ "required": false,
6669
+ "default": null,
6670
+ "description": "The providers and models chosen at first, when you don't control the value."
6671
+ },
6672
+ {
6673
+ "name": "description",
6674
+ "type": "ReactNode",
6675
+ "required": false,
6676
+ "default": null,
6677
+ "description": "One sentence of help under the label."
6678
+ },
6679
+ {
6680
+ "name": "disabled",
6681
+ "type": "boolean",
6682
+ "required": false,
6683
+ "default": null,
6684
+ "description": "Turns it off: the list doesn't open and the chips can't be removed."
6685
+ },
6686
+ {
6687
+ "name": "error",
6688
+ "type": "ReactNode",
6689
+ "required": false,
6690
+ "default": null,
6691
+ "description": "A message under the control that says what is wrong with the choice."
6692
+ },
6693
+ {
6694
+ "name": "everyLabel",
6695
+ "type": "string",
6696
+ "required": false,
6697
+ "default": null,
6698
+ "description": "The first option and the pill's text while nothing is chosen, such as \"Every provider and model\"; choosing it clears the choice."
6699
+ },
6700
+ {
6701
+ "name": "label",
6702
+ "type": "ReactNode",
6703
+ "required": false,
6704
+ "default": null,
6705
+ "description": "The visible label."
6706
+ },
6707
+ {
6708
+ "name": "layout",
6709
+ "type": "\"horizontal\" | \"vertical\"",
6710
+ "required": false,
6711
+ "default": null,
6712
+ "description": "The label above the control (`vertical`) or beside it (`horizontal`)."
6713
+ },
6714
+ {
6715
+ "name": "onValueChange",
6716
+ "type": "((value: ScopePickerValue) => void)",
6717
+ "required": false,
6718
+ "default": null,
6719
+ "description": "Called with the chosen provider ids and model values. Choosing a provider drops its models, which it already covers."
6720
+ },
6721
+ {
6722
+ "name": "optional",
6723
+ "type": "boolean",
6724
+ "required": false,
6725
+ "default": null,
6726
+ "description": "Adds “Optional” to the label, for forms where most fields are required."
6727
+ },
6728
+ {
6729
+ "name": "required",
6730
+ "type": "boolean",
6731
+ "required": false,
6732
+ "default": null,
6733
+ "description": "Marks it as required in a form."
6734
+ },
6735
+ {
6736
+ "name": "size",
6737
+ "type": "\"md\" | \"sm\"",
6738
+ "required": false,
6739
+ "default": null,
6740
+ "description": "The height of the pill."
6741
+ },
6742
+ {
6743
+ "name": "value",
6744
+ "type": "ScopePickerValue",
6745
+ "required": false,
6746
+ "default": null,
6747
+ "description": "The chosen provider ids and model values, when you control them."
6748
+ }
6749
+ ],
6750
+ "file": "src/components/kaeso/scope-picker.tsx"
6751
+ },
6626
6752
  {
6627
6753
  "name": "SecretReveal",
6628
6754
  "description": "The one-time secret: calm, centered, certain. The secret on a well (selected on click), a plain warning, a large \"Copy key\" that becomes \"Key copied\" without changing size, and a `.env` tab with the gateway's URL and the key beside SDK snippets that read the key from the environment.",
@@ -6890,6 +7016,17 @@
6890
7016
  "appearance": "list"
6891
7017
  }
6892
7018
  },
7019
+ "SCOPE_PICKER": {
7020
+ "axes": {
7021
+ "size": {
7022
+ "sm": "32px pill: toolbars and table filters",
7023
+ "md": "36px pill: forms and dialogs (default)"
7024
+ }
7025
+ },
7026
+ "defaults": {
7027
+ "size": "md"
7028
+ }
7029
+ },
6893
7030
  "SOURCE_BADGE": {
6894
7031
  "axes": {
6895
7032
  "size": {
@@ -7333,7 +7470,7 @@
7333
7470
  },
7334
7471
  {
7335
7472
  "name": "Spinner",
7336
- "description": "Kaeso's spinner: three routes on a ring, the lead in full color and the two behind it fading, advancing a third of a turn per 800ms beat on the pulse easing. Only the svg turns (a composited transform). With reduced motion it holds still and the light passes from route to route instead. The routes are one 84° arc, turned 120° and 240°, with 36° between them, so the gaps stay open at 12px. The turns, the fill and a 1.5px stroke that keeps its width at every size come from kaeso.css. It takes the current color: in a button, the button's.",
7473
+ "description": "Kaeso's spinner: three routes on a ring, the lead in full color and the two behind it fading, advancing a third of a turn per 600ms beat on the pulse easing. Only the svg turns (a composited transform). With reduced motion it holds still and the light passes from route to route instead. The routes are one 84° arc, turned 120° and 240°, with 36° between them, so the gaps stay open at 12px. The turns, the fill and a 1.5px stroke that keeps its width at every size come from kaeso.css. It takes the current color: in a button, the button's.",
7337
7474
  "props": [
7338
7475
  {
7339
7476
  "name": "label",
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui component registry
2
2
 
3
- Version 0.7.5-rc.6. Generated from the component types, their descriptions and variants; do not edit.
3
+ Version 0.7.5-rc.8. Generated from the component types, their descriptions and variants; do not edit.
4
4
 
5
5
  ## app-frame
6
6
 
@@ -124,7 +124,7 @@ The button: a pill with a label, or, with `icon` and no label, a circle that sho
124
124
  | `reserveLabels` | `ReactNode[]` | | Every label this button can show ("Copy key", "Copied"). The button keeps the width of the widest, so a state change never resizes it. |
125
125
  | `shortcut` | `string[] \| string[][]` | | A shortcut hint: after the label (lg and xl, and in menus), or in the tooltip of an icon-only button. |
126
126
  | `size` | `"md" \| "xs" \| "sm" \| "lg" \| "xl"` | | The height, from `xs` (24px) to `xl` (48px). |
127
- | `static` | `boolean` | | Keeps the button still when pressed, for a control whose 0.96 press would distract; it still darkens. |
127
+ | `static` | `boolean` | | Keeps the button still when pressed, for a control whose 0.97 press would distract; it still darkens. |
128
128
  | `target` | `string` | | Where the link opens, as on an `a` element. |
129
129
  | `tooltip` | `boolean` | | Turns off an icon-only button's tooltip, for when a visible label sits next to it or the button has a tooltip of its own. |
130
130
  | `tooltipSide` | `"top" \| "bottom" \| "left" \| "right"` | | Where an icon-only button's tooltip appears. |
@@ -448,7 +448,7 @@ A folding JSON tree: copy any path, highlight a search. For request and response
448
448
 
449
449
  ### Collapsible
450
450
 
451
- A disclosure row: a pill with the title 12px in and a chevron at its end that turns in 200ms, the content on the title's line, a measured height animation.
451
+ A disclosure row: a pill with the title 12px in and a chevron at its end that turns in 180ms, the content on the title's line; it opens at its full height and fades the content in, and closes at once.
452
452
 
453
453
  | Prop | Type | Default | Description |
454
454
  |---|---|---|---|
@@ -1291,7 +1291,7 @@ A multi-line field: radius 14 (multi-line text cannot be a pill), the same mater
1291
1291
 
1292
1292
  ## kaeso
1293
1293
 
1294
- `import { ClientButton, ConversationView, EffectiveAccess, GrantSummary, KeyDisplay, LimitMeter, ModelLabel, ProviderBadge, ProviderPicker, RequestTimeline, RightsMatrix, RolePicker, SecretReveal, SourceBadge, StatusCode, UsageBreakdown } from "@logicplanes/kaeso-ui/kaeso";`
1294
+ `import { ClientButton, ConversationView, EffectiveAccess, GrantSummary, KeyDisplay, LimitMeter, ModelLabel, ProviderBadge, ProviderPicker, RequestTimeline, RightsMatrix, RolePicker, ScopePicker, SecretReveal, SourceBadge, StatusCode, UsageBreakdown } from "@logicplanes/kaeso-ui/kaeso";`
1295
1295
 
1296
1296
  - **density** (conversation): `default` (default) — 24px between turns (default); `compact` — 16px, inside sheets
1297
1297
  - **layout** (effective_access): `rows` (default) — A row per group: its name, what is granted in words, and how many (default)
@@ -1301,6 +1301,7 @@ A multi-line field: radius 14 (multi-line text cannot be a pill), the same mater
1301
1301
  - **origin** (rights_matrix): `preset` — Comes from the role; `added` — Added on top of the role; `removed` — Removed from the role; `none` (default) — Not granted
1302
1302
  - **mode** (rights_matrix): `edit` (default) — Checkboxes, group toggles and requirement hints (default); `readOnly` — A mark per right and, under it, the roles that grant it
1303
1303
  - **appearance** (role_picker): `list` (default) — Every role as a row with its description, built-in then custom (default): invites and role changes; `select` — A pill that opens the roles: filters, table rows and tight forms
1304
+ - **size** (scope_picker): `sm` — 32px pill: toolbars and table filters; `md` (default) — 36px pill: forms and dialogs (default)
1304
1305
  - **size** (source_badge): `sm` — 16px, inside table cells; `md` (default) — 20px (default); `lg` — 28px; `xl` — 40px: a source's own page
1305
1306
  - **limit** (usage): `hard` (default) — Requests over the limit are refused; `soft` — Over the limit only alerts
1306
1307
 
@@ -1484,6 +1485,30 @@ Choosing a role: built-in roles first, then custom ones under their own caption,
1484
1485
  | `size` | `"md" \| "sm"` | `md` | The height of the control. |
1485
1486
  | `value` | `string \| null` | | The chosen role's id, when you control it. |
1486
1487
 
1488
+ ### ScopePicker
1489
+
1490
+ Choosing what something counts: every request, or any mix of providers and models, each model under its provider with its name and id. A searchable list opens from a pill; the choice shows as removable chips with each provider's mark.
1491
+
1492
+ | Prop | Type | Default | Description |
1493
+ |---|---|---|---|
1494
+ | `models` * | `ScopePickerModel[]` | | The models to offer: their value, provider, model id, name and whether they are deprecated. Deprecated models show once chosen, or behind the list's Show deprecated switch. |
1495
+ | `providers` * | `ScopePickerProvider[]` | | The providers to offer: id, name, whether the organization has connected it, which lists it first, and whether it shows only once searched for. |
1496
+ | `aria-label` | `string` | | What the picker is for, when there is no visible label; it names the pill and the list. |
1497
+ | `className` | `string` | | Classes for the layout of the outer element: margin, width and placement, never its look. |
1498
+ | `data-force` | `string` | | Forces an interaction state for state matrices: `hover`, `pressed`, `focus`, `open`. |
1499
+ | `defaultValue` | `ScopePickerValue` | | The providers and models chosen at first, when you don't control the value. |
1500
+ | `description` | `ReactNode` | | One sentence of help under the label. |
1501
+ | `disabled` | `boolean` | | Turns it off: the list doesn't open and the chips can't be removed. |
1502
+ | `error` | `ReactNode` | | A message under the control that says what is wrong with the choice. |
1503
+ | `everyLabel` | `string` | | The first option and the pill's text while nothing is chosen, such as "Every provider and model"; choosing it clears the choice. |
1504
+ | `label` | `ReactNode` | | The visible label. |
1505
+ | `layout` | `"horizontal" \| "vertical"` | | The label above the control (`vertical`) or beside it (`horizontal`). |
1506
+ | `onValueChange` | `((value: ScopePickerValue) => void)` | | Called with the chosen provider ids and model values. Choosing a provider drops its models, which it already covers. |
1507
+ | `optional` | `boolean` | | Adds “Optional” to the label, for forms where most fields are required. |
1508
+ | `required` | `boolean` | | Marks it as required in a form. |
1509
+ | `size` | `"md" \| "sm"` | | The height of the pill. |
1510
+ | `value` | `ScopePickerValue` | | The chosen provider ids and model values, when you control them. |
1511
+
1487
1512
  ### SecretReveal
1488
1513
 
1489
1514
  The one-time secret: calm, centered, certain. The secret on a well (selected on click), a plain warning, a large "Copy key" that becomes "Key copied" without changing size, and a `.env` tab with the gateway's URL and the key beside SDK snippets that read the key from the environment.
@@ -1648,7 +1673,7 @@ A status region with the spinner and a label: "Saving provider…", or a page or
1648
1673
 
1649
1674
  ### Spinner
1650
1675
 
1651
- Kaeso's spinner: three routes on a ring, the lead in full color and the two behind it fading, advancing a third of a turn per 800ms beat on the pulse easing. Only the svg turns (a composited transform). With reduced motion it holds still and the light passes from route to route instead. The routes are one 84° arc, turned 120° and 240°, with 36° between them, so the gaps stay open at 12px. The turns, the fill and a 1.5px stroke that keeps its width at every size come from kaeso.css. It takes the current color: in a button, the button's.
1676
+ Kaeso's spinner: three routes on a ring, the lead in full color and the two behind it fading, advancing a third of a turn per 600ms beat on the pulse easing. Only the svg turns (a composited transform). With reduced motion it holds still and the light passes from route to route instead. The routes are one 84° arc, turned 120° and 240°, with 36° between them, so the gaps stay open at 12px. The turns, the fill and a 1.5px stroke that keeps its width at every size come from kaeso.css. It takes the current color: in a button, the button's.
1652
1677
 
1653
1678
  | Prop | Type | Default | Description |
1654
1679
  |---|---|---|---|
package/ai/icons.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Icon vocabulary
2
2
 
3
- Version 0.7.5-rc.6. Generated from `src/icons/vocabulary.ts`; do not edit. Use the name, never an icon picked by look: `icons.key` always means a key. Octicons. Rules: `foundations/icons.md`.
3
+ Version 0.7.5-rc.8. Generated from `src/icons/vocabulary.ts`; do not edit. Use the name, never an icon picked by look: `icons.key` always means a key. Octicons. Rules: `foundations/icons.md`.
4
4
 
5
5
  ## Kaeso objects
6
6
 
package/ai/tokens.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @logicplanes/kaeso-ui tokens
2
2
 
3
- Version 0.7.5-rc.6. Generated from `@logicplanes/kaeso-tokens`; do not edit. Components use these through role names (`bg-panel`, `text-fg-secondary`, `h-36`, `rounded-pill`); a raw value never appears in a component. How to use them: `foundations/*.md`.
3
+ Version 0.7.5-rc.8. Generated from `@logicplanes/kaeso-tokens`; do not edit. Components use these through role names (`bg-panel`, `text-fg-secondary`, `h-36`, `rounded-pill`); a raw value never appears in a component. How to use them: `foundations/*.md`.
4
4
 
5
5
  ## Neutrals
6
6
 
@@ -196,29 +196,31 @@ Version 0.7.5-rc.6. Generated from `@logicplanes/kaeso-tokens`; do not edit. Com
196
196
  | Variable | Value |
197
197
  |---|---|
198
198
  | `--k-duration-fast` | 120ms |
199
- | `--k-duration-press` | 150ms |
200
- | `--k-duration-swap` | 300ms |
201
- | `--k-duration-close-overlay` | 110ms |
202
- | `--k-duration-overlay` | 160ms |
203
- | `--k-duration-close-dialog` | 140ms |
199
+ | `--k-duration-press` | 120ms |
200
+ | `--k-duration-swap` | 200ms |
201
+ | `--k-duration-close-overlay` | 120ms |
202
+ | `--k-duration-overlay` | 180ms |
203
+ | `--k-duration-close-dialog` | 150ms |
204
204
  | `--k-duration-dialog` | 200ms |
205
- | `--k-duration-close-sheet` | 180ms |
206
- | `--k-duration-sheet` | 240ms |
205
+ | `--k-duration-close-sheet` | 200ms |
206
+ | `--k-duration-sheet` | 260ms |
207
207
  | `--k-duration-toast-in` | 220ms |
208
208
  | `--k-duration-toast-out` | 160ms |
209
209
  | `--k-duration-indicator` | 180ms |
210
- | `--k-duration-disclosure` | 200ms |
210
+ | `--k-duration-disclosure` | 160ms |
211
211
  | `--k-duration-chart` | 240ms |
212
- | `--k-duration-roll` | 560ms |
212
+ | `--k-duration-roll` | 280ms |
213
213
  | `--k-duration-check` | 140ms |
214
214
  | `--k-duration-radio` | 160ms |
215
215
  | `--k-duration-copied` | 1200ms |
216
216
  | `--k-duration-fresh` | 1000ms |
217
- | `--k-ease-standard` | cubic-bezier(0.2, 0, 0, 1) |
217
+ | `--k-ease-standard` | cubic-bezier(0.23, 1, 0.32, 1) |
218
218
  | `--k-ease-overlay` | cubic-bezier(0.16, 1, 0.3, 1) |
219
- | `--k-ease-exit` | cubic-bezier(0.4, 0, 1, 1) |
219
+ | `--k-ease-exit` | cubic-bezier(0.23, 1, 0.32, 1) |
220
+ | `--k-ease-move` | cubic-bezier(0.77, 0, 0.175, 1) |
221
+ | `--k-ease-drawer` | cubic-bezier(0.32, 0.72, 0, 1) |
220
222
  | `--k-ease-pulse` | cubic-bezier(0.4, 0, 0.6, 1) |
221
- | `--k-spinner-turn` | 2400ms |
223
+ | `--k-spinner-turn` | 1800ms |
222
224
  | `--k-skeleton-duration` | 1600ms |
223
225
  | spinner delay (before it shows) | 300ms |
224
226
  | spinner minimum (once shown) | 400ms |
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { n as e, t } from "./inset-BTAjcK6a.js";
3
- import { t as n } from "./cn-zuZd34u7.js";
3
+ import { t as n } from "./cn-DQJRk8Ly.js";
4
4
  import { SidebarLeft as r } from "../icons/sidebar-left.js";
5
- import { a as i, n as a } from "./button-BZwYhxWa.js";
6
- import { a as o, t as s } from "./sidebar-VrEFN1U6.js";
5
+ import { a as i, n as a } from "./button-IDx51cLu.js";
6
+ import { a as o, t as s } from "./sidebar-DvWmC7uY.js";
7
7
  import { t as c } from "./portal-context-Z2xSIPsc.js";
8
- import { c as l, o as u } from "./tooltip-xgDRsxO3.js";
8
+ import { c as l, o as u } from "./tooltip-D8DF9Pe6.js";
9
9
  import { t as d } from "./when-idle-DXKwyOLB.js";
10
10
  import { a as f } from "./context-B2nNL7Im.js";
11
11
  import { t as p } from "./merge-refs-SiVVoQsO.js";
@@ -54,6 +54,7 @@ var E = { fill: {
54
54
  }),
55
55
  /* @__PURE__ */ w(g, {
56
56
  id: h,
57
+ "data-sidebar-follows": "",
57
58
  className: "relative flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-panel outline-none safe-area-panel frame-main-top",
58
59
  children: t
59
60
  }),
@@ -111,7 +112,7 @@ function M({ banner: e, href: t, label: n, actions: i, open: o, onToggle: c, tog
111
112
  });
112
113
  }
113
114
  process.env.NODE_ENV !== "production" && (M.displayName = "AppFrame.PhoneBar");
114
- var N = 160, P = /* @__PURE__ */ u(() => import("./nav-sheet-BUaQBRpE.js"), { base: () => import.meta.url });
115
+ var N = 160, P = /* @__PURE__ */ u(() => import("./nav-sheet-B1C0Qsan.js"), { base: () => import.meta.url });
115
116
  function F({ navOpen: e, setNavOpen: t, toggle: n, ready: r, children: i }) {
116
117
  let { peeking: a, setPeeking: s } = o(), [c, u] = C(!1);
117
118
  v(() => d(() => u(!0)), []);
@@ -171,8 +172,8 @@ var L = /* @__PURE__ */ h(function({ className: e }, t) {
171
172
  "data-sidebar-expand": "",
172
173
  "aria-label": c ? h("appFrame.expandSidebar", "Expand sidebar") : h("appFrame.openNavigation", "Open navigation"),
173
174
  shortcut: c && p ? ["["] : void 0,
174
- onClick: () => {
175
- clearTimeout(m.current), c && g() ? l(!1) : i();
175
+ onClick: (e) => {
176
+ clearTimeout(m.current), c && g() ? l(!1, { animate: e.detail > 0 }) : i();
176
177
  },
177
178
  className: n("hidden", c && "lg:inline-flex", e)
178
179
  });
@@ -244,4 +245,4 @@ var H = /* @__PURE__ */ Object.assign(A, {
244
245
  });
245
246
  export { E as a, D as i, z as n, k as o, R as r, H as t };
246
247
 
247
- //# sourceMappingURL=app-frame-De3zsYJq.js.map
248
+ //# sourceMappingURL=app-frame-BZH_ATS-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-frame-BZH_ATS-.js","names":["__icon_SidebarLeft","InsetContent","cn","buttonClasses","Button","useSidebar","BrandWordmark","PortalContainer","useLazyModule","lazyModule","whenIdle","useUiText","mergeRefs","KAESO_APP_FRAME_VARIANTS","KAESO_APP_FRAME_DEFAULT_VARIANTS","Ctx","useAppFrame","useContext","Root","navOpen","setNavOpen","useState","toggle","useRef","sheetReady","mainId","useId","Main","fill","frame","useMemo","sheet","FrameSheet","sidebar","className","SkipLink","PhoneBar","brandHref","brandLabel","phoneActions","o","corner","target","main","e","Bar","banner","t","actions","toggleRef","SidebarLeft","open","onToggle","PEEK_LEAVE","navSheet","idle","setIdle","dismiss","useCallback","setPeeking","NavSheet","peeking","pending","useLayoutEffect","usePendingDismiss","doc","onKeyDown","onPointerDown","MenuButton","intent","wide","collapsed","shortcut","setCollapsed","openNav","KAESO_APP_FRAME_BODY_VARIANTS","KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS","Body","props","own","refs","ref","useEffect","el","band","mark","next","padding","GutterContent","Settings","title","description","AppFrame"],"sources":["../../src/components/app-frame/app-frame.tsx"],"sourcesContent":["import {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useId,\n useLayoutEffect,\n useMemo,\n useRef,\n useState,\n type HTMLAttributes,\n type ReactNode,\n type RefObject,\n} from \"react\";\nimport { GutterContent, InsetContent } from \"../../utils/inset.js\";\nimport { cn } from \"../../utils/cn.js\";\nimport { SidebarLeft as __icon_SidebarLeft } from \"../../icons/octicons/sidebar-left.js\";\nimport { Button, buttonClasses } from \"../button/button.js\";\nimport { useSidebar, BrandWordmark } from \"../sidebar/sidebar.js\";\nimport { PortalContainer } from \"../../utils/portal-context.js\";\nimport { lazyModule, useLazyModule } from \"../../utils/lazy-module.js\";\nimport { whenIdle } from \"../../utils/when-idle.js\";\nimport { useUiText } from \"../../i18n/context.js\";\nimport { mergeRefs } from \"../../utils/merge-refs.js\";\n\nexport const KAESO_APP_FRAME_VARIANTS = {\n fill: {\n screen: { classes: \"h-dvh\" },\n parent: { classes: \"h-full\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_DEFAULT_VARIANTS = { fill: \"screen\" } as const;\n\nconst Ctx = /* @__PURE__ */ createContext<{ openNav: () => void; embedded: boolean; sheetReady: RefObject<boolean> }>({\n openNav: () => undefined,\n embedded: false,\n sheetReady: { current: false },\n});\nexport const useAppFrame = () => useContext(Ctx);\n\nexport interface AppFrameProps {\n sidebar: ReactNode;\n children: ReactNode;\n corner?: ReactNode | undefined;\n fill?: keyof typeof KAESO_APP_FRAME_VARIANTS.fill | undefined;\n brandHref?: string | undefined;\n brandLabel?: string | undefined;\n phoneActions?: ReactNode | undefined;\n className?: string | undefined;\n}\n\nconst Root = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameProps>(function AppFrame(\n { sidebar, children, corner, fill = \"screen\", brandHref, brandLabel, phoneActions, className },\n ref,\n) {\n const [navOpen, setNavOpen] = useState(false);\n const toggle = useRef<HTMLButtonElement | null>(null);\n const sheetReady = useRef(false);\n const mainId = `k-main-${useId().replace(/[^\\w-]/g, \"\")}`;\n const Main = fill === \"screen\" ? \"main\" : \"div\";\n const frame = useMemo(() => ({ openNav: () => setNavOpen(true), embedded: fill === \"parent\", sheetReady }), [fill]);\n const sheet = (\n <FrameSheet navOpen={navOpen} setNavOpen={setNavOpen} toggle={toggle} ready={sheetReady}>\n {sidebar}\n </FrameSheet>\n );\n return (\n <Ctx.Provider value={frame}>\n <div\n ref={ref}\n data-app-frame={fill}\n className={cn(\n \"relative isolate flex w-full flex-col overflow-hidden bg-panel text-fg lg:flex-row\",\n KAESO_APP_FRAME_VARIANTS.fill[fill].classes,\n className,\n )}\n >\n <SkipLink target={mainId} />\n <div className=\"hidden h-full lg:flex\">{sidebar}</div>\n <PhoneBar\n banner={fill === \"screen\"}\n href={brandHref}\n label={brandLabel}\n actions={phoneActions}\n open={navOpen}\n onToggle={() => setNavOpen((o) => !o)}\n toggleRef={toggle}\n />\n <Main\n id={mainId}\n data-sidebar-follows=\"\"\n className=\"relative flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden bg-panel outline-none safe-area-panel frame-main-top\"\n >\n {children}\n </Main>\n {corner && <div className={cn(fill === \"parent\" ? \"absolute\" : \"fixed\", \"right-16 bottom-16 z-10 flex items-center gap-8\")}>{corner}</div>}\n {fill === \"parent\" ? <PortalContainer className=\"contents\">{sheet}</PortalContainer> : sheet}\n </div>\n </Ctx.Provider>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Root.displayName = \"AppFrame\";\n\nfunction SkipLink({ target }: { target: string }) {\n const t = useUiText();\n return (\n <a\n href={`#${target}`}\n onClick={(e) => {\n const main = document.getElementById(target);\n if (!main) return;\n e.preventDefault();\n main.setAttribute(\"tabindex\", \"-1\");\n main.addEventListener(\"blur\", () => main.removeAttribute(\"tabindex\"), { once: true });\n main.focus();\n }}\n className={cn(buttonClasses({ size: \"sm\" }), \"absolute top-16 left-16 z-50 not-focus:sr-only\")}\n >\n {t(\"appFrame.skipToContent\", \"Skip to content\")}\n </a>\n );\n}\nif (process.env.NODE_ENV !== \"production\") SkipLink.displayName = \"AppFrame.SkipLink\";\n\nfunction PhoneBar({\n banner,\n href,\n label,\n actions,\n open,\n onToggle,\n toggleRef,\n}: {\n banner: boolean;\n href: string | undefined;\n label: string | undefined;\n actions: ReactNode;\n open: boolean;\n onToggle: () => void;\n toggleRef: RefObject<HTMLButtonElement | null>;\n}) {\n const Bar = banner ? \"header\" : \"div\";\n const t = useUiText();\n return (\n <Bar data-phone-bar=\"\" className=\"shrink-0 bg-panel safe-area-bar lg:hidden\">\n <div className=\"mt-8 flex h-52 items-center justify-between px-24\">\n <BrandWordmark href={href} label={label} />\n <span className=\"flex items-center\">\n {actions}\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={toggleRef}\n icon={__icon_SidebarLeft}\n aria-label={t(\"appFrame.openNavigation\", \"Open navigation\")}\n aria-haspopup=\"dialog\"\n aria-expanded={open}\n tooltip={false}\n onClick={onToggle}\n />\n </span>\n </div>\n </Bar>\n );\n}\nif (process.env.NODE_ENV !== \"production\") PhoneBar.displayName = \"AppFrame.PhoneBar\";\n\nexport const PEEK_DELAY = 750;\nconst PEEK_LEAVE = 160;\n\nconst navSheet = /* @__PURE__ */ lazyModule(() => import(\"./nav-sheet.js\"), { base: () => import.meta.url });\n\nfunction FrameSheet({\n navOpen,\n setNavOpen,\n toggle,\n ready,\n children,\n}: {\n navOpen: boolean;\n setNavOpen: (o: boolean) => void;\n toggle: RefObject<HTMLElement | null>;\n ready: RefObject<boolean>;\n children: ReactNode;\n}) {\n const { peeking, setPeeking } = useSidebar();\n const [idle, setIdle] = useState(false);\n useEffect(() => whenIdle(() => setIdle(true)), []);\n const dismiss = useCallback(() => {\n setNavOpen(false);\n setPeeking(false);\n }, [setNavOpen, setPeeking]);\n const NavSheet = useLazyModule(navSheet, idle || navOpen || peeking, () => {\n setIdle(false);\n dismiss();\n })?.NavSheet;\n const pending = (navOpen || peeking) && !NavSheet;\n useLayoutEffect(() => {\n ready.current = !!NavSheet;\n });\n usePendingDismiss(pending, toggle, dismiss);\n if (!NavSheet) return null;\n return (\n <NavSheet\n open={navOpen || peeking}\n peek={peeking && !navOpen}\n {...(navOpen ? { returnFocus: toggle } : {})}\n onOpenChange={(o) => {\n if (!o) dismiss();\n }}\n >\n {children}\n </NavSheet>\n );\n}\n\nfunction usePendingDismiss(pending: boolean, toggle: RefObject<HTMLElement | null>, dismiss: () => void) {\n useEffect(() => {\n if (!pending) return;\n const doc = toggle.current?.ownerDocument ?? document;\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Escape\") return;\n e.stopPropagation();\n dismiss();\n };\n const onPointerDown = (e: PointerEvent) => {\n if (!toggle.current?.contains(e.target as Node)) dismiss();\n };\n doc.addEventListener(\"keydown\", onKeyDown, true);\n doc.addEventListener(\"pointerdown\", onPointerDown, true);\n return () => {\n doc.removeEventListener(\"keydown\", onKeyDown, true);\n doc.removeEventListener(\"pointerdown\", onPointerDown, true);\n };\n }, [pending, toggle, dismiss]);\n}\n\nconst MenuButton = /* @__PURE__ */ forwardRef<HTMLButtonElement, { className?: string | undefined }>(function AppFrameMenuButton({ className }, ref) {\n const { openNav, sheetReady } = useAppFrame();\n const { collapsed, setCollapsed, peeking, setPeeking, shortcut } = useSidebar();\n const intent = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);\n useEffect(() => () => clearTimeout(intent.current), []);\n const t = useUiText();\n const wide = () => typeof window !== \"undefined\" && window.matchMedia(\"(min-width: 1024px)\").matches;\n return (\n <Button\n variant=\"ghost\"\n size=\"sm\"\n ref={ref}\n onPointerEnter={() => {\n clearTimeout(intent.current);\n if (collapsed && wide() && !peeking) intent.current = setTimeout(() => setPeeking(true), PEEK_DELAY);\n }}\n onPointerLeave={(e) => {\n clearTimeout(intent.current);\n if (!sheetReady.current || !peeking) return setPeeking(false);\n const doc = e.currentTarget.ownerDocument;\n intent.current = setTimeout(() => {\n if (!doc.querySelector(\"[data-nav-sheet]\")?.matches(\":hover\")) setPeeking(false);\n }, PEEK_LEAVE);\n }}\n icon={__icon_SidebarLeft}\n data-sidebar-expand=\"\"\n aria-label={collapsed ? t(\"appFrame.expandSidebar\", \"Expand sidebar\") : t(\"appFrame.openNavigation\", \"Open navigation\")}\n shortcut={collapsed && shortcut ? [\"[\"] : undefined}\n onClick={(e) => {\n clearTimeout(intent.current);\n if (collapsed && wide()) setCollapsed(false, { animate: e.detail > 0 });\n else openNav();\n }}\n className={cn(\"hidden\", collapsed && \"lg:inline-flex\", className)}\n />\n );\n});\nif (process.env.NODE_ENV !== \"production\") MenuButton.displayName = \"AppFrame.MenuButton\";\n\nexport const KAESO_APP_FRAME_BODY_VARIANTS = {\n padding: {\n none: { classes: \"\" },\n list: { classes: \"pt-8 pb-24\" },\n page: { classes: \"px-24 pt-16 pb-48\" },\n },\n} as const;\nexport const KAESO_APP_FRAME_BODY_DEFAULT_VARIANTS = { padding: \"none\" } as const;\n\nexport interface AppFrameBodyProps extends HTMLAttributes<HTMLDivElement> {\n padding?: keyof typeof KAESO_APP_FRAME_BODY_VARIANTS.padding | undefined;\n}\n\nconst Body = /* @__PURE__ */ forwardRef<HTMLDivElement, AppFrameBodyProps>(function AppFrameBody({ className, padding = \"none\", children, ...props }, ref) {\n const own = useRef<HTMLDivElement | null>(null);\n const refs = useMemo(() => mergeRefs(own, ref), [ref]);\n useEffect(() => {\n const el = own.current;\n if (!el) return;\n let band: Element | null = null;\n const mark = () => {\n const next = el.scrollTop > 0 ? el.previousElementSibling : null;\n if (next === band) return;\n band?.removeAttribute(\"data-k-content-under\");\n next?.setAttribute(\"data-k-content-under\", \"\");\n band = next;\n };\n mark();\n el.addEventListener(\"scroll\", mark, { passive: true });\n return () => {\n el.removeEventListener(\"scroll\", mark);\n band?.removeAttribute(\"data-k-content-under\");\n };\n }, []);\n return (\n <div\n ref={refs}\n data-frame-body=\"\"\n className={cn(\"min-h-0 flex-1 overflow-y-auto overscroll-contain scrollbar-quiet\", KAESO_APP_FRAME_BODY_VARIANTS.padding[padding].classes, className)}\n {...props}\n >\n <GutterContent padded={padding === \"page\"}>{children}</GutterContent>\n </div>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Body.displayName = \"AppFrame.Body\";\n\nexport interface SettingsPageProps extends Omit<HTMLAttributes<HTMLDivElement>, \"title\"> {\n title: ReactNode;\n description?: ReactNode | undefined;\n actions?: ReactNode | undefined;\n}\n\nconst Settings = /* @__PURE__ */ forwardRef<HTMLDivElement, SettingsPageProps>(function AppFrameSettings({ title, description, actions, className, children, ...props }, ref) {\n return (\n <Body ref={ref} className=\"relative\">\n <MenuButton className=\"absolute top-10 left-24 z-10\" />\n <div className={cn(\"w-full px-24 pt-16 pb-96 lg:mx-auto lg:max-w-settings lg:pt-64\", className)} {...props}>\n <header className=\"flex flex-wrap items-start justify-between gap-x-16 gap-y-8 pb-24 rule-b\">\n <h1 className=\"min-w-0 text-title-lg font-semibold text-fg text-balance sm:flex-1\">{title}</h1>\n {actions && <div className=\"order-last flex min-h-32 shrink-0 items-center gap-8 sm:order-none sm:ml-auto\">{actions}</div>}\n {description && <p className=\"basis-full text-body-lg font-regular text-fg-secondary\">{description}</p>}\n </header>\n <div className=\"mt-8\">\n <InsetContent>\n <GutterContent>{children}</GutterContent>\n </InsetContent>\n </div>\n </div>\n </Body>\n );\n});\nif (process.env.NODE_ENV !== \"production\") Settings.displayName = \"AppFrame.Settings\";\n\nexport const AppFrame = /* @__PURE__ */ Object.assign(Root, { MenuButton, Body, Settings });\n"],"mappings":";;;;;;;;;;;;;;AA0BA,IAAaa,IAA2B,EACtC,MAAM;CACJ,QAAQ,EAAE,SAAS,QAAQ;CAC3B,QAAQ,EAAE,SAAS,SAAS;AAC9B,EACF,GACaC,IAAmC,EAAE,MAAM,SAAS,GAE3DC,IAAsB,kBAA0F;CACpH,eAAe,KAAA;CACf,UAAU;CACV,YAAY,EAAE,SAAS,GAAM;AAC/B,CAAC,GACYC,UAAoBC,EAAWF,CAAG,GAazCG,IAAuB,kBAA0C,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AAkEgC,CAAS;GAAG,GAAI4C;GAArG,UAAA,CACE,kBAAC,UAAD;IAAQ,WAAU;IAAlB,UAAA;KACE,kBAAC,MAAD;MAAI,WAAU;MAAsE,UAAAY;KAAU,CAAA;KAC7F1C,KAAW,kBAAC,OAAD;MAAK,WAAU;MAAiF,UAAAA;KAAa,CAAA;KACxH2C,KAAe,kBAAC,KAAD;MAAG,WAAU;MAA0D,UAAAA;KAAe,CAAA;IAChG;GACR,CAAA,GAAA,kBAAC,OAAD;IAAK,WAAU;IACb,UAAA,kBAAC1F,GAAD,EAAA,UACE,kBAACuF,GAAD,EAAgB,YAAwB,CAAA,EAC5B,CAAA;GACX,CAAA,CACF;EACD,CAAA,CAAA;;AAEV,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAS,cAAc;AAElE,IAAaI,IAA2B,uBAAO,OAAO1E,GAAM;CAAE;CAAY;CAAM;AAAS,CAAC"}
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as e } from "./cn-zuZd34u7.js";
2
+ import { t as e } from "./cn-DQJRk8Ly.js";
3
3
  import { t } from "./use-hydrating-Dth8POSk.js";
4
4
  import { a as n, r } from "./context-B2nNL7Im.js";
5
- import { r as i } from "./tooltip-xgDRsxO3.js";
5
+ import { r as i } from "./tooltip-D8DF9Pe6.js";
6
6
  import { forwardRef as a, useMemo as o, useState as s } from "react";
7
7
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  // src/components/avatar/agent.tsx
@@ -314,4 +314,4 @@ process.env.NODE_ENV !== "production" && (P.displayName = "Avatar.Group");
314
314
  var F = /* @__PURE__ */ Object.assign(O, { Group: P });
315
315
  export { x as a, y as c, T as i, w as n, S as o, C as r, v as s, F as t };
316
316
 
317
- //# sourceMappingURL=avatar-BsacKnQk.js.map
317
+ //# sourceMappingURL=avatar-CXhUuE1G.js.map