@marktiderman/genesis-ui 1.3.0 → 2.1.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 (297) hide show
  1. package/LICENSE +21 -0
  2. package/dist/AppShell-sQT0UbXg.d.ts +198 -0
  3. package/dist/{chunk-NJMO3VPA.js → chunk-22XB3Q6H.js} +8 -8
  4. package/dist/chunk-22XB3Q6H.js.map +1 -0
  5. package/dist/{chunk-2MXMWBDV.js → chunk-27ELYTGE.js} +6 -6
  6. package/dist/chunk-27ELYTGE.js.map +1 -0
  7. package/dist/chunk-46TZGMFW.js +159 -0
  8. package/dist/chunk-46TZGMFW.js.map +1 -0
  9. package/dist/chunk-4CQHPWJD.js +117 -0
  10. package/dist/chunk-4CQHPWJD.js.map +1 -0
  11. package/dist/{chunk-ZDAT5JDH.js → chunk-65SPT7EA.js} +24 -6
  12. package/dist/chunk-65SPT7EA.js.map +1 -0
  13. package/dist/chunk-6KHY647C.js +67 -0
  14. package/dist/chunk-6KHY647C.js.map +1 -0
  15. package/dist/chunk-6M4NHHKG.js +51 -0
  16. package/dist/chunk-6M4NHHKG.js.map +1 -0
  17. package/dist/chunk-6Q6CLLJ4.js +9 -0
  18. package/dist/chunk-6Q6CLLJ4.js.map +1 -0
  19. package/dist/{chunk-UGHQFQOE.js → chunk-6TVMQH6M.js} +28 -28
  20. package/dist/chunk-6TVMQH6M.js.map +1 -0
  21. package/dist/{chunk-6VVVGYKS.js → chunk-6XPMU65K.js} +5 -5
  22. package/dist/{chunk-6VVVGYKS.js.map → chunk-6XPMU65K.js.map} +1 -1
  23. package/dist/{chunk-YZEA5TGK.js → chunk-7XMZVISM.js} +16 -16
  24. package/dist/chunk-7XMZVISM.js.map +1 -0
  25. package/dist/chunk-A7AHVDG7.js +52 -0
  26. package/dist/chunk-A7AHVDG7.js.map +1 -0
  27. package/dist/chunk-AFZ76Q26.js +84 -0
  28. package/dist/chunk-AFZ76Q26.js.map +1 -0
  29. package/dist/{chunk-4V4H2ZM7.js → chunk-AL5TMEZQ.js} +31 -31
  30. package/dist/chunk-AL5TMEZQ.js.map +1 -0
  31. package/dist/{chunk-AUECDWP2.js → chunk-AOZGQM6W.js} +3 -3
  32. package/dist/chunk-AOZGQM6W.js.map +1 -0
  33. package/dist/chunk-ARJI2JUV.js +122 -0
  34. package/dist/chunk-ARJI2JUV.js.map +1 -0
  35. package/dist/chunk-AVFZ4P4B.js +25 -0
  36. package/dist/chunk-AVFZ4P4B.js.map +1 -0
  37. package/dist/chunk-B2GIBUQD.js +11 -0
  38. package/dist/chunk-B2GIBUQD.js.map +1 -0
  39. package/dist/{chunk-JXI2MYL3.js → chunk-C46ITXE4.js} +5 -5
  40. package/dist/chunk-C46ITXE4.js.map +1 -0
  41. package/dist/{chunk-A2OXCNNY.js → chunk-CNTWQSUT.js} +3 -3
  42. package/dist/{chunk-A2OXCNNY.js.map → chunk-CNTWQSUT.js.map} +1 -1
  43. package/dist/chunk-D2LIXA2Y.js +65 -0
  44. package/dist/chunk-D2LIXA2Y.js.map +1 -0
  45. package/dist/{chunk-T5VX5DYO.js → chunk-F47U5KNW.js} +5 -5
  46. package/dist/chunk-F47U5KNW.js.map +1 -0
  47. package/dist/chunk-FEJAZFP3.js +1100 -0
  48. package/dist/chunk-FEJAZFP3.js.map +1 -0
  49. package/dist/{chunk-2B3MFHBQ.js → chunk-FK42ZGGV.js} +21 -21
  50. package/dist/chunk-FK42ZGGV.js.map +1 -0
  51. package/dist/{chunk-XISSLIMH.js → chunk-FTTNGGLA.js} +2 -2
  52. package/dist/{chunk-XISSLIMH.js.map → chunk-FTTNGGLA.js.map} +1 -1
  53. package/dist/chunk-G5YKBPBF.js +74 -0
  54. package/dist/chunk-G5YKBPBF.js.map +1 -0
  55. package/dist/{chunk-QLCDAFS7.js → chunk-GDFNAHI4.js} +10 -6
  56. package/dist/chunk-GDFNAHI4.js.map +1 -0
  57. package/dist/{chunk-KB5T5LWM.js → chunk-IJCT5IJD.js} +3 -3
  58. package/dist/{chunk-KB5T5LWM.js.map → chunk-IJCT5IJD.js.map} +1 -1
  59. package/dist/{chunk-44TULYGG.js → chunk-J6FBA7PH.js} +3 -3
  60. package/dist/{chunk-44TULYGG.js.map → chunk-J6FBA7PH.js.map} +1 -1
  61. package/dist/chunk-JAMLFMDS.js +12 -0
  62. package/dist/chunk-JAMLFMDS.js.map +1 -0
  63. package/dist/{chunk-C6H7AMO4.js → chunk-LNFF2RBD.js} +9 -9
  64. package/dist/chunk-LNFF2RBD.js.map +1 -0
  65. package/dist/{chunk-QBZMY2AF.js → chunk-M62CHO3N.js} +18 -18
  66. package/dist/chunk-M62CHO3N.js.map +1 -0
  67. package/dist/{chunk-5Q4FABZQ.js → chunk-NUXW6NPP.js} +8 -8
  68. package/dist/chunk-NUXW6NPP.js.map +1 -0
  69. package/dist/{chunk-ZJFSZFPI.js → chunk-NWSCYLPT.js} +77 -18
  70. package/dist/chunk-NWSCYLPT.js.map +1 -0
  71. package/dist/{chunk-63FW5ZUA.js → chunk-P3ZL6FGR.js} +7 -7
  72. package/dist/chunk-P3ZL6FGR.js.map +1 -0
  73. package/dist/chunk-P64MFQXZ.js +191 -0
  74. package/dist/chunk-P64MFQXZ.js.map +1 -0
  75. package/dist/chunk-PLIYF6KI.js +52 -0
  76. package/dist/chunk-PLIYF6KI.js.map +1 -0
  77. package/dist/chunk-PSR47JRA.js +26 -0
  78. package/dist/chunk-PSR47JRA.js.map +1 -0
  79. package/dist/{chunk-SBJV3K4G.js → chunk-QJ6P2DW6.js} +28 -28
  80. package/dist/chunk-QJ6P2DW6.js.map +1 -0
  81. package/dist/{chunk-IP6TMT3D.js → chunk-R7QFP6EL.js} +3 -3
  82. package/dist/chunk-R7QFP6EL.js.map +1 -0
  83. package/dist/{chunk-WZWR2ELB.js → chunk-SEBU6JCK.js} +6 -6
  84. package/dist/chunk-SEBU6JCK.js.map +1 -0
  85. package/dist/{chunk-7OBL3H5P.js → chunk-SEFK4NZV.js} +3 -3
  86. package/dist/chunk-SEFK4NZV.js.map +1 -0
  87. package/dist/chunk-SRIT4NFQ.js +67 -0
  88. package/dist/chunk-SRIT4NFQ.js.map +1 -0
  89. package/dist/chunk-SY62XJFA.js +19 -0
  90. package/dist/chunk-SY62XJFA.js.map +1 -0
  91. package/dist/{chunk-SVXDWPLO.js → chunk-THD3YOOZ.js} +17 -17
  92. package/dist/chunk-THD3YOOZ.js.map +1 -0
  93. package/dist/chunk-VXFYETRK.js +58 -0
  94. package/dist/chunk-VXFYETRK.js.map +1 -0
  95. package/dist/chunk-XBX6QMR5.js +58 -0
  96. package/dist/chunk-XBX6QMR5.js.map +1 -0
  97. package/dist/{chunk-SCUT2ZCD.js → chunk-XCGZPFT7.js} +17 -17
  98. package/dist/chunk-XCGZPFT7.js.map +1 -0
  99. package/dist/chunk-XMK3T4TA.js +73 -0
  100. package/dist/chunk-XMK3T4TA.js.map +1 -0
  101. package/dist/chunk-YJ6MPS6U.js +226 -0
  102. package/dist/chunk-YJ6MPS6U.js.map +1 -0
  103. package/dist/chunk-YRYQXU3G.js +38 -0
  104. package/dist/chunk-YRYQXU3G.js.map +1 -0
  105. package/dist/{chunk-5J7BP5DI.js → chunk-YWFPMND7.js} +10 -10
  106. package/dist/chunk-YWFPMND7.js.map +1 -0
  107. package/dist/chunk-YYEGAFUE.js +94 -0
  108. package/dist/chunk-YYEGAFUE.js.map +1 -0
  109. package/dist/{chunk-TKA4LOMT.js → chunk-ZZ7H7VVX.js} +8 -8
  110. package/dist/chunk-ZZ7H7VVX.js.map +1 -0
  111. package/dist/components/data/index.d.ts +318 -228
  112. package/dist/components/data/index.js +591 -1394
  113. package/dist/components/data/index.js.map +1 -1
  114. package/dist/components/layout/dashboard-page.d.ts +4 -0
  115. package/dist/components/layout/dashboard-page.js +5 -0
  116. package/dist/components/layout/dashboard-page.js.map +1 -0
  117. package/dist/components/layout/detail-page.d.ts +91 -0
  118. package/dist/components/layout/detail-page.js +6 -0
  119. package/dist/components/layout/detail-page.js.map +1 -0
  120. package/dist/components/layout/form-page.d.ts +82 -0
  121. package/dist/components/layout/form-page.js +5 -0
  122. package/dist/components/layout/form-page.js.map +1 -0
  123. package/dist/components/layout/index.d.ts +14 -0
  124. package/dist/components/layout/index.js +21 -0
  125. package/dist/components/layout/index.js.map +1 -0
  126. package/dist/components/layout/settings-page.d.ts +114 -0
  127. package/dist/components/layout/settings-page.js +6 -0
  128. package/dist/components/layout/settings-page.js.map +1 -0
  129. package/dist/components/patterns/empty-state.d.ts +73 -0
  130. package/dist/components/{ui → patterns}/empty-state.js +2 -1
  131. package/dist/components/{ui → patterns}/form-field.d.ts +5 -6
  132. package/dist/components/{ui → patterns}/form-field.js +2 -2
  133. package/dist/components/patterns/index.d.ts +17 -0
  134. package/dist/components/patterns/index.js +18 -0
  135. package/dist/components/patterns/index.js.map +1 -0
  136. package/dist/components/patterns/page-loading.d.ts +25 -0
  137. package/dist/components/patterns/page-loading.js +5 -0
  138. package/dist/components/patterns/page-loading.js.map +1 -0
  139. package/dist/components/patterns/settings-row.d.ts +41 -0
  140. package/dist/components/patterns/settings-row.js +6 -0
  141. package/dist/components/patterns/settings-row.js.map +1 -0
  142. package/dist/components/patterns/status-badge.d.ts +37 -0
  143. package/dist/components/patterns/status-badge.js +4 -0
  144. package/dist/components/patterns/status-badge.js.map +1 -0
  145. package/dist/components/patterns/toggle-row.d.ts +35 -0
  146. package/dist/components/patterns/toggle-row.js +8 -0
  147. package/dist/components/patterns/toggle-row.js.map +1 -0
  148. package/dist/components/patterns/user-avatar.d.ts +34 -0
  149. package/dist/components/patterns/user-avatar.js +5 -0
  150. package/dist/components/patterns/user-avatar.js.map +1 -0
  151. package/dist/components/ui/accessible-icon.d.ts +47 -0
  152. package/dist/components/ui/accessible-icon.js +3 -0
  153. package/dist/components/ui/accessible-icon.js.map +1 -0
  154. package/dist/components/ui/accordion.d.ts +5 -5
  155. package/dist/components/ui/accordion.js +1 -1
  156. package/dist/components/ui/alert-dialog.d.ts +12 -13
  157. package/dist/components/ui/alert-dialog.js +1 -1
  158. package/dist/components/ui/aspect-ratio.d.ts +2 -2
  159. package/dist/components/ui/aspect-ratio.js +1 -1
  160. package/dist/components/ui/avatar.d.ts +4 -4
  161. package/dist/components/ui/avatar.js +1 -1
  162. package/dist/components/ui/badge.d.ts +1 -2
  163. package/dist/components/ui/breadcrumb.d.ts +2 -3
  164. package/dist/components/ui/button-group.d.ts +1 -2
  165. package/dist/components/ui/button.d.ts +73 -8
  166. package/dist/components/ui/button.js +1 -1
  167. package/dist/components/ui/calendar.d.ts +2 -3
  168. package/dist/components/ui/calendar.js +2 -2
  169. package/dist/components/ui/card.d.ts +6 -7
  170. package/dist/components/ui/carousel.d.ts +4 -4
  171. package/dist/components/ui/carousel.js +2 -2
  172. package/dist/components/ui/chart.d.ts +4 -5
  173. package/dist/components/ui/checkbox.d.ts +2 -2
  174. package/dist/components/ui/checkbox.js +1 -1
  175. package/dist/components/ui/collapsible.d.ts +4 -4
  176. package/dist/components/ui/collapsible.js +1 -1
  177. package/dist/components/ui/command-palette.d.ts +1 -2
  178. package/dist/components/ui/command-palette.js +3 -3
  179. package/dist/components/ui/command.d.ts +11 -12
  180. package/dist/components/ui/command.js +2 -2
  181. package/dist/components/ui/context-menu.d.ts +16 -17
  182. package/dist/components/ui/context-menu.js +1 -1
  183. package/dist/components/ui/date-picker.d.ts +2 -2
  184. package/dist/components/ui/date-picker.js +4 -4
  185. package/dist/components/ui/dialog.d.ts +11 -12
  186. package/dist/components/ui/dialog.js +1 -1
  187. package/dist/components/ui/drawer.d.ts +10 -11
  188. package/dist/components/ui/dropdown-menu.d.ts +16 -17
  189. package/dist/components/ui/dropdown-menu.js +1 -1
  190. package/dist/components/ui/hover-card.d.ts +4 -4
  191. package/dist/components/ui/hover-card.js +1 -1
  192. package/dist/components/ui/input-otp.d.ts +2 -2
  193. package/dist/components/ui/kbd.d.ts +1 -2
  194. package/dist/components/ui/label.d.ts +2 -2
  195. package/dist/components/ui/label.js +1 -1
  196. package/dist/components/ui/menubar.d.ts +17 -18
  197. package/dist/components/ui/menubar.js +1 -1
  198. package/dist/components/ui/navigation-menu.d.ts +9 -9
  199. package/dist/components/ui/navigation-menu.js +1 -1
  200. package/dist/components/ui/pagination.d.ts +5 -6
  201. package/dist/components/ui/pagination.js +2 -2
  202. package/dist/components/ui/password-toggle-field.d.ts +120 -0
  203. package/dist/components/ui/password-toggle-field.js +4 -0
  204. package/dist/components/ui/password-toggle-field.js.map +1 -0
  205. package/dist/components/ui/popover.d.ts +4 -4
  206. package/dist/components/ui/popover.js +1 -1
  207. package/dist/components/ui/progress.d.ts +1 -2
  208. package/dist/components/ui/radio-group.d.ts +3 -3
  209. package/dist/components/ui/radio-group.js +1 -1
  210. package/dist/components/ui/resizable.d.ts +3 -4
  211. package/dist/components/ui/scroll-area.d.ts +60 -3
  212. package/dist/components/ui/scroll-area.js +1 -1
  213. package/dist/components/ui/select.d.ts +9 -9
  214. package/dist/components/ui/select.js +1 -1
  215. package/dist/components/ui/separator.d.ts +1 -2
  216. package/dist/components/ui/sheet.d.ts +13 -12
  217. package/dist/components/ui/sheet.js +1 -1
  218. package/dist/components/ui/skeleton.d.ts +1 -2
  219. package/dist/components/ui/slider.d.ts +2 -2
  220. package/dist/components/ui/slider.js +1 -1
  221. package/dist/components/ui/sonner.d.ts +1 -2
  222. package/dist/components/ui/spinner.d.ts +1 -2
  223. package/dist/components/ui/switch.d.ts +2 -2
  224. package/dist/components/ui/switch.js +1 -1
  225. package/dist/components/ui/tabs.d.ts +29 -14
  226. package/dist/components/ui/tabs.js +1 -1
  227. package/dist/components/ui/toggle-group.d.ts +3 -3
  228. package/dist/components/ui/toggle-group.js +2 -2
  229. package/dist/components/ui/toggle.d.ts +2 -2
  230. package/dist/components/ui/toggle.js +1 -1
  231. package/dist/components/ui/toolbar.d.ts +104 -0
  232. package/dist/components/ui/toolbar.js +6 -0
  233. package/dist/components/ui/toolbar.js.map +1 -0
  234. package/dist/components/ui/tooltip.d.ts +46 -5
  235. package/dist/components/ui/tooltip.js +1 -1
  236. package/dist/components/ui/typography.d.ts +9 -10
  237. package/dist/components/ui/visually-hidden.d.ts +48 -0
  238. package/dist/components/ui/visually-hidden.js +4 -0
  239. package/dist/components/ui/visually-hidden.js.map +1 -0
  240. package/dist/dashboard-page-C0TihRl5.d.ts +107 -0
  241. package/dist/hooks/index.d.ts +2 -3
  242. package/dist/hooks/index.js +6 -6
  243. package/dist/hooks/use-keyboard-navigation.d.ts +58 -2
  244. package/dist/hooks/use-keyboard-navigation.js +1 -1
  245. package/dist/hooks/use-resource-page.d.ts +2 -3
  246. package/dist/hooks/use-resource-page.js +2 -2
  247. package/dist/hooks/use-view-preference.d.ts +2 -2
  248. package/dist/hooks/use-view-preference.js +1 -1
  249. package/dist/index.d.ts +22 -25
  250. package/dist/index.js +54 -38
  251. package/dist/spacing-BS6qECD4.d.ts +191 -0
  252. package/dist/split-Dk9f4Mi0.d.ts +57 -0
  253. package/dist/{use-resource-page-BXBv_Xah.d.ts → use-resource-page-DTQS011Q.d.ts} +18 -6
  254. package/dist/view-settings-kHKCHMjj.d.ts +12 -0
  255. package/dist/{ViewToggle-DDe_Luj2.d.ts → view-toggle-CahQ87PW.d.ts} +2 -2
  256. package/package.json +80 -39
  257. package/dist/chunk-2B3MFHBQ.js.map +0 -1
  258. package/dist/chunk-2MXMWBDV.js.map +0 -1
  259. package/dist/chunk-4V4H2ZM7.js.map +0 -1
  260. package/dist/chunk-5J7BP5DI.js.map +0 -1
  261. package/dist/chunk-5Q4FABZQ.js.map +0 -1
  262. package/dist/chunk-63FW5ZUA.js.map +0 -1
  263. package/dist/chunk-7OBL3H5P.js.map +0 -1
  264. package/dist/chunk-AUECDWP2.js.map +0 -1
  265. package/dist/chunk-C6H7AMO4.js.map +0 -1
  266. package/dist/chunk-EI5EGKHL.js +0 -32
  267. package/dist/chunk-EI5EGKHL.js.map +0 -1
  268. package/dist/chunk-IP6TMT3D.js.map +0 -1
  269. package/dist/chunk-JJ4NOMMI.js +0 -73
  270. package/dist/chunk-JJ4NOMMI.js.map +0 -1
  271. package/dist/chunk-JXI2MYL3.js.map +0 -1
  272. package/dist/chunk-KBS4BHME.js +0 -11
  273. package/dist/chunk-KBS4BHME.js.map +0 -1
  274. package/dist/chunk-LRXDZBV2.js +0 -26
  275. package/dist/chunk-LRXDZBV2.js.map +0 -1
  276. package/dist/chunk-NJMO3VPA.js.map +0 -1
  277. package/dist/chunk-OCTV3S4I.js +0 -29
  278. package/dist/chunk-OCTV3S4I.js.map +0 -1
  279. package/dist/chunk-QBZMY2AF.js.map +0 -1
  280. package/dist/chunk-QLCDAFS7.js.map +0 -1
  281. package/dist/chunk-SBJV3K4G.js.map +0 -1
  282. package/dist/chunk-SCUT2ZCD.js.map +0 -1
  283. package/dist/chunk-SVXDWPLO.js.map +0 -1
  284. package/dist/chunk-T465NJRL.js +0 -134
  285. package/dist/chunk-T465NJRL.js.map +0 -1
  286. package/dist/chunk-T5VX5DYO.js.map +0 -1
  287. package/dist/chunk-TKA4LOMT.js.map +0 -1
  288. package/dist/chunk-UGHQFQOE.js.map +0 -1
  289. package/dist/chunk-WALXVR6V.js +0 -9
  290. package/dist/chunk-WALXVR6V.js.map +0 -1
  291. package/dist/chunk-WZWR2ELB.js.map +0 -1
  292. package/dist/chunk-YZEA5TGK.js.map +0 -1
  293. package/dist/chunk-ZDAT5JDH.js.map +0 -1
  294. package/dist/chunk-ZJFSZFPI.js.map +0 -1
  295. package/dist/components/ui/empty-state.d.ts +0 -22
  296. /package/dist/components/{ui → patterns}/empty-state.js.map +0 -0
  297. /package/dist/components/{ui → patterns}/form-field.js.map +0 -0
