@ngrok/mantle 0.94.0 → 0.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. package/README.md +11 -2
  2. package/dist/CaretDown-MgTrjdYK.js +1 -0
  3. package/dist/CaretLeft-CZIqCyEF.js +1 -0
  4. package/dist/CaretRight-BKz4JHCI.js +1 -0
  5. package/dist/Check-C5a1hX4x.js +1 -0
  6. package/dist/CheckCircle-Bi4tSau6.js +1 -0
  7. package/dist/CircleNotch-BKE0NAIr.js +1 -0
  8. package/dist/Copy-BYWMO6PW.js +1 -0
  9. package/dist/Desktop-BaSlSeg2.js +1 -0
  10. package/dist/Eye-C38LQkZ_.js +1 -0
  11. package/dist/EyeClosed-BvOq-W8o.js +1 -0
  12. package/dist/FileText-CqAezJDn.js +1 -0
  13. package/dist/Info-weHV1B4q.js +1 -0
  14. package/dist/MagnifyingGlass-DCAoDH5_.js +1 -0
  15. package/dist/Megaphone-Cir2KHXa.js +1 -0
  16. package/dist/Minus-KBzmC4_K.js +1 -0
  17. package/dist/Moon-hn_oivM6.js +1 -0
  18. package/dist/Plus-D90-H9Ei.js +1 -0
  19. package/dist/Question-BhvEyO0K.js +1 -0
  20. package/dist/SidebarSimple-BXKgNz4l.js +1 -0
  21. package/dist/SortAscending-CEk4rgu_.js +1 -0
  22. package/dist/SortDescending-C0cE7hpU.js +1 -0
  23. package/dist/Sun-C3SaXdLl.js +1 -0
  24. package/dist/Terminal-aKZ6Y9Lk.js +1 -0
  25. package/dist/Warning-DTwF27_O.js +1 -0
  26. package/dist/WarningDiamond-BwpdVJ34.js +1 -0
  27. package/dist/X-BPGjP4b6.js +1 -0
  28. package/dist/accordion-BmDXs1-q.js +1 -0
  29. package/dist/accordion-NpJz3Uer.js +1 -0
  30. package/dist/accordion-parts.d.ts +268 -0
  31. package/dist/accordion-parts.js +1 -0
  32. package/dist/accordion.d.ts +8 -359
  33. package/dist/accordion.js +1 -1
  34. package/dist/agent.json +464 -92
  35. package/dist/alert-DCGSrVTa.js +1 -0
  36. package/dist/{alert-HffaioZM.d.ts → alert-Dz541Ve9.d.ts} +10 -196
  37. package/dist/alert-center-Bb39SBqJ.js +1 -0
  38. package/dist/alert-center-CGBbqO-y.d.ts +391 -0
  39. package/dist/alert-center-parts.d.ts +6 -0
  40. package/dist/alert-center-parts.js +1 -0
  41. package/dist/alert-center.d.ts +9 -590
  42. package/dist/alert-center.js +1 -1
  43. package/dist/alert-dialog-CtKnvX5N.js +1 -0
  44. package/dist/alert-dialog-parts.d.ts +569 -0
  45. package/dist/alert-dialog-parts.js +1 -0
  46. package/dist/alert-dialog.d.ts +3 -1054
  47. package/dist/alert-dialog.js +1 -1
  48. package/dist/alert-parts.d.ts +6 -0
  49. package/dist/alert-parts.js +1 -0
  50. package/dist/alert.d.ts +43 -1
  51. package/dist/alert.js +1 -1
  52. package/dist/anchor-DW5_Gb-1.js +1 -0
  53. package/dist/anchor.d.ts +6 -6
  54. package/dist/anchor.js +1 -1
  55. package/dist/app-layout-D7kwv9su.js +1 -0
  56. package/dist/app-layout-k6UjK30v.d.ts +1167 -0
  57. package/dist/app-layout-parts.d.ts +6 -0
  58. package/dist/app-layout-parts.js +1 -0
  59. package/dist/app-layout.d.ts +98 -1883
  60. package/dist/app-layout.js +1 -1
  61. package/dist/area-chart-C6lKu7Un.d.ts +390 -0
  62. package/dist/area-chart-SAaGaZFD.js +1 -0
  63. package/dist/area-chart-parts.d.ts +6 -0
  64. package/dist/area-chart-parts.js +1 -0
  65. package/dist/area-chart.d.ts +6 -581
  66. package/dist/area-chart.js +1 -1
  67. package/dist/avatar-BMZ81f_5.js +1 -0
  68. package/dist/avatar-Ti8GKSnS.d.ts +201 -0
  69. package/dist/avatar-parts.d.ts +6 -0
  70. package/dist/avatar-parts.js +1 -0
  71. package/dist/avatar.d.ts +5 -277
  72. package/dist/avatar.js +1 -1
  73. package/dist/badge.d.ts +10 -9
  74. package/dist/badge.js +1 -1
  75. package/dist/bar-chart-C0Ra1ZpG.js +1 -0
  76. package/dist/bar-chart-Cb5fA8V7.d.ts +386 -0
  77. package/dist/bar-chart-parts.d.ts +6 -0
  78. package/dist/bar-chart-parts.js +1 -0
  79. package/dist/bar-chart.d.ts +4 -583
  80. package/dist/bar-chart.js +1 -1
  81. package/dist/behaviors-BW8RjkkS.js +1 -0
  82. package/dist/behaviors-BbOq5SFv.js +1 -0
  83. package/dist/behaviors-C7R7ZIoN.js +1 -0
  84. package/dist/behaviors-CHF5PT3C.js +1 -0
  85. package/dist/behaviors-CSZQSSfL.js +1 -0
  86. package/dist/behaviors-CcjvGa0d.js +1 -0
  87. package/dist/behaviors-CnarRd47.js +1 -0
  88. package/dist/behaviors-CoNi6Rd-.js +1 -0
  89. package/dist/behaviors-D9VIyDk1.js +1 -0
  90. package/dist/behaviors-DHVC34f9.js +1 -0
  91. package/dist/behaviors-DkCIgQ8w.js +1 -0
  92. package/dist/behaviors-Mkc_HjTB.js +1 -0
  93. package/dist/breadcrumb-CAzq3SlR.js +1 -0
  94. package/dist/breadcrumb-parts.d.ts +287 -0
  95. package/dist/breadcrumb-parts.js +1 -0
  96. package/dist/breadcrumb.d.ts +65 -555
  97. package/dist/breadcrumb.js +1 -1
  98. package/dist/browser-only-CokCtIvB.js +1 -0
  99. package/dist/browser-only-ymFoM3Ya.js +1 -0
  100. package/dist/browser-only.js +1 -1
  101. package/dist/button-Bqm7U0OC.js +1 -0
  102. package/dist/{button-K0pKc3GN.d.ts → button-C6-6TecO.d.ts} +5 -5
  103. package/dist/{button-BGwOPjGV.d.ts → button-CL17Dxza.d.ts} +28 -25
  104. package/dist/button-CRCiBPEF.js +1 -0
  105. package/dist/{button-Cgf2IcEC.d.ts → button-CRMoQyum.d.ts} +27 -28
  106. package/dist/button-Cr2iY2cI.js +1 -0
  107. package/dist/button-DhoE-BbZ.js +1 -0
  108. package/dist/button.d.ts +3 -3
  109. package/dist/button.js +1 -1
  110. package/dist/calendar-DQtapcSC.js +1 -0
  111. package/dist/calendar.d.ts +1 -1
  112. package/dist/calendar.js +1 -1
  113. package/dist/card-DbtGVKyo.d.ts +129 -0
  114. package/dist/card-parts.d.ts +6 -0
  115. package/dist/card-parts.js +1 -0
  116. package/dist/card.d.ts +3 -228
  117. package/dist/card.js +1 -1
  118. package/dist/centered-layout-parts.d.ts +169 -0
  119. package/dist/centered-layout-parts.js +1 -0
  120. package/dist/centered-layout.d.ts +3 -300
  121. package/dist/centered-layout.js +1 -1
  122. package/dist/chart-B0n2xyYi.js +1 -0
  123. package/dist/chart-BPsMxs1f.js +1 -0
  124. package/dist/chart-BmZoTjRu.js +1 -0
  125. package/dist/chart-Bybyh2Dc.js +1 -0
  126. package/dist/chart-CACfdGlp.d.ts +86 -0
  127. package/dist/chart-CBQJUTIX.js +1 -0
  128. package/dist/chart-Cb0MBaZx.js +1 -0
  129. package/dist/chart-CmMcfDmv.js +1 -0
  130. package/dist/chart-Dlp9FidW.js +2 -0
  131. package/dist/{chart-jitNqimS.d.ts → chart-XvStK-oM.d.ts} +23 -99
  132. package/dist/chart-wTwYzUMJ.js +1 -0
  133. package/dist/checkbox-DH7WFfuR.js +1 -0
  134. package/dist/checkbox-DsVXD96X.js +1 -0
  135. package/dist/checkbox-TX74-Iep.js +1 -0
  136. package/dist/checkbox-group-parts.d.ts +197 -0
  137. package/dist/checkbox-group-parts.js +1 -0
  138. package/dist/checkbox.d.ts +60 -9
  139. package/dist/checkbox.js +1 -1
  140. package/dist/choice-BekuLm-b.d.ts +217 -0
  141. package/dist/choice-DGI8VNR9.d.ts +1 -0
  142. package/dist/choice-PDT386cc.js +1 -0
  143. package/dist/choice-parts.d.ts +7 -0
  144. package/dist/choice-parts.js +1 -0
  145. package/dist/choice.d.ts +63 -1
  146. package/dist/choice.js +1 -1
  147. package/dist/code-UKPv6LVP.js +1 -0
  148. package/dist/{code-block-W3kWPxCJ.js → code-block-B-xD4_RW.js} +1 -1
  149. package/dist/code-block-B7XPzZnp.js +1 -0
  150. package/dist/code-block-BXXceNVo.js +1 -0
  151. package/dist/code-block-C7uzLs8t.js +1 -0
  152. package/dist/{code-block-BGdV4Yty.d.ts → code-block-Cs1Lcmdr.d.ts} +82 -253
  153. package/dist/code-block-Erv7wuWW.d.ts +173 -0
  154. package/dist/code-block-parts.d.ts +380 -0
  155. package/dist/code-block-parts.js +1 -0
  156. package/dist/code-block.d.ts +66 -693
  157. package/dist/code-block.js +6 -6
  158. package/dist/code-block_highlight-utils.d.ts +2 -1
  159. package/dist/code-block_highlight-utils.js +1 -1
  160. package/dist/code.d.ts +4 -4
  161. package/dist/code.js +1 -1
  162. package/dist/combobox-6LXe1cLx.js +1 -0
  163. package/dist/combobox-parts.d.ts +303 -0
  164. package/dist/combobox-parts.js +1 -0
  165. package/dist/combobox.d.ts +5 -468
  166. package/dist/combobox.js +1 -1
  167. package/dist/command-B8L-zjGt.js +1 -0
  168. package/dist/command-CCMWCjAK.js +1 -0
  169. package/dist/command-VKj84zAX.d.ts +859 -0
  170. package/dist/command-cbgO9CiG.js +1 -0
  171. package/dist/command-parts.d.ts +6 -0
  172. package/dist/command-parts.js +1 -0
  173. package/dist/command.d.ts +91 -1135
  174. package/dist/command.js +1 -1
  175. package/dist/compose-refs-BdRUneoc.js +1 -0
  176. package/dist/compose-refs-Ce1vWUz0.js +1 -0
  177. package/dist/cx-CfAFHj5_.js +73 -0
  178. package/dist/cx-DhYnQ07J.js +1 -0
  179. package/dist/cx.d.ts +23 -17
  180. package/dist/cx.js +1 -1
  181. package/dist/{data-slot-B-LqAcBB.d.ts → data-slot-BW8KQ9Xo.d.ts} +2 -2
  182. package/dist/data-table-C-FgaN3_.js +1 -0
  183. package/dist/data-table-Cw9dUo1w.js +1 -0
  184. package/dist/data-table-CwqrMtp0.js +1 -0
  185. package/dist/data-table-GUbt8mzo.d.ts +38 -0
  186. package/dist/data-table-parts.d.ts +763 -0
  187. package/dist/data-table-parts.js +1 -0
  188. package/dist/data-table.d.ts +21 -1217
  189. package/dist/data-table.js +1 -1
  190. package/dist/description-list-CjcKOOnr.d.ts +110 -0
  191. package/dist/description-list-parts.d.ts +6 -0
  192. package/dist/description-list-parts.js +1 -0
  193. package/dist/description-list.d.ts +3 -183
  194. package/dist/description-list.js +1 -1
  195. package/dist/dialog-4Ed3U7hz.js +1 -0
  196. package/dist/dialog-BDb_obii.d.ts +166 -0
  197. package/dist/dialog-BaR9D58J.js +1 -0
  198. package/dist/dialog-BkNxAcol.d.ts +467 -0
  199. package/dist/dialog-DSYuhFD5.js +1 -0
  200. package/dist/dialog-fXMCxM9W.js +1 -0
  201. package/dist/dialog-parts.d.ts +6 -0
  202. package/dist/dialog-parts.js +1 -0
  203. package/dist/dialog.d.ts +88 -2
  204. package/dist/dialog.js +1 -1
  205. package/dist/dropdown-menu-BuluRn0Z.js +1 -0
  206. package/dist/dropdown-menu-CDXlp0QT.d.ts +507 -0
  207. package/dist/dropdown-menu-parts.d.ts +6 -0
  208. package/dist/dropdown-menu-parts.js +1 -0
  209. package/dist/dropdown-menu.d.ts +57 -1
  210. package/dist/dropdown-menu.js +1 -1
  211. package/dist/empty-parts.d.ts +120 -0
  212. package/dist/empty-parts.js +1 -0
  213. package/dist/empty.d.ts +2 -216
  214. package/dist/empty.js +1 -1
  215. package/dist/field-BRYypbjO.js +1 -0
  216. package/dist/field-BVMx7HoG.js +1 -0
  217. package/dist/field-BwCq1b9R.js +1 -0
  218. package/dist/field-CYAaNexp.js +1 -0
  219. package/dist/field-DRHAcM1s.js +1 -0
  220. package/dist/field-parts.d.ts +767 -0
  221. package/dist/field-parts.js +1 -0
  222. package/dist/field.d.ts +21 -1201
  223. package/dist/field.js +1 -1
  224. package/dist/flag.d.ts +3 -3
  225. package/dist/flag.js +1 -1
  226. package/dist/float-C_vwTtzU.js +1 -0
  227. package/dist/float-JmSzKDHd.js +1 -0
  228. package/dist/float-OhVY3cf4.js +1 -0
  229. package/dist/hooks-B-Cd15iL.js +1 -0
  230. package/dist/hooks-BP_uqBsI.js +1 -0
  231. package/dist/hooks-BeLOGKwE.js +1 -0
  232. package/dist/hooks-BsOjpTgs.js +1 -0
  233. package/dist/hooks-BybaGF7O.js +1 -0
  234. package/dist/hooks-C9b-2wGy.js +1 -0
  235. package/dist/hooks-CMmpICCH.js +1 -0
  236. package/dist/hooks-CUYIUcp6.js +1 -0
  237. package/dist/hooks-DKbOd_pQ.js +1 -0
  238. package/dist/hooks-DejuqCNF.js +1 -0
  239. package/dist/hooks-GsDfo7Zl.js +1 -0
  240. package/dist/hooks-PsYFJkz2.js +1 -0
  241. package/dist/hooks-lDz_S9UG.js +1 -0
  242. package/dist/hooks.d.ts +126 -17
  243. package/dist/hooks.js +1 -1
  244. package/dist/hover-card-BEC5EQiH.js +1 -0
  245. package/dist/hover-card-parts.d.ts +160 -0
  246. package/dist/hover-card-parts.js +1 -0
  247. package/dist/hover-card.d.ts +9 -281
  248. package/dist/hover-card.js +1 -1
  249. package/dist/{icon-CgNqu-fl.d.ts → icon--purqHRo.d.ts} +1 -1
  250. package/dist/icon-0RoVrpGj.js +1 -0
  251. package/dist/icon-BSGMvJ0W.js +1 -0
  252. package/dist/icon-DIiKxRTh.js +1 -0
  253. package/dist/{icon-DXDyhy2N.d.ts → icon-Dqn_LLrR.d.ts} +2 -2
  254. package/dist/{icon-NYvyyRMG.d.ts → icon-KTcDR4--.d.ts} +2 -2
  255. package/dist/icon.d.ts +3 -3
  256. package/dist/icon.js +1 -1
  257. package/dist/icons-CVgj9Whd.js +1 -0
  258. package/dist/icons-D_4cZaL1.js +1 -0
  259. package/dist/icons-DucrvIOa.js +1 -0
  260. package/dist/icons.d.ts +2 -2
  261. package/dist/icons.js +1 -1
  262. package/dist/{in-view-B3nMAzfE.d.ts → in-view-C_daNafg.d.ts} +4 -23
  263. package/dist/{index-KJ06KK6t.d.ts → index-CCkilmv8.d.ts} +1 -1
  264. package/dist/input-83xaPZWK.js +1 -0
  265. package/dist/input-B78ah4AB.js +1 -0
  266. package/dist/{input-q8o5uMhW.d.ts → input-Bvpu3ruQ.d.ts} +2 -2
  267. package/dist/input.d.ts +5 -5
  268. package/dist/input.js +1 -1
  269. package/dist/kbd-Bz_Rbpv8.js +1 -0
  270. package/dist/kbd.d.ts +5 -5
  271. package/dist/kbd.js +1 -1
  272. package/dist/{label-r2sJcSQ4.d.ts → label-DZpKu3Pu.d.ts} +8 -8
  273. package/dist/label-DmkAp9xI.js +1 -0
  274. package/dist/label.d.ts +1 -1
  275. package/dist/label.js +1 -1
  276. package/dist/layer-container-DDOZJ0fn.js +1 -0
  277. package/dist/layer-container.d.ts +11 -3
  278. package/dist/layer-container.js +1 -1
  279. package/dist/line-chart-CBL7eCqF.js +1 -0
  280. package/dist/line-chart-CIDFDkyb.d.ts +380 -0
  281. package/dist/line-chart-parts.d.ts +6 -0
  282. package/dist/line-chart-parts.js +1 -0
  283. package/dist/line-chart.d.ts +5 -569
  284. package/dist/line-chart.js +1 -1
  285. package/dist/list-CC3Pi__V.js +1 -0
  286. package/dist/list-Cx4KNfgC.d.ts +286 -0
  287. package/dist/list-FiFQJ0BU.js +1 -0
  288. package/dist/list-parts.d.ts +6 -0
  289. package/dist/list-parts.js +1 -0
  290. package/dist/list.d.ts +9 -406
  291. package/dist/list.js +1 -1
  292. package/dist/live-region-78gbKwlB.js +1 -0
  293. package/dist/live-region.d.ts +2 -2
  294. package/dist/live-region.js +1 -1
  295. package/dist/llms.txt +50 -26
  296. package/dist/main-9d96oUPG.js +1 -0
  297. package/dist/main.d.ts +1 -1
  298. package/dist/main.js +1 -1
  299. package/dist/mantle.css +1304 -910
  300. package/dist/media-object-parts.d.ts +65 -0
  301. package/dist/media-object-parts.js +1 -0
  302. package/dist/media-object.d.ts +5 -121
  303. package/dist/media-object.js +1 -1
  304. package/dist/migrations/0017-select-owned-behavior.yml +117 -0
  305. package/dist/migrations/0018-combobox-owned-behavior.yml +1661 -0
  306. package/dist/migrations/0019-multi-select-owned-behavior.yml +1414 -0
  307. package/dist/migrations/0020-native-floats.yml +823 -0
  308. package/dist/migrations/0021-native-radio-group.yml +397 -0
  309. package/dist/migrations/0024-command-owned-behavior.yml +66 -0
  310. package/dist/migrations/0026-native-dropdown-menu.yml +351 -0
  311. package/dist/migrations/0029-data-attribute-contract.yml +1707 -0
  312. package/dist/migrations/0030-between-variant.yml +1954 -0
  313. package/dist/multi-select-parts.d.ts +487 -0
  314. package/dist/multi-select-parts.js +1 -0
  315. package/dist/multi-select-qC0BuYKD.js +1 -0
  316. package/dist/multi-select.d.ts +6 -803
  317. package/dist/multi-select.js +1 -1
  318. package/dist/otp-input-LPdkb_Fg.js +1 -0
  319. package/dist/otp-input-parts.d.ts +211 -0
  320. package/dist/otp-input-parts.js +1 -0
  321. package/dist/otp-input-zl6MVio6.js +1 -0
  322. package/dist/otp-input.d.ts +11 -252
  323. package/dist/otp-input.js +1 -1
  324. package/dist/overlay-prompt-BIzMQvx7.js +1 -0
  325. package/dist/overlay-prompt-CDnhSoPJ.js +1 -0
  326. package/dist/overlay-prompt.d.ts +57 -0
  327. package/dist/overlay-prompt.js +1 -0
  328. package/dist/pagination-B2ESEbMI.d.ts +171 -0
  329. package/dist/pagination-CxaLKZcE.js +1 -0
  330. package/dist/pagination-Df1gTCN-.js +1 -0
  331. package/dist/pagination-cursor-pagination-parts.d.ts +6 -0
  332. package/dist/pagination-cursor-pagination-parts.js +1 -0
  333. package/dist/pagination.d.ts +39 -304
  334. package/dist/pagination.js +1 -1
  335. package/dist/popover-DOd6zLvE.d.ts +226 -0
  336. package/dist/popover-DWvHbepV.js +1 -0
  337. package/dist/popover-parts.d.ts +6 -0
  338. package/dist/popover-parts.js +1 -0
  339. package/dist/popover.d.ts +60 -2
  340. package/dist/popover.js +1 -1
  341. package/dist/position-Cv3XpSur.d.ts +5 -0
  342. package/dist/progress-BE0c8GW8.js +1 -0
  343. package/dist/progress-ZhFJhv9u.js +1 -0
  344. package/dist/progress-bar-parts.d.ts +86 -0
  345. package/dist/progress-bar-parts.js +1 -0
  346. package/dist/progress-donut-parts.d.ts +94 -0
  347. package/dist/progress-donut-parts.js +1 -0
  348. package/dist/progress-mJQMhxMX.js +1 -0
  349. package/dist/progress-zDpT3TY4.d.ts +2 -0
  350. package/dist/progress.d.ts +4 -268
  351. package/dist/progress.js +1 -1
  352. package/dist/qr-code-0zh10iIE.d.ts +148 -0
  353. package/dist/qr-code-BOOubA9x.js +1 -0
  354. package/dist/qr-code-D8tBKtjP.js +1 -0
  355. package/dist/qr-code-DzJjumoc.d.ts +46 -0
  356. package/dist/qr-code-encoder.browser.d.ts +15 -0
  357. package/dist/qr-code-encoder.browser.js +1 -0
  358. package/dist/qr-code-encoder.d.ts +15 -0
  359. package/dist/qr-code-encoder.js +1 -0
  360. package/dist/qr-code-parts.d.ts +6 -0
  361. package/dist/qr-code-parts.js +1 -0
  362. package/dist/qr-code.d.ts +4 -227
  363. package/dist/qr-code.js +1 -1
  364. package/dist/query-C0e5VYNp.d.ts +440 -0
  365. package/dist/query-V5NifJGs.js +1 -0
  366. package/dist/query-filter.d.ts +6 -6
  367. package/dist/query-filter.js +1 -1
  368. package/dist/query-parts.d.ts +6 -0
  369. package/dist/query-parts.js +1 -0
  370. package/dist/query.d.ts +5 -634
  371. package/dist/query.js +1 -1
  372. package/dist/radio-group-B9jtIbV1.d.ts +39 -0
  373. package/dist/radio-group-BliblUqe.js +1 -0
  374. package/dist/radio-group-f3ThXQCx.js +1 -0
  375. package/dist/radio-group-parts.d.ts +249 -0
  376. package/dist/radio-group-parts.js +1 -0
  377. package/dist/radio-group-zA5DjlLg.js +1 -0
  378. package/dist/radio-group.d.ts +7 -399
  379. package/dist/radio-group.js +1 -1
  380. package/dist/sandbar-Cm2yMjEZ.js +1 -0
  381. package/dist/sandbar-DU4wpKRc.d.ts +345 -0
  382. package/dist/sandbar-parts.d.ts +6 -0
  383. package/dist/sandbar-parts.js +1 -0
  384. package/dist/sandbar.d.ts +6 -441
  385. package/dist/sandbar.js +1 -1
  386. package/dist/sandboxed-on-click-Cg3lewoG.js +1 -0
  387. package/dist/sandboxed-on-click-DOw_Jkhk.js +1 -0
  388. package/dist/sandboxed-on-click.d.ts +1 -1
  389. package/dist/sandboxed-on-click.js +1 -1
  390. package/dist/scatter-plot-1vFxkpjT.js +1 -0
  391. package/dist/scatter-plot-D25jLIVw.d.ts +388 -0
  392. package/dist/scatter-plot-parts.d.ts +6 -0
  393. package/dist/scatter-plot-parts.js +1 -0
  394. package/dist/scatter-plot.d.ts +5 -575
  395. package/dist/scatter-plot.js +1 -1
  396. package/dist/segmented-control-DuiDPKDZ.js +1 -0
  397. package/dist/segmented-control-parts.d.ts +72 -0
  398. package/dist/segmented-control-parts.js +1 -0
  399. package/dist/segmented-control.d.ts +4 -100
  400. package/dist/segmented-control.js +1 -1
  401. package/dist/select-08IEtypH.js +1 -0
  402. package/dist/select-DM2wWfOO.d.ts +478 -0
  403. package/dist/select-parts.d.ts +6 -0
  404. package/dist/select-parts.js +1 -0
  405. package/dist/select.d.ts +63 -1
  406. package/dist/select.js +1 -1
  407. package/dist/selectable-list-Ax5F2Gz1.js +1 -0
  408. package/dist/selectable-list-CyLc3EEt.d.ts +407 -0
  409. package/dist/selectable-list-GcpbbRM1.js +1 -0
  410. package/dist/selectable-list-parts.d.ts +6 -0
  411. package/dist/selectable-list-parts.js +1 -0
  412. package/dist/selectable-list.d.ts +7 -647
  413. package/dist/selectable-list.js +1 -1
  414. package/dist/separator-BB1ohsjn.js +1 -0
  415. package/dist/{separator-QfH0ot5K.d.ts → separator-BzHNVyyv.d.ts} +2 -2
  416. package/dist/separator.d.ts +1 -1
  417. package/dist/separator.js +1 -1
  418. package/dist/sheet-5JgxVaWC.js +1 -0
  419. package/dist/sheet-parts.d.ts +732 -0
  420. package/dist/sheet-parts.js +1 -0
  421. package/dist/sheet-qYPi5MP8.js +1 -0
  422. package/dist/sheet.d.ts +11 -1208
  423. package/dist/sheet.js +1 -1
  424. package/dist/sidebar-CsC9fyPL.js +1 -0
  425. package/dist/sidebar-OBA7L42d.d.ts +1480 -0
  426. package/dist/sidebar-parts.d.ts +6 -0
  427. package/dist/sidebar-parts.js +1 -0
  428. package/dist/sidebar.d.ts +108 -2518
  429. package/dist/sidebar.js +1 -1
  430. package/dist/skeleton-DB0oQyAx.js +1 -0
  431. package/dist/skeleton.d.ts +5 -5
  432. package/dist/skeleton.js +1 -1
  433. package/dist/skip-to-main-link-BGhAWSqB.js +1 -0
  434. package/dist/skip-to-main-link.d.ts +1 -1
  435. package/dist/skip-to-main-link.js +1 -1
  436. package/dist/slider-YlBozcPQ.js +1 -0
  437. package/dist/slider.d.ts +150 -16
  438. package/dist/slider.js +1 -1
  439. package/dist/slot-5ZSmrISx.d.ts +19 -0
  440. package/dist/slot-BxngGBJ2.js +1 -0
  441. package/dist/slot-CBcGhRdV.js +1 -0
  442. package/dist/slot-tuk2J6bY.d.ts +50 -0
  443. package/dist/slot.d.ts +1 -1
  444. package/dist/slot.js +1 -1
  445. package/dist/source-all.css +5 -1
  446. package/dist/split-button-DvJHD7cZ.js +1 -0
  447. package/dist/split-button-parts.d.ts +178 -0
  448. package/dist/split-button-parts.js +1 -0
  449. package/dist/split-button.d.ts +2 -314
  450. package/dist/split-button.js +1 -1
  451. package/dist/strata-parts.d.ts +256 -0
  452. package/dist/strata-parts.js +1 -0
  453. package/dist/strata.d.ts +6 -495
  454. package/dist/strata.js +1 -1
  455. package/dist/{suggestions-NkqYTT49.d.ts → suggestions-BJeGvwDa.d.ts} +7 -7
  456. package/dist/switch-DajWYrq3.js +1 -0
  457. package/dist/switch.d.ts +37 -5
  458. package/dist/switch.js +1 -1
  459. package/dist/{table-rWiVWEgB.d.ts → table-C2KnE83u.d.ts} +6 -445
  460. package/dist/table-DJHK48-8.js +1 -0
  461. package/dist/table-parts.d.ts +6 -0
  462. package/dist/table-parts.js +1 -0
  463. package/dist/table.d.ts +81 -1
  464. package/dist/table.js +1 -1
  465. package/dist/tabs-36-4SlRo.js +1 -0
  466. package/dist/tabs-CC_HAqr4.d.ts +193 -0
  467. package/dist/tabs-DayeszXP.js +1 -0
  468. package/dist/tabs-headless-tabs-parts.d.ts +6 -0
  469. package/dist/tabs-headless-tabs-parts.js +1 -0
  470. package/dist/tabs-parts.d.ts +237 -0
  471. package/dist/tabs-parts.js +1 -0
  472. package/dist/tabs.d.ts +43 -420
  473. package/dist/tabs.js +1 -1
  474. package/dist/text-area-D29JTaZg.js +1 -0
  475. package/dist/text-area.d.ts +2 -2
  476. package/dist/text-area.js +1 -1
  477. package/dist/theme-D6rP5Fy8.js +1 -0
  478. package/dist/theme-switcher-PKMCyJxT.js +1 -0
  479. package/dist/theme-switcher.d.ts +26 -22
  480. package/dist/theme-switcher.js +1 -1
  481. package/dist/theme-xoFnLba6.js +1 -0
  482. package/dist/theme.d.ts +84 -77
  483. package/dist/theme.js +1 -1
  484. package/dist/time-zone-CpWYKHdp.js +1 -0
  485. package/dist/time-zone-DZ4hUJ8K.js +1 -0
  486. package/dist/time-zone.d.ts +190 -0
  487. package/dist/time-zone.js +1 -0
  488. package/dist/toast-BJZ__22c.js +1 -0
  489. package/dist/toast-Cb9IN-6e.d.ts +185 -0
  490. package/dist/toast-DM_oq-3E.js +1 -0
  491. package/dist/toast-parts.d.ts +6 -0
  492. package/dist/toast-parts.js +1 -0
  493. package/dist/toast.d.ts +7 -256
  494. package/dist/toast.js +1 -1
  495. package/dist/tokens.dark.json +3026 -0
  496. package/dist/tokens.json +4867 -0
  497. package/dist/tokens.resolver.json +37 -0
  498. package/dist/tooltip-D4HZn19B.js +1 -0
  499. package/dist/tooltip-DP6Lz6jv.d.ts +180 -0
  500. package/dist/tooltip-Uy-kz0rK.d.ts +1 -0
  501. package/dist/tooltip-parts.d.ts +7 -0
  502. package/dist/tooltip-parts.js +1 -0
  503. package/dist/tooltip.d.ts +57 -1
  504. package/dist/tooltip.js +1 -1
  505. package/dist/truncated-text-B5u2AlNg.js +1 -0
  506. package/dist/truncated-text-BoXHP-cD.js +1 -0
  507. package/dist/truncated-text.d.ts +4 -6
  508. package/dist/truncated-text.js +1 -1
  509. package/dist/types.d.ts +1 -1
  510. package/dist/types.js +1 -1
  511. package/dist/typography-C2BmSH12.d.ts +148 -0
  512. package/dist/typography-parts.d.ts +6 -0
  513. package/dist/typography-parts.js +1 -0
  514. package/dist/typography.d.ts +52 -0
  515. package/dist/typography.js +1 -0
  516. package/dist/use-combobox-OhIEVioc.d.ts +23 -0
  517. package/dist/use-float-WEqqhXBE.d.ts +18 -0
  518. package/dist/use-listbox-D4uIonSN.d.ts +1 -0
  519. package/dist/utils-BN3rwHzz.js +1 -0
  520. package/dist/utils-BlLYcYik.js +1 -0
  521. package/dist/utils-C4astHJG.js +1 -0
  522. package/dist/utils-CPSttKPD.js +1 -0
  523. package/dist/{copy-to-clipboard-DInu78k_.js → utils-Dd83caRw.js} +1 -1
  524. package/dist/utils.d.ts +1 -1
  525. package/dist/utils.js +1 -1
  526. package/dist/visually-hidden.d.ts +2 -2
  527. package/dist/visually-hidden.js +1 -1
  528. package/dist/well.d.ts +2 -2
  529. package/dist/well.js +1 -1
  530. package/dist/world-map-BDd3N_Ap.d.ts +424 -0
  531. package/dist/world-map-D3c8Pq-h.js +1 -0
  532. package/dist/world-map-parts.d.ts +6 -0
  533. package/dist/world-map-parts.js +1 -0
  534. package/dist/world-map-t9U-IMKS.js +1 -0
  535. package/dist/world-map.d.ts +80 -0
  536. package/dist/world-map.js +1 -0
  537. package/package.json +30 -19
  538. package/dist/alert-CH99Rw-R.js +0 -1
  539. package/dist/anchor-CgcbWEUs.js +0 -1
  540. package/dist/browser-only-BTSrYWLj.js +0 -1
  541. package/dist/button-69InNC_m.js +0 -1
  542. package/dist/button-BQZ6eoD3.js +0 -1
  543. package/dist/button-BWGUuWnu.js +0 -1
  544. package/dist/button-Cu9e3SM7.js +0 -1
  545. package/dist/chart-BO9EwQ60.js +0 -1
  546. package/dist/chart-CE5Uaqz9.js +0 -1
  547. package/dist/chart-DCTGGlWL.js +0 -1
  548. package/dist/chart-DudCw24t.js +0 -2
  549. package/dist/checkbox-CS504fKk.js +0 -1
  550. package/dist/choice-BwfmbepO.d.ts +0 -405
  551. package/dist/choice-uyYccm0A.js +0 -1
  552. package/dist/clsx-DUGZgXfJ.js +0 -1
  553. package/dist/clsx-Dj3RWZ2l.js +0 -1
  554. package/dist/code-DUJzSl4K.js +0 -1
  555. package/dist/compose-refs-sFdxsL7k.js +0 -1
  556. package/dist/cx-CK7o_rVv.js +0 -1
  557. package/dist/dialog-B9JAGy_x.d.ts +0 -28
  558. package/dist/dialog-CsugEt2A.js +0 -1
  559. package/dist/dialog-DD5H3EH1.d.ts +0 -942
  560. package/dist/dropdown-menu-DHdgaw4P.js +0 -1
  561. package/dist/dropdown-menu-DmDxYPde.d.ts +0 -775
  562. package/dist/field-Bihblt8U.js +0 -1
  563. package/dist/field-CPvjazWN.js +0 -1
  564. package/dist/icon-BudQMD2S.js +0 -1
  565. package/dist/icon-kK0c-POG.js +0 -1
  566. package/dist/icons-4JA-SGfv.js +0 -1
  567. package/dist/icons-CDLz5lpI.js +0 -1
  568. package/dist/icons-CSwTVV2m.js +0 -1
  569. package/dist/input-DHovzBjS.js +0 -1
  570. package/dist/input-DQyN6gN0.js +0 -1
  571. package/dist/interactive-target-BXScNeOr.js +0 -1
  572. package/dist/kbd-CLHsJ99p.js +0 -1
  573. package/dist/label-DmDwzPD8.js +0 -1
  574. package/dist/layer-container-kEQiE4zV.js +0 -1
  575. package/dist/list-CO_yLdln.js +0 -1
  576. package/dist/live-region-DQ1QLv3L.js +0 -1
  577. package/dist/main-CC1L9IsH.js +0 -1
  578. package/dist/popover-BhTFutCz.d.ts +0 -1
  579. package/dist/popover-DxOqLKxy.js +0 -1
  580. package/dist/popover-lwkwWcRW.d.ts +0 -291
  581. package/dist/primitive-Dz9Al-us.js +0 -1
  582. package/dist/radio-group-jj2abc0t.js +0 -1
  583. package/dist/radio-group-sLz5AA9I.d.ts +0 -27
  584. package/dist/sandboxed-on-click-C7pPu-2M.js +0 -1
  585. package/dist/select-BqmpVJJT.d.ts +0 -890
  586. package/dist/select-C6Su0dU0.js +0 -1
  587. package/dist/separator-DfzxVutO.js +0 -1
  588. package/dist/shake-DL6WhMXM.js +0 -1
  589. package/dist/sheet-Bd2LIhzF.js +0 -1
  590. package/dist/skeleton-DBpI-ko5.js +0 -1
  591. package/dist/slot-D12N_fZJ.d.ts +0 -67
  592. package/dist/slot-DdYN1L1C.js +0 -1
  593. package/dist/table-CFHiDBW8.js +0 -1
  594. package/dist/theme-DdZgLvKH.js +0 -1
  595. package/dist/tooltip-CpK3XTor.d.ts +0 -283
  596. package/dist/tooltip-b6oiTaWq.js +0 -1
  597. package/dist/use-breakpoint--mo7kr9d.js +0 -1
  598. package/dist/use-callback-ref-BvVyI5K1.js +0 -1
  599. package/dist/use-copy-to-clipboard-Dy_0Qzb7.js +0 -1
  600. package/dist/use-inert-siblings-CNmNuS2h.js +0 -1
  601. package/dist/use-is-apple-platform-D4nifHMx.js +0 -1
  602. package/dist/use-is-hydrated-after-paint-r9Cl2mGp.js +0 -1
  603. package/dist/use-isomorphic-layout-effect-CLSmHzo4.js +0 -1
  604. package/dist/use-matches-media-query-m860lols.js +0 -1
  605. package/dist/use-prefers-reduced-motion-CU6mWmOe.js +0 -1
  606. package/dist/use-swipe-to-dismiss-i__cTF2v.js +0 -1
  607. /package/dist/{suggestions-Ciz2vaJO.js → query-filter-Ciz2vaJO.js} +0 -0
  608. /package/dist/{radio-group-HDVxTNPi.js → sidebar-HDVxTNPi.js} +0 -0
  609. /package/dist/{direction-CvDpql3O.js → sorting-CvDpql3O.js} +0 -0
  610. /package/dist/{booleanish-BfvnW6vy.js → types-BfvnW6vy.js} +0 -0
  611. /package/dist/{css-properties-D85fCNV3.js → types-D85fCNV3.js} +0 -0
  612. /package/dist/{alternate-announcement-BkH4bOKp.js → utils-BkH4bOKp.js} +0 -0
  613. /package/dist/{in-view-Dxv_GrUU.js → utils-Dxv_GrUU.js} +0 -0
  614. /package/dist/{data-slot-EM6s2WEU.js → utils-EM6s2WEU.js} +0 -0
  615. /package/dist/{cookie-ca4g5CKp.js → utils-ca4g5CKp.js} +0 -0
