@gv-tech/design-system 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 (387) hide show
  1. package/README.md +1 -1
  2. package/dist/accordion.cjs +1 -1
  3. package/dist/accordion.cjs.map +1 -1
  4. package/dist/accordion.mjs +12 -13
  5. package/dist/accordion.mjs.map +1 -1
  6. package/dist/alert-dialog.cjs +1 -1
  7. package/dist/alert-dialog.cjs.map +1 -1
  8. package/dist/alert-dialog.mjs +16 -17
  9. package/dist/alert-dialog.mjs.map +1 -1
  10. package/dist/alert.cjs +1 -1
  11. package/dist/alert.cjs.map +1 -1
  12. package/dist/alert.mjs +4 -5
  13. package/dist/alert.mjs.map +1 -1
  14. package/dist/aspect-ratio.cjs +1 -1
  15. package/dist/aspect-ratio.cjs.map +1 -1
  16. package/dist/aspect-ratio.mjs +2 -3
  17. package/dist/aspect-ratio.mjs.map +1 -1
  18. package/dist/attachment.cjs +1 -1
  19. package/dist/attachment.cjs.map +1 -1
  20. package/dist/attachment.mjs +6 -6
  21. package/dist/attachment.mjs.map +1 -1
  22. package/dist/avatar.cjs +1 -1
  23. package/dist/avatar.cjs.map +1 -1
  24. package/dist/avatar.mjs +3 -4
  25. package/dist/avatar.mjs.map +1 -1
  26. package/dist/badge.cjs +1 -1
  27. package/dist/badge.cjs.map +1 -1
  28. package/dist/badge.mjs +6 -6
  29. package/dist/badge.mjs.map +1 -1
  30. package/dist/breadcrumb.cjs +1 -1
  31. package/dist/breadcrumb.cjs.map +1 -1
  32. package/dist/breadcrumb.mjs +4 -6
  33. package/dist/breadcrumb.mjs.map +1 -1
  34. package/dist/bubble.cjs +1 -1
  35. package/dist/bubble.cjs.map +1 -1
  36. package/dist/bubble.mjs +7 -7
  37. package/dist/bubble.mjs.map +1 -1
  38. package/dist/button-group.cjs +1 -1
  39. package/dist/button-group.cjs.map +1 -1
  40. package/dist/button-group.mjs +5 -6
  41. package/dist/button-group.mjs.map +1 -1
  42. package/dist/button.cjs +1 -1
  43. package/dist/button.cjs.map +1 -1
  44. package/dist/button.mjs +6 -6
  45. package/dist/button.mjs.map +1 -1
  46. package/dist/calendar.cjs +1 -1
  47. package/dist/calendar.cjs.map +1 -1
  48. package/dist/calendar.mjs +9 -10
  49. package/dist/calendar.mjs.map +1 -1
  50. package/dist/card.cjs +1 -1
  51. package/dist/card.cjs.map +1 -1
  52. package/dist/card.mjs +2 -3
  53. package/dist/card.mjs.map +1 -1
  54. package/dist/carousel.cjs +1 -1
  55. package/dist/carousel.cjs.map +1 -1
  56. package/dist/carousel.mjs +5 -8
  57. package/dist/carousel.mjs.map +1 -1
  58. package/dist/chart.cjs +2 -2
  59. package/dist/chart.cjs.map +1 -1
  60. package/dist/chart.mjs +14 -15
  61. package/dist/chart.mjs.map +1 -1
  62. package/dist/checkbox.cjs +1 -1
  63. package/dist/checkbox.cjs.map +1 -1
  64. package/dist/checkbox.mjs +2 -3
  65. package/dist/checkbox.mjs.map +1 -1
  66. package/dist/collapsible.cjs +1 -1
  67. package/dist/collapsible.cjs.map +1 -1
  68. package/dist/collapsible.mjs +5 -6
  69. package/dist/collapsible.mjs.map +1 -1
  70. package/dist/combobox.cjs +1 -1
  71. package/dist/combobox.cjs.map +1 -1
  72. package/dist/combobox.mjs +2 -3
  73. package/dist/combobox.mjs.map +1 -1
  74. package/dist/command.cjs +1 -1
  75. package/dist/command.cjs.map +1 -1
  76. package/dist/command.mjs +2 -3
  77. package/dist/command.mjs.map +1 -1
  78. package/dist/context-menu.cjs +1 -1
  79. package/dist/context-menu.cjs.map +1 -1
  80. package/dist/context-menu.mjs +24 -25
  81. package/dist/context-menu.mjs.map +1 -1
  82. package/dist/design-system.css +2 -2
  83. package/dist/dialog.cjs +1 -1
  84. package/dist/dialog.cjs.map +1 -1
  85. package/dist/dialog.mjs +2 -3
  86. package/dist/dialog.mjs.map +1 -1
  87. package/dist/direction.cjs +1 -1
  88. package/dist/direction.cjs.map +1 -1
  89. package/dist/direction.mjs +2 -3
  90. package/dist/direction.mjs.map +1 -1
  91. package/dist/drawer.cjs +1 -1
  92. package/dist/drawer.cjs.map +1 -1
  93. package/dist/drawer.mjs +2 -3
  94. package/dist/drawer.mjs.map +1 -1
  95. package/dist/dropdown-menu.cjs +1 -1
  96. package/dist/dropdown-menu.cjs.map +1 -1
  97. package/dist/dropdown-menu.mjs +24 -25
  98. package/dist/dropdown-menu.mjs.map +1 -1
  99. package/dist/empty.cjs +1 -1
  100. package/dist/empty.cjs.map +1 -1
  101. package/dist/empty.mjs +3 -4
  102. package/dist/empty.mjs.map +1 -1
  103. package/dist/field.cjs +1 -1
  104. package/dist/field.cjs.map +1 -1
  105. package/dist/field.mjs +4 -6
  106. package/dist/field.mjs.map +1 -1
  107. package/dist/form.cjs +1 -1
  108. package/dist/form.cjs.map +1 -1
  109. package/dist/form.mjs +11 -12
  110. package/dist/form.mjs.map +1 -1
  111. package/dist/hover-card.cjs +1 -1
  112. package/dist/hover-card.cjs.map +1 -1
  113. package/dist/hover-card.mjs +7 -8
  114. package/dist/hover-card.mjs.map +1 -1
  115. package/dist/index.cjs +2 -1
  116. package/dist/index.cjs.map +1 -0
  117. package/dist/index.mjs +260 -74
  118. package/dist/index.mjs.map +1 -0
  119. package/dist/input-group.cjs +1 -1
  120. package/dist/input-group.cjs.map +1 -1
  121. package/dist/input-group.mjs +5 -11
  122. package/dist/input-group.mjs.map +1 -1
  123. package/dist/input-otp.cjs +1 -1
  124. package/dist/input-otp.cjs.map +1 -1
  125. package/dist/input-otp.mjs +3 -4
  126. package/dist/input-otp.mjs.map +1 -1
  127. package/dist/input.cjs +1 -1
  128. package/dist/input.cjs.map +1 -1
  129. package/dist/input.mjs +2 -3
  130. package/dist/input.mjs.map +1 -1
  131. package/dist/item.cjs +1 -1
  132. package/dist/item.cjs.map +1 -1
  133. package/dist/item.mjs +7 -8
  134. package/dist/item.mjs.map +1 -1
  135. package/dist/kbd.cjs +1 -1
  136. package/dist/kbd.cjs.map +1 -1
  137. package/dist/kbd.mjs +2 -3
  138. package/dist/kbd.mjs.map +1 -1
  139. package/dist/label.cjs +1 -1
  140. package/dist/label.cjs.map +1 -1
  141. package/dist/label.mjs +2 -3
  142. package/dist/label.mjs.map +1 -1
  143. package/dist/marker.cjs +1 -1
  144. package/dist/marker.cjs.map +1 -1
  145. package/dist/marker.mjs +7 -7
  146. package/dist/marker.mjs.map +1 -1
  147. package/dist/menubar.cjs +1 -1
  148. package/dist/menubar.cjs.map +1 -1
  149. package/dist/menubar.mjs +21 -22
  150. package/dist/menubar.mjs.map +1 -1
  151. package/dist/message-scroller.cjs +1 -1
  152. package/dist/message-scroller.cjs.map +1 -1
  153. package/dist/message-scroller.mjs +2 -3
  154. package/dist/message-scroller.mjs.map +1 -1
  155. package/dist/message.cjs +1 -1
  156. package/dist/message.cjs.map +1 -1
  157. package/dist/message.mjs +2 -3
  158. package/dist/message.mjs.map +1 -1
  159. package/dist/native-select.cjs +1 -1
  160. package/dist/native-select.cjs.map +1 -1
  161. package/dist/native-select.mjs +2 -3
  162. package/dist/native-select.mjs.map +1 -1
  163. package/dist/navigation-menu.cjs +1 -1
  164. package/dist/navigation-menu.cjs.map +1 -1
  165. package/dist/navigation-menu.mjs +9 -10
  166. package/dist/navigation-menu.mjs.map +1 -1
  167. package/dist/packages/design-tokens/src/index.d.ts +75 -69
  168. package/dist/packages/design-tokens/src/palette.d.ts +23 -17
  169. package/dist/packages/design-tokens/src/preset.d.ts +6 -0
  170. package/dist/packages/design-tokens/src/theme.d.ts +52 -52
  171. package/dist/packages/ui-core/src/contracts/scroll-to-top.d.ts +1 -2
  172. package/dist/packages/ui-core/src/contracts/table-of-contents.d.ts +5 -18
  173. package/dist/packages/ui-web/src/__contracts.d.ts +0 -1
  174. package/dist/packages/ui-web/src/accordion.d.ts +1 -1
  175. package/dist/packages/ui-web/src/alert-dialog.d.ts +1 -1
  176. package/dist/packages/ui-web/src/alert.d.ts +1 -1
  177. package/dist/packages/ui-web/src/aspect-ratio.d.ts +2 -2
  178. package/dist/packages/ui-web/src/attachment.d.ts +1 -1
  179. package/dist/packages/ui-web/src/avatar.d.ts +1 -1
  180. package/dist/packages/ui-web/src/badge.d.ts +1 -1
  181. package/dist/packages/ui-web/src/bubble.d.ts +1 -1
  182. package/dist/packages/ui-web/src/button-group.d.ts +3 -3
  183. package/dist/packages/ui-web/src/button.d.ts +1 -1
  184. package/dist/packages/ui-web/src/calendar.d.ts +1 -1
  185. package/dist/packages/ui-web/src/carousel.d.ts +3 -3
  186. package/dist/packages/ui-web/src/checkbox.d.ts +1 -1
  187. package/dist/packages/ui-web/src/collapsible.d.ts +4 -4
  188. package/dist/packages/ui-web/src/command.d.ts +1 -1
  189. package/dist/packages/ui-web/src/context-menu.d.ts +1 -1
  190. package/dist/packages/ui-web/src/dialog.d.ts +1 -1
  191. package/dist/packages/ui-web/src/direction.d.ts +1 -1
  192. package/dist/packages/ui-web/src/drawer.d.ts +1 -1
  193. package/dist/packages/ui-web/src/dropdown-menu.d.ts +1 -1
  194. package/dist/packages/ui-web/src/empty.d.ts +7 -7
  195. package/dist/packages/ui-web/src/field.d.ts +11 -11
  196. package/dist/packages/ui-web/src/form.d.ts +3 -3
  197. package/dist/packages/ui-web/src/hooks/use-theme.d.ts +52 -52
  198. package/dist/packages/ui-web/src/hover-card.d.ts +1 -1
  199. package/dist/packages/ui-web/src/input-group.d.ts +3 -3
  200. package/dist/packages/ui-web/src/input-otp.d.ts +1 -1
  201. package/dist/packages/ui-web/src/item.d.ts +2 -2
  202. package/dist/packages/ui-web/src/kbd.d.ts +2 -2
  203. package/dist/packages/ui-web/src/label.d.ts +1 -1
  204. package/dist/packages/ui-web/src/marker.d.ts +1 -1
  205. package/dist/packages/ui-web/src/menubar.d.ts +1 -1
  206. package/dist/packages/ui-web/src/message-scroller.d.ts +1 -1
  207. package/dist/packages/ui-web/src/navigation-menu.d.ts +1 -1
  208. package/dist/packages/ui-web/src/pagination.d.ts +2 -2
  209. package/dist/packages/ui-web/src/popover.d.ts +1 -1
  210. package/dist/packages/ui-web/src/progress.d.ts +1 -1
  211. package/dist/packages/ui-web/src/questionnaire.d.ts +1 -1
  212. package/dist/packages/ui-web/src/resizable.d.ts +3 -3
  213. package/dist/packages/ui-web/src/scroll-area.d.ts +1 -1
  214. package/dist/packages/ui-web/src/select.d.ts +1 -1
  215. package/dist/packages/ui-web/src/separator.d.ts +1 -1
  216. package/dist/packages/ui-web/src/sheet.d.ts +1 -1
  217. package/dist/packages/ui-web/src/sidebar.d.ts +1 -1
  218. package/dist/packages/ui-web/src/skeleton.d.ts +1 -1
  219. package/dist/packages/ui-web/src/slider.d.ts +1 -1
  220. package/dist/packages/ui-web/src/sonner.d.ts +1 -1
  221. package/dist/packages/ui-web/src/spinner.d.ts +2 -1
  222. package/dist/packages/ui-web/src/switch.d.ts +1 -1
  223. package/dist/packages/ui-web/src/table-of-contents.d.ts +5 -10
  224. package/dist/packages/ui-web/src/tabs.d.ts +1 -1
  225. package/dist/packages/ui-web/src/text.d.ts +1 -1
  226. package/dist/packages/ui-web/src/theme-provider.d.ts +1 -1
  227. package/dist/packages/ui-web/src/theme-toggle.d.ts +1 -1
  228. package/dist/packages/ui-web/src/toast.d.ts +1 -1
  229. package/dist/packages/ui-web/src/toaster.d.ts +1 -1
  230. package/dist/packages/ui-web/src/toggle-group.d.ts +1 -1
  231. package/dist/packages/ui-web/src/toggle.d.ts +1 -1
  232. package/dist/packages/ui-web/src/tooltip.d.ts +1 -1
  233. package/dist/pagination.cjs +1 -1
  234. package/dist/pagination.cjs.map +1 -1
  235. package/dist/pagination.mjs +5 -5
  236. package/dist/pagination.mjs.map +1 -1
  237. package/dist/popover.cjs +1 -1
  238. package/dist/popover.cjs.map +1 -1
  239. package/dist/popover.mjs +8 -9
  240. package/dist/popover.mjs.map +1 -1
  241. package/dist/progress.cjs +1 -1
  242. package/dist/progress.cjs.map +1 -1
  243. package/dist/progress.mjs +4 -5
  244. package/dist/progress.mjs.map +1 -1
  245. package/dist/questionnaire.cjs +1 -1
  246. package/dist/questionnaire.cjs.map +1 -1
  247. package/dist/questionnaire.mjs +2 -3
  248. package/dist/questionnaire.mjs.map +1 -1
  249. package/dist/radio-group.cjs +1 -1
  250. package/dist/radio-group.cjs.map +1 -1
  251. package/dist/radio-group.mjs +2 -3
  252. package/dist/radio-group.mjs.map +1 -1
  253. package/dist/resizable.cjs +1 -1
  254. package/dist/resizable.cjs.map +1 -1
  255. package/dist/resizable.mjs +2 -3
  256. package/dist/resizable.mjs.map +1 -1
  257. package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
  258. package/dist/scroll-area.cjs +1 -1
  259. package/dist/scroll-area.cjs.map +1 -1
  260. package/dist/scroll-area.mjs +4 -5
  261. package/dist/scroll-area.mjs.map +1 -1
  262. package/dist/scroll-to-top.cjs +1 -1
  263. package/dist/scroll-to-top.cjs.map +1 -1
  264. package/dist/scroll-to-top.mjs +14 -17
  265. package/dist/scroll-to-top.mjs.map +1 -1
  266. package/dist/search.cjs +1 -1
  267. package/dist/search.cjs.map +1 -1
  268. package/dist/search.mjs +14 -15
  269. package/dist/search.mjs.map +1 -1
  270. package/dist/select.cjs +1 -1
  271. package/dist/select.cjs.map +1 -1
  272. package/dist/select.mjs +2 -3
  273. package/dist/select.mjs.map +1 -1
  274. package/dist/separator.cjs +1 -1
  275. package/dist/separator.cjs.map +1 -1
  276. package/dist/separator.mjs +2 -3
  277. package/dist/separator.mjs.map +1 -1
  278. package/dist/sheet.cjs +1 -1
  279. package/dist/sheet.cjs.map +1 -1
  280. package/dist/sheet.mjs +2 -3
  281. package/dist/sheet.mjs.map +1 -1
  282. package/dist/{sidebar-C5ukZKYH.mjs → sidebar-BY-0Gann.mjs} +17 -15
  283. package/dist/sidebar-BY-0Gann.mjs.map +1 -0
  284. package/dist/sidebar-BwaRpzdR.js +2 -0
  285. package/dist/sidebar-BwaRpzdR.js.map +1 -0
  286. package/dist/sidebar.cjs +1 -1
  287. package/dist/sidebar.mjs +1 -2
  288. package/dist/skeleton.cjs +1 -1
  289. package/dist/skeleton.cjs.map +1 -1
  290. package/dist/skeleton.mjs +2 -3
  291. package/dist/skeleton.mjs.map +1 -1
  292. package/dist/slider.cjs +1 -1
  293. package/dist/slider.cjs.map +1 -1
  294. package/dist/slider.mjs +2 -3
  295. package/dist/slider.mjs.map +1 -1
  296. package/dist/sonner.cjs +1 -1
  297. package/dist/sonner.cjs.map +1 -1
  298. package/dist/sonner.mjs +2 -3
  299. package/dist/sonner.mjs.map +1 -1
  300. package/dist/spinner.cjs +1 -1
  301. package/dist/spinner.cjs.map +1 -1
  302. package/dist/spinner.mjs +10 -7
  303. package/dist/spinner.mjs.map +1 -1
  304. package/dist/support-fab.cjs +1 -1
  305. package/dist/support-fab.cjs.map +1 -1
  306. package/dist/support-fab.mjs +22 -23
  307. package/dist/support-fab.mjs.map +1 -1
  308. package/dist/switch.cjs +1 -1
  309. package/dist/switch.cjs.map +1 -1
  310. package/dist/switch.mjs +2 -3
  311. package/dist/switch.mjs.map +1 -1
  312. package/dist/table-of-contents.cjs +1 -1
  313. package/dist/table-of-contents.cjs.map +1 -1
  314. package/dist/table-of-contents.mjs +29 -29
  315. package/dist/table-of-contents.mjs.map +1 -1
  316. package/dist/table.cjs +1 -1
  317. package/dist/table.cjs.map +1 -1
  318. package/dist/table.mjs +2 -3
  319. package/dist/table.mjs.map +1 -1
  320. package/dist/tabs.cjs +1 -1
  321. package/dist/tabs.cjs.map +1 -1
  322. package/dist/tabs.mjs +8 -9
  323. package/dist/tabs.mjs.map +1 -1
  324. package/dist/text.cjs +1 -1
  325. package/dist/text.cjs.map +1 -1
  326. package/dist/text.mjs +18 -16
  327. package/dist/text.mjs.map +1 -1
  328. package/dist/textarea.cjs +1 -1
  329. package/dist/textarea.cjs.map +1 -1
  330. package/dist/textarea.mjs +2 -3
  331. package/dist/textarea.mjs.map +1 -1
  332. package/dist/theme-provider.cjs +1 -1
  333. package/dist/theme-provider.cjs.map +1 -1
  334. package/dist/theme-provider.mjs +2 -3
  335. package/dist/theme-provider.mjs.map +1 -1
  336. package/dist/theme-toggle-B7jIk1EJ.mjs +173 -0
  337. package/dist/theme-toggle-B7jIk1EJ.mjs.map +1 -0
  338. package/dist/theme-toggle-CsR6DVEV.js +2 -0
  339. package/dist/theme-toggle-CsR6DVEV.js.map +1 -0
  340. package/dist/theme-toggle.cjs +1 -1
  341. package/dist/theme-toggle.mjs +1 -2
  342. package/dist/toast.cjs +1 -1
  343. package/dist/toast.cjs.map +1 -1
  344. package/dist/toast.mjs +20 -21
  345. package/dist/toast.mjs.map +1 -1
  346. package/dist/{toaster-CfNd-vsx.mjs → toaster-Cr-qFHE_.mjs} +15 -17
  347. package/dist/toaster-Cr-qFHE_.mjs.map +1 -0
  348. package/dist/{toaster-D9OZF7hL.js → toaster-CsRfPupI.js} +2 -2
  349. package/dist/toaster-CsRfPupI.js.map +1 -0
  350. package/dist/toaster.cjs +1 -1
  351. package/dist/toaster.mjs +1 -2
  352. package/dist/toggle-group.cjs +1 -1
  353. package/dist/toggle-group.cjs.map +1 -1
  354. package/dist/toggle-group.mjs +2 -3
  355. package/dist/toggle-group.mjs.map +1 -1
  356. package/dist/toggle.cjs +1 -1
  357. package/dist/toggle.cjs.map +1 -1
  358. package/dist/toggle.mjs +4 -5
  359. package/dist/toggle.mjs.map +1 -1
  360. package/dist/tooltip.cjs +1 -1
  361. package/dist/tooltip.cjs.map +1 -1
  362. package/dist/tooltip.mjs +7 -8
  363. package/dist/tooltip.mjs.map +1 -1
  364. package/dist/{utils-CnOgTvBJ.js → utils-BKlmn6yB.js} +2 -2
  365. package/dist/{utils-CnOgTvBJ.js.map → utils-BKlmn6yB.js.map} +1 -1
  366. package/dist/{utils-BtHTUEvP.mjs → utils-MPB0bG0d.mjs} +3 -4
  367. package/dist/utils-MPB0bG0d.mjs.map +1 -0
  368. package/dist/vendor-Ceu--gxM.js +113 -0
  369. package/dist/vendor-Ceu--gxM.js.map +1 -0
  370. package/dist/{vendor-D9rWr_E8.mjs → vendor-PEVwmg1D.mjs} +15976 -15161
  371. package/dist/vendor-PEVwmg1D.mjs.map +1 -0
  372. package/package.json +77 -85
  373. package/dist/rolldown-runtime-CWhphoD1.mjs +0 -23
  374. package/dist/rolldown-runtime-mLOUI7ql.js +0 -1
  375. package/dist/sidebar-C5ukZKYH.mjs.map +0 -1
  376. package/dist/sidebar-DyP2Q-Ru.js +0 -2
  377. package/dist/sidebar-DyP2Q-Ru.js.map +0 -1
  378. package/dist/theme-toggle-BGVdrh4J.mjs +0 -337
  379. package/dist/theme-toggle-BGVdrh4J.mjs.map +0 -1
  380. package/dist/theme-toggle-CMdzi7Y8.js +0 -2
  381. package/dist/theme-toggle-CMdzi7Y8.js.map +0 -1
  382. package/dist/toaster-CfNd-vsx.mjs.map +0 -1
  383. package/dist/toaster-D9OZF7hL.js.map +0 -1
  384. package/dist/utils-BtHTUEvP.mjs.map +0 -1
  385. package/dist/vendor-D9rWr_E8.mjs.map +0 -1
  386. package/dist/vendor-i1KCLryV.js +0 -101
  387. package/dist/vendor-i1KCLryV.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