@@ -0,0 +1,120 @@
1
+ import * as React from 'react';
2
+ import { unstable_PasswordToggleField } from 'radix-ui';
3
+
4
+ interface PasswordToggleFieldProps extends React.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Root> {
5
+ /** Class names for the field wrapper (the positioned box, see below). */
6
+ className?: string;
7
+ /** Stable test/automation selector for the wrapper (emitted as `data-testid`). */
8
+ testID?: string;
9
+ }
10
+ /**
11
+ * PasswordToggleField — a password input with a show/hide control that keeps
12
+ * focus and caret position across the toggle.
13
+ *
14
+ * Composition:
15
+ *
16
+ * ```tsx
17
+ * <PasswordToggleField>
18
+ * <PasswordToggleFieldInput placeholder="Password" />
19
+ * <PasswordToggleFieldToggle>
20
+ * <PasswordToggleFieldSlot visible={<EyeOff />} hidden={<Eye />} />
21
+ * </PasswordToggleFieldToggle>
22
+ * </PasswordToggleField>
23
+ * ```
24
+ *
25
+ * Why Radix and not five lines of `useState` plus `type={shown ? "text" :
26
+ * "password"}`: the naive version loses the caret on every toggle, leaves the
27
+ * button unlabelled (or labelled with a state that never updates), and — the
28
+ * part nobody writes — leaves the password visible in the DOM after the form is
29
+ * submitted or reset. Radix resets visibility on both `submit` and `reset`,
30
+ * restores `selectionStart`/`selectionEnd` after the type swap, and derives the
31
+ * toggle's `aria-label` ("Show password" / "Hide password") from the current
32
+ * state unless the caller supplies text or a label of their own.
33
+ *
34
+ * Radix's own root is a **context provider with no DOM node of its own**, so
35
+ * this wrapper renders a `relative` box around the children. That box is
36
+ * load-bearing, not decoration: `PasswordToggleFieldToggle` is positioned
37
+ * `absolute`, and absolute positioning resolves against the nearest positioned
38
+ * ancestor. Without a wrapper the toggle would escape the field and land
39
+ * against whatever positioned ancestor the consumer's page happened to have —
40
+ * or the initial containing block, i.e. the page corner. The composition
41
+ * documented above would put the show/hide button nowhere near the input.
42
+ *
43
+ * ---
44
+ *
45
+ * **Stability.** Radix ships this primitive as `unstable_PasswordToggleField`
46
+ * and documents its API as subject to change; the underlying
47
+ * `@radix-ui/react-password-toggle-field` package is still on `0.1.x`. It is
48
+ * exported here under its stable-looking name for ergonomics, but it is the one
49
+ * component in this package whose props may change in a minor release. Pin the
50
+ * package if that is unacceptable, or compose `Input` + `Button` yourself.
51
+ *
52
+ * @stability Experimental
53
+ */
54
+ declare function PasswordToggleField({ className, testID, children, ...props }: PasswordToggleFieldProps): React.JSX.Element;
55
+ declare namespace PasswordToggleField {
56
+ var displayName: string;
57
+ }
58
+ interface PasswordToggleFieldInputProps extends React.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Input> {
59
+ /** Stable test/automation selector (emitted as `data-testid`). */
60
+ testID?: string;
61
+ }
62
+ /**
63
+ * PasswordToggleFieldInput — the field itself.
64
+ *
65
+ * Styling matches `Input`, with right padding reserved for the toggle so the
66
+ * button never sits on top of the text. Radix owns `type`, which is why it is
67
+ * absent from the props: it is derived from the field's visibility state and
68
+ * a caller-supplied value would fight it.
69
+ *
70
+ * @stability Experimental
71
+ */
72
+ declare const PasswordToggleFieldInput: React.ForwardRefExoticComponent<PasswordToggleFieldInputProps & React.RefAttributes<HTMLInputElement>>;
73
+ interface PasswordToggleFieldToggleProps extends React.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Toggle> {
74
+ /** Stable test/automation selector (emitted as `data-testid`). */
75
+ testID?: string;
76
+ }
77
+ /**
78
+ * PasswordToggleFieldToggle — the show/hide button.
79
+ *
80
+ * Positioned `absolute` against the `relative` box that `PasswordToggleField`
81
+ * renders — which is why that box exists; see the root's docs. Keep this
82
+ * component inside a `PasswordToggleField`: positioning it against an
83
+ * arbitrary ancestor is not a supported arrangement.
84
+ *
85
+ * Its accessible name comes from Radix ("Show password" / "Hide password",
86
+ * following the current state) unless you provide inner text or an
87
+ * `aria-label`.
88
+ *
89
+ * @stability Experimental
90
+ */
91
+ declare const PasswordToggleFieldToggle: React.ForwardRefExoticComponent<PasswordToggleFieldToggleProps & React.RefAttributes<HTMLButtonElement>>;
92
+ type PasswordToggleFieldSlotProps = React.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Slot>;
93
+ /**
94
+ * PasswordToggleFieldSlot — renders one of two nodes depending on visibility.
95
+ *
96
+ * Takes either the declarative pair (`visible` / `hidden`) or a `render`
97
+ * callback receiving `{ visible }`. Unstyled by design: it is a switch, not a
98
+ * box, and wrapping it in an element would break the toggle's `[&_svg]` icon
99
+ * sizing.
100
+ *
101
+ * @stability Experimental
102
+ */
103
+ declare function PasswordToggleFieldSlot(props: PasswordToggleFieldSlotProps): React.JSX.Element;
104
+ declare namespace PasswordToggleFieldSlot {
105
+ var displayName: string;
106
+ }
107
+ interface PasswordToggleFieldIconProps extends React.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Icon> {
108
+ }
109
+ /**
110
+ * PasswordToggleFieldIcon — the SVG-level variant of `PasswordToggleFieldSlot`.
111
+ *
112
+ * Swaps the icon's inner content while keeping ONE `<svg>` element mounted, so
113
+ * a CSS transition on the glyph survives the toggle instead of being restarted
114
+ * by a remount.
115
+ *
116
+ * @stability Experimental
117
+ */
118
+ declare const PasswordToggleFieldIcon: React.ForwardRefExoticComponent<PasswordToggleFieldIconProps & React.RefAttributes<SVGSVGElement>>;
119
+
120
+ export { PasswordToggleField, PasswordToggleFieldIcon, type PasswordToggleFieldIconProps, PasswordToggleFieldInput, type PasswordToggleFieldInputProps, type PasswordToggleFieldProps, PasswordToggleFieldSlot, type PasswordToggleFieldSlotProps, PasswordToggleFieldToggle, type PasswordToggleFieldToggleProps };
@@ -0,0 +1,4 @@
1
+ export { PasswordToggleField, PasswordToggleFieldIcon, PasswordToggleFieldInput, PasswordToggleFieldSlot, PasswordToggleFieldToggle } from '../../chunk-SRIT4NFQ.js';
2
+ import '../../chunk-NZ5WBA4R.js';
3
+ //# sourceMappingURL=password-toggle-field.js.map
4
+ //# sourceMappingURL=password-toggle-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"password-toggle-field.js"}
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import * as PopoverPrimitive from '@radix-ui/react-popover';
2
+ import { Popover as Popover$1 } from 'radix-ui';
3
3
 