@@ -0,0 +1,1167 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import { n as WithAsChild } from "./as-child-DFxX3U2i.js";
3
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
4
+ import { n as IconButtonProps } from "./button-CL17Dxza.js";
5
+ /**
6
+ * The outer frame of an application shell. Renders a `<div>` with
7
+ * `relative isolate flex h-full w-full flex-col overflow-clip`, so
8
+ * it fills its nearest sized ancestor. That makes it embeddable in docs
9
+ * demos and tests. Real app shells pin it to the viewport by merging
10
+ * `className="fixed inset-0"` (mantle `cx` is tailwind-merge-backed, so the
11
+ * override is deterministic); the shell itself never scrolls. Only
12
+ * `AppLayout.Body` does.
13
+ *
14
+ * It clips with `overflow-clip` rather than `overflow-hidden` for the same
15
+ * reason `AppLayout.Content` does: `hidden` **is** a scroll container that
16
+ * paints no scrollbar, so anything wider than the frame lets focus scroll the
17
+ * entire shell sideways. That translates the notice, the sidebar, and the card out
18
+ * of view with no scrollbar and no gesture to bring them back. On a frame pinned
19
+ * with `fixed inset-0` that is the whole window. `clip` is not a scroll
20
+ * container at all.
21
+ *
22
+ * When the shell owns the document, render a `SkipToMainLink` as its first
23
+ * child. `AppLayout.Body` is the `Main` landmark, so the link sends keyboard
24
+ * users past the sidebar and the toolbar straight into the scrolling page
25
+ * region.
26
+ *
27
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutroot
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <Sidebar.Root>
32
+ * <AppLayout.Root className="fixed inset-0">
33
+ * <SkipToMainLink />
34
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
35
+ * <AppLayout.Workspace>
36
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
37
+ * <AppLayout.Content>
38
+ * <AppLayout.Header>
39
+ * <AppLayout.HeaderStart>
40
+ * <Sidebar.Trigger />
41
+ * </AppLayout.HeaderStart>
42
+ * <AppLayout.HeaderContent>
43
+ * <Breadcrumbs />
44
+ * </AppLayout.HeaderContent>
45
+ * <AppLayout.HeaderActions>
46
+ * <PageActions />
47
+ * </AppLayout.HeaderActions>
48
+ * </AppLayout.Header>
49
+ * <AppLayout.Body>
50
+ * <Outlet />
51
+ * </AppLayout.Body>
52
+ * </AppLayout.Content>
53
+ * </AppLayout.Workspace>
54
+ * </AppLayout.Root>
55
+ * </Sidebar.Root>
56
+ * ```
57
+ */
58
+ declare const Root: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
59
+ /**
60
+ * A full-window-width strip pinned above everything else in the shell
61
+ * (including any sidebar) for maintenance notices, environment warnings,
62
+ * and similar app-wide messaging. It is a vertical composition slot: place a
63
+ * maintenance banner and an `AlertCenter.Bar` here, and each contributes its
64
+ * own row while the slot pushes the shell down. Renders an unstyled `<div>`
65
+ * (`flex w-full shrink-0 flex-col`): its children bring their own colors and
66
+ * layout, and the part collapses to nothing when empty. Deliberately not named
67
+ * `Banner` so it never reads as the ARIA `banner` landmark: it claims no
68
+ * landmark at all.
69
+ *
70
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutnotice
71
+ *
72
+ * @example
73
+ * ```tsx
74
+ * <Sidebar.Root>
75
+ * <AppLayout.Root className="fixed inset-0">
76
+ * <SkipToMainLink />
77
+ * <AppLayout.Notice>
78
+ * {isUnderMaintenance && (
79
+ * <div className="bg-red-500 text-on-filled flex items-center gap-2 px-4 py-1 text-xs">
80
+ * The dashboard is read-only until {maintenanceEndsAt}.
81
+ * </div>
82
+ * )}
83
+ * </AppLayout.Notice>
84
+ * <AppLayout.Workspace>
85
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
86
+ * <AppLayout.Content>
87
+ * <AppLayout.Header>
88
+ * <AppLayout.HeaderStart>
89
+ * <Sidebar.Trigger />
90
+ * </AppLayout.HeaderStart>
91
+ * <AppLayout.HeaderContent>
92
+ * <Breadcrumbs />
93
+ * </AppLayout.HeaderContent>
94
+ * <AppLayout.HeaderActions>
95
+ * <PageActions />
96
+ * </AppLayout.HeaderActions>
97
+ * </AppLayout.Header>
98
+ * <AppLayout.Body>
99
+ * <Outlet />
100
+ * </AppLayout.Body>
101
+ * </AppLayout.Content>
102
+ * </AppLayout.Workspace>
103
+ * </AppLayout.Root>
104
+ * </Sidebar.Root>
105
+ * ```
106
+ */
107
+ declare const Notice: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
108
+ /**
109
+ * The region where the user actually works: everything below
110
+ * `AppLayout.Notice`, laid out as a row of columns. Place a `Sidebar.Nav` (or
111
+ * any other sidebar, on either side) beside an `AppLayout.Content` card, and an
112
+ * `AppLayout.SidePanel` after the card. A flex row
113
+ * (`relative flex min-h-0 min-w-0 flex-1`) whose `min-h-0` is
114
+ * what lets `AppLayout.Body` scroll instead of the page.
115
+ *
116
+ * It owns no gutter, deliberately: the card insets itself with its own margin,
117
+ * so a sidebar stays flush against the window edge and a collapsed sidebar keeps
118
+ * its flush geometry.
119
+ *
120
+ * It is `relative`, so a floating `AppLayout.SidePanel` resolves against the row
121
+ * and covers the card, never the notice above it. It is also the container
122
+ * named `app-layout-workspace`: the panel floats when the row is narrower than
123
+ * the lane it needs, so a page is never narrower than the panel beside it. The
124
+ * lane is `--container-side-panel-lane` while a direct child of the row is an
125
+ * expanded `Sidebar.Nav`, and `--container-side-panel-lane-collapsed` with a
126
+ * collapsed sidebar or none.
127
+ *
128
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutworkspace
129
+ *
130
+ * @example
131
+ * ```tsx
132
+ * <Sidebar.Root>
133
+ * <AppLayout.Root className="fixed inset-0">
134
+ * <SkipToMainLink />
135
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
136
+ * <AppLayout.Workspace>
137
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
138
+ * <AppLayout.Content>
139
+ * <AppLayout.Header>
140
+ * <AppLayout.HeaderStart>
141
+ * <Sidebar.Trigger />
142
+ * </AppLayout.HeaderStart>
143
+ * <AppLayout.HeaderContent>
144
+ * <Breadcrumbs />
145
+ * </AppLayout.HeaderContent>
146
+ * <AppLayout.HeaderActions>
147
+ * <PageActions />
148
+ * </AppLayout.HeaderActions>
149
+ * </AppLayout.Header>
150
+ * <AppLayout.Body>
151
+ * <Outlet />
152
+ * </AppLayout.Body>
153
+ * </AppLayout.Content>
154
+ * </AppLayout.Workspace>
155
+ * </AppLayout.Root>
156
+ * </Sidebar.Root>
157
+ * ```
158
+ */
159
+ declare const Workspace: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
160
+ /**
161
+ * The content card of the shell: a rounded, bordered `bg-card` surface beside
162
+ * the sidebar, holding `AppLayout.Header` and `AppLayout.Body`. A flex column
163
+ * that fills the remaining width of
164
+ * `AppLayout.Workspace` and insets itself from the window edge and the sidebar with
165
+ * its own margin (`--app-layout-card-gutter`, default `0.5rem`). The gutter
166
+ * belongs to the card so a sidebar stays flush against the window edge.
167
+ *
168
+ * The card does **not** scroll: `AppLayout.Body` does. `Content` is
169
+ * `overflow-clip`, which does two jobs: it keeps a full-bleed page background
170
+ * from painting square corners over the card's `rounded-xl`, and it is
171
+ * deliberately `clip` rather than `hidden` because `hidden` is a scroll
172
+ * container with no scrollbar: a long toolbar would let focus scroll the card
173
+ * sideways, dragging the header and the page with it, and nothing could scroll
174
+ * it back.
175
+ *
176
+ * It is also `relative`, so page content positioned with `absolute` resolves
177
+ * against the card instead of escaping to `AppLayout.Root` and painting across
178
+ * the sidebar.
179
+ *
180
+ * It carries `view-transition-class: app-layout-card`, and so does
181
+ * `AppLayout.SidePanel`. When an app gives the card and the panel the same
182
+ * `view-transition-name`, such as an assistant that is the page on its own
183
+ * route and the panel on every other one, a navigation between them morphs
184
+ * one card into the other. `mantle.css` styles the morph; the app only names
185
+ * the cards. See the Assistant Across Routes recipe.
186
+ *
187
+ * **CSS variables (public API):**
188
+ *
189
+ * | CSS Variable | Default | Description |
190
+ * | --- | --- | --- |
191
+ * | `--app-layout-card-gutter` | `0.5rem` | The gap between the card and the window edge, the notice above it, and the sidebar beside it (8px). `AppLayout.Header` subtracts twice this value when deriving its height, so overriding it keeps the toolbar aligned with the sidebar header's band. Set it on `AppLayout.Root` or another common ancestor, not on this part: `AppLayout.SidePanel` and `AppLayout.SidePanelHeader` read it too, and custom properties inherit downward only. |
192
+ *
193
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutcontent
194
+ *
195
+ * @example
196
+ * ```tsx
197
+ * <Sidebar.Root>
198
+ * <AppLayout.Root className="fixed inset-0">
199
+ * <SkipToMainLink />
200
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
201
+ * <AppLayout.Workspace>
202
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
203
+ * <AppLayout.Content>
204
+ * <AppLayout.Header>
205
+ * <AppLayout.HeaderStart>
206
+ * <Sidebar.Trigger />
207
+ * </AppLayout.HeaderStart>
208
+ * <AppLayout.HeaderContent>
209
+ * <Breadcrumbs />
210
+ * </AppLayout.HeaderContent>
211
+ * <AppLayout.HeaderActions>
212
+ * <PageActions />
213
+ * </AppLayout.HeaderActions>
214
+ * </AppLayout.Header>
215
+ * <AppLayout.Body>
216
+ * <Outlet />
217
+ * </AppLayout.Body>
218
+ * </AppLayout.Content>
219
+ * </AppLayout.Workspace>
220
+ * </AppLayout.Root>
221
+ * </Sidebar.Root>
222
+ * ```
223
+ */
224
+ declare const Content: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
225
+ /**
226
+ * The toolbar row at the top of the content card. Render it as the **first
227
+ * child of `AppLayout.Content`**, and compose its three slots in order:
228
+ * `AppLayout.HeaderStart` for the `Sidebar.Trigger`, `AppLayout.HeaderContent`
229
+ * for the `Breadcrumb` trail, and `AppLayout.HeaderActions` for the page's
230
+ * actions. The slots carry the flex (`shrink-0`, `min-w-0 flex-1`, and
231
+ * `ml-auto shrink-0`), so no call site sets it. The row's `gap-2` spaces the
232
+ * three slots, and each slot repeats it between its own children.
233
+ *
234
+ * It is pinned by construction, not by `sticky`: as a `shrink-0` flex sibling
235
+ * *outside* the scrolling `AppLayout.Body`, it cannot scroll away, cannot be
236
+ * overlapped by a page's own `sticky top-0`, and does not translate sideways
237
+ * when the page scrolls horizontally. It takes no height from a page that asks
238
+ * for `h-full`.
239
+ *
240
+ * Renders a `<div>`, not a `<header>`: `AppLayout.Body` is the `main` landmark
241
+ * and this row is its sibling, so a `<header>` here would have no sectioning
242
+ * ancestor and would become the ARIA `banner` landmark, which a card toolbar is
243
+ * not. If you need one, compose your own element with `asChild`.
244
+ *
245
+ * **Sidebar alignment is an invariant, not a coincidence:** standalone, the
246
+ * toolbar is `h-14`. When the shell contains a `Sidebar.Header` (detected via
247
+ * `:has()` from `AppLayout.Root`), the toolbar instead derives its height from
248
+ * the sidebar's public `--sidebar-header-height` token, subtracting twice the
249
+ * card gutter and twice the card's hairline border. That keeps this toolbar's
250
+ * vertical center on the band that token names, by construction, for any band
251
+ * height. The band belongs to the sidebar header's first row, so a header that
252
+ * stacks a second row grows downward and this toolbar keeps matching the
253
+ * switcher row alone. Override `--sidebar-header-height` on a common ancestor
254
+ * (e.g. `AppLayout.Root`'s `className`) and both rows move together.
255
+ *
256
+ * **CSS variables (public API):**
257
+ *
258
+ * | CSS Variable | Default | Description |
259
+ * | --- | --- | --- |
260
+ * | `--sidebar-header-height` | `4.5rem` | Read, not owned: `Sidebar.Header` owns this token (the band its first row sits on), and `AppLayout.Header` derives its own height from it whenever a sidebar header is present in the shell. Set it on a common ancestor of both rows (e.g. `AppLayout.Root`), never on one of them, since custom properties only inherit downward. |
261
+ * | `--app-layout-card-gutter` | `0.5rem` | Read, not owned: `AppLayout.Content` owns this token. The derived height subtracts twice its value, so changing the card gutter keeps the two rows aligned instead of drifting. |
262
+ *
263
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutheader
264
+ *
265
+ * @example
266
+ * ```tsx
267
+ * <Sidebar.Root>
268
+ * <AppLayout.Root className="fixed inset-0">
269
+ * <SkipToMainLink />
270
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
271
+ * <AppLayout.Workspace>
272
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
273
+ * <AppLayout.Content>
274
+ * <AppLayout.Header>
275
+ * <AppLayout.HeaderStart>
276
+ * <Sidebar.Trigger />
277
+ * </AppLayout.HeaderStart>
278
+ * <AppLayout.HeaderContent>
279
+ * <Breadcrumbs />
280
+ * </AppLayout.HeaderContent>
281
+ * <AppLayout.HeaderActions>
282
+ * <PageActions />
283
+ * </AppLayout.HeaderActions>
284
+ * </AppLayout.Header>
285
+ * <AppLayout.Body>
286
+ * <Outlet />
287
+ * </AppLayout.Body>
288
+ * </AppLayout.Content>
289
+ * </AppLayout.Workspace>
290
+ * </AppLayout.Root>
291
+ * </Sidebar.Root>
292
+ * ```
293
+ */
294
+ declare const Header: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
295
+ /**
296
+ * The leading slot of `AppLayout.Header`: the home of `Sidebar.Trigger`, or of
297
+ * the control that opens the row in a shell with no sidebar. Renders a `<div>`
298
+ * that is `shrink-0`, so it takes only the width its children need and keeps
299
+ * the row's start while `AppLayout.HeaderContent` gives up width beside it. It
300
+ * is a flex row with the header's own `gap-2`, so a second control sits beside
301
+ * the first at the same spacing.
302
+ *
303
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutheaderstart
304
+ *
305
+ * @example
306
+ * ```tsx
307
+ * <Sidebar.Root>
308
+ * <AppLayout.Root className="fixed inset-0">
309
+ * <SkipToMainLink />
310
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
311
+ * <AppLayout.Workspace>
312
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
313
+ * <AppLayout.Content>
314
+ * <AppLayout.Header>
315
+ * <AppLayout.HeaderStart>
316
+ * <Sidebar.Trigger />
317
+ * </AppLayout.HeaderStart>
318
+ * <AppLayout.HeaderContent>
319
+ * <Breadcrumbs />
320
+ * </AppLayout.HeaderContent>
321
+ * <AppLayout.HeaderActions>
322
+ * <PageActions />
323
+ * </AppLayout.HeaderActions>
324
+ * </AppLayout.Header>
325
+ * <AppLayout.Body>
326
+ * <Outlet />
327
+ * </AppLayout.Body>
328
+ * </AppLayout.Content>
329
+ * </AppLayout.Workspace>
330
+ * </AppLayout.Root>
331
+ * </Sidebar.Root>
332
+ * ```
333
+ */
334
+ declare const HeaderStart: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
335
+ /**
336
+ * The slot that fills `AppLayout.Header`: the home of the `Breadcrumb` trail,
337
+ * or of a page title in a shell with no trail. Renders a `<div>` that is
338
+ * `min-w-0 flex-1`, so it takes every pixel `AppLayout.HeaderStart` and
339
+ * `AppLayout.HeaderActions` leave, and it gives width back before either of
340
+ * them does. The `min-w-0` is what lets a `Breadcrumb.List` inside it scroll
341
+ * sideways instead of pushing the actions off the card. It is a flex row with
342
+ * the header's own `gap-2`.
343
+ *
344
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutheadercontent
345
+ *
346
+ * @example
347
+ * ```tsx
348
+ * <Sidebar.Root>
349
+ * <AppLayout.Root className="fixed inset-0">
350
+ * <SkipToMainLink />
351
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
352
+ * <AppLayout.Workspace>
353
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
354
+ * <AppLayout.Content>
355
+ * <AppLayout.Header>
356
+ * <AppLayout.HeaderStart>
357
+ * <Sidebar.Trigger />
358
+ * </AppLayout.HeaderStart>
359
+ * <AppLayout.HeaderContent>
360
+ * <Breadcrumbs />
361
+ * </AppLayout.HeaderContent>
362
+ * <AppLayout.HeaderActions>
363
+ * <PageActions />
364
+ * </AppLayout.HeaderActions>
365
+ * </AppLayout.Header>
366
+ * <AppLayout.Body>
367
+ * <Outlet />
368
+ * </AppLayout.Body>
369
+ * </AppLayout.Content>
370
+ * </AppLayout.Workspace>
371
+ * </AppLayout.Root>
372
+ * </Sidebar.Root>
373
+ * ```
374
+ */
375
+ declare const HeaderContent: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
376
+ /**
377
+ * The trailing slot of `AppLayout.Header`: the page's actions, aligned to the
378
+ * row's end. Renders a `<div>` that is `ml-auto shrink-0`, so it takes only the
379
+ * width its children need, grows to the left as actions are added, and stays at
380
+ * the end even when the header renders no `AppLayout.HeaderContent`. It is a
381
+ * flex row with the header's own `gap-2`.
382
+ *
383
+ * Keep it to three actions or fewer, and collapse them into one `DropdownMenu`
384
+ * behind a single `IconButton` below the sidebar's mobile breakpoint; the docs
385
+ * show the shape. Which actions render is the route's decision: derive them
386
+ * from the matched route chain, the way the breadcrumb trail is derived, and
387
+ * never from a context a page writes into from an effect.
388
+ *
389
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutheaderactions
390
+ *
391
+ * @example
392
+ * ```tsx
393
+ * <Sidebar.Root>
394
+ * <AppLayout.Root className="fixed inset-0">
395
+ * <SkipToMainLink />
396
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
397
+ * <AppLayout.Workspace>
398
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
399
+ * <AppLayout.Content>
400
+ * <AppLayout.Header>
401
+ * <AppLayout.HeaderStart>
402
+ * <Sidebar.Trigger />
403
+ * </AppLayout.HeaderStart>
404
+ * <AppLayout.HeaderContent>
405
+ * <Breadcrumbs />
406
+ * </AppLayout.HeaderContent>
407
+ * <AppLayout.HeaderActions>
408
+ * <PageActions />
409
+ * </AppLayout.HeaderActions>
410
+ * </AppLayout.Header>
411
+ * <AppLayout.Body>
412
+ * <Outlet />
413
+ * </AppLayout.Body>
414
+ * </AppLayout.Content>
415
+ * </AppLayout.Workspace>
416
+ * </AppLayout.Root>
417
+ * </Sidebar.Root>
418
+ * ```
419
+ */
420
+ declare const HeaderActions: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
421
+ /**
422
+ * The page region of the content card, and the shell's **only** scroll
423
+ * container (`overflow-y-auto overscroll-none`). The page body never scrolls,
424
+ * and scroll never bounces the shell. Render it after `AppLayout.Header` inside
425
+ * `AppLayout.Content`.
426
+ *
427
+ * It renders mantle's `Main` landmark: `<main id="main" tabIndex={-1}>` with
428
+ * `data-slot="app-layout-body main"`. Pair it with a `SkipToMainLink` as the
429
+ * first child of `AppLayout.Root`; the link's default `targetId` matches
430
+ * `Main`'s `id`. The focused landmark **is** the scroll container, so arrows,
431
+ * `Space`, and `PageDown` scroll the page as soon as the jump lands, and the
432
+ * skip clears the sidebar *and* the toolbar. `id` and `tabIndex` are not props,
433
+ * for the same reason they are not props on `Main`.
434
+ *
435
+ * When the surrounding document already owns the `main` landmark (a docs demo,
436
+ * a test, a shell embedded in a page), pass `asChild` and render a plain
437
+ * `<div>`. The part then adds its classes and its `data-slot` to your element
438
+ * and no landmark.
439
+ *
440
+ * It is a flex **item** that is **block inside**, and each half does a job:
441
+ *
442
+ * - `min-h-0 flex-1` gives it a definite height, so a page that asks for
443
+ * `h-full` fills exactly the card interior instead of overflowing it by the
444
+ * toolbar's height.
445
+ * - block layout inside (not flex) is why `mx-auto max-w-7xl` still centers a
446
+ * page at its max width. As a *flex child*, auto margins beat
447
+ * `align-items: stretch` and the same container shrink-to-fits, getting
448
+ * *narrower* as the viewport gets wider.
449
+ * - `w-full` states the width outright instead of leaning on the flex
450
+ * container's cross-axis `stretch`, so an `mx-auto` merged onto `Body` still
451
+ * leaves it full width. Auto cross-axis margins would otherwise turn a
452
+ * stretched item into a shrink-to-fit one. It is no floor, though: `cx` is
453
+ * tailwind-merge-backed and the consumer's `className` wins, so a merged
454
+ * `w-*` replaces it outright, while a merged `max-w-*` (a separate conflict
455
+ * group) survives beside it and clamps the scrollport. Constrain the *page*
456
+ * inside `Body`, not `Body` itself.
457
+ *
458
+ * It is `relative` too, so page content positioned with `absolute` is contained
459
+ * by the scrollport the route author is already reasoning about.
460
+ *
461
+ * `scrollbar-gutter-stable` keeps space for the scrollbar when the page does
462
+ * not overflow, so the page does not move sideways when it starts to scroll.
463
+ *
464
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutbody
465
+ *
466
+ * @example
467
+ * ```tsx
468
+ * <Sidebar.Root>
469
+ * <AppLayout.Root className="fixed inset-0">
470
+ * <SkipToMainLink />
471
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
472
+ * <AppLayout.Workspace>
473
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
474
+ * <AppLayout.Content>
475
+ * <AppLayout.Header>
476
+ * <AppLayout.HeaderStart>
477
+ * <Sidebar.Trigger />
478
+ * </AppLayout.HeaderStart>
479
+ * <AppLayout.HeaderContent>
480
+ * <Breadcrumbs />
481
+ * </AppLayout.HeaderContent>
482
+ * <AppLayout.HeaderActions>
483
+ * <PageActions />
484
+ * </AppLayout.HeaderActions>
485
+ * </AppLayout.Header>
486
+ * <AppLayout.Body>
487
+ * <Outlet />
488
+ * </AppLayout.Body>
489
+ * </AppLayout.Content>
490
+ * </AppLayout.Workspace>
491
+ * </AppLayout.Root>
492
+ * </Sidebar.Root>
493
+ * ```
494
+ */
495
+ declare const Body: ({ asChild, children, className, "data-slot": dataSlot, ...props }: Omit<ComponentProps<"main">, "id" | "tabIndex"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
496
+ /**
497
+ * The viewport width below which `AppLayout.SidePanel` floats over the card
498
+ * instead of taking width beside it. Tailwind's `sm` (40rem), `md` (48rem), and
499
+ * `lg` (64rem) breakpoints, the same set `Sidebar.Root` accepts.
500
+ *
501
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanel
502
+ *
503
+ * @example
504
+ * ```tsx
505
+ * <AppLayout.SidePanel aria-label="Assistant" mobileBreakpoint="md">…</AppLayout.SidePanel>
506
+ * ```
507
+ */
508
+ type AppLayoutSidePanelMobileBreakpoint = "sm" | "md" | "lg";
509
+ /**
510
+ * The state and actions shared by every part under an
511
+ * `AppLayout.SidePanelRoot`, returned by {@link useSidePanel}. Use it to build
512
+ * a custom trigger, a close control, or close-on-navigate behavior.
513
+ *
514
+ * @see https://mantle.ngrok.com/layouts/app-layout#usesidepanel
515
+ *
516
+ * @example
517
+ * ```tsx
518
+ * function CloseAssistantOnNavigate() {
519
+ * const { setOpen } = useSidePanel();
520
+ * const location = useLocation();
521
+ * useEffect(() => {
522
+ * setOpen(false);
523
+ * }, [location.pathname, setOpen]);
524
+ * return null;
525
+ * }
526
+ * ```
527
+ */
528
+ type AppLayoutSidePanelState = {
529
+ /**
530
+ * Whether the panel is on screen. Mirrored as presence-only `data-open` on
531
+ * `AppLayout.SidePanel` and as `aria-expanded` on `AppLayout.SidePanelTrigger`.
532
+ */
533
+ open: boolean;
534
+ /**
535
+ * Set the open state. Calls `onOpenChange` and, when uncontrolled, updates
536
+ * the internal state. Keeps one identity across renders, so it is safe in an
537
+ * effect dependency list.
538
+ */
539
+ setOpen: (open: boolean) => void;
540
+ /**
541
+ * Flip the open state. This is what `AppLayout.SidePanelTrigger` calls.
542
+ */
543
+ toggle: () => void;
544
+ /**
545
+ * The generated id of the panel's `<aside>`. `AppLayout.SidePanelTrigger`
546
+ * references it with `aria-controls`; reuse it in a custom trigger.
547
+ */
548
+ panelId: string;
549
+ };
550
+ /**
551
+ * Read the nearest `AppLayout.SidePanelRoot` state. Throws when called
552
+ * outside one, so misuse fails loudly. Use it to build a custom trigger, a
553
+ * close control, or close-on-navigate behavior.
554
+ *
555
+ * @see https://mantle.ngrok.com/layouts/app-layout#usesidepanel
556
+ *
557
+ * @example
558
+ * ```tsx
559
+ * function CloseAssistantOnNavigate() {
560
+ * const { setOpen } = useSidePanel();
561
+ * const location = useLocation();
562
+ * useEffect(() => {
563
+ * setOpen(false);
564
+ * }, [location.pathname, setOpen]);
565
+ * return null;
566
+ * }
567
+ * ```
568
+ */
569
+ declare function useSidePanel(): AppLayoutSidePanelState;
570
+ /**
571
+ * The props for `AppLayout.SidePanelRoot`: the open state, controlled or
572
+ * uncontrolled, the same shape as `Sidebar.Root`.
573
+ *
574
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanelroot
575
+ *
576
+ * @example
577
+ * ```tsx
578
+ * <AppLayout.SidePanelRoot
579
+ * defaultOpen={sidePanelOpen}
580
+ * onOpenChange={(open) => {
581
+ * document.cookie = serializeSidePanelStateCookie(open);
582
+ * }}
583
+ * >
584
+ * <AppLayout.Workspace>…</AppLayout.Workspace>
585
+ * </AppLayout.SidePanelRoot>
586
+ * ```
587
+ */
588
+ type AppLayoutSidePanelRootProps = {
589
+ /**
590
+ * The shell below it: `AppLayout.Workspace` with the trigger and the panel
591
+ * inside. The root renders no element of its own.
592
+ */
593
+ children?: ReactNode;
594
+ /**
595
+ * Whether the panel starts open, when uncontrolled. Read once at mount, so
596
+ * pass the value the server read from a cookie here and the first paint
597
+ * carries the right state.
598
+ *
599
+ * @default false
600
+ */
601
+ defaultOpen?: boolean;
602
+ /**
603
+ * Controlled open state. Pair with `onOpenChange`.
604
+ */
605
+ open?: boolean;
606
+ /**
607
+ * Called with the next open state whenever it changes. Write the cookie
608
+ * here with `serializeSidePanelStateCookie`.
609
+ */
610
+ onOpenChange?: (open: boolean) => void;
611
+ };
612
+ /**
613
+ * The state owner for `AppLayout.SidePanel` and `AppLayout.SidePanelTrigger`.
614
+ * Renderless: it only holds whether the panel is open, controlled (`open` +
615
+ * `onOpenChange`) or uncontrolled (`defaultOpen`), and hands it to the parts
616
+ * below through {@link useSidePanel}. Wrap `AppLayout.Workspace` with it, or
617
+ * anything above both the trigger and the panel. Closed by default: a side
618
+ * panel is a surface the user opens.
619
+ *
620
+ * To persist the state across visits with no first-frame correction, read
621
+ * `extractSidePanelStateCookie` in the server loader, pass the result to
622
+ * `defaultOpen`, and write `serializeSidePanelStateCookie` from
623
+ * `onOpenChange`. The server HTML then carries the right `data-open`, the
624
+ * same way `Sidebar.Root` persists the sidebar.
625
+ *
626
+ * When the panel closes while focus is inside it, the root moves focus to the
627
+ * first `AppLayout.SidePanelTrigger` outside the panel that can take focus. A
628
+ * closed panel is `inert` and cannot hold focus, so without this the browser
629
+ * drops focus to the document. The return runs on every close, whether a
630
+ * trigger, `setOpen`, or a controlled parent closed the panel. A trigger that
631
+ * CSS hides at the current breakpoint, or a disabled one, cannot take focus
632
+ * either, so a responsive header with one trigger per breakpoint lands on the
633
+ * visible one.
634
+ *
635
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanelroot
636
+ *
637
+ * @example
638
+ * ```tsx
639
+ * <Sidebar.Root>
640
+ * <AppLayout.Root className="fixed inset-0">
641
+ * <SkipToMainLink />
642
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
643
+ * <AppLayout.SidePanelRoot>
644
+ * <AppLayout.Workspace>
645
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
646
+ * <AppLayout.Content>
647
+ * <AppLayout.Header>
648
+ * <AppLayout.HeaderStart>
649
+ * <Sidebar.Trigger />
650
+ * </AppLayout.HeaderStart>
651
+ * <AppLayout.HeaderContent>
652
+ * <Breadcrumbs />
653
+ * </AppLayout.HeaderContent>
654
+ * <AppLayout.HeaderActions>
655
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
656
+ * </AppLayout.HeaderActions>
657
+ * </AppLayout.Header>
658
+ * <AppLayout.Body>
659
+ * <Outlet />
660
+ * </AppLayout.Body>
661
+ * </AppLayout.Content>
662
+ * <AppLayout.SidePanel aria-label="Assistant">
663
+ * <AppLayout.SidePanelHeader>
664
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
665
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
666
+ * </AppLayout.SidePanelHeader>
667
+ * <AppLayout.SidePanelBody>
668
+ * <AssistantConversation />
669
+ * </AppLayout.SidePanelBody>
670
+ * <AppLayout.SidePanelFooter>
671
+ * <AssistantComposer />
672
+ * </AppLayout.SidePanelFooter>
673
+ * </AppLayout.SidePanel>
674
+ * </AppLayout.Workspace>
675
+ * </AppLayout.SidePanelRoot>
676
+ * </AppLayout.Root>
677
+ * </Sidebar.Root>
678
+ * ```
679
+ */
680
+ declare const SidePanelRoot: ({ children, defaultOpen, onOpenChange, open: openProp }: AppLayoutSidePanelRootProps) => import("react").JSX.Element;
681
+ /**
682
+ * The props for `AppLayout.SidePanel`: an `<aside>`'s props except `id`, and
683
+ * the breakpoint the panel owns.
684
+ *
685
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanel
686
+ */
687
+ type AppLayoutSidePanelProps = Omit<ComponentProps<"aside">, "id"> & WithDataSlot & {
688
+ /**
689
+ * The viewport width below which the panel floats over the card instead
690
+ * of taking width beside it. One breakpoint lower it covers the card from
691
+ * gutter to gutter; with `"sm"` there is no lower breakpoint, so it covers
692
+ * the card as soon as it floats. Match it to `Sidebar.Root`'s
693
+ * `mobileBreakpoint`, so the sidebar and the panel change presentation at
694
+ * one width.
695
+ *
696
+ * @default "lg"
697
+ */
698
+ mobileBreakpoint?: AppLayoutSidePanelMobileBreakpoint;
699
+ };
700
+ /**
701
+ * A second card beside `AppLayout.Content`, for an assistant, a details pane, or
702
+ * any surface that opens next to the page and closes again. Render it as the
703
+ * **last child of `AppLayout.Workspace`**, after the card, inside an
704
+ * `AppLayout.SidePanelRoot` that owns whether it is open. Renders an
705
+ * `<aside>`, so it is the `complementary` landmark; name it with `aria-label`.
706
+ * `id` is not a prop: the root generates it, and `AppLayout.SidePanelTrigger`
707
+ * points `aria-controls` at it.
708
+ *
709
+ * It takes the same card treatment as `AppLayout.Content` (`bg-card
710
+ * border-card-muted rounded-xl border shadow-sm overflow-clip`) and reads like
711
+ * a `Sheet` with no focus trap and no backdrop, because the page beside it
712
+ * stays usable. Three parts fill it:
713
+ *
714
+ * - `AppLayout.SidePanelHeader` for the title and the close control. It sits
715
+ * on the same band as `AppLayout.Header`, so the two rows center on one line.
716
+ * - `AppLayout.SidePanelBody` for the scroll region.
717
+ * - `AppLayout.SidePanelFooter`, optional, for a composer or an action row.
718
+ *
719
+ * It keeps the card gutter on its top, end, and bottom edges and none on its
720
+ * start edge, so the card's own end margin is the gap between the two, one
721
+ * gutter wide.
722
+ *
723
+ * It opens and closes the way `Sidebar.Nav` collapses, and nothing else moves:
724
+ *
725
+ * - The `<aside>` is a clip box whose `flex-basis` animates between the open
726
+ * width plus the end inset and zero over 200ms (`ease-out-strong`).
727
+ * - The card is an inner column pinned to the box's end inset at the open
728
+ * width, so the content never reflows or shifts.
729
+ * - The box's start edge sweeps across the card.
730
+ *
731
+ * It carries `view-transition-class: app-layout-card`, the same as
732
+ * `AppLayout.Content`, so a panel and a card with the same
733
+ * `view-transition-name` morph into each other on a navigation that swaps
734
+ * them. `mantle.css` styles the morph.
735
+ *
736
+ * A CSS transition reverses from wherever it is, so a second click mid-flight
737
+ * turns the panel around. `motion-reduce:transition-none` turns the slide into
738
+ * a cut. `not-data-hydrated:transition-none` holds the transition until one
739
+ * frame after hydration, so a state the client corrects after the server
740
+ * render snaps instead of sliding on page load. When a close ends, the
741
+ * transition stays off until the next open, so a closed panel snaps when the
742
+ * viewport crosses `mobileBreakpoint` or the sidebar changes. The `transition-*` and
743
+ * `duration-*` utilities are bare, so a merged `transition-none` or
744
+ * `duration-*` replaces them through tailwind-merge.
745
+ *
746
+ * Closed, the box is `basis-0 pointer-events-none` and `inert`,
747
+ * so nothing inside it is focusable, clickable, or read by assistive
748
+ * technology, and its children stay mounted: a conversation keeps its scroll
749
+ * position, its focus target, and its in-flight reply across a close and a
750
+ * reopen.
751
+ *
752
+ * Below `mobileBreakpoint` the panel floats over the card instead of taking
753
+ * width from it: `absolute`, pinned to the row's end edge inside the card
754
+ * gutter, `min(24rem, 100cqw - 5rem)` wide (24rem, or the row less a 5rem
755
+ * strip of page when the row is narrower), with a larger shadow and `z-20` so
756
+ * it paints above a page's own sticky rows. Closed, it slides off the end edge
757
+ * instead of collapsing and goes `invisible` the instant the slide ends, so a
758
+ * row narrower than the frame has no panel strip beside it. One breakpoint
759
+ * lower it covers the card from gutter to gutter, because a strip of page
760
+ * beside a 24rem panel is no page at all on a phone.
761
+ * With `"sm"` there is no lower breakpoint, so the panel covers the card as
762
+ * soon as it floats. Two cards side by side in 900px are two unusable cards.
763
+ *
764
+ * The panel also floats, with the same strip treatment, whenever the
765
+ * `AppLayout.Workspace` row is narrower than the lane it needs, whatever the
766
+ * viewport is. The row is the named container `app-layout-workspace`, and
767
+ * the lane depends on the sidebar beside the card: `--container-side-panel-lane`
768
+ * (56.5rem: the expanded sidebar, the card at the panel's floor, the panel, and
769
+ * the three gutters) while a direct child of the row is an expanded
770
+ * `Sidebar.Nav`, and `--container-side-panel-lane-collapsed` (46.75rem: the
771
+ * same row with the collapsed sidebar) with a collapsed sidebar, no sidebar, or a sidebar that
772
+ * is a sheet. An expanded sidebar at a tablet width floats the panel instead of
773
+ * squeezing the page narrower than it, and collapsing the sidebar returns the
774
+ * panel to the lane. A `Sidebar.Root` in the same shell does that for the
775
+ * reader: while the open panel is below `--container-side-panel-lane`, an
776
+ * expanded sidebar collapses, and it expands again when the panel closes. A
777
+ * wider sidebar or panel raises the tokens in `@theme`.
778
+ *
779
+ * A drag on `AppLayout.SidePanelHeader` toward the end edge swipes the panel
780
+ * away in every presentation: a floating panel slides, and a panel in the
781
+ * lane shrinks the way its close animation does. A floating panel is also an
782
+ * overlay: `Escape` closes it while focus is inside, after an open combobox
783
+ * or popover inside it has taken its own `Escape`. A panel in the lane is a
784
+ * docked pane and ignores `Escape`. The root returns focus to the trigger
785
+ * outside on every close.
786
+ *
787
+ * When the panel covers the row, it is modal. The row's other children (the
788
+ * card and the sidebar) go `inert` while it is open, so nothing beneath it is
789
+ * clickable or read; `useFocusTrap` wraps `Tab` inside it and moves focus
790
+ * into it on open. The one `<aside>` stays mounted across the lane, the
791
+ * float, and the cover, so a conversation keeps its DOM and the trap turns
792
+ * on and off with the viewport.
793
+ *
794
+ * **CSS variables (public API):**
795
+ *
796
+ * | CSS Variable | Default | Description |
797
+ * | --- | --- | --- |
798
+ * | `--app-layout-side-panel-width` | `clamp(21rem, 24cqw, 27rem)` | The panel's width beside the card: a quarter of the `AppLayout.Workspace` row, never narrower than 336px and never wider than 432px. It reads the row, not the viewport, so a row narrower than the viewport holds the panel at its floor and the page keeps the rest. Set it on `AppLayout.Root` or on this part. |
799
+ * | `--app-layout-card-gutter` | `0.5rem` | Read, not owned: `AppLayout.Content` owns this token. The panel keeps it on its top, end, and bottom edges, and the floating panel insets itself by it. Set it on `AppLayout.Root` or another common ancestor of the card and the panel, not on `AppLayout.Content`: custom properties inherit downward only, so a value on the card never reaches the panel. |
800
+ * | `--container-side-panel-lane` | `56.5rem` | A theme token the row's container query reads: the narrowest `AppLayout.Workspace` row that holds an expanded `Sidebar.Nav` (13rem), the card at the panel's floor (21rem), the panel (21rem), and the three gutters. Below it the panel floats while a direct child of the row is an expanded sidebar. Set it in `@theme`, not on an element. |
801
+ * | `--container-side-panel-lane-collapsed` | `46.75rem` | The same row with the collapsed sidebar (3.25rem) in place of the expanded one, or with no sidebar. Below it the panel floats whatever state the sidebar is in. Set it in `@theme`, not on an element. |
802
+ *
803
+ * **Data attributes (public API):**
804
+ *
805
+ * | Data Attribute | Value | Description |
806
+ * | --- | --- | --- |
807
+ * | `data-open` | present while open | Presence-only. Mirrors the root's open state. The collapse and the transition key off it in CSS, and consumers style against it. |
808
+ * | `data-hydrated` | present one frame after hydration | Presence-only. The transition keys off its absence in CSS (`not-data-hydrated:transition-none`), so a state correction after the server render snaps instead of animating. |
809
+ *
810
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanel
811
+ *
812
+ * @example
813
+ * ```tsx
814
+ * <Sidebar.Root>
815
+ * <AppLayout.Root className="fixed inset-0">
816
+ * <SkipToMainLink />
817
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
818
+ * <AppLayout.SidePanelRoot>
819
+ * <AppLayout.Workspace>
820
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
821
+ * <AppLayout.Content>
822
+ * <AppLayout.Header>
823
+ * <AppLayout.HeaderStart>
824
+ * <Sidebar.Trigger />
825
+ * </AppLayout.HeaderStart>
826
+ * <AppLayout.HeaderContent>
827
+ * <Breadcrumbs />
828
+ * </AppLayout.HeaderContent>
829
+ * <AppLayout.HeaderActions>
830
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
831
+ * </AppLayout.HeaderActions>
832
+ * </AppLayout.Header>
833
+ * <AppLayout.Body>
834
+ * <Outlet />
835
+ * </AppLayout.Body>
836
+ * </AppLayout.Content>
837
+ * <AppLayout.SidePanel aria-label="Assistant">
838
+ * <AppLayout.SidePanelHeader>
839
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
840
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
841
+ * </AppLayout.SidePanelHeader>
842
+ * <AppLayout.SidePanelBody>
843
+ * <AssistantConversation />
844
+ * </AppLayout.SidePanelBody>
845
+ * <AppLayout.SidePanelFooter>
846
+ * <AssistantComposer />
847
+ * </AppLayout.SidePanelFooter>
848
+ * </AppLayout.SidePanel>
849
+ * </AppLayout.Workspace>
850
+ * </AppLayout.SidePanelRoot>
851
+ * </AppLayout.Root>
852
+ * </Sidebar.Root>
853
+ * ```
854
+ */
855
+ declare const SidePanel: ({ children, className, "data-slot": dataSlot, mobileBreakpoint, onBlur, onFocus, onKeyDown, ref, ...props }: AppLayoutSidePanelProps) => import("react").JSX.Element;
856
+ /**
857
+ * The props for `AppLayout.SidePanelTrigger`: `IconButton`'s props, except the
858
+ * parts the trigger owns. The type omits `asChild` and `children` (the trigger
859
+ * renders only its icon and `aria-label`; build a custom trigger with
860
+ * `useSidePanel` instead). `appearance`, `icon`, `intent`, `label`, and `size`
861
+ * become optional with side panel defaults. `onClick` runs before the toggle; call
862
+ * `event.preventDefault()` in it to keep the panel where it is.
863
+ *
864
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepaneltrigger
865
+ *
866
+ * @example
867
+ * ```tsx
868
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
869
+ * ```
870
+ */
871
+ type AppLayoutSidePanelTriggerProps = Omit<IconButtonProps, "appearance" | "asChild" | "children" | "icon" | "intent" | "label" | "size"> & WithDataSlot & {
872
+ /**
873
+ * The visual style of the trigger `IconButton`.
874
+ *
875
+ * @default "ghost"
876
+ */
877
+ appearance?: IconButtonProps["appearance"];
878
+ /**
879
+ * The icon rendered inside the trigger.
880
+ *
881
+ * @default <SidebarSimpleIcon mirrored />
882
+ */
883
+ icon?: ReactNode;
884
+ /**
885
+ * The color intent of the trigger `IconButton`.
886
+ *
887
+ * @default "neutral"
888
+ */
889
+ intent?: IconButtonProps["intent"];
890
+ /**
891
+ * The accessible name of the trigger, also shown in its tooltip.
892
+ *
893
+ * @default "Toggle side panel"
894
+ */
895
+ label?: string;
896
+ /**
897
+ * The size of the trigger `IconButton`. Small, so it sits level with the
898
+ * other `size="sm"` controls in an `AppLayout.Header` row.
899
+ *
900
+ * @default "sm"
901
+ */
902
+ size?: IconButtonProps["size"];
903
+ };
904
+ /**
905
+ * The button that toggles `AppLayout.SidePanel`, the way `Sidebar.Trigger`
906
+ * toggles the sidebar. Renders a small ghost neutral `IconButton` with `aria-expanded`
907
+ * and `aria-controls` wired to the panel's `<aside>`. Place one in
908
+ * `AppLayout.HeaderActions` to open the panel, and one more in
909
+ * `AppLayout.SidePanelHeader` with a close icon to close it from inside: when
910
+ * that one closes the panel, the root moves focus to the one outside. A
911
+ * consumer `onClick` runs before the toggle, and `event.preventDefault()` in
912
+ * it keeps the panel where it is.
913
+ *
914
+ * The button is icon-only, so it always renders a tooltip showing `label`.
915
+ *
916
+ * **Data attributes (public API):**
917
+ *
918
+ * | Data Attribute | Value | Description |
919
+ * | --- | --- | --- |
920
+ * | `data-slot` | `"app-layout-side-panel-trigger icon-button"` | On the button: the part's slot, joined ahead of `IconButton`'s own. |
921
+ * | `data-slot` | `"app-layout-side-panel-trigger-tooltip tooltip-content"` | On the tooltip surface, not the button: the styling hook for the label popup this part renders, joined ahead of `Tooltip.Content`'s own slot. |
922
+ * | `data-appearance` | `"filled"` \| `"ghost"` \| `"outlined"` | Read, not stamped: the underlying `IconButton` reflects its `appearance`, which this part defaults to `"ghost"`. |
923
+ * | `data-intent` | `"neutral"` | Read, not stamped: the underlying `IconButton` reflects its `intent`, which this part defaults to `"neutral"`. |
924
+ * | `data-size` | `"xs"` \| `"sm"` \| `"md"` \| `"lg"` \| `"xl"` | Read, not stamped: the underlying `IconButton` reflects its `size`, which this part defaults to `"sm"`. |
925
+ * | `data-icon-button` | `"true"` | Read, not stamped: always present on the underlying `IconButton`. |
926
+ * | `data-loading` | present when `isLoading` | Read, not stamped: the underlying `IconButton` stamps it by presence, never `"false"`. |
927
+ *
928
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepaneltrigger
929
+ *
930
+ * @example
931
+ * ```tsx
932
+ * <Sidebar.Root>
933
+ * <AppLayout.Root className="fixed inset-0">
934
+ * <SkipToMainLink />
935
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
936
+ * <AppLayout.SidePanelRoot>
937
+ * <AppLayout.Workspace>
938
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
939
+ * <AppLayout.Content>
940
+ * <AppLayout.Header>
941
+ * <AppLayout.HeaderStart>
942
+ * <Sidebar.Trigger />
943
+ * </AppLayout.HeaderStart>
944
+ * <AppLayout.HeaderContent>
945
+ * <Breadcrumbs />
946
+ * </AppLayout.HeaderContent>
947
+ * <AppLayout.HeaderActions>
948
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
949
+ * </AppLayout.HeaderActions>
950
+ * </AppLayout.Header>
951
+ * <AppLayout.Body>
952
+ * <Outlet />
953
+ * </AppLayout.Body>
954
+ * </AppLayout.Content>
955
+ * <AppLayout.SidePanel aria-label="Assistant">
956
+ * <AppLayout.SidePanelHeader>
957
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
958
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
959
+ * </AppLayout.SidePanelHeader>
960
+ * <AppLayout.SidePanelBody>
961
+ * <AssistantConversation />
962
+ * </AppLayout.SidePanelBody>
963
+ * <AppLayout.SidePanelFooter>
964
+ * <AssistantComposer />
965
+ * </AppLayout.SidePanelFooter>
966
+ * </AppLayout.SidePanel>
967
+ * </AppLayout.Workspace>
968
+ * </AppLayout.SidePanelRoot>
969
+ * </AppLayout.Root>
970
+ * </Sidebar.Root>
971
+ * ```
972
+ */
973
+ declare const SidePanelTrigger: ({ appearance, "data-slot": dataSlot, icon, intent, label, onClick, size, ...props }: AppLayoutSidePanelTriggerProps) => import("react").JSX.Element;
974
+ /**
975
+ * The toolbar row at the top of `AppLayout.SidePanel`: the panel's title at the
976
+ * start and its controls at the end, with the close control last. Render it as
977
+ * the **first child of `AppLayout.SidePanel`**. A flex row (`flex shrink-0
978
+ * items-center gap-2 border-b px-4`) on the same band as `AppLayout.Header`, so
979
+ * the two rows and a sidebar header's switcher row center on one line, by the
980
+ * same derivation (`h-14` standalone, the sidebar header's band minus twice the
981
+ * card gutter and twice the hairline border with a `Sidebar.Header` in the
982
+ * shell). Give the title `min-w-0 flex-1 truncate`, so it gives up width before
983
+ * a control does. Merge `border-b-0` for a header with no rule under it.
984
+ *
985
+ * Renders a `<div>`, not a `<header>`: the row is a toolbar, not the panel's
986
+ * introduction, and it keeps one element shape with `AppLayout.Header`. A
987
+ * `<header>` inside the `<aside>` scopes to the panel and claims no landmark,
988
+ * so if the row introduces the panel, compose a `<header>` with `asChild`.
989
+ *
990
+ * The row is the panel's swipe handle, through `useSwipeToDismiss`, in every
991
+ * presentation. A drag toward the end edge follows the pointer one to one: a
992
+ * floating panel slides, and a panel in the lane shrinks its basis the way
993
+ * its own close animation does, so the page grows under the finger. A
994
+ * release past 25% of the panel's width, or a flick, closes it; a shorter
995
+ * drag springs back on the panel's own 200ms ease-out, so `motion-reduce:`
996
+ * turns it into a cut, and a drag the wrong way meets rubber-band
997
+ * resistance. The row is `touch-pan-y`, so a vertical swipe still scrolls,
998
+ * and a tap on a control in the row stays a tap.
999
+ *
1000
+ * **CSS variables (public API):**
1001
+ *
1002
+ * | CSS Variable | Default | Description |
1003
+ * | --- | --- | --- |
1004
+ * | `--sidebar-header-height` | `4.5rem` | Read, not owned: `Sidebar.Header` owns this token. With a sidebar header in the shell, this row derives its height from it, the same way `AppLayout.Header` does. |
1005
+ * | `--app-layout-card-gutter` | `0.5rem` | Read, not owned: `AppLayout.Content` owns this token. The derived height subtracts twice its value. |
1006
+ *
1007
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanelheader
1008
+ *
1009
+ * @example
1010
+ * ```tsx
1011
+ * <Sidebar.Root>
1012
+ * <AppLayout.Root className="fixed inset-0">
1013
+ * <SkipToMainLink />
1014
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
1015
+ * <AppLayout.SidePanelRoot>
1016
+ * <AppLayout.Workspace>
1017
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
1018
+ * <AppLayout.Content>
1019
+ * <AppLayout.Header>
1020
+ * <AppLayout.HeaderStart>
1021
+ * <Sidebar.Trigger />
1022
+ * </AppLayout.HeaderStart>
1023
+ * <AppLayout.HeaderContent>
1024
+ * <Breadcrumbs />
1025
+ * </AppLayout.HeaderContent>
1026
+ * <AppLayout.HeaderActions>
1027
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
1028
+ * </AppLayout.HeaderActions>
1029
+ * </AppLayout.Header>
1030
+ * <AppLayout.Body>
1031
+ * <Outlet />
1032
+ * </AppLayout.Body>
1033
+ * </AppLayout.Content>
1034
+ * <AppLayout.SidePanel aria-label="Assistant">
1035
+ * <AppLayout.SidePanelHeader>
1036
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
1037
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
1038
+ * </AppLayout.SidePanelHeader>
1039
+ * <AppLayout.SidePanelBody>
1040
+ * <AssistantConversation />
1041
+ * </AppLayout.SidePanelBody>
1042
+ * <AppLayout.SidePanelFooter>
1043
+ * <AssistantComposer />
1044
+ * </AppLayout.SidePanelFooter>
1045
+ * </AppLayout.SidePanel>
1046
+ * </AppLayout.Workspace>
1047
+ * </AppLayout.SidePanelRoot>
1048
+ * </AppLayout.Root>
1049
+ * </Sidebar.Root>
1050
+ * ```
1051
+ */
1052
+ declare const SidePanelHeader: ({ asChild, children, className, "data-slot": dataSlot, ref, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
1053
+ /**
1054
+ * The scroll region of `AppLayout.SidePanel`, and the only part of the panel
1055
+ * that scrolls (`scrollbar scrollbar-gutter-stable relative min-h-0 w-full
1056
+ * flex-1 overflow-y-auto overscroll-none`). Render it after
1057
+ * `AppLayout.SidePanelHeader`. It is the
1058
+ * same box as `AppLayout.Body` with no landmark: the page's body already owns
1059
+ * `main`, and a second scroll region beside it is plain content. It is block
1060
+ * inside, so a child that asks for `h-full` fills the panel between the header
1061
+ * and the footer, and `mx-auto max-w-*` still centers.
1062
+ *
1063
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanelbody
1064
+ *
1065
+ * @example
1066
+ * ```tsx
1067
+ * <Sidebar.Root>
1068
+ * <AppLayout.Root className="fixed inset-0">
1069
+ * <SkipToMainLink />
1070
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
1071
+ * <AppLayout.SidePanelRoot>
1072
+ * <AppLayout.Workspace>
1073
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
1074
+ * <AppLayout.Content>
1075
+ * <AppLayout.Header>
1076
+ * <AppLayout.HeaderStart>
1077
+ * <Sidebar.Trigger />
1078
+ * </AppLayout.HeaderStart>
1079
+ * <AppLayout.HeaderContent>
1080
+ * <Breadcrumbs />
1081
+ * </AppLayout.HeaderContent>
1082
+ * <AppLayout.HeaderActions>
1083
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
1084
+ * </AppLayout.HeaderActions>
1085
+ * </AppLayout.Header>
1086
+ * <AppLayout.Body>
1087
+ * <Outlet />
1088
+ * </AppLayout.Body>
1089
+ * </AppLayout.Content>
1090
+ * <AppLayout.SidePanel aria-label="Assistant">
1091
+ * <AppLayout.SidePanelHeader>
1092
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
1093
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
1094
+ * </AppLayout.SidePanelHeader>
1095
+ * <AppLayout.SidePanelBody>
1096
+ * <AssistantConversation />
1097
+ * </AppLayout.SidePanelBody>
1098
+ * <AppLayout.SidePanelFooter>
1099
+ * <AssistantComposer />
1100
+ * </AppLayout.SidePanelFooter>
1101
+ * </AppLayout.SidePanel>
1102
+ * </AppLayout.Workspace>
1103
+ * </AppLayout.SidePanelRoot>
1104
+ * </AppLayout.Root>
1105
+ * </Sidebar.Root>
1106
+ * ```
1107
+ */
1108
+ declare const SidePanelBody: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
1109
+ /**
1110
+ * The bar pinned to the bottom of `AppLayout.SidePanel`: a composer, a save
1111
+ * row, a status line. Render it after `AppLayout.SidePanelBody`. A `shrink-0`
1112
+ * column (`flex shrink-0 flex-col gap-2 px-3 pb-3`) outside the scroll
1113
+ * region, so the body scrolls under it and it never scrolls away. It draws no
1114
+ * rule above itself: the composer frame inside it is the edge. Merge
1115
+ * `flex-row justify-end` for an action row. Optional.
1116
+ *
1117
+ * The panel has a footer part where `AppLayout.Content` has none, because the
1118
+ * panel's author owns its whole subtree: no route renders through an
1119
+ * `<Outlet />` inside it, so a bar here is always the panel's own.
1120
+ *
1121
+ * @see https://mantle.ngrok.com/layouts/app-layout#applayoutsidepanelfooter
1122
+ *
1123
+ * @example
1124
+ * ```tsx
1125
+ * <Sidebar.Root>
1126
+ * <AppLayout.Root className="fixed inset-0">
1127
+ * <SkipToMainLink />
1128
+ * <AppLayout.Notice>{isUnderMaintenance && <MaintenanceBanner />}</AppLayout.Notice>
1129
+ * <AppLayout.SidePanelRoot>
1130
+ * <AppLayout.Workspace>
1131
+ * <Sidebar.Nav aria-label="Main">…</Sidebar.Nav>
1132
+ * <AppLayout.Content>
1133
+ * <AppLayout.Header>
1134
+ * <AppLayout.HeaderStart>
1135
+ * <Sidebar.Trigger />
1136
+ * </AppLayout.HeaderStart>
1137
+ * <AppLayout.HeaderContent>
1138
+ * <Breadcrumbs />
1139
+ * </AppLayout.HeaderContent>
1140
+ * <AppLayout.HeaderActions>
1141
+ * <AppLayout.SidePanelTrigger icon={<SparkleIcon />} label="Toggle the assistant" />
1142
+ * </AppLayout.HeaderActions>
1143
+ * </AppLayout.Header>
1144
+ * <AppLayout.Body>
1145
+ * <Outlet />
1146
+ * </AppLayout.Body>
1147
+ * </AppLayout.Content>
1148
+ * <AppLayout.SidePanel aria-label="Assistant">
1149
+ * <AppLayout.SidePanelHeader>
1150
+ * <p className="text-strong min-w-0 flex-1 truncate text-sm font-medium">Assistant</p>
1151
+ * <AppLayout.SidePanelTrigger icon={<XIcon />} label="Close the assistant" />
1152
+ * </AppLayout.SidePanelHeader>
1153
+ * <AppLayout.SidePanelBody>
1154
+ * <AssistantConversation />
1155
+ * </AppLayout.SidePanelBody>
1156
+ * <AppLayout.SidePanelFooter>
1157
+ * <AssistantComposer />
1158
+ * </AppLayout.SidePanelFooter>
1159
+ * </AppLayout.SidePanel>
1160
+ * </AppLayout.Workspace>
1161
+ * </AppLayout.SidePanelRoot>
1162
+ * </AppLayout.Root>
1163
+ * </Sidebar.Root>
1164
+ * ```
1165
+ */
1166
+ declare const SidePanelFooter: ({ asChild, children, className, "data-slot": dataSlot, ...props }: ComponentProps<"div"> & WithAsChild & WithDataSlot) => import("react").JSX.Element;
1167
+ export { SidePanelHeader as _, AppLayoutSidePanelTriggerProps as a, Workspace as b, Header as c, HeaderStart as d, Notice as f, SidePanelFooter as g, SidePanelBody as h, AppLayoutSidePanelState as i, HeaderActions as l, SidePanel as m, AppLayoutSidePanelProps as n, Body as o, Root as p, AppLayoutSidePanelRootProps as r, Content as s, AppLayoutSidePanelMobileBreakpoint as t, HeaderContent as u, SidePanelRoot as v, useSidePanel as x, SidePanelTrigger as y };