2
1
  import { ScrollAreaBaseProps } from '../../ui-core/src';
2
+ import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): React.JSX.Element;
5
5
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { Select as SelectPrimitive } from 'radix-ui';
2
1
  import { SelectBaseProps } from '../../ui-core/src';
2
+ import { Select as SelectPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
5
5
  declare function SelectGroup({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { Separator as SeparatorPrimitive } from 'radix-ui';
2
1
  import { SeparatorBaseProps } from '../../ui-core/src';
2
+ import { Separator as SeparatorPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root> & SeparatorBaseProps): React.JSX.Element;
5
5
  export { Separator };
@@ -1,5 +1,5 @@
1
- import { Dialog as SheetPrimitive } from 'radix-ui';
2
1
  import { SheetBaseProps } from '../../ui-core/src';
2
+ import { Dialog as SheetPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): React.JSX.Element;
5
5
  declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): React.JSX.Element;
@@ -1,8 +1,8 @@
1
+ import { SidebarBaseProps, SidebarContentBaseProps, SidebarFooterBaseProps, SidebarGroupActionBaseProps, SidebarGroupBaseProps, SidebarGroupContentBaseProps, SidebarGroupLabelBaseProps, SidebarHeaderBaseProps, SidebarInputBaseProps, SidebarInsetBaseProps, SidebarMenuActionBaseProps, SidebarMenuBadgeBaseProps, SidebarMenuBaseProps, SidebarMenuButtonBaseProps, SidebarMenuItemBaseProps, SidebarMenuSkeletonBaseProps, SidebarMenuSubBaseProps, SidebarMenuSubButtonBaseProps, SidebarMenuSubItemBaseProps, SidebarProviderBaseProps, SidebarRailBaseProps, SidebarSeparatorBaseProps, SidebarTriggerBaseProps } from '../../ui-core/src';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { Button } from './button';
3
4
  import { Input } from './input';
4
5
  import { Separator } from './separator';
5
- import { SidebarBaseProps, SidebarContentBaseProps, SidebarFooterBaseProps, SidebarGroupActionBaseProps, SidebarGroupBaseProps, SidebarGroupContentBaseProps, SidebarGroupLabelBaseProps, SidebarHeaderBaseProps, SidebarInputBaseProps, SidebarInsetBaseProps, SidebarMenuActionBaseProps, SidebarMenuBadgeBaseProps, SidebarMenuBaseProps, SidebarMenuButtonBaseProps, SidebarMenuItemBaseProps, SidebarMenuSkeletonBaseProps, SidebarMenuSubBaseProps, SidebarMenuSubButtonBaseProps, SidebarMenuSubItemBaseProps, SidebarProviderBaseProps, SidebarRailBaseProps, SidebarSeparatorBaseProps, SidebarTriggerBaseProps } from '../../ui-core/src';
6
6
  import { ClassProp } from 'class-variance-authority/types';
7
7
  import * as React from 'react';
8
8
  type SidebarContextProps = {
@@ -1,4 +1,4 @@
1
1
  import { SkeletonBaseProps } from '../../ui-core/src';
2
- declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import("react").JSX.Element;
2
+ declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import('react').JSX.Element;
3
3
  export { Skeleton };
4
4
  export type ___verifySkeletonContract = React.ComponentProps<typeof Skeleton> extends SkeletonBaseProps ? true : false;
@@ -1,5 +1,5 @@
1
- import { Slider as SliderPrimitive } from 'radix-ui';
2
1
  import { SliderBaseProps } from '../../ui-core/src';
2
+ import { Slider as SliderPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): React.JSX.Element;
5
5
  export { Slider };
@@ -1,3 +1,3 @@
1
1
  import { ToasterProps } from 'sonner';
2
- declare const Toaster: ({ ...props }: ToasterProps) => import("react").JSX.Element;
2
+ declare const Toaster: ({ ...props }: ToasterProps) => import('react').JSX.Element;
3
3
  export { Toaster };
@@ -1,3 +1,4 @@
1
1
  import { SpinnerBaseProps } from '../../ui-core/src';
2
- declare function Spinner({ className, ...props }: React.ComponentProps<'svg'> & SpinnerBaseProps): import("react").JSX.Element;
2
+ import * as React from 'react';
3
+ declare function Spinner({ className, ...props }: React.ComponentProps<'output'> & SpinnerBaseProps): React.JSX.Element;
3
4
  export { Spinner };
@@ -1,5 +1,5 @@
1
- import { Switch as SwitchPrimitive } from 'radix-ui';
2
1
  import { SwitchBaseProps } from '../../ui-core/src';
2
+ import { Switch as SwitchPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
5
5
  size?: 'sm' | 'default';
@@ -2,23 +2,18 @@ import { TableOfContentsContentBaseProps, TableOfContentsListBaseProps, TableOfC
2
2
  import * as React from 'react';
3
3
  export type TableOfContentsProps = TableOfContentsRootBaseProps;
4
4
  /**
5
- * Root component that provides the Table of Contents context.
6
- * Can be used as a wrapper OR standalone.
7
- * If used as a wrapper: <TableOfContents><List /><Content>{children}</Content></TableOfContents>
8
- * If used standalone: <TableOfContents /> (requires container ref or defaults to document)
5
+ * Root component that provides the Table of Contents context. Can be used as a wrapper OR standalone. If used as a
6
+ * wrapper: <TableOfContents><List /><Content>{children}</Content></TableOfContents> If used standalone:
7
+ * <TableOfContents /> (requires container ref or defaults to document)
9
8
  */
10
9
  declare function TableOfContents({ children, className, activeId: activeIdOverride, minLevel, maxLevel, selector, }: TableOfContentsProps): React.JSX.Element;
11
10
  declare namespace TableOfContents {
12
11
  var List: typeof TableOfContentsList;
13
12
  var Content: typeof TableOfContentsContent;
14
13
  }
15
- /**
16
- * Renders the actual list of links.
17
- */
14
+ /** Renders the actual list of links. */
18
15
  declare function TableOfContentsList({ className }: TableOfContentsListBaseProps): React.JSX.Element | null;
19
- /**
20
- * Wraps the content area and automatically detects headings within it.
21
- */
16
+ /** Wraps the content area and automatically detects headings within it. */
22
17
  declare function TableOfContentsContent({ children, className }: TableOfContentsContentBaseProps): React.JSX.Element;
23
18
  export type { TableOfContentsContentBaseProps as TableOfContentsContentProps, TableOfContentsListBaseProps as TableOfContentsListProps, } from '../../ui-core/src';
24
19
  export { TableOfContents, TableOfContentsContent, TableOfContentsList };
@@ -1,6 +1,6 @@
1
+ import { TabsBaseProps } from '../../ui-core/src';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { Tabs as TabsPrimitive } from 'radix-ui';
3
- import { TabsBaseProps } from '../../ui-core/src';
4
4
  import { ClassProp } from 'class-variance-authority/types';
5
5
  import * as React from 'react';
6
6
  declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  import { TextBaseProps } from '../../ui-core/src';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  import { ClassProp } from 'class-variance-authority/types';
4
4
  import * as React from 'react';
5
5
  declare const textVariants: (props?: ({
@@ -1,4 +1,4 @@
1
1
  import { ThemeProviderBaseProps } from '../../ui-core/src';
2
2
  import { ThemeProviderProps as NextThemesProviderProps } from 'next-themes';
3
3
  export type ThemeProviderProps = NextThemesProviderProps & ThemeProviderBaseProps;
4
- export declare function ThemeProvider({ children, ...props }: ThemeProviderProps): import("react").JSX.Element;
4
+ export declare function ThemeProvider({ children, ...props }: ThemeProviderProps): import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ThemeToggleBaseProps } from '../../ui-core/src';
2
2
  export type ThemeToggleProps = ThemeToggleBaseProps;
3
- export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import("react").JSX.Element;
3
+ export declare function ThemeToggle({ variant, onThemeChange, customTheme, className }: ThemeToggleProps): import('react').JSX.Element;
@@ -1,5 +1,5 @@
1
- import { VariantProps } from 'class-variance-authority';
2
1
  import { ToastBaseProps } from '../../ui-core/src';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  import { ClassProp } from 'class-variance-authority/types';
4
4
  import * as ToastPrimitives from '@radix-ui/react-toast';
5
5
  import * as React from 'react';
@@ -1,2 +1,2 @@
1
1
  import { ToasterBaseProps } from '../../ui-core/src';
2
- export declare function Toaster({ ...props }: ToasterBaseProps): import("react").JSX.Element;
2
+ export declare function Toaster({ ...props }: ToasterBaseProps): import('react').JSX.Element;
@@ -1,7 +1,7 @@
1
+ import { ToggleGroupBaseProps } from '../../ui-core/src';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui';
3
4
  import { toggleVariants } from './toggle';
4
- import { ToggleGroupBaseProps } from '../../ui-core/src';
5
5
  import * as React from 'react';
6
6
  declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
7
7
  spacing?: number;
@@ -1,6 +1,6 @@
1
+ import { ToggleBaseProps } from '../../ui-core/src';
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { Toggle as TogglePrimitive } from 'radix-ui';
3
- import { ToggleBaseProps } from '../../ui-core/src';
4
4
  import { ClassProp } from 'class-variance-authority/types';
5
5
  import * as React from 'react';
6
6
  declare const toggleVariants: (props?: ({
@@ -1,5 +1,5 @@
1
- import { Tooltip as TooltipPrimitive } from 'radix-ui';
2
1
  import { TooltipBaseProps } from '../../ui-core/src';
2
+ import { Tooltip as TooltipPrimitive } from 'radix-ui';
3
3
  import * as React from 'react';
4
4
  declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): React.JSX.Element;
5
5
  declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js"),n=require("./button.cjs");let r=require("react");r=e.r(r);var i=t.Ar();function a({className:e,...n}){return(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.ei(`mx-auto flex w-full justify-center`,e),...n})}function o({className:e,...n}){return(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.ei(`flex items-center gap-0.5`,e),...n})}function s({...e}){return(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function c({className:e,isActive:r,size:a=`icon`,...o}){return(0,i.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:a,className:t.ei(e),children:(0,i.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,...o})})}function l({className:e,text:n=`Previous`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to previous page`,size:`default`,className:t.ei(`ps-1.5!`,e),...r,children:[(0,i.jsx)(t.Yr,{"data-icon":`inline-start`,className:`rtl:rotate-180`}),(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n})]})}function u({className:e,text:n=`Next`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to next page`,size:`default`,className:t.ei(`pe-1.5!`,e),...r,children:[(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n}),(0,i.jsx)(t.Jr,{"data-icon":`inline-end`,className:`rtl:rotate-180`})]})}function d({className:e,...n}){return(0,i.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.ei(`flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4`,e),...n,children:[(0,i.jsx)(t.Wr,{}),(0,i.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=a,exports.PaginationContent=o,exports.PaginationEllipsis=d,exports.PaginationItem=s,exports.PaginationLink=c,exports.PaginationNext=u,exports.PaginationPrevious=l;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./vendor-Ceu--gxM.js"),n=require("./button.cjs");let r=require("react");r=e.r(r);var i=t.Ar();function a({className:e,...n}){return(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.ei(`mx-auto flex w-full justify-center`,e),...n})}function o({className:e,...n}){return(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.ei(`flex items-center gap-0.5`,e),...n})}function s({...e}){return(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function c({className:e,isActive:r,size:a=`icon`,children:o,...s}){return(0,i.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:a,className:t.ei(e),children:(0,i.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,...s,children:o})})}function l({className:e,text:n=`Previous`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to previous page`,size:`default`,className:t.ei(`ps-1.5!`,e),...r,children:[(0,i.jsx)(t.Yr,{"data-icon":`inline-start`,className:`rtl:rotate-180`}),(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n})]})}function u({className:e,text:n=`Next`,...r}){return(0,i.jsxs)(c,{"aria-label":`Go to next page`,size:`default`,className:t.ei(`pe-1.5!`,e),...r,children:[(0,i.jsx)(`span`,{className:`hidden sm:block`,children:n}),(0,i.jsx)(t.Jr,{"data-icon":`inline-end`,className:`rtl:rotate-180`})]})}function d({className:e,...n}){return(0,i.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.ei(`flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4`,e),...n,children:[(0,i.jsx)(t.Wr,{}),(0,i.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=a,exports.PaginationContent=o,exports.PaginationEllipsis=d,exports.PaginationItem=s,exports.PaginationLink=c,exports.PaginationNext=u,exports.PaginationPrevious=l;
2
2
  //# sourceMappingURL=pagination.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.cjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":"2OAQA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OACE,EAAA,EAAA,KAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAW,EAAA,GAAG,qCAAsC,CAAS,EAC7D,GAAI,CACL,CAAA,CAEL,CAEA,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAqC,CAC9E,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,qBAAqB,UAAW,EAAA,GAAG,4BAA6B,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC/G,CAEA,SAAS,EAAe,CAAE,GAAG,GAAqC,CAChE,OAAO,EAAA,EAAA,KAAC,KAAD,CAAI,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CACrD,CAOA,SAAS,EAAe,CAAE,YAAW,WAAU,OAAO,OAAQ,GAAG,GAA8B,CAC7F,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAS,EAAW,UAAY,QAAe,OAAM,UAAW,EAAA,GAAG,CAAS,YAC1F,EAAA,EAAA,KAAC,IAAD,CAAG,eAAc,EAAW,OAAS,IAAA,GAAW,YAAU,kBAAkB,cAAa,EAAU,GAAI,CAAQ,CAAA,CACzG,CAAA,CAEZ,CAEA,SAAS,EAAmB,CAC1B,YACA,OAAO,WACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,sBAAsB,KAAK,UAAU,UAAW,EAAA,GAAG,UAAW,CAAS,EAAG,GAAI,WAAzG,EACE,EAAA,EAAA,KAAC,EAAA,GAAD,CAAiB,YAAU,eAAe,UAAU,gBAAkB,CAAA,GACtE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,CAChC,GAEpB,CAEA,SAAS,EAAe,CACtB,YACA,OAAO,OACP,GAAG,GAC+D,CAClE,OACE,EAAA,EAAA,MAAC,EAAD,CAAgB,aAAW,kBAAkB,KAAK,UAAU,UAAW,EAAA,GAAG,UAAW,CAAS,EAAG,GAAI,WAArG,EACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,2BAAmB,CAAW,CAAA,GAC9C,EAAA,EAAA,KAAC,EAAA,GAAD,CAAkB,YAAU,aAAa,UAAU,gBAAkB,CAAA,CACvD,GAEpB,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAuC,CACjF,OACE,EAAA,EAAA,MAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAW,EAAA,GAAG,+EAAgF,CAAS,EACvG,GAAI,WAJN,EAME,EAAA,EAAA,KAAC,EAAA,GAAD,CAAqB,CAAA,GACrB,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,mBAAU,YAAgB,CAAA,CACtC,GAEV"}
1
+ {"version":3,"file":"pagination.cjs","names":["cn","Button","ChevronLeftIcon","ChevronRightIcon","MoreHorizontalIcon","require_rolldown_runtime","require_vendor","require_button","react","import_jsx_runtime","Pagination","props","className","PaginationContent","PaginationItem","PaginationLink","isActive","PaginationPrevious","text","PaginationNext","PaginationEllipsis"],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import type { PaginationBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', children, ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props}>\n {children}\n </a>\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":"A,2OAOA,SAASU,EAAW,CAAE,YAAW,GAAGC,GAAsC,CACxE,OACE,EAAAF,EAAA,IAAA,CAAC,MAAD,CACE,KAAK,aACL,aAAW,aACX,YAAU,aACV,UAAWT,EAAAA,GAAG,qCAAsCY,CAAS,EAC7D,GAAID,CACL,CAAA,CAEL,CAEA,SAASE,EAAkB,CAAE,YAAW,GAAGF,GAAqC,CAC9E,OAAO,EAAAF,EAAA,IAAA,CAAC,KAAD,CAAI,YAAU,qBAAqB,UAAWT,EAAAA,GAAG,4BAA6BY,CAAS,EAAG,GAAID,CAAQ,CAAA,CAC/G,CAEA,SAASG,EAAe,CAAE,GAAGH,GAAqC,CAChE,OAAO,EAAAF,EAAA,IAAA,CAAC,KAAD,CAAI,YAAU,kBAAkB,GAAIE,CAAQ,CAAA,CACrD,CAOA,SAASI,EAAe,CAAE,YAAW,WAAU,OAAO,OAAQ,WAAU,GAAGJ,GAA8B,CACvG,OACE,EAAAF,EAAA,IAAA,CAACR,EAAAA,OAAD,CAAQ,QAAA,GAAQ,QAASe,EAAW,UAAY,QAAe,OAAM,UAAWhB,EAAAA,GAAGY,CAAS,EAC1F,UAAA,EAAAH,EAAA,IAAA,CAAC,IAAD,CAAG,eAAcO,EAAW,OAAS,IAAA,GAAW,YAAU,kBAAkB,cAAaA,EAAU,GAAIL,EACpG,UACA,CAAA,CACG,CAAA,CAEZ,CAEA,SAASM,EAAmB,CAC1B,YACA,OAAO,WACP,GAAGN,GAC+D,CAClE,OACE,EAAAF,EAAA,KAAA,CAACM,EAAD,CAAgB,aAAW,sBAAsB,KAAK,UAAU,UAAWf,EAAAA,GAAG,UAAWY,CAAS,EAAG,GAAID,EAAzG,SAAA,EACE,EAAAF,EAAA,IAAA,CAACP,EAAAA,GAAD,CAAiB,YAAU,eAAe,UAAU,gBAAkB,CAAA,GACtE,EAAAO,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,kBAAmB,SAAAS,CAAW,CAAA,CAChC,C,EAEpB,CAEA,SAASC,EAAe,CACtB,YACA,OAAO,OACP,GAAGR,GAC+D,CAClE,OACE,EAAAF,EAAA,KAAA,CAACM,EAAD,CAAgB,aAAW,kBAAkB,KAAK,UAAU,UAAWf,EAAAA,GAAG,UAAWY,CAAS,EAAG,GAAID,EAArG,SAAA,EACE,EAAAF,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,kBAAmB,SAAAS,CAAW,CAAA,GAC9C,EAAAT,EAAA,IAAA,CAACN,EAAAA,GAAD,CAAkB,YAAU,aAAa,UAAU,gBAAkB,CAAA,CACvD,C,EAEpB,CAEA,SAASiB,EAAmB,CAAE,YAAW,GAAGT,GAAuC,CACjF,OACE,EAAAF,EAAA,KAAA,CAAC,OAAD,CACE,cAAA,GACA,YAAU,sBACV,UAAWT,EAAAA,GAAG,+EAAgFY,CAAS,EACvG,GAAID,EAJN,SAAA,EAME,EAAAF,EAAA,IAAA,CAACL,EAAAA,GAAD,CAAqB,CAAA,GACrB,EAAAK,EAAA,IAAA,CAAC,OAAD,CAAM,UAAU,UAAU,SAAA,YAAgB,CAAA,CACtC,C,EAEV,C"}
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { Ar as e, Jr as t, Wr as n, Yr as r, ei as i } from "./vendor-D9rWr_E8.mjs";
2
+ import { Ar as e, Jr as t, Wr as n, Yr as r, ei as i } from "./vendor-PEVwmg1D.mjs";
3
3
  import { Button as a } from "./button.mjs";
4
4
  import "react";
5
- //#region packages/ui-web/src/pagination.tsx
5
+ // packages/ui-web/src/pagination.tsx
6
6
  var o = e();
7
7
  function s({ className: e, ...t }) {
8
8
  return /* @__PURE__ */ (0, o.jsx)("nav", {
@@ -26,7 +26,7 @@ function l({ ...e }) {
26
26
  ...e
27
27
  });
28
28
  }
29
- function u({ className: e, isActive: t, size: n = "icon", ...r }) {
29
+ function u({ className: e, isActive: t, size: n = "icon", children: r, ...s }) {
30
30
  return /* @__PURE__ */ (0, o.jsx)(a, {
31
31
  asChild: !0,
32
32
  variant: t ? "outline" : "ghost",
@@ -36,7 +36,8 @@ function u({ className: e, isActive: t, size: n = "icon", ...r }) {
36
36
  "aria-current": t ? "page" : void 0,
37
37
  "data-slot": "pagination-link",
38
38
  "data-active": t,
39
- ...r
39
+ ...s,
40
+ children: r
40
41
  })
41
42
  });
42
43
  }
@@ -82,7 +83,6 @@ function p({ className: e, ...t }) {
82
83
  })]
83
84
  });
84
85
  }
85
- //#endregion
86
86
  export { s as Pagination, c as PaginationContent, p as PaginationEllipsis, l as PaginationItem, u as PaginationLink, f as PaginationNext, d as PaginationPrevious };
87
87
 
88
88
  //# sourceMappingURL=pagination.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.mjs","names":[],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nimport type { PaginationBaseProps } from '@gv-tech/ui-core';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props} />\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":";;;;;;AAQA,SAAS,EAAW,EAAE,cAAW,GAAG,KAAsC;CACxE,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAW,EAAG,sCAAsC,CAAS;EAC7D,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,EAAkB,EAAE,cAAW,GAAG,KAAqC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAqB,WAAW,EAAG,6BAA6B,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC/G;AAEA,SAAS,EAAe,EAAE,GAAG,KAAqC;CAChE,OAAO,iBAAA,GAAA,EAAA,KAAC,MAAD;EAAI,aAAU;EAAkB,GAAI;CAAQ,CAAA;AACrD;AAOA,SAAS,EAAe,EAAE,cAAW,aAAU,UAAO,QAAQ,GAAG,KAA8B;CAC7F,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAQ,SAAA;EAAQ,SAAS,IAAW,YAAY;EAAe;EAAM,WAAW,EAAG,CAAS;YAC1F,iBAAA,GAAA,EAAA,KAAC,KAAD;GAAG,gBAAc,IAAW,SAAS,KAAA;GAAW,aAAU;GAAkB,eAAa;GAAU,GAAI;EAAQ,CAAA;CACzG,CAAA;AAEZ;AAEA,SAAS,EAAmB,EAC1B,cACA,UAAO,YACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAsB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAAzG,CACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAiB,aAAU;GAAe,WAAU;EAAkB,CAAA,GACtE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,CAChC;;AAEpB;AAEA,SAAS,EAAe,EACtB,cACA,UAAO,QACP,GAAG,KAC+D;CAClE,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EAAgB,cAAW;EAAkB,MAAK;EAAU,WAAW,EAAG,WAAW,CAAS;EAAG,GAAI;YAArG,CACE,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAmB;EAAW,CAAA,GAC9C,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAkB,aAAU;GAAa,WAAU;EAAkB,CAAA,CACvD;;AAEpB;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAuC;CACjF,OACE,iBAAA,GAAA,EAAA,MAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAW,EAAG,gFAAgF,CAAS;EACvG,GAAI;YAJN,CAME,iBAAA,GAAA,EAAA,KAAC,GAAD,CAAqB,CAAA,GACrB,iBAAA,GAAA,EAAA,KAAC,QAAD;GAAM,WAAU;aAAU;EAAgB,CAAA,CACtC;;AAEV"}
1
+ {"version":3,"file":"pagination.mjs","names":["ChevronLeftIcon","ChevronRightIcon","MoreHorizontalIcon","require_jsx_runtime","ChevronRight","Ellipsis","ChevronLeft","cn","import_jsx_runtime","Pagination","props","className","PaginationContent","PaginationItem","PaginationLink","Button","isActive","PaginationPrevious","text","PaginationNext","PaginationEllipsis"],"sources":["../packages/ui-web/src/pagination.tsx"],"sourcesContent":["import type { PaginationBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';\nimport * as React from 'react';\n\nimport { Button } from '@/./button';\n\nfunction Pagination({ className, ...props }: React.ComponentProps<'nav'>) {\n return (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n data-slot=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n );\n}\n\nfunction PaginationContent({ className, ...props }: React.ComponentProps<'ul'>) {\n return <ul data-slot=\"pagination-content\" className={cn('flex items-center gap-0.5', className)} {...props} />;\n}\n\nfunction PaginationItem({ ...props }: React.ComponentProps<'li'>) {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\ntype PaginationLinkProps = {\n isActive?: boolean;\n} & Pick<React.ComponentProps<typeof Button>, 'size'> &\n React.ComponentProps<'a'>;\n\nfunction PaginationLink({ className, isActive, size = 'icon', children, ...props }: PaginationLinkProps) {\n return (\n <Button asChild variant={isActive ? 'outline' : 'ghost'} size={size} className={cn(className)}>\n <a aria-current={isActive ? 'page' : undefined} data-slot=\"pagination-link\" data-active={isActive} {...props}>\n {children}\n </a>\n </Button>\n );\n}\n\nfunction PaginationPrevious({\n className,\n text = 'Previous',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to previous page\" size=\"default\" className={cn('ps-1.5!', className)} {...props}>\n <ChevronLeftIcon data-icon=\"inline-start\" className=\"rtl:rotate-180\" />\n <span className=\"hidden sm:block\">{text}</span>\n </PaginationLink>\n );\n}\n\nfunction PaginationNext({\n className,\n text = 'Next',\n ...props\n}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {\n return (\n <PaginationLink aria-label=\"Go to next page\" size=\"default\" className={cn('pe-1.5!', className)} {...props}>\n <span className=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" className=\"rtl:rotate-180\" />\n </PaginationLink>\n );\n}\n\nfunction PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>) {\n return (\n <span\n aria-hidden\n data-slot=\"pagination-ellipsis\"\n className={cn(\"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4\", className)}\n {...props}\n >\n <MoreHorizontalIcon />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPaginationContract =\n React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;\n"],"mappings":";;;;;;AAOA,SAASS,EAAW,EAAE,cAAW,GAAGC,KAAsC;CACxE,OACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EACE,MAAK;EACL,cAAW;EACX,aAAU;EACV,WAAWD,EAAG,sCAAsCI,CAAS;EAC7D,GAAID;CACL,CAAA;AAEL;AAEA,SAASE,EAAkB,EAAE,cAAW,GAAGF,KAAqC;CAC9E,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAAC,MAAD;EAAI,aAAU;EAAqB,WAAWD,EAAG,6BAA6BI,CAAS;EAAG,GAAID;CAAQ,CAAA;AAC/G;AAEA,SAASG,EAAe,EAAE,GAAGH,KAAqC;CAChE,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAAC,MAAD;EAAI,aAAU;EAAkB,GAAIE;CAAQ,CAAA;AACrD;AAOA,SAASI,EAAe,EAAE,cAAW,aAAU,UAAO,QAAQ,aAAU,GAAGJ,KAA8B;CACvG,OACE,iBAAA,GAAAF,EAAA,IAAA,CAACO,GAAD;EAAQ,SAAA;EAAQ,SAASC,IAAW,YAAY;EAAe;EAAM,WAAWT,EAAGI,CAAS;EAC1F,UAAA,iBAAA,GAAAH,EAAA,IAAA,CAAC,KAAD;GAAG,gBAAcQ,IAAW,SAAS,KAAA;GAAW,aAAU;GAAkB,eAAaA;GAAU,GAAIN;GACpG;EACA,CAAA;CACG,CAAA;AAEZ;AAEA,SAASO,EAAmB,EAC1B,cACA,UAAO,YACP,GAAGP,KAC+D;CAClE,OACE,iBAAA,GAAAF,EAAA,KAAA,CAACM,GAAD;EAAgB,cAAW;EAAsB,MAAK;EAAU,WAAWP,EAAG,WAAWI,CAAS;EAAG,GAAID;EAAzG,UAAA,CACE,iBAAA,GAAAF,EAAA,IAAA,CAACR,GAAD;GAAiB,aAAU;GAAe,WAAU;EAAkB,CAAA,GACtE,iBAAA,GAAAQ,EAAA,IAAA,CAAC,QAAD;GAAM,WAAU;GAAmB,UAAAU;EAAW,CAAA,CAChC;;AAEpB;AAEA,SAASC,EAAe,EACtB,cACA,UAAO,QACP,GAAGT,KAC+D;CAClE,OACE,iBAAA,GAAAF,EAAA,KAAA,CAACM,GAAD;EAAgB,cAAW;EAAkB,MAAK;EAAU,WAAWP,EAAG,WAAWI,CAAS;EAAG,GAAID;EAArG,UAAA,CACE,iBAAA,GAAAF,EAAA,IAAA,CAAC,QAAD;GAAM,WAAU;GAAmB,UAAAU;EAAW,CAAA,GAC9C,iBAAA,GAAAV,EAAA,IAAA,CAACP,GAAD;GAAkB,aAAU;GAAa,WAAU;EAAkB,CAAA,CACvD;;AAEpB;AAEA,SAASmB,EAAmB,EAAE,cAAW,GAAGV,KAAuC;CACjF,OACE,iBAAA,GAAAF,EAAA,KAAA,CAAC,QAAD;EACE,eAAA;EACA,aAAU;EACV,WAAWD,EAAG,gFAAgFI,CAAS;EACvG,GAAID;EAJN,UAAA,CAME,iBAAA,GAAAF,EAAA,IAAA,CAACN,GAAD,CAAqB,CAAA,GACrB,iBAAA,GAAAM,EAAA,IAAA,CAAC,QAAD;GAAM,WAAU;GAAU,UAAA;EAAgB,CAAA,CACtC;;AAEV"}
package/dist/popover.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({...e}){return(0,r.jsx)(t.Wt,{"data-slot":`popover`,...e})}function a({...e}){return(0,r.jsx)(t.Gt,{"data-slot":`popover-trigger`,...e})}function o({className:e,align:n=`center`,sideOffset:i=4,...a}){return(0,r.jsx)(t.Ut,{children:(0,r.jsx)(t.Ht,{"data-slot":`popover-content`,align:n,sideOffset:i,className:t.ei(`bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100`,e),...a})})}function s({...e}){return(0,r.jsx)(t.Vt,{"data-slot":`popover-anchor`,...e})}function c({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-header`,className:t.ei(`flex flex-col gap-0.5 text-sm`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-title`,className:t.ei(`font-medium`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`p`,{"data-slot":`popover-description`,className:t.ei(`text-muted-foreground`,e),...n})}exports.Popover=i,exports.PopoverAnchor=s,exports.PopoverContent=o,exports.PopoverDescription=u,exports.PopoverHeader=c,exports.PopoverTitle=l,exports.PopoverTrigger=a;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./vendor-Ceu--gxM.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({...e}){return(0,r.jsx)(t.Vt,{"data-slot":`popover`,...e})}function a({...e}){return(0,r.jsx)(t.Gt,{"data-slot":`popover-trigger`,...e})}function o({className:e,align:n=`center`,sideOffset:i=4,...a}){return(0,r.jsx)(t.Wt,{children:(0,r.jsx)(t.Ut,{"data-slot":`popover-content`,align:n,sideOffset:i,className:t.ei(`bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100`,e),...a})})}function s({...e}){return(0,r.jsx)(t.Ht,{"data-slot":`popover-anchor`,...e})}function c({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-header`,className:t.ei(`flex flex-col gap-0.5 text-sm`,e),...n})}function l({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`popover-title`,className:t.ei(`font-medium`,e),...n})}function u({className:e,...n}){return(0,r.jsx)(`p`,{"data-slot":`popover-description`,className:t.ei(`text-muted-foreground`,e),...n})}exports.Popover=i,exports.PopoverAnchor=s,exports.PopoverContent=o,exports.PopoverDescription=u,exports.PopoverHeader=c,exports.PopoverTitle=l,exports.PopoverTrigger=a;
2
2
  //# sourceMappingURL=popover.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":"iNAMA,SAAS,EAAQ,CAAE,GAAG,GAA6D,CACjF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAuB,YAAU,UAAU,GAAI,CAAQ,CAAA,CAChE,CAEA,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAA0B,YAAU,kBAAkB,GAAI,CAAQ,CAAA,CAC3E,CAEA,SAAS,EAAe,CACtB,YACA,QAAQ,SACR,aAAa,EACb,GAAG,GACqD,CACxD,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CAAA,UACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,kBACH,QACK,aACZ,UAAW,EAAA,GACT,ifACA,CACF,EACA,GAAI,CACL,CAAA,CACsB,CAAA,CAE7B,CAEA,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAAA,EAAA,GAAA,CAAyB,YAAU,iBAAiB,GAAI,CAAQ,CAAA,CACzE,CAEA,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,iBAAiB,UAAW,EAAA,GAAG,gCAAiC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAChH,CAEA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAqC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAD,CAAK,YAAU,gBAAgB,UAAW,EAAA,GAAG,cAAe,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC7F,CAEA,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoC,CAC9E,OAAO,EAAA,EAAA,KAAC,IAAD,CAAG,YAAU,sBAAsB,UAAW,EAAA,GAAG,wBAAyB,CAAS,EAAG,GAAI,CAAQ,CAAA,CAC3G"}
1
+ {"version":3,"file":"popover.cjs","names":["cn","require_rolldown_runtime","require_vendor","react","import_jsx_runtime","Popover","props","PopoverTrigger","PopoverContent","className","PopoverAnchor","PopoverHeader","PopoverTitle","PopoverDescription"],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import type { PopoverBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":"A,iNAKA,SAASK,EAAQ,CAAE,GAAGC,GAA6D,CACjF,OAAO,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CAAuB,YAAU,UAAU,GAAII,CAAQ,CAAA,CAChE,CAEA,SAASC,EAAe,CAAE,GAAGD,GAAgE,CAC3F,OAAO,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CAA0B,YAAU,kBAAkB,GAAII,CAAQ,CAAA,CAC3E,CAEA,SAASE,EAAe,CACtB,YACA,QAAQ,SACR,aAAa,EACb,GAAGF,GACqD,CACxD,OACE,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CAAA,UACE,EAAAE,EAAA,IAAA,CAAAF,EAAA,GAAA,CACE,YAAU,kBACH,QACK,aACZ,UAAWF,EAAAA,GACT,ifACAS,CACF,EACA,GAAIH,CACL,CAAA,CACsB,CAAA,CAE7B,CAEA,SAASI,EAAc,CAAE,GAAGJ,GAA+D,CACzF,OAAO,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CAAyB,YAAU,iBAAiB,GAAII,CAAQ,CAAA,CACzE,CAEA,SAASK,EAAc,CAAE,YAAW,GAAGL,GAAsC,CAC3E,OAAO,EAAAF,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,iBAAiB,UAAWJ,EAAAA,GAAG,gCAAiCS,CAAS,EAAG,GAAIH,CAAQ,CAAA,CAChH,CAEA,SAASM,EAAa,CAAE,YAAW,GAAGN,GAAqC,CACzE,OAAO,EAAAF,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,gBAAgB,UAAWJ,EAAAA,GAAG,cAAeS,CAAS,EAAG,GAAIH,CAAQ,CAAA,CAC7F,CAEA,SAASO,EAAmB,CAAE,YAAW,GAAGP,GAAoC,CAC9E,OAAO,EAAAF,EAAA,IAAA,CAAC,IAAD,CAAG,YAAU,sBAAsB,UAAWJ,EAAAA,GAAG,wBAAyBS,CAAS,EAAG,GAAIH,CAAQ,CAAA,CAC3G,C"}
package/dist/popover.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Ar as e, Gt as t, Ht as n, Ut as r, Vt as i, Wt as a, ei as o } from "./vendor-D9rWr_E8.mjs";
2
+ import { Ar as e, Gt as t, Ht as n, Ut as r, Vt as i, Wt as a, ei as o } from "./vendor-PEVwmg1D.mjs";
3
3
  import "react";
4
- //#region packages/ui-web/src/popover.tsx
4
+ // packages/ui-web/src/popover.tsx
5
5
  var s = e();
6
6
  function c({ ...e }) {
7
- return /* @__PURE__ */ (0, s.jsx)(a, {
7
+ return /* @__PURE__ */ (0, s.jsx)(i, {
8
8
  "data-slot": "popover",
9
9
  ...e
10
10
  });
@@ -15,17 +15,17 @@ function l({ ...e }) {
15
15
  ...e
16
16
  });
17
17
  }
18
- function u({ className: e, align: t = "center", sideOffset: i = 4, ...a }) {
19
- return /* @__PURE__ */ (0, s.jsx)(r, { children: /* @__PURE__ */ (0, s.jsx)(n, {
18
+ function u({ className: e, align: t = "center", sideOffset: n = 4, ...i }) {
19
+ return /* @__PURE__ */ (0, s.jsx)(a, { children: /* @__PURE__ */ (0, s.jsx)(r, {
20
20
  "data-slot": "popover-content",
21
21
  align: t,
22
- sideOffset: i,
22
+ sideOffset: n,
23
23
  className: o("bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100", e),
24
- ...a
24
+ ...i
25
25
  }) });
26
26
  }
27
27
  function d({ ...e }) {
28
- return /* @__PURE__ */ (0, s.jsx)(i, {
28
+ return /* @__PURE__ */ (0, s.jsx)(n, {
29
29
  "data-slot": "popover-anchor",
30
30
  ...e
31
31
  });
@@ -51,7 +51,6 @@ function m({ className: e, ...t }) {
51
51
  ...t
52
52
  });
53
53
  }
54
- //#endregion
55
54
  export { c as Popover, d as PopoverAnchor, u as PopoverContent, m as PopoverDescription, f as PopoverHeader, p as PopoverTitle, l as PopoverTrigger };
56
55
 
57
56
  //# sourceMappingURL=popover.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { PopoverBaseProps } from '@gv-tech/ui-core';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":";;;;;AAMA,SAAS,EAAQ,EAAE,GAAG,KAA6D;CACjF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAuB,aAAU;EAAU,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAS,EAAe,EAAE,GAAG,KAAgE;CAC3F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,EAAe,EACtB,cACA,WAAQ,UACR,gBAAa,GACb,GAAG,KACqD;CACxD,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACK;EACZ,WAAW,EACT,kfACA,CACF;EACA,GAAI;CACL,CAAA,EACsB,CAAA;AAE7B;AAEA,SAAS,EAAc,EAAE,GAAG,KAA+D;CACzF,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAyB,aAAU;EAAiB,GAAI;CAAQ,CAAA;AACzE;AAEA,SAAS,EAAc,EAAE,cAAW,GAAG,KAAsC;CAC3E,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAiB,WAAW,EAAG,iCAAiC,CAAS;EAAG,GAAI;CAAQ,CAAA;AAChH;AAEA,SAAS,EAAa,EAAE,cAAW,GAAG,KAAqC;CACzE,OAAO,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,aAAU;EAAgB,WAAW,EAAG,eAAe,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC7F;AAEA,SAAS,EAAmB,EAAE,cAAW,GAAG,KAAoC;CAC9E,OAAO,iBAAA,GAAA,EAAA,KAAC,KAAD;EAAG,aAAU;EAAsB,WAAW,EAAG,yBAAyB,CAAS;EAAG,GAAI;CAAQ,CAAA;AAC3G"}
1
+ {"version":3,"file":"popover.mjs","names":["PopoverPrimitive.Root","PopoverPrimitive.Trigger","PopoverPrimitive.Portal","PopoverPrimitive.Content","PopoverPrimitive.Anchor","require_jsx_runtime","PopoverTrigger$1","PopoverAnchor$1","PopoverContent$1","Popover$1","PopoverPortal","cn","import_jsx_runtime","Popover","props","PopoverTrigger","PopoverContent","className","PopoverAnchor","PopoverHeader","PopoverTitle","PopoverDescription"],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["import type { PopoverBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { Popover as PopoverPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nfunction Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content>) {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"popover-header\" className={cn('flex flex-col gap-0.5 text-sm', className)} {...props} />;\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return <div data-slot=\"popover-title\" className={cn('font-medium', className)} {...props} />;\n}\n\nfunction PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return <p data-slot=\"popover-description\" className={cn('text-muted-foreground', className)} {...props} />;\n}\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;\n"],"mappings":";;;;;AAKA,SAASa,EAAQ,EAAE,GAAGC,KAA6D;CACjF,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAACZ,GAAD;EAAuB,aAAU;EAAU,GAAIc;CAAQ,CAAA;AAChE;AAEA,SAASC,EAAe,EAAE,GAAGD,KAAgE;CAC3F,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAACX,GAAD;EAA0B,aAAU;EAAkB,GAAIa;CAAQ,CAAA;AAC3E;AAEA,SAASE,EAAe,EACtB,cACA,WAAQ,UACR,gBAAa,GACb,GAAGF,KACqD;CACxD,OACE,iBAAA,GAAAF,EAAA,IAAA,CAACV,GAAD,EAAA,UACE,iBAAA,GAAAU,EAAA,IAAA,CAACT,GAAD;EACE,aAAU;EACH;EACK;EACZ,WAAWQ,EACT,kfACAM,CACF;EACA,GAAIH;CACL,CAAA,EACsB,CAAA;AAE7B;AAEA,SAASI,EAAc,EAAE,GAAGJ,KAA+D;CACzF,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAACR,GAAD;EAAyB,aAAU;EAAiB,GAAIU;CAAQ,CAAA;AACzE;AAEA,SAASK,EAAc,EAAE,cAAW,GAAGL,KAAsC;CAC3E,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EAAK,aAAU;EAAiB,WAAWD,EAAG,iCAAiCM,CAAS;EAAG,GAAIH;CAAQ,CAAA;AAChH;AAEA,SAASM,EAAa,EAAE,cAAW,GAAGN,KAAqC;CACzE,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAAC,OAAD;EAAK,aAAU;EAAgB,WAAWD,EAAG,eAAeM,CAAS;EAAG,GAAIH;CAAQ,CAAA;AAC7F;AAEA,SAASO,EAAmB,EAAE,cAAW,GAAGP,KAAoC;CAC9E,OAAO,iBAAA,GAAAF,EAAA,IAAA,CAAC,KAAD;EAAG,aAAU;EAAsB,WAAWD,EAAG,yBAAyBM,CAAS;EAAG,GAAIH;CAAQ,CAAA;AAC3G"}
package/dist/progress.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({className:e,value:n,...i}){return(0,r.jsx)(t.Bt,{"data-slot":`progress`,value:n,className:t.ei(`bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full`,e),...i,children:(0,r.jsx)(t.zt,{"data-slot":`progress-indicator`,className:`bg-primary size-full flex-1 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}exports.Progress=i;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./vendor-Ceu--gxM.js");let n=require("react");n=e.r(n);var r=t.Ar();function i({className:e,value:n,...i}){return(0,r.jsx)(t.zt,{"data-slot":`progress`,value:n,className:t.ei(`bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full`,e),...i,children:(0,r.jsx)(t.Bt,{"data-slot":`progress-indicator`,className:`bg-primary size-full flex-1 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}exports.Progress=i;
2
2
  //# sourceMappingURL=progress.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":"8NAQA,SAAS,EAAS,CAAE,YAAW,QAAO,GAAG,GAA8D,CACrG,OACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,WACH,QACP,UAAW,EAAA,GAAG,gFAAiF,CAAS,EACxG,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,GAAA,CACE,YAAU,qBACV,UAAU,6CACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B"}
1
+ {"version":3,"file":"progress.cjs","names":["cn","require_rolldown_runtime","require_vendor","react","import_jsx_runtime","Progress","props","className","value"],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":"A,8NAOA,SAASK,EAAS,CAAE,YAAW,QAAO,GAAGC,GAA8D,CACrG,OACE,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CACE,YAAU,WACH,QACP,UAAWF,EAAAA,GAAG,gFAAiFO,CAAS,EACxG,GAAID,EAEJ,UAAA,EAAAF,EAAA,IAAA,CAAAF,EAAA,GAAA,CACE,YAAU,qBACV,UAAU,6CACV,MAAO,CAAE,UAAW,eAAe,KAAOM,GAAS,GAAG,GAAI,CAC3D,CAAA,CACqB,CAAA,CAE5B,C"}
package/dist/progress.mjs CHANGED
@@ -1,23 +1,22 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Ar as e, Bt as t, ei as n, zt as r } from "./vendor-D9rWr_E8.mjs";
3
+ import { Ar as e, Bt as t, ei as n, zt as r } from "./vendor-PEVwmg1D.mjs";
4
4
  import "react";
5
- //#region packages/ui-web/src/progress.tsx
5
+ // packages/ui-web/src/progress.tsx
6
6
  var i = e();
7
7
  function a({ className: e, value: a, ...o }) {
8
- return /* @__PURE__ */ (0, i.jsx)(t, {
8
+ return /* @__PURE__ */ (0, i.jsx)(r, {
9
9
  "data-slot": "progress",
10
10
  value: a,
11
11
  className: n("bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full", e),
12
12
  ...o,
13
- children: /* @__PURE__ */ (0, i.jsx)(r, {
13
+ children: /* @__PURE__ */ (0, i.jsx)(t, {
14
14
  "data-slot": "progress-indicator",
15
15
  className: "bg-primary size-full flex-1 transition-all",
16
16
  style: { transform: `translateX(-${100 - (a || 0)}%)` }
17
17
  })
18
18
  });
19
19
  }
20
- //#endregion
21
20
  export { a as Progress };
22
21
 
23
22
  //# sourceMappingURL=progress.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":";;;;;;AAQA,SAAS,EAAS,EAAE,cAAW,UAAO,GAAG,KAA8D;CACrG,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,aAAU;EACH;EACP,WAAW,EAAG,iFAAiF,CAAS;EACxG,GAAI;YAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
1
+ {"version":3,"file":"progress.mjs","names":["ProgressPrimitive.Root","ProgressPrimitive.Indicator","require_jsx_runtime","ProgressIndicator","cn","Progress$1","import_jsx_runtime","Progress","props","className","value"],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport type { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from 'cn';\nimport { Progress as ProgressPrimitive } from 'radix-ui';\nimport * as React from 'react';\n\nfunction Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n value={value}\n className={cn('bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary size-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n\n// Verify that the component satisfies the ui-core contract\nexport type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;\n"],"mappings":";;;;;;AAOA,SAASO,EAAS,EAAE,cAAW,UAAO,GAAGC,KAA8D;CACrG,OACE,iBAAA,GAAAF,EAAA,IAAA,CAACN,GAAD;EACE,aAAU;EACH;EACP,WAAWI,EAAG,iFAAiFK,CAAS;EACxG,GAAID;EAEJ,UAAA,iBAAA,GAAAF,EAAA,IAAA,CAACL,GAAD;GACE,aAAU;GACV,WAAU;GACV,OAAO,EAAE,WAAW,eAAe,OAAOS,KAAS,GAAG,IAAI;EAC3D,CAAA;CACqB,CAAA;AAE5B"}
@@ -1,2 +1,2 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-mLOUI7ql.js"),t=require("./vendor-i1KCLryV.js"),n=require("./button.cjs");let r=require("react");r=e.r(r);var i=t.Ar();function a({className:e,...n}){return(0,i.jsx)(t.t.Root,{"data-slot":`questionnaire`,className:t.ei(`flex w-full min-w-0 flex-col gap-4`,e),...n})}function o({className:e,...n}){return(0,i.jsx)(t.t.Progress,{"data-slot":`questionnaire-progress`,className:t.ei(`text-muted-foreground min-h-[1lh] w-fit min-w-[14ch] text-xs font-medium tabular-nums`,e),...n})}function s({className:e,...n}){return(0,i.jsx)(t.t.Item,{"data-slot":`questionnaire-item`,className:t.ei(`flex min-w-0 flex-col gap-4 border-0 p-0 outline-none`,e),...n})}function c({className:e,...n}){return(0,i.jsx)(t.t.Title,{"data-slot":`questionnaire-title`,className:t.ei(`text-base leading-snug font-medium text-pretty [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4`,e),...n})}function l({className:e,...n}){return(0,i.jsx)(t.t.Description,{"data-slot":`questionnaire-description`,className:t.ei(`text-muted-foreground text-sm text-pretty`,e),...n})}function u({className:e,...n}){return(0,i.jsx)(t.t.Choices,{"data-slot":`questionnaire-choices`,className:t.ei(`group/questionnaire-choices grid min-w-0 gap-2`,e),...n})}function d({children:e,className:n,...r}){return(0,i.jsxs)(t.t.Choice,{"data-slot":`questionnaire-choice`,className:t.ei(`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),...r,children:[(0,i.jsx)(t.t.ChoiceInput,{"data-slot":`questionnaire-choice-input`,className:`absolute inset-0 z-10 size-full cursor-pointer opacity-0`}),(0,i.jsxs)(`span`,{"aria-hidden":`true`,"data-slot":`questionnaire-choice-indicator`,className:`border-input group-data-checked/questionnaire-choice:border-primary group-data-checked/questionnaire-choice:bg-primary group-data-checked/questionnaire-choice:text-primary-foreground dark:bg-input/30 dark:group-data-checked/questionnaire-choice:bg-primary pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-[4px] border group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[type=radio]/questionnaire-choice:rounded-full`,children:[(0,i.jsx)(`span`,{"data-slot":`questionnaire-choice-indicator-dot`,className:`bg-primary-foreground hidden size-2 rounded-full group-data-checked/questionnaire-choice:block group-data-[type=checkbox]/questionnaire-choice:hidden`}),(0,i.jsx)(t.Zr,{"data-slot":`questionnaire-choice-indicator-check`,className:`hidden size-3.5 group-data-checked/questionnaire-choice:block group-data-[type=radio]/questionnaire-choice:hidden`})]}),(0,i.jsx)(t.t.ChoiceLabel,{"data-slot":`questionnaire-choice-label`,className:`flex min-w-0 flex-1 flex-col gap-0.5 leading-snug`,children:e}),(0,i.jsx)(t.t.ChoiceShortcut,{"data-slot":`questionnaire-choice-shortcut`,className:`border-input bg-background text-muted-foreground pointer-events-none ms-auto hidden size-5 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-md border font-mono text-[0.625rem] leading-none font-medium group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[shortcut]/questionnaire-choice:inline-flex`})]})}function f({className:e,...n}){return(0,i.jsx)(`span`,{"data-slot":`questionnaire-choice-description`,className:t.ei(`text-muted-foreground`,e),...n})}function p({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`questionnaire-input-wrapper`,className:`group/questionnaire-input relative w-full min-w-0`,children:(0,i.jsx)(t.t.Input,{"data-slot":`questionnaire-input`,className:t.ei(`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),...n})})}function m({className:e,...n}){return(0,i.jsx)(t.t.Error,{"data-slot":`questionnaire-error`,className:t.ei(`text-destructive mt-2 text-sm`,e),...n})}function h({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`questionnaire-actions`,className:t.ei(`grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2 sm:min-h-8`,e),...n})}function g({children:e,className:r,size:a=`default`,variant:o=`outline`,...s}){return(0,i.jsx)(t.t.Previous,{"data-slot":`questionnaire-previous`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-1 row-start-1 min-h-11 justify-self-start sm:min-h-0`,r),...s,children:e??`Previous`})}function _({children:e,className:r,size:a=`default`,variant:o=`outline`,...s}){return(0,i.jsx)(t.t.Skip,{"data-slot":`questionnaire-skip`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-2 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Skip`})}function v({children:e,className:r,size:a=`default`,variant:o=`default`,...s}){return(0,i.jsx)(t.t.Next,{"data-slot":`questionnaire-next`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Next`})}function y({children:e,className:r,size:a=`default`,variant:o=`default`,...s}){return(0,i.jsx)(t.t.Submit,{"data-slot":`questionnaire-submit`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Submit`})}exports.Questionnaire=a,exports.QuestionnaireActions=h,exports.QuestionnaireChoice=d,exports.QuestionnaireChoiceDescription=f,exports.QuestionnaireChoices=u,exports.QuestionnaireDescription=l,exports.QuestionnaireError=m,exports.QuestionnaireInput=p,exports.QuestionnaireItem=s,exports.QuestionnaireNext=v,exports.QuestionnairePrevious=g,exports.QuestionnaireProgress=o,exports.QuestionnaireSkip=_,exports.QuestionnaireSubmit=y,exports.QuestionnaireTitle=c;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./vendor-Ceu--gxM.js"),n=require("./button.cjs");let r=require("react");r=e.r(r);var i=t.Ar();function a({className:e,...n}){return(0,i.jsx)(t.t.Root,{"data-slot":`questionnaire`,className:t.ei(`flex w-full min-w-0 flex-col gap-4`,e),...n})}function o({className:e,...n}){return(0,i.jsx)(t.t.Progress,{"data-slot":`questionnaire-progress`,className:t.ei(`text-muted-foreground min-h-[1lh] w-fit min-w-[14ch] text-xs font-medium tabular-nums`,e),...n})}function s({className:e,...n}){return(0,i.jsx)(t.t.Item,{"data-slot":`questionnaire-item`,className:t.ei(`flex min-w-0 flex-col gap-4 border-0 p-0 outline-none`,e),...n})}function c({className:e,...n}){return(0,i.jsx)(t.t.Title,{"data-slot":`questionnaire-title`,className:t.ei(`text-base leading-snug font-medium text-pretty [&:not(:has(~[data-slot=questionnaire-description]))]:mb-4`,e),...n})}function l({className:e,...n}){return(0,i.jsx)(t.t.Description,{"data-slot":`questionnaire-description`,className:t.ei(`text-muted-foreground text-sm text-pretty`,e),...n})}function u({className:e,...n}){return(0,i.jsx)(t.t.Choices,{"data-slot":`questionnaire-choices`,className:t.ei(`group/questionnaire-choices grid min-w-0 gap-2`,e),...n})}function d({children:e,className:n,...r}){return(0,i.jsxs)(t.t.Choice,{"data-slot":`questionnaire-choice`,className:t.ei(`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),...r,children:[(0,i.jsx)(t.t.ChoiceInput,{"data-slot":`questionnaire-choice-input`,className:`absolute inset-0 z-10 size-full cursor-pointer opacity-0`}),(0,i.jsxs)(`span`,{"aria-hidden":`true`,"data-slot":`questionnaire-choice-indicator`,className:`border-input group-data-checked/questionnaire-choice:border-primary group-data-checked/questionnaire-choice:bg-primary group-data-checked/questionnaire-choice:text-primary-foreground dark:bg-input/30 dark:group-data-checked/questionnaire-choice:bg-primary pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-[4px] border group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[type=radio]/questionnaire-choice:rounded-full`,children:[(0,i.jsx)(`span`,{"data-slot":`questionnaire-choice-indicator-dot`,className:`bg-primary-foreground hidden size-2 rounded-full group-data-checked/questionnaire-choice:block group-data-[type=checkbox]/questionnaire-choice:hidden`}),(0,i.jsx)(t.Zr,{"data-slot":`questionnaire-choice-indicator-check`,className:`hidden size-3.5 group-data-checked/questionnaire-choice:block group-data-[type=radio]/questionnaire-choice:hidden`})]}),(0,i.jsx)(t.t.ChoiceLabel,{"data-slot":`questionnaire-choice-label`,className:`flex min-w-0 flex-1 flex-col gap-0.5 leading-snug`,children:e}),(0,i.jsx)(t.t.ChoiceShortcut,{"data-slot":`questionnaire-choice-shortcut`,className:`border-input bg-background text-muted-foreground pointer-events-none ms-auto hidden size-5 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-md border font-mono text-[0.625rem] leading-none font-medium group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[shortcut]/questionnaire-choice:inline-flex`})]})}function f({className:e,...n}){return(0,i.jsx)(`span`,{"data-slot":`questionnaire-choice-description`,className:t.ei(`text-muted-foreground`,e),...n})}function p({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`questionnaire-input-wrapper`,className:`group/questionnaire-input relative w-full min-w-0`,children:(0,i.jsx)(t.t.Input,{"data-slot":`questionnaire-input`,className:t.ei(`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),...n})})}function m({className:e,...n}){return(0,i.jsx)(t.t.Error,{"data-slot":`questionnaire-error`,className:t.ei(`text-destructive mt-2 text-sm`,e),...n})}function h({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`questionnaire-actions`,className:t.ei(`grid min-h-11 w-full grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-2 sm:min-h-8`,e),...n})}function g({children:e,className:r,size:a=`default`,variant:o=`outline`,...s}){return(0,i.jsx)(t.t.Previous,{"data-slot":`questionnaire-previous`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-1 row-start-1 min-h-11 justify-self-start sm:min-h-0`,r),...s,children:e??`Previous`})}function _({children:e,className:r,size:a=`default`,variant:o=`outline`,...s}){return(0,i.jsx)(t.t.Skip,{"data-slot":`questionnaire-skip`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-2 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Skip`})}function v({children:e,className:r,size:a=`default`,variant:o=`default`,...s}){return(0,i.jsx)(t.t.Next,{"data-slot":`questionnaire-next`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Next`})}function y({children:e,className:r,size:a=`default`,variant:o=`default`,...s}){return(0,i.jsx)(t.t.Submit,{"data-slot":`questionnaire-submit`,"data-size":a,"data-variant":o,className:t.ei(n.buttonVariants({size:a,variant:o}),`col-start-3 row-start-1 min-h-11 justify-self-end sm:min-h-0`,r),...s,children:e??`Submit`})}exports.Questionnaire=a,exports.QuestionnaireActions=h,exports.QuestionnaireChoice=d,exports.QuestionnaireChoiceDescription=f,exports.QuestionnaireChoices=u,exports.QuestionnaireDescription=l,exports.QuestionnaireError=m,exports.QuestionnaireInput=p,exports.QuestionnaireItem=s,exports.QuestionnaireNext=v,exports.QuestionnairePrevious=g,exports.QuestionnaireProgress=o,exports.QuestionnaireSkip=_,exports.QuestionnaireSubmit=y,exports.QuestionnaireTitle=c;
2
2
  //# sourceMappingURL=questionnaire.cjs.map