@womp/kookie-ui 0.36.0 → 0.37.1

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 (285) hide show
  1. package/components.css +0 -20
  2. package/dist/cjs/components/_internal/base-menu.utils.js +1 -1
  3. package/dist/cjs/components/_internal/base-menu.utils.js.map +2 -2
  4. package/dist/cjs/components/_internal/menu-context.js +1 -1
  5. package/dist/cjs/components/_internal/menu-context.js.map +2 -2
  6. package/dist/cjs/components/_internal/pane-chrome.js +1 -1
  7. package/dist/cjs/components/_internal/pane-chrome.js.map +2 -2
  8. package/dist/cjs/components/_internal/shell-bottom.d.ts +3 -3
  9. package/dist/cjs/components/_internal/shell-bottom.d.ts.map +1 -1
  10. package/dist/cjs/components/_internal/shell-bottom.js +1 -1
  11. package/dist/cjs/components/_internal/shell-bottom.js.map +3 -3
  12. package/dist/cjs/components/_internal/shell-handles.d.ts.map +1 -1
  13. package/dist/cjs/components/_internal/shell-handles.js +1 -1
  14. package/dist/cjs/components/_internal/shell-handles.js.map +3 -3
  15. package/dist/cjs/components/_internal/shell-inspector.d.ts +3 -3
  16. package/dist/cjs/components/_internal/shell-inspector.d.ts.map +1 -1
  17. package/dist/cjs/components/_internal/shell-inspector.js +1 -1
  18. package/dist/cjs/components/_internal/shell-inspector.js.map +3 -3
  19. package/dist/cjs/components/_internal/shell-pane.d.ts +2 -7
  20. package/dist/cjs/components/_internal/shell-pane.d.ts.map +1 -1
  21. package/dist/cjs/components/_internal/shell-pane.js +1 -1
  22. package/dist/cjs/components/_internal/shell-pane.js.map +3 -3
  23. package/dist/cjs/components/_internal/shell-resizable.d.ts +3 -9
  24. package/dist/cjs/components/_internal/shell-resizable.d.ts.map +1 -1
  25. package/dist/cjs/components/_internal/shell-resizable.js +1 -1
  26. package/dist/cjs/components/_internal/shell-resizable.js.map +3 -3
  27. package/dist/cjs/components/_internal/shell-resize.d.ts +0 -4
  28. package/dist/cjs/components/_internal/shell-resize.d.ts.map +1 -1
  29. package/dist/cjs/components/_internal/shell-resize.js +1 -1
  30. package/dist/cjs/components/_internal/shell-resize.js.map +2 -2
  31. package/dist/cjs/components/_internal/shell-rest.d.ts +1 -6
  32. package/dist/cjs/components/_internal/shell-rest.d.ts.map +1 -1
  33. package/dist/cjs/components/_internal/shell-rest.js +1 -1
  34. package/dist/cjs/components/_internal/shell-rest.js.map +3 -3
  35. package/dist/cjs/components/_internal/shell-sidebar.d.ts +3 -3
  36. package/dist/cjs/components/_internal/shell-sidebar.d.ts.map +1 -1
  37. package/dist/cjs/components/_internal/shell-sidebar.js +1 -1
  38. package/dist/cjs/components/_internal/shell-sidebar.js.map +3 -3
  39. package/dist/cjs/components/_internal/shell-store.d.ts +0 -10
  40. package/dist/cjs/components/_internal/shell-store.d.ts.map +1 -1
  41. package/dist/cjs/components/_internal/shell-store.js +1 -1
  42. package/dist/cjs/components/_internal/shell-store.js.map +3 -3
  43. package/dist/cjs/components/accordion.js +1 -1
  44. package/dist/cjs/components/accordion.js.map +1 -1
  45. package/dist/cjs/components/accordion.props.d.ts +4 -3
  46. package/dist/cjs/components/accordion.props.d.ts.map +1 -1
  47. package/dist/cjs/components/accordion.props.js +1 -1
  48. package/dist/cjs/components/accordion.props.js.map +1 -1
  49. package/dist/cjs/components/checkbox-group.js +1 -1
  50. package/dist/cjs/components/checkbox-group.js.map +3 -3
  51. package/dist/cjs/components/checkbox-group.primitive.d.ts +0 -10
  52. package/dist/cjs/components/checkbox-group.primitive.d.ts.map +1 -1
  53. package/dist/cjs/components/checkbox-group.primitive.js +1 -1
  54. package/dist/cjs/components/checkbox-group.primitive.js.map +3 -3
  55. package/dist/cjs/components/context-menu.d.ts +1 -5
  56. package/dist/cjs/components/context-menu.d.ts.map +1 -1
  57. package/dist/cjs/components/context-menu.js +1 -1
  58. package/dist/cjs/components/context-menu.js.map +3 -3
  59. package/dist/cjs/components/dropdown-menu.js +1 -1
  60. package/dist/cjs/components/dropdown-menu.js.map +2 -2
  61. package/dist/cjs/components/index.js +2 -2
  62. package/dist/cjs/components/index.js.map +4 -4
  63. package/dist/cjs/components/navigator.js.map +2 -2
  64. package/dist/cjs/components/schemas/index.d.ts +1 -1
  65. package/dist/cjs/components/schemas/index.d.ts.map +1 -1
  66. package/dist/cjs/components/schemas/index.js +1 -1
  67. package/dist/cjs/components/schemas/index.js.map +3 -3
  68. package/dist/cjs/components/schemas/shell.schema.d.ts +6 -112
  69. package/dist/cjs/components/schemas/shell.schema.d.ts.map +1 -1
  70. package/dist/cjs/components/schemas/shell.schema.js +1 -1
  71. package/dist/cjs/components/schemas/shell.schema.js.map +3 -3
  72. package/dist/cjs/components/separator.js +1 -1
  73. package/dist/cjs/components/separator.js.map +2 -2
  74. package/dist/cjs/components/shell.context.d.ts +1 -45
  75. package/dist/cjs/components/shell.context.d.ts.map +1 -1
  76. package/dist/cjs/components/shell.context.js +1 -1
  77. package/dist/cjs/components/shell.context.js.map +4 -4
  78. package/dist/cjs/components/shell.d.ts +7 -37
  79. package/dist/cjs/components/shell.d.ts.map +1 -1
  80. package/dist/cjs/components/shell.js +1 -1
  81. package/dist/cjs/components/shell.js.map +4 -4
  82. package/dist/cjs/components/shell.types.d.ts +6 -27
  83. package/dist/cjs/components/shell.types.d.ts.map +1 -1
  84. package/dist/cjs/components/shell.types.js +1 -1
  85. package/dist/cjs/components/shell.types.js.map +2 -2
  86. package/dist/cjs/components/sidebar.js +1 -1
  87. package/dist/cjs/components/sidebar.js.map +2 -2
  88. package/dist/cjs/components/toolbar.js +1 -1
  89. package/dist/cjs/components/toolbar.js.map +2 -2
  90. package/dist/cjs/hooks/use-breakpoint.js +1 -1
  91. package/dist/cjs/hooks/use-breakpoint.js.map +2 -2
  92. package/dist/cjs/index.js +4 -4
  93. package/dist/cjs/index.js.map +4 -4
  94. package/dist/cjs/props/index.js +1 -1
  95. package/dist/cjs/props/index.js.map +1 -1
  96. package/dist/esm/{chunk-5RLGDXOM.js → chunk-2K46JPUL.js} +2 -2
  97. package/dist/esm/chunk-3DBHPBG6.js +3 -0
  98. package/dist/esm/{chunk-ASBTPKH3.js.map → chunk-3DBHPBG6.js.map} +2 -2
  99. package/dist/esm/chunk-3K7E4XL3.js +3 -0
  100. package/dist/esm/chunk-3K7E4XL3.js.map +7 -0
  101. package/dist/esm/chunk-3LR7KMBE.js +3 -0
  102. package/dist/esm/chunk-3LR7KMBE.js.map +7 -0
  103. package/dist/esm/chunk-5U2LEJLU.js +3 -0
  104. package/dist/esm/chunk-5U2LEJLU.js.map +7 -0
  105. package/dist/esm/{chunk-IN6D33TU.js → chunk-5XO3PLDH.js} +2 -2
  106. package/dist/esm/{chunk-COLJWVN7.js → chunk-AQR42GKA.js} +2 -2
  107. package/dist/esm/{chunk-FTNZWAPB.js → chunk-ARPUPT4M.js} +2 -2
  108. package/dist/esm/{chunk-ISCZ57VL.js → chunk-DJGZ4K3V.js} +2 -2
  109. package/dist/esm/{chunk-PMXIQ5B4.js → chunk-FKCKELUB.js} +2 -2
  110. package/dist/esm/chunk-H7GH3DTF.js +3 -0
  111. package/dist/esm/chunk-H7GH3DTF.js.map +7 -0
  112. package/dist/esm/{chunk-E6MOZSYV.js → chunk-HNOT2HS4.js} +2 -2
  113. package/dist/esm/chunk-LBAC2X4U.js +3 -0
  114. package/dist/esm/{chunk-5BXCPANF.js.map → chunk-LBAC2X4U.js.map} +3 -3
  115. package/dist/esm/{chunk-MAA6LEE2.js → chunk-MDQ7ZHOS.js} +1 -1
  116. package/dist/esm/chunk-MDQ7ZHOS.js.map +7 -0
  117. package/dist/esm/chunk-MQA3BKF4.js +3 -0
  118. package/dist/esm/chunk-MQA3BKF4.js.map +7 -0
  119. package/dist/esm/chunk-MXNPCJPV.js +3 -0
  120. package/dist/esm/chunk-MXNPCJPV.js.map +7 -0
  121. package/dist/esm/chunk-QBVTI32A.js +2 -0
  122. package/dist/esm/chunk-QBVTI32A.js.map +7 -0
  123. package/dist/esm/{chunk-EB4AG3OL.js → chunk-REELD6CT.js} +2 -2
  124. package/dist/esm/chunk-RYXIRZQW.js +3 -0
  125. package/dist/esm/chunk-RYXIRZQW.js.map +7 -0
  126. package/dist/esm/chunk-S66WR5R7.js +3 -0
  127. package/dist/esm/{chunk-MXEOE4LA.js.map → chunk-S66WR5R7.js.map} +2 -2
  128. package/dist/esm/chunk-SECVO3CW.js +3 -0
  129. package/dist/esm/chunk-SECVO3CW.js.map +7 -0
  130. package/dist/esm/chunk-SHDZYFUN.js +3 -0
  131. package/dist/esm/chunk-SHDZYFUN.js.map +7 -0
  132. package/dist/esm/{chunk-3M5ZM67R.js → chunk-TCFBNE6A.js} +2 -2
  133. package/dist/esm/chunk-U7P64MXD.js +3 -0
  134. package/dist/esm/chunk-U7P64MXD.js.map +7 -0
  135. package/dist/esm/chunk-UFYQC5XY.js +3 -0
  136. package/dist/esm/chunk-UFYQC5XY.js.map +7 -0
  137. package/dist/esm/{chunk-G66WDIIV.js → chunk-WJKCXGVN.js} +2 -2
  138. package/dist/esm/chunk-XBDAE77C.js +3 -0
  139. package/dist/esm/chunk-XBDAE77C.js.map +7 -0
  140. package/dist/esm/{chunk-SIYOLE6P.js → chunk-YM47BXKK.js} +2 -2
  141. package/dist/esm/components/_internal/base-menu.utils.js +1 -1
  142. package/dist/esm/components/_internal/menu-context.js +1 -1
  143. package/dist/esm/components/_internal/pane-chrome.js +1 -1
  144. package/dist/esm/components/_internal/shell-bottom.d.ts +3 -3
  145. package/dist/esm/components/_internal/shell-bottom.d.ts.map +1 -1
  146. package/dist/esm/components/_internal/shell-bottom.js +1 -1
  147. package/dist/esm/components/_internal/shell-handles.d.ts.map +1 -1
  148. package/dist/esm/components/_internal/shell-handles.js +1 -1
  149. package/dist/esm/components/_internal/shell-inspector.d.ts +3 -3
  150. package/dist/esm/components/_internal/shell-inspector.d.ts.map +1 -1
  151. package/dist/esm/components/_internal/shell-inspector.js +1 -1
  152. package/dist/esm/components/_internal/shell-pane.d.ts +2 -7
  153. package/dist/esm/components/_internal/shell-pane.d.ts.map +1 -1
  154. package/dist/esm/components/_internal/shell-pane.js +1 -1
  155. package/dist/esm/components/_internal/shell-resizable.d.ts +3 -9
  156. package/dist/esm/components/_internal/shell-resizable.d.ts.map +1 -1
  157. package/dist/esm/components/_internal/shell-resizable.js +1 -1
  158. package/dist/esm/components/_internal/shell-resize.d.ts +0 -4
  159. package/dist/esm/components/_internal/shell-resize.d.ts.map +1 -1
  160. package/dist/esm/components/_internal/shell-resize.js +1 -1
  161. package/dist/esm/components/_internal/shell-rest.d.ts +1 -6
  162. package/dist/esm/components/_internal/shell-rest.d.ts.map +1 -1
  163. package/dist/esm/components/_internal/shell-rest.js +1 -1
  164. package/dist/esm/components/_internal/shell-sidebar.d.ts +3 -3
  165. package/dist/esm/components/_internal/shell-sidebar.d.ts.map +1 -1
  166. package/dist/esm/components/_internal/shell-sidebar.js +1 -1
  167. package/dist/esm/components/_internal/shell-store.d.ts +0 -10
  168. package/dist/esm/components/_internal/shell-store.d.ts.map +1 -1
  169. package/dist/esm/components/_internal/shell-store.js +1 -1
  170. package/dist/esm/components/accordion.js +1 -1
  171. package/dist/esm/components/accordion.props.d.ts +4 -3
  172. package/dist/esm/components/accordion.props.d.ts.map +1 -1
  173. package/dist/esm/components/accordion.props.js +1 -1
  174. package/dist/esm/components/checkbox-group.js +1 -1
  175. package/dist/esm/components/checkbox-group.primitive.d.ts +0 -10
  176. package/dist/esm/components/checkbox-group.primitive.d.ts.map +1 -1
  177. package/dist/esm/components/checkbox-group.primitive.js +1 -1
  178. package/dist/esm/components/context-menu.d.ts +1 -5
  179. package/dist/esm/components/context-menu.d.ts.map +1 -1
  180. package/dist/esm/components/context-menu.js +1 -1
  181. package/dist/esm/components/dropdown-menu.js +1 -1
  182. package/dist/esm/components/index.js +1 -1
  183. package/dist/esm/components/navigator.js +1 -1
  184. package/dist/esm/components/schemas/index.d.ts +1 -1
  185. package/dist/esm/components/schemas/index.d.ts.map +1 -1
  186. package/dist/esm/components/schemas/index.js +1 -1
  187. package/dist/esm/components/schemas/index.js.map +2 -2
  188. package/dist/esm/components/schemas/shell.schema.d.ts +6 -112
  189. package/dist/esm/components/schemas/shell.schema.d.ts.map +1 -1
  190. package/dist/esm/components/schemas/shell.schema.js +1 -1
  191. package/dist/esm/components/separator.js +1 -1
  192. package/dist/esm/components/shell.context.d.ts +1 -45
  193. package/dist/esm/components/shell.context.d.ts.map +1 -1
  194. package/dist/esm/components/shell.context.js +1 -1
  195. package/dist/esm/components/shell.d.ts +7 -37
  196. package/dist/esm/components/shell.d.ts.map +1 -1
  197. package/dist/esm/components/shell.js +1 -1
  198. package/dist/esm/components/shell.types.d.ts +6 -27
  199. package/dist/esm/components/shell.types.d.ts.map +1 -1
  200. package/dist/esm/components/shell.types.js +1 -1
  201. package/dist/esm/components/sidebar.js +1 -1
  202. package/dist/esm/components/toolbar.js +1 -1
  203. package/dist/esm/components/virtual-menu.js +1 -1
  204. package/dist/esm/hooks/use-breakpoint.js +1 -1
  205. package/dist/esm/index.js +1 -1
  206. package/dist/esm/props/index.js +1 -1
  207. package/package.json +1 -1
  208. package/schemas/index.json +13 -335
  209. package/schemas/shell-bottom.json +2 -63
  210. package/schemas/shell-inspector.json +2 -63
  211. package/schemas/shell-panel.json +2 -63
  212. package/schemas/shell-rail.json +2 -38
  213. package/schemas/shell-sidebar.json +5 -102
  214. package/schemas/shell-trigger.json +0 -6
  215. package/src/components/_internal/shell-bottom.tsx +6 -26
  216. package/src/components/_internal/shell-handles.tsx +2 -32
  217. package/src/components/_internal/shell-inspector.tsx +6 -26
  218. package/src/components/_internal/shell-pane.tsx +7 -56
  219. package/src/components/_internal/shell-resizable.tsx +6 -81
  220. package/src/components/_internal/shell-resize.tsx +0 -4
  221. package/src/components/_internal/shell-rest.ts +2 -11
  222. package/src/components/_internal/shell-sidebar.tsx +8 -30
  223. package/src/components/_internal/shell-store.tsx +1 -34
  224. package/src/components/accordion.props.tsx +2 -4
  225. package/src/components/checkbox-group.primitive.tsx +0 -12
  226. package/src/components/context-menu.tsx +1 -6
  227. package/src/components/schemas/index.ts +0 -1
  228. package/src/components/schemas/shell.schema.ts +3 -20
  229. package/src/components/shell.context.tsx +5 -112
  230. package/src/components/shell.css +1 -29
  231. package/src/components/shell.tsx +12 -97
  232. package/src/components/shell.types.ts +6 -28
  233. package/styles.css +0 -20
  234. package/dist/cjs/components/shell.hooks.d.ts +0 -10
  235. package/dist/cjs/components/shell.hooks.d.ts.map +0 -1
  236. package/dist/cjs/components/shell.hooks.js +0 -3
  237. package/dist/cjs/components/shell.hooks.js.map +0 -7
  238. package/dist/esm/chunk-2VSRZ4IT.js +0 -3
  239. package/dist/esm/chunk-2VSRZ4IT.js.map +0 -7
  240. package/dist/esm/chunk-2WFN4D52.js +0 -3
  241. package/dist/esm/chunk-2WFN4D52.js.map +0 -7
  242. package/dist/esm/chunk-4OJRLS5N.js +0 -3
  243. package/dist/esm/chunk-4OJRLS5N.js.map +0 -7
  244. package/dist/esm/chunk-4TTRPCGG.js +0 -3
  245. package/dist/esm/chunk-4TTRPCGG.js.map +0 -7
  246. package/dist/esm/chunk-5BXCPANF.js +0 -3
  247. package/dist/esm/chunk-ASBTPKH3.js +0 -3
  248. package/dist/esm/chunk-B447PNRD.js +0 -3
  249. package/dist/esm/chunk-B447PNRD.js.map +0 -7
  250. package/dist/esm/chunk-BJVXB3PN.js +0 -3
  251. package/dist/esm/chunk-BJVXB3PN.js.map +0 -7
  252. package/dist/esm/chunk-DNY4WWZF.js +0 -3
  253. package/dist/esm/chunk-DNY4WWZF.js.map +0 -7
  254. package/dist/esm/chunk-HQT32HQ6.js +0 -3
  255. package/dist/esm/chunk-HQT32HQ6.js.map +0 -7
  256. package/dist/esm/chunk-I77CYEBT.js +0 -2
  257. package/dist/esm/chunk-I77CYEBT.js.map +0 -7
  258. package/dist/esm/chunk-KGCGT4MJ.js +0 -3
  259. package/dist/esm/chunk-KGCGT4MJ.js.map +0 -7
  260. package/dist/esm/chunk-M26LLCQC.js +0 -3
  261. package/dist/esm/chunk-M26LLCQC.js.map +0 -7
  262. package/dist/esm/chunk-MAA6LEE2.js.map +0 -7
  263. package/dist/esm/chunk-MXEOE4LA.js +0 -3
  264. package/dist/esm/chunk-TS4QCDSI.js +0 -3
  265. package/dist/esm/chunk-TS4QCDSI.js.map +0 -7
  266. package/dist/esm/chunk-XOAOSRTH.js +0 -3
  267. package/dist/esm/chunk-XOAOSRTH.js.map +0 -7
  268. package/dist/esm/chunk-XUCR7L4G.js +0 -3
  269. package/dist/esm/chunk-XUCR7L4G.js.map +0 -7
  270. package/dist/esm/components/shell.hooks.d.ts +0 -10
  271. package/dist/esm/components/shell.hooks.d.ts.map +0 -1
  272. package/dist/esm/components/shell.hooks.js +0 -3
  273. package/dist/esm/components/shell.hooks.js.map +0 -7
  274. package/src/components/shell.hooks.ts +0 -20
  275. /package/dist/esm/{chunk-5RLGDXOM.js.map → chunk-2K46JPUL.js.map} +0 -0
  276. /package/dist/esm/{chunk-IN6D33TU.js.map → chunk-5XO3PLDH.js.map} +0 -0
  277. /package/dist/esm/{chunk-COLJWVN7.js.map → chunk-AQR42GKA.js.map} +0 -0
  278. /package/dist/esm/{chunk-FTNZWAPB.js.map → chunk-ARPUPT4M.js.map} +0 -0
  279. /package/dist/esm/{chunk-ISCZ57VL.js.map → chunk-DJGZ4K3V.js.map} +0 -0
  280. /package/dist/esm/{chunk-PMXIQ5B4.js.map → chunk-FKCKELUB.js.map} +0 -0
  281. /package/dist/esm/{chunk-E6MOZSYV.js.map → chunk-HNOT2HS4.js.map} +0 -0
  282. /package/dist/esm/{chunk-EB4AG3OL.js.map → chunk-REELD6CT.js.map} +0 -0
  283. /package/dist/esm/{chunk-3M5ZM67R.js.map → chunk-TCFBNE6A.js.map} +0 -0
  284. /package/dist/esm/{chunk-G66WDIIV.js.map → chunk-WJKCXGVN.js.map} +0 -0
  285. /package/dist/esm/{chunk-SIYOLE6P.js.map → chunk-YM47BXKK.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/shell.tsx"],
4
+ "sourcesContent": ["/**\n * Shell: the app frame.\n *\n * Since 0.8.0 the Shell is built on kookie-ui-v2's model, behind v1's API:\n *\n * - The Root is a CSS grid and renders its children as given, in JSX order.\n * Each pane claims its own grid area, so the Root never scans or reorders\n * children, any child renders, and a pane mounted after the Root works.\n * - State lives on each pane: `auto` (untouched), `open` or `closed`. An\n * untouched pane follows the window, resolved by the\n * stylesheet, so first paint needs no script and no open-state callback\n * fires on mount or on a resize.\n * - A pane is one element at every width. `overlay` is a posture of that\n * element, not a Sheet swapped in: crossing a breakpoint keeps its scroll\n * position, its focus and its children's state.\n * - The Root owns what an overlay needs: one scrim, `inert` on everything\n * else, focus moved in and returned, Escape, and a scroll lock.\n * - Nothing links panes to each other. A Rail closing no longer closes the\n * Panel; an app that wants that writes it in `onOpenChange`.\n */\n'use client';\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { Slot } from 'radix-ui';\nimport { useComposedRefs, useLayoutEffect } from 'radix-ui/internal';\nimport { PaneResizeContext } from './_internal/shell-resize.js';\nimport { PaneHandle, PanelHandle } from './_internal/shell-handles.js';\nimport { Sidebar } from './_internal/shell-sidebar.js';\nimport type { SidebarPublicProps } from './_internal/shell-sidebar.js';\nimport { Bottom } from './_internal/shell-bottom.js';\nimport type { BottomPublicProps } from './_internal/shell-bottom.js';\nimport { Inspector } from './_internal/shell-inspector.js';\nimport type { InspectorPublicProps } from './_internal/shell-inspector.js';\nimport { usePane, paneAttributes, usePresentationTable } from './_internal/shell-pane.js';\nimport { splitHandles, useInitialPaneSize, useResizablePane } from './_internal/shell-resizable.js';\nimport {\n FIXED_TABLE,\n ShellFrameContext,\n ShellStoreContext,\n createShellStore,\n subscribeShellStore,\n useFrameRegistration,\n usePaneEntry,\n useShellStore,\n type FramePaneId,\n} from './_internal/shell-store.js';\nimport { navigationRest, detailRest, toPaneValue, startAnchoredGrowth } from './_internal/shell-rest.js';\nimport { useSidebarMode } from './shell.context.js';\nimport { readBreakpoint } from '../hooks/use-breakpoint.js';\nimport { useThemeSize } from '../hooks/theme-size.js';\nimport { PageScope } from './_internal/page-scope.js';\nimport { PaneChromeScope, PaneFooter, PaneHeader, Scroll, ShellContentContext, ShellSizeContext, ShellWindowContext } from './_internal/pane-chrome.js';\nimport { onPageScrollMediaChange, pageScrollMatches } from './_internal/shell-page-scroll.js';\nimport type { PaneSize, PaneHeaderProps, PaneFooterProps, ScrollProps } from './_internal/pane-chrome.js';\nimport { PaneBandSizeContext } from './_internal/pane-band-context.js';\nimport type { Breakpoint, CSSPropertiesWithVars, PaneBaseProps, PaneMode, PaneName, PaneOpenChangeReason, PaneTarget, ResponsivePresentation, SidebarMode } from './shell.types.js';\n\n/* \u2500\u2500 Root \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\nexport interface ShellRootProps extends React.ComponentPropsWithoutRef<'div'> {\n children: React.ReactNode;\n /**\n * The Shell's height. `full` (the default) is the window's height; on a narrow touch screen the\n * page scrolls instead of the content, so the browser can hide its toolbars. `auto` grows with\n * the content. Any other value is the Shell's own height, and makes it contained.\n */\n height?: 'full' | 'auto' | string | number;\n /**\n * Makes the Shell fill its parent instead of the window, and always scroll inside itself. Its\n * overlays cover only its own box and leave the page free to scroll. Use it for a Shell in a\n * card, a demo or a canvas. An explicit `height` implies it.\n */\n contained?: boolean;\n /** The index the panes' chrome takes: `Shell.PaneHeader`, `Shell.Scroll`, `Shell.PaneFooter` and the Sidebar rows in them. Defaults to the nearest Theme's size (3 when the Theme is 4), else `2`. */\n size?: PaneSize;\n}\n\n/**\n * Every Shell with a live overlay holds the page still, counted across Shells,\n * through an attribute the stylesheet reads. Saving and restoring the\n * document's inline `overflow` would fight any other scroll lock on the page.\n */\nlet pageLockHolders = 0;\nfunction updatePageLock(delta: 1 | -1) {\n pageLockHolders = Math.max(0, pageLockHolders + delta);\n const doc = document.documentElement;\n if (pageLockHolders > 0) doc.setAttribute('data-kui-shell-lock', '');\n else doc.removeAttribute('data-kui-shell-lock');\n}\n\n/** Marks a child the Root made inert, so closing removes only what the Root added. */\nconst INERT_MARK = 'data-kui-shell-inert';\n\n/** How many frames a focus rescue watches after an overlay opens or closes. */\nconst RESCUE_FRAMES = 30;\n\n/** Focus that is nowhere useful: the document, or nothing at all. */\nfunction isNowhere(doc: Document, el: Element | EventTarget | null): boolean {\n return el === null || el === doc || el === doc.body || el === doc.documentElement;\n}\n\n/** A Trigger that drives the pane with this id and can take focus, optionally only inside `within`. */\nfunction triggerFor(doc: Document, id: string, within?: HTMLElement[]): HTMLElement | null {\n for (const el of doc.querySelectorAll<HTMLElement>('[data-shell-trigger][aria-controls]')) {\n if (el.getAttribute('aria-controls') !== id || el.closest('[inert]')) continue;\n if (within && !within.some((pane) => pane.contains(el))) continue;\n return el;\n }\n return null;\n}\n\ntype LivePane = { name: PaneName; id: string; el: HTMLElement };\n\n/** Shell.Root's own range; a Theme size above it maps to 3. */\nconst shellSizePropDef = { values: ['1', '2', '3'] as const };\n\n/** Lets a Shell.Header tell the Root its height, for the rows that stick beneath it while the page scrolls. */\nconst ShellHeaderHeightContext = React.createContext<((height: number | undefined) => void) | null>(null);\n\n/** The Shell.Header's default height, which the stylesheet assumes until a Header says otherwise. */\nconst DEFAULT_HEADER_HEIGHT = 64;\n\n/** The content's scroller while the frame scrolls: the Shell.Scroll's viewport, or the content itself. */\nfunction frameScroller(rootEl: HTMLElement): HTMLElement | null {\n return rootEl.querySelector<HTMLElement>(':scope > .kui-ShellContent > .kui-ShellScroll > .kui-ScrollAreaViewport') ?? rootEl.querySelector<HTMLElement>(':scope > .kui-ShellContent');\n}\n\nconst Root = React.forwardRef<HTMLDivElement, ShellRootProps>(({ className, children, height = 'full', contained: containedProp, size: sizeProp, style, onKeyDown, onFocus, ...props }, ref) => {\n // No size of its own: the nearest Theme's, mapped into 1-3.\n const size = useThemeSize(sizeProp, shellSizePropDef);\n const [store] = React.useState(createShellStore);\n const subscribe = React.useCallback((listener: () => void) => subscribeShellStore(store, listener), [store]);\n // Subscribed for the re-render, not for a value: a pane opening or closing\n // must bring the Root back so containment and the scrim follow it.\n React.useSyncExternalStore(\n subscribe,\n () => store.version,\n () => 0,\n );\n\n const rootRef = React.useRef<HTMLDivElement | null>(null);\n const composedRef = useComposedRefs(ref, rootRef);\n\n // The panes pulled off the frame (`flush={false}`). Only the Rail's is read, for the offset below.\n const [offFrame, setOffFrame] = React.useState<ReadonlySet<FramePaneId>>(() => new Set());\n const registerOffFrame = React.useCallback((id: FramePaneId) => {\n setOffFrame((prev) => (prev.has(id) ? prev : new Set(prev).add(id)));\n }, []);\n const unregisterOffFrame = React.useCallback((id: FramePaneId) => {\n setOffFrame((prev) => {\n if (!prev.has(id)) return prev;\n const next = new Set(prev);\n next.delete(id);\n return next;\n });\n }, []);\n const frameContext = React.useMemo(() => ({ registerOffFrame, unregisterOffFrame }), [registerOffFrame, unregisterOffFrame]);\n\n const closeOverlays = React.useCallback(() => {\n for (const entry of store.entries.values()) {\n if (entry.overlayLive) entry.setValue('closed', 'dismiss');\n }\n }, [store]);\n\n const livePanes = React.useCallback(\n (): LivePane[] => [...store.entries.values()].filter((entry) => entry.overlayLive && entry.el).map((entry) => ({ name: entry.name, id: entry.id, el: entry.el as HTMLElement })),\n [store],\n );\n const liveCount = [...store.entries.values()].filter((entry) => entry.overlayLive && entry.el).length;\n\n // A contained Shell sits inside a page, and its overlays cover only its box:\n // it holds no page lock. A height of its own implies it. `full` is the\n // window, and `auto` grows with its content, so its overlays are placed on\n // the window. Only a `full` Shell lets the page scroll on a phone.\n const contained = containedProp === true || (height !== 'full' && height !== 'auto');\n const windowShell = !contained && height === 'full';\n\n const [headerHeight, setHeaderHeight] = React.useState<number | undefined>(undefined);\n\n /*\n * The reading position crosses with the scroller. When a touch window\n * crosses the narrow boundary (a phone rotating, an iPad entering Split\n * View), the scroller changes between the content and the page, and the new\n * one starts at the top. The offset is remembered on `scroll` from whichever\n * scroller is live, because by the time the change is reported the old one\n * has already been laid out again and clamped. Only the live scroller is\n * heard. The clamp itself is reported as a scroll in the same frame as the\n * resize and before the media change, so scrolls are not heard from a resize\n * until that frame's animation callbacks.\n */\n React.useEffect(() => {\n if (!windowShell) return;\n const rootEl = rootRef.current;\n const win = rootEl?.ownerDocument.defaultView;\n if (!rootEl || !win || typeof win.matchMedia !== 'function') return;\n let pageScrolls = pageScrollMatches();\n let offset = pageScrolls ? win.scrollY : (frameScroller(rootEl)?.scrollTop ?? 0);\n let frame = 0;\n let resizing = 0;\n const onResize = () => {\n if (resizing) cancelAnimationFrame(resizing);\n resizing = requestAnimationFrame(() => {\n resizing = 0;\n });\n };\n const fromPage = () => {\n if (pageScrolls && !resizing) offset = win.scrollY;\n };\n const fromFrame = (event: Event) => {\n if (!pageScrolls && !resizing && event.target instanceof HTMLElement && event.target === frameScroller(rootEl)) offset = event.target.scrollTop;\n };\n win.addEventListener('resize', onResize);\n win.addEventListener('scroll', fromPage, { passive: true });\n rootEl.addEventListener('scroll', fromFrame, { passive: true, capture: true });\n const stop = onPageScrollMediaChange((matches) => {\n pageScrolls = matches;\n const carried = offset;\n if (frame) cancelAnimationFrame(frame);\n frame = requestAnimationFrame(() => {\n frame = 0;\n if (matches) win.scrollTo(0, carried);\n else {\n const el = frameScroller(rootEl);\n if (el) el.scrollTop = carried;\n }\n });\n });\n return () => {\n if (frame) cancelAnimationFrame(frame);\n if (resizing) cancelAnimationFrame(resizing);\n win.removeEventListener('resize', onResize);\n win.removeEventListener('scroll', fromPage);\n rootEl.removeEventListener('scroll', fromFrame, { capture: true });\n stop();\n };\n }, [windowShell]);\n\n /*\n * Containment is the Root's, not the pane's. Only the Root can see every live\n * overlay and every child at once. A per-pane effect, given two overlays,\n * inerts the other live overlay and restores values the other effect wrote,\n * which can leave the whole frame inert for good.\n *\n * Exempt are the scrim and each root child that CONTAINS a live overlay, so\n * a pane wrapped in a plain element is not inerted with its wrapper. A child\n * the Root inerts is marked, and closing clears only marked children, so\n * `inert` the app sets on a child is the app's before, during and after.\n */\n const contain = React.useCallback(() => {\n const rootEl = rootRef.current;\n if (!rootEl) return;\n const liveEls = livePanes().map((pane) => pane.el);\n for (const child of rootEl.children) {\n if (!(child instanceof HTMLElement) || child.classList.contains('kui-ShellScrim')) continue;\n const holdsLive = liveEls.some((el) => child === el || child.contains(el));\n if (liveEls.length === 0 || holdsLive) {\n if (child.hasAttribute(INERT_MARK)) {\n child.removeAttribute(INERT_MARK);\n child.inert = false;\n }\n } else if (!child.inert) {\n child.setAttribute(INERT_MARK, '');\n child.inert = true;\n }\n }\n }, [livePanes]);\n\n const returnFocusTo = React.useRef<HTMLElement | null>(null);\n const lastLive = React.useRef<LivePane[]>([]);\n const lastFocusInRoot = React.useRef<HTMLElement | null>(null);\n const holdsLock = React.useRef(false);\n\n /*\n * Focus can be taken away after the commit that moved it: a menu that\n * opened or closed a pane restores focus to its own trigger when it\n * finishes closing, which may be inert or hidden by then. For a few frames\n * after an overlay opens or closes, focus that ends up nowhere useful is\n * put back where it belongs.\n */\n const rescueFrame = React.useRef(0);\n const cancelRescue = React.useCallback(() => {\n if (rescueFrame.current) cancelAnimationFrame(rescueFrame.current);\n rescueFrame.current = 0;\n }, []);\n const rescueFocus = React.useCallback(\n (target: HTMLElement, lost: (active: Element | null) => boolean) => {\n cancelRescue();\n let frames = 0;\n const tick = () => {\n rescueFrame.current = 0;\n if (!target.isConnected) return;\n if (lost(target.ownerDocument.activeElement)) {\n target.focus({ preventScroll: true });\n return;\n }\n frames += 1;\n if (frames < RESCUE_FRAMES) rescueFrame.current = requestAnimationFrame(tick);\n };\n rescueFrame.current = requestAnimationFrame(tick);\n },\n [cancelRescue],\n );\n\n React.useEffect(\n () => () => {\n cancelRescue();\n if (holdsLock.current) {\n holdsLock.current = false;\n updatePageLock(-1);\n }\n },\n [cancelRescue],\n );\n\n // No dependency array, on purpose: a pane opening or closing is a render\n // of this component, and so is a child appearing through the Root.\n React.useEffect(() => {\n const rootEl = rootRef.current;\n if (!rootEl) return;\n const doc = rootEl.ownerDocument;\n const live = livePanes();\n const liveEls = live.map((pane) => pane.el);\n\n const wantsLock = !contained && live.length > 0;\n if (wantsLock !== holdsLock.current) {\n holdsLock.current = wantsLock;\n updatePageLock(wantsLock ? 1 : -1);\n }\n\n const previous = lastLive.current;\n lastLive.current = live;\n // A pane that left the live set because it closed, as opposed to one\n // that is still open but stopped being an overlay at a breakpoint.\n const closed = previous.filter((pane) => {\n if (liveEls.includes(pane.el)) return false;\n const entry = store.entries.get(pane.name);\n return !pane.el.isConnected || !entry || entry.el !== pane.el || entry.value === 'closed';\n });\n const inClosed = (active: Element | null) => active !== null && closed.some((pane) => pane.el.contains(active));\n\n // The return target is taken on the opening edge, before inerting: inerting\n // the subtree that holds the trigger blurs it. Focus already inside the\n // overlay (a pane that became one at a breakpoint) is no place to return\n // to, and an opener in a portal (a menu item) goes away with its menu, so\n // the last place focus held inside the frame stands in for it.\n if (previous.length === 0 && live.length > 0) {\n const active = doc.activeElement;\n let target = active instanceof HTMLElement && !isNowhere(doc, active) && !liveEls.some((el) => el.contains(active)) ? active : null;\n if (target && !rootEl.contains(target)) {\n const inRoot = lastFocusInRoot.current;\n if (inRoot && inRoot.isConnected && !liveEls.some((el) => el.contains(inRoot))) target = inRoot;\n }\n returnFocusTo.current = target;\n }\n\n contain();\n\n if (live.length === 0) {\n const before = returnFocusTo.current;\n returnFocusTo.current = null;\n // Every overlay that left only stopped being one: focus stays where it is.\n if (closed.length === 0) return;\n const usable = (el: HTMLElement | null) => el !== null && el.isConnected && !el.closest('[inert]') && !inClosed(el);\n let target = usable(before) ? before : null;\n for (const pane of closed) target ??= triggerFor(doc, pane.id);\n if (!target) return;\n const lost = (active: Element | null) => isNowhere(doc, active) || inClosed(active);\n if (lost(doc.activeElement)) target.focus({ preventScroll: true });\n else rescueFocus(target, lost);\n return;\n }\n\n // Some overlays closed while others stay: focus left in a closed one goes\n // to the Trigger that opened it, if a live pane holds it, or to the pane\n // on top.\n if (closed.length > 0) {\n const active = doc.activeElement;\n if (isNowhere(doc, active) || inClosed(active)) {\n let target: HTMLElement | null = null;\n for (const pane of closed) target ??= triggerFor(doc, pane.id, liveEls);\n (target ?? liveEls[liveEls.length - 1]).focus({ preventScroll: true });\n }\n }\n\n // Focus moves in on the opening edge and nowhere else, and only when it\n // is not already somewhere the user put it inside the live set.\n const opened = liveEls.filter((el) => !previous.some((pane) => pane.el === el));\n const active = doc.activeElement;\n if (opened.length > 0 && !liveEls.some((el) => el.contains(active))) {\n opened[0].focus({ preventScroll: true });\n rescueFocus(opened[0], (now) => isNowhere(doc, now) || (now instanceof Element && now.closest('[inert]') !== null));\n }\n });\n\n // A child that appears through its own state while an overlay is live does\n // not render the Root, so the Root watches its children while one is.\n React.useEffect(() => {\n const rootEl = rootRef.current;\n if (!rootEl || liveCount === 0 || typeof MutationObserver === 'undefined') return;\n const observer = new MutationObserver(contain);\n observer.observe(rootEl, { childList: true, subtree: true, attributes: true, attributeFilter: ['inert'] });\n return () => observer.disconnect();\n }, [liveCount, contain]);\n\n /*\n * Escape closes the overlays. It is handled as a React event on the Root, so\n * a component inside a pane that answers Escape in its own onKeyDown runs\n * first, and its preventDefault() or stopPropagation() keeps the pane open.\n * When the Root closes something it stops the event there, so a React\n * Escape handler above the Shell does not act on it too. A layer that\n * listens on the document in the capture phase (Radix dialogs, menus and\n * popovers) answers first and calls preventDefault() when it closes, so an\n * enclosing Kookie Dialog closes before a Shell inside it is asked.\n */\n const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>) => {\n onKeyDown?.(event);\n if (event.key !== 'Escape' || event.defaultPrevented || liveCount === 0) return;\n closeOverlays();\n event.stopPropagation();\n };\n\n // With focus on the document itself (a pane closed under it, or a menu that\n // closed and took focus with it), the Root never sees the key. While an\n // overlay is live the document answers that one case.\n React.useEffect(() => {\n const rootEl = rootRef.current;\n if (!rootEl || liveCount === 0) return;\n const doc = rootEl.ownerDocument;\n const onDocumentKeyDown = (event: KeyboardEvent) => {\n if (event.key !== 'Escape' || event.defaultPrevented || !isNowhere(doc, event.target)) return;\n closeOverlays();\n };\n doc.addEventListener('keydown', onDocumentKeyDown);\n return () => doc.removeEventListener('keydown', onDocumentKeyDown);\n }, [liveCount, closeOverlays]);\n\n const handleFocus = (event: React.FocusEvent<HTMLDivElement>) => {\n onFocus?.(event);\n if (event.target instanceof HTMLElement && rootRef.current?.contains(event.target)) lastFocusInRoot.current = event.target;\n };\n\n // A floating Panel sits beside the Rail when the Rail is showing, and\n // beside its card when the Rail is off the frame.\n const rail = store.entries.get('rail');\n const railShown = rail !== undefined && rail.value !== undefined && rail.value !== 'closed';\n const railOffset = railShown ? (offFrame.has('rail') ? `calc(${rail.size}px + 2 * var(--shell-gap))` : `${rail.size}px`) : undefined;\n\n // `full` writes no inline height: the stylesheet states it as 100vh with a\n // 100dvh override where supported, and an inline value would beat both.\n const heightStyle: React.CSSProperties = height === 'full' ? {} : height === 'auto' ? { height: 'auto' } : typeof height === 'number' ? { height: `${height}px` } : { height };\n\n return (\n <ShellStoreContext.Provider value={store}>\n <ShellSizeContext.Provider value={size}>\n <ShellContentContext.Provider value={false}>\n <ShellWindowContext.Provider value={windowShell}>\n <ShellHeaderHeightContext.Provider value={setHeaderHeight}>\n <ShellFrameContext.Provider value={frameContext}>\n {/* A Shell inside a portalled surface's Theme starts with no band, like any other. */}\n <PaneBandSizeContext.Provider value={undefined}>\n {/* The Root is not a widget: it hears Escape bubbling up from the panes,\n after their own handlers, to close the overlays. */}\n {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */}\n <div\n {...props}\n ref={composedRef}\n className={classNames('kui-ShellRoot', className)}\n data-height={height === 'auto' && !contained ? 'auto' : undefined}\n data-contained={contained || undefined}\n data-window={windowShell || undefined}\n data-overlay-live={liveCount > 0 || undefined}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n style={{\n ...heightStyle,\n ...(railOffset ? ({ '--shell-rail-offset': railOffset } as CSSPropertiesWithVars) : {}),\n ...(headerHeight !== undefined ? ({ '--kui-shell-header-h': `${headerHeight}px` } as CSSPropertiesWithVars) : {}),\n ...style,\n }}\n >\n {children}\n {/* Root-owned and always mounted. The stylesheet shows it while an\n overlay is live; containment takes the rest of the frame out of\n the accessibility tree, so the scrim itself is hidden from it. */}\n <div className=\"kui-ShellScrim\" aria-hidden onClick={closeOverlays} />\n </div>\n </PaneBandSizeContext.Provider>\n </ShellFrameContext.Provider>\n </ShellHeaderHeightContext.Provider>\n </ShellWindowContext.Provider>\n </ShellContentContext.Provider>\n </ShellSizeContext.Provider>\n </ShellStoreContext.Provider>\n );\n});\nRoot.displayName = 'Shell.Root';\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\ninterface ShellHeaderProps extends React.ComponentPropsWithoutRef<'header'> {\n height?: number;\n /**\n * Sets whether the header joins the app frame. The default is `true`: a hairline under it. Set\n * `flush={false}` to make it a card off the frame.\n */\n flush?: boolean;\n}\n\nconst Header = React.forwardRef<HTMLElement, ShellHeaderProps>(({ className, height = DEFAULT_HEADER_HEIGHT, flush = true, style, ...props }, ref) => {\n // Rows that stick beneath the header while the page scrolls need its height. The stylesheet\n // assumes the default, so only another height is told to the Root.\n const setHeaderHeight = React.useContext(ShellHeaderHeightContext);\n useLayoutEffect(() => {\n if (!setHeaderHeight) return;\n setHeaderHeight(height === DEFAULT_HEADER_HEIGHT ? undefined : height);\n return () => setHeaderHeight(undefined);\n }, [setHeaderHeight, height]);\n return (\n <header\n {...props}\n ref={ref}\n className={classNames('kui-ShellHeader', className)}\n data-flush={flush || undefined}\n style={\n {\n ...style,\n '--shell-header-height': `${height}px`,\n } as CSSPropertiesWithVars\n }\n />\n );\n});\nHeader.displayName = 'Shell.Header';\n\n/* \u2500\u2500 Rail \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\ntype RailOpenChangeMeta = { reason: PaneOpenChangeReason };\n\ntype RailControlledProps = { open: boolean; onOpenChange?: (open: boolean, meta: RailOpenChangeMeta) => void; defaultOpen?: never };\ntype RailUncontrolledProps = { defaultOpen?: boolean | Partial<Record<Breakpoint, boolean>>; onOpenChange?: (open: boolean, meta: RailOpenChangeMeta) => void; open?: never };\n\ntype RailProps = React.ComponentPropsWithoutRef<'div'> & {\n presentation?: ResponsivePresentation;\n expandedSize?: number;\n collapsible?: boolean;\n /**\n * Sets whether this pane joins the app frame. The default is `true`: the pane sits against its\n * neighbours with one hairline between them. Set `flush={false}` to pull it off the frame as a\n * card. It then floats over the content if the content is flush, and otherwise sits on the\n * Shell's background beside a card content.\n */\n flush?: boolean;\n} & (RailControlledProps | RailUncontrolledProps);\n\nconst RAIL_PROP_NAMES = { controlled: 'open', default: 'defaultOpen' };\n\nconst Rail = React.forwardRef<HTMLDivElement, RailProps>((props, ref) => {\n const { className, presentation, expandedSize = 64, collapsible: _collapsible, children, style, open, defaultOpen, onOpenChange, flush = true, id, ...domProps } = props;\n const { table, attributes } = usePresentationTable(presentation, 'fixed');\n const pane = usePane({\n name: 'rail',\n label: 'Rail',\n propNames: RAIL_PROP_NAMES,\n id,\n controlled: toPaneValue(open),\n defaultValue: toPaneValue(defaultOpen),\n presentationTable: table,\n builtIn: navigationRest,\n onChange: (value, reason) => onOpenChange?.(value !== 'closed', { reason }),\n size: expandedSize,\n });\n useFrameRegistration('rail', flush);\n const composedRef = useComposedRefs(ref, pane.setElement);\n\n return (\n <div\n {...domProps}\n role={domProps.role ?? 'navigation'}\n id={pane.id}\n ref={composedRef}\n className={classNames('kui-ShellPane', 'kui-ShellRail', className)}\n {...paneAttributes(pane, attributes)}\n data-flush={flush || undefined}\n tabIndex={pane.overlaying ? -1 : domProps.tabIndex}\n style={{ ...style, '--rail-size': `${expandedSize}px` } as CSSPropertiesWithVars}\n >\n <RailContent>{children}</RailContent>\n </div>\n );\n});\nRail.displayName = 'Shell.Rail';\n\n/** The Rail's content carries the index, so the thin row styles can size themselves by it. */\nfunction RailContent({ children }: { children: React.ReactNode }) {\n const size = React.useContext(ShellSizeContext);\n return (\n <div className={classNames('kui-ShellRailContent', `kui-r-size-${size}`)}>\n <PaneChromeScope presentation=\"thin\">{children}</PaneChromeScope>\n </div>\n );\n}\n\n/* \u2500\u2500 Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\ntype HandleComponent = React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<'div'> & React.RefAttributes<HTMLDivElement>>;\n\ntype PanelOpenChangeMeta = { reason: PaneOpenChangeReason };\ntype PanelControlledProps = { open: boolean; onOpenChange?: (open: boolean, meta: PanelOpenChangeMeta) => void; defaultOpen?: never };\ntype PanelUncontrolledProps = { defaultOpen?: boolean | Partial<Record<Breakpoint, boolean>>; onOpenChange?: (open: boolean, meta: PanelOpenChangeMeta) => void; open?: never };\n\ntype PanelSizeControlledProps = { size: number | string; defaultSize?: never };\ntype PanelSizeUncontrolledProps = { defaultSize?: number | string; size?: never };\n\ntype PanelSizeChangeMeta = { reason: 'init' | 'resize' | 'controlled' };\ntype PanelPublicProps = PaneBaseProps &\n (PanelControlledProps | PanelUncontrolledProps) &\n (PanelSizeControlledProps | PanelSizeUncontrolledProps) & {\n onSizeChange?: (size: number, meta: PanelSizeChangeMeta) => void;\n sizeUpdate?: 'throttle' | 'debounce';\n sizeUpdateMs?: number;\n /**\n * Sets whether this pane joins the app frame. The default is `true`: the pane sits against its\n * neighbours with one hairline between them. Set `flush={false}` to pull it off the frame as a\n * card. It then floats over the content if the content is flush, and otherwise sits on the\n * Shell's background beside a card content.\n */\n flush?: boolean;\n };\ntype PanelComponent = React.ForwardRefExoticComponent<PanelPublicProps & React.RefAttributes<HTMLDivElement>> & {\n Handle: HandleComponent;\n};\n\nconst PANEL_PROP_NAMES = { controlled: 'open', default: 'defaultOpen' };\n\n/**\n * A Panel with a `presentation` of its own uses it. One without follows the\n * Rail rendered before it, which is how 0.7 placed a Panel; the stylesheet\n * reads the Rail's attributes for the first paint and the registry carries\n * the Rail's table for the JS mirror.\n */\nconst Panel = React.forwardRef<HTMLDivElement, PanelPublicProps>((props, ref) => {\n const {\n className,\n presentation,\n defaultOpen,\n open,\n onOpenChange,\n size,\n defaultSize,\n expandedSize = 288,\n minSize = 100,\n maxSize = 800,\n resizable = false,\n collapsible = true,\n onResize,\n onResizeStart,\n onResizeEnd,\n children,\n style,\n onSizeChange,\n sizeUpdate,\n sizeUpdateMs = 50,\n flush = true,\n id,\n ...domProps\n } = props;\n const store = useShellStore('Shell.Panel');\n const rail = usePaneEntry(store, 'rail');\n const own = usePresentationTable(presentation, 'fixed');\n const followsRail = presentation === undefined;\n const presentationTable = followsRail ? (rail?.presentationTable ?? FIXED_TABLE) : own.table;\n const presentationAttributes = followsRail ? { 'data-presentation-follows': '' } : own.attributes;\n\n const pane = usePane({\n name: 'panel',\n label: 'Panel',\n propNames: PANEL_PROP_NAMES,\n id,\n controlled: toPaneValue(open),\n defaultValue: toPaneValue(defaultOpen),\n presentationTable,\n builtIn: detailRest,\n onChange: (value, reason) => onOpenChange?.(value !== 'closed', { reason }),\n size: expandedSize,\n });\n useFrameRegistration('panel', flush);\n\n\n const elementRef = React.useRef<HTMLElement | null>(null);\n const composedRef = useComposedRefs(ref, pane.setElement, elementRef);\n\n const resize = useResizablePane({\n name: 'panel',\n elementId: pane.id,\n elementRef,\n cssVarName: '--panel-size',\n orientation: 'vertical',\n edge: 'end',\n growth: startAnchoredGrowth,\n expandedSize,\n minSize,\n maxSize,\n resizable,\n collapsible,\n size,\n defaultSize,\n onSizeChange,\n sizeUpdate,\n sizeUpdateMs,\n onResize,\n onResizeStart,\n onResizeEnd,\n overlaying: pane.overlaying,\n // Asked when the effect runs: the Rail registers its table after this\n // Panel first renders, so the render's answer can be out of date.\n overlayingNow: () => {\n const table = followsRail ? (store.entries.get('rail')?.presentationTable ?? FIXED_TABLE) : own.table;\n return table[readBreakpoint()] === 'overlay';\n },\n requestToggle: () => pane.toggle('toggle'),\n });\n\n // The starting size is in the server HTML, so the pane does not jump on hydration.\n const initialSize = useInitialPaneSize(size, defaultSize, minSize, maxSize);\n const { handles, content } = splitHandles(children, PanelHandle);\n const handle = resizable && pane.shown !== false && !pane.overlaying ? <PaneResizeContext.Provider value={resize}>{handles.length > 0 ? handles : <PaneHandle />}</PaneResizeContext.Provider> : null;\n\n return (\n <div\n {...domProps}\n role={domProps.role ?? 'navigation'}\n id={pane.id}\n ref={composedRef}\n className={classNames('kui-ShellPane', 'kui-ShellPanel', className)}\n {...paneAttributes(pane, presentationAttributes)}\n data-flush={flush || undefined}\n tabIndex={pane.overlaying ? -1 : domProps.tabIndex}\n style={\n {\n ...style,\n '--panel-expanded-size': `${expandedSize}px`,\n ...(initialSize ? { '--panel-size': initialSize } : {}),\n } as CSSPropertiesWithVars\n }\n >\n <div className=\"kui-ShellPanelContent\">\n <PaneChromeScope>\n <PageScope>{content}</PageScope>\n </PaneChromeScope>\n </div>\n {handle}\n </div>\n );\n}) as PanelComponent;\nPanel.displayName = 'Shell.Panel';\nPanel.Handle = PanelHandle;\n\n/* \u2500\u2500 Content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\ninterface ShellContentProps extends React.ComponentPropsWithoutRef<'main'> {\n /**\n * Sets whether the work area joins the app frame. The default is `true`. Set `flush={false}`\n * to make it a card on the Shell's background; the panes beside it then sit on that background\n * too, and draw no hairline toward it.\n */\n flush?: boolean;\n}\n\n/**\n * The work area. It scrolls as it is; with a `Shell.Scroll` child it becomes a column and the\n * Scroll scrolls instead, so a `Shell.PaneHeader float` beside it stays pinned over the page.\n */\nconst Content = React.forwardRef<HTMLElement, ShellContentProps>(({ className, flush = true, children, ...props }, ref) => {\n useFrameRegistration('content', flush);\n return (\n <main {...props} ref={ref} className={classNames('kui-ShellContent', className)} data-flush={flush || undefined}>\n {/* Each pane holds its own page store, so a band's title can mirror the page beside it. */}\n <ShellContentContext.Provider value={true}>\n <PageScope>{children}</PageScope>\n </ShellContentContext.Provider>\n </main>\n );\n});\nContent.displayName = 'Shell.Content';\n\n/* \u2500\u2500 Trigger \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\ntype TriggerAction = 'toggle' | 'expand' | 'collapse';\n\ninterface TriggerProps extends React.ComponentPropsWithoutRef<'button'> {\n target: PaneTarget;\n action?: TriggerAction;\n /**\n * Renders the single child in place of the trigger's own button, with the trigger's click,\n * `aria-controls`, `aria-expanded` and data attributes merged onto it. Use it to make a\n * `Button` the trigger: `<Shell.Trigger asChild><Button iconOnly aria-label=\"Toggle sidebar\">\u2026</Button></Shell.Trigger>`.\n */\n asChild?: boolean;\n}\n\n/**\n * A button that drives a pane by name, through the registry. It sets\n * `aria-controls` and `aria-expanded` (left off while an untouched pane\n * cannot know its state yet), renders `type=\"button\"`, and runs the\n * consumer's `onClick` first: calling `preventDefault()` there cancels it. With `asChild` the\n * child is the button, and its own `type` stands.\n */\nconst Trigger = React.forwardRef<HTMLButtonElement, TriggerProps>(({ target, action = 'toggle', asChild = false, onClick, children, ...props }, ref) => {\n const store = useShellStore('Shell.Trigger');\n // Subscribes to its own pane only.\n const entry = usePaneEntry(store, target);\n const shown = entry?.value === undefined ? undefined : entry.value !== 'closed';\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n onClick?.(event);\n if (event.defaultPrevented) return;\n const current = store.entries.get(target);\n if (!current) return;\n if (action === 'toggle') current.toggle('toggle');\n else if (action === 'expand') current.setValue('open', 'toggle');\n else current.setValue('closed', 'toggle');\n };\n\n const Comp = asChild ? Slot.Root : 'button';\n return (\n <Comp\n // A button's default type is `submit`. Stated before the spread, so a consumer's own wins.\n // An asChild child states its own (Button already says `button`; a link has none), so the\n // key is left off rather than passed as undefined.\n {...(!asChild && { type: 'button' as const })}\n aria-controls={entry?.id}\n aria-expanded={shown}\n {...props}\n ref={ref}\n onClick={handleClick}\n data-shell-trigger={target}\n data-shell-action={action}\n >\n {children}\n </Comp>\n );\n});\nTrigger.displayName = 'Shell.Trigger';\n\n// Exports\nexport {\n Root,\n Header,\n Rail,\n Panel,\n Sidebar,\n Content,\n Inspector,\n Bottom,\n Trigger,\n PaneHeader,\n PaneFooter,\n Scroll,\n useSidebarMode,\n type PaneMode,\n type SidebarMode,\n type ResponsivePresentation,\n type PaneTarget,\n type TriggerAction,\n type ShellRootProps as RootProps,\n type ShellHeaderProps as HeaderProps,\n type RailProps,\n type PanelPublicProps as PanelProps,\n type SidebarPublicProps as SidebarProps,\n type ShellContentProps as ContentProps,\n type InspectorPublicProps as InspectorProps,\n type BottomPublicProps as BottomProps,\n type TriggerProps,\n type PaneHeaderProps,\n type PaneFooterProps,\n type ScrollProps,\n};\n"],
5
+ "mappings": ";w2BAAA,IAAAA,GAAA,GAAAC,GAAAD,GAAA,YAAAE,GAAA,YAAAC,GAAA,WAAAC,GAAA,cAAAC,GAAA,eAAAC,GAAA,eAAAC,GAAA,UAAAC,GAAA,SAAAC,GAAA,SAAAC,GAAA,WAAAC,GAAA,YAAAC,GAAA,YAAAC,GAAA,mBAAAC,KAsBA,UAAYC,MAAW,QACvB,OAAOC,MAAgB,aACvB,OAAS,QAAAC,OAAY,WACrB,OAAS,mBAAAC,GAAiB,mBAAAC,OAAuB,oBA0DjD,IAAIC,GAAkB,EACtB,SAASC,GAAeC,EAAe,CACrCF,GAAkB,KAAK,IAAI,EAAGA,GAAkBE,CAAK,EACrD,IAAMC,EA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ter", "PaneHeader", "Panel", "Rail", "Root", "Scroll", "Sidebar", "Trigger", "useSidebarMode", "React", "classNames", "Slot", "useComposedRefs", "useLayoutEffect", "pageLockHolders", "updatePageLock", "delta", "doc", "INERT_MARK", "RESCUE_FRAMES", "isNowhere", "el", "triggerFor", "id", "within", "pane", "shellSizePropDef", "ShellHeaderHeightContext", "DEFAULT_HEADER_HEIGHT", "frameScroller", "rootEl", "Root", "className", "children", "height", "containedProp", "sizeProp", "style", "onKeyDown", "onFocus", "props", "ref", "size", "useThemeSize", "store", "createShellStore", "subscribe", "listener", "subscribeShellStore", "rootRef", "composedRef", "useComposedRefs", "offFrame", "setOffFrame", "registerOffFrame", "prev", "unregisterOffFrame", "next", "frameContext", "closeOverlays", "entry", "livePanes", "liveCount", "contained", "windowShell", "headerHeight", "setHeaderHeight", "win", "pageScrolls", "pageScrollMatches", "offset", "frame", "resizing", "onResize", "fromPage", "fromFrame", "event", "stop", "onPageScrollMediaChange", "matches", "carried", "contain", "liveEls", "child", "holdsLive", "returnFocusTo", "lastLive", "lastFocusInRoot", "holdsLock", "rescueFrame", "cancelRescue", "rescueFocus", "target", "lost", "frames", "tick", "live", "wantsLock", "previous", "closed", "inClosed", "active", "inRoot", "before", "opened", "now", "observer", "handleKeyDown", "onDocumentKeyDown", "handleFocus", "rail", "railOffset", "heightStyle", "ShellStoreContext", "ShellSizeContext", "ShellContentContext", "ShellWindowContext", "ShellFrameContext", "PaneBandSizeContext", "classNames", "Header", "flush", "useLayoutEffect", "RAIL_PROP_NAMES", "Rail", "presentation", "expandedSize", "_collapsible", "open", "defaultOpen", "onOpenChange", "domProps", "table", "attributes", "usePresentationTable", "usePane", "toPaneValue", "navigationRest", "value", "reason", "useFrameRegistration", "paneAttributes", "RailContent", "PaneChromeScope", "PANEL_PROP_NAMES", "Panel", "defaultSize", "minSize", "maxSize", "resizable", "collapsible", "onResizeStart", "onResizeEnd", "onSizeChange", "sizeUpdate", "sizeUpdateMs", "useShellStore", "usePaneEntry", "own", "followsRail", "presentationTable", "FIXED_TABLE", "presentationAttributes", "detailRest", "elementRef", "resize", "useResizablePane", "startAnchoredGrowth", "readBreakpoint", "initialSize", "useInitialPaneSize", "handles", "content", "splitHandles", "PanelHandle", "handle", "PaneResizeContext", "PaneHandle", "PageScope", "Content", "Trigger", "action", "asChild", "onClick", "shown", "handleClick", "current", "Comp", "Slot"]
7
+ }
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{a as F}from"./chunk-COLJWVN7.js";import{a as E}from"./chunk-CFXFWIRM.js";import{a as z,b as V,c as j}from"./chunk-7E3ZOVRL.js";import{a as O,b as U,c as q,e as y,f as $}from"./chunk-IN6D33TU.js";import{b as L}from"./chunk-5KMEUZWN.js";import{d as H}from"./chunk-GKDGNPBD.js";import{a as W}from"./chunk-QPRUTOLI.js";import{b as v,c as K}from"./chunk-PMXIQ5B4.js";import{a as ue}from"./chunk-VQPANPMI.js";var fe={};ue(fe,{Group:()=>oe,GroupContent:()=>ie,GroupLabel:()=>ae,Menu:()=>Y,MenuButton:()=>T,MenuItem:()=>D,MenuSub:()=>ee,MenuSubContent:()=>re,MenuSubTrigger:()=>te,Search:()=>se,Separator:()=>Q});import*as e from"react";import d from"classnames";import{Accordion as C}from"radix-ui";var Q=e.forwardRef(({className:t,...r},n)=>e.createElement(F,{...r,ref:n,className:d("kui-SidebarSeparator",t)}));Q.displayName="Sidebar.Separator";var Y=e.forwardRef(({className:t,...r},n)=>e.createElement("ul",{...r,ref:n,className:d("kui-SidebarMenu",t)}));Y.displayName="Sidebar.Menu";var D=e.forwardRef(({className:t,...r},n)=>e.createElement("li",{...r,ref:n,className:d("kui-SidebarMenuItem",t)}));D.displayName="Sidebar.MenuItem";function G(t){if(typeof t=="function"){let r=t;return r.displayName||r.name}if(t&&typeof t=="object"){let r=t;return r.displayName||G(r.render)||G(r.type)}}function ce(t){return t.type==="svg"||t.props?.icon?!0:G(t.type)?.includes("Icon")??!1}function Z(t){return typeof t=="string"||typeof t=="number"}function de(t){let r=e.Children.toArray(t),n=[],o=[];for(let a of r)e.isValidElement(a)&&ce(a)?n.push(a):o.push(Z(a)?e.createElement("span",{key:o.length,className:"kui-SidebarMenuLabel"},a):a);return n.length===0&&r.length>1&&e.isValidElement(r[0])&&(n.push(r[0]),o.shift()),{icons:n,labels:o}}function pe(t){return e.Children.map(t,r=>Z(r)?e.createElement("span",{className:"kui-SidebarMenuLabel"},r):r)}function _(t){if(t.key!=="ArrowDown"&&t.key!=="ArrowUp")return;let r=t.currentTarget.closest(".kui-SidebarContent, .kui-SidebarSearchPopover"),n=r?Array.from(r.querySelectorAll(".kui-SidebarMenuButton")).filter(u=>u.offsetParent!==null):[],o=n.indexOf(t.currentTarget),a=n[o+(t.key==="ArrowDown"?1:-1)];o!==-1&&a&&(t.preventDefault(),a.focus())}var T=e.forwardRef(({asChild:t=!1,isActive:r=!1,shortcut:n,badge:o,className:a,children:u,onKeyDown:p,...s},l)=>{let c=v(),k=e.useContext(K),g=c?.size??k,R=c?.presentation==="thin",N=t?L:"button",P=i=>{p?.(i),i.defaultPrevented||_(i)},b=R?null:e.createElement(e.Fragment,null,o&&e.createElement("div",{className:"kui-SidebarMenuBadge"},typeof o=="string"?e.createElement(E,{size:g,variant:"soft"},o):e.createElement(E,{size:o.size||g,variant:o.variant||"soft",color:o.color,radius:o.radius},o.content)),n&&e.createElement("div",{className:"kui-BaseMenuShortcut kui-SidebarMenuShortcut"},e.createElement(W,{size:g},n))),M=i=>{if(R){let{icons:h,labels:w}=de(i);if(h.length>0)return e.createElement(e.Fragment,null,e.createElement("span",{className:"kui-SidebarMenuIconWrapper"},h),w)}return e.createElement(e.Fragment,null,pe(i),b)},m;return t&&e.isValidElement(u)&&e.Children.count(u)===1?m=e.cloneElement(u,void 0,M(u.props.children)):t?m=u:m=M(u),e.createElement(N,{type:t?void 0:"button",...s,ref:l,"aria-current":r?"page":void 0,className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton",a),"data-active":r||void 0,onKeyDown:P},m)});T.displayName="Sidebar.MenuButton";var x=e.createContext("accordion"),ee=e.forwardRef(({defaultOpen:t=!1,children:r,...n},o)=>(v()?.presentation==="thin"?"dropdown":"accordion")==="dropdown"?e.createElement("div",{...n,ref:o},e.createElement(O,null,e.createElement(x.Provider,{value:"dropdown"},r))):e.createElement("div",{...n,ref:o},e.createElement(x.Provider,{value:"accordion"},e.createElement(C.Root,{type:"single",collapsible:!0,defaultValue:t?"item":void 0},e.createElement(C.Item,{value:"item"},r)))));ee.displayName="Sidebar.MenuSub";var te=e.forwardRef(({asChild:t=!1,className:r,children:n,onKeyDown:o,...a},u)=>e.useContext(x)==="dropdown"?e.createElement(U,null,e.createElement("button",{...a,onKeyDown:o,ref:u,type:"button","aria-haspopup":"menu",className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarMenuSubTrigger",r)},n)):e.createElement(C.Header,{asChild:!0},e.createElement("div",null,e.createElement(C.Trigger,{...a,onKeyDown:s=>{_(s),o?.(s)},ref:u,asChild:t,className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarMenuSubTrigger",r)},t?n:e.createElement(e.Fragment,null,n,e.createElement(H,{className:d("kui-BaseMenuSubTriggerIcon","kui-SidebarMenuSubTriggerIcon")}))))));te.displayName="Sidebar.MenuSubTrigger";function X(t,r){if(e.isValidElement(t)&&t.type===T){let{asChild:n,isActive:o,shortcut:a,badge:u,type:p,children:s,...l}=t.props,c={...l,"data-active":o||void 0,"aria-current":o?"page":void 0};return n&&e.isValidElement(s)&&e.Children.count(s)===1?e.createElement(y,{key:r,...c,asChild:!0},s):e.createElement(y,{key:r,...c},s)}return e.isValidElement(t)?e.createElement(y,{key:r,asChild:!0},t):e.createElement(y,{key:r},t)}function le(t){return e.Children.map(t,(r,n)=>e.isValidElement(r)&&r.type===T?e.createElement(D,{key:r.key??n},r):r)}var re=e.forwardRef(({className:t,children:r,...n},o)=>{let a=v();if(e.useContext(x)==="dropdown"){let p=e.Children.map(r,(s,l)=>{if(e.isValidElement(s)&&s.type===D){let c=e.Children.toArray(s.props.children);return X(c.length===1?c[0]:c,l)}return X(s,l)});return e.createElement(q,{...n,ref:o,size:a?.size,className:d(t)},e.createElement($,null,p))}return e.createElement(C.Content,{...n,ref:o,className:d("kui-SidebarMenuSubContent",t)},e.createElement("ul",{className:"kui-SidebarMenuSubList"},le(r)))});re.displayName="Sidebar.MenuSubContent";var ne=e.createContext(null),oe=e.forwardRef(({className:t,...r},n)=>{let o=e.useId(),[a,u]=e.useState(null),p=e.useMemo(()=>({labelId:o,setLabelId:u}),[o]);return e.createElement(ne.Provider,{value:p},e.createElement("div",{role:a?"group":void 0,"aria-labelledby":a??void 0,...r,ref:n,className:d("kui-BaseMenuGroup","kui-SidebarGroup",t)}))});oe.displayName="Sidebar.Group";var ae=e.forwardRef(({asChild:t=!1,className:r,id:n,...o},a)=>{let u=t?L:"div",p=e.useContext(ne),s=n??p?.labelId,l=p?.setLabelId;return e.useEffect(()=>{if(!(!l||!s))return l(s),()=>l(null)},[l,s]),e.createElement(u,{...o,id:s,ref:a,className:d("kui-BaseMenuLabel","kui-SidebarGroupLabel",r)})});ae.displayName="Sidebar.GroupLabel";var ie=e.forwardRef(({className:t,...r},n)=>e.createElement("div",{...r,ref:n,className:d("kui-SidebarGroupContent",t)}));ie.displayName="Sidebar.GroupContent";var B=({className:t})=>e.createElement("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},e.createElement("circle",{cx:"11",cy:"11",r:"8"}),e.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),J=({className:t})=>e.createElement("svg",{className:t,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},e.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),se=e.forwardRef(({value:t,onValueChange:r,placeholder:n="Search...",children:o,className:a,...u},p)=>{let s=v(),l=s?.presentation==="thin",c=e.useRef(null),k=e.useRef(null),R=`${e.useId()}-results`,N=e.useRef(t);N.current=t;let P=e.useRef(r);P.current=r;let b=n.replace(/\.+$/,""),M=e.useCallback(i=>{i.key==="Escape"&&N.current&&(i.preventDefault(),i.stopPropagation(),P.current(""),c.current?.focus())},[]),m=e.useCallback(i=>{if(i.defaultPrevented)return;let h=k.current;if(!h)return;let w=h.querySelector('[role="group"]');if(!w)return;let f=Array.from(w.querySelectorAll("a, button"));if(f.length===0)return;let A=document.activeElement,I=A===c.current,S=f.indexOf(A);if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&!I&&S!==-1){c.current?.focus();return}switch(i.key){case"ArrowDown":{i.preventDefault(),I||S===-1?f[0]?.focus():S<f.length-1&&f[S+1]?.focus();break}case"ArrowUp":{i.preventDefault(),S<=0?c.current?.focus():f[S-1]?.focus();break}case"Home":{I||(i.preventDefault(),f[0]?.focus());break}case"End":{I||(i.preventDefault(),f[f.length-1]?.focus());break}}},[]);return l?e.createElement("div",{...u,ref:p,className:d("kui-SidebarSearch","kui-SidebarSearch--thin",a)},e.createElement(z,null,e.createElement(V,null,e.createElement("button",{type:"button",className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarSearchTrigger"),"aria-label":b},e.createElement("span",{className:"kui-SidebarMenuIconWrapper"},e.createElement(B,null)),e.createElement("span",{className:"kui-SidebarMenuLabel"},"Search"))),e.createElement(j,{side:"right",align:"start",size:"2",width:"280px","aria-label":b},e.createElement("div",{ref:k,className:"kui-SidebarSearchPopover",role:"search",onKeyDown:m},e.createElement("div",{className:"kui-SidebarSearchInputWrapper"},e.createElement(B,{className:"kui-SidebarSearchIcon"}),e.createElement("input",{ref:c,type:"search",className:"kui-SidebarSearchInput",value:t,onChange:i=>r(i.target.value),onKeyDown:M,placeholder:n,"aria-label":b,"aria-controls":o?R:void 0,autoFocus:!0}),t&&e.createElement("button",{type:"button",className:"kui-reset kui-SidebarSearchClear",onClick:()=>{r(""),c.current?.focus()},"aria-label":"Clear search"},e.createElement(J,null))),o&&e.createElement("div",{id:R,role:"group","aria-label":"Search results"},o))))):e.createElement("div",{...u,ref:p,className:d("kui-SidebarSearch","kui-SidebarSearch--expanded","kui-ShellPaneChrome",`kui-r-size-${s?.size??"2"}`,a),role:"search"},e.createElement("div",{className:"kui-SidebarSearchInputWrapper"},e.createElement(B,{className:"kui-SidebarSearchIcon"}),e.createElement("input",{ref:c,type:"search",className:"kui-SidebarSearchInput",value:t,onChange:i=>r(i.target.value),onKeyDown:M,placeholder:n,"aria-label":b}),t&&e.createElement("button",{type:"button",className:"kui-reset kui-SidebarSearchClear",onClick:()=>{r(""),c.current?.focus()},"aria-label":"Clear search"},e.createElement(J,null))))});se.displayName="Sidebar.Search";export{Q as a,Y as b,D as c,T as d,ee as e,te as f,re as g,oe as h,ae as i,ie as j,se as k,fe as l};
3
- //# sourceMappingURL=chunk-SIYOLE6P.js.map
2
+ import{a as F}from"./chunk-AQR42GKA.js";import{a as E}from"./chunk-CFXFWIRM.js";import{a as z,b as V,c as j}from"./chunk-7E3ZOVRL.js";import{a as O,b as U,c as q,e as y,f as $}from"./chunk-5XO3PLDH.js";import{b as L}from"./chunk-5KMEUZWN.js";import{d as H}from"./chunk-GKDGNPBD.js";import{a as W}from"./chunk-QPRUTOLI.js";import{b as v,c as K}from"./chunk-FKCKELUB.js";import{a as ue}from"./chunk-VQPANPMI.js";var fe={};ue(fe,{Group:()=>oe,GroupContent:()=>ie,GroupLabel:()=>ae,Menu:()=>Y,MenuButton:()=>T,MenuItem:()=>D,MenuSub:()=>ee,MenuSubContent:()=>re,MenuSubTrigger:()=>te,Search:()=>se,Separator:()=>Q});import*as e from"react";import d from"classnames";import{Accordion as C}from"radix-ui";var Q=e.forwardRef(({className:t,...r},n)=>e.createElement(F,{...r,ref:n,className:d("kui-SidebarSeparator",t)}));Q.displayName="Sidebar.Separator";var Y=e.forwardRef(({className:t,...r},n)=>e.createElement("ul",{...r,ref:n,className:d("kui-SidebarMenu",t)}));Y.displayName="Sidebar.Menu";var D=e.forwardRef(({className:t,...r},n)=>e.createElement("li",{...r,ref:n,className:d("kui-SidebarMenuItem",t)}));D.displayName="Sidebar.MenuItem";function G(t){if(typeof t=="function"){let r=t;return r.displayName||r.name}if(t&&typeof t=="object"){let r=t;return r.displayName||G(r.render)||G(r.type)}}function ce(t){return t.type==="svg"||t.props?.icon?!0:G(t.type)?.includes("Icon")??!1}function Z(t){return typeof t=="string"||typeof t=="number"}function de(t){let r=e.Children.toArray(t),n=[],o=[];for(let a of r)e.isValidElement(a)&&ce(a)?n.push(a):o.push(Z(a)?e.createElement("span",{key:o.length,className:"kui-SidebarMenuLabel"},a):a);return n.length===0&&r.length>1&&e.isValidElement(r[0])&&(n.push(r[0]),o.shift()),{icons:n,labels:o}}function pe(t){return e.Children.map(t,r=>Z(r)?e.createElement("span",{className:"kui-SidebarMenuLabel"},r):r)}function _(t){if(t.key!=="ArrowDown"&&t.key!=="ArrowUp")return;let r=t.currentTarget.closest(".kui-SidebarContent, .kui-SidebarSearchPopover"),n=r?Array.from(r.querySelectorAll(".kui-SidebarMenuButton")).filter(u=>u.offsetParent!==null):[],o=n.indexOf(t.currentTarget),a=n[o+(t.key==="ArrowDown"?1:-1)];o!==-1&&a&&(t.preventDefault(),a.focus())}var T=e.forwardRef(({asChild:t=!1,isActive:r=!1,shortcut:n,badge:o,className:a,children:u,onKeyDown:p,...s},l)=>{let c=v(),k=e.useContext(K),g=c?.size??k,R=c?.presentation==="thin",N=t?L:"button",P=i=>{p?.(i),i.defaultPrevented||_(i)},b=R?null:e.createElement(e.Fragment,null,o&&e.createElement("div",{className:"kui-SidebarMenuBadge"},typeof o=="string"?e.createElement(E,{size:g,variant:"soft"},o):e.createElement(E,{size:o.size||g,variant:o.variant||"soft",color:o.color,radius:o.radius},o.content)),n&&e.createElement("div",{className:"kui-BaseMenuShortcut kui-SidebarMenuShortcut"},e.createElement(W,{size:g},n))),M=i=>{if(R){let{icons:h,labels:w}=de(i);if(h.length>0)return e.createElement(e.Fragment,null,e.createElement("span",{className:"kui-SidebarMenuIconWrapper"},h),w)}return e.createElement(e.Fragment,null,pe(i),b)},m;return t&&e.isValidElement(u)&&e.Children.count(u)===1?m=e.cloneElement(u,void 0,M(u.props.children)):t?m=u:m=M(u),e.createElement(N,{type:t?void 0:"button",...s,ref:l,"aria-current":r?"page":void 0,className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton",a),"data-active":r||void 0,onKeyDown:P},m)});T.displayName="Sidebar.MenuButton";var x=e.createContext("accordion"),ee=e.forwardRef(({defaultOpen:t=!1,children:r,...n},o)=>(v()?.presentation==="thin"?"dropdown":"accordion")==="dropdown"?e.createElement("div",{...n,ref:o},e.createElement(O,null,e.createElement(x.Provider,{value:"dropdown"},r))):e.createElement("div",{...n,ref:o},e.createElement(x.Provider,{value:"accordion"},e.createElement(C.Root,{type:"single",collapsible:!0,defaultValue:t?"item":void 0},e.createElement(C.Item,{value:"item"},r)))));ee.displayName="Sidebar.MenuSub";var te=e.forwardRef(({asChild:t=!1,className:r,children:n,onKeyDown:o,...a},u)=>e.useContext(x)==="dropdown"?e.createElement(U,null,e.createElement("button",{...a,onKeyDown:o,ref:u,type:"button","aria-haspopup":"menu",className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarMenuSubTrigger",r)},n)):e.createElement(C.Header,{asChild:!0},e.createElement("div",null,e.createElement(C.Trigger,{...a,onKeyDown:s=>{_(s),o?.(s)},ref:u,asChild:t,className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarMenuSubTrigger",r)},t?n:e.createElement(e.Fragment,null,n,e.createElement(H,{className:d("kui-BaseMenuSubTriggerIcon","kui-SidebarMenuSubTriggerIcon")}))))));te.displayName="Sidebar.MenuSubTrigger";function X(t,r){if(e.isValidElement(t)&&t.type===T){let{asChild:n,isActive:o,shortcut:a,badge:u,type:p,children:s,...l}=t.props,c={...l,"data-active":o||void 0,"aria-current":o?"page":void 0};return n&&e.isValidElement(s)&&e.Children.count(s)===1?e.createElement(y,{key:r,...c,asChild:!0},s):e.createElement(y,{key:r,...c},s)}return e.isValidElement(t)?e.createElement(y,{key:r,asChild:!0},t):e.createElement(y,{key:r},t)}function le(t){return e.Children.map(t,(r,n)=>e.isValidElement(r)&&r.type===T?e.createElement(D,{key:r.key??n},r):r)}var re=e.forwardRef(({className:t,children:r,...n},o)=>{let a=v();if(e.useContext(x)==="dropdown"){let p=e.Children.map(r,(s,l)=>{if(e.isValidElement(s)&&s.type===D){let c=e.Children.toArray(s.props.children);return X(c.length===1?c[0]:c,l)}return X(s,l)});return e.createElement(q,{...n,ref:o,size:a?.size,className:d(t)},e.createElement($,null,p))}return e.createElement(C.Content,{...n,ref:o,className:d("kui-SidebarMenuSubContent",t)},e.createElement("ul",{className:"kui-SidebarMenuSubList"},le(r)))});re.displayName="Sidebar.MenuSubContent";var ne=e.createContext(null),oe=e.forwardRef(({className:t,...r},n)=>{let o=e.useId(),[a,u]=e.useState(null),p=e.useMemo(()=>({labelId:o,setLabelId:u}),[o]);return e.createElement(ne.Provider,{value:p},e.createElement("div",{role:a?"group":void 0,"aria-labelledby":a??void 0,...r,ref:n,className:d("kui-BaseMenuGroup","kui-SidebarGroup",t)}))});oe.displayName="Sidebar.Group";var ae=e.forwardRef(({asChild:t=!1,className:r,id:n,...o},a)=>{let u=t?L:"div",p=e.useContext(ne),s=n??p?.labelId,l=p?.setLabelId;return e.useEffect(()=>{if(!(!l||!s))return l(s),()=>l(null)},[l,s]),e.createElement(u,{...o,id:s,ref:a,className:d("kui-BaseMenuLabel","kui-SidebarGroupLabel",r)})});ae.displayName="Sidebar.GroupLabel";var ie=e.forwardRef(({className:t,...r},n)=>e.createElement("div",{...r,ref:n,className:d("kui-SidebarGroupContent",t)}));ie.displayName="Sidebar.GroupContent";var B=({className:t})=>e.createElement("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},e.createElement("circle",{cx:"11",cy:"11",r:"8"}),e.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})),J=({className:t})=>e.createElement("svg",{className:t,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},e.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),se=e.forwardRef(({value:t,onValueChange:r,placeholder:n="Search...",children:o,className:a,...u},p)=>{let s=v(),l=s?.presentation==="thin",c=e.useRef(null),k=e.useRef(null),R=`${e.useId()}-results`,N=e.useRef(t);N.current=t;let P=e.useRef(r);P.current=r;let b=n.replace(/\.+$/,""),M=e.useCallback(i=>{i.key==="Escape"&&N.current&&(i.preventDefault(),i.stopPropagation(),P.current(""),c.current?.focus())},[]),m=e.useCallback(i=>{if(i.defaultPrevented)return;let h=k.current;if(!h)return;let w=h.querySelector('[role="group"]');if(!w)return;let f=Array.from(w.querySelectorAll("a, button"));if(f.length===0)return;let A=document.activeElement,I=A===c.current,S=f.indexOf(A);if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&!I&&S!==-1){c.current?.focus();return}switch(i.key){case"ArrowDown":{i.preventDefault(),I||S===-1?f[0]?.focus():S<f.length-1&&f[S+1]?.focus();break}case"ArrowUp":{i.preventDefault(),S<=0?c.current?.focus():f[S-1]?.focus();break}case"Home":{I||(i.preventDefault(),f[0]?.focus());break}case"End":{I||(i.preventDefault(),f[f.length-1]?.focus());break}}},[]);return l?e.createElement("div",{...u,ref:p,className:d("kui-SidebarSearch","kui-SidebarSearch--thin",a)},e.createElement(z,null,e.createElement(V,null,e.createElement("button",{type:"button",className:d("kui-reset","kui-BaseMenuItem","kui-SidebarMenuButton","kui-SidebarSearchTrigger"),"aria-label":b},e.createElement("span",{className:"kui-SidebarMenuIconWrapper"},e.createElement(B,null)),e.createElement("span",{className:"kui-SidebarMenuLabel"},"Search"))),e.createElement(j,{side:"right",align:"start",size:"2",width:"280px","aria-label":b},e.createElement("div",{ref:k,className:"kui-SidebarSearchPopover",role:"search",onKeyDown:m},e.createElement("div",{className:"kui-SidebarSearchInputWrapper"},e.createElement(B,{className:"kui-SidebarSearchIcon"}),e.createElement("input",{ref:c,type:"search",className:"kui-SidebarSearchInput",value:t,onChange:i=>r(i.target.value),onKeyDown:M,placeholder:n,"aria-label":b,"aria-controls":o?R:void 0,autoFocus:!0}),t&&e.createElement("button",{type:"button",className:"kui-reset kui-SidebarSearchClear",onClick:()=>{r(""),c.current?.focus()},"aria-label":"Clear search"},e.createElement(J,null))),o&&e.createElement("div",{id:R,role:"group","aria-label":"Search results"},o))))):e.createElement("div",{...u,ref:p,className:d("kui-SidebarSearch","kui-SidebarSearch--expanded","kui-ShellPaneChrome",`kui-r-size-${s?.size??"2"}`,a),role:"search"},e.createElement("div",{className:"kui-SidebarSearchInputWrapper"},e.createElement(B,{className:"kui-SidebarSearchIcon"}),e.createElement("input",{ref:c,type:"search",className:"kui-SidebarSearchInput",value:t,onChange:i=>r(i.target.value),onKeyDown:M,placeholder:n,"aria-label":b}),t&&e.createElement("button",{type:"button",className:"kui-reset kui-SidebarSearchClear",onClick:()=>{r(""),c.current?.focus()},"aria-label":"Clear search"},e.createElement(J,null))))});se.displayName="Sidebar.Search";export{Q as a,Y as b,D as c,T as d,ee as e,te as f,re as g,oe as h,ae as i,ie as j,se as k,fe as l};
3
+ //# sourceMappingURL=chunk-YM47BXKK.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a,b,c,d,e}from"../../chunk-EB4AG3OL.js";import"../../chunk-QPRUTOLI.js";import"../../chunk-G66WDIIV.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-VQPANPMI.js";export{e as MenuShortcut,c as getMenuAlignOffset,a as resolveResponsiveValue,d as toAriaKeyShortcuts,b as useResolvedResponsiveValue};
2
+ "use client";import{a,b,c,d,e}from"../../chunk-REELD6CT.js";import"../../chunk-QPRUTOLI.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-VQPANPMI.js";export{e as MenuShortcut,c as getMenuAlignOffset,a as resolveResponsiveValue,d as toAriaKeyShortcuts,b as useResolvedResponsiveValue};
3
3
  //# sourceMappingURL=base-menu.utils.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a,b,c,d,e,f,g,h,i}from"../../chunk-ISCZ57VL.js";import"../../chunk-EB4AG3OL.js";import"../../chunk-QPRUTOLI.js";import"../../chunk-G66WDIIV.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-VQPANPMI.js";export{e as MenuCloseProvider,g as MenuGroupLabelProvider,c as MenuProvider,b as getMenuItemHeight,a as menuSizeToItemHeight,f as useMenuClose,d as useMenuContext,i as useMenuGroupLabelId,h as useMenuGroupLabelledBy};
2
+ "use client";import{a,b,c,d,e,f,g,h,i}from"../../chunk-DJGZ4K3V.js";import"../../chunk-REELD6CT.js";import"../../chunk-QPRUTOLI.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-VQPANPMI.js";export{e as MenuCloseProvider,g as MenuGroupLabelProvider,c as MenuProvider,b as getMenuItemHeight,a as menuSizeToItemHeight,f as useMenuClose,d as useMenuContext,i as useMenuGroupLabelId,h as useMenuGroupLabelledBy};
3
3
  //# sourceMappingURL=menu-context.js.map
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-PMXIQ5B4.js";import"../../chunk-DFQIIYLD.js";import"../../chunk-KOAWATCI.js";import"../../chunk-5KJIPH2N.js";import"../../chunk-YOSLXJI5.js";import"../../chunk-QEDKL23P.js";import"../../chunk-5BXCPANF.js";import"../../chunk-LPLW7OWA.js";import"../../chunk-L54FWKJE.js";import"../../chunk-XU74PNM2.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-ANQLWGFN.js";import"../../chunk-VQPANPMI.js";export{g as BAND_STEP,f as PaneChromeScope,j as PaneFooter,i as PaneHeader,k as Scroll,d as ShellContentContext,c as ShellSizeContext,e as ShellWindowContext,a as SidebarVisualContext,h as usePaneBandSize,b as useSidebarVisual};
2
+ "use client";import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-FKCKELUB.js";import"../../chunk-DFQIIYLD.js";import"../../chunk-KOAWATCI.js";import"../../chunk-5KJIPH2N.js";import"../../chunk-YOSLXJI5.js";import"../../chunk-QEDKL23P.js";import"../../chunk-LBAC2X4U.js";import"../../chunk-LPLW7OWA.js";import"../../chunk-L54FWKJE.js";import"../../chunk-XU74PNM2.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-ANQLWGFN.js";import"../../chunk-VQPANPMI.js";export{g as BAND_STEP,f as PaneChromeScope,j as PaneFooter,i as PaneHeader,k as Scroll,d as ShellContentContext,c as ShellSizeContext,e as ShellWindowContext,a as SidebarVisualContext,h as usePaneBandSize,b as useSidebarVisual};
3
3
  //# sourceMappingURL=pane-chrome.js.map
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { BottomHandle } from './shell-handles.js';
3
3
  import { type SizeChangeMeta } from './shell-resizable.js';
4
- import type { Breakpoint, PaneBaseProps } from '../shell.types.js';
4
+ import type { Breakpoint, PaneBaseProps, PaneOpenChangeReason } from '../shell.types.js';
5
5
  type BottomOpenChangeMeta = {
6
- reason: 'init' | 'toggle' | 'responsive' | 'dismiss';
6
+ reason: PaneOpenChangeReason;
7
7
  };
8
8
  type BottomControlledProps = {
9
- open: boolean | Partial<Record<Breakpoint, boolean>>;
9
+ open: boolean;
10
10
  onOpenChange?: (open: boolean, meta: BottomOpenChangeMeta) => void;
11
11
  defaultOpen?: never;
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shell-bottom.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-bottom.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,YAAY,EAAc,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAsD,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAK/G,OAAO,KAAK,EAAE,UAAU,EAAyB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE1F,KAAK,oBAAoB,GAAG;IAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,SAAS,CAAA;CAAE,CAAC;AACrF,KAAK,qBAAqB,GAAG;IAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;IAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAC/K,qGAAqG;AACrG,KAAK,uBAAuB,GAAG;IAAE,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;IAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAAC,IAAI,CA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CAAC,GAAG;IAAE,MAAM,EAAE,OAAO,YAAY,CAAA;CAAE,CAAC;AAIlJ,eAAO,MAAM,MAAM,EAsGb,eAAe,CAAC;AAKtB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a}from"../../chunk-M26LLCQC.js";import"../../chunk-XUCR7L4G.js";import"../../chunk-4OJRLS5N.js";import"../../chunk-KGCGT4MJ.js";import"../../chunk-4TTRPCGG.js";import"../../chunk-MXEOE4LA.js";import"../../chunk-G66WDIIV.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-5BXCPANF.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-VQPANPMI.js";export{a as Bottom};
2
+ "use client";import{a}from"../../chunk-5U2LEJLU.js";import"../../chunk-SHDZYFUN.js";import"../../chunk-RYXIRZQW.js";import"../../chunk-UFYQC5XY.js";import"../../chunk-MXNPCJPV.js";import"../../chunk-S66WR5R7.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-LBAC2X4U.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-VQPANPMI.js";export{a as Bottom};
3
3
  //# sourceMappingURL=shell-bottom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shell-handles.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-handles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,mKA+TrB,CAAC;AAGH,eAAO,MAAM,WAAW,mKAA+H,CAAC;AAGxJ,eAAO,MAAM,aAAa,mKAA+H,CAAC;AAG1J,eAAO,MAAM,eAAe,mKAA+H,CAAC;AAG5J,eAAO,MAAM,YAAY,mKAA+H,CAAC"}
1
+ {"version":3,"file":"shell-handles.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-handles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,mKAiSrB,CAAC;AAGH,eAAO,MAAM,WAAW,mKAA+H,CAAC;AAGxJ,eAAO,MAAM,aAAa,mKAA+H,CAAC;AAG1J,eAAO,MAAM,eAAe,mKAA+H,CAAC;AAG5J,eAAO,MAAM,YAAY,mKAA+H,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{a,b,c,d,e}from"../../chunk-4OJRLS5N.js";import"../../chunk-MXEOE4LA.js";import"../../chunk-VQPANPMI.js";export{e as BottomHandle,d as InspectorHandle,a as PaneHandle,b as PanelHandle,c as SidebarHandle};
2
+ import{a,b,c,d,e}from"../../chunk-RYXIRZQW.js";import"../../chunk-S66WR5R7.js";import"../../chunk-VQPANPMI.js";export{e as BottomHandle,d as InspectorHandle,a as PaneHandle,b as PanelHandle,c as SidebarHandle};
3
3
  //# sourceMappingURL=shell-handles.js.map
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { InspectorHandle } from './shell-handles.js';
3
3
  import { type SizeChangeMeta } from './shell-resizable.js';
4
- import type { Breakpoint, PaneBaseProps } from '../shell.types.js';
4
+ import type { Breakpoint, PaneBaseProps, PaneOpenChangeReason } from '../shell.types.js';
5
5
  type InspectorOpenChangeMeta = {
6
- reason: 'init' | 'toggle' | 'responsive' | 'dismiss';
6
+ reason: PaneOpenChangeReason;
7
7
  };
8
8
  type InspectorControlledProps = {
9
- open: boolean | Partial<Record<Breakpoint, boolean>>;
9
+ open: boolean;
10
10
  onOpenChange?: (open: boolean, meta: InspectorOpenChangeMeta) => void;
11
11
  defaultOpen?: never;
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shell-inspector.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-inspector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,eAAe,EAAc,MAAM,oBAAo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CAAA;CAAE,CAAC;AACxL,KAAK,4BAA4B,GAAG;IAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AACnF,KAAK,8BAA8B,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AACtF,KAAK,oBAAoB,GAAG,aAAa,GACvC,CAAC,wBAAwB,GAAG,0BAA0B,CAAC,GACvD,CAAC,4BAA4B,GAAG,8BAA8B,CAAC,GAAG;IAChE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEJ,KAAK,kBAAkB,GAAG,KAAK,CAAC,yBAAyB,CAAC,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,GAAG;IAAE,MAAM,EAAE,OAAO,eAAe,CAAA;CAAE,CAAC;AAO3J,eAAO,MAAM,SAAS,EAsGhB,kBAAkB,CAAC;AAKzB,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a}from"../../chunk-HQT32HQ6.js";import"../../chunk-XUCR7L4G.js";import"../../chunk-4OJRLS5N.js";import"../../chunk-KGCGT4MJ.js";import"../../chunk-4TTRPCGG.js";import"../../chunk-MXEOE4LA.js";import"../../chunk-G66WDIIV.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-5BXCPANF.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-VQPANPMI.js";export{a as Inspector};
2
+ "use client";import{a}from"../../chunk-H7GH3DTF.js";import"../../chunk-SHDZYFUN.js";import"../../chunk-RYXIRZQW.js";import"../../chunk-UFYQC5XY.js";import"../../chunk-MXNPCJPV.js";import"../../chunk-S66WR5R7.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-LBAC2X4U.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-VQPANPMI.js";export{a as Inspector};
3
3
  //# sourceMappingURL=shell-inspector.js.map
@@ -11,8 +11,8 @@ export type UsePaneOptions = {
11
11
  default: string;
12
12
  };
13
13
  id: string | undefined;
14
- /** The controlled value. A responsive object is deprecated: it is resolved against the current breakpoint. */
15
- controlled: ResponsiveValue | undefined;
14
+ /** The controlled value. */
15
+ controlled: PaneValue | undefined;
16
16
  /**
17
17
  * The uncontrolled default. A single value fixes where the pane starts. A
18
18
  * responsive object leaves the pane untouched (`auto`), with that object as
@@ -27,8 +27,6 @@ export type UsePaneOptions = {
27
27
  onChange: ((value: PaneValue, reason: OpenChangeReason) => void) | undefined;
28
28
  /** The value a toggle moves to. Defaults to open and closed in turn. */
29
29
  toggleNext?: (current: PaneValue, defaultHere: PaneValue | undefined) => PaneValue;
30
- onExpand: (() => void) | undefined;
31
- onCollapse: (() => void) | undefined;
32
30
  /** The pane's designed open width, published for the panes beside it. */
33
31
  size: number;
34
32
  };
@@ -43,7 +41,6 @@ export declare function usePane(options: UsePaneOptions): {
43
41
  presentation: PresentationValue | undefined;
44
42
  overlaying: boolean;
45
43
  overlayLive: boolean;
46
- peeking: boolean;
47
44
  ready: boolean;
48
45
  breakpoint: Breakpoint;
49
46
  autoTable: Table<PaneValue>;
@@ -56,8 +53,6 @@ export declare function usePane(options: UsePaneOptions): {
56
53
  export declare function paneAttributes(pane: PaneController, presentationAttributes: Record<string, string>): {
57
54
  readonly 'data-presentation': PresentationValue | undefined;
58
55
  readonly 'data-mode': "expanded" | "collapsed" | undefined;
59
- readonly 'data-open': "" | undefined;
60
- readonly 'data-peek': "" | undefined;
61
56
  readonly 'data-state': "auto" | PaneValue;
62
57
  };
63
58
  /** A pane's own presentation, as a table and as the attributes the stylesheet reads. */
@@ -1 +1 @@
1
- {"version":3,"file":"shell-pane.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-pane.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAIL,OAAO,EAKP,KAAK,gBAAgB,EAErB,KAAK,SAAS,EACd,KAAK,KAAK,EACX,MAAM,kBAAkB,CAAC;AAE1B,KAAK,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,4FAA4F;IAC5F,SAAS,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,8GAA8G;IAC9G,UAAU,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC;;;;OAIG;IACH,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,0EAA0E;IAC1E,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC5C,kGAAkG;IAClG,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,KAAK,SAAS,CAAC;IACxD,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC7E,wEAAwE;IACxE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,GAAG,SAAS,KAAK,SAAS,CAAC;IACnF,QAAQ,EAAE,CAAC,MAAM,I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"../../chunk-KGCGT4MJ.js";import"../../chunk-G66WDIIV.js";import"../../chunk-5BXCPANF.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-VQPANPMI.js";export{b as paneAttributes,a as usePane,c as usePresentationTable};
2
+ "use client";import{a,b,c}from"../../chunk-UFYQC5XY.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-LBAC2X4U.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-VQPANPMI.js";export{b as paneAttributes,a as usePane,c as usePresentationTable};
3
3
  //# sourceMappingURL=shell-pane.js.map
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { PaneName, PaneSizePersistence } from '../shell.types.js';
2
+ import type { PaneName } from '../shell.types.js';
3
3
  import type { PaneResizeContextValue } from './shell-resize.js';
4
4
  export type SizeChangeMeta = {
5
5
  reason: 'init' | 'resize' | 'controlled';
@@ -26,16 +26,10 @@ export type ResizableOptions = {
26
26
  onResize: ((size: number) => void) | undefined;
27
27
  onResizeStart: ((size: number) => void) | undefined;
28
28
  onResizeEnd: ((size: number) => void) | undefined;
29
- snapPoints: number[] | undefined;
30
- snapTolerance: number | undefined;
31
- collapseThreshold: number | undefined;
32
- paneId: string | undefined;
33
- persistence: PaneSizePersistence | undefined;
34
- /** Whether the pane is presented as an overlay right now. An overlay keeps its designed size and persists nothing. */
29
+ /** Whether the pane is presented as an overlay right now. An overlay keeps its designed size. */
35
30
  overlaying: boolean;
36
31
  /** The same question asked at effect time, for a pane whose presentation is learnt after its first render. */
37
32
  overlayingNow: () => boolean;
38
- requestCollapse: () => void;
39
33
  requestToggle: () => void;
40
34
  };
41
35
  /**
@@ -44,7 +38,7 @@ export type ResizableOptions = {
44
38
  * Shell's width); the effects below still own the size after mount.
45
39
  */
46
40
  export declare function useInitialPaneSize(size: number | string | undefined, defaultSize: number | string | undefined, minSize: number, maxSize: number): string | undefined;
47
- /** Everything a resizable pane shares: size props, persistence, and the handle's context. */
41
+ /** Everything a resizable pane shares: size props and the handle's context. */
48
42
  export declare function useResizablePane(options: ResizableOptions): PaneResizeContextValue;
49
43
  /** Splits a pane's children into its handles and the rest. */
50
44
  export declare function splitHandles(children: React.ReactNode, handleType: React.ElementType): {
@@ -1 +1 @@
1
- {"version":3,"file":"shell-resizable.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAA;CAAE,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;IACvC,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;IACtB,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC,GAAG,SAAS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IAAI,CAAC,GAAG,SAAS,CAAC;IACpD,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAClD,iGAAiG;IACjG,UAAU,EAAE,OAAO,CAAC;IACpB,8GAA8G;IAC9G,aAAa,EAAE,MAAM,OAAO,CAAC;IAC7B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AASF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,sBAM/I;AAED,+EAA+E;AAC/E,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,sBAAsB,CAsJlF;AAED,8DAA8D;AAC9D,wBAAgB,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,WAAW;;;EAKpF"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a,b,c}from"../../chunk-4TTRPCGG.js";import"../../chunk-VQPANPMI.js";export{c as splitHandles,a as useInitialPaneSize,b as useResizablePane};
2
+ "use client";import{a,b,c}from"../../chunk-MXNPCJPV.js";import"../../chunk-VQPANPMI.js";export{c as splitHandles,a as useInitialPaneSize,b as useResizablePane};
3
3
  //# sourceMappingURL=shell-resizable.js.map
@@ -23,10 +23,6 @@ export interface PaneResizeContextValue {
23
23
  onResizeEnd?: (size: number) => void;
24
24
  target: PaneName;
25
25
  collapsible: boolean;
26
- snapPoints?: number[];
27
- snapTolerance: number;
28
- collapseThreshold?: number;
29
- requestCollapse?: () => void;
30
26
  requestToggle?: () => void;
31
27
  }
32
28
  export declare const PaneResizeContext: React.Context<PaneResizeContextValue | null>;
@@ -1 +1 @@
1
- {"version":3,"file":"shell-resize.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-resize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAClD,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;IACvC,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;IACtB;;;;OAIG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,8CAA2D,CAAC;AAE1F,wBAAgB,aAAa,2BAI5B"}
1
+ {"version":3,"file":"shell-resize.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-resize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAClD,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;IACvC,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;IACtB;;;;OAIG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,QAAQ,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,8CAA2D,CAAC;AAE1F,wBAAgB,aAAa,2BAI5B"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{a,b}from"../../chunk-MXEOE4LA.js";import"../../chunk-VQPANPMI.js";export{a as PaneResizeContext,b as usePaneResize};
2
+ import{a,b}from"../../chunk-S66WR5R7.js";import"../../chunk-VQPANPMI.js";export{a as PaneResizeContext,b as usePaneResize};
3
3
  //# sourceMappingURL=shell-resize.js.map
@@ -2,6 +2,7 @@ import type { Breakpoint, PresentationValue } from '../shell.types.js';
2
2
  import type { PaneValue } from './shell-store.js';
3
3
  type ResponsiveBoolean = boolean | Partial<Record<Breakpoint, boolean>>;
4
4
  /** `open`/`defaultOpen` as the pane's own value type. */
5
+ export declare function toPaneValue(value: boolean | undefined): PaneValue | undefined;
5
6
  export declare function toPaneValue(value: ResponsiveBoolean | undefined): PaneValue | Partial<Record<Breakpoint, PaneValue>> | undefined;
6
7
  /**
7
8
  * Where an untouched navigation column rests: open in the frame or stacked
@@ -17,11 +18,5 @@ export declare const startAnchoredGrowth: (isRtl: boolean) => 1 | -1;
17
18
  export declare const endAnchoredGrowth: (isRtl: boolean) => 1 | -1;
18
19
  /** A pane anchored at the block end grows as its top edge moves up. */
19
20
  export declare const bottomAnchoredGrowth: () => 1 | -1;
20
- /**
21
- * `height` and `resizer` left PaneBaseProps in 0.8.0: no pane ever read them.
22
- * A call site written against 0.7 can still pass them, so they are dropped
23
- * here rather than reaching the DOM as invalid attributes.
24
- */
25
- export declare function withoutRemovedPaneProps<T extends object>(props: T): T;
26
21
  export {};
27
22
  //# sourceMappingURL=shell-rest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shell-rest.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-rest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,iBAAiB,GAAG,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAExE,yDAAyD;AACzD,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS,CAQhI;AAED;;;;GAIG;AACH,eAAO,MAAM,cAA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I,OAAO,OAAO,KAAG,CAAC,GAAG,CAAC,CAAqB,CAAC;AAEhF,+FAA+F;AAC/F,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,CAAC,GAAG,CAAC,CAAqB,CAAC;AAE9E,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,QAAO,CAAC,GAAG,CAAC,CAAO,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{a,b,c,d,e,f,g}from"../../chunk-XUCR7L4G.js";import"../../chunk-VQPANPMI.js";export{f as bottomAnchoredGrowth,c as detailRest,e as endAnchoredGrowth,b as navigationRest,d as startAnchoredGrowth,a as toPaneValue,g as withoutRemovedPaneProps};
2
+ import{a,b,c,d,e,f}from"../../chunk-SHDZYFUN.js";import"../../chunk-VQPANPMI.js";export{f as bottomAnchoredGrowth,c as detailRest,e as endAnchoredGrowth,b as navigationRest,d as startAnchoredGrowth,a as toPaneValue};
3
3
  //# sourceMappingURL=shell-rest.js.map
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { SidebarHandle } from './shell-handles.js';
3
3
  import { type SizeChangeMeta } from './shell-resizable.js';
4
- import type { Breakpoint, PaneBaseProps, Responsive, SidebarMode } from '../shell.types.js';
4
+ import type { Breakpoint, PaneBaseProps, PaneOpenChangeReason, SidebarMode } from '../shell.types.js';
5
5
  type SidebarStateChangeMeta = {
6
- reason: 'init' | 'toggle' | 'responsive' | 'dismiss';
6
+ reason: PaneOpenChangeReason;
7
7
  };
8
8
  type SidebarControlledProps = {
9
- state: Responsive<SidebarMode>;
9
+ state: SidebarMode;
10
10
  onStateChange?: (state: SidebarMode, meta: SidebarStateChangeMeta) => void;
11
11
  defaultState?: never;
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shell-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAc,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AY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,CAAC,sBAAsB,GAAG,wBAAwB,CAAC,CAAC;AAExD,KAAK,gBAAgB,GAAG,KAAK,CAAC,yBAAyB,CAAC,kBAAkB,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC,GAAG;IAAE,MAAM,EAAE,OAAO,aAAa,CAAA;CAAE,CAAC;AAuBrJ,eAAO,MAAM,OAAO,EA2Gd,gBAAgB,CAAC;AAKvB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- "use client";import{a}from"../../chunk-2WFN4D52.js";import"../../chunk-XUCR7L4G.js";import"../../chunk-4OJRLS5N.js";import"../../chunk-KGCGT4MJ.js";import"../../chunk-4TTRPCGG.js";import"../../chunk-MXEOE4LA.js";import"../../chunk-G66WDIIV.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-PMXIQ5B4.js";import"../../chunk-DFQIIYLD.js";import"../../chunk-KOAWATCI.js";import"../../chunk-5KJIPH2N.js";import"../../chunk-YOSLXJI5.js";import"../../chunk-QEDKL23P.js";import"../../chunk-5BXCPANF.js";import"../../chunk-LPLW7OWA.js";import"../../chunk-L54FWKJE.js";import"../../chunk-XU74PNM2.js";import"../../chunk-MAA6LEE2.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-ANQLWGFN.js";import"../../chunk-VQPANPMI.js";export{a as Sidebar};
2
+ "use client";import{a}from"../../chunk-MQA3BKF4.js";import"../../chunk-SHDZYFUN.js";import"../../chunk-RYXIRZQW.js";import"../../chunk-UFYQC5XY.js";import"../../chunk-MXNPCJPV.js";import"../../chunk-S66WR5R7.js";import"../../chunk-WJKCXGVN.js";import"../../chunk-VWRPVM5K.js";import"../../chunk-FKCKELUB.js";import"../../chunk-DFQIIYLD.js";import"../../chunk-KOAWATCI.js";import"../../chunk-5KJIPH2N.js";import"../../chunk-YOSLXJI5.js";import"../../chunk-QEDKL23P.js";import"../../chunk-LBAC2X4U.js";import"../../chunk-LPLW7OWA.js";import"../../chunk-L54FWKJE.js";import"../../chunk-XU74PNM2.js";import"../../chunk-MDQ7ZHOS.js";import"../../chunk-OKQAVYW4.js";import"../../chunk-CLJ6SEGP.js";import"../../chunk-ANQLWGFN.js";import"../../chunk-VQPANPMI.js";export{a as Sidebar};
3
3
  //# sourceMappingURL=shell-sidebar.js.map
@@ -70,22 +70,14 @@ export type ShellStore = {
70
70
  * it, would be a new identity on every read.
71
71
  */
72
72
  version: number;
73
- /** The pane a hovered Trigger is previewing, if any. Layout only. */
74
- peek: PaneName | null;
75
73
  };
76
74
  export declare function createShellStore(): ShellStore;
77
75
  export declare function notifyShellStore(store: ShellStore): void;
78
76
  export declare function subscribeShellStore(store: ShellStore, listener: () => void): () => void;
79
- export declare function setShellPeek(store: ShellStore, peek: PaneName | null): void;
80
77
  export declare const ShellStoreContext: React.Context<ShellStore | null>;
81
78
  export declare function useShellStore(part: string): ShellStore;
82
79
  /** One pane's registry entry. Re-renders only when that entry is replaced. */
83
80
  export declare function usePaneEntry(store: ShellStore, name: PaneName): PaneEntry | undefined;
84
- /**
85
- * Whether this pane is the one being previewed. A boolean per pane rather than
86
- * the peek target itself, so hovering one Trigger re-renders one pane, not all.
87
- */
88
- export declare function usePeeking(store: ShellStore, name: PaneName): boolean;
89
81
  export type FramePaneId = 'rail' | 'panel' | 'sidebar' | 'content' | 'inspector' | 'bottom';
90
82
  export declare const ShellFrameContext: React.Context<{
91
83
  registerOffFrame: (id: FramePaneId) => void;
@@ -93,7 +85,5 @@ export declare const ShellFrameContext: React.Context<{
93
85
  } | null>;
94
86
  /** Tells the Root a pane is off the frame (`flush={false}`); the Rail's card moves a floating Panel over. */
95
87
  export declare function useFrameRegistration(id: FramePaneId, flush: boolean): void;
96
- /** A deprecation warning, once per message per page load. Development only. */
97
- export declare function warnOnce(message: string): void;
98
88
  export {};
99
89
  //# sourceMappingURL=shell-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shell-store.d.ts","sourceRoot":"","sources":["../../../../src/components/_internal/shell-store.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAIjF,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAE7C,yCAAyC;AACzC,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE1C,KAAK,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;AAMzE;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAa/F;AAED,mDAAmD;AACnD,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAG5D;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAM1F;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAA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