4
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
5
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const Popover: React.FC<Popover$1.PopoverProps>;
5
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<Popover$1.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<Popover$1.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
 
8
8
  export { Popover, PopoverContent, PopoverTrigger };
@@ -1,4 +1,4 @@
1
- export { Popover, PopoverContent, PopoverTrigger } from '../../chunk-NJMO3VPA.js';
1
+ export { Popover, PopoverContent, PopoverTrigger } from '../../chunk-22XB3Q6H.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=popover.js.map
4
4
  //# sourceMappingURL=popover.js.map
@@ -1,9 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
 
4
3
  interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
5
4
  value?: number;
6
5
  }
7
- declare function Progress({ className, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
6
+ declare function Progress({ className, value, ...props }: ProgressProps): React.JSX.Element;
8
7
 
9
8
  export { Progress };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
2
+ import { RadioGroup as RadioGroup$1 } from 'radix-ui';
3
3
 
4
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroup$1.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroup$1.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
6
 
7
7
  export { RadioGroup, RadioGroupItem };
@@ -1,4 +1,4 @@
1
- export { RadioGroup, RadioGroupItem } from '../../chunk-TKA4LOMT.js';
1
+ export { RadioGroup, RadioGroupItem } from '../../chunk-ZZ7H7VVX.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=radio-group.js.map
4
4
  //# sourceMappingURL=radio-group.js.map
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
2
  import * as ResizablePrimitive from 'react-resizable-panels';
4
3
 
5
- declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
6
- declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLSpanElement | HTMLDivElement | HTMLObjectElement | HTMLLinkElement | HTMLFormElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLMapElement | HTMLDialogElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLAnchorElement | HTMLHeadingElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
4
+ declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
5
+ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLSpanElement | HTMLDivElement | HTMLObjectElement | HTMLLinkElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLFormElement | HTMLMapElement | HTMLDialogElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLTimeElement | HTMLAnchorElement | HTMLHeadingElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
7
6
  className?: string | undefined;
8
7
  collapsedSize?: number | undefined;
9
8
  collapsible?: boolean | undefined;
@@ -22,6 +21,6 @@ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAtt
22
21
  } & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
23
22
  declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
24
23
  withHandle?: boolean;
25
- }) => react_jsx_runtime.JSX.Element;
24
+ }) => React.JSX.Element;
26
25
 
