@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
package/dist/agent.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@ngrok/mantle",
3
- "version": "0.94.0",
3
+ "version": "0.95.0",
4
4
  "origin": "https://mantle.ngrok.com",
5
5
  "endpoints": {
6
6
  "docs": "https://mantle.ngrok.com/",
7
7
  "forAiAgents": "https://mantle.ngrok.com/for-ai-agents",
8
+ "mcp": "https://mantle.ngrok.com/mcp",
8
9
  "llmsTxt": "https://mantle.ngrok.com/llms.txt",
9
10
  "llmsFullTxt": "https://mantle.ngrok.com/llms-full.txt",
10
11
  "components": "https://mantle.ngrok.com/api/components.json",
@@ -62,6 +63,7 @@
62
63
  "@ngrok/mantle/media-object",
63
64
  "@ngrok/mantle/multi-select",
64
65
  "@ngrok/mantle/otp-input",
66
+ "@ngrok/mantle/overlay-prompt",
65
67
  "@ngrok/mantle/pagination",
66
68
  "@ngrok/mantle/popover",
67
69
  "@ngrok/mantle/progress",
@@ -90,13 +92,16 @@
90
92
  "@ngrok/mantle/text-area",
91
93
  "@ngrok/mantle/theme",
92
94
  "@ngrok/mantle/theme-switcher",
95
+ "@ngrok/mantle/time-zone",
93
96
  "@ngrok/mantle/toast",
94
97
  "@ngrok/mantle/tooltip",
95
98
  "@ngrok/mantle/truncated-text",
96
99
  "@ngrok/mantle/types",
100
+ "@ngrok/mantle/typography",
97
101
  "@ngrok/mantle/utils",
98
102
  "@ngrok/mantle/visually-hidden",
99
- "@ngrok/mantle/well"
103
+ "@ngrok/mantle/well",
104
+ "@ngrok/mantle/world-map"
100
105
  ],
101
106
  "components": [
102
107
  {
@@ -112,7 +117,7 @@
112
117
  "jsdoc": "A vertically stacked set of disclosure sections styled after the shadcn / ngrok.com accordion.",
113
118
  "examples": [
114
119
  "Composition:\n```\nAccordion.Root\n└── Accordion.Item\n ├── Accordion.Trigger\n │ └── Accordion.TriggerIcon\n └── Accordion.Content\n └── Accordion.Body\n```",
115
- "<Accordion.Root type=\"single\" defaultValue=\"item-1\">\n <Accordion.Item value=\"item-1\">\n <Accordion.Trigger>\n Is it accessible?\n <Accordion.TriggerIcon />\n </Accordion.Trigger>\n <Accordion.Content>\n <Accordion.Body>Yes. It adheres to the WAI-ARIA disclosure pattern.</Accordion.Body>\n </Accordion.Content>\n </Accordion.Item>\n</Accordion.Root>"
120
+ "```tsx\n<Accordion.Root type=\"single\" defaultValue=\"item-1\">\n <Accordion.Item value=\"item-1\">\n <Accordion.Trigger>\n Is it accessible?\n <Accordion.TriggerIcon />\n </Accordion.Trigger>\n <Accordion.Content>\n <Accordion.Body>Yes. It adheres to the WAI-ARIA disclosure pattern.</Accordion.Body>\n </Accordion.Content>\n </Accordion.Item>\n</Accordion.Root>\n```"
116
121
  ],
117
122
  "siblings": [
118
123
  {
@@ -124,7 +129,7 @@
124
129
  "boundary": "every section stays open, with its title and explanation beside its content."
125
130
  }
126
131
  ],
127
- "useWhen": "Stack titled sections that each expand and collapse in place, such as questions and answers or a group of advanced settings.",
132
+ "useWhen": "Stack titled sections that each expand and collapse in place to show and hide their content, such as questions and answers or a group of advanced settings.",
128
133
  "aliases": [
129
134
  "collapsible",
130
135
  "collapse",
@@ -165,11 +170,13 @@
165
170
  "boundary": "a region has no data, no results, or no access to show."
166
171
  }
167
172
  ],
168
- "useWhen": "Show a persistent message in the page, such as a warning, an error, or a success note, beside the content it describes.",
173
+ "useWhen": "Show a persistent message in the page, such as a warning about degraded data, an error, or a success note, beside the content it describes.",
169
174
  "aliases": [
170
175
  "callout",
171
176
  "notice",
172
- "admonition"
177
+ "admonition",
178
+ "inline alert",
179
+ "page banner"
173
180
  ]
174
181
  },
