@gv-tech/ui-web 2.29.0 → 2.29.2

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 (550) hide show
  1. package/dist/__contracts.d.ts +0 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/accordion-Bd0-CZQn.js +1 -0
  4. package/dist/accordion-Cf6DNbLH.mjs +244 -0
  5. package/dist/accordion.cjs +1 -1
  6. package/dist/accordion.d.ts +1 -1
  7. package/dist/accordion.d.ts.map +1 -1
  8. package/dist/accordion.mjs +1 -2
  9. package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-BxFH0Lwn.mjs} +73 -75
  10. package/dist/alert-dialog-C6vNmGBL.js +1 -0
  11. package/dist/alert-dialog.cjs +1 -1
  12. package/dist/alert-dialog.d.ts +1 -1
  13. package/dist/alert-dialog.d.ts.map +1 -1
  14. package/dist/alert-dialog.mjs +1 -2
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.d.ts +1 -1
  17. package/dist/alert.d.ts.map +1 -1
  18. package/dist/alert.mjs +4 -5
  19. package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
  20. package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
  21. package/dist/aspect-ratio.cjs +1 -1
  22. package/dist/aspect-ratio.d.ts +2 -2
  23. package/dist/aspect-ratio.d.ts.map +1 -1
  24. package/dist/aspect-ratio.mjs +1 -2
  25. package/dist/attachment.cjs +1 -1
  26. package/dist/attachment.d.ts +2 -2
  27. package/dist/attachment.d.ts.map +1 -1
  28. package/dist/attachment.mjs +5 -6
  29. package/dist/avatar-B5PWwGhY.mjs +136 -0
  30. package/dist/avatar-CFhYRM52.js +1 -0
  31. package/dist/avatar.cjs +1 -1
  32. package/dist/avatar.d.ts +1 -1
  33. package/dist/avatar.d.ts.map +1 -1
  34. package/dist/avatar.mjs +1 -2
  35. package/dist/badge.cjs +1 -1
  36. package/dist/badge.d.ts +1 -1
  37. package/dist/badge.d.ts.map +1 -1
  38. package/dist/badge.mjs +6 -7
  39. package/dist/breadcrumb.cjs +1 -1
  40. package/dist/breadcrumb.d.ts.map +1 -1
  41. package/dist/breadcrumb.mjs +3 -6
  42. package/dist/bubble.cjs +1 -1
  43. package/dist/bubble.d.ts +1 -1
  44. package/dist/bubble.d.ts.map +1 -1
  45. package/dist/bubble.mjs +6 -7
  46. package/dist/button-group.cjs +1 -1
  47. package/dist/button-group.d.ts +4 -4
  48. package/dist/button-group.d.ts.map +1 -1
  49. package/dist/button-group.mjs +5 -7
  50. package/dist/button.cjs +1 -1
  51. package/dist/button.d.ts +1 -1
  52. package/dist/button.d.ts.map +1 -1
  53. package/dist/button.mjs +5 -6
  54. package/dist/calendar-D5qgt2o2.js +1 -0
  55. package/dist/{calendar-CkHWa9Uu.mjs → calendar-DIqXNjOR.mjs} +732 -879
  56. package/dist/calendar.cjs +1 -1
  57. package/dist/calendar.d.ts +1 -1
  58. package/dist/calendar.d.ts.map +1 -1
  59. package/dist/calendar.mjs +1 -2
  60. package/dist/card.cjs +1 -1
  61. package/dist/card.d.ts.map +1 -1
  62. package/dist/card.mjs +2 -3
  63. package/dist/carousel-D-xEqRCX.js +1 -0
  64. package/dist/{carousel-ynaeMNIV.mjs → carousel-DPjWmM_A.mjs} +15 -19
  65. package/dist/carousel.cjs +1 -1
  66. package/dist/carousel.d.ts +3 -3
  67. package/dist/carousel.d.ts.map +1 -1
  68. package/dist/carousel.mjs +1 -2
  69. package/dist/chart.cjs +2 -2
  70. package/dist/chart.mjs +14 -15
  71. package/dist/{checkbox-BLvAEmRC.mjs → checkbox-DEPm1BBc.mjs} +70 -68
  72. package/dist/checkbox-DI9Hn_e_.js +1 -0
  73. package/dist/checkbox.cjs +1 -1
  74. package/dist/checkbox.d.ts +1 -1
  75. package/dist/checkbox.d.ts.map +1 -1
  76. package/dist/checkbox.mjs +1 -2
  77. package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
  78. package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
  79. package/dist/collapsible.cjs +1 -1
  80. package/dist/collapsible.d.ts +4 -4
  81. package/dist/collapsible.d.ts.map +1 -1
  82. package/dist/collapsible.mjs +8 -9
  83. package/dist/combobox-C4y8AbZX.mjs +5644 -0
  84. package/dist/combobox-boXp-mix.js +3 -0
  85. package/dist/combobox.cjs +1 -1
  86. package/dist/combobox.d.ts.map +1 -1
  87. package/dist/combobox.mjs +1 -2
  88. package/dist/command-BnW6UIVk.js +1 -0
  89. package/dist/{command-DY6u8V0D.mjs → command-Cbsp7PBx.mjs} +121 -124
  90. package/dist/command.cjs +1 -1
  91. package/dist/command.d.ts +1 -1
  92. package/dist/command.d.ts.map +1 -1
  93. package/dist/command.mjs +1 -2
  94. package/dist/context-menu-CwsdFpx1.js +1 -0
  95. package/dist/{context-menu-tL6CY6a0.mjs → context-menu-FNgV55ZV.mjs} +137 -140
  96. package/dist/context-menu.cjs +1 -1
  97. package/dist/context-menu.d.ts +1 -1
  98. package/dist/context-menu.d.ts.map +1 -1
  99. package/dist/context-menu.mjs +1 -2
  100. package/dist/dialog.cjs +1 -1
  101. package/dist/dialog.d.ts +1 -1
  102. package/dist/dialog.d.ts.map +1 -1
  103. package/dist/dialog.mjs +3 -4
  104. package/dist/direction.cjs +1 -1
  105. package/dist/direction.d.ts +1 -1
  106. package/dist/direction.d.ts.map +1 -1
  107. package/dist/direction.mjs +2 -3
  108. package/dist/dist-7YyzJonC.mjs +39 -0
  109. package/dist/dist-AlmToDtO.mjs +17 -0
  110. package/dist/{dist-DyMv0xk8.mjs → dist-B76UOZbx.mjs} +1 -2
  111. package/dist/{dist-BQhMregZ.mjs → dist-B7Ph9-T6.mjs} +2 -3
  112. package/dist/dist-B7jnFMko.js +1 -0
  113. package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
  114. package/dist/dist-BQkDLAY7.js +1 -0
  115. package/dist/dist-Bal96K8t.js +1 -0
  116. package/dist/dist-Blgp9lfa.js +1 -0
  117. package/dist/{dist-Dg9ASyqI.mjs → dist-BnlI08Je.mjs} +4 -4
  118. package/dist/{dist-5r7hQmO0.mjs → dist-Bu-uFV1C.mjs} +60 -56
  119. package/dist/dist-C2BHd5i1.mjs +460 -0
  120. package/dist/{dist-8fYwoWd4.mjs → dist-C516Vwxy.mjs} +23 -18
  121. package/dist/dist-CBlqVBTk.js +1 -0
  122. package/dist/dist-CDcZ8WMF.js +1 -0
  123. package/dist/dist-CDksSmTD.mjs +189 -0
  124. package/dist/dist-CF-qVmmV.js +1 -0
  125. package/dist/dist-CIgGRTmJ.js +1 -0
  126. package/dist/dist-CJqVmdrU.js +1 -0
  127. package/dist/{dist-DMwCTE2i.mjs → dist-COqM3IM6.mjs} +3 -4
  128. package/dist/{dist-CYrqAnIr.mjs → dist-CbWpCWog.mjs} +13 -15
  129. package/dist/{dist-rx5WaFf5.mjs → dist-CcGLWbPa.mjs} +3 -4
  130. package/dist/dist-Cn4F8XlY.mjs +220 -0
  131. package/dist/dist-CoTs6T03.js +1 -0
  132. package/dist/dist-Co_xSt6d.js +1 -0
  133. package/dist/{dist-CBsYNwXz.mjs → dist-Cu0GG-3j.mjs} +2 -3
  134. package/dist/{dist-BUXpRW9O.mjs → dist-DKI-XYwI.mjs} +3 -5
  135. package/dist/dist-DQeXXRYL.mjs +201 -0
  136. package/dist/dist-DW2ltK5-.js +1 -0
  137. package/dist/dist-DWcKY_sJ.js +1 -0
  138. package/dist/dist-DdAeWIwf.js +1 -0
  139. package/dist/dist-DhubV_gU.mjs +4 -0
  140. package/dist/dist-DmY7elIQ.js +1 -0
  141. package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
  142. package/dist/dist-DuQlxGyN.js +1 -0
  143. package/dist/dist-KFF7QKuL.js +1 -0
  144. package/dist/dist-RXrZgzkO.js +1 -0
  145. package/dist/dist-R_G5UQRm.js +1 -0
  146. package/dist/dist-dwRwxUPt.mjs +22 -0
  147. package/dist/dist-fzmUl3YX.mjs +553 -0
  148. package/dist/{dist-ByW6RHeZ.mjs → dist-hBsne-A2.mjs} +24 -26
  149. package/dist/{dist-BIXhHahX.mjs → dist-ljiGYyay.mjs} +4 -5
  150. package/dist/dist-pqMcQ1Nk.js +1 -0
  151. package/dist/dist-zmnQp5Xf.js +1 -0
  152. package/dist/drawer.cjs +1 -1
  153. package/dist/drawer.d.ts +1 -1
  154. package/dist/drawer.d.ts.map +1 -1
  155. package/dist/drawer.mjs +2 -3
  156. package/dist/dropdown-menu-ChuqZeix.js +1 -0
  157. package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-DU7KNoXP.mjs} +131 -133
  158. package/dist/dropdown-menu.cjs +1 -1
  159. package/dist/dropdown-menu.d.ts +1 -1
  160. package/dist/dropdown-menu.d.ts.map +1 -1
  161. package/dist/dropdown-menu.mjs +1 -2
  162. package/dist/empty.cjs +1 -1
  163. package/dist/empty.d.ts +7 -7
  164. package/dist/empty.d.ts.map +1 -1
  165. package/dist/empty.mjs +3 -4
  166. package/dist/es2015-BooeZGhO.mjs +554 -0
  167. package/dist/es2015-Dggv0vx3.js +41 -0
  168. package/dist/field.cjs +1 -1
  169. package/dist/field.d.ts +12 -12
  170. package/dist/field.d.ts.map +1 -1
  171. package/dist/field.mjs +6 -8
  172. package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
  173. package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
  174. package/dist/form.cjs +1 -1
  175. package/dist/form.d.ts +3 -3
  176. package/dist/form.d.ts.map +1 -1
  177. package/dist/form.mjs +19 -20
  178. package/dist/hooks/use-theme.d.ts +52 -52
  179. package/dist/hover-card-BeqCs_2R.js +1 -0
  180. package/dist/hover-card-w8PmCyw2.mjs +176 -0
  181. package/dist/hover-card.cjs +1 -1
  182. package/dist/hover-card.d.ts +1 -1
  183. package/dist/hover-card.d.ts.map +1 -1
  184. package/dist/hover-card.mjs +1 -2
  185. package/dist/index.cjs +1 -1
  186. package/dist/index.mjs +66 -66
  187. package/dist/input-group.cjs +1 -1
  188. package/dist/input-group.d.ts +3 -3
  189. package/dist/input-group.d.ts.map +1 -1
  190. package/dist/input-group.mjs +5 -11
  191. package/dist/{input-otp-m_BTudNY.mjs → input-otp-Bn_Uy1mR.mjs} +7 -18
  192. package/dist/input-otp-CTRB_0Xp.js +20 -0
  193. package/dist/input-otp.cjs +1 -1
  194. package/dist/input-otp.d.ts +1 -1
  195. package/dist/input-otp.d.ts.map +1 -1
  196. package/dist/input-otp.mjs +1 -2
  197. package/dist/input.cjs +1 -1
  198. package/dist/input.d.ts.map +1 -1
  199. package/dist/input.mjs +2 -3
  200. package/dist/item.cjs +1 -1
  201. package/dist/item.d.ts +2 -2
  202. package/dist/item.d.ts.map +1 -1
  203. package/dist/item.mjs +7 -9
  204. package/dist/kbd.cjs +1 -1
  205. package/dist/kbd.d.ts +2 -2
  206. package/dist/kbd.d.ts.map +1 -1
  207. package/dist/kbd.mjs +2 -3
  208. package/dist/{label-DVA-YKpB.mjs → label-Da0kELfR.mjs} +4 -6
  209. package/dist/label-JMa1tFfC.js +1 -0
  210. package/dist/label.cjs +1 -1
  211. package/dist/label.d.ts +1 -1
  212. package/dist/label.d.ts.map +1 -1
  213. package/dist/label.mjs +1 -2
  214. package/dist/marker.cjs +1 -1
  215. package/dist/marker.d.ts +1 -1
  216. package/dist/marker.d.ts.map +1 -1
  217. package/dist/marker.mjs +6 -7
  218. package/dist/menubar-B7sRxpE4.mjs +405 -0
  219. package/dist/menubar-Bd-QKMcw.js +1 -0
  220. package/dist/menubar.cjs +1 -1
  221. package/dist/menubar.d.ts +1 -1
  222. package/dist/menubar.d.ts.map +1 -1
  223. package/dist/menubar.mjs +1 -2
  224. package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
  225. package/dist/message-scroller-BJb4Mh_I.js +1 -0
  226. package/dist/message-scroller.cjs +1 -1
  227. package/dist/message-scroller.d.ts +1 -1
  228. package/dist/message-scroller.d.ts.map +1 -1
  229. package/dist/message-scroller.mjs +1 -2
  230. package/dist/message.cjs +1 -1
  231. package/dist/message.d.ts.map +1 -1
  232. package/dist/message.mjs +2 -3
  233. package/dist/native-select.cjs +1 -1
  234. package/dist/native-select.d.ts.map +1 -1
  235. package/dist/native-select.mjs +2 -3
  236. package/dist/navigation-menu-B-RwfscB.mjs +638 -0
  237. package/dist/navigation-menu-kPwxYZCR.js +1 -0
  238. package/dist/navigation-menu.cjs +1 -1
  239. package/dist/navigation-menu.d.ts +1 -1
  240. package/dist/navigation-menu.d.ts.map +1 -1
  241. package/dist/navigation-menu.mjs +1 -2
  242. package/dist/pagination.cjs +1 -1
  243. package/dist/pagination.d.ts +2 -2
  244. package/dist/pagination.d.ts.map +1 -1
  245. package/dist/pagination.mjs +5 -5
  246. package/dist/popover-Cq5cTNtC.js +1 -0
  247. package/dist/popover-T6Ra737i.mjs +241 -0
  248. package/dist/popover.cjs +1 -1
  249. package/dist/popover.d.ts +1 -1
  250. package/dist/popover.d.ts.map +1 -1
  251. package/dist/popover.mjs +1 -2
  252. package/dist/{progress-ClcVCqjl.mjs → progress-e9YzxvRo.mjs} +15 -18
  253. package/dist/progress-iUSEI7J9.js +6 -0
  254. package/dist/progress.cjs +1 -1
  255. package/dist/progress.d.ts +1 -1
  256. package/dist/progress.d.ts.map +1 -1
  257. package/dist/progress.mjs +1 -2
  258. package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
  259. package/dist/questionnaire-CcymIPae.js +1 -0
  260. package/dist/questionnaire.cjs +1 -1
  261. package/dist/questionnaire.d.ts +1 -1
  262. package/dist/questionnaire.d.ts.map +1 -1
  263. package/dist/questionnaire.mjs +1 -2
  264. package/dist/{radio-group-5VwmCXRK.mjs → radio-group-BKpiDcIb.mjs} +76 -77
  265. package/dist/radio-group-DPEzCmxe.js +1 -0
  266. package/dist/radio-group.cjs +1 -1
  267. package/dist/radio-group.mjs +1 -2
  268. package/dist/resizable-ByF0NmN9.mjs +2153 -0
  269. package/dist/resizable-oL3v42zT.js +1 -0
  270. package/dist/resizable.cjs +1 -1
  271. package/dist/resizable.d.ts +3 -3
  272. package/dist/resizable.mjs +1 -2
  273. package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
  274. package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
  275. package/dist/scroll-area-BzNeOQ6C.mjs +568 -0
  276. package/dist/scroll-area-s4_ZJK59.js +1 -0
  277. package/dist/scroll-area.cjs +1 -1
  278. package/dist/scroll-area.d.ts +1 -1
  279. package/dist/scroll-area.d.ts.map +1 -1
  280. package/dist/scroll-area.mjs +1 -2
  281. package/dist/scroll-to-top.cjs +1 -1
  282. package/dist/scroll-to-top.d.ts.map +1 -1
  283. package/dist/scroll-to-top.mjs +13 -16
  284. package/dist/search.cjs +1 -1
  285. package/dist/search.d.ts.map +1 -1
  286. package/dist/search.mjs +12 -13
  287. package/dist/select-B_nRxX2Y.mjs +831 -0
  288. package/dist/select-j5_dph9S.js +1 -0
  289. package/dist/select.cjs +1 -1
  290. package/dist/select.d.ts +1 -1
  291. package/dist/select.d.ts.map +1 -1
  292. package/dist/select.mjs +1 -2
  293. package/dist/separator-Bn-3XUSJ.js +1 -0
  294. package/dist/separator-CCcMNS78.mjs +38 -0
  295. package/dist/separator.cjs +1 -1
  296. package/dist/separator.d.ts +1 -1
  297. package/dist/separator.d.ts.map +1 -1
  298. package/dist/separator.mjs +1 -2
  299. package/dist/sheet.cjs +1 -1
  300. package/dist/sheet.d.ts +1 -1
  301. package/dist/sheet.d.ts.map +1 -1
  302. package/dist/sheet.mjs +3 -4
  303. package/dist/{sidebar-B5q6nH2G.mjs → sidebar-C2ax_A0G.mjs} +50 -52
  304. package/dist/sidebar-Cnem2n5A.js +1 -0
  305. package/dist/sidebar.cjs +1 -1
  306. package/dist/sidebar.d.ts +1 -1
  307. package/dist/sidebar.d.ts.map +1 -1
  308. package/dist/sidebar.mjs +1 -2
  309. package/dist/skeleton.cjs +1 -1
  310. package/dist/skeleton.d.ts +1 -1
  311. package/dist/skeleton.d.ts.map +1 -1
  312. package/dist/skeleton.mjs +2 -3
  313. package/dist/slider-B2PUTc7W.mjs +484 -0
  314. package/dist/slider-wZuXwuib.js +1 -0
  315. package/dist/slider.cjs +1 -1
  316. package/dist/slider.d.ts +1 -1
  317. package/dist/slider.d.ts.map +1 -1
  318. package/dist/slider.mjs +1 -2
  319. package/dist/sonner.d.ts +1 -1
  320. package/dist/sonner.mjs +1 -2
  321. package/dist/spinner.cjs +1 -1
  322. package/dist/spinner.d.ts +2 -1
  323. package/dist/spinner.d.ts.map +1 -1
  324. package/dist/spinner.mjs +10 -7
  325. package/dist/support-fab.cjs +1 -1
  326. package/dist/support-fab.d.ts.map +1 -1
  327. package/dist/support-fab.mjs +21 -22
  328. package/dist/switch-CD675xU7.js +1 -0
  329. package/dist/{switch-DagjjAQu.mjs → switch-ikzIzrme.mjs} +66 -64
  330. package/dist/switch.cjs +1 -1
  331. package/dist/switch.d.ts +1 -1
  332. package/dist/switch.d.ts.map +1 -1
  333. package/dist/switch.mjs +1 -2
  334. package/dist/table-of-contents.cjs +1 -1
  335. package/dist/table-of-contents.d.ts +5 -10
  336. package/dist/table-of-contents.d.ts.map +1 -1
  337. package/dist/table-of-contents.mjs +6 -6
  338. package/dist/table.cjs +1 -1
  339. package/dist/table.d.ts.map +1 -1
  340. package/dist/table.mjs +2 -3
  341. package/dist/{tabs-OQ6rj-3B.mjs → tabs-DCm5zOYB.mjs} +73 -73
  342. package/dist/tabs-fcahDQDp.js +1 -0
  343. package/dist/tabs.cjs +1 -1
  344. package/dist/tabs.d.ts +1 -1
  345. package/dist/tabs.d.ts.map +1 -1
  346. package/dist/tabs.mjs +1 -2
  347. package/dist/text.cjs +1 -1
  348. package/dist/text.d.ts +1 -1
  349. package/dist/text.d.ts.map +1 -1
  350. package/dist/text.mjs +17 -15
  351. package/dist/textarea.cjs +1 -1
  352. package/dist/textarea.d.ts.map +1 -1
  353. package/dist/textarea.mjs +2 -3
  354. package/dist/theme-provider.d.ts +1 -1
  355. package/dist/theme-provider.d.ts.map +1 -1
  356. package/dist/theme-provider.mjs +1 -2
  357. package/dist/theme-toggle-BGTJsIA-.js +1 -0
  358. package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-BSMwXb8o.mjs} +29 -22
  359. package/dist/theme-toggle.cjs +1 -1
  360. package/dist/theme-toggle.d.ts +1 -1
  361. package/dist/theme-toggle.d.ts.map +1 -1
  362. package/dist/theme-toggle.mjs +1 -2
  363. package/dist/toast-C31v9P1K.js +1 -0
  364. package/dist/toast-vU5ISM03.mjs +445 -0
  365. package/dist/toast.cjs +1 -1
  366. package/dist/toast.d.ts +1 -1
  367. package/dist/toast.d.ts.map +1 -1
  368. package/dist/toast.mjs +1 -2
  369. package/dist/toaster-CaJyOCyC.js +1 -0
  370. package/dist/{toaster-CKAJ9cht.mjs → toaster-D2BV6jez.mjs} +3 -5
  371. package/dist/toaster.cjs +1 -1
  372. package/dist/toaster.d.ts +1 -1
  373. package/dist/toaster.d.ts.map +1 -1
  374. package/dist/toaster.mjs +1 -2
  375. package/dist/toggle-CSZdCCwX.js +1 -0
  376. package/dist/{toggle-CuLxBIWH.mjs → toggle-Cv9YYwLI.mjs} +14 -15
  377. package/dist/toggle-group-RT8wyBwK.js +1 -0
  378. package/dist/toggle-group-qvjasXS-.mjs +166 -0
  379. package/dist/toggle-group.cjs +1 -1
  380. package/dist/toggle-group.d.ts +1 -1
  381. package/dist/toggle-group.d.ts.map +1 -1
  382. package/dist/toggle-group.mjs +1 -2
  383. package/dist/toggle.cjs +1 -1
  384. package/dist/toggle.d.ts +1 -1
  385. package/dist/toggle.d.ts.map +1 -1
  386. package/dist/toggle.mjs +1 -2
  387. package/dist/tooltip-7ERoN5mV.mjs +386 -0
  388. package/dist/tooltip-CC9_spXT.js +1 -0
  389. package/dist/tooltip.cjs +1 -1
  390. package/dist/tooltip.d.ts +1 -1
  391. package/dist/tooltip.d.ts.map +1 -1
  392. package/dist/tooltip.mjs +1 -2
  393. package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
  394. package/package.json +18 -18
  395. package/src/__contracts.ts +318 -321
  396. package/src/accordion.tsx +1 -2
  397. package/src/alert-dialog.tsx +1 -2
  398. package/src/alert.tsx +3 -4
  399. package/src/aspect-ratio.tsx +1 -2
  400. package/src/attachment.tsx +8 -9
  401. package/src/avatar.tsx +1 -2
  402. package/src/badge.tsx +2 -3
  403. package/src/breadcrumb.tsx +1 -4
  404. package/src/bubble.tsx +7 -8
  405. package/src/button-group.tsx +2 -3
  406. package/src/button.tsx +3 -4
  407. package/src/calendar.tsx +8 -9
  408. package/src/card.tsx +1 -2
  409. package/src/carousel.tsx +9 -10
  410. package/src/checkbox.tsx +1 -2
  411. package/src/collapsible.tsx +1 -2
  412. package/src/combobox.tsx +6 -7
  413. package/src/command.tsx +1 -2
  414. package/src/context-menu.tsx +1 -2
  415. package/src/dialog.tsx +1 -2
  416. package/src/direction.tsx +1 -2
  417. package/src/drawer.tsx +1 -2
  418. package/src/dropdown-menu.tsx +1 -2
  419. package/src/empty.tsx +2 -3
  420. package/src/field.tsx +9 -11
  421. package/src/form.tsx +8 -8
  422. package/src/hooks/use-mobile.ts +1 -1
  423. package/src/hover-card.tsx +1 -2
  424. package/src/input-group.tsx +12 -21
  425. package/src/input-otp.tsx +5 -6
  426. package/src/input.tsx +1 -2
  427. package/src/item.tsx +10 -12
  428. package/src/kbd.tsx +1 -2
  429. package/src/label.tsx +1 -2
  430. package/src/marker.tsx +4 -5
  431. package/src/menubar.tsx +1 -2
  432. package/src/message-scroller.tsx +9 -10
  433. package/src/message.tsx +2 -3
  434. package/src/native-select.tsx +3 -4
  435. package/src/navigation-menu.tsx +2 -3
  436. package/src/pagination.tsx +5 -4
  437. package/src/popover.tsx +1 -2
  438. package/src/progress.tsx +1 -2
  439. package/src/questionnaire.tsx +6 -7
  440. package/src/scroll-area.tsx +1 -2
  441. package/src/scroll-to-top.tsx +7 -2
  442. package/src/search.tsx +2 -1
  443. package/src/select.tsx +1 -2
  444. package/src/separator.tsx +1 -2
  445. package/src/setupTests.ts +9 -9
  446. package/src/sheet.tsx +1 -2
  447. package/src/sidebar.tsx +15 -16
  448. package/src/skeleton.tsx +1 -2
  449. package/src/slider.tsx +1 -2
  450. package/src/spinner.tsx +8 -7
  451. package/src/support-fab.tsx +5 -1
  452. package/src/switch.tsx +1 -2
  453. package/src/table-of-contents.tsx +8 -11
  454. package/src/table.tsx +1 -2
  455. package/src/tabs.tsx +2 -3
  456. package/src/text.tsx +4 -4
  457. package/src/textarea.tsx +1 -2
  458. package/src/theme-provider.tsx +1 -1
  459. package/src/theme-toggle.tsx +26 -23
  460. package/src/toast.tsx +3 -4
  461. package/src/toaster.tsx +2 -1
  462. package/src/toggle-group.tsx +1 -2
  463. package/src/toggle.tsx +3 -4
  464. package/src/tooltip.tsx +1 -2
  465. package/dist/accordion-BgbjpZAF.js +0 -1
  466. package/dist/accordion-Bqt-y-u7.mjs +0 -239
  467. package/dist/alert-dialog-DonbkCSD.js +0 -1
  468. package/dist/aspect-ratio-X3HWxQz0.js +0 -1
  469. package/dist/avatar-DTkhTxt7.mjs +0 -133
  470. package/dist/avatar-DhvZbCtI.js +0 -1
  471. package/dist/calendar-Bo8kovKR.js +0 -1
  472. package/dist/carousel-Cv5isLeg.js +0 -1
  473. package/dist/checkbox-Dt06B4YW.js +0 -1
  474. package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
  475. package/dist/chunk-mLOUI7ql.js +0 -1
  476. package/dist/combobox-BB_YzCTY.js +0 -4
  477. package/dist/combobox-YxjYGUoe.mjs +0 -5748
  478. package/dist/command-BqO-CfH6.js +0 -1
  479. package/dist/context-menu-Dad9hs94.js +0 -1
  480. package/dist/dist-6c2NeKfz.mjs +0 -536
  481. package/dist/dist-9-j0_8D1.mjs +0 -34
  482. package/dist/dist-BMl8xXCH.mjs +0 -188
  483. package/dist/dist-BOKg7rhq.js +0 -1
  484. package/dist/dist-BPhn-EOy.mjs +0 -15
  485. package/dist/dist-BTN2t9yv.js +0 -1
  486. package/dist/dist-Bivv8B6p.mjs +0 -16
  487. package/dist/dist-BoNQb2nd.js +0 -1
  488. package/dist/dist-C83rnWRv.js +0 -1
  489. package/dist/dist-C8Pm6LRc.js +0 -1
  490. package/dist/dist-CGgemr2V.js +0 -1
  491. package/dist/dist-C_iFkwIX.js +0 -1
  492. package/dist/dist-CdBAkUWT.js +0 -1
  493. package/dist/dist-Cn7g8jD0.js +0 -1
  494. package/dist/dist-D7-Fky36.js +0 -1
  495. package/dist/dist-D7UHN1DJ.mjs +0 -5
  496. package/dist/dist-DOoZ3vGL.mjs +0 -407
  497. package/dist/dist-DYUvPCPC.js +0 -1
  498. package/dist/dist-DcRkoHAk.js +0 -1
  499. package/dist/dist-DfvK7DpO.mjs +0 -213
  500. package/dist/dist-Dj9s8AIv.js +0 -1
  501. package/dist/dist-NEeQKKDZ.js +0 -1
  502. package/dist/dist-N_70prl1.js +0 -1
  503. package/dist/dist-YAADIsyo.js +0 -1
  504. package/dist/dist-dMp9dzmY.mjs +0 -20
  505. package/dist/dist-mHQuNOH-.js +0 -1
  506. package/dist/dist-oyFh63Uq.js +0 -1
  507. package/dist/dist-v-Y6tnMq.js +0 -1
  508. package/dist/dist-v9094Auw.js +0 -1
  509. package/dist/dist-yA6iVq_M.js +0 -1
  510. package/dist/dropdown-menu-BpZcobmP.js +0 -1
  511. package/dist/es2015-CYxXY2oV.mjs +0 -727
  512. package/dist/es2015-t2RPC0Rg.js +0 -41
  513. package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
  514. package/dist/hover-card-7NjGqlP0.js +0 -1
  515. package/dist/hover-card-DuRUptxQ.mjs +0 -176
  516. package/dist/input-otp-D9MwUsPO.js +0 -20
  517. package/dist/label-CgKiKHKG.js +0 -1
  518. package/dist/menubar-CyKBLHme.mjs +0 -405
  519. package/dist/menubar-DlOMZeh1.js +0 -1
  520. package/dist/message-scroller-DqLu0YI6.js +0 -1
  521. package/dist/navigation-menu-BzE1J1rs.mjs +0 -608
  522. package/dist/navigation-menu-CrR01R8Z.js +0 -1
  523. package/dist/popover-CFF_HXSf.mjs +0 -222
  524. package/dist/popover-D9pVy08c.js +0 -1
  525. package/dist/progress-nfJMuKGj.js +0 -6
  526. package/dist/questionnaire-PWClWvST.js +0 -1
  527. package/dist/radio-group-DhXnB0fI.js +0 -1
  528. package/dist/resizable-ChIqXiu4.js +0 -1
  529. package/dist/resizable-CpovHnG-.mjs +0 -1573
  530. package/dist/scroll-area-CUqjuvqH.js +0 -1
  531. package/dist/scroll-area-DstdIGvS.mjs +0 -539
  532. package/dist/select-CnCTQeh7.js +0 -1
  533. package/dist/select-CnHZdna2.mjs +0 -792
  534. package/dist/separator-BXaVJadH.js +0 -1
  535. package/dist/separator-D1a8myFf.mjs +0 -38
  536. package/dist/sidebar-ns_2TNBM.js +0 -1
  537. package/dist/slider-PoIV6N-u.js +0 -1
  538. package/dist/slider-ZnyQjYsS.mjs +0 -460
  539. package/dist/switch-DLY8PkmL.js +0 -1
  540. package/dist/tabs-QBWdNfSK.js +0 -1
  541. package/dist/theme-toggle-Q3UHstP_.js +0 -1
  542. package/dist/toast-BOdziIGg.mjs +0 -424
  543. package/dist/toast-D1fjLwO1.js +0 -1
  544. package/dist/toaster-DS9iODKU.js +0 -1
  545. package/dist/toggle-DtpvPox_.js +0 -1
  546. package/dist/toggle-group-DfkvPKU_.mjs +0 -164
  547. package/dist/toggle-group-UHY0Tip1.js +0 -1
  548. package/dist/tooltip-BbCL1gtU.mjs +0 -384
  549. package/dist/tooltip-BvpyStn2.js +0 -1
  550. /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