27
26
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1,9 +1,66 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
2
+ import { ScrollArea as ScrollArea$1 } from 'radix-ui';
3
3
 
4
- interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ interface ScrollAreaProps extends React.ComponentPropsWithoutRef<typeof ScrollArea$1.Root> {
5
+ /**
6
+ * Which axes get a scrollbar. `"vertical"` (the default) also clips
7
+ * horizontal overflow, `"horizontal"` clips vertical overflow, `"both"`
8
+ * scrolls either way — the same meaning the `overflow-*` utilities this
9
+ * replaced had, because Radix's viewport derives `overflow-x`/`overflow-y`
10
+ * from which scrollbars are mounted.
11
+ */
5
12
  orientation?: "vertical" | "horizontal" | "both";
13
+ /**
14
+ * Props for the inner viewport — the element that actually scrolls.
15
+ *
16
+ * The root that this component's `ref`, `className` and remaining props land
17
+ * on is `overflow: hidden`; scrolling happens one level in. `onScroll`,
18
+ * `onScrollCapture` and `nonce` are routed to the viewport automatically
19
+ * because they have no other correct destination. Anything else that must
20
+ * address the scroller specifically — a `ref` for programmatic `scrollTop`, a
21
+ * `tabIndex`, an `id`, `aria-*` — goes here. Values passed here win over the
22
+ * automatically routed ones.
23
+ */
24
+ viewportProps?: React.ComponentPropsWithRef<typeof ScrollArea$1.Viewport>;
6
25
  }
