@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
@@ -3,146 +3,11 @@
3
3
  *
4
4
  * @see https://mantle.ngrok.com/components/overlays/hover-card
5
5
  */
6
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
7
- import { ComponentProps } from "react";
8
- import { Arrow as Arrow$1, Content as Content$1, Portal as Portal$1, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-hover-card";
6
+ import * as HoverCardParts from "./hover-card-parts.js";
9
7
  /**
10
8
  * A floating card that appears when a user hovers over a trigger element.
11
- * This is the root, stateful component that manages the open/closed state of the hover card.
12
9
  *
13
- * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's float tier. When
14
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
15
- * that overlay's positioner and paints above the overlay that owns it. Outside
16
- * every overlay, it portals to `document.body`, below the overlay tier
17
- * (`z-60`). When sibling floats share a container, the most recently mounted
18
- * float paints on top.
19
- *
20
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardroot
21
- *
22
- * @example
23
- * ```tsx
24
- * <HoverCard.Root>
25
- * <HoverCard.Trigger asChild>
26
- * <Button type="button" appearance="outlined" intent="neutral">
27
- * Hover me
28
- * </Button>
29
- * </HoverCard.Trigger>
30
- * <HoverCard.Content>
31
- * <p>This is the hover card content.</p>
32
- * </HoverCard.Content>
33
- * </HoverCard.Root>
34
- * ```
35
- */
36
- declare const Root: ({ closeDelay, openDelay, ...props }: ComponentProps<typeof Root$1>) => import("react").JSX.Element;
37
- /**
38
- * The trigger element that opens the hover card when hovered.
39
- *
40
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardtrigger
41
- *
42
- * @example
43
- * ```tsx
44
- * <HoverCard.Root>
45
- * <HoverCard.Trigger asChild>
46
- * <Button type="button" appearance="outlined" intent="neutral">
47
- * Hover me
48
- * </Button>
49
- * </HoverCard.Trigger>
50
- * <HoverCard.Content>
51
- * <p>This is the hover card content.</p>
52
- * </HoverCard.Content>
53
- * </HoverCard.Root>
54
- * ```
55
- */
56
- declare const Trigger: ({ "data-slot": dataSlot, ...props }: ComponentProps<typeof Trigger$1> & WithDataSlot) => import("react").JSX.Element;
57
- /**
58
- * The portal container for rendering hover card content outside the normal DOM tree.
59
- * `HoverCard.Content` already renders inside this portal internally, so you typically
60
- * do not need to use `HoverCard.Portal` directly. Use it only when you need to
61
- * customize portal placement (e.g., pass a `container` prop) or wrap multiple
62
- * `HoverCard.Content` instances in a shared portal.
63
- *
64
- * When `container` is omitted, content mounts into the nearest layer container:
65
- * an enclosing overlay's positioner when one is open, else `document.body`.
66
- *
67
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardportal
68
- *
69
- * @example
70
- * ```tsx
71
- * <HoverCard.Root>
72
- * <HoverCard.Trigger asChild>
73
- * <Button type="button" appearance="outlined" intent="neutral">
74
- * Hover me
75
- * </Button>
76
- * </HoverCard.Trigger>
77
- * <HoverCard.Portal>
78
- * <HoverCard.Content>
79
- * <p>This is the hover card content.</p>
80
- * </HoverCard.Content>
81
- * </HoverCard.Portal>
82
- * </HoverCard.Root>
83
- * ```
84
- */
85
- declare const Portal: ({ container, ...props }: ComponentProps<typeof Portal$1>) => import("react").JSX.Element;
86
- /**
87
- * The content to render inside the hover card.
88
- *
89
- * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's float tier. When
90
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
91
- * that overlay's positioner and paints above the overlay that owns it. Outside
92
- * every overlay, it portals to `document.body`, below the overlay tier
93
- * (`z-60`). When sibling floats share a container, the most recently mounted
94
- * float paints on top.
95
- *
96
- * It sets `position: relative`, so `HoverCard.Arrow`'s absolutely-positioned
97
- * wrapper keeps one containing block through the open animation. An
98
- * absolutely-positioned child of the content therefore anchors to the content.
99
- *
100
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardcontent
101
- *
102
- * @example
103
- * ```tsx
104
- * <HoverCard.Root>
105
- * <HoverCard.Trigger asChild>
106
- * <Button type="button" appearance="outlined" intent="neutral">
107
- * Hover me
108
- * </Button>
109
- * </HoverCard.Trigger>
110
- * <HoverCard.Content>
111
- * <p>This is the hover card content.</p>
112
- * </HoverCard.Content>
113
- * </HoverCard.Root>
114
- * ```
115
- */
116
- declare const Content: ({ "data-slot": dataSlot, className, onClick, align, sideOffset, ...props }: ComponentProps<typeof Content$1> & WithDataSlot) => import("react").JSX.Element;
117
- type HoverCardArrowProps = Omit<ComponentProps<typeof Arrow$1>, "asChild" | "children"> & WithDataSlot;
118
- /**
119
- * An optional tip that points from `HoverCard.Content` at its trigger. Render it
120
- * as a child of `HoverCard.Content`. Radix positions it with floating-ui's arrow
121
- * middleware, so it stays centered on the trigger when collision detection shifts
122
- * or flips the content. It also repaints `HoverCard.Content`'s fill and border
123
- * across its base, so the two edges read as one line, and carries its own shadow,
124
- * clipped at that base so it never darkens the content's interior.
125
- *
126
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardarrow
127
- *
128
- * @example
129
- * ```tsx
130
- * <HoverCard.Root>
131
- * <HoverCard.Trigger asChild>
132
- * <Button type="button" appearance="link" intent="accent">@username</Button>
133
- * </HoverCard.Trigger>
134
- * <HoverCard.Content>
135
- * <HoverCard.Arrow />
136
- * <p>This is the hover card content.</p>
137
- * </HoverCard.Content>
138
- * </HoverCard.Root>
139
- * ```
140
- */
141
- declare const Arrow: ({ "data-slot": dataSlot, className, height, width, ...props }: HoverCardArrowProps) => import("react").JSX.Element;
142
- /**
143
- * A floating card that appears when a user hovers over a trigger element.
144
- *
145
- * Use `HoverCard` for non-essential preview content shown on HOVER — user
10
+ * Use `HoverCard` for non-essential preview content shown on HOVER: user
146
11
  * cards, repo previews, rich link previews. Because hover is not reachable
147
12
  * via keyboard, all content inside a `HoverCard` must be supplemental,
148
13
  * never the only path to information; the trigger is typically a link that
@@ -150,12 +15,12 @@ declare const Arrow: ({ "data-slot": dataSlot, className, height, width, ...prop
150
15
  * For short, non-interactive labels or hints, use `Tooltip`. For
151
16
  * interactive overlays the user opens deliberately, use `Popover`.
152
17
  *
153
- * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's float tier. When
154
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
155
- * that overlay's positioner and paints above the overlay that owns it. Outside
156
- * every overlay, it portals to `document.body`, below the overlay tier
157
- * (`z-60`). When sibling floats share a container, the most recently mounted
158
- * float paints on top.
18
+ * `HoverCard.Content` is a native `popover` in the browser's top layer, so it paints
19
+ * above the page with no `z-index`. It portals into the content of the open
20
+ * `Dialog`, `AlertDialog`, `Sheet`, or `Popover` that holds it, else into
21
+ * `document.body`. It does not show while an overlay that does not hold it
22
+ * is open. A script places it next to its trigger. Where the browser has no
23
+ * popover API, it is a fixed box at `z-50`.
159
24
  *
160
25
  * @useWhen Preview the content behind a link on hover, such as a user card or a repository preview.
161
26
  *
@@ -188,142 +53,5 @@ declare const Arrow: ({ "data-slot": dataSlot, className, height, width, ...prop
188
53
  * </HoverCard.Root>
189
54
  * ```
190
55
  */
191
- declare const HoverCard: {
192
- /**
193
- * The root, stateful component that manages the open/closed state of the hover card.
194
- *
195
- * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's float tier. When
196
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
197
- * that overlay's positioner and paints above the overlay that owns it. Outside
198
- * every overlay, it portals to `document.body`, below the overlay tier
199
- * (`z-60`). When sibling floats share a container, the most recently mounted
200
- * float paints on top.
201
- *
202
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardroot
203
- *
204
- * @example
205
- * ```tsx
206
- * <HoverCard.Root>
207
- * <HoverCard.Trigger asChild>
208
- * <Button type="button" appearance="outlined" intent="neutral">
209
- * Hover me
210
- * </Button>
211
- * </HoverCard.Trigger>
212
- * <HoverCard.Content>
213
- * <p>This is the hover card content.</p>
214
- * </HoverCard.Content>
215
- * </HoverCard.Root>
216
- * ```
217
- */
218
- readonly Root: typeof Root;
219
- /**
220
- * An optional tip that points from `HoverCard.Content` at its trigger. It stays
221
- * centered on the trigger when collision detection shifts or flips the content,
222
- * and its border continues `HoverCard.Content`'s own edge.
223
- *
224
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardarrow
225
- *
226
- * @example
227
- * ```tsx
228
- * <HoverCard.Root>
229
- * <HoverCard.Trigger asChild>
230
- * <Button type="button" appearance="link" intent="accent">@username</Button>
231
- * </HoverCard.Trigger>
232
- * <HoverCard.Content side="top">
233
- * <HoverCard.Arrow />
234
- * <div className="space-y-2">
235
- * <Text weight="strong">User Profile</Text>
236
- * <Text>Additional information about the user.</Text>
237
- * </div>
238
- * </HoverCard.Content>
239
- * </HoverCard.Root>
240
- * ```
241
- */
242
- readonly Arrow: typeof Arrow;
243
- /**
244
- * The content to render inside the hover card.
245
- *
246
- * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's float tier. When
247
- * composed inside an open `Dialog`, `AlertDialog`, or `Sheet`, it portals into
248
- * that overlay's positioner and paints above the overlay that owns it. Outside
249
- * every overlay, it portals to `document.body`, below the overlay tier
250
- * (`z-60`). When sibling floats share a container, the most recently mounted
251
- * float paints on top.
252
- *
253
- * It sets `position: relative`, so `HoverCard.Arrow`'s absolutely-positioned
254
- * wrapper keeps one containing block through the open animation. An
255
- * absolutely-positioned child of the content therefore anchors to the content.
256
- *
257
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardcontent
258
- *
259
- * @example
260
- * ```tsx
261
- * <HoverCard.Root>
262
- * <HoverCard.Trigger asChild>
263
- * <Button type="button" appearance="link" intent="accent">@username</Button>
264
- * </HoverCard.Trigger>
265
- * <HoverCard.Content side="top">
266
- * <div className="space-y-2">
267
- * <Text weight="strong">User Profile</Text>
268
- * <Text>Additional information about the user.</Text>
269
- * <Button type="button" appearance="filled" intent="neutral" size="sm">Follow</Button>
270
- * </div>
271
- * </HoverCard.Content>
272
- * </HoverCard.Root>
273
- * ```
274
- */
275
- readonly Content: typeof Content;
276
- /**
277
- * The portal container for rendering hover card content outside the normal DOM tree.
278
- * `HoverCard.Content` already renders inside this portal internally, so you typically
279
- * do not need to use `HoverCard.Portal` directly. Use it only when you need to
280
- * customize portal placement (e.g., pass a `container` prop) or wrap multiple
281
- * `HoverCard.Content` instances in a shared portal.
282
- *
283
- * When `container` is omitted, content mounts into the nearest layer container:
284
- * an enclosing overlay's positioner when one is open, else `document.body`.
285
- *
286
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardportal
287
- *
288
- * @example
289
- * ```tsx
290
- * <HoverCard.Root>
291
- * <HoverCard.Trigger asChild>
292
- * <Button type="button" appearance="outlined" intent="neutral">
293
- * Hover me
294
- * </Button>
295
- * </HoverCard.Trigger>
296
- * <HoverCard.Portal>
297
- * <HoverCard.Content>
298
- * <p>This is the hover card content.</p>
299
- * </HoverCard.Content>
300
- * </HoverCard.Portal>
301
- * </HoverCard.Root>
302
- * ```
303
- */
304
- readonly Portal: typeof Portal;
305
- /**
306
- * The trigger element that opens the hover card when hovered.
307
- *
308
- * @see https://mantle.ngrok.com/components/overlays/hover-card#hovercardtrigger
309
- *
310
- * @example
311
- * ```tsx
312
- * <HoverCard.Root>
313
- * <HoverCard.Trigger asChild>
314
- * <Button type="button" appearance="ghost" intent="neutral">
315
- * Hover for details
316
- * </Button>
317
- * </HoverCard.Trigger>
318
- * <HoverCard.Content>
319
- * <div className="space-y-1">
320
- * <Text weight="strong">Quick Info</Text>
321
- * <Text>This appears when you hover over the trigger.</Text>
322
- * </div>
323
- * </HoverCard.Content>
324
- * </HoverCard.Root>
325
- * ```
326
- */
327
- readonly Trigger: typeof Trigger;
328
- };
56
+ declare const HoverCard: typeof HoverCardParts;
329
57
  export { HoverCard };
@@ -1 +1 @@
1
- import{t as e}from"./cx-CK7o_rVv.js";import{t}from"./data-slot-EM6s2WEU.js";import{i as n,n as r}from"./layer-container-kEQiE4zV.js";import{c as i}from"react/compiler-runtime";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{Arrow as s,Content as c,Portal as l,Root as u,Trigger as d}from"@radix-ui/react-hover-card";const f=e=>{let t=i(8),n,r,o;t[0]===e?(n=t[1],r=t[2],o=t[3]):({closeDelay:r,openDelay:o,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o);let s=r===void 0?300:r,c=o===void 0?100:o,l;return t[4]!==s||t[5]!==c||t[6]!==n?(l=/* @__PURE__ */ a(u,{closeDelay:s,openDelay:c,...n}),t[4]=s,t[5]=c,t[6]=n,t[7]=l):l=t[7],l},p=e=>{let n=i(8),r,o;n[0]===e?(r=n[1],o=n[2]):({"data-slot":r,...o}=e,n[0]=e,n[1]=r,n[2]=o);let s;n[3]===r?s=n[4]:(s=t(r,`hover-card-trigger`),n[3]=r,n[4]=s);let c;return n[5]!==o||n[6]!==s?(c=/* @__PURE__ */ a(d,{"data-slot":s,...o}),n[5]=o,n[6]=s,n[7]=c):c=n[7],c},m=e=>{let t=i(9),o,s;t[0]===e?(o=t[1],s=t[2]):({container:o,...s}=e,t[0]=e,t[1]=o,t[2]=s);let c=n(),u=o??c,d;t[3]!==s||t[4]!==u?(d=/* @__PURE__ */ a(l,{container:u,...s}),t[3]=s,t[4]=u,t[5]=d):d=t[5];let f;return t[6]!==u||t[7]!==d?(f=/* @__PURE__ */ a(r.Provider,{value:u,children:d}),t[6]=u,t[7]=d,t[8]=f):f=t[8],f},h={Root:f,Arrow:n=>{let r=i(20),c,l,u,d,f;r[0]===n?(c=r[1],l=r[2],u=r[3],d=r[4],f=r[5]):({"data-slot":l,className:c,height:d,width:f,...u}=n,r[0]=n,r[1]=c,r[2]=l,r[3]=u,r[4]=d,r[5]=f);let p=d===void 0?7:d,m=f===void 0?14:f,h;r[6]===l?h=r[7]:(h=t(l,`hover-card-arrow`),r[6]=l,r[7]=h);let g;r[8]===c?g=r[9]:(g=e(`fill-(--background-color-popover)`,`[clip-path:inset(0_-200%_-200%_-200%)]`,`filter-[drop-shadow(0_0_4px_color-mix(in_oklab,var(--shadow-color)_var(--shadow-first-opacity),transparent))]`,c),r[8]=c,r[9]=g);let _,v;r[10]===Symbol.for(`react.memo_cache_sentinel`)?(_=/* @__PURE__ */ a(`polygon`,{points:`0,0 30,0 15,10`}),v=/* @__PURE__ */ a(`polyline`,{className:`stroke-(--border-color-popover)`,fill:`none`,points:`0,0 15,10 30,0`,strokeWidth:1.5,vectorEffect:`non-scaling-stroke`}),r[10]=_,r[11]=v):(_=r[10],v=r[11]);let y;r[12]===g?y=r[13]:(y=/* @__PURE__ */ o(`svg`,{className:g,children:[_,v]}),r[12]=g,r[13]=y);let b;return r[14]!==p||r[15]!==u||r[16]!==h||r[17]!==y||r[18]!==m?(b=/* @__PURE__ */ a(s,{"aria-hidden":`true`,asChild:!0,"data-slot":h,height:p,width:m,...u,children:y}),r[14]=p,r[15]=u,r[16]=h,r[17]=y,r[18]=m,r[19]=b):b=r[19],b},Content:n=>{let r=i(20),o,s,l,u,d,f;r[0]===n?(o=r[1],s=r[2],l=r[3],u=r[4],d=r[5],f=r[6]):({"data-slot":s,className:o,onClick:l,align:d,sideOffset:f,...u}=n,r[0]=n,r[1]=o,r[2]=s,r[3]=l,r[4]=u,r[5]=d,r[6]=f);let p=d===void 0?`center`:d,h=f===void 0?4:f,g;r[7]===s?g=r[8]:(g=t(s,`hover-card-content`),r[7]=s,r[8]=g);let _;r[9]===o?_=r[10]:(_=e(`relative`,`bg-popover border-popover z-50 w-64 rounded-md border p-4 shadow-md outline-hidden`,`data-state-open:animate-in data-state-closed:animate-out data-state-closed:fade-out-0 data-state-open:fade-in-0 data-state-closed:zoom-out-95 data-state-open:zoom-in-95 data-side-bottom:slide-in-from-top-1 data-side-left:slide-in-from-right-1 data-side-right:slide-in-from-left-1 data-side-top:slide-in-from-bottom-1 data-side-bottom:slide-out-to-top-1 data-side-left:slide-out-to-right-1 data-side-right:slide-out-to-left-1 data-side-top:slide-out-to-bottom-1 duration-200 ease-out-strong data-state-closed:duration-150 motion-reduce:animate-none!`,o),r[9]=o,r[10]=_);let v;r[11]===l?v=r[12]:(v=e=>{e.stopPropagation(),l?.(e)},r[11]=l,r[12]=v);let y;return r[13]!==p||r[14]!==u||r[15]!==h||r[16]!==g||r[17]!==_||r[18]!==v?(y=/* @__PURE__ */ a(m,{children:/* @__PURE__ */ a(c,{"data-slot":g,align:p,sideOffset:h,className:_,onClick:v,...u})}),r[13]=p,r[14]=u,r[15]=h,r[16]=g,r[17]=_,r[18]=v,r[19]=y):y=r[19],y},Portal:m,Trigger:p};export{h as HoverCard};
1
+ export*as HoverCard from"./hover-card-parts.js";
@@ -13,7 +13,7 @@ import { ComponentProps } from "react";
13
13
  type SvgAttributes = ComponentProps<"svg"> & {
14
14
  /**
15
15
  * Whether the SVG can receive keyboard focus. Use the string form
16
- * (`"true"` / `"false"`) — the SVG attribute is serialized as a string and
16
+ * (`"true"` / `"false"`): the SVG attribute is serialized as a string and
17
17
  * React's boolean form can produce inconsistent output.
18
18
  */
19
19
  focusable?: "true" | "false";
@@ -0,0 +1 @@
1
+ import{n as e}from"./cx-CfAFHj5_.js";import{t}from"./utils-EM6s2WEU.js";import{t as n}from"./icon-BSGMvJ0W.js";import{jsx as r}from"react/jsx-runtime";const i=({"data-slot":i,active:a,className:o,icons:s,...c})=>/* @__PURE__ */ r(`span`,{"data-slot":t(i,`icon-swap`),className:e(`inline-grid shrink-0 place-items-center`,o),...c,children:Object.entries(s).map(([e,t])=>/* @__PURE__ */ r(`span`,{"data-slot":`icon-swap-item`,"aria-hidden":e!==a||void 0,className:`col-start-1 row-start-1 grid place-items-center motion-safe:transition-[opacity,scale,filter,visibility] motion-safe:duration-200 motion-safe:ease-out-strong aria-hidden:opacity-0 motion-safe:aria-hidden:scale-50 motion-safe:aria-hidden:blur-[2px] motion-safe:aria-hidden:duration-150 aria-hidden:invisible aria-hidden:[&>*]:paused`,children:/* @__PURE__ */ r(n,{svg:t})},e))});export{i as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./cx-CfAFHj5_.js";import{t}from"./utils-EM6s2WEU.js";import{t as n}from"./icon-DIiKxRTh.js";import{jsx as r}from"react/jsx-runtime";const i=({"data-slot":i,className:a,style:o,svg:s,ref:c,...l})=>/* @__PURE__ */ r(n,{ref:c,"data-slot":t(i,`icon`),className:e(`size-5`,a),style:o,svg:s,...l});export{i as t};
@@ -0,0 +1 @@
1
+ import{Children as e,cloneElement as t,isValidElement as n}from"react";import r from"tiny-invariant";import{t as i}from"./cx-CfAFHj5_.js";import{t as a}from"./utils-EM6s2WEU.js";const o=t=>t!=null&&e.toArray(t).some(e=>n(e)&&e.type===`title`),s=e=>e[`aria-label`]!=null||e[`aria-labelledby`]!=null||e[`aria-hidden`]!=null||e.role!=null||e.alt!=null||o(e.children),c=({"data-slot":o,className:c,style:l,svg:u,ref:d,...f})=>{r(n(u)&&e.only(u),`SvgOnly must be passed a single SVG icon as a JSX tag.`);let p=!s(f)&&!s(u.props);return t(u,{"data-slot":a(o,`svg-only`),...p&&{"aria-hidden":!0},...f,className:i(`shrink-0`,c,u.props.className),style:{...l,...u.props.style},ref:d})};export{c as t};
@@ -1,6 +1,6 @@
1
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
2
- import { t as SvgAttributes } from "./icon-CgNqu-fl.js";
3
1
  import { ReactNode } from "react";
2
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
3
+ import { t as SvgAttributes } from "./icon--purqHRo.js";
4
4
  type SvgOnlyProps = Omit<SvgAttributes, "children"> & {
5
5
  /**
6
6
  * A single SVG icon element.
@@ -1,6 +1,6 @@
1
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
2
- import { t as SvgAttributes } from "./icon-CgNqu-fl.js";
3
1
  import { ReactNode } from "react";
2
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
3
+ import { t as SvgAttributes } from "./icon--purqHRo.js";
4
4
  type IconProps = Omit<SvgAttributes, "children"> & {
5
5
  /**
6
6
  * A single SVG icon element.
package/dist/icon.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @see https://mantle.ngrok.com/components/data-display/icon
5
5
  */
6
- import { n as IconProps, t as Icon } from "./icon-NYvyyRMG.js";
7
- import { n as SvgOnlyProps, t as SvgOnly } from "./icon-DXDyhy2N.js";
8
- import { t as SvgAttributes } from "./icon-CgNqu-fl.js";
6
+ import { n as IconProps, t as Icon } from "./icon-KTcDR4--.js";
7
+ import { n as SvgOnlyProps, t as SvgOnly } from "./icon-Dqn_LLrR.js";
8
+ import { t as SvgAttributes } from "./icon--purqHRo.js";
9
9
  export { Icon, type IconProps, type SvgAttributes, SvgOnly, type SvgOnlyProps };
package/dist/icon.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./icon-kK0c-POG.js";import{t}from"./icon-BudQMD2S.js";export{e as Icon,t as SvgOnly};
1
+ import{t as e}from"./icon-BSGMvJ0W.js";import{t}from"./icon-DIiKxRTh.js";export{e as Icon,t as SvgOnly};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";function n(n){return/* @__PURE__ */ t(`svg`,{fill:`currentColor`,height:`1em`,viewBox:`0 0 256 256`,width:`1em`,...n,children:[/* @__PURE__ */ e(`path`,{fill:`none`,d:`M0 0h256v256H0z`}),/* @__PURE__ */ e(`path`,{d:`m213.7 82.3-56-56c-1.5-1.5-3.5-2.3-5.7-2.3H56c-8.8 0-16 7.2-16 16v88c0 4.4 3.6 8 8 8s8-3.6 8-8V40h88v48c0 4.4 3.6 8 8 8h48v120h-40c-4.4 0-8 3.6-8 8s3.6 8 8 8h40c8.8 0 16-7.2 16-16V88c0-2.1-.8-4.2-2.3-5.7zm-53.7-31L188.7 80H160V51.3z`}),/* @__PURE__ */ e(`path`,{d:`M124.6 194.5h-6.8v-27.3h6.8c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.4-3.4-3.4h-6.8v-10.2c0-3.8-3.1-6.8-6.8-6.8H63.3c-3.8 0-6.8 3.1-6.8 6.8v10.2h-6.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4h6.8v27.3h-6.8c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4h6.8v23.9c0 3.8 3.1 6.8 6.8 6.8H111c3.8 0 6.8-3.1 6.8-6.8v-23.9h6.8c1.9 0 3.4-1.5 3.4-3.4s-1.5-3.4-3.4-3.4zm-37.5-11.9c-6.6 0-11.9-5.3-11.9-11.9s5.3-11.9 11.9-11.9S99 164.1 99 170.7s-5.3 11.9-11.9 11.9zm0 10.2c6.6 0 11.9 5.3 11.9 11.9s-5.3 11.9-11.9 11.9-11.9-5.3-11.9-11.9 5.3-11.9 11.9-11.9z`})]})}export{n as t};
@@ -0,0 +1 @@
1
+ "use client";import{t as e}from"./SortAscending-CEk4rgu_.js";import{t}from"./SortDescending-C0cE7hpU.js";import{i as n}from"./sorting-CvDpql3O.js";import{jsx as r}from"react/jsx-runtime";const i=({mode:i,direction:a,...o})=>{switch(i){case`alphanumeric`:switch(a){case`asc`:return/* @__PURE__ */ r(e,{...o,weight:`regular`});case`desc`:return/* @__PURE__ */ r(t,{...o,weight:`regular`});default:throw Error(`Invalid alphanumeric sorting direction given: "${String(a)}"`)}case`time`:switch(n(a)){case`oldest-to-newest`:return/* @__PURE__ */ r(t,{...o,weight:`regular`});case`newest-to-oldest`:return/* @__PURE__ */ r(e,{...o,weight:`regular`});default:throw Error(`Invalid time sorting direction given: "${a}"`)}}};export{i as t};
@@ -0,0 +1 @@
1
+ "use client";import{t as e}from"./Desktop-BaSlSeg2.js";import{t}from"./Moon-hn_oivM6.js";import{t as n}from"./Sun-C3SaXdLl.js";import{i as r}from"./theme-D6rP5Fy8.js";import{jsx as i}from"react/jsx-runtime";function a(e){let t=r();return/* @__PURE__ */ i(o,{theme:t,...e})}function o({theme:r,...a}){switch(r){case`system`:return/* @__PURE__ */ i(e,{...a,weight:`regular`});case`light`:return/* @__PURE__ */ i(n,{...a,weight:`regular`});case`dark`:return/* @__PURE__ */ i(t,{...a,weight:`regular`})}}export{o as n,a as t};
package/dist/icons.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Re-exports for the Icons component — the ngrok-specific icons that
2
+ * Re-exports for the Icons component: the ngrok-specific icons that
3
3
  * `@phosphor-icons/react` does not ship.
4
4
  *
5
5
  * @useWhen Show an ngrok glyph that `@phosphor-icons/react` does not ship, such as the ngrok
@@ -11,7 +11,7 @@
11
11
  * @see https://mantle.ngrok.com/components/data-display/icons
12
12
  */
13
13
  import { a as AlphanumericSortingDirection, c as TimeSortingDirection, o as SortingDirection, s as SortingMode } from "./direction-CpRzTtZh.js";
14
- import { t as SvgAttributes } from "./icon-CgNqu-fl.js";
14
+ import { t as SvgAttributes } from "./icon--purqHRo.js";
15
15
  import { i as Theme } from "./theme-w1CrMM-x.js";
16
16
  import { ComponentProps } from "react";
17
17
  type Props = SvgAttributes & ({
package/dist/icons.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./icons-CDLz5lpI.js";import{t}from"./icons-CSwTVV2m.js";import{n,t as r}from"./icons-4JA-SGfv.js";import{c as i}from"react/compiler-runtime";import{jsx as a}from"react/jsx-runtime";function o(e){let t=i(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=/* @__PURE__ */ a(`path`,{d:`M32.272 12.011c-1.298-1.466-2.904-2.205-4.812-2.205-1.176 0-2.26.233-3.255.7a7.995 7.995 0 0 0-2.581 1.906 9.205 9.205 0 0 0-1.715 2.853 9.773 9.773 0 0 0-.628 3.546c0 1.25.194 2.39.58 3.419.362.98.918 1.877 1.635 2.636A7.543 7.543 0 0 0 24 26.584c.965.41 2.025.617 3.176.617.522 0 1.005-.041 1.445-.116.439-.075.858-.2 1.26-.37.4-.175.79-.398 1.18-.664.385-.27.792-.612 1.21-1.018v4.353h-.005v.421h-5.33l-4.005 4.64v.798h15.037v-24.98h-5.697v1.746Zm-.014 7.979a4.25 4.25 0 0 1-.786 1.215 3.555 3.555 0 0 1-2.592 1.1 3.627 3.627 0 0 1-1.464-.292 3.508 3.508 0 0 1-1.166-.808 3.93 3.93 0 0 1-1.054-2.72c0-.519.097-1.006.298-1.457a3.77 3.77 0 0 1 .804-1.181 4.114 4.114 0 0 1 1.162-.808 3.484 3.484 0 0 1 2.817-.016c.448.19.844.463 1.181.81.336.347.6.743.804 1.194.202.452.298.95.298 1.493 0 .505-.104 1.005-.302 1.47m-16.261-7.708a6.173 6.173 0 0 0-2.06-1.602 4.875 4.875 0 0 0-.57-.22 6.383 6.383 0 0 0-.923-.216H8.383L5.697 13.39v-3.082H.002v16.61h5.695V15.712h5.35l.444-.01v11.214h5.697V16.528c0-.885-.084-1.674-.25-2.366a4.655 4.655 0 0 0-.941-1.877zm38.367-2.018h-6.213l-2.47 2.863v-2.864h-5.7v16.61h5.71l.004-11.117h4.144l4.526-5.26zm31.051 7.672 7.79-7.392v-.281H85.7l-5.975 5.991V0h-5.696v26.87h5.696v-6.766l6.262 6.763h7.663v-.316l-8.233-8.617zm-16.11-5.78a9.436 9.436 0 0 0-3.085-1.842 10.953 10.953 0 0 0-3.855-.664c-1.407 0-2.705.226-3.884.678a9.611 9.611 0 0 0-3.072 1.858 8.488 8.488 0 0 0-2.016 2.788 8.281 8.281 0 0 0-.722 3.449c0 1.362.24 2.596.722 3.707a8.52 8.52 0 0 0 2.002 2.862c.85.798 1.86 1.415 3.036 1.847 1.177.432 2.455.647 3.842.647 1.406 0 2.707-.215 3.919-.647 1.204-.431 2.24-1.04 3.098-1.833a8.583 8.583 0 0 0 2.031-2.816c.493-1.09.742-2.29.742-3.611 0-1.316-.244-2.52-.722-3.612a8.424 8.424 0 0 0-2.035-2.81Zm-3.558 7.864c-.2.461-.463.869-.786 1.215a3.573 3.573 0 0 1-2.592 1.1c-.502 0-.981-.096-1.434-.291a3.44 3.44 0 0 1-1.16-.809 4.155 4.155 0 0 1-.788-1.215 3.825 3.825 0 0 1-.297-1.537c0-.517.098-1.004.297-1.456.201-.451.46-.849.787-1.194a3.579 3.579 0 0 1 2.597-1.1c.502 0 .98.096 1.43.29.448.19.839.461 1.16.81.328.345.586.752.786 1.214.2.461.297.954.297 1.471 0 .538-.096 1.04-.297 1.502`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=/* @__PURE__ */ a(`svg`,{fill:`currentColor`,height:`1em`,viewBox:`0 0 94 36`,width:`2.61em`,...e,children:n}),t[1]=e,t[2]=r),r}function s(e){let t=i(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=/* @__PURE__ */ a(`path`,{d:`M27.2 6.18a9.47 9.47 0 0 0-3.12-2.5A9.42 9.42 0 0 0 21.82 3h-6.14l-4.06 4.9V3.1H3V29h8.62V11.53h8.09l.67-.02v17.48H29V12.8c0-1.37-.13-2.6-.38-3.68a7.35 7.35 0 0 0-1.42-2.93Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=/* @__PURE__ */ a(`svg`,{fill:`currentColor`,height:`1em`,viewBox:`0 0 32 32`,width:`1em`,...e,children:n}),t[1]=e,t[2]=r),r}export{r as AutoThemeIcon,s as NgrokLettermarkIcon,o as NgrokWordmarkIcon,e as SortIcon,n as ThemeIcon,t as TrafficPolicyFileIcon};
1
+ import{t as e}from"./icons-D_4cZaL1.js";import{t}from"./icons-CVgj9Whd.js";import{n,t as r}from"./icons-DucrvIOa.js";import{jsx as i}from"react/jsx-runtime";function a(e){return/* @__PURE__ */ i(`svg`,{fill:`currentColor`,height:`1em`,viewBox:`0 0 94 36`,width:`2.61em`,...e,children:/* @__PURE__ */ i(`path`,{d:`M32.272 12.011c-1.298-1.466-2.904-2.205-4.812-2.205-1.176 0-2.26.233-3.255.7a7.995 7.995 0 0 0-2.581 1.906 9.205 9.205 0 0 0-1.715 2.853 9.773 9.773 0 0 0-.628 3.546c0 1.25.194 2.39.58 3.419.362.98.918 1.877 1.635 2.636A7.543 7.543 0 0 0 24 26.584c.965.41 2.025.617 3.176.617.522 0 1.005-.041 1.445-.116.439-.075.858-.2 1.26-.37.4-.175.79-.398 1.18-.664.385-.27.792-.612 1.21-1.018v4.353h-.005v.421h-5.33l-4.005 4.64v.798h15.037v-24.98h-5.697v1.746Zm-.014 7.979a4.25 4.25 0 0 1-.786 1.215 3.555 3.555 0 0 1-2.592 1.1 3.627 3.627 0 0 1-1.464-.292 3.508 3.508 0 0 1-1.166-.808 3.93 3.93 0 0 1-1.054-2.72c0-.519.097-1.006.298-1.457a3.77 3.77 0 0 1 .804-1.181 4.114 4.114 0 0 1 1.162-.808 3.484 3.484 0 0 1 2.817-.016c.448.19.844.463 1.181.81.336.347.6.743.804 1.194.202.452.298.95.298 1.493 0 .505-.104 1.005-.302 1.47m-16.261-7.708a6.173 6.173 0 0 0-2.06-1.602 4.875 4.875 0 0 0-.57-.22 6.383 6.383 0 0 0-.923-.216H8.383L5.697 13.39v-3.082H.002v16.61h5.695V15.712h5.35l.444-.01v11.214h5.697V16.528c0-.885-.084-1.674-.25-2.366a4.655 4.655 0 0 0-.941-1.877zm38.367-2.018h-6.213l-2.47 2.863v-2.864h-5.7v16.61h5.71l.004-11.117h4.144l4.526-5.26zm31.051 7.672 7.79-7.392v-.281H85.7l-5.975 5.991V0h-5.696v26.87h5.696v-6.766l6.262 6.763h7.663v-.316l-8.233-8.617zm-16.11-5.78a9.436 9.436 0 0 0-3.085-1.842 10.953 10.953 0 0 0-3.855-.664c-1.407 0-2.705.226-3.884.678a9.611 9.611 0 0 0-3.072 1.858 8.488 8.488 0 0 0-2.016 2.788 8.281 8.281 0 0 0-.722 3.449c0 1.362.24 2.596.722 3.707a8.52 8.52 0 0 0 2.002 2.862c.85.798 1.86 1.415 3.036 1.847 1.177.432 2.455.647 3.842.647 1.406 0 2.707-.215 3.919-.647 1.204-.431 2.24-1.04 3.098-1.833a8.583 8.583 0 0 0 2.031-2.816c.493-1.09.742-2.29.742-3.611 0-1.316-.244-2.52-.722-3.612a8.424 8.424 0 0 0-2.035-2.81Zm-3.558 7.864c-.2.461-.463.869-.786 1.215a3.573 3.573 0 0 1-2.592 1.1c-.502 0-.981-.096-1.434-.291a3.44 3.44 0 0 1-1.16-.809 4.155 4.155 0 0 1-.788-1.215 3.825 3.825 0 0 1-.297-1.537c0-.517.098-1.004.297-1.456.201-.451.46-.849.787-1.194a3.579 3.579 0 0 1 2.597-1.1c.502 0 .98.096 1.43.29.448.19.839.461 1.16.81.328.345.586.752.786 1.214.2.461.297.954.297 1.471 0 .538-.096 1.04-.297 1.502`})})}function o(e){return/* @__PURE__ */ i(`svg`,{fill:`currentColor`,height:`1em`,viewBox:`0 0 32 32`,width:`1em`,...e,children:/* @__PURE__ */ i(`path`,{d:`M27.2 6.18a9.47 9.47 0 0 0-3.12-2.5A9.42 9.42 0 0 0 21.82 3h-6.14l-4.06 4.9V3.1H3V29h8.62V11.53h8.09l.67-.02v17.48H29V12.8c0-1.37-.13-2.6-.38-3.68a7.35 7.35 0 0 0-1.42-2.93Z`})})}export{r as AutoThemeIcon,o as NgrokLettermarkIcon,a as NgrokWordmarkIcon,e as SortIcon,n as ThemeIcon,t as TrafficPolicyFileIcon};
@@ -5,9 +5,10 @@ import { Ref, RefCallback } from "react";
5
5
  * browsers.
6
6
  *
7
7
  * Throws when called outside a DOM environment, or when both the Clipboard
8
- * API and the polyfill fail — `await` the call to observe success.
8
+ * API and the polyfill fail. `await` the call to observe success.
9
9
  */
10
10
  declare function copyToClipboard(value: string): Promise<void>;
11
+ /** A ref that a part may receive: a callback ref, a ref object, or none. */
11
12
  type PossibleRef<T> = Ref<T> | undefined;
12
13
  /**
13
14
  * A utility that composes multiple refs into a single callback ref. Accepts
@@ -20,7 +21,7 @@ type PossibleRef<T> = Ref<T> | undefined;
20
21
  * If no inner ref returns a cleanup, the composed ref returns `undefined`
21
22
  * and React calls it again with `null` on unmount (legacy behavior).
22
23
  *
23
- * Prefer {@link useComposedRefs} inside components — it keeps a stable
24
+ * Prefer {@link useComposedRefs} inside components: it keeps a stable
24
25
  * function identity across renders.
25
26
  *
26
27
  * @example
@@ -28,26 +29,6 @@ type PossibleRef<T> = Ref<T> | undefined;
28
29
  * return <input ref={setRefs} />;
29
30
  */
30
31
  declare function composeRefs<T>(...refs: PossibleRef<T>[]): RefCallback<T>;
31
- /**
32
- * A custom hook that composes up to three refs into a single callback ref.
33
- * Accepts callback refs and RefObject(s). The callback keeps one identity
34
- * while the refs it composes keep theirs, so React attaches it once per
35
- * mount. If you pass a new ref on a later render, React detaches the old
36
- * callback and attaches the new one, so the new ref receives the node at
37
- * once. A consumer callback ref fires once per mount when the consumer
38
- * passes the same function each render, and on every render when the
39
- * consumer passes a new function, as it does on a plain element. Any
40
- * cleanup the composed ref returns targets the refs it composed (see
41
- * {@link composeRefs} for the cleanup propagation contract).
42
- *
43
- * @example
44
- * function MyInput({ ref, ...props }: ComponentProps<"input">) {
45
- * const internalRef = useRef<HTMLInputElement>(null);
46
- * const composedRef = useComposedRefs(internalRef, ref);
47
- * return <input ref={composedRef} {...props} />;
48
- * }
49
- */
50
- declare function useComposedRefs<T>(firstRef: PossibleRef<T>, secondRef: PossibleRef<T>, thirdRef?: PossibleRef<T>): RefCallback<T>;
51
32
  type MarginValue = `${number}${"px" | "%"}`;
52
33
  /**
53
34
  * Margin string used to expand or contract the intersection root's bounding box.
@@ -110,4 +91,4 @@ type ViewChangeHandler = (entry: IntersectionObserverEntry) => void;
110
91
  * stop();
111
92
  */
112
93
  declare function inView(element: Element, onStart: (element: Element, entry: IntersectionObserverEntry) => void | ViewChangeHandler, { root, margin: rootMargin, amount }?: InViewOptions): VoidFunction;
113
- export { composeRefs as a, inView as i, MarginType as n, useComposedRefs as o, ViewChangeHandler as r, copyToClipboard as s, InViewOptions as t };
94
+ export { PossibleRef as a, inView as i, MarginType as n, composeRefs as o, ViewChangeHandler as r, copyToClipboard as s, InViewOptions as t };
@@ -1,7 +1,7 @@
1
1
  import "./as-child-DFxX3U2i.js";
2
2
  import "./with-style-props-CuT30s0W.js";
3
- import { CSSProperties } from "react";
4
3
  import { VariantProps as VariantProps$1 } from "class-variance-authority";
4
+ import { CSSProperties } from "react";
5
5
  type Booleanish = boolean | "true" | "false";
6
6
  /**
7
7
  * Parse/coerce a booleanish value (boolean | "true" | "false") into a boolean.
@@ -0,0 +1 @@
1
+ "use client";import{t as e}from"./CheckCircle-Bi4tSau6.js";import{t}from"./Warning-DTwF27_O.js";import{t as n}from"./WarningDiamond-BwpdVJ34.js";import{createContext as r,useContext as i,useMemo as a,useRef as o}from"react";import{t as s}from"./types-BfvnW6vy.js";import{t as c}from"./compose-refs-Ce1vWUz0.js";import{t as l}from"./cx-DhYnQ07J.js";import{n as u}from"./cx-CfAFHj5_.js";import{t as d}from"./utils-EM6s2WEU.js";import{n as f}from"./field-BRYypbjO.js";import{n as p}from"./field-CYAaNexp.js";import{t as m}from"./icon-BSGMvJ0W.js";import{jsx as h,jsxs as g}from"react/jsx-runtime";const _=({children:e,className:t,ref:n,...r})=>{let i=!!e,a=o(null);return i?/* @__PURE__ */ h(b,{className:t,forwardedRef:n,innerRef:a,...r,children:e}):/* @__PURE__ */ h(b,{...r,className:t,forwardedRef:n,innerRef:a,children:/* @__PURE__ */ h(v,{...r})})},v=({"aria-invalid":e,"data-slot":t,className:n,ref:r,validation:a,...o})=>{let{"aria-invalid":s,forwardedRef:l,innerRef:m,validation:g,..._}=i(y),v=p(),{ariaInvalid:b,validation:x}=f({"aria-invalid":s??e,validation:g??a??v}),S={..._,...o,type:o.type??_.type??`text`},C=c(r,l,m);return/* @__PURE__ */ h(`input`,{"aria-invalid":b,"data-slot":d(t,`input-capture`),"data-validation":x,className:u(`placeholder:text-placeholder min-w-0 flex-1 bg-transparent text-left autofill:shadow-[inset_0_0_0px_1000px_var(--color-blue-50)] focus:outline-hidden`,n),ref:C,...S})},y=r({validation:void 0,innerRef:{current:null}}),b=({"aria-invalid":e,"aria-disabled":t,"data-slot":n,children:r,className:i,disabled:o,forwardedRef:c,innerRef:l,style:m,type:_,validation:v,...b})=>{let S=p(),{validation:C}=f({"aria-invalid":e,validation:v??S}),w=a(()=>({"aria-invalid":e,"aria-disabled":t,disabled:o,type:_,validation:v,...b,forwardedRef:c,innerRef:l}),[e,t,o,_,v,b,c,l]);return/* @__PURE__ */ h(y.Provider,{value:w,children:/* @__PURE__ */ g(`div`,{role:`none`,"data-slot":d(n,`input`),"data-disabled":s(o??t)?``:void 0,"data-validation":C||void 0,className:u(`pointer-coarse:text-base h-9 text-sm bg-form relative flex w-full items-center gap-1.5 rounded-md border px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium data-disabled:opacity-50 has-[input:not(:first-child)]:ps-2.5 has-[input:not(:last-child)]:pe-2.5 [&>:not(input)]:shrink-0 [&_svg]:size-5 border-form text-strong focus-within:border-accent-600 focus-within:focus-ring data-[validation=success]:border-success-600 focus-within:data-[validation=success]:border-success-600 focus-within:data-[validation=success]:ring-focus-success data-[validation=warning]:border-warning-600 focus-within:data-[validation=warning]:border-warning-600 focus-within:data-[validation=warning]:ring-focus-warning data-[validation=error]:border-danger-600 focus-within:data-[validation=error]:border-danger-600 focus-within:data-[validation=error]:ring-focus-danger motion-safe:data-[validation=error]:animate-shake has-[>[data-validation=error]]:border-danger-600 focus-within:has-[>[data-validation=error]]:border-danger-600 focus-within:has-[>[data-validation=error]]:ring-focus-danger motion-safe:has-[>[data-validation=error]]:animate-shake autofill:shadow-[inset_0_0_0px_1000px_var(--color-blue-50)] has-autofill:bg-blue-50 has-autofill:[-webkit-text-fill-color:var(--text-color-strong)]`,i),onMouseDown:e=>{e.target!==l?.current&&e.preventDefault()},onClick:e=>{let t=l.current;t!=null&&e.detail!==0&&t.focus()},style:m,children:[r,/* @__PURE__ */ h(x,{name:b.name,validation:C})]})})},x=({name:r,validation:i})=>{switch(i){case`error`:return/* @__PURE__ */ g(`div`,{className:`text-danger-600 order-last select-none`,children:[/* @__PURE__ */ h(`span`,{className:`sr-only`,children:l(`The value entered for the`,r,`input has failed validation.`)}),/* @__PURE__ */ h(m,{svg:/* @__PURE__ */ h(t,{"aria-hidden":!0,weight:`fill`})})]});case`success`:return/* @__PURE__ */ h(`div`,{className:`text-success-600 order-last select-none`,children:/* @__PURE__ */ h(m,{svg:/* @__PURE__ */ h(e,{weight:`fill`})})});case`warning`:return/* @__PURE__ */ h(`div`,{className:`text-warning-600 order-last select-none`,children:/* @__PURE__ */ h(m,{svg:/* @__PURE__ */ h(n,{weight:`fill`})})});default:return null}};export{v as n,_ as t};
@@ -0,0 +1 @@
1
+ "use client";import{t as e}from"./Eye-C38LQkZ_.js";import{t}from"./EyeClosed-BvOq-W8o.js";import{useId as n,useRef as r,useState as i}from"react";import{t as a}from"./hooks-DejuqCNF.js";import{t as o}from"./hooks-CMmpICCH.js";import{t as s}from"./icon-BSGMvJ0W.js";import{n as c,t as l}from"./input-83xaPZWK.js";import{t as u}from"./utils-EM6s2WEU.js";import{jsx as d,jsxs as f}from"react/jsx-runtime";const p=({"data-slot":p,disabled:m,id:h,onValueVisibilityChange:g,ref:_,showValue:v,...y})=>{let b=n(),x=h??b,S=v!=null,[C,w]=i(!1),T=S?v:C,E=T?`text`:`password`,D=T?e:t,O=r(null),k=r(T);return a(()=>{if(k.current===T)return;k.current=T;let e=O.current;e==null||o()||e.animate([{scale:`1 0.5`},{scale:`1`}],{duration:200,easing:`cubic-bezier(0.23, 1, 0.32, 1)`})},[T]),/* @__PURE__ */ f(l,{"data-slot":u(p,`password-input`),disabled:m,id:x,type:E,ref:_,...y,children:[/* @__PURE__ */ d(c,{}),/* @__PURE__ */ d(`button`,{type:`button`,disabled:m,"data-slot":`password-input-toggle`,"aria-label":`Show value`,"aria-pressed":T,"aria-controls":x,className:`text-body hover:text-strong focus-visible:focus-ring ml-1 cursor-pointer rounded-xs bg-inherit p-0 focus-visible:ring-2`,onClick:()=>{let e=!T;S||w(e),g?.(e)},children:/* @__PURE__ */ d(s,{ref:O,svg:/* @__PURE__ */ d(D,{"aria-hidden":!0})})})]})};export{p as t};
@@ -1,6 +1,6 @@
1
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
2
- import { o as WithValidation } from "./field-BshcNVe_.js";
3
1
  import { ComponentProps, PropsWithChildren } from "react";
2
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
3
+ import { o as WithValidation } from "./field-BshcNVe_.js";
4
4
  /**
5
5
  * (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
6
6
  * if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
package/dist/input.d.ts CHANGED
@@ -4,10 +4,10 @@
4
4
  * @see https://mantle.ngrok.com/components/forms/input
5
5
  * @see https://mantle.ngrok.com/components/forms/password-input
6
6
  */
7
- import { a as AutoComplete, c as WithInputType, i as InputProps, n as InputCapture, o as InputType, r as InputCaptureProps, s as WithAutoComplete, t as Input } from "./input-q8o5uMhW.js";
8
- import { o as WithValidation, r as Validation } from "./field-BshcNVe_.js";
9
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
7
+ import { a as AutoComplete, c as WithInputType, i as InputProps, n as InputCapture, o as InputType, r as InputCaptureProps, s as WithAutoComplete, t as Input } from "./input-Bvpu3ruQ.js";
10
8
  import { ComponentProps } from "react";
9
+ import { o as WithValidation, r as Validation } from "./field-BshcNVe_.js";
10
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
11
11
  /**
12
12
  * The props for the `PasswordInput` component.
13
13
  */
@@ -81,7 +81,7 @@ type PasswordInputProps = Omit<ComponentProps<"input">, "autoComplete" | "type">
81
81
  * import { Label } from "@ngrok/mantle/label";
82
82
  * import { useState } from "react";
83
83
  *
84
- * // Basic — uncontrolled visibility.
84
+ * // Basic: uncontrolled visibility.
85
85
  * <Label className="grid gap-1">
86
86
  * <span>Password</span>
87
87
  * <PasswordInput name="password" autoComplete="current-password" />
@@ -90,7 +90,7 @@ type PasswordInputProps = Omit<ComponentProps<"input">, "autoComplete" | "type">
90
90
  * // Validation state.
91
91
  * <PasswordInput validation="error" />
92
92
  *
93
- * // Controlled visibility — one toggle reveals multiple fields.
93
+ * // Controlled visibility: one toggle reveals multiple fields.
94
94
  * function PasswordPair() {
95
95
  * const [show, setShow] = useState(false);
96
96
  * return (
package/dist/input.js CHANGED
@@ -1 +1 @@
1
- import{n as e,t}from"./input-DHovzBjS.js";import{t as n}from"./use-isomorphic-layout-effect-CLSmHzo4.js";import{t as r}from"./use-prefers-reduced-motion-CU6mWmOe.js";import{t as i}from"./icon-kK0c-POG.js";import{t as a}from"./data-slot-EM6s2WEU.js";import{t as o}from"./input-DQyN6gN0.js";import{t as s}from"./input-BjCDSOPA.js";import{c}from"react/compiler-runtime";import{useId as l,useRef as u,useState as d}from"react";import{jsx as f,jsxs as p}from"react/jsx-runtime";import{EyeIcon as m}from"@phosphor-icons/react/Eye";import{EyeClosedIcon as h}from"@phosphor-icons/react/EyeClosed";const g=o=>{let s=c(34),g,_,v,y,b,x,S;s[0]===o?(g=s[1],_=s[2],v=s[3],y=s[4],b=s[5],x=s[6],S=s[7]):({"data-slot":g,disabled:_,id:v,onValueVisibilityChange:y,ref:x,showValue:S,...b}=o,s[0]=o,s[1]=g,s[2]=_,s[3]=v,s[4]=y,s[5]=b,s[6]=x,s[7]=S);let C=l(),w=v??C,T=S!=null,[E,D]=d(!1),O=T?S:E,k=O?`text`:`password`,A=O?m:h,j=u(null),M=u(O),N,P;s[8]===O?(N=s[9],P=s[10]):(N=()=>{if(M.current===O)return;M.current=O;let e=j.current;e==null||r()||e.animate([{scale:`1 0.5`},{scale:`1`}],{duration:200,easing:`cubic-bezier(0.23, 1, 0.32, 1)`})},P=[O],s[8]=O,s[9]=N,s[10]=P),n(N,P);let F;s[11]===g?F=s[12]:(F=a(g,`password-input`),s[11]=g,s[12]=F);let I;s[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=/* @__PURE__ */ f(e,{}),s[13]=I):I=s[13];let L;s[14]!==T||s[15]!==y||s[16]!==O?(L=()=>{let e=!O;T||D(e),y?.(e)},s[14]=T,s[15]=y,s[16]=O,s[17]=L):L=s[17];let R;s[18]===A?R=s[19]:(R=/* @__PURE__ */ f(i,{ref:j,svg:/* @__PURE__ */ f(A,{"aria-hidden":!0})}),s[18]=A,s[19]=R);let z;s[20]!==_||s[21]!==w||s[22]!==O||s[23]!==L||s[24]!==R?(z=/* @__PURE__ */ f(`button`,{type:`button`,disabled:_,"data-slot":`password-input-toggle`,"aria-label":`Show value`,"aria-pressed":O,"aria-controls":w,className:`text-body hover:text-strong focus-visible:ring-focus-accent ml-1 cursor-pointer rounded-xs bg-inherit p-0 focus-visible:ring-2 focus-visible:outline-hidden`,onClick:L,children:R}),s[20]=_,s[21]=w,s[22]=O,s[23]=L,s[24]=R,s[25]=z):z=s[25];let B;return s[26]!==_||s[27]!==w||s[28]!==b||s[29]!==x||s[30]!==F||s[31]!==z||s[32]!==k?(B=/* @__PURE__ */ p(t,{"data-slot":F,disabled:_,id:w,type:k,ref:x,...b,children:[I,z]}),s[26]=_,s[27]=w,s[28]=b,s[29]=x,s[30]=F,s[31]=z,s[32]=k,s[33]=B):B=s[33],B};export{t as Input,e as InputCapture,g as PasswordInput,o as isInput,s as passwordManagerIgnoreProps};
1
+ import{n as e,t}from"./input-83xaPZWK.js";import{t as n}from"./input-B78ah4AB.js";import{t as r}from"./input-BjCDSOPA.js";function i(e){return typeof HTMLInputElement<`u`&&e instanceof HTMLInputElement}export{t as Input,e as InputCapture,n as PasswordInput,i as isInput,r as passwordManagerIgnoreProps};
@@ -0,0 +1 @@
1
+ import{n as e}from"./cx-CfAFHj5_.js";import{t}from"./utils-EM6s2WEU.js";import{jsx as n}from"react/jsx-runtime";function r({"data-slot":r,children:i,className:a,...o}){return/* @__PURE__ */ n(`kbd`,{"data-slot":t(r,`kbd`),className:e(`[font-kerning:normal] [font-variant-ligatures:common-ligatures_contextual] appearance-none tabular-nums inline-grid place-items-center size-5 bg-neutral-500/15 px-1 rounded text-mono leading-none font-mono`,a),...o,translate:`no`,children:i})}export{r as t};
package/dist/kbd.d.ts CHANGED
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * @see https://mantle.ngrok.com/components/data-display/kbd
5
5
  */
6
- import { t as WithDataSlot } from "./data-slot-B-LqAcBB.js";
7
6
  import { ComponentProps } from "react";
7
+ import { t as WithDataSlot } from "./data-slot-BW8KQ9Xo.js";
8
8
  /**
9
- * A square, centered keyboard "key" chip for rendering shortcut hints —
9
+ * A square, centered keyboard "key" chip for rendering shortcut hints:
10
10
  * "K", "⌘", "⌃", "Enter". Renders a native `<kbd>` element so screen
11
11
  * readers announce it as keyboard input. Sized so letters and modifier
12
12
  * symbols share a consistent visual height, width, and baseline.
@@ -17,8 +17,8 @@ import { ComponentProps } from "react";
17
17
  * - Inline with prose: "Press `Kbd K` to open search."
18
18
  *
19
19
  * **When not to use**
20
- * - For arbitrary monospace text — use {@link https://mantle.ngrok.com/components/data-display/code Code}.
21
- * - For chord-style multi-key shortcuts as a single chip — render multiple
20
+ * - For arbitrary monospace text, use {@link https://mantle.ngrok.com/components/data-display/code Code}.
21
+ * - For chord-style multi-key shortcuts as a single chip, render multiple
22
22
  * `<Kbd>` elements separated by `+` text instead.
23
23
  *
24
24
  * **Accessibility.** Symbol-only glyphs (`⌘`, `⌃`, `↵`) are not announced
@@ -55,7 +55,7 @@ import { ComponentProps } from "react";
55
55
  * <span aria-hidden>↵</span>
56
56
  * </Kbd>
57
57
  *
58
- * // Chord — render each key separately.
58
+ * // Chord: render each key separately.
59
59
  * <span className="inline-flex items-center gap-1">
60
60
  * <Kbd>
61
61
  * <span className="sr-only">Command</span>
package/dist/kbd.js CHANGED
@@ -1 +1 @@
1
- export{t as Kbd}from"./kbd-CLHsJ99p.js";
1
+ export{t as Kbd}from"./kbd-Bz_Rbpv8.js";