175
182
  {
@@ -182,10 +189,10 @@
182
189
  "docsUrl": "https://mantle.ngrok.com/components/feedback/alert-center",
183
190
  "markdownUrl": "https://mantle.ngrok.com/components/feedback/alert-center.md",
184
191
  "summary": "A single top-level bar that surfaces one-to-many account alerts and their upgrade CTAs, expanding additional alerts inline.",
185
- "jsdoc": "A single, top-level entry point for one-to-many account alerts and their upgrade CTAs — the aggregation layer that replaces a stack of independent window banners.",
192
+ "jsdoc": "A single, top-level entry point for one-to-many account alerts and their upgrade CTAs: the aggregation layer that replaces a stack of independent window banners.",
186
193
  "examples": [
187
- "Composition (items render no DOM in place; their children portal into a\nstable host the bar or a row adopts):\n```\nAlertCenter.Root\n├── AlertCenter.Bar ← the top-ranked item's children, in Alert chrome\n├── AlertCenter.Content ← every other item's children, as ranked rows\n└── AlertCenter.Item (0..n, renderless)\n └── Alert.Icon / Alert.Content / Alert.Title / Alert.Description /\n AlertCenter.DismissIconButton\n```",
188
- "```tsx\n<AppLayout.Root className=\"fixed inset-0\">\n <AppLayout.Notice>\n {showPreviewNotice && <PreviewNotice />}\n <AlertCenter.Root>\n <AlertCenter.Bar />\n <AlertCenter.Content />\n <AlertCenter.Item id=\"payment-failed\" intent=\"danger\">\n <Alert.Icon />\n <Alert.Content>\n <Alert.Title>\n Payment failed — we couldn't charge your card.{\" \"}\n <a href=\"/billing\">Update payment method</a>\n </Alert.Title>\n <Alert.Description>\n Update your payment method to avoid a service interruption.\n </Alert.Description>\n </Alert.Content>\n </AlertCenter.Item>\n {!dismissed.has(\"transfer-limit\") && (\n <AlertCenter.Item id=\"transfer-limit\" intent=\"warning\">\n <Alert.Icon />\n <Alert.Content>\n <Alert.Title>\n You've used 92% of your monthly transfer.{\" \"}\n <a href=\"/billing/choose-a-plan\">Upgrade</a>\n </Alert.Title>\n <AlertCenter.DismissIconButton onClick={() => dismiss(\"transfer-limit\")} />\n </Alert.Content>\n </AlertCenter.Item>\n )}\n </AlertCenter.Root>\n </AppLayout.Notice>\n <AppLayout.Workspace>…</AppLayout.Workspace>\n</AppLayout.Root>\n```"
194
+ "Composition (after hydration, items render no DOM in place; their children\nportal into a stable host the bar or a row adopts):\n```\nAlertCenter.Root\n├── AlertCenter.Bar ← the top-ranked item's children, in Alert chrome\n├── AlertCenter.Content ← every other item's children, as ranked rows\n└── AlertCenter.Item (0..n, renderless after hydration)\n └── Alert.Icon / Alert.Content / Alert.Title / Alert.Description /\n AlertCenter.DismissIconButton\n```",
195
+ "```tsx\n<AppLayout.Root className=\"fixed inset-0\">\n <AppLayout.Notice>\n {showPreviewNotice && <PreviewNotice />}\n <AlertCenter.Root>\n <AlertCenter.Bar />\n <AlertCenter.Content />\n <AlertCenter.Item id=\"payment-failed\" intent=\"danger\">\n <Alert.Icon />\n <Alert.Content>\n <Alert.Title>\n Payment failed: we couldn't charge your card.{\" \"}\n <a href=\"/billing\">Update payment method</a>\n </Alert.Title>\n <Alert.Description>\n Update your payment method to avoid a service interruption.\n </Alert.Description>\n </Alert.Content>\n </AlertCenter.Item>\n {!dismissed.has(\"transfer-limit\") && (\n <AlertCenter.Item id=\"transfer-limit\" intent=\"warning\">\n <Alert.Icon />\n <Alert.Content>\n <Alert.Title>\n You've used 92% of your monthly transfer.{\" \"}\n <a href=\"/billing/choose-a-plan\">Upgrade</a>\n </Alert.Title>\n <AlertCenter.DismissIconButton onClick={() => dismiss(\"transfer-limit\")} />\n </Alert.Content>\n </AlertCenter.Item>\n )}\n </AlertCenter.Root>\n </AppLayout.Notice>\n <AppLayout.Workspace>…</AppLayout.Workspace>\n</AppLayout.Root>\n```"
189
196
  ],
190
197
  "siblings": [
191
198
  {
@@ -249,8 +256,8 @@
249
256
  "importPath": "@ngrok/mantle/anchor",
250
257
  "docsUrl": "https://mantle.ngrok.com/components/navigation/anchor",
251
258
  "markdownUrl": "https://mantle.ngrok.com/components/navigation/anchor.md",
252
- "summary": "Fundamental component for rendering links to external addresses.",
253
- "jsdoc": "A styled hyperlink — a native `<a>` with mantle's link styling, focus treatment, optional leading/trailing icon, and a safer default for the `rel` attribute.",
259
+ "summary": "A fundamental component for rendering links to external addresses.",
260
+ "jsdoc": "A styled hyperlink: a native `<a>` with mantle's link styling, focus treatment, optional leading/trailing icon, and a safer default for the `rel` attribute.",
254
261
  "examples": [
255
262
  "```tsx\nimport { Anchor } from \"@ngrok/mantle/anchor\";\nimport { BookIcon } from \"@phosphor-icons/react/Book\";\nimport { Link } from \"react-router\";\n\n// Basic external link.\n<Anchor href=\"https://ngrok.com/\">ngrok.com</Anchor>\n\n// External link in a new tab with a leading icon. `rel` defaults to\n// \"noopener noreferrer\" when `target=\"_blank\"`.\n<Anchor href=\"https://ngrok.com/docs\" target=\"_blank\" icon={<BookIcon />}>\n ngrok docs\n</Anchor>\n\n// Compose Anchor styling onto a react-router Link for internal navigation.\n<Anchor asChild>\n <Link to=\"/dashboard\">Open dashboard</Link>\n</Anchor>\n```"
256
263
  ],
@@ -290,7 +297,7 @@
290
297
  "boundary": "the page is one focused flow with no sidebar, such as sign-in, onboarding, or a 404 page."
291
298
  }
292
299
  ],
293
- "useWhen": "Frame a signed-in app with navigation that persists across routes: a sidebar, a header toolbar, and one scrolling content card.",
300
+ "useWhen": "Frame a signed-in app with navigation that persists across routes: a sidebar, a header that holds the page heading and its actions, and one scrolling content card.",
294
301
  "aliases": [
295
302
  "app shell",
296
303
  "application shell",
@@ -307,7 +314,7 @@
307
314
  "docsUrl": "https://mantle.ngrok.com/components/charts/area-chart",
308
315
  "markdownUrl": "https://mantle.ngrok.com/components/charts/area-chart.md",
309
316
  "summary": "An area chart for showing how values (and, when stacked, a total and its parts) change over a continuous x axis.",
310
- "jsdoc": "An area chart for showing how values — and, when stacked, a total and its parts — change over a continuous x axis.",
317
+ "jsdoc": "An area chart for showing how values (and, when stacked, a total and its parts) change over a continuous x axis.",
311
318
  "examples": [
312
319
  "Composition:\n```\nAreaChart.Root\n├── AreaChart.Grid\n├── AreaChart.XAxis\n├── AreaChart.YAxis\n├── AreaChart.Area (one per series)\n├── AreaChart.ReferenceLine\n├── AreaChart.Tooltip\n├── AreaChart.Legend\n└── AreaChart.CopyButton\n```\n\nA List groups Roots:\n```\nAreaChart.List\n└── AreaChart.Root (one per chart)\n```",
313
320
  "```tsx\nconst data = [\n { date: new Date(\"2026-07-15\"), http: 4200, tcp: 1400 },\n { date: new Date(\"2026-07-16\"), http: 5100, tcp: 1650 },\n { date: new Date(\"2026-07-17\"), http: 4700, tcp: 1500 },\n];\n\n<AreaChart.Root data={data} xKey=\"date\" stacked aria-label=\"Traffic by protocol\">\n <AreaChart.Grid />\n <AreaChart.XAxis />\n <AreaChart.YAxis />\n <AreaChart.Area dataKey=\"http\" label=\"HTTP\" color=\"blue\" />\n <AreaChart.Area dataKey=\"tcp\" label=\"TCP\" color=\"emerald\" />\n <AreaChart.Tooltip />\n <AreaChart.Legend />\n</AreaChart.Root>\n```"
@@ -338,7 +345,7 @@
338
345
  "docsUrl": "https://mantle.ngrok.com/components/data-display/avatar",
339
346
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/avatar.md",
340
347
  "summary": "A small image representing a person or an account, with a text or icon fallback.",
341
- "jsdoc": "A small image representing a person or an account, with a text or icon fallback for when there is no picture — or before one loads.",
348
+ "jsdoc": "A small image representing a person or an account, with a text or icon fallback for when there is no picture, or before one loads.",
342
349
  "examples": [
343
350
  "Composition:\n```\nAvatar.Root\n├── Avatar.Image\n└── Avatar.Fallback\n```",
344
351
  "```tsx\n<Avatar.Root appearance=\"square\" colorSeed=\"acc_123\">\n <Avatar.Image src=\"https://example.com/acme.png\" alt=\"\" />\n <Avatar.Fallback name=\"Acme Corp\" />\n</Avatar.Root>\n```"
@@ -368,10 +375,10 @@
368
375
  "importPath": "@ngrok/mantle/badge",
369
376
  "docsUrl": "https://mantle.ngrok.com/components/data-display/badge",
370
377
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/badge.md",
371
- "summary": "A non-interactive label used to highlight short, scannable information — a status, a category tag, or a count — in the smallest possible footprint.",
372
- "jsdoc": "A non-interactive label used to highlight short, scannable information — a status, a category tag, or a count — in the smallest possible footprint.",
378
+ "summary": "A non-interactive label used to highlight short, scannable information (a status, a category tag, or a count) in the smallest possible footprint.",
379
+ "jsdoc": "A non-interactive label used to highlight short, scannable information (a status, a category tag, or a count) in the smallest possible footprint.",
373
380
  "examples": [
374
- "```tsx\nimport { Badge } from \"@ngrok/mantle/badge\";\nimport { CheckCircleIcon } from \"@phosphor-icons/react/CheckCircle\";\n\n<Badge appearance=\"muted\" color=\"success\" icon={<CheckCircleIcon />}>\n Succeeded\n</Badge>\n\n// Polymorphic — render the badge as a link, preserving its styling.\n<Badge appearance=\"muted\" color=\"info\" asChild>\n <a href=\"/status\">Operational</a>\n</Badge>\n```"
381
+ "```tsx\nimport { Badge } from \"@ngrok/mantle/badge\";\nimport { CheckCircleIcon } from \"@phosphor-icons/react/CheckCircle\";\n\n<Badge appearance=\"muted\" color=\"success\" icon={<CheckCircleIcon />}>\n Succeeded\n</Badge>\n\n// Polymorphic: render the badge as a link, preserving its styling.\n<Badge appearance=\"muted\" color=\"info\" asChild>\n <a href=\"/status\">Operational</a>\n</Badge>\n```"
375
382
  ],
376
383
  "siblings": [
377
384
  {
@@ -387,7 +394,7 @@
387
394
  "boundary": "the tags are values that the user picks and removes."
388
395
  }
389
396
  ],
390
- "useWhen": "Label an item with a short status, a category tag, or a count.",
397
+ "useWhen": "Label an item with a short status or state (such as active, paused, or unknown), a category tag, or a count, shown as one or two words on a colored background.",
391
398
  "aliases": [
392
399
  "tag",
393
400
  "chip",
@@ -438,7 +445,7 @@
438
445
  "docsUrl": "https://mantle.ngrok.com/components/navigation/breadcrumb",
439
446
  "markdownUrl": "https://mantle.ngrok.com/components/navigation/breadcrumb.md",
440
447
  "summary": "Hierarchy-path navigation, an ordered list of links from a root to the current page, in a labeled nav landmark.",
441
- "jsdoc": "Compound component for WAI-ARIA breadcrumb navigation — the path from a root to the current page as an ordered list of links inside a labeled `<nav>` landmark.",
448
+ "jsdoc": "Compound component for WAI-ARIA breadcrumb navigation: the path from a root to the current page as an ordered list of links inside a labeled `<nav>` landmark.",
442
449
  "examples": [
443
450
  "Composition:\n```\nBreadcrumb.Root\n└── Breadcrumb.List\n ├── Breadcrumb.Item\n │ └── Breadcrumb.Link\n ├── Breadcrumb.Separator\n ├── Breadcrumb.Item\n │ └── Breadcrumb.Label\n ├── Breadcrumb.Separator\n ├── Breadcrumb.Item\n │ └── Breadcrumb.Page\n └── Breadcrumb.Skeleton\n```",
444
451
  "```tsx\n<Breadcrumb.Root>\n\t<Breadcrumb.List>\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Link href=\"/\">Home</Breadcrumb.Link>\n\t\t</Breadcrumb.Item>\n\t\t<Breadcrumb.Separator />\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Link href=\"/endpoints\">Endpoints</Breadcrumb.Link>\n\t\t</Breadcrumb.Item>\n\t\t<Breadcrumb.Separator />\n\t\t<Breadcrumb.Item>\n\t\t\t<Breadcrumb.Page>ep_2h8…</Breadcrumb.Page>\n\t\t</Breadcrumb.Item>\n\t</Breadcrumb.List>\n</Breadcrumb.Root>\n```"
@@ -491,12 +498,12 @@
491
498
  "summary": "Initiates an action, such as completing a task or submitting information.",
492
499
  "jsdoc": "Renders a button or a component that looks like a button, an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology.",
493
500
  "examples": [
494
- "The default primary action — filled + neutral:\n```tsx\n<Button appearance=\"filled\" intent=\"neutral\" onClick={handleClick}>\n Click me\n</Button>\n```",
495
- "Submit a form — opt in with `type=\"submit\"` (the default `\"button\"` does not submit):\n```tsx\n<Button type=\"submit\" appearance=\"filled\" intent=\"neutral\">\n Save\n</Button>\n```",
501
+ "The default primary action (filled + neutral):\n```tsx\n<Button appearance=\"filled\" intent=\"neutral\" onClick={handleClick}>\n Click me\n</Button>\n```",
502
+ "Submit a form. Opt in with `type=\"submit\"` (the default `\"button\"` does not submit):\n```tsx\n<Button type=\"submit\" appearance=\"filled\" intent=\"neutral\">\n Save\n</Button>\n```",
496
503
  "Pass the icon through `icon`, never as a child:\n```tsx\n// ❌ <Button appearance=\"filled\" intent=\"neutral\"><PlusIcon />Create endpoint</Button>\n<Button appearance=\"filled\" intent=\"neutral\" icon={<PlusIcon />}>\n Create endpoint\n</Button>\n```",
497
504
  "Gate the button on readiness and on a pending action. An explicit `disabled`\nwins over `isLoading`, so `disabled` must cover both:\n```tsx\n<Button\n type=\"submit\"\n appearance=\"filled\"\n intent=\"neutral\"\n isLoading={isPending}\n disabled={!isReady || isPending}\n>\n Save\n</Button>\n```",
498
505
  "A button-styled link wraps a plain `<a>`, not `Anchor`:\n```tsx\n<Button asChild appearance=\"outlined\" intent=\"neutral\" icon={<ArrowSquareOutIcon />} iconPlacement=\"end\">\n <a href=\"https://ngrok.com/docs\" target=\"_blank\" rel=\"noreferrer\">\n Read the docs\n </a>\n</Button>\n```",
499
- "Icon-only buttons are not `Button`s — use `IconButton` instead (an icon-only\n`Button` has no accessible name and keeps its text-box padding):\n```tsx\n// ❌ <Button appearance=\"outlined\" intent=\"neutral\" icon={<CopyIcon />} onClick={copyPage} />\n<IconButton appearance=\"outlined\" intent=\"neutral\" icon={<CopyIcon />} label=\"Copy page\" onClick={copyPage} />\n```"
506
+ "Icon-only buttons are not `Button`s. Use `IconButton` instead (an icon-only\n`Button` has no accessible name and keeps its text-box padding):\n```tsx\n// ❌ <Button appearance=\"outlined\" intent=\"neutral\" icon={<CopyIcon />} onClick={copyPage} />\n<IconButton appearance=\"outlined\" intent=\"neutral\" icon={<CopyIcon />} label=\"Copy page\" onClick={copyPage} />\n```"
500
507
  ],
501
508
  "siblings": [
502
509
  {
@@ -611,8 +618,8 @@
611
618
  "importPath": "@ngrok/mantle/checkbox",
612
619
  "docsUrl": "https://mantle.ngrok.com/components/forms/checkbox",
613
620
  "markdownUrl": "https://mantle.ngrok.com/components/forms/checkbox.md",
614
- "summary": "A form control that allows the user to toggle between checked and not checked. Supports indeterminate state.",
615
- "jsdoc": "A form control that allows the user to toggle between checked and not checked.",
621
+ "summary": "A form control that toggles between checked and not checked, with an indeterminate state, alone or in a group of selectable cards.",
622
+ "jsdoc": "A form control that allows the user to toggle between checked and not checked, alone or in a group of cards.",
616
623
  "examples": [
617
624
  "```tsx\n<form>\n <Label htmlFor=\"terms\" className=\"flex items-center gap-2\">\n <Checkbox name=\"terms\" id=\"terms\" />\n Accept terms and conditions\n </Label>\n</form>\n```"
618
625
  ],
@@ -630,10 +637,14 @@
630
637
  "boundary": "the checkbox needs a title and a description beside it."
631
638
  }
632
639
  ],
633
- "useWhen": "Turn one or more independent options on or off in a form, with an indeterminate state for a partial selection.",
640
+ "useWhen": "Turn one or more independent options on or off in a form, with an indeterminate state for a partial selection. `CheckboxGroup` shows the options as selectable cards where the user picks several, for a \"select all that apply\" question.",
634
641
  "aliases": [
635
642
  "check box",
636
- "tickbox"
643
+ "tickbox",
644
+ "checkbox group",
645
+ "checkbox cards",
646
+ "selectable cards",
647
+ "multi-select cards"
637
648
  ]
638
649
  },
639
650
  {
@@ -648,7 +659,7 @@
648
659
  "summary": "A reusable indicator-left / content-right layout for a single choice (a control beside a titled, multi-line label).",
649
660
  "jsdoc": "A reusable indicator-left / content-right layout for a single choice: a control (checkbox, radio, switch) beside an emphasized title and an optional de-emphasized description.",
650
661
  "examples": [
651
- "Composition:\n```\nChoice.Root\n├── Choice.Indicator\n└── Choice.Content\n ├── Choice.Label (or Choice.Title — pick one)\n └── Choice.Description\n```",
662
+ "Composition:\n```\nChoice.Root\n├── Choice.Indicator\n└── Choice.Content\n ├── Choice.Label (or Choice.Title, pick one)\n └── Choice.Description\n```",
652
663
  "```tsx\n<Choice.Root name=\"notify\">\n <Choice.Indicator>\n <Checkbox />\n </Choice.Indicator>\n <Choice.Content>\n <Choice.Label>Email</Choice.Label>\n <Choice.Description>Get notified by email.</Choice.Description>\n </Choice.Content>\n</Choice.Root>\n```"
653
664
  ],
654
665
  "siblings": [
@@ -661,11 +672,12 @@
661
672
  "boundary": "the thing beside the text is an image or an icon, not a control."
662
673
  }
663
674
  ],
664
- "useWhen": "Put a checkbox, a radio, or a switch beside a title and an optional description.",
675
+ "useWhen": "Put a checkbox, a radio, or a toggle switch beside a title and an optional description, such as an explanation of one or more lines.",
665
676
  "aliases": [
666
677
  "checkbox with description",
667
678
  "radio with description",
668
- "switch with description"
679
+ "switch with description",
680
+ "checkbox on the left label on the right"
669
681
  ]
670
682
  },
671
683
  {
@@ -677,8 +689,8 @@
677
689
  "importPath": "@ngrok/mantle/code",
678
690
  "docsUrl": "https://mantle.ngrok.com/components/data-display/code",
679
691
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/code.md",
680
- "summary": "Marks a short fragment of inline computer code — a function name, a variable, a CLI flag, a key.",
681
- "jsdoc": "Marks a short fragment of inline computer code — a function name, a variable, a CLI flag, a key.",
692
+ "summary": "Marks a short fragment of inline computer code, such as a function name, a variable, a CLI flag, or a key.",
693
+ "jsdoc": "Marks a short fragment of inline computer code: a function name, a variable, a CLI flag, a key.",
682
694
  "examples": [
683
695
  "```tsx\nimport { Code } from \"@ngrok/mantle/code\";\n\n<p>\n Use the <Code>console.log()</Code> function to debug your code.\n</p>\n\n// As a link, preserving Code styling.\n<Code asChild>\n <a href=\"/api\">/api/components.json</a>\n</Code>\n```"
684
696
  ],
@@ -743,7 +755,7 @@
743
755
  "importPath": "@ngrok/mantle/combobox",
744
756
  "docsUrl": "https://mantle.ngrok.com/components/forms/combobox",
745
757
  "markdownUrl": "https://mantle.ngrok.com/components/forms/combobox.md",
746
- "summary": "Fill in a React input field with autocomplete & autosuggest functionalities. Choose from a list of suggested values with full keyboard support.",
758
+ "summary": "A text input with autocomplete: the user types to filter a list of suggested values and picks one, with full keyboard support.",
747
759
  "jsdoc": "Fill in a React input field with autocomplete & autosuggest functionalities.",
748
760
  "examples": [
749
761
  "Composition:\n```\nCombobox.Root\n├── Combobox.Input\n└── Combobox.Content\n ├── Combobox.Group\n │ ├── Combobox.GroupLabel\n │ └── Combobox.Item\n │ └── Combobox.ItemValue\n └── Combobox.Separator\n```",
@@ -817,31 +829,34 @@
817
829
  "importPath": "@ngrok/mantle/data-table",
818
830
  "docsUrl": "https://mantle.ngrok.com/components/data-display/data-table",
819
831
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/data-table.md",
820
- "summary": "Tables purposefully designed for dynamic, application data with features like sorting, filtering, and pagination.",
821
- "jsdoc": "Use `DataTable` for INTERACTIVE tabular data — sorting, filtering, pagination, row selection, and server-side or client-side data.",
832
+ "summary": "Tables purposefully designed for dynamic, application data with features like sorting, filtering, pagination, and expandable rows.",
833
+ "jsdoc": "Use `DataTable` for INTERACTIVE tabular data: sorting, filtering, pagination, row selection, expandable rows (a detail panel or sub-rows), and server-side or client-side data.",
822
834
  "examples": [
823
835
  "Composition:\n```\nDataTable.Root\n├── DataTable.Head\n│ └── DataTable.Row\n│ ├── DataTable.ExpandHeader\n│ ├── DataTable.Header\n│ │ └── DataTable.HeaderSortButton\n│ └── DataTable.ActionHeader\n└── DataTable.Body\n ├── DataTable.Row\n │ ├── DataTable.ControlCell\n │ │ └── DataTable.RowExpandButton\n │ ├── DataTable.Cell\n │ └── DataTable.ActionCell\n ├── DataTable.ExpandedRow\n └── DataTable.EmptyRow\n```",
824
- "Minimal — read-only table with a single sortable column:\n```tsx\nimport {\n DataTable,\n createColumnHelper,\n createSortedRowModel,\n rowSortingFeature,\n sortFn_alphanumeric,\n sortFn_datetime,\n sortFn_text,\n tableFeatures,\n useTable,\n} from \"@ngrok/mantle/data-table\";\n\ntype Row = { id: string; name: string };\n\n// Register only the features the table uses. Auto-sort resolves the\n// `alphanumeric`, `text`, and `datetime` comparators by name, so register those three.\nconst features = tableFeatures({\n rowSortingFeature,\n sortedRowModel: createSortedRowModel(),\n sortFns: {\n alphanumeric: sortFn_alphanumeric,\n datetime: sortFn_datetime,\n text: sortFn_text,\n },\n});\n\nconst columnHelper = createColumnHelper<typeof features, Row>();\nconst columns = columnHelper.columns([\n columnHelper.accessor(\"name\", {\n id: \"name\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Name\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n]);\n\nfunction MyTable({ data }: { data: Row[] }) {\n const table = useTable({ features, data, columns });\n const rows = table.getRowModel().rows;\n\n return (\n <DataTable.Root table={table}>\n <DataTable.Head />\n <DataTable.Body>\n {rows.length > 0\n ? rows.map((row) => <DataTable.Row key={row.id} row={row} />)\n : <DataTable.EmptyRow>No results.</DataTable.EmptyRow>}\n </DataTable.Body>\n </DataTable.Root>\n );\n}\n```",
825
- "Sortable, filterable, paginated, with both empty states — a global text\nfilter, the no-data vs. no-results-for-filter empty states (an `Empty`\ndropped into `DataTable.EmptyRow`), and `CursorPagination` with a page-size\ndropdown:\n```tsx\nimport {\n DataTable,\n columnFilteringFeature,\n createColumnHelper,\n createFilteredRowModel,\n createPaginatedRowModel,\n createSortedRowModel,\n globalFilteringFeature,\n rowPaginationFeature,\n rowSortingFeature,\n sortFn_alphanumeric,\n sortFn_datetime,\n sortFn_text,\n tableFeatures,\n useTable,\n} from \"@ngrok/mantle/data-table\";\nimport { Button } from \"@ngrok/mantle/button\";\nimport { CursorPagination, PaginationRange } from \"@ngrok/mantle/pagination\";\nimport { Empty } from \"@ngrok/mantle/empty\";\nimport { Input } from \"@ngrok/mantle/input\";\nimport { MagnifyingGlassIcon } from \"@phosphor-icons/react/MagnifyingGlass\";\nimport { TrayIcon } from \"@phosphor-icons/react/Tray\";\nimport { useState } from \"react\";\n\ntype Payment = { id: string; amount: number; status: \"pending\" | \"succeeded\" | \"failed\"; email: string };\n\n// The table's initial page size. It must be one of PageSizeSelect's pageSizes\n// (default 5 | 10 | 20 | 50 | 100).\nconst DEFAULT_PAGE_SIZE = 10;\n\n// `globalFilteringFeature` builds on `columnFilteringFeature`, so register both.\nconst features = tableFeatures({\n columnFilteringFeature,\n globalFilteringFeature,\n rowPaginationFeature,\n rowSortingFeature,\n filteredRowModel: createFilteredRowModel(),\n paginatedRowModel: createPaginatedRowModel(),\n sortedRowModel: createSortedRowModel(),\n sortFns: {\n alphanumeric: sortFn_alphanumeric,\n datetime: sortFn_datetime,\n text: sortFn_text,\n },\n});\n\nconst columnHelper = createColumnHelper<typeof features, Payment>();\nconst columns = columnHelper.columns([\n columnHelper.accessor(\"status\", {\n id: \"status\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Status\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n columnHelper.accessor(\"email\", {\n id: \"email\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Email\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n columnHelper.accessor(\"amount\", {\n id: \"amount\",\n header: (props) => (\n <DataTable.Header className=\"text-right\">\n <DataTable.HeaderSortButton\n column={props.column}\n sortingMode=\"alphanumeric\"\n className=\"justify-end\"\n iconPlacement=\"start\"\n >\n Amount\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => (\n <DataTable.Cell className=\"text-right tabular-nums\">\n {new Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(props.getValue())}\n </DataTable.Cell>\n ),\n }),\n]);\n\nfunction PaymentsTable({ data }: { data: Payment[] }) {\n const [globalFilter, setGlobalFilter] = useState(\"\");\n\n const table = useTable({\n features,\n data,\n columns,\n state: { globalFilter },\n onGlobalFilterChange: setGlobalFilter,\n initialState: { pagination: { pageIndex: 0, pageSize: DEFAULT_PAGE_SIZE } },\n });\n const rows = table.getRowModel().rows;\n const isFiltered = globalFilter.trim() !== \"\";\n\n return (\n <div className=\"space-y-4\">\n <Input\n placeholder=\"Filter payments…\"\n value={globalFilter}\n onChange={(event) => setGlobalFilter(event.target.value)}\n />\n <DataTable.Root table={table}>\n <DataTable.Head />\n <DataTable.Body>\n {rows.length > 0 ? (\n rows.map((row) => <DataTable.Row key={row.id} row={row} />)\n ) : isFiltered ? (\n // No results for the active filter — give the user a way out.\n <DataTable.EmptyRow>\n <Empty.Root>\n <Empty.Icon svg={<MagnifyingGlassIcon />} />\n <Empty.Title>No payments match your filter</Empty.Title>\n <Empty.Description>\n <p>Try a different search, or clear the filter to see everything.</p>\n </Empty.Description>\n <Empty.Actions>\n <Button\n type=\"button\"\n appearance=\"outlined\"\n intent=\"neutral\"\n onClick={() => setGlobalFilter(\"\")}\n >\n Clear filters\n </Button>\n </Empty.Actions>\n </Empty.Root>\n </DataTable.EmptyRow>\n ) : (\n // No data yet — informational, optionally a primary \"create\" action.\n <DataTable.EmptyRow>\n <Empty.Root>\n <Empty.Icon svg={<TrayIcon />} />\n <Empty.Title>No payments yet</Empty.Title>\n <Empty.Description>\n <p>Payments you receive will appear here.</p>\n </Empty.Description>\n </Empty.Root>\n </DataTable.EmptyRow>\n )}\n </DataTable.Body>\n </DataTable.Root>\n <CursorPagination.Root\n className=\"flex flex-wrap justify-between\"\n pageSize={table.state.pagination.pageSize}\n onChangePageSize={(size) => {\n table.setPageSize(size);\n table.setPageIndex(0); // reset to the first page when the size changes\n }}\n >\n <PaginationRange\n offset={table.state.pagination.pageIndex * table.state.pagination.pageSize}\n pageSize={table.state.pagination.pageSize}\n total={table.getRowCount()}\n noun={{ singular: \"payment\", plural: \"payments\" }}\n />\n <div className=\"flex items-center gap-2\">\n <CursorPagination.PageSizeSelect />\n <CursorPagination.Buttons\n hasPreviousPage={table.getCanPreviousPage()}\n hasNextPage={table.getCanNextPage()}\n onPreviousPage={() => table.previousPage()}\n onNextPage={() => table.nextPage()}\n />\n </div>\n </CursorPagination.Root>\n </div>\n );\n}\n```",
826
- "Row action column — a sticky right-edge cell with a dropdown menu of actions.\nThe cell stops its own clicks, so the menu opens without a clickable row\nnavigating:\n```tsx\nimport { DataTable, createColumnHelper } from \"@ngrok/mantle/data-table\";\nimport { DropdownMenu } from \"@ngrok/mantle/dropdown-menu\";\nimport { IconButton } from \"@ngrok/mantle/button\";\nimport { DotsThreeVerticalIcon } from \"@phosphor-icons/react/DotsThreeVertical\";\n\nconst columnHelper = createColumnHelper<typeof features, Payment>();\n\nconst columns = columnHelper.columns([\n // …other columns…\n columnHelper.display({\n id: \"actions\",\n header: () => <DataTable.ActionHeader />,\n cell: (props) => (\n <DataTable.ActionCell>\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <IconButton type=\"button\" appearance=\"outlined\" intent=\"neutral\" label=\"Actions\" icon={<DotsThreeVerticalIcon />} />\n </DropdownMenu.Trigger>\n <DropdownMenu.Content align=\"end\">\n <DropdownMenu.Item onSelect={() => copy(props.row.original.id)}>\n Copy ID\n </DropdownMenu.Item>\n <DropdownMenu.Item onSelect={() => refund(props.row.original.id)}>\n Refund\n </DropdownMenu.Item>\n </DropdownMenu.Content>\n </DropdownMenu.Root>\n </DataTable.ActionCell>\n ),\n }),\n]);\n```",
836
+ "A minimal, read-only table with a single sortable column:\n```tsx\nimport {\n DataTable,\n createColumnHelper,\n createSortedRowModel,\n rowSortingFeature,\n sortFn_alphanumeric,\n sortFn_datetime,\n sortFn_text,\n tableFeatures,\n useTable,\n} from \"@ngrok/mantle/data-table\";\n\ntype Row = { id: string; name: string };\n\n// Register only the features the table uses. Auto-sort resolves the\n// `alphanumeric`, `text`, and `datetime` comparators by name, so register those three.\nconst features = tableFeatures({\n rowSortingFeature,\n sortedRowModel: createSortedRowModel(),\n sortFns: {\n alphanumeric: sortFn_alphanumeric,\n datetime: sortFn_datetime,\n text: sortFn_text,\n },\n});\n\nconst columnHelper = createColumnHelper<typeof features, Row>();\nconst columns = columnHelper.columns([\n columnHelper.accessor(\"name\", {\n id: \"name\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Name\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n]);\n\nfunction MyTable({ data }: { data: Row[] }) {\n const table = useTable({ features, data, columns });\n const rows = table.getRowModel().rows;\n\n return (\n <DataTable.Root table={table}>\n <DataTable.Head />\n <DataTable.Body>\n {rows.length > 0\n ? rows.map((row) => <DataTable.Row key={row.id} row={row} />)\n : <DataTable.EmptyRow>No results.</DataTable.EmptyRow>}\n </DataTable.Body>\n </DataTable.Root>\n );\n}\n```",
837
+ "Sortable, filterable, paginated, with both empty states: a global text\nfilter, the no-data vs. no-results-for-filter empty states (an `Empty`\ndropped into `DataTable.EmptyRow`), and `CursorPagination` with a page-size\ndropdown:\n```tsx\nimport {\n DataTable,\n columnFilteringFeature,\n createColumnHelper,\n createFilteredRowModel,\n createPaginatedRowModel,\n createSortedRowModel,\n globalFilteringFeature,\n rowPaginationFeature,\n rowSortingFeature,\n sortFn_alphanumeric,\n sortFn_datetime,\n sortFn_text,\n tableFeatures,\n useTable,\n} from \"@ngrok/mantle/data-table\";\nimport { Button } from \"@ngrok/mantle/button\";\nimport { CursorPagination, PaginationRange } from \"@ngrok/mantle/pagination\";\nimport { Empty } from \"@ngrok/mantle/empty\";\nimport { Input } from \"@ngrok/mantle/input\";\nimport { MagnifyingGlassIcon } from \"@phosphor-icons/react/MagnifyingGlass\";\nimport { TrayIcon } from \"@phosphor-icons/react/Tray\";\nimport { useState } from \"react\";\n\ntype Payment = { id: string; amount: number; status: \"pending\" | \"succeeded\" | \"failed\"; email: string };\n\n// The table's initial page size. It must be one of PageSizeSelect's pageSizes\n// (default 5 | 10 | 20 | 50 | 100).\nconst DEFAULT_PAGE_SIZE = 10;\n\n// `globalFilteringFeature` builds on `columnFilteringFeature`, so register both.\nconst features = tableFeatures({\n columnFilteringFeature,\n globalFilteringFeature,\n rowPaginationFeature,\n rowSortingFeature,\n filteredRowModel: createFilteredRowModel(),\n paginatedRowModel: createPaginatedRowModel(),\n sortedRowModel: createSortedRowModel(),\n sortFns: {\n alphanumeric: sortFn_alphanumeric,\n datetime: sortFn_datetime,\n text: sortFn_text,\n },\n});\n\nconst columnHelper = createColumnHelper<typeof features, Payment>();\nconst columns = columnHelper.columns([\n columnHelper.accessor(\"status\", {\n id: \"status\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Status\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n columnHelper.accessor(\"email\", {\n id: \"email\",\n header: (props) => (\n <DataTable.Header column={props.column}>\n <DataTable.HeaderSortButton column={props.column} sortingMode=\"alphanumeric\">\n Email\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => <DataTable.Cell>{props.getValue()}</DataTable.Cell>,\n }),\n columnHelper.accessor(\"amount\", {\n id: \"amount\",\n header: (props) => (\n <DataTable.Header className=\"text-right\">\n <DataTable.HeaderSortButton\n column={props.column}\n sortingMode=\"alphanumeric\"\n className=\"justify-end\"\n iconPlacement=\"start\"\n >\n Amount\n </DataTable.HeaderSortButton>\n </DataTable.Header>\n ),\n cell: (props) => (\n <DataTable.Cell className=\"text-right tabular-nums\">\n {new Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(props.getValue())}\n </DataTable.Cell>\n ),\n }),\n]);\n\nfunction PaymentsTable({ data }: { data: Payment[] }) {\n const [globalFilter, setGlobalFilter] = useState(\"\");\n\n const table = useTable({\n features,\n data,\n columns,\n state: { globalFilter },\n onGlobalFilterChange: setGlobalFilter,\n initialState: { pagination: { pageIndex: 0, pageSize: DEFAULT_PAGE_SIZE } },\n });\n const rows = table.getRowModel().rows;\n const isFiltered = globalFilter.trim() !== \"\";\n\n return (\n <div className=\"space-y-4\">\n <Input\n placeholder=\"Filter payments…\"\n value={globalFilter}\n onChange={(event) => setGlobalFilter(event.target.value)}\n />\n <DataTable.Root table={table}>\n <DataTable.Head />\n <DataTable.Body>\n {rows.length > 0 ? (\n rows.map((row) => <DataTable.Row key={row.id} row={row} />)\n ) : isFiltered ? (\n // No results for the active filter: give the user a way out.\n <DataTable.EmptyRow>\n <Empty.Root>\n <Empty.Icon svg={<MagnifyingGlassIcon />} />\n <Empty.Title>No payments match your filter</Empty.Title>\n <Empty.Description>\n <p>Try a different search, or clear the filter to see everything.</p>\n </Empty.Description>\n <Empty.Actions>\n <Button\n type=\"button\"\n appearance=\"outlined\"\n intent=\"neutral\"\n onClick={() => setGlobalFilter(\"\")}\n >\n Clear filters\n </Button>\n </Empty.Actions>\n </Empty.Root>\n </DataTable.EmptyRow>\n ) : (\n // No data yet: informational, optionally a primary \"create\" action.\n <DataTable.EmptyRow>\n <Empty.Root>\n <Empty.Icon svg={<TrayIcon />} />\n <Empty.Title>No payments yet</Empty.Title>\n <Empty.Description>\n <p>Payments you receive will appear here.</p>\n </Empty.Description>\n </Empty.Root>\n </DataTable.EmptyRow>\n )}\n </DataTable.Body>\n </DataTable.Root>\n <CursorPagination.Root\n className=\"flex flex-wrap justify-between\"\n pageSize={table.state.pagination.pageSize}\n onChangePageSize={(size) => {\n table.setPageSize(size);\n table.setPageIndex(0); // reset to the first page when the size changes\n }}\n >\n <PaginationRange\n offset={table.state.pagination.pageIndex * table.state.pagination.pageSize}\n pageSize={table.state.pagination.pageSize}\n total={table.getRowCount()}\n noun={{ singular: \"payment\", plural: \"payments\" }}\n />\n <div className=\"flex items-center gap-2\">\n <CursorPagination.PageSizeSelect />\n <CursorPagination.Buttons\n hasPreviousPage={table.getCanPreviousPage()}\n hasNextPage={table.getCanNextPage()}\n onPreviousPage={() => table.previousPage()}\n onNextPage={() => table.nextPage()}\n />\n </div>\n </CursorPagination.Root>\n </div>\n );\n}\n```",
838
+ "Row action column: a sticky right-edge cell with a dropdown menu of actions.\nThe cell stops its own clicks, so the menu opens without a clickable row\nnavigating:\n```tsx\nimport { DataTable, createColumnHelper } from \"@ngrok/mantle/data-table\";\nimport { DropdownMenu } from \"@ngrok/mantle/dropdown-menu\";\nimport { IconButton } from \"@ngrok/mantle/button\";\nimport { DotsThreeVerticalIcon } from \"@phosphor-icons/react/DotsThreeVertical\";\n\nconst columnHelper = createColumnHelper<typeof features, Payment>();\n\nconst columns = columnHelper.columns([\n // …other columns…\n columnHelper.display({\n id: \"actions\",\n header: () => <DataTable.ActionHeader />,\n cell: (props) => (\n <DataTable.ActionCell>\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <IconButton type=\"button\" appearance=\"outlined\" intent=\"neutral\" label=\"Actions\" icon={<DotsThreeVerticalIcon />} />\n </DropdownMenu.Trigger>\n <DropdownMenu.Content align=\"end\">\n <DropdownMenu.Item onSelect={() => copy(props.row.original.id)}>\n Copy ID\n </DropdownMenu.Item>\n <DropdownMenu.Item onSelect={() => refund(props.row.original.id)}>\n Refund\n </DropdownMenu.Item>\n </DropdownMenu.Content>\n </DropdownMenu.Root>\n </DataTable.ActionCell>\n ),\n }),\n]);\n```",
827
839
  "Clickable row navigating to a detail page. A `<tr>` is not focusable, so the\nprimary cell also renders a `<Link>` as the keyboard and screen-reader path.\n`SandboxedOnClick` keeps the link's click from also running the row handler:\n```tsx\nimport { DataTable, useTable } from \"@ngrok/mantle/data-table\";\nimport { SandboxedOnClick } from \"@ngrok/mantle/sandboxed-on-click\";\nimport { Link, href, useNavigate } from \"react-router\";\n\nfunction PaymentsTable({ data }: { data: Payment[] }) {\n const navigate = useNavigate();\n const table = useTable({ features, data, columns });\n const rows = table.getRowModel().rows;\n\n return (\n <DataTable.Root table={table}>\n <DataTable.Head />\n <DataTable.Body>\n {rows.map((row) => (\n <DataTable.Row\n key={row.id}\n row={row}\n onClick={() => navigate(href(\"/payments/:id\", { id: row.original.id }))}\n />\n ))}\n </DataTable.Body>\n </DataTable.Root>\n );\n}\n\n// The primary column's cell renders a <Link> for keyboard / a11y reachability.\ncolumnHelper.accessor(\"email\", {\n id: \"email\",\n header: (props) => <DataTable.Header>Email</DataTable.Header>,\n cell: (props) => (\n <DataTable.Cell>\n <SandboxedOnClick asChild allowClickEventDefault>\n <Link to={href(\"/payments/:id\", { id: props.row.original.id })}>\n {props.getValue()}\n </Link>\n </SandboxedOnClick>\n </DataTable.Cell>\n ),\n});\n```"
828
840
  ],
829
841
  "siblings": [
830
842
  {
831
843
  "name": "Table",
832
- "boundary": "the data is static, with no sorting, filtering, pagination, or selection."
844
+ "boundary": "the data is static, with no sorting, filtering, pagination, selection, or row expansion."
833
845
  },
834
846
  {
835
847
  "name": "DescriptionList",
836
848
  "boundary": "one record shows as label and value pairs."
837
849
  }
838
850
  ],
839
- "useWhen": "Show rows of application data that the user sorts, filters, pages through, or selects.",
851
+ "useWhen": "Show rows of application data that the user sorts, filters, pages through, selects, or expands with a row button into a detail panel or sub-rows.",
840
852
  "aliases": [
841
853
  "data grid",
842
854
  "datagrid",
843
855
  "grid",
844
- "sortable table"
856
+ "sortable table",
857
+ "expandable rows",
858
+ "row expansion",
859
+ "sub-rows"
845
860
  ]
846
861
  },
847
862
  {
@@ -1116,7 +1131,7 @@
1116
1131
  "jsdoc": "A button that renders one icon and nothing else.",
1117
1132
  "examples": [
1118
1133
  "```tsx\n<IconButton\n icon={<TrashIcon />}\n label=\"Delete item\"\n appearance=\"ghost\"\n intent=\"neutral\"\n size=\"sm\"\n onClick={handleDelete}\n/>\n```",
1119
- "Submit a form — opt in with `type=\"submit\"` (the default `\"button\"` does not submit):\n```tsx\n<IconButton\n type=\"submit\"\n appearance=\"outlined\"\n intent=\"neutral\"\n icon={<MagnifyingGlassIcon />}\n label=\"Search\"\n/>\n```"
1134
+ "Submit a form. Opt in with `type=\"submit\"` (the default `\"button\"` does not submit):\n```tsx\n<IconButton\n type=\"submit\"\n appearance=\"outlined\"\n intent=\"neutral\"\n icon={<MagnifyingGlassIcon />}\n label=\"Search\"\n/>\n```"
1120
1135
  ],
1121
1136
  "siblings": [
1122
1137
  {
@@ -1140,7 +1155,7 @@
1140
1155
  "docsUrl": "https://mantle.ngrok.com/components/data-display/icons",
1141
1156
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/icons.md",
1142
1157
  "summary": "Custom icons used throughout ngrok UI.",
1143
- "jsdoc": "Re-exports for the Icons component — the ngrok-specific icons that `@phosphor-icons/react` does not ship.",
1158
+ "jsdoc": "Re-exports for the Icons component: the ngrok-specific icons that `@phosphor-icons/react` does not ship.",
1144
1159
  "siblings": [
1145
1160
  {
1146
1161
  "name": "Icon",
@@ -1206,10 +1221,10 @@
1206
1221
  "importPath": "@ngrok/mantle/kbd",
1207
1222
  "docsUrl": "https://mantle.ngrok.com/components/data-display/kbd",
1208
1223
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/kbd.md",
1209
- "summary": "A square, centered keyboard \"key\" chip for rendering keyboard shortcut hints.",
1210
- "jsdoc": "A square, centered keyboard \"key\" chip for rendering shortcut hints — \"K\", \"⌘\", \"⌃\", \"Enter\".",
1224
+ "summary": "A square, centered keyboard \"key\" chip for rendering keyboard shortcut hints, such as K, ⌘, ⌃, or Enter.",
1225
+ "jsdoc": "A square, centered keyboard \"key\" chip for rendering shortcut hints: \"K\", \"⌘\", \"⌃\", \"Enter\".",
1211
1226
  "examples": [
1212
- "```tsx\nimport { Kbd } from \"@ngrok/mantle/kbd\";\n\n// Letter key.\n<Kbd>K</Kbd>\n\n// Symbol: a visually hidden label names the key, and the glyph is hidden.\n<Kbd>\n <span className=\"sr-only\">Enter</span>\n <span aria-hidden>↵</span>\n</Kbd>\n\n// Chord — render each key separately.\n<span className=\"inline-flex items-center gap-1\">\n <Kbd>\n <span className=\"sr-only\">Command</span>\n <span aria-hidden>⌘</span>\n </Kbd>\n <span>+</span>\n <Kbd>K</Kbd>\n</span>\n```"
1227
+ "```tsx\nimport { Kbd } from \"@ngrok/mantle/kbd\";\n\n// Letter key.\n<Kbd>K</Kbd>\n\n// Symbol: a visually hidden label names the key, and the glyph is hidden.\n<Kbd>\n <span className=\"sr-only\">Enter</span>\n <span aria-hidden>↵</span>\n</Kbd>\n\n// Chord: render each key separately.\n<span className=\"inline-flex items-center gap-1\">\n <Kbd>\n <span className=\"sr-only\">Command</span>\n <span aria-hidden>⌘</span>\n </Kbd>\n <span>+</span>\n <Kbd>K</Kbd>\n</span>\n```"
1213
1228
  ],
1214
1229
  "siblings": [
1215
1230
  {
@@ -1238,10 +1253,10 @@
1238
1253
  "importPath": "@ngrok/mantle/label",
1239
1254
  "docsUrl": "https://mantle.ngrok.com/components/forms/label",
1240
1255
  "markdownUrl": "https://mantle.ngrok.com/components/forms/label.md",
1241
- "summary": "A Label represents a caption for an item in a user interface. Renders an accessible label associated with controls.",
1242
- "jsdoc": "A caption for a form control — input, checkbox, radio, switch, select.",
1256
+ "summary": "A caption for a form control, such as an input, a checkbox, a radio, a switch, or a select.",
1257
+ "jsdoc": "A caption for a form control: input, checkbox, radio, switch, select.",
1243
1258
  "examples": [
1244
- "```tsx\nimport { Label } from \"@ngrok/mantle/label\";\nimport { Input } from \"@ngrok/mantle/input\";\n\n// Implicit — control nested inside the label.\n<Label className=\"grid gap-1\">\n <span>Email</span>\n <Input type=\"email\" name=\"email\" />\n</Label>\n\n// Explicit — htmlFor matches the control's id.\n<div className=\"grid gap-1\">\n <Label htmlFor=\"api-key\">API key</Label>\n <Input id=\"api-key\" name=\"apiKey\" />\n</div>\n\n// Inline label for a checkbox.\n<Label className=\"flex items-center gap-2\">\n <Checkbox name=\"terms\" />\n <span>I agree to the terms</span>\n</Label>\n```"
1259
+ "```tsx\nimport { Label } from \"@ngrok/mantle/label\";\nimport { Input } from \"@ngrok/mantle/input\";\n\n// Implicit: control nested inside the label.\n<Label className=\"grid gap-1\">\n <span>Email</span>\n <Input type=\"email\" name=\"email\" />\n</Label>\n\n// Explicit: htmlFor matches the control's id.\n<div className=\"grid gap-1\">\n <Label htmlFor=\"api-key\">API key</Label>\n <Input id=\"api-key\" name=\"apiKey\" />\n</div>\n\n// Inline label for a checkbox.\n<Label className=\"flex items-center gap-2\">\n <Checkbox name=\"terms\" />\n <span>I agree to the terms</span>\n</Label>\n```"
1245
1260
  ],
1246
1261
  "siblings": [
1247
1262
  {
@@ -1267,8 +1282,8 @@
1267
1282
  "importPath": "@ngrok/mantle/line-chart",
1268
1283
  "docsUrl": "https://mantle.ngrok.com/components/charts/line-chart",
1269
1284
  "markdownUrl": "https://mantle.ngrok.com/components/charts/line-chart.md",
1270
- "summary": "A line chart for trends over a continuous x axis, time above all. Min/max decimation keeps 100,000+ point series smooth.",
1271
- "jsdoc": "A line chart for trends over a continuous x — time above all.",
1285
+ "summary": "A line chart for trends over a continuous x axis, time above all.",
1286
+ "jsdoc": "A line chart for trends over a continuous x, time above all.",
1272
1287
  "examples": [
1273
1288
  "Composition:\n```\nLineChart.Root\n├── LineChart.Grid\n├── LineChart.XAxis\n├── LineChart.YAxis\n├── LineChart.Line (one per series)\n├── LineChart.ReferenceLine\n├── LineChart.Tooltip\n├── LineChart.Legend\n└── LineChart.CopyButton\n```\n\nA List groups Roots:\n```\nLineChart.List\n└── LineChart.Root (one per chart)\n```",
1274
1289
  "```tsx\nconst data = [\n { time: new Date(\"2026-07-18T10:00:00Z\"), p50: 120, p99: 480 },\n { time: new Date(\"2026-07-18T10:01:00Z\"), p50: 132, p99: 510 },\n { time: new Date(\"2026-07-18T10:02:00Z\"), p50: 101, p99: 460 },\n];\n\n<LineChart.Root data={data} xKey=\"time\" aria-label=\"Request latency\">\n <LineChart.Grid />\n <LineChart.XAxis />\n <LineChart.YAxis />\n <LineChart.Line dataKey=\"p50\" label=\"p50\" color=\"blue\" />\n <LineChart.Line dataKey=\"p99\" label=\"p99\" curve=\"monotone\" color=\"emerald\" />\n <LineChart.Tooltip />\n <LineChart.Legend />\n</LineChart.Root>\n```"
@@ -1304,7 +1319,7 @@
1304
1319
  "docsUrl": "https://mantle.ngrok.com/components/data-display/list",
1305
1320
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/list.md",
1306
1321
  "summary": "A scrollable, optionally-virtualized list of clickable items.",
1307
- "jsdoc": "A scrollable, optionally-virtualized list of clickable items — the action / navigation counterpart to `SelectableList` (e.g. an account switcher or SSO provider picker).",
1322
+ "jsdoc": "A scrollable, optionally-virtualized list of clickable items: the action / navigation counterpart to `SelectableList` (e.g. an account switcher or SSO provider picker).",
1308
1323
  "examples": [
1309
1324
  "Composition:\n```\nList.Root (or .VirtualRoot)\n└── List.Item\n ├── List.ItemTitle\n └── List.ItemDescription\n```",
1310
1325
  "```tsx\n<List.Root aria-label=\"Your accounts\" className=\"max-h-80\">\n {accounts.map((account) => (\n <List.Item key={account.id} onClick={() => switchTo(account.id)}>\n <List.ItemTitle>{account.name}</List.ItemTitle>\n <List.ItemDescription>\n {account.plan} · {account.memberCount} members\n </List.ItemDescription>\n </List.Item>\n ))}\n</List.Root>\n```"
@@ -1368,7 +1383,7 @@
1368
1383
  "importPath": "@ngrok/mantle/main",
1369
1384
  "docsUrl": "https://mantle.ngrok.com/components/primitives/main",
1370
1385
  "markdownUrl": "https://mantle.ngrok.com/components/primitives/main.md",
1371
- "summary": "A focusable `<main>` landmark for the page's primary content, designed to be paired with a skip link.",
1386
+ "summary": "A focusable `<main>` landmark for the page's primary content.",
1372
1387
  "jsdoc": "A focusable `<main>` landmark for the page's primary content.",
1373
1388
  "examples": [
1374
1389
  "```tsx\n<SkipToMainLink />\n<Header />\n<Main>\n <h1>Page title</h1>\n</Main>\n```",
@@ -1398,8 +1413,8 @@
1398
1413
  "importPath": "@ngrok/mantle/media-object",
1399
1414
  "docsUrl": "https://mantle.ngrok.com/components/structure/media-object",
1400
1415
  "markdownUrl": "https://mantle.ngrok.com/components/structure/media-object.md",
1401
- "summary": "The Media Object is an image/icon (media) to the left, with descriptive content (title and subtitle/description) to the right.",
1402
- "jsdoc": "A small, reusable layout primitive for \"image/icon on one side, descriptive content on the other\" — the foundational \"media object\" pattern.",
1416
+ "summary": "The Media Object is an image or an icon (media) on the left, with descriptive content (a title and a subtitle or description) on the right.",
1417
+ "jsdoc": "A small, reusable layout primitive for \"image/icon on one side, descriptive content on the other\", the foundational \"media object\" pattern.",
1403
1418
  "examples": [
1404
1419
  "Composition:\n```\nMediaObject.Root\n├── MediaObject.Media\n└── MediaObject.Content\n```",
1405
1420
  "```tsx\nimport { Avatar } from \"@ngrok/mantle/avatar\";\nimport { MediaObject } from \"@ngrok/mantle/media-object\";\n\n<MediaObject.Root>\n <MediaObject.Media>\n <Avatar.Root>\n <Avatar.Image src={user.avatarUrl} alt=\"\" />\n <Avatar.Fallback name={user.name} />\n </Avatar.Root>\n </MediaObject.Media>\n <MediaObject.Content>\n <p className=\"font-medium\">{user.name}</p>\n <p className=\"text-muted text-sm\">{comment}</p>\n </MediaObject.Content>\n</MediaObject.Root>\n```"
@@ -1416,7 +1431,10 @@
1416
1431
  ],
1417
1432
  "useWhen": "Put an image, an avatar, or an icon beside a title and a description, such as in a comment or a list row.",
1418
1433
  "aliases": [
1419
- "media block"
1434
+ "media block",
1435
+ "icon on the left text on the right",
1436
+ "image beside text",
1437
+ "avatar beside text"
1420
1438
  ]
1421
1439
  },
1422
1440
  {
@@ -1428,7 +1446,7 @@
1428
1446
  "importPath": "@ngrok/mantle/multi-select",
1429
1447
  "docsUrl": "https://mantle.ngrok.com/components/forms/multi-select",
1430
1448
  "markdownUrl": "https://mantle.ngrok.com/components/forms/multi-select.md",
1431
- "summary": "A typeahead multi-select combobox that allows users to select multiple values with filtering. Selected values are displayed as removable tags.",
1449
+ "summary": "A typeahead multi-select combobox: the user picks several values with filtering, and the picks show as removable tags.",
1432
1450
  "jsdoc": "A multi-select combobox that allows users to select multiple values with typeahead filtering.",
1433
1451
  "examples": [
1434
1452
  "Composition:\n```\nMultiSelect.Root\n├── MultiSelect.Trigger\n│ ├── MultiSelect.TagValues\n│ └── MultiSelect.Input\n└── MultiSelect.Content\n ├── MultiSelect.Group\n │ ├── MultiSelect.GroupLabel\n │ ├── MultiSelect.GroupDescription\n │ └── MultiSelect.Item\n ├── MultiSelect.Separator\n ├── MultiSelect.Empty\n └── MultiSelect.ContentFooter\n```",
@@ -1489,6 +1507,42 @@
1489
1507
  "2fa"
1490
1508
  ]
1491
1509
  },
1510
+ {
1511
+ "name": "Overlay Prompt",
1512
+ "slug": "components/primitives/overlay-prompt",
1513
+ "kind": "component",
1514
+ "category": "Primitives",
1515
+ "status": "stable",
1516
+ "importPath": "@ngrok/mantle/overlay-prompt",
1517
+ "docsUrl": "https://mantle.ngrok.com/components/primitives/overlay-prompt",
1518
+ "markdownUrl": "https://mantle.ngrok.com/components/primitives/overlay-prompt.md",
1519
+ "summary": "Keeps a banner, a bar, or another floating element usable above an open dialog or sheet.",
1520
+ "jsdoc": "Keeps its content usable above an open `Dialog`, `AlertDialog`, or `Sheet`.",
1521
+ "examples": [
1522
+ "```tsx\n<OverlayPrompt>\n <div className=\"pointer-events-none fixed inset-x-0 bottom-4 z-max flex justify-center\">\n <div role=\"group\" aria-label=\"Cookie preferences\" className=\"pointer-events-auto\">\n <Button type=\"button\" appearance=\"filled\" intent=\"neutral\" onClick={acceptAll}>\n Accept all\n </Button>\n </div>\n </div>\n</OverlayPrompt>\n```"
1523
+ ],
1524
+ "siblings": [
1525
+ {
1526
+ "name": "Toast",
1527
+ "boundary": "show short notifications; its `Toaster` already stays above dialogs."
1528
+ },
1529
+ {
1530
+ "name": "Sandbar",
1531
+ "boundary": "show a save bar for unsaved changes; it already stays above dialogs."
1532
+ },
1533
+ {
1534
+ "name": "Dialog",
1535
+ "boundary": "put a control that belongs to the task inside the dialog content instead."
1536
+ }
1537
+ ],
1538
+ "useWhen": "Keep a banner, a bar, or another floating element that is not part of a dialog usable above an open dialog or sheet, such as a cookie banner.",
1539
+ "aliases": [
1540
+ "above dialog",
1541
+ "top layer",
1542
+ "cookie banner",
1543
+ "inert"
1544
+ ]
1545
+ },
1492
1546
  {
1493
1547
  "name": "Pagination",
1494
1548
  "slug": "components/navigation/pagination",
@@ -1499,7 +1553,7 @@
1499
1553
  "docsUrl": "https://mantle.ngrok.com/components/navigation/pagination",
1500
1554
  "markdownUrl": "https://mantle.ngrok.com/components/navigation/pagination.md",
1501
1555
  "summary": "Components and hooks for navigating through paged data with cursor-based and offset-based pagination strategies.",
1502
- "jsdoc": "Re-exports for the Pagination component family — `CursorPagination`'s parts for cursor paging, `useOffsetPagination` for offset paging, and `PaginationRange` for the count line of a list whose total is known.",
1556
+ "jsdoc": "Re-exports for the Pagination component family: `CursorPagination`'s parts for cursor paging, `useOffsetPagination` for offset paging, and `PaginationRange` for the count line of a list whose total is known.",
1503
1557
  "useWhen": "Move through paged data one page at a time, with a cursor or an offset.",
1504
1558
  "aliases": [
1505
1559
  "pager",
@@ -1518,7 +1572,7 @@
1518
1572
  "summary": "Fundamental component for password inputs.",
1519
1573
  "jsdoc": "An input optimized for password and other sensitive-value entry.",
1520
1574
  "examples": [
1521
- "```tsx\nimport { PasswordInput } from \"@ngrok/mantle/input\";\nimport { Label } from \"@ngrok/mantle/label\";\nimport { useState } from \"react\";\n\n// Basic — uncontrolled visibility.\n<Label className=\"grid gap-1\">\n <span>Password</span>\n <PasswordInput name=\"password\" autoComplete=\"current-password\" />\n</Label>\n\n// Validation state.\n<PasswordInput validation=\"error\" />\n\n// Controlled visibility — one toggle reveals multiple fields.\nfunction PasswordPair() {\n const [show, setShow] = useState(false);\n return (\n <>\n <PasswordInput showValue={show} onValueVisibilityChange={setShow} />\n <PasswordInput showValue={show} onValueVisibilityChange={setShow} />\n </>\n );\n}\n```"
1575
+ "```tsx\nimport { PasswordInput } from \"@ngrok/mantle/input\";\nimport { Label } from \"@ngrok/mantle/label\";\nimport { useState } from \"react\";\n\n// Basic: uncontrolled visibility.\n<Label className=\"grid gap-1\">\n <span>Password</span>\n <PasswordInput name=\"password\" autoComplete=\"current-password\" />\n</Label>\n\n// Validation state.\n<PasswordInput validation=\"error\" />\n\n// Controlled visibility: one toggle reveals multiple fields.\nfunction PasswordPair() {\n const [show, setShow] = useState(false);\n return (\n <>\n <PasswordInput showValue={show} onValueVisibilityChange={setShow} />\n <PasswordInput showValue={show} onValueVisibilityChange={setShow} />\n </>\n );\n}\n```"
1522
1576
  ],
1523
1577
  "siblings": [
1524
1578
  {
@@ -1702,11 +1756,11 @@
1702
1756
  "importPath": "@ngrok/mantle/radio-group",
1703
1757
  "docsUrl": "https://mantle.ngrok.com/components/forms/radio-group",
1704
1758
  "markdownUrl": "https://mantle.ngrok.com/components/forms/radio-group.md",
1705
- "summary": "A set of checkable buttons (known as radio buttons) where no more than one of the buttons can be checked at a time.",
1706
- "jsdoc": "A group of radio items.",
1759
+ "summary": "A set of radio buttons, shown as radios, a list, or selectable cards, where no more than one can be checked at a time.",
1760
+ "jsdoc": "A group of radio items, shown as radios, a list, or cards.",
1707
1761
  "examples": [
1708
1762
  "Composition:\n```\n# Default radios\nRadioGroup.Root\n└── RadioGroup.Item\n ├── RadioGroup.Indicator\n └── RadioGroup.ItemContent\n\n# List layout with descriptions\nRadioGroup.List\n└── RadioGroup.ListItem\n ├── RadioGroup.Indicator\n └── RadioGroup.ItemContent\n\n# Card-style radios\nRadioGroup.Root\n└── RadioGroup.Card\n └── RadioGroup.Indicator\n\n# Rich option layout (Choice)\nRadioGroup.Root\n└── RadioGroup.Item\n └── Choice.Root\n ├── Choice.Indicator\n │ └── RadioGroup.Indicator\n └── Choice.Content\n ├── Choice.Title\n └── Choice.Description\n```",
1709
- "```tsx\n<RadioGroup.Root value={value} onChange={setValue}>\n <RadioGroup.Item value=\"option1\">\n <RadioGroup.Indicator />\n <span>Option 1</span>\n </RadioGroup.Item>\n <RadioGroup.Item value=\"option2\">\n <RadioGroup.Indicator />\n <span>Option 2</span>\n </RadioGroup.Item>\n</RadioGroup.Root>\n```"
1763
+ "```tsx\n<RadioGroup.Root value={value} onValueChange={setValue}>\n <RadioGroup.Item value=\"option1\">\n <RadioGroup.Indicator />\n <span>Option 1</span>\n </RadioGroup.Item>\n <RadioGroup.Item value=\"option2\">\n <RadioGroup.Indicator />\n <span>Option 2</span>\n </RadioGroup.Item>\n</RadioGroup.Root>\n```"
1710
1764
  ],
1711
1765
  "siblings": [
1712
1766
  {
@@ -1726,10 +1780,12 @@
1726
1780
  "boundary": "a few short options switch a view or a mode in one row."
1727
1781
  }
1728
1782
  ],
1729
- "useWhen": "Pick exactly one value from a few fixed options, with every option visible at once.",
1783
+ "useWhen": "Pick exactly one value from a few fixed options, with every option visible at once, such as a single choice between selectable cards.",
1730
1784
  "aliases": [
1731
1785
  "radio button",
1732
- "radio"
1786
+ "radio",
1787
+ "radio cards",
1788
+ "radio card grid"
1733
1789
  ]
1734
1790
  },
1735
1791
  {
@@ -1741,7 +1797,7 @@
1741
1797
  "importPath": "@ngrok/mantle/sandbar",
1742
1798
  "docsUrl": "https://mantle.ngrok.com/components/feedback/sandbar",
1743
1799
  "markdownUrl": "https://mantle.ngrok.com/components/feedback/sandbar.md",
1744
- "summary": "A floating save bar for unsaved changes. Batch save form state with save and discard actions, announce pending state to screen readers, and block navigation until changes are resolved.",
1800
+ "summary": "A floating save bar for unsaved changes.",
1745
1801
  "jsdoc": "A persistent, decision-bearing bar that floats near the bottom edge of the viewport.",
1746
1802
  "examples": [
1747
1803
  "Composition:\n```\nSandbar.Root\n├── Sandbar.Message\n└── Sandbar.Actions\n ├── Sandbar.DiscardButton\n └── Sandbar.SaveButton\n```",
@@ -1797,7 +1853,7 @@
1797
1853
  "docsUrl": "https://mantle.ngrok.com/components/charts/scatter-plot",
1798
1854
  "markdownUrl": "https://mantle.ngrok.com/components/charts/scatter-plot.md",
1799
1855
  "summary": "A canvas-rendered scatter plot for correlating two continuous measures (three with the rotatable 3D projection).",
1800
- "jsdoc": "A canvas-rendered scatter plot for correlating two measures — three with the 3D projection (`zKey`), which renders a rotatable, depth-sorted point cloud (drag to orbit).",
1856
+ "jsdoc": "A canvas-rendered scatter plot for correlating two measures, or three with the 3D projection (`zKey`), which renders a rotatable, depth-sorted point cloud (drag to orbit).",
1801
1857
  "examples": [
1802
1858
  "Composition:\n```\nScatterPlot.Root\n├── ScatterPlot.Grid\n├── ScatterPlot.XAxis\n├── ScatterPlot.YAxis\n├── ScatterPlot.Point (one per series)\n├── ScatterPlot.ReferenceLine\n├── ScatterPlot.Tooltip\n├── ScatterPlot.Legend\n└── ScatterPlot.CopyButton\n```\n\nA List groups Roots:\n```\nScatterPlot.List\n└── ScatterPlot.Root (one per chart)\n```",
1803
1859
  "```tsx\nconst data = [\n { latency: 12, throughputA: 840, throughputB: 720 },\n { latency: 28, throughputA: 610, throughputB: 590 },\n { latency: 45, throughputA: 340, throughputB: 410 },\n];\n\n<ScatterPlot.Root data={data} xKey=\"latency\" aria-label=\"Latency vs throughput\">\n <ScatterPlot.Grid />\n <ScatterPlot.XAxis />\n <ScatterPlot.YAxis />\n <ScatterPlot.Point dataKey=\"throughputA\" label=\"Region A\" color=\"blue\" />\n <ScatterPlot.Point dataKey=\"throughputB\" label=\"Region B\" color=\"emerald\" />\n <ScatterPlot.Tooltip />\n <ScatterPlot.Legend />\n</ScatterPlot.Root>\n```"
@@ -1847,7 +1903,7 @@
1847
1903
  "boundary": "the set is long, or the row has little space."
1848
1904
  }
1849
1905
  ],
1850
- "useWhen": "Switch between a few short options, like a view or an environment, in one row.",
1906
+ "useWhen": "Switch between a few short options in one compact, inline row, such as a view, an environment, or a filter.",
1851
1907
  "aliases": [
1852
1908
  "segmented button",
1853
1909
  "view switcher",
@@ -1864,8 +1920,8 @@
1864
1920
  "importPath": "@ngrok/mantle/select",
1865
1921
  "docsUrl": "https://mantle.ngrok.com/components/forms/select",
1866
1922
  "markdownUrl": "https://mantle.ngrok.com/components/forms/select.md",
1867
- "summary": "Displays a list of options for the user to pick from—triggered by a button.",
1868
- "jsdoc": "Displays a list of options for the user to pick from—triggered by a button.",
1923
+ "summary": "Displays a list of options for the user to pick from, triggered by a button.",
1924
+ "jsdoc": "Displays a list of options for the user to pick from, triggered by a button.",
1869
1925
  "examples": [
1870
1926
  "Composition:\n```\nSelect.Root\n├── Select.Trigger\n│ └── Select.Value\n└── Select.Content\n ├── Select.Group\n │ ├── Select.Label\n │ └── Select.Item\n └── Select.Separator\n```",
1871
1927
  "```tsx\n<Select.Root>\n <Select.Trigger>\n <Select.Value placeholder=\"Select a fruit\" />\n </Select.Trigger>\n <Select.Content>\n <Select.Group>\n <Select.Label>Fruits</Select.Label>\n <Select.Item value=\"apple\">Apple</Select.Item>\n <Select.Item value=\"banana\">Banana</Select.Item>\n <Select.Item value=\"cherry\">Cherry</Select.Item>\n </Select.Group>\n <Select.Separator />\n <Select.Group>\n <Select.Label>Veggies</Select.Label>\n <Select.Item value=\"carrot\">Carrot</Select.Item>\n <Select.Item value=\"cucumber\">Cucumber</Select.Item>\n </Select.Group>\n </Select.Content>\n</Select.Root>\n```"
@@ -1888,7 +1944,7 @@
1888
1944
  "boundary": "the list runs actions and sets no value."
1889
1945
  }
1890
1946
  ],
1891
- "useWhen": "Pick one value from a short, fixed list of options that needs no filter.",
1947
+ "useWhen": "Pick one value from a short, fixed list of options that needs no filter, such as a region or an expiry duration.",
1892
1948
  "aliases": [
1893
1949
  "dropdown",
1894
1950
  "select box"
@@ -1904,7 +1960,7 @@
1904
1960
  "docsUrl": "https://mantle.ngrok.com/components/data-display/selectable-list",
1905
1961
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/selectable-list.md",
1906
1962
  "summary": "A filterable, multi-select grid of checkbox rows.",
1907
- "jsdoc": "A filterable, multi-select **grid** of checkbox rows — the inline (non-popover) counterpart to `MultiSelect`/`Combobox`.",
1963
+ "jsdoc": "A filterable, multi-select **grid** of checkbox rows, the inline (non-popover) counterpart to `MultiSelect`/`Combobox`.",
1908
1964
  "examples": [
1909
1965
  "Composition:\n```\nSelectableList.Root\n├── SelectableList.Filter\n├── SelectableList.SelectAll\n├── SelectableList.Viewport (or .VirtualViewport)\n│ └── SelectableList.Item (optional render-prop; auto-rendered by default)\n│ ├── SelectableList.ItemTitle\n│ └── SelectableList.ItemDescription\n└── SelectableList.Empty\n```",
1910
1966
  "```tsx\nconst options = accessKeys.map((key) => ({\n value: key.id,\n label: key.name,\n description: key.maskedToken,\n}));\n\n<SelectableList.Root options={options} value={selected} onValueChange={setSelected}>\n <SelectableList.Filter placeholder=\"Filter access keys…\" />\n <SelectableList.SelectAll>Select all</SelectableList.SelectAll>\n <SelectableList.Viewport aria-label=\"Access keys\" className=\"max-h-80\" />\n <SelectableList.Empty>No access keys found.</SelectableList.Empty>\n</SelectableList.Root>\n```"
@@ -2008,7 +2064,7 @@
2008
2064
  "docsUrl": "https://mantle.ngrok.com/components/navigation/sidebar",
2009
2065
  "markdownUrl": "https://mantle.ngrok.com/components/navigation/sidebar.md",
2010
2066
  "summary": "A composable, collapsible app-navigation sidebar with a mobile sheet presentation and a trigger that mounts anywhere in your app shell.",
2011
- "jsdoc": "A composable, collapsible app-navigation sidebar. `Sidebar.Root` owns the state (no DOM); `Sidebar.Nav` renders the panel — inline on desktop, collapsing to a skinny icon rail, and a left-side `Sheet` below the root's `mobileBreakpoint`; and `Sidebar.Trigger` toggles it from anywhere under the root (typically an `AppLayout.Header`).",
2067
+ "jsdoc": "A composable, collapsible app-navigation sidebar. `Sidebar.Root` owns the state (no DOM). `Sidebar.Nav` renders the panel: inline on desktop, collapsing to its icons, and a left-side `Sheet` below the root's `mobileBreakpoint`. `Sidebar.Trigger` toggles it from anywhere under the root (typically an `AppLayout.Header`).",
2012
2068
  "examples": [
2013
2069
  "Composition:\n```\nSidebar.Root\n├── Sidebar.Nav\n│ ├── Sidebar.Header\n│ │ └── Sidebar.SwitcherTrigger\n│ ├── Sidebar.Body\n│ │ ├── Sidebar.SearchTrigger\n│ │ └── Sidebar.Group\n│ │ ├── Sidebar.GroupLabel\n│ │ └── Sidebar.List\n│ │ └── Sidebar.Item\n│ │ └── Sidebar.Tooltip\n│ │ └── Sidebar.ItemButton\n│ └── Sidebar.Footer\n│ ├── Sidebar.ItemButton\n│ ├── Sidebar.Separator\n│ └── Sidebar.SwitcherTrigger\n└── Sidebar.Trigger\n```",
2014
2070
  "```tsx\n<Sidebar.Root>\n <Sidebar.Nav aria-label=\"Main\">\n <Sidebar.Header>\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <Sidebar.SwitcherTrigger>\n <GlobeIcon />\n <span className=\"text-strong min-w-0 flex-1 truncate text-base\">Universal Gateway</span>\n <CaretDownIcon className=\"text-muted size-4 shrink-0\" />\n </Sidebar.SwitcherTrigger>\n </DropdownMenu.Trigger>\n <DropdownMenu.Content width=\"trigger\" className=\"min-w-(--sidebar-row-width)\">…</DropdownMenu.Content>\n </DropdownMenu.Root>\n </Sidebar.Header>\n <Sidebar.Body>\n <Sidebar.Group>\n <Sidebar.GroupLabel>Traffic</Sidebar.GroupLabel>\n <Sidebar.List>\n <Sidebar.Item>\n <Sidebar.ItemButton asChild current>\n <a href=\"/endpoints\">\n <GraphIcon />\n Endpoints\n </a>\n </Sidebar.ItemButton>\n </Sidebar.Item>\n </Sidebar.List>\n </Sidebar.Group>\n </Sidebar.Body>\n <Sidebar.Footer>\n <Sidebar.Separator />\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <Sidebar.SwitcherTrigger>\n <Avatar.Root appearance=\"square\" colorSeed=\"acc_123\">\n <Avatar.Fallback name=\"Acme Corp\" />\n </Avatar.Root>\n <span className=\"text-strong min-w-0 flex-1 truncate text-sm font-medium\">Acme Corp</span>\n </Sidebar.SwitcherTrigger>\n </DropdownMenu.Trigger>\n <DropdownMenu.Content width=\"trigger\" className=\"min-w-(--sidebar-row-width)\">…</DropdownMenu.Content>\n </DropdownMenu.Root>\n </Sidebar.Footer>\n </Sidebar.Nav>\n <Sidebar.Trigger />\n</Sidebar.Root>\n```"
@@ -2027,7 +2083,7 @@
2027
2083
  "boundary": "the page shows where it sits in a hierarchy."
2028
2084
  }
2029
2085
  ],
2030
- "useWhen": "Show the main navigation of an app, with its app and account switchers, in a column that collapses to an icon rail, and to a sheet on small screens.",
2086
+ "useWhen": "Show the main navigation of an app, with its app and account switchers, in a column that collapses to its icons, and to a sheet on small screens.",
2031
2087
  "aliases": [
2032
2088
  "side nav",
2033
2089
  "side navigation",
@@ -2043,7 +2099,7 @@
2043
2099
  "importPath": "@ngrok/mantle/skeleton",
2044
2100
  "docsUrl": "https://mantle.ngrok.com/components/feedback/skeleton",
2045
2101
  "markdownUrl": "https://mantle.ngrok.com/components/feedback/skeleton.md",
2046
- "summary": "Use to show a placeholder while content is loading.",
2102
+ "summary": "Use Skeleton to show a placeholder while content is loading.",
2047
2103
  "jsdoc": "A skeleton is a placeholder for content that is loading.",
2048
2104
  "examples": [
2049
2105
  "```tsx\nimport { Skeleton } from \"@ngrok/mantle/skeleton\";\n\n// Text-line placeholder.\n<Skeleton className=\"w-1/2\" />\n\n// Avatar placeholder.\n<Skeleton className=\"h-12 w-12 rounded-full\" />\n\n// Announce loading state to assistive tech.\n<div role=\"status\" aria-live=\"polite\">\n <span className=\"sr-only\">Loading profile…</span>\n <Skeleton className=\"h-12 w-12 rounded-full\" />\n</div>\n```"
@@ -2184,7 +2240,7 @@
2184
2240
  "importPath": "@ngrok/mantle/strata",
2185
2241
  "docsUrl": "https://mantle.ngrok.com/components/structure/strata",
2186
2242
  "markdownUrl": "https://mantle.ngrok.com/components/structure/strata.md",
2187
- "summary": "A page of titled sections, each one explained beside its content — the shape of a settings page or a configuration editor.",
2243
+ "summary": "A page of titled sections, each one explained beside its content: the shape of a settings page or a configuration editor.",
2188
2244
  "jsdoc": "A page of titled sections, each one explained beside its content.",
2189
2245
  "examples": [
2190
2246
  "Composition:\n```\nStrata.Root\n└── Strata.Section\n ├── Strata.Header\n │ ├── Strata.Title\n │ └── Strata.Description\n └── Strata.Body\n```",
@@ -2204,10 +2260,16 @@
2204
2260
  "boundary": "the pairs are read-only label and value data, not headed sections."
2205
2261
  }
2206
2262
  ],
2207
- "useWhen": "Lay out a settings page or a configuration editor as titled sections, each one explained beside its controls.",
2263
+ "useWhen": "Lay out a settings page, a configuration editor, or a long form as titled sections, each one explained beside its controls: the title and description on the left, the form fields on the right.",
2208
2264
  "aliases": [
2209
2265
  "settings page",
2210
- "settings layout"
2266
+ "settings layout",
2267
+ "form section",
2268
+ "two-column form",
2269
+ "two-column layout",
2270
+ "description left controls right",
2271
+ "label and description on the left",
2272
+ "group of info on the left form fields on the right"
2211
2273
  ]
2212
2274
  },
2213
2275
  {
@@ -2219,7 +2281,7 @@
2219
2281
  "importPath": "@ngrok/mantle/switch",
2220
2282
  "docsUrl": "https://mantle.ngrok.com/components/forms/switch",
2221
2283
  "markdownUrl": "https://mantle.ngrok.com/components/forms/switch.md",
2222
- "summary": "A form control that toggles one setting on or off. Unlike Checkbox, it has no indeterminate state.",
2284
+ "summary": "A form control that toggles one setting on or off.",
2223
2285
  "jsdoc": "A form control that toggles one setting on or off.",
2224
2286
  "examples": [
2225
2287
  "```tsx\n<form>\n <Label htmlFor=\"airplane-mode\" className=\"flex items-center gap-2\">\n Airplane Mode\n <Switch name=\"airplane-mode\" id=\"airplane-mode\" />\n </Label>\n</form>\n```"
@@ -2254,7 +2316,7 @@
2254
2316
  "docsUrl": "https://mantle.ngrok.com/components/data-display/table",
2255
2317
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/table.md",
2256
2318
  "summary": "A structured way to display data in rows and columns.",
2257
- "jsdoc": "Use `Table` for STATIC, layout-driven tabular data — read-only data dumps, simple key/value displays, plain markup tables.",
2319
+ "jsdoc": "Use `Table` for STATIC, layout-driven tabular data: read-only data dumps, simple key/value displays, plain markup tables.",
2258
2320
  "examples": [
2259
2321
  "Composition:\n```\nTable.Root\n└── Table.Element\n ├── Table.Caption\n ├── Table.Head\n │ └── Table.Row\n │ └── Table.Header\n ├── Table.Body\n │ └── Table.Row\n │ └── Table.Cell\n └── Table.Foot\n```",
2260
2322
  "```tsx\n<Table.Root>\n <Table.Element>\n <Table.Caption>A list of your recent invoices.</Table.Caption>\n <Table.Head>\n <Table.Row>\n <Table.Header className=\"w-25\">Invoice</Table.Header>\n <Table.Header>Status</Table.Header>\n <Table.Header>Method</Table.Header>\n <Table.Header className=\"text-right\">Amount</Table.Header>\n </Table.Row>\n </Table.Head>\n <Table.Body>\n {invoices.map((invoice) => (\n <Table.Row key={invoice.invoice}>\n <Table.Cell className=\"font-medium\">{invoice.invoice}</Table.Cell>\n <Table.Cell>{invoice.paymentStatus}</Table.Cell>\n <Table.Cell>{invoice.paymentMethod}</Table.Cell>\n <Table.Cell className=\"text-right\">{invoice.totalAmount}</Table.Cell>\n </Table.Row>\n ))}\n </Table.Body>\n <Table.Foot>\n <Table.Row>\n <Table.Cell colSpan={3}>Total</Table.Cell>\n <Table.Cell className=\"text-right\">$2,500.00</Table.Cell>\n </Table.Row>\n </Table.Foot>\n </Table.Element>\n</Table.Root>\n```"
@@ -2262,7 +2324,7 @@
2262
2324
  "siblings": [
2263
2325
  {
2264
2326
  "name": "DataTable",
2265
- "boundary": "the user sorts, filters, pages through, or selects the rows."
2327
+ "boundary": "the user sorts, filters, pages through, selects, or expands rows (a detail panel or sub-rows)."
2266
2328
  },
2267
2329
  {
2268
2330
  "name": "DescriptionList",
@@ -2300,7 +2362,7 @@
2300
2362
  "boundary": "the user picks a form value, not a view."
2301
2363
  }
2302
2364
  ],
2303
- "useWhen": "Switch between peer views of related content in one place, with one view visible at a time.",
2365
+ "useWhen": "Switch between peer views of related content in one place, with one view visible at a time. Use `HeadlessTabs` to keep the tab state and behavior under your own custom markup and styling.",
2304
2366
  "aliases": [
2305
2367
  "tab bar",
2306
2368
  "tab list",
@@ -2343,7 +2405,7 @@
2343
2405
  "docsUrl": "https://mantle.ngrok.com/components/primitives/theme",
2344
2406
  "markdownUrl": "https://mantle.ngrok.com/components/primitives/theme.md",
2345
2407
  "summary": "Theme primitives (ThemeProvider and FOUC prevention) for light and dark modes that follow the OS by default.",
2346
- "jsdoc": "Re-exports for the Theme component — the provider and hooks that carry the applied theme, plus the document tags that stop a wrong-theme flash.",
2408
+ "jsdoc": "Re-exports for the Theme component: the provider and hooks that carry the applied theme, plus the document tags that stop a wrong-theme flash.",
2347
2409
  "siblings": [
2348
2410
  {
2349
2411
  "name": "ThemeSwitcher",
@@ -2366,7 +2428,7 @@
2366
2428
  "docsUrl": "https://mantle.ngrok.com/components/forms/theme-switcher",
2367
2429
  "markdownUrl": "https://mantle.ngrok.com/components/forms/theme-switcher.md",
2368
2430
  "summary": "The canonical light/dark toggle for headers and toolbars, plus the same toggle as one item for account menus.",
2369
- "jsdoc": "The canonical theme control for headers and toolbars: an `IconButton` (ghost by default) that shows the applied theme and flips between light and dark on each click.",
2431
+ "jsdoc": "The canonical theme control for headers and toolbars: an icon button (ghost by default) that shows the applied theme and flips between light and dark on each click.",
2370
2432
  "examples": [
2371
2433
  "```tsx\n<ThemeProvider>\n <header>\n <ThemeSwitcher />\n </header>\n</ThemeProvider>\n```",
2372
2434
  "```tsx\n<ThemeSwitcher appearance=\"outlined\" label=\"Cambiar tema\" />\n```"
@@ -2384,6 +2446,36 @@
2384
2446
  "color mode toggle"
2385
2447
  ]
2386
2448
  },
2449
+ {
2450
+ "name": "Time Zone",
2451
+ "slug": "components/preview/time-zone",
2452
+ "kind": "component",
2453
+ "category": "Primitives",
2454
+ "status": "preview",
2455
+ "importPath": "@ngrok/mantle/time-zone",
2456
+ "docsUrl": "https://mantle.ngrok.com/components/preview/time-zone",
2457
+ "markdownUrl": "https://mantle.ngrok.com/components/preview/time-zone.md",
2458
+ "summary": "Server-rendered dates in the visitor's time zone, with no hydration mismatch.",
2459
+ "jsdoc": "Re-exports for Time Zone: server-rendered dates in the visitor's time zone.",
2460
+ "siblings": [
2461
+ {
2462
+ "name": "BrowserOnly",
2463
+ "boundary": "the text depends on other browser state, such as the clock for a \"5m ago\" label."
2464
+ },
2465
+ {
2466
+ "name": "Calendar",
2467
+ "boundary": "the user picks a date from a month grid."
2468
+ }
2469
+ ],
2470
+ "useWhen": "Show a timestamp in the visitor's time zone on a server-rendered page, with no hydration mismatch and no text that pops in after hydration.",
2471
+ "aliases": [
2472
+ "timezone",
2473
+ "tz",
2474
+ "local time",
2475
+ "date format",
2476
+ "time element"
2477
+ ]
2478
+ },
2387
2479
  {
2388
2480
  "name": "Toast",
2389
2481
  "slug": "components/feedback/toast",
@@ -2393,8 +2485,8 @@
2393
2485
  "importPath": "@ngrok/mantle/toast",
2394
2486
  "docsUrl": "https://mantle.ngrok.com/components/feedback/toast",
2395
2487
  "markdownUrl": "https://mantle.ngrok.com/components/feedback/toast.md",
2396
- "summary": "A succinct message that appears temporarily.",
2397
- "jsdoc": "A succinct message that appears temporarily.",
2488
+ "summary": "A brief message that shows the result of an action, such as a save or a failed request, then goes away on its own.",
2489
+ "jsdoc": "A brief message that shows the result of an action, such as a save or a failed request, then goes away on its own.",
2398
2490
  "examples": [
2399
2491
  "Composition:\n```\nToast.Root\n├── Toast.Icon\n├── Toast.Message\n└── Toast.Action\n```",
2400
2492
  "```tsx\nmakeToast(\n <Toast.Root intent=\"success\">\n <Toast.Icon />\n <Toast.Message>Operation completed successfully!</Toast.Message>\n <Toast.Action>Dismiss</Toast.Action>\n </Toast.Root>\n);\n```"
@@ -2413,7 +2505,7 @@
2413
2505
  "boundary": "the message waits for the user to save or discard pending changes."
2414
2506
  }
2415
2507
  ],
2416
- "useWhen": "Report the result of an action, such as a save or a copy, in a brief message that goes away on its own.",
2508
+ "useWhen": "Show the result of an action in a brief message that goes away on its own, such as a saved change, a copied value, or an error when a delete failed.",
2417
2509
  "aliases": [
2418
2510
  "notification",
2419
2511
  "snackbar",
@@ -2460,7 +2552,7 @@
2460
2552
  "importPath": "@ngrok/mantle/truncated-text",
2461
2553
  "docsUrl": "https://mantle.ngrok.com/components/data-display/truncated-text",
2462
2554
  "markdownUrl": "https://mantle.ngrok.com/components/data-display/truncated-text.md",
2463
- "summary": "Renders one long opaque value on a single line and keeps its tail visible when it overflows.",
2555
+ "summary": "Renders one long opaque value, such as a URL, a resource ID, a container image reference, or a token, on a single line and keeps its tail visible when it overflows.",
2464
2556
  "jsdoc": "Renders one long opaque value (a URL, a resource ID, an image reference, a token) on a single line.",
2465
2557
  "examples": [
2466
2558
  "```tsx\nimport { TruncatedText } from \"@ngrok/mantle/truncated-text\";\n\n// A URL whose last path segment tells it apart from its neighbors.\n<TruncatedText\n className=\"font-mono text-sm\"\n value=\"https://example.ngrok.app/api/items?filter=%7B%22name%22%3A%22x%22%7D&limit=200\"\n/>\n\n// Keep the six characters that tell two IDs apart.\n<TruncatedText className=\"font-mono text-sm\" tail={6} value=\"ep_2abcdEFGhijKL123456\" />\n\n// Show an ID as its type prefix, an ellipsis, and its last eight characters.\n<TruncatedText className=\"font-mono text-sm\" head={4} value=\"mem_21h80N9qQuAmhSB8nlTA8KImPbQ\" />\n\n// Mute the type prefix and the ellipsis, and keep the tail at body color.\n<TruncatedText\n className=\"font-mono text-sm *:data-[slot=truncated-text-head]:text-muted *:data-[slot=truncated-text-tail]:text-body\"\n head={4}\n value=\"mem_21h80N9qQuAmhSB8nlTA8KImPbQ\"\n/>\n\n// As a <code> element.\n<TruncatedText asChild tail={12} value=\"ghcr.io/ngrok/ngrok-operator:0.14.0\">\n <code />\n</TruncatedText>\n```"
@@ -2482,6 +2574,44 @@
2482
2574
  "truncate"
2483
2575
  ]
2484
2576
  },
2577
+ {
2578
+ "name": "Typography",
2579
+ "slug": "components/data-display/typography",
2580
+ "kind": "component",
2581
+ "category": "Data Display",
2582
+ "status": "stable",
2583
+ "importPath": "@ngrok/mantle/typography",
2584
+ "docsUrl": "https://mantle.ngrok.com/components/data-display/typography",
2585
+ "markdownUrl": "https://mantle.ngrok.com/components/data-display/typography.md",
2586
+ "summary": "Headings and paragraphs in the site's type scale, for JSX and for MDX.",
2587
+ "jsdoc": "Headings and paragraphs in mantle's type roles.",
2588
+ "examples": [
2589
+ "Composition:\n```\nTypography\n├── Typography.H1\n├── Typography.H2\n├── Typography.H3\n├── Typography.H4\n├── Typography.H5\n├── Typography.H6\n└── Typography.P\n```",
2590
+ "```tsx\n<Typography.H1>Endpoints</Typography.H1>\n<Typography.P className=\"text-paragraph-lg\">Each endpoint gets a public URL.</Typography.P>\n<Typography.H2>Traffic policy</Typography.H2>\n<Typography.P>Attach a traffic policy to filter, route, or rewrite requests.</Typography.P>\n\n// MDX: map each element to its part.\n<MDXProvider components={{ h1: Typography.H1, h2: Typography.H2, p: Typography.P }}>\n <Content />\n</MDXProvider>\n```"
2591
+ ],
2592
+ "siblings": [
2593
+ {
2594
+ "name": "Card",
2595
+ "boundary": "the heading is the title of a card; use `Card.Title`."
2596
+ },
2597
+ {
2598
+ "name": "Dialog",
2599
+ "boundary": "the heading is the title of a dialog; use `Dialog.Title`."
2600
+ },
2601
+ {
2602
+ "name": "Code",
2603
+ "boundary": "the text is a fragment of code."
2604
+ }
2605
+ ],
2606
+ "useWhen": "Show a heading or a paragraph of copy in the site's type scale, in JSX or as the MDX `h1` to `h6` and `p` elements.",
2607
+ "aliases": [
2608
+ "heading",
2609
+ "paragraph",
2610
+ "prose",
2611
+ "h1",
2612
+ "text"
2613
+ ]
2614
+ },
2485
2615
  {
2486
2616
  "name": "Visually Hidden",
2487
2617
  "slug": "components/primitives/visually-hidden",
@@ -2549,6 +2679,33 @@
2549
2679
  "aliases": [
2550
2680
  "inset"
2551
2681
  ]
2682
+ },
2683
+ {
2684
+ "name": "World Map",
2685
+ "slug": "components/preview/world-map",
2686
+ "kind": "component",
2687
+ "category": "Charts",
2688
+ "status": "preview",
2689
+ "importPath": "@ngrok/mantle/world-map",
2690
+ "docsUrl": "https://mantle.ngrok.com/components/preview/world-map",
2691
+ "markdownUrl": "https://mantle.ngrok.com/components/preview/world-map.md",
2692
+ "summary": "A canvas-rendered world map that plots points by longitude and latitude on the Robinson projection.",
2693
+ "jsdoc": "A canvas-rendered world map that plots points by longitude and latitude on the Robinson projection, such as ngrok agents placed by their IP address.",
2694
+ "examples": [
2695
+ "Composition:\n```\nWorldMap.Root\n├── WorldMap.Graticule\n├── WorldMap.Point (one per series)\n├── WorldMap.Connector\n├── WorldMap.Callout\n├── WorldMap.Tooltip\n└── WorldMap.Legend\n```",
2696
+ "```tsx\nconst agents = [\n { name: \"sfo-edge-1\", longitude: -122.42, latitude: 37.77, sessions: 12 },\n { name: \"fra-edge-1\", longitude: 8.68, latitude: 50.11, sessions: 30 },\n { name: \"syd-edge-1\", longitude: 151.21, latitude: -33.87, sessions: 4 },\n];\n\n<WorldMap.Root\n data={agents}\n longitudeKey=\"longitude\"\n labelKey=\"name\"\n sizeKey=\"sessions\"\n aria-label=\"Agents by location\"\n>\n <WorldMap.Graticule />\n <WorldMap.Point latitudeKey=\"latitude\" label=\"Agents\" color=\"blue\" />\n <WorldMap.Tooltip />\n <WorldMap.Legend />\n</WorldMap.Root>\n```"
2697
+ ],
2698
+ "siblings": [
2699
+ {
2700
+ "name": "ScatterPlot",
2701
+ "boundary": "the two values are measures, not a place on Earth."
2702
+ },
2703
+ {
2704
+ "name": "DataTable",
2705
+ "boundary": "a reader needs to sort, filter, or act on each place more than see where it is."
2706
+ }
2707
+ ],
2708
+ "useWhen": "Show where things are in the world: agents, endpoints, or edge locations placed by longitude and latitude, or one request's client and the ngrok edge that received it."
2552
2709
  }
2553
2710
  ],
2554
2711
  "hooks": [
@@ -2576,7 +2733,11 @@
2576
2733
  "name": "useCallbackRef",
2577
2734
  "importPath": "@ngrok/mantle/hooks",
2578
2735
  "docsUrl": "https://mantle.ngrok.com/hooks",
2579
- "markdownUrl": "https://mantle.ngrok.com/hooks.md"
2736
+ "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2737
+ "summary": "Returns a memoized callback that always invokes the latest version of `callback`, while preserving a stable function identity across renders.",
2738
+ "examples": [
2739
+ "// Pass a stable handler to a memoized child without re-rendering it\nconst onSelect = useCallbackRef((id: string) => {\n // reads the latest `props.items` without being in deps\n props.onSelectItem(id, props.items);\n});\n\nreturn <MemoizedList onSelect={onSelect} />;"
2740
+ ]
2580
2741
  },
2581
2742
  {
2582
2743
  "name": "useComposedRefs",
@@ -2665,7 +2826,7 @@
2665
2826
  "importPath": "@ngrok/mantle/hooks",
2666
2827
  "docsUrl": "https://mantle.ngrok.com/hooks",
2667
2828
  "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2668
- "summary": "Returns `false` during server rendering and the initial hydration render, then `true` on the client — without hydration mismatches, because React uses the server snapshot for the hydration pass and re-renders once with the client snapshot afterwards.",
2829
+ "summary": "Returns `false` during server rendering and the initial hydration render, then `true` on the client, without hydration mismatches, because React uses the server snapshot for the hydration pass and re-renders once with the client snapshot afterwards.",
2669
2830
  "examples": [
2670
2831
  "```tsx\nfunction PreferencesPanel() {\n const isHydrated = useIsHydrated();\n // localStorage-backed defaults are only correct on the client\n return isHydrated ? <PreferenceControls /> : <PreferencesSkeleton />;\n}\n```"
2671
2832
  ]
@@ -2677,7 +2838,7 @@
2677
2838
  "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2678
2839
  "summary": "Returns `false` on the server, in the hydration render, and in the mount commit, then `true` from the next animation frame.",
2679
2840
  "examples": [
2680
- "```tsx\nfunction Panel({ open }: { open: boolean }) {\n const isHydrated = useIsHydratedAfterPaint();\n // A persisted-collapsed `open` snaps on load and animates on every later toggle.\n return (\n <div\n data-state={open ? \"expanded\" : \"collapsed\"}\n data-hydrated={isHydrated ? \"\" : undefined}\n className=\"w-52 transition-[width] data-[state=collapsed]:w-13 not-data-hydrated:transition-none\"\n />\n );\n}\n```"
2841
+ "```tsx\nfunction Panel({ open }: { open: boolean }) {\n const isHydrated = useIsHydratedAfterPaint();\n // A persisted-collapsed `open` snaps on load and animates on every later toggle.\n return (\n <div\n data-expanded={open ? \"\" : undefined}\n data-hydrated={isHydrated ? \"\" : undefined}\n className=\"w-52 transition-[width] not-data-expanded:w-13 not-data-hydrated:transition-none\"\n />\n );\n}\n```"
2681
2842
  ]
2682
2843
  },
2683
2844
  {
@@ -2707,7 +2868,7 @@
2707
2868
  "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2708
2869
  "summary": "React hook that subscribes to a CSS media query and returns whether it currently matches, re-rendering whenever the result changes.",
2709
2870
  "examples": [
2710
- "// Detect if the user prefers a dark color scheme\nconst prefersDark = useMatchesMediaQuery(\"(prefers-color-scheme: dark)\");\n\nreturn <div className={prefersDark ? \"dark\" : \"light\"}>Hello</div>;",
2871
+ "// Detect if the user prefers a dark color scheme\nconst prefersDark = useMatchesMediaQuery(\"(prefers-color-scheme: dark)\");\n\nreturn <div className={cx(prefersDark ? \"dark\" : \"light\")}>Hello</div>;",
2711
2872
  "// Show a different layout on portrait orientation\nconst isPortrait = useMatchesMediaQuery(\"(orientation: portrait)\");\n\nreturn isPortrait ? <PortraitLayout /> : <LandscapeLayout />;"
2712
2873
  ]
2713
2874
  },
@@ -2722,6 +2883,16 @@
2722
2883
  "// Disable an autoplaying carousel when motion is reduced\nconst prefersReducedMotion = usePrefersReducedMotion();\n\nreturn <Carousel autoplay={!prefersReducedMotion} />;"
2723
2884
  ]
2724
2885
  },
2886
+ {
2887
+ "name": "useScrollAnchor",
2888
+ "importPath": "@ngrok/mantle/hooks",
2889
+ "docsUrl": "https://mantle.ngrok.com/hooks",
2890
+ "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2891
+ "summary": "Keeps the reader's place in some content across a remount, at the same width or another.",
2892
+ "examples": [
2893
+ "```tsx\nfunction Transcript() {\n const { messages, scrollAnchorRef } = useConversation();\n const anchorContent = useScrollAnchor({ anchorRef: scrollAnchorRef, key: messages.at(-1)?.id });\n\n return (\n <ol ref={anchorContent}>\n {messages.map((message) => (\n <li key={message.id}>{message.text}</li>\n ))}\n </ol>\n );\n}\n```"
2894
+ ]
2895
+ },
2725
2896
  {
2726
2897
  "name": "useScrollBehavior",
2727
2898
  "importPath": "@ngrok/mantle/hooks",
@@ -2750,7 +2921,7 @@
2750
2921
  "markdownUrl": "https://mantle.ngrok.com/hooks.md",
2751
2922
  "summary": "Makes the element `handle` points at a swipe handle that drags `target` toward one edge and calls `onDismiss` when the drag crosses `threshold` of the target's size or ends in a flick.",
2752
2923
  "examples": [
2753
- "```tsx\nfunction FloatingPanel({ open, setOpen, children }: FloatingPanelProps) {\n const panelRef = useRef<HTMLElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n useSwipeToDismiss(headerRef, {\n target: panelRef,\n onDismiss: () => setOpen(false),\n });\n\n return (\n <aside\n ref={panelRef}\n aria-label=\"Assistant\"\n data-state={open ? \"open\" : \"closed\"}\n className=\"transition-[translate] duration-200 ease-out-strong motion-reduce:transition-none data-state-closed:translate-x-full\"\n >\n <div ref={headerRef} className=\"touch-pan-y\">\n Assistant\n </div>\n {children}\n </aside>\n );\n}\n```"
2924
+ "```tsx\nfunction FloatingPanel({ open, setOpen, children }: FloatingPanelProps) {\n const panelRef = useRef<HTMLElement>(null);\n const headerRef = useRef<HTMLDivElement>(null);\n useSwipeToDismiss(headerRef, {\n target: panelRef,\n onDismiss: () => setOpen(false),\n });\n\n return (\n <aside\n ref={panelRef}\n aria-label=\"Assistant\"\n data-open={open ? \"\" : undefined}\n className=\"transition-[translate] duration-200 ease-out-strong motion-reduce:transition-none not-data-open:translate-x-full\"\n >\n <div ref={headerRef} className=\"touch-pan-y\">\n Assistant\n </div>\n {children}\n </aside>\n );\n}\n```"
2754
2925
  ]
2755
2926
  },
2756
2927
  {
@@ -2827,5 +2998,206 @@
2827
2998
  "markdownUrl": "https://mantle.ngrok.com/utils/sorting.md",
2828
2999
  "summary": "Compare dates in newest-to-oldest (descending) order."
2829
3000
  }
2830
- ]
3001
+ ],
3002
+ "recipes": [
3003
+ {
3004
+ "name": "Assistant Across Routes",
3005
+ "slug": "recipes/assistant-across-routes",
3006
+ "docsUrl": "https://mantle.ngrok.com/recipes/assistant-across-routes",
3007
+ "markdownUrl": "https://mantle.ngrok.com/recipes/assistant-across-routes.md",
3008
+ "summary": "Render an assistant in main on its own route and in the AppLayout side panel on every other route, with one conversation above both, a 300ms View Transition that morphs the page into the panel, and the reader's place kept across the switch.",
3009
+ "useWhen": "Show an assistant as its own page on one route and in the side panel on every other route, with one conversation for both.",
3010
+ "aliases": [
3011
+ "assistant side panel",
3012
+ "chat side panel"
3013
+ ],
3014
+ "parts": [
3015
+ "AppLayout",
3016
+ "Sidebar",
3017
+ "TextArea",
3018
+ "LiveRegion"
3019
+ ]
3020
+ },
3021
+ {
3022
+ "name": "Breadcrumbs from Routes",
3023
+ "slug": "recipes/breadcrumbs-from-routes",
3024
+ "docsUrl": "https://mantle.ngrok.com/recipes/breadcrumbs-from-routes",
3025
+ "markdownUrl": "https://mantle.ngrok.com/recipes/breadcrumbs-from-routes.md",
3026
+ "summary": "Derive a breadcrumb trail from the matched route chain with React Router's route handles (no context, no effects, correct on the server and on first paint).",
3027
+ "useWhen": "Build the header breadcrumb trail from the matched routes, so it renders on the server and on the first paint.",
3028
+ "aliases": [
3029
+ "route breadcrumbs",
3030
+ "breadcrumb trail from routes"
3031
+ ],
3032
+ "parts": [
3033
+ "Breadcrumb",
3034
+ "AppLayout"
3035
+ ]
3036
+ },
3037
+ {
3038
+ "name": "Cancel and Submit Actions",
3039
+ "slug": "recipes/cancel-and-submit",
3040
+ "docsUrl": "https://mantle.ngrok.com/recipes/cancel-and-submit",
3041
+ "markdownUrl": "https://mantle.ngrok.com/recipes/cancel-and-submit.md",
3042
+ "summary": "Put a form's Cancel and submit buttons in one actions row, and switch to a Sandbar when the form edits saved settings.",
3043
+ "useWhen": "Place a form's Cancel and submit buttons, or pick between an actions row and a save bar.",
3044
+ "aliases": [
3045
+ "form actions",
3046
+ "form footer",
3047
+ "form buttons",
3048
+ "save and cancel buttons"
3049
+ ],
3050
+ "parts": [
3051
+ "Strata",
3052
+ "Field",
3053
+ "Button",
3054
+ "Sandbar"
3055
+ ]
3056
+ },
3057
+ {
3058
+ "name": "Filter from a Value",
3059
+ "slug": "recipes/filter-from-a-value",
3060
+ "docsUrl": "https://mantle.ngrok.com/recipes/filter-from-a-value",
3061
+ "markdownUrl": "https://mantle.ngrok.com/recipes/filter-from-a-value.md",
3062
+ "summary": "Turn a value in a table row into a Query filter with one click, and take it out with a second click, with toggleFacet.",
3063
+ "useWhen": "Let a click on a value in a table row add that value to the list's Query filter, and a second click take it out.",
3064
+ "aliases": [
3065
+ "click to filter",
3066
+ "filter by cell value"
3067
+ ],
3068
+ "parts": [
3069
+ "DataTable",
3070
+ "Query",
3071
+ "query-filter"
3072
+ ]
3073
+ },
3074
+ {
3075
+ "name": "Header Actions from Routes",
3076
+ "slug": "recipes/header-actions-from-routes",
3077
+ "docsUrl": "https://mantle.ngrok.com/recipes/header-actions-from-routes",
3078
+ "markdownUrl": "https://mantle.ngrok.com/recipes/header-actions-from-routes.md",
3079
+ "summary": "The documented deviation from the canonical route-owned header. A shell-owned header takes its actions from React Router route handles (derived state, so the server renders them and no page pushes anything up).",
3080
+ "useWhen": "Put the page's actions in a header that the app shell owns. Use it only when no route needs page state in its actions; else each route renders its own AppLayout.Header.",
3081
+ "aliases": [
3082
+ "shell header actions"
3083
+ ],
3084
+ "parts": [
3085
+ "AppLayout",
3086
+ "Breadcrumb",
3087
+ "DropdownMenu"
3088
+ ]
3089
+ },
3090
+ {
3091
+ "name": "List Page Loading States",
3092
+ "slug": "recipes/list-page-loading-states",
3093
+ "docsUrl": "https://mantle.ngrok.com/recipes/list-page-loading-states",
3094
+ "markdownUrl": "https://mantle.ngrok.com/recipes/list-page-loading-states.md",
3095
+ "summary": "Render a list page's header, filters, and column headers on the first frame, then fill the table with skeleton rows that match the loaded rows, so nothing shifts when the data lands.",
3096
+ "useWhen": "Build a list page whose heading, filters, and column headers paint on the first frame, while skeleton rows wait for the data.",
3097
+ "aliases": [
3098
+ "list page",
3099
+ "table page",
3100
+ "index page",
3101
+ "table loading skeleton"
3102
+ ],
3103
+ "parts": [
3104
+ "AppLayout",
3105
+ "DataTable",
3106
+ "Skeleton",
3107
+ "Empty",
3108
+ "LiveRegion"
3109
+ ]
3110
+ },
3111
+ {
3112
+ "name": "Natural Language Query",
3113
+ "slug": "recipes/natural-language-query",
3114
+ "docsUrl": "https://mantle.ngrok.com/recipes/natural-language-query",
3115
+ "markdownUrl": "https://mantle.ngrok.com/recipes/natural-language-query.md",
3116
+ "summary": "Let people describe a filter in plain words, and turn the words into a Query filter on Enter, through ngrok.ai gateway inference.",
3117
+ "useWhen": "Let people type a filter in plain words, and turn the words into a Query filter with model inference.",
3118
+ "aliases": [
3119
+ "ai search",
3120
+ "natural language filter",
3121
+ "plain language search",
3122
+ "type a question to filter"
3123
+ ],
3124
+ "parts": [
3125
+ "Query",
3126
+ "query-filter",
3127
+ "DataTable",
3128
+ "LiveRegion"
3129
+ ]
3130
+ },
3131
+ {
3132
+ "name": "Overlays + Async Data (React Query)",
3133
+ "slug": "recipes/overlay-async",
3134
+ "docsUrl": "https://mantle.ngrok.com/recipes/overlay-async",
3135
+ "markdownUrl": "https://mantle.ngrok.com/recipes/overlay-async.md",
3136
+ "summary": "Render a Sheet, Dialog, or Alert Dialog immediately, then swap its body between pending, success, 404, and 500 states with TanStack Query.",
3137
+ "useWhen": "Open a Sheet, Dialog, or Alert Dialog at once, then show its pending, loaded, not found, and error states as the data loads.",
3138
+ "aliases": [
3139
+ "dialog loading state",
3140
+ "modal with async data",
3141
+ "sheet with async data"
3142
+ ],
3143
+ "parts": [
3144
+ "Dialog",
3145
+ "Sheet",
3146
+ "AlertDialog",
3147
+ "Skeleton",
3148
+ "Empty"
3149
+ ]
3150
+ },
3151
+ {
3152
+ "name": "Query from the URL",
3153
+ "slug": "recipes/query-from-the-url",
3154
+ "docsUrl": "https://mantle.ngrok.com/recipes/query-from-the-url",
3155
+ "markdownUrl": "https://mantle.ngrok.com/recipes/query-from-the-url.md",
3156
+ "summary": "Keep the text of a Query field in the ?q= URL param, so a filtered list is shareable by its URL, with React Router or nuqs.",
3157
+ "useWhen": "Keep the text of a list's Query filter in the URL, so a filtered list is shareable by its link.",
3158
+ "aliases": [
3159
+ "filter in the url",
3160
+ "search params filter",
3161
+ "shareable filter link"
3162
+ ],
3163
+ "parts": [
3164
+ "Query",
3165
+ "query-filter",
3166
+ "DataTable"
3167
+ ]
3168
+ },
3169
+ {
3170
+ "name": "Route Announcer",
3171
+ "slug": "recipes/route-announcer",
3172
+ "docsUrl": "https://mantle.ngrok.com/recipes/route-announcer",
3173
+ "markdownUrl": "https://mantle.ngrok.com/recipes/route-announcer.md",
3174
+ "summary": "Announce completed client-side navigations to screen readers by pairing a persistent LiveRegion with React Router's location, with page-name fallbacks and repeat-message handling.",
3175
+ "useWhen": "Announce each client-side navigation to screen readers.",
3176
+ "aliases": [
3177
+ "announce page change",
3178
+ "screen reader navigation announcement"
3179
+ ],
3180
+ "parts": [
3181
+ "LiveRegion"
3182
+ ]
3183
+ },
3184
+ {
3185
+ "name": "Sparklines in a List",
3186
+ "slug": "recipes/sparklines-in-a-list",
3187
+ "docsUrl": "https://mantle.ngrok.com/recipes/sparklines-in-a-list",
3188
+ "markdownUrl": "https://mantle.ngrok.com/recipes/sparklines-in-a-list.md",
3189
+ "summary": "Put two BarChart sparklines in every row of a DataTable, sized for a row, named for the row, with a compact total beside each one, and dormant until the reader scrolls near it.",
3190
+ "useWhen": "Show a small trend chart in each row of a data table.",
3191
+ "aliases": [
3192
+ "sparkline",
3193
+ "row trend chart",
3194
+ "mini chart in a table"
3195
+ ],
3196
+ "parts": [
3197
+ "DataTable",
3198
+ "BarChart"
3199
+ ]
3200
+ }
3201
+ ],
3202
+ "sourceHash": "0f2b255d17f2d439fc45a694bc63013ccd7e9b0de03065e6d1b74d5b29feca01"
2831
3203
  }