7
- declare function ScrollArea({ className, orientation, children, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
26
+ /**
27
+ * ScrollArea — a scroll container with a consistent, styled scrollbar.
28
+ *
29
+ * Backed by Radix `ScrollArea`. The hand-rolled version was a single
30
+ * `overflow-auto` div plus a stack of `::-webkit-scrollbar` pseudo-element
31
+ * rules, which is a WebKit-only vocabulary: Firefox ignored every one of them
32
+ * and rendered the OS scrollbar instead, so the "design system scrollbar" was
33
+ * a Chrome/Safari-only promise. Radix hides the native scrollbar and renders a
34
+ * real element in its place, so the same thumb appears in every browser, can
35
+ * be dragged, and participates in the same hover/transition styling as the
36
+ * rest of the system.
37
+ *
38
+ * `type` defaults to `"auto"` — scrollbar present exactly while the content
39
+ * overflows — because that is what `overflow-auto` did. Radix's own default is
40
+ * `"hover"`; pass `type` explicitly for `"hover"`, `"always"` or `"scroll"`.
41
+ *
42
+ * NOTE ON PROP DESTINATIONS. This used to be one element; it is now a root plus
43
+ * an inner viewport, and the root does not scroll. Three props therefore have to
44
+ * be routed inward rather than spread onto the root with the rest, because for
45
+ * them the root is not merely a different element — it is an element on which
46
+ * they do nothing at all, silently:
47
+ *
48
+ * - `onScroll` / `onScrollCapture` — `scroll` events do not bubble, so a
49
+ * handler on the root would never fire once. Infinite-loading and
50
+ * scroll-position UI would break with no error.
51
+ * - `nonce` — Radix injects its scrollbar-hiding `<style>` from the viewport
52
+ * and only reads a nonce given to that component. Under a strict
53
+ * `style-src 'nonce-…'` policy the rule is blocked and the native scrollbar
54
+ * shows up alongside the custom one.
55
+ *
56
+ * Everything else keeps landing on the root, which is the component's box and
57
+ * the right owner for `className`, `style`, `id`, `role`, `aria-*`, `data-*`
58
+ * and bubbling handlers. `viewportProps` is the escape hatch for the remainder
59
+ * — most importantly a `ref`, since `ref` on this component addresses the root
60
+ * and setting `scrollTop` there does nothing.
61
+ *
62
+ * @stability Stable
63
+ */
64
+ declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
8
65
 
9
66
  export { ScrollArea };
@@ -1,4 +1,4 @@
1
- export { ScrollArea } from '../../chunk-OCTV3S4I.js';
1
+ export { ScrollArea } from '../../chunk-6KHY647C.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=scroll-area.js.map
4
4
  //# sourceMappingURL=scroll-area.js.map
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import * as SelectPrimitive from '@radix-ui/react-select';
2
+ import { Select as Select$1 } from 'radix-ui';
3
3
 
4
- declare const Select: React.FC<SelectPrimitive.SelectProps>;
5
- declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
6
- declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
7
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
- declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
- declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
- declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const Select: React.FC<Select$1.SelectProps>;
5
+ declare const SelectGroup: React.ForwardRefExoticComponent<Select$1.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ declare const SelectValue: React.ForwardRefExoticComponent<Select$1.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
7
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<Select$1.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<Select$1.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<Select$1.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<Select$1.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<Select$1.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
12
 
13
13
  export { Select, SelectContent, SelectGroup, SelectItem, SelectScrollDownButton, SelectScrollUpButton, SelectTrigger, SelectValue };
@@ -1,4 +1,4 @@
1
- export { Select, SelectContent, SelectGroup, SelectItem, SelectScrollDownButton, SelectScrollUpButton, SelectTrigger, SelectValue } from '../../chunk-2B3MFHBQ.js';
1
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectScrollDownButton, SelectScrollUpButton, SelectTrigger, SelectValue } from '../../chunk-FK42ZGGV.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=select.js.map
4
4
  //# sourceMappingURL=select.js.map
@@ -1,10 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
 
4
3
  interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
5
4
  orientation?: "horizontal" | "vertical";
6
5
  decorative?: boolean;
7
6
  }