@@ -1,10 +1,10 @@
1
- import { t as e } from "./dist-Dm3IQk5b.mjs";
2
- import { buttonVariants as t } from "./button.mjs";
3
- import { n, r, t as i } from "./chunk-HBS6WEDP-CzyhzCaP.mjs";
1
+ import { n as e, r as t, t as n } from "./chunk-HBS6WEDP-DD8ZmxRM.mjs";
2
+ import { t as r } from "./dist-DoWtzxYc.mjs";
3
+ import { buttonVariants as i } from "./button.mjs";
4
4
  import { CheckIcon as a } from "lucide-react";
5
5
  import * as o from "react";
6
6
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- //#region ../../node_modules/.bun/@shadcn+react@0.3.1+0ac650c021fb1b59/node_modules/@shadcn/react/dist/questionnaire/index.js
7
+ // ../../node_modules/.bun/@shadcn+react@0.3.1+0ac650c021fb1b59/node_modules/@shadcn/react/dist/questionnaire/index.js
8
8
  var l = o.createContext(null), u = o.createContext(null), d = o.createContext(null);
9
9
  function f(e) {
10
10
  let t = o.useContext(u);
@@ -70,7 +70,7 @@ function w(e, t) {
70
70
  return n & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
71
71
  }
72
72
  function T({ checked: e, defaultChecked: t = !1, disabled: n = !1, onChange: r, value: i }) {
73
- let { disabled: a, hasInputAnswer: s, invalid: c, multiple: l, name: u, registerAnswerControl: d, registerAnswerSelection: f, required: p, resetVersion: h, selectedAnswerIds: g, setAnswerDefault: _, setAnswerSelectionFromInteraction: y, shortcutByAnswerId: b, shortcutByChoiceValue: x, status: S, syncControlledAnswerSelection: C } = m("Questionnaire.Choice"), w = o.useId(), [T, E] = o.useState(null), ee = o.useRef(t), D = e !== void 0, O = a || n, k = g.includes(w), A = D ? S === "skipped" ? !1 : e : k, j = l ? "checkbox" : "radio", M = x?.get(i) ?? b.get(w) ?? null;
73
+ let { disabled: a, hasInputAnswer: s, invalid: c, multiple: l, name: u, registerAnswerControl: d, registerAnswerSelection: f, required: p, resetVersion: h, selectedAnswerIds: g, setAnswerDefault: _, setAnswerSelectionFromInteraction: y, shortcutByAnswerId: b, shortcutByChoiceValue: x, status: S, syncControlledAnswerSelection: C } = m("Questionnaire.Choice"), w = o.useId(), [T, E] = o.useState(null), ee = o.useRef(t), D = e !== void 0, O = a || n, k = g.includes(w), A = D ? S !== "skipped" && e : k, j = l ? "checkbox" : "radio", M = x?.get(i) ?? b.get(w) ?? null;
74
74
  o.useLayoutEffect(() => f(w, ee.current), [w, f]), o.useLayoutEffect(() => _(w, t), [
75
75
  w,
76
76
  t,
@@ -142,8 +142,8 @@ function T({ checked: e, defaultChecked: t = !1, disabled: n = !1, onChange: r,
142
142
  state: P
143
143
  };
144
144
  }
145
- function E({ defaultValue: e, disabled: t = !1, onChange: n, ref: i, type: a = "text", value: s }) {
146
- let { disabled: c, invalid: l, name: u, registerAnswerControl: d, registerAnswerSelection: f, resetVersion: p, selectedAnswerIds: g, setAnswerDefault: _, setAnswerSelectionFromInteraction: y, syncControlledAnswerSelection: b } = m("Questionnaire.Input"), x = o.useId(), S = o.useRef(null), C = o.useRef(h(e)), w = s !== void 0, T = h(e), E = h(s), [ee, D] = o.useState(T), O = c || t, k = w ? E : ee, A = g.includes(x);
145
+ function E({ defaultValue: e, disabled: n = !1, onChange: r, ref: i, type: a = "text", value: s }) {
146
+ let { disabled: c, invalid: l, name: u, registerAnswerControl: d, registerAnswerSelection: f, resetVersion: p, selectedAnswerIds: g, setAnswerDefault: _, setAnswerSelectionFromInteraction: y, syncControlledAnswerSelection: b } = m("Questionnaire.Input"), x = o.useId(), S = o.useRef(null), C = o.useRef(h(e)), w = s !== void 0, T = h(e), E = h(s), [ee, D] = o.useState(T), O = c || n, k = w ? E : ee, A = g.includes(x);
147
147
  o.useLayoutEffect(() => f(x, C.current), [x, f]), o.useLayoutEffect(() => _(x, T), [
148
148
  T,
149
149
  x,
@@ -161,11 +161,7 @@ function E({ defaultValue: e, disabled: t = !1, onChange: n, ref: i, type: a = "
161
161
  x,
162
162
  d
163
163
  ]), o.useLayoutEffect(() => {
164
- if (w) {
165
- b(x, E);
166
- return;
167
- }
168
- p > 0 && D(T);
164
+ w ? b(x, E) : p > 0 && D(T);
169
165
  }, [
170
166
  w,
171
167
  E,
@@ -179,7 +175,7 @@ function E({ defaultValue: e, disabled: t = !1, onChange: n, ref: i, type: a = "
179
175
  !e || !w || (e.defaultValue = String(s));
180
176
  }, [w, s]);
181
177
  function j(e) {
182
- if (n?.(e), e.defaultPrevented) return;
178
+ if (r?.(e), e.defaultPrevented) return;
183
179
  let t = e.target.value.trim().length > 0;
184
180
  w || (D(t), y(x, t));
185
181
  }
@@ -188,7 +184,7 @@ function E({ defaultValue: e, disabled: t = !1, onChange: n, ref: i, type: a = "
188
184
  filled: k,
189
185
  invalid: l
190
186
  }, N = o.useCallback((e) => {
191
- S.current = e, r(i)?.(e);
187
+ S.current = e, t(i)?.(e);
192
188
  }, [i]);
193
189
  return {
194
190
  inputProps: {
@@ -256,11 +252,7 @@ function A(e, t, n) {
256
252
  let a = t.choices ?? [], o = new Map(a.map((e) => [e.value, e])), s = new Map(e.choices.map((e) => [e.value, e]));
257
253
  for (let e of a) {
258
254
  let n = s.get(e.value);
259
- if (!n) {
260
- r.push(`Choice "${e.value}" is defined for item "${t.name}" but has no rendered Questionnaire.Choice.`);
261
- continue;
262
- }
263
- n.disabled !== !!e.disabled && r.push(`Choice "${e.value}" in item "${t.name}" has different disabled values in Root.items and Questionnaire.Choice.`);
255
+ n ? n.disabled !== !!e.disabled && r.push(`Choice "${e.value}" in item "${t.name}" has different disabled values in Root.items and Questionnaire.Choice.`) : r.push(`Choice "${e.value}" is defined for item "${t.name}" but has no rendered Questionnaire.Choice.`);
264
256
  }
265
257
  if (n) {
266
258
  for (let n of e.choices) o.has(n.value) || r.push(`Rendered choice "${n.value}" in item "${t.name}" is missing from Root.items and will not receive a shortcut.`);
@@ -271,10 +263,10 @@ function A(e, t, n) {
271
263
  for (let n of t) !n.disabled && !e.itemByName.has(n.name) && r.push(`Rendered item "${n.name}" is missing from Root.items and is excluded from the questionnaire collection.`);
272
264
  return r;
273
265
  }
274
- function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, invalid: i = !1, multiple: a = !1, name: s, onStatusChange: c, ref: l, required: u = !1 }) {
266
+ function j({ "aria-describedby": e, "aria-keyshortcuts": n, disabled: r = !1, invalid: i = !1, multiple: a = !1, name: s, onStatusChange: c, ref: l, required: u = !1 }) {
275
267
  let { activeItemName: d, domVersion: p, first: m, itemDefinitionByName: h, last: _, nativeValidation: v, registerItem: C, shortcuts: T } = f("Questionnaire.Item"), [E, ee] = o.useState(null), [D, k] = o.useState([]), [A, j] = o.useState(!1), [M, N] = o.useState([]), [P, F] = o.useState(!1), [I, L] = o.useState(0), [R, z] = o.useState([]), [te, B] = o.useState([]), V = o.useRef([]), ne = o.useRef(a), H = o.useRef(a);
276
268
  ne.current = a;
277
- let U = !n && d === s, W = o.useMemo(() => [...D].sort(w), [D, p]), G = o.useMemo(() => W.filter((e) => !e.disabled), [W]), K = G.some((e) => M.includes(e.id)), q = P ? "skipped" : K ? "answered" : "unanswered", J = q === "skipped" && !u, Y = n || J || !i && q === "answered", X = !n && !J && (i || A && !Y), re = G.some((e) => e.type === "input"), ie = o.useRef(q), ae = h?.get(s), Z = o.useMemo(() => h ? O(ae, T) : null, [
269
+ let U = !r && d === s, W = o.useMemo(() => [...D].sort(w), [D, p]), G = o.useMemo(() => W.filter((e) => !e.disabled), [W]), K = G.some((e) => M.includes(e.id)), q = P ? "skipped" : K ? "answered" : "unanswered", J = q === "skipped" && !u, Y = r || J || !i && q === "answered", X = !r && !J && (i || A && !Y), re = G.some((e) => e.type === "input"), ie = o.useRef(q), ae = h?.get(s), Z = o.useMemo(() => h ? O(ae, T) : null, [
278
270
  ae,
279
271
  h,
280
272
  T
@@ -301,11 +293,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
301
293
  }, [$]), le = o.useCallback((e, t) => (t && (V.current = [...V.current.filter((t) => t !== e), e], N((t) => ne.current ? t.includes(e) ? t : [...t, e] : t.length ? t : [e])), () => {
302
294
  V.current = V.current.filter((t) => t !== e), N((t) => t.filter((t) => t !== e));
303
295
  }), []), ue = o.useCallback((e, t) => {
304
- if (t) {
305
- V.current = V.current.includes(e) ? V.current : [...V.current, e];
306
- return;
307
- }
308
- V.current = V.current.filter((t) => t !== e);
296
+ t ? V.current = V.current.includes(e) ? V.current : [...V.current, e] : V.current = V.current.filter((t) => t !== e);
309
297
  }, []), de = o.useCallback((e) => (z((t) => t.includes(e) ? t : [...t, e]), () => {
310
298
  z((t) => t.filter((t) => t !== e));
311
299
  }), []), fe = o.useCallback((e) => (B((t) => t.includes(e) ? t : [...t, e]), () => {
@@ -314,7 +302,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
314
302
  if (j(!0), !Y) return !1;
315
303
  if (!v) return !0;
316
304
  let e = G.find((e) => y(e) && e.element.willValidate && !e.element.validity.valid);
317
- return e ? (e.element.focus(), e.element.reportValidity(), !1) : !0;
305
+ return !e || (e.element.focus(), e.element.reportValidity(), !1);
318
306
  }, [
319
307
  G,
320
308
  v,
@@ -331,7 +319,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
331
319
  }, [u]);
332
320
  o.useLayoutEffect(() => {
333
321
  let e = H.current;
334
- H.current = a, !(!e || a) && N((e) => {
322
+ H.current = a, e && !a && N((e) => {
335
323
  let t = G.find((t) => e.includes(t.id));
336
324
  return t ? [t.id] : [];
337
325
  });
@@ -359,7 +347,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
359
347
  disabled: e.ownDisabled,
360
348
  value: e.value
361
349
  }] : []),
362
- disabled: n,
350
+ disabled: r,
363
351
  element: E,
364
352
  focus: me,
365
353
  focusInvalid: he,
@@ -375,7 +363,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
375
363
  });
376
364
  }, [
377
365
  W,
378
- n,
366
+ r,
379
367
  E,
380
368
  me,
381
369
  he,
@@ -392,7 +380,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
392
380
  ]);
393
381
  let xe = o.useMemo(() => ({
394
382
  active: U,
395
- disabled: n,
383
+ disabled: r,
396
384
  hasInputAnswer: re,
397
385
  invalid: X,
398
386
  multiple: a,
@@ -413,7 +401,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
413
401
  syncControlledAnswerSelection: ce
414
402
  }), [
415
403
  U,
416
- n,
404
+ r,
417
405
  re,
418
406
  X,
419
407
  a,
@@ -433,13 +421,13 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
433
421
  q,
434
422
  ce
435
423
  ]), Se = o.useCallback((e) => {
436
- ee(e), r(l)?.(e);
424
+ ee(e), t(l)?.(e);
437
425
  }, [l]), Ce = [
438
426
  ...R,
439
427
  ...X ? te : [],
440
428
  e
441
429
  ].filter(Boolean).join(" ") || void 0, we = [
442
- t,
430
+ n,
443
431
  U ? "Meta+Enter Control+Enter" : void 0,
444
432
  U && G.length ? "ArrowUp ArrowDown" : void 0,
445
433
  U && !m ? "ArrowLeft" : void 0,
@@ -451,7 +439,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
451
439
  "aria-describedby": Ce,
452
440
  "aria-invalid": X || void 0,
453
441
  "aria-keyshortcuts": we,
454
- disabled: n,
442
+ disabled: r,
455
443
  hidden: !U,
456
444
  inert: !U,
457
445
  ref: Se,
@@ -459,7 +447,7 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
459
447
  },
460
448
  state: {
461
449
  active: U,
462
- disabled: n,
450
+ disabled: r,
463
451
  invalid: X,
464
452
  multiple: a,
465
453
  required: u,
@@ -467,8 +455,8 @@ function j({ "aria-describedby": e, "aria-keyshortcuts": t, disabled: n = !1, in
467
455
  }
468
456
  };
469
457
  }
470
- function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a, onReset: s, onSubmit: c, ref: l, shortcuts: u }) {
471
- let d = o.useMemo(() => ee(n), [n]), [f, p] = o.useState([]), [m, h] = o.useState(() => D(d, e)), [g, v] = o.useState(null), [b, w] = o.useState(0), T = o.useRef(null), E = t !== void 0, O = E ? t : m, j = o.useRef(O), M = i === !1, N = u ?? null, P = o.useRef(/* @__PURE__ */ new Set());
458
+ function M({ defaultItem: e, item: n, items: r, noValidate: i, onItemChange: a, onReset: s, onSubmit: c, ref: l, shortcuts: u }) {
459
+ let d = o.useMemo(() => ee(r), [r]), [f, p] = o.useState([]), [m, h] = o.useState(() => D(d, e)), [g, v] = o.useState(null), [b, w] = o.useState(0), T = o.useRef(null), E = n !== void 0, O = E ? n : m, j = o.useRef(O), M = i === !1, N = u ?? null, P = o.useRef(/* @__PURE__ */ new Set());
472
460
  o.useLayoutEffect(() => {
473
461
  if (process.env.NODE_ENV === "production") return;
474
462
  if (!d || !g) {
@@ -529,11 +517,7 @@ function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a,
529
517
  return;
530
518
  }
531
519
  let e = T.current, t = j.current !== O;
532
- if (j.current = O, !e || e.name !== O) {
533
- E && t && (T.current = null, z?.focus());
534
- return;
535
- }
536
- e.target === "invalid" ? z?.focusInvalid() : z?.focus(), T.current = null;
520
+ j.current = O, !e || e.name !== O ? E && t && (T.current = null, z?.focus()) : (e.target === "invalid" ? z?.focusInvalid() : z?.focus(), T.current = null);
537
521
  }, [
538
522
  z,
539
523
  O,
@@ -585,7 +569,7 @@ function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a,
585
569
  g,
586
570
  K
587
571
  ]), re = o.useCallback(() => {
588
- if (!(!z || z.required)) {
572
+ if (z && !z.required) {
589
573
  if (z.skip(), !G) {
590
574
  K(L[R + 1].name);
591
575
  return;
@@ -610,11 +594,7 @@ function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a,
610
594
  }
611
595
  function ae(e) {
612
596
  let t = ne.find((e) => !e.validate());
613
- if (t) {
614
- e.preventDefault(), K(t.name, "invalid"), t.name === O && (t.focusInvalid(), T.current = null);
615
- return;
616
- }
617
- c?.(e);
597
+ t ? (e.preventDefault(), K(t.name, "invalid"), t.name === O && (t.focusInvalid(), T.current = null)) : c?.(e);
618
598
  }
619
599
  function Z(e) {
620
600
  if (e.defaultPrevented || e.nativeEvent.isComposing || e.keyCode === 229 || !z || !(e.target instanceof Element)) return;
@@ -679,7 +659,7 @@ function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a,
679
659
  re,
680
660
  H
681
661
  ]), $ = o.useCallback((e) => {
682
- v(e), r(l)?.(e);
662
+ v(e), t(l)?.(e);
683
663
  }, [l]);
684
664
  return {
685
665
  context: oe,
@@ -693,20 +673,20 @@ function M({ defaultItem: e, item: t, items: n, noValidate: i, onItemChange: a,
693
673
  state: Q
694
674
  };
695
675
  }
696
- function N({ defaultItem: e, item: t, items: r, noValidate: a = !0, onItemChange: o, onReset: c, onSubmit: l, ref: d, shortcuts: f, ...p }) {
676
+ function N({ defaultItem: t, item: r, items: i, noValidate: a = !0, onItemChange: o, onReset: c, onSubmit: l, ref: d, shortcuts: f, ...p }) {
697
677
  let { context: m, rootProps: h, state: g } = M({
698
- defaultItem: e,
699
- item: t,
700
- items: r,
678
+ defaultItem: t,
679
+ item: r,
680
+ items: i,
701
681
  noValidate: a,
702
682
  onItemChange: o,
703
683
  onReset: c,
704
684
  onSubmit: l,
705
685
  ref: d,
706
686
  shortcuts: f
707
- }), _ = i({
687
+ }), _ = n({
708
688
  defaultTagName: "form",
709
- props: n({
689
+ props: e({
710
690
  ...h,
711
691
  noValidate: a
712
692
  }, p),
@@ -717,21 +697,21 @@ function N({ defaultItem: e, item: t, items: r, noValidate: a = !0, onItemChange
717
697
  children: _
718
698
  });
719
699
  }
720
- function P({ children: e, render: t, ...r }) {
700
+ function P({ children: t, render: r, ...i }) {
721
701
  let { current: a, first: o, last: s, total: c } = f("Questionnaire.Progress"), l = c ? `Question ${a} of ${c}` : void 0;
722
- return i({
702
+ return n({
723
703
  defaultTagName: "div",
724
- props: n({
704
+ props: e({
725
705
  "aria-label": "Questionnaire progress",
726
706
  "aria-live": "polite",
727
707
  "aria-valuemax": c || void 0,
728
708
  "aria-valuemin": c ? 1 : void 0,
729
709
  "aria-valuenow": c ? a : void 0,
730
710
  "aria-valuetext": l,
731
- children: e ?? l,
711
+ children: t ?? l,
732
712
  role: "progressbar"
733
- }, r),
734
- render: t,
713
+ }, i),
714
+ render: r,
735
715
  state: {
736
716
  current: a,
737
717
  first: o,
@@ -740,10 +720,10 @@ function P({ children: e, render: t, ...r }) {
740
720
  }
741
721
  });
742
722
  }
743
- function F({ "aria-describedby": e, "aria-keyshortcuts": t, children: r, disabled: a = !1, invalid: o = !1, multiple: c = !1, name: l, onStatusChange: u, ref: f, required: p = !1, ...m }) {
723
+ function F({ "aria-describedby": t, "aria-keyshortcuts": r, children: i, disabled: a = !1, invalid: o = !1, multiple: c = !1, name: l, onStatusChange: u, ref: f, required: p = !1, ...m }) {
744
724
  let { context: h, itemProps: g, state: _ } = j({
745
- "aria-describedby": e,
746
- "aria-keyshortcuts": t,
725
+ "aria-describedby": t,
726
+ "aria-keyshortcuts": r,
747
727
  disabled: a,
748
728
  invalid: o,
749
729
  multiple: c,
@@ -751,11 +731,11 @@ function F({ "aria-describedby": e, "aria-keyshortcuts": t, children: r, disable
751
731
  onStatusChange: u,
752
732
  ref: f,
753
733
  required: p
754
- }), v = i({
734
+ }), v = n({
755
735
  defaultTagName: "fieldset",
756
- props: n({
736
+ props: e({
757
737
  ...g,
758
- children: r
738
+ children: i
759
739
  }, m),
760
740
  state: _,
761
741
  stateAttributesMapping: { active: (e) => ({ "data-active": e ? "" : void 0 }) }
@@ -766,39 +746,39 @@ function F({ "aria-describedby": e, "aria-keyshortcuts": t, children: r, disable
766
746
  });
767
747
  }
768
748
  function I({ render: e, ...t }) {
769
- return m("Questionnaire.Title"), i({
749
+ return m("Questionnaire.Title"), n({
770
750
  defaultTagName: "legend",
771
751
  props: t,
772
752
  render: e
773
753
  });
774
754
  }
775
- function L({ id: e, render: t, ...r }) {
776
- let { registerDescription: a } = m("Questionnaire.Description"), s = o.useId(), c = e ?? s;
777
- return o.useLayoutEffect(() => a(c), [c, a]), i({
755
+ function L({ id: t, render: r, ...i }) {
756
+ let { registerDescription: a } = m("Questionnaire.Description"), s = o.useId(), c = t ?? s;
757
+ return o.useLayoutEffect(() => a(c), [c, a]), n({
778
758
  defaultTagName: "p",
779
- props: n({ id: c }, r),
780
- render: t
759
+ props: e({ id: c }, i),
760
+ render: r
781
761
  });
782
762
  }
783
763
  function R({ render: e, ...t }) {
784
- let { shortcuts: n } = m("Questionnaire.Choices");
785
- return i({
764
+ let { shortcuts: r } = m("Questionnaire.Choices");
765
+ return n({
786
766
  defaultTagName: "div",
787
767
  props: t,
788
768
  render: e,
789
- state: { shortcuts: n }
769
+ state: { shortcuts: r }
790
770
  });
791
771
  }
792
- function z({ checked: e, children: t, defaultChecked: r = !1, disabled: a = !1, onChange: o, render: c, value: u, ...d }) {
772
+ function z({ checked: t, children: r, defaultChecked: i = !1, disabled: a = !1, onChange: o, render: c, value: u, ...d }) {
793
773
  let { inputProps: f, state: p } = T({
794
- checked: e,
795
- defaultChecked: r,
774
+ checked: t,
775
+ defaultChecked: i,
796
776
  disabled: a,
797
777
  onChange: o,
798
778
  value: u
799
- }), m = i({
779
+ }), m = n({
800
780
  defaultTagName: "label",
801
- props: n({ children: t }, d),
781
+ props: e({ children: r }, d),
802
782
  render: c,
803
783
  state: p,
804
784
  stateAttributesMapping: { checked: (e) => ({
@@ -814,12 +794,12 @@ function z({ checked: e, children: t, defaultChecked: r = !1, disabled: a = !1,
814
794
  children: m
815
795
  });
816
796
  }
817
- function te({ render: e, ...t }) {
818
- let { inputProps: r, state: a } = p("Questionnaire.ChoiceInput");
819
- return i({
797
+ function te({ render: t, ...r }) {
798
+ let { inputProps: i, state: a } = p("Questionnaire.ChoiceInput");
799
+ return n({
820
800
  defaultTagName: "input",
821
- props: n(r, t),
822
- render: e,
801
+ props: e(i, r),
802
+ render: t,
823
803
  state: a,
824
804
  stateAttributesMapping: { checked: (e) => ({
825
805
  "data-checked": e ? "" : void 0,
@@ -828,37 +808,37 @@ function te({ render: e, ...t }) {
828
808
  });
829
809
  }
830
810
  function B({ render: e, ...t }) {
831
- return p("Questionnaire.ChoiceLabel"), i({
811
+ return p("Questionnaire.ChoiceLabel"), n({
832
812
  defaultTagName: "span",
833
813
  props: t,
834
814
  render: e
835
815
  });
836
816
  }
837
- function V({ children: e, render: t, ...r }) {
817
+ function V({ children: t, render: r, ...i }) {
838
818
  let { state: a } = p("Questionnaire.ChoiceShortcut"), o = { shortcut: a.shortcut };
839
- return i({
819
+ return n({
840
820
  defaultTagName: "span",
841
- props: n({
821
+ props: e({
842
822
  "aria-hidden": !0,
843
- children: e ?? a.shortcut,
823
+ children: t ?? a.shortcut,
844
824
  hidden: a.shortcut === null
845
- }, r),
846
- render: t,
825
+ }, i),
826
+ render: r,
847
827
  state: o
848
828
  });
849
829
  }
850
- function ne({ defaultValue: e, disabled: t = !1, onChange: r, ref: a, render: o, type: s = "text", value: c, ...l }) {
830
+ function ne({ defaultValue: t, disabled: r = !1, onChange: i, ref: a, render: o, type: s = "text", value: c, ...l }) {
851
831
  let { inputProps: u, state: d } = E({
852
- defaultValue: e,
853
- disabled: t,
854
- onChange: r,
832
+ defaultValue: t,
833
+ disabled: r,
834
+ onChange: i,
855
835
  ref: a,
856
836
  type: s,
857
837
  value: c
858
838
  });
859
- return i({
839
+ return n({
860
840
  defaultTagName: "input",
861
- props: n(u, l),
841
+ props: e(u, l),
862
842
  render: o,
863
843
  state: d,
864
844
  stateAttributesMapping: { filled: (e) => ({
@@ -867,17 +847,17 @@ function ne({ defaultValue: e, disabled: t = !1, onChange: r, ref: a, render: o,
867
847
  }) }
868
848
  });
869
849
  }
870
- function H({ children: e, id: t, render: r, ...a }) {
871
- let { invalid: s, registerError: c, required: l } = m("Questionnaire.Error"), u = o.useId(), d = t ?? u;
872
- return o.useLayoutEffect(() => c(d), [d, c]), i({
850
+ function H({ children: t, id: r, render: i, ...a }) {
851
+ let { invalid: s, registerError: c, required: l } = m("Questionnaire.Error"), u = o.useId(), d = r ?? u;
852
+ return o.useLayoutEffect(() => c(d), [d, c]), n({
873
853
  defaultTagName: "p",
874
- props: n({
875
- children: e ?? (l ? "Choose an answer to continue." : "Choose an answer or skip this question."),
854
+ props: e({
855
+ children: t ?? (l ? "Choose an answer to continue." : "Choose an answer or skip this question."),
876
856
  hidden: !s,
877
857
  id: d,
878
858
  role: s ? "alert" : void 0
879
859
  }, a),
880
- render: r,
860
+ render: i,
881
861
  state: { invalid: s }
882
862
  });
883
863
  }
@@ -947,23 +927,23 @@ function K({ children: e, disabled: t = !1, render: n, tabIndex: r, type: i = "s
947
927
  visible: s
948
928
  });
949
929
  }
950
- function q({ children: e, disabled: t, onClick: r, props: a, render: o, shortcut: s, status: c, tabIndex: l, type: u, visible: d }) {
951
- let f = d && !t ? s ?? null : null, p = {
952
- disabled: t,
930
+ function q({ children: t, disabled: r, onClick: i, props: a, render: o, shortcut: s, status: c, tabIndex: l, type: u, visible: d }) {
931
+ let f = d && !r ? s ?? null : null, p = {
932
+ disabled: r,
953
933
  shortcut: f,
954
934
  status: c,
955
935
  visible: d
956
936
  };
957
- return i({
937
+ return n({
958
938
  defaultTagName: "button",
959
- props: n({
939
+ props: e({
960
940
  "aria-hidden": !d || void 0,
961
941
  "aria-keyshortcuts": f ?? void 0,
962
- children: e,
963
- disabled: t,
942
+ children: t,
943
+ disabled: r,
964
944
  hidden: !d,
965
945
  inert: !d,
966
- onClick: r,
946
+ onClick: i,
967
947
  tabIndex: d ? l : -1,
968
948
  type: u
969
949
  }, a),
@@ -993,55 +973,54 @@ var J = {
993
973
  Next: G,
994
974
  Submit: K
995
975
  };
996
- //#endregion
997
- //#region src/questionnaire.tsx
998
- function Y({ className: t, ...n }) {
976
+ // src/questionnaire.tsx
977
+ function Y({ className: e, ...t }) {
999
978
  return /* @__PURE__ */ s(J.Root, {
1000
979
  "data-slot": "questionnaire",
1001
- className: e("flex w-full min-w-0 flex-col gap-4", t),
1002
- ...n
980
+ className: r("flex w-full min-w-0 flex-col gap-4", e),
981
+ ...t
1003
982
  });
1004
983
  }
1005
- function X({ className: t, ...n }) {
984
+ function X({ className: e, ...t }) {
1006
985
  return /* @__PURE__ */ s(J.Progress, {
1007
986
  "data-slot": "questionnaire-progress",
1008
- className: e("text-muted-foreground min-h-[1lh] w-fit min-w-[14ch] text-xs font-medium tabular-nums", t),
1009
- ...n
987
+ className: r("text-muted-foreground min-h-[1lh] w-fit min-w-[14ch] text-xs font-medium tabular-nums", e),
988
+ ...t
1010
989
  });
1011
990
  }
1012
- function re({ className: t, ...n }) {
991
+ function re({ className: e, ...t }) {
1013
992
  return /* @__PURE__ */ s(J.Item, {
1014
993
  "data-slot": "questionnaire-item",
1015
- className: e("flex min-w-0 flex-col gap-4 border-0 p-0 outline-none", t),
1016
- ...n
994
+ className: r("flex min-w-0 flex-col gap-4 border-0 p-0 outline-none", e),
995
+ ...t
1017
996
  });
1018
997
  }
1019
- function ie({ className: t, ...n }) {
998
+ function ie({ className: e, ...t }) {
1020
999
  return /* @__PURE__ */ s(J.Title, {
1021
1000
  "data-slot": "questionnaire-title",
1022
- className: e("text-base leading-snug font-medium text-pretty [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4", t),
1023
- ...n
1001
+ className: r("text-base leading-snug font-medium text-pretty [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4", e),
1002
+ ...t
1024
1003
  });
1025
1004
  }
1026
- function ae({ className: t, ...n }) {
1005
+ function ae({ className: e, ...t }) {
1027
1006
  return /* @__PURE__ */ s(J.Description, {
1028
1007
  "data-slot": "questionnaire-description",
1029
- className: e("text-muted-foreground text-sm text-pretty", t),
1030
- ...n
1008
+ className: r("text-muted-foreground text-sm text-pretty", e),
1009
+ ...t
1031
1010
  });
1032
1011
  }
1033
- function Z({ className: t, ...n }) {
1012
+ function Z({ className: e, ...t }) {
1034
1013
  return /* @__PURE__ */ s(J.Choices, {
1035
1014
  "data-slot": "questionnaire-choices",
1036
- className: e("group/questionnaire-choices grid min-w-0 gap-2", t),
1037
- ...n
1015
+ className: r("group/questionnaire-choices grid min-w-0 gap-2", e),
1016
+ ...t
1038
1017
  });
1039
1018
  }
1040
- function Q({ children: t, className: n, ...r }) {
1019
+ function Q({ children: e, className: t, ...n }) {
1041
1020
  return /* @__PURE__ */ c(J.Choice, {
1042
1021
  "data-slot": "questionnaire-choice",
1043
- className: e("group/questionnaire-choice border-input hover:bg-muted/50 has-[>input:focus-visible]:border-ring has-[>input:focus-visible]:ring-ring/50 data-invalid:border-destructive dark:bg-input/20 data-checked:border-primary/40 data-checked:bg-muted dark:data-checked:bg-muted relative flex min-h-11 cursor-pointer items-start gap-2.5 rounded-lg border bg-transparent px-3 py-2.5 text-start text-sm transition-colors outline-none select-none has-[>input:focus-visible]:ring-3", "data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", n),
1044
- ...r,
1022
+ className: r("group/questionnaire-choice border-input hover:bg-muted/50 has-[>input:focus-visible]:border-ring has-[>input:focus-visible]:ring-ring/50 data-invalid:border-destructive dark:bg-input/20 data-checked:border-primary/40 data-checked:bg-muted dark:data-checked:bg-muted relative flex min-h-11 cursor-pointer items-start gap-2.5 rounded-lg border bg-transparent px-3 py-2.5 text-start text-sm transition-colors outline-none select-none has-[>input:focus-visible]:ring-3", "data-disabled:pointer-events-none data-disabled:cursor-not-allowed data-disabled:opacity-50", t),
1023
+ ...n,
1045
1024
  children: [
1046
1025
  /* @__PURE__ */ s(J.ChoiceInput, {
1047
1026
  "data-slot": "questionnaire-choice-input",
@@ -1062,7 +1041,7 @@ function Q({ children: t, className: n, ...r }) {
1062
1041
  /* @__PURE__ */ s(J.ChoiceLabel, {
1063
1042
  "data-slot": "questionnaire-choice-label",
1064
1043
  className: "flex min-w-0 flex-1 flex-col gap-0.5 leading-snug",
1065
- children: t
1044
+ children: e
1066
1045
  }),
1067
1046
  /* @__PURE__ */ s(J.ChoiceShortcut, {
1068
1047
  "data-slot": "questionnaire-choice-shortcut",
@@ -1071,89 +1050,88 @@ function Q({ children: t, className: n, ...r }) {
1071
1050
  ]
1072
1051
  });
1073
1052
  }
1074
- function oe({ className: t, ...n }) {
1053
+ function oe({ className: e, ...t }) {
1075
1054
  return /* @__PURE__ */ s("span", {
1076
1055
  "data-slot": "questionnaire-choice-description",
1077
- className: e("text-muted-foreground", t),
1078
- ...n
1056
+ className: r("text-muted-foreground", e),
1057
+ ...t
1079
1058
  });
1080
1059
  }
1081
- function $({ className: t, ...n }) {
1060
+ function $({ className: e, ...t }) {
1082
1061
  return /* @__PURE__ */ s("div", {
1083
1062
  "data-slot": "questionnaire-input-wrapper",
1084
1063
  className: "group/questionnaire-input relative w-full min-w-0",
1085
1064
  children: /* @__PURE__ */ s(J.Input, {
1086
1065
  "data-slot": "questionnaire-input",
1087
- className: e("border-input focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 h-8 min-h-11 w-full min-w-0 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-[color,box-shadow,background-color] outline-none focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 sm:min-h-0 md:text-sm", "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground", t),
1088
- ...n
1066
+ className: r("border-input focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 h-8 min-h-11 w-full min-w-0 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-[color,box-shadow,background-color] outline-none focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 sm:min-h-0 md:text-sm", "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground", e),
1067
+ ...t
1089
1068
  })
1090
1069
  });
1091
1070
  }
1092
- function se({ className: t, ...n }) {
1071
+ function se({ className: e, ...t }) {
1093
1072
  return /* @__PURE__ */ s(J.Error, {
1094
1073
  "data-slot": "questionnaire-error",
1095
- className: e("text-destructive mt-2 text-sm", t),
1096
- ...n
1074
+ className: r("text-destructive mt-2 text-sm", e),
1075
+ ...t
1097
1076
  });
1098
1077
  }
1099
- function ce({ className: t, ...n }) {
1078
+ function ce({ className: e, ...t }) {
1100
1079
  return /* @__PURE__ */ s("div", {
1101
1080
  "data-slot": "questionnaire-actions",
1102
- className: e("grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2 sm:min-h-8", t),
1103
- ...n
1081
+ className: r("grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2 sm:min-h-8", e),
1082
+ ...t
1104
1083
  });
1105
1084
  }
1106
- function le({ children: n, className: r, size: i = "default", variant: a = "outline", ...o }) {
1085
+ function le({ children: e, className: t, size: n = "default", variant: a = "outline", ...o }) {
1107
1086
  return /* @__PURE__ */ s(J.Previous, {
1108
1087
  "data-slot": "questionnaire-previous",
1109
- "data-size": i,
1088
+ "data-size": n,
1110
1089
  "data-variant": a,
1111
- className: e(t({
1112
- size: i,
1090
+ className: r(i({
1091
+ size: n,
1113
1092
  variant: a
1114
- }), "col-start-1 row-start-1 min-h-11 justify-self-start sm:min-h-0", r),
1093
+ }), "col-start-1 row-start-1 min-h-11 justify-self-start sm:min-h-0", t),
1115
1094
  ...o,
1116
- children: n ?? "Previous"
1095
+ children: e ?? "Previous"
1117
1096
  });
1118
1097
  }
1119
- function ue({ children: n, className: r, size: i = "default", variant: a = "outline", ...o }) {
1098
+ function ue({ children: e, className: t, size: n = "default", variant: a = "outline", ...o }) {
1120
1099
  return /* @__PURE__ */ s(J.Skip, {
1121
1100
  "data-slot": "questionnaire-skip",
1122
- "data-size": i,
1101
+ "data-size": n,
1123
1102
  "data-variant": a,
1124
- className: e(t({
1125
- size: i,
1103
+ className: r(i({
1104
+ size: n,
1126
1105
  variant: a
1127
- }), "col-start-2 row-start-1 min-h-11 justify-self-end sm:min-h-0", r),
1106
+ }), "col-start-2 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
1128
1107
  ...o,
1129
- children: n ?? "Skip"
1108
+ children: e ?? "Skip"
1130
1109
  });
1131
1110
  }
1132
- function de({ children: n, className: r, size: i = "default", variant: a = "default", ...o }) {
1111
+ function de({ children: e, className: t, size: n = "default", variant: a = "default", ...o }) {
1133
1112
  return /* @__PURE__ */ s(J.Next, {
1134
1113
  "data-slot": "questionnaire-next",
1135
- "data-size": i,
1114
+ "data-size": n,
1136
1115
  "data-variant": a,
1137
- className: e(t({
1138
- size: i,
1116
+ className: r(i({
1117
+ size: n,
1139
1118
  variant: a
1140
- }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", r),
1119
+ }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
1141
1120
  ...o,
1142
- children: n ?? "Next"
1121
+ children: e ?? "Next"
1143
1122
  });
1144
1123
  }
1145
- function fe({ children: n, className: r, size: i = "default", variant: a = "default", ...o }) {
1124
+ function fe({ children: e, className: t, size: n = "default", variant: a = "default", ...o }) {
1146
1125
  return /* @__PURE__ */ s(J.Submit, {
1147
1126
  "data-slot": "questionnaire-submit",
1148
- "data-size": i,
1127
+ "data-size": n,
1149
1128
  "data-variant": a,
1150
- className: e(t({
1151
- size: i,
1129
+ className: r(i({
1130
+ size: n,
1152
1131
  variant: a
1153
- }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", r),
1132
+ }), "col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0", t),
1154
1133
  ...o,
1155
- children: n ?? "Submit"
1134
+ children: e ?? "Submit"
1156
1135
  });
1157
1136
  }
1158
- //#endregion
1159
1137
  export { Z as a, $ as c, le as d, X as f, ie as h, oe as i, re as l, fe as m, ce as n, ae as o, ue as p, Q as r, se as s, Y as t, de as u };