8
- declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): react_jsx_runtime.JSX.Element;
7
+ declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): React.JSX.Element;
9
8
 
10
9
  export { Separator };
@@ -1,29 +1,30 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
2
  import * as React from 'react';
4
- import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ import { Dialog } from 'radix-ui';
5
4
  import { VariantProps } from 'class-variance-authority';
6
5
 
7
- declare const Sheet: React.FC<DialogPrimitive.DialogProps>;
8
- declare const SheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
- declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
10
- declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
11
- declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const Sheet: React.FC<Dialog.DialogProps>;
7
+ declare const SheetTrigger: React.ForwardRefExoticComponent<Dialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
8
+ declare const SheetClose: React.ForwardRefExoticComponent<Dialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
9
+ declare const SheetPortal: React.FC<Dialog.DialogPortalProps>;
10
+ declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<Dialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
11
  declare const sheetVariants: (props?: ({
13
12
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
14
13
  } & class_variance_authority_types.ClassProp) | undefined) => string;
15
- interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
14
+ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content>, VariantProps<typeof sheetVariants> {
15
+ /** Show the built-in top-right close affordance. Default true. Mirrors `DialogContent`'s `showCloseButton` — set false when a composing consumer (e.g. `DetailPanel`) renders its own close control. */
16
+ showCloseButton?: boolean;
16
17
  }
17
18
  declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
18
19
  declare const SheetHeader: {
19
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
20
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
20
21
  displayName: string;
21
22
  };
22
23
  declare const SheetFooter: {
23
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
24
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
24
25
  displayName: string;
25
26
  };
26
- declare const SheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
27
- declare const SheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
27
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<Dialog.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
28
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<Dialog.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
28
29
 
29
30
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };
@@ -1,4 +1,4 @@
1
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-SCUT2ZCD.js';
1
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-XCGZPFT7.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=sheet.js.map
4
4
  //# sourceMappingURL=sheet.js.map
@@ -1,6 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
 
4
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
3
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
5
4
 
6
5
  export { Skeleton };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import * as SliderPrimitive from '@radix-ui/react-slider';
2
+ import { Slider as Slider$1 } from 'radix-ui';
3
3
 
4
- declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ declare const Slider: React.ForwardRefExoticComponent<Omit<Slider$1.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
5
5
 
6
6
  export { Slider };
@@ -1,4 +1,4 @@
1
- export { Slider } from '../../chunk-LRXDZBV2.js';
1
+ export { Slider } from '../../chunk-PSR47JRA.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=slider.js.map
4
4
  //# sourceMappingURL=slider.js.map
@@ -1,9 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
  import { Toaster as Toaster$1 } from 'sonner';
4
3
  export { toast } from 'sonner';
5
4
 
6
5
  type ToasterProps = React.ComponentProps<typeof Toaster$1>;
7
- declare const Toaster: ({ className, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
6
+ declare const Toaster: ({ className, ...props }: ToasterProps) => React.JSX.Element;
8
7
 
9
8
  export { Toaster };
@@ -1,9 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
2
 
4
3
  interface SpinnerProps extends React.HTMLAttributes<SVGSVGElement> {
5
4
  size?: "sm" | "default" | "lg";
6
5
  }
7
- declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
6
+ declare function Spinner({ className, size, ...props }: SpinnerProps): React.JSX.Element;
8
7
 
9
8
  export { Spinner, type SpinnerProps };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import * as SwitchPrimitive from '@radix-ui/react-switch';
2
+ import { Switch as Switch$1 } from 'radix-ui';
3
3
 
4
- declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ declare const Switch: React.ForwardRefExoticComponent<Omit<Switch$1.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
5
 
6
6
  export { Switch };
@@ -1,4 +1,4 @@
1
- export { Switch } from '../../chunk-2MXMWBDV.js';
1
+ export { Switch } from '../../chunk-27ELYTGE.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=switch.js.map
4
4
  //# sourceMappingURL=switch.js.map
@@ -1,20 +1,35 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
2
+ import { Tabs as Tabs$1 } from 'radix-ui';
3
3
 
4
- interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ interface TabsProps extends React.ComponentPropsWithoutRef<typeof Tabs$1.Root> {
5
+ /**
6
+ * Required here even though Radix's own `defaultValue` is optional — that is
7
+ * the existing contract, and loosening it is a separate decision.
8
+ */
5
9
  defaultValue: string;
6
- value?: string;
7
- onValueChange?: (value: string) => void;
8
10
  }
9
- declare function Tabs({ defaultValue, value: controlledValue, onValueChange: controlledOnValueChange, className, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
10
- declare function TabsList({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
11
- interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
12
- value: string;
13
- }
14
- declare function TabsTrigger({ className, value, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
15
- interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
16
- value: string;
17
- }
18
- declare function TabsContent({ className, value, ...props }: TabsContentProps): react_jsx_runtime.JSX.Element | null;
11
+ /**
12
+ * Tabs — a tablist and its panels.
13
+ *
14
+ * Backed by Radix `Tabs`. The hand-rolled version was a React context plus a
15
+ * row of plain `<button>`s: it tracked the selected value correctly and
16
+ * nothing else. Every keyboard and screen-reader affordance the WAI-ARIA tabs
17
+ * pattern asks for was missing — `role="tablist"`/`"tab"`/`"tabpanel"`, the
18
+ * `aria-selected` state, the `aria-controls`/`aria-labelledby` link between a
19
+ * tab and its panel, the roving `tabindex` that makes the whole tablist ONE
20
+ * tab stop instead of N, and Arrow/Home/End navigation between tabs. Radix
21
+ * supplies all of it, plus the selection state the old version already
22
+ * handled.
23
+ *
24
+ * One behavioural note worth knowing: Radix selects on `mousedown` rather than
25
+ * `click`. Pointer users see no difference, but a synthetic `fireEvent.click`
26
+ * on a trigger no longer changes tabs.
27
+ *
28
+ * @stability Stable
29
+ */
30
+ declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
31
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<Tabs$1.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
32
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<Tabs$1.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
33
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<Tabs$1.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
34
 
20
35
  export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -1,4 +1,4 @@
1
- export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-JJ4NOMMI.js';
1
+ export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-VXFYETRK.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=tabs.js.map
4
4
  //# sourceMappingURL=tabs.js.map
@@ -1,13 +1,13 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
+ import { ToggleGroup as ToggleGroup$1 } from 'radix-ui';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
- declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
6
+ declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroup$1.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroup$1.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
7
7
  variant?: "default" | "outline" | null | undefined;
8
8
  size?: "default" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
10
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
10
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroup$1.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
11
11
  variant?: "default" | "outline" | null | undefined;
12
12
  size?: "default" | "sm" | "lg" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,5 +1,5 @@
1
- export { ToggleGroup, ToggleGroupItem } from '../../chunk-5Q4FABZQ.js';
2
- import '../../chunk-JXI2MYL3.js';
1
+ export { ToggleGroup, ToggleGroupItem } from '../../chunk-NUXW6NPP.js';
2
+ import '../../chunk-C46ITXE4.js';
3
3
  import '../../chunk-NZ5WBA4R.js';
4
4
  //# sourceMappingURL=toggle-group.js.map
5
5
  //# sourceMappingURL=toggle-group.js.map
@@ -1,13 +1,13 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React from 'react';
3
- import * as TogglePrimitive from '@radix-ui/react-toggle';
3
+ import { Toggle as Toggle$1 } from 'radix-ui';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const toggleVariants: (props?: ({
7
7
  variant?: "default" | "outline" | null | undefined;
8
8
  size?: "default" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
10
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<Toggle$1.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
11
11
  variant?: "default" | "outline" | null | undefined;
12
12
  size?: "default" | "sm" | "lg" | null | undefined;
13
13
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,4 @@
1
- export { Toggle, toggleVariants } from '../../chunk-JXI2MYL3.js';
1
+ export { Toggle, toggleVariants } from '../../chunk-C46ITXE4.js';
2
2
  import '../../chunk-NZ5WBA4R.js';
3
3
  //# sourceMappingURL=toggle.js.map
4
4
  //# sourceMappingURL=toggle.js.map