@gv-tech/design-system 2.20.0 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. package/dist/accordion.cjs +2 -2
  2. package/dist/accordion.cjs.map +1 -1
  3. package/dist/accordion.d.ts +2 -34
  4. package/dist/accordion.mjs +35 -38
  5. package/dist/accordion.mjs.map +1 -1
  6. package/dist/alert-dialog.cjs +2 -2
  7. package/dist/alert-dialog.cjs.map +1 -1
  8. package/dist/alert-dialog.d.ts +2 -74
  9. package/dist/alert-dialog.mjs +55 -69
  10. package/dist/alert-dialog.mjs.map +1 -1
  11. package/dist/alert.cjs +2 -2
  12. package/dist/alert.cjs.map +1 -1
  13. package/dist/alert.d.ts +2 -29
  14. package/dist/alert.mjs +36 -32
  15. package/dist/alert.mjs.map +1 -1
  16. package/dist/aspect-ratio.cjs +2 -2
  17. package/dist/aspect-ratio.cjs.map +1 -1
  18. package/dist/aspect-ratio.d.ts +2 -14
  19. package/dist/aspect-ratio.mjs +8 -6
  20. package/dist/aspect-ratio.mjs.map +1 -1
  21. package/dist/avatar.cjs +2 -2
  22. package/dist/avatar.cjs.map +1 -1
  23. package/dist/avatar.d.ts +2 -26
  24. package/dist/avatar.mjs +27 -29
  25. package/dist/avatar.mjs.map +1 -1
  26. package/dist/badge.cjs +2 -2
  27. package/dist/badge.cjs.map +1 -1
  28. package/dist/badge.d.ts +2 -21
  29. package/dist/badge.mjs +23 -25
  30. package/dist/badge.mjs.map +1 -1
  31. package/dist/breadcrumb.cjs +2 -2
  32. package/dist/breadcrumb.cjs.map +1 -1
  33. package/dist/breadcrumb.d.ts +2 -62
  34. package/dist/breadcrumb.mjs +60 -67
  35. package/dist/breadcrumb.mjs.map +1 -1
  36. package/dist/button.cjs +2 -2
  37. package/dist/button.cjs.map +1 -1
  38. package/dist/button.d.ts +2 -22
  39. package/dist/button.mjs +40 -39
  40. package/dist/button.mjs.map +1 -1
  41. package/dist/calendar.cjs +2 -2
  42. package/dist/calendar.cjs.map +1 -1
  43. package/dist/calendar.d.ts +2 -36
  44. package/dist/calendar.mjs +94 -130
  45. package/dist/calendar.mjs.map +1 -1
  46. package/dist/card.cjs +2 -2
  47. package/dist/card.cjs.map +1 -1
  48. package/dist/card.d.ts +2 -23
  49. package/dist/card.mjs +44 -33
  50. package/dist/card.mjs.map +1 -1
  51. package/dist/carousel.cjs +2 -2
  52. package/dist/carousel.cjs.map +1 -1
  53. package/dist/carousel.d.ts +2 -78
  54. package/dist/carousel.mjs +113 -151
  55. package/dist/carousel.mjs.map +1 -1
  56. package/dist/chart.cjs +5 -5
  57. package/dist/chart.cjs.map +1 -1
  58. package/dist/chart.d.ts +2 -90
  59. package/dist/chart.mjs +124 -182
  60. package/dist/chart.mjs.map +1 -1
  61. package/dist/checkbox.cjs +2 -2
  62. package/dist/checkbox.cjs.map +1 -1
  63. package/dist/checkbox.d.ts +2 -17
  64. package/dist/checkbox.mjs +19 -22
  65. package/dist/checkbox.mjs.map +1 -1
  66. package/dist/collapsible.cjs +2 -2
  67. package/dist/collapsible.cjs.map +1 -1
  68. package/dist/collapsible.d.ts +2 -32
  69. package/dist/collapsible.mjs +8 -8
  70. package/dist/collapsible.mjs.map +1 -1
  71. package/dist/command.cjs +2 -2
  72. package/dist/command.cjs.map +1 -1
  73. package/dist/command.d.ts +2 -133
  74. package/dist/command.mjs +80 -86
  75. package/dist/command.mjs.map +1 -1
  76. package/dist/context-menu.cjs +2 -2
  77. package/dist/context-menu.cjs.map +1 -1
  78. package/dist/context-menu.d.ts +2 -115
  79. package/dist/context-menu.mjs +72 -124
  80. package/dist/context-menu.mjs.map +1 -1
  81. package/dist/design-system.css +3 -1
  82. package/dist/dialog.cjs +2 -2
  83. package/dist/dialog.cjs.map +1 -1
  84. package/dist/dialog.d.ts +2 -31
  85. package/dist/dialog.mjs +50 -65
  86. package/dist/dialog.mjs.map +1 -1
  87. package/dist/drawer.cjs +2 -2
  88. package/dist/drawer.cjs.map +1 -1
  89. package/dist/drawer.d.ts +2 -79
  90. package/dist/drawer.mjs +49 -54
  91. package/dist/drawer.mjs.map +1 -1
  92. package/dist/dropdown-menu.cjs +2 -2
  93. package/dist/dropdown-menu.cjs.map +1 -1
  94. package/dist/dropdown-menu.d.ts +2 -124
  95. package/dist/dropdown-menu.mjs +73 -126
  96. package/dist/dropdown-menu.mjs.map +1 -1
  97. package/dist/form.cjs +2 -2
  98. package/dist/form.cjs.map +1 -1
  99. package/dist/form.d.ts +2 -62
  100. package/dist/form.mjs +75 -65
  101. package/dist/form.mjs.map +1 -1
  102. package/dist/hover-card.cjs +2 -2
  103. package/dist/hover-card.cjs.map +1 -1
  104. package/dist/hover-card.d.ts +2 -30
  105. package/dist/hover-card.mjs +17 -23
  106. package/dist/hover-card.mjs.map +1 -1
  107. package/dist/index.cjs +1 -2
  108. package/dist/index.d.ts +2 -2442
  109. package/dist/index.mjs +56 -430
  110. package/dist/input.cjs +2 -2
  111. package/dist/input.cjs.map +1 -1
  112. package/dist/input.d.ts +2 -14
  113. package/dist/input.mjs +16 -20
  114. package/dist/input.mjs.map +1 -1
  115. package/dist/label.cjs +2 -2
  116. package/dist/label.cjs.map +1 -1
  117. package/dist/label.d.ts +2 -14
  118. package/dist/label.mjs +14 -8
  119. package/dist/label.mjs.map +1 -1
  120. package/dist/menubar.cjs +2 -2
  121. package/dist/menubar.cjs.map +1 -1
  122. package/dist/menubar.d.ts +2 -125
  123. package/dist/menubar.mjs +101 -156
  124. package/dist/menubar.mjs.map +1 -1
  125. package/dist/navigation-menu.cjs +2 -2
  126. package/dist/navigation-menu.cjs.map +1 -1
  127. package/dist/navigation-menu.d.ts +2 -77
  128. package/dist/navigation-menu.mjs +58 -96
  129. package/dist/navigation-menu.mjs.map +1 -1
  130. package/dist/packages/design-tokens/src/index.d.ts +91 -0
  131. package/dist/packages/design-tokens/src/palette.d.ts +31 -0
  132. package/dist/packages/design-tokens/src/preset.d.ts +107 -0
  133. package/dist/packages/design-tokens/src/radii.d.ts +20 -0
  134. package/dist/packages/design-tokens/src/shadows.d.ts +11 -0
  135. package/dist/packages/design-tokens/src/spacing.d.ts +29 -0
  136. package/dist/packages/design-tokens/src/theme.d.ts +47 -0
  137. package/dist/packages/design-tokens/src/typography.d.ts +32 -0
  138. package/dist/packages/ui-core/src/contracts/accordion.d.ts +19 -0
  139. package/dist/packages/ui-core/src/contracts/alert-dialog.d.ts +39 -0
  140. package/dist/packages/ui-core/src/contracts/alert.d.ts +14 -0
  141. package/dist/packages/ui-core/src/contracts/aspect-ratio.d.ts +6 -0
  142. package/dist/packages/ui-core/src/contracts/avatar.d.ts +14 -0
  143. package/dist/packages/ui-core/src/contracts/badge.d.ts +6 -0
  144. package/dist/packages/ui-core/src/contracts/breadcrumb.d.ts +30 -0
  145. package/dist/packages/ui-core/src/contracts/button.d.ts +9 -0
  146. package/dist/packages/ui-core/src/contracts/calendar.d.ts +4 -0
  147. package/dist/packages/ui-core/src/contracts/card.d.ts +5 -0
  148. package/dist/packages/ui-core/src/contracts/carousel.d.ts +24 -0
  149. package/dist/packages/ui-core/src/contracts/chart.d.ts +33 -0
  150. package/dist/packages/ui-core/src/contracts/checkbox.d.ts +7 -0
  151. package/dist/packages/ui-core/src/contracts/collapsible.d.ts +18 -0
  152. package/dist/packages/ui-core/src/contracts/command.d.ts +35 -0
  153. package/dist/packages/ui-core/src/contracts/context-menu.d.ts +64 -0
  154. package/dist/packages/ui-core/src/contracts/dialog.d.ts +13 -0
  155. package/dist/packages/ui-core/src/contracts/drawer.d.ts +31 -0
  156. package/dist/packages/ui-core/src/contracts/dropdown-menu.d.ts +73 -0
  157. package/dist/packages/ui-core/src/contracts/form.d.ts +23 -0
  158. package/dist/packages/ui-core/src/contracts/hover-card.d.ts +18 -0
  159. package/dist/packages/ui-core/src/contracts/input.d.ts +5 -0
  160. package/dist/packages/ui-core/src/contracts/label.d.ts +6 -0
  161. package/dist/packages/ui-core/src/contracts/menubar.d.ts +73 -0
  162. package/dist/packages/ui-core/src/contracts/navigation-menu.d.ts +47 -0
  163. package/dist/packages/ui-core/src/contracts/pagination.d.ts +31 -0
  164. package/dist/packages/ui-core/src/contracts/popover.d.ts +24 -0
  165. package/dist/packages/ui-core/src/contracts/progress.d.ts +4 -0
  166. package/dist/packages/ui-core/src/contracts/radio.d.ts +9 -0
  167. package/dist/packages/ui-core/src/contracts/resizable.d.ts +38 -0
  168. package/dist/packages/ui-core/src/contracts/scroll-area.d.ts +13 -0
  169. package/dist/packages/ui-core/src/contracts/scroll-to-top.d.ts +25 -0
  170. package/dist/packages/ui-core/src/contracts/search.d.ts +12 -0
  171. package/dist/packages/ui-core/src/contracts/select.d.ts +54 -0
  172. package/dist/packages/ui-core/src/contracts/separator.d.ts +5 -0
  173. package/dist/packages/ui-core/src/contracts/sheet.d.ts +48 -0
  174. package/dist/packages/ui-core/src/contracts/skeleton.d.ts +5 -0
  175. package/dist/packages/ui-core/src/contracts/slider.d.ts +15 -0
  176. package/dist/packages/ui-core/src/contracts/sonner.d.ts +15 -0
  177. package/dist/packages/ui-core/src/contracts/switch.d.ts +11 -0
  178. package/dist/packages/ui-core/src/contracts/table-of-contents.d.ts +41 -0
  179. package/dist/packages/ui-core/src/contracts/table.d.ts +33 -0
  180. package/dist/packages/ui-core/src/contracts/tabs.d.ts +27 -0
  181. package/dist/packages/ui-core/src/contracts/text.d.ts +6 -0
  182. package/dist/packages/ui-core/src/contracts/textarea.d.ts +7 -0
  183. package/dist/packages/ui-core/src/contracts/theme-provider.d.ts +13 -0
  184. package/dist/packages/ui-core/src/contracts/theme-toggle.d.ts +15 -0
  185. package/dist/packages/ui-core/src/contracts/toast.d.ts +10 -0
  186. package/dist/packages/ui-core/src/contracts/toaster.d.ts +3 -0
  187. package/dist/packages/ui-core/src/contracts/toggle-group.d.ts +21 -0
  188. package/dist/packages/ui-core/src/contracts/toggle.d.ts +29 -0
  189. package/dist/packages/ui-core/src/contracts/tooltip.d.ts +24 -0
  190. package/dist/packages/ui-core/src/index.d.ts +56 -0
  191. package/dist/packages/ui-web/src/accordion.d.ts +9 -0
  192. package/dist/packages/ui-web/src/accordion.test.d.ts +1 -0
  193. package/dist/packages/ui-web/src/alert-dialog.d.ts +22 -0
  194. package/dist/packages/ui-web/src/alert-dialog.test.d.ts +1 -0
  195. package/dist/packages/ui-web/src/alert.d.ts +11 -0
  196. package/dist/packages/ui-web/src/alert.test.d.ts +1 -0
  197. package/dist/packages/ui-web/src/aspect-ratio.d.ts +6 -0
  198. package/dist/packages/ui-web/src/aspect-ratio.test.d.ts +1 -0
  199. package/dist/packages/ui-web/src/avatar.d.ts +8 -0
  200. package/dist/packages/ui-web/src/avatar.test.d.ts +1 -0
  201. package/dist/packages/ui-web/src/badge.d.ts +11 -0
  202. package/dist/packages/ui-web/src/badge.test.d.ts +1 -0
  203. package/dist/packages/ui-web/src/breadcrumb.d.ts +19 -0
  204. package/dist/packages/ui-web/src/button.d.ts +13 -0
  205. package/dist/packages/ui-web/src/button.test.d.ts +1 -0
  206. package/dist/packages/ui-web/src/calendar.d.ts +10 -0
  207. package/dist/packages/ui-web/src/calendar.test.d.ts +1 -0
  208. package/dist/packages/ui-web/src/card.d.ts +11 -0
  209. package/dist/packages/ui-web/src/card.test.d.ts +1 -0
  210. package/dist/packages/ui-web/src/carousel.d.ts +24 -0
  211. package/dist/packages/ui-web/src/carousel.test.d.ts +1 -0
  212. package/dist/packages/ui-web/src/chart.d.ts +16 -0
  213. package/dist/packages/ui-web/src/chart.test.d.ts +1 -0
  214. package/dist/packages/ui-web/src/checkbox.d.ts +7 -0
  215. package/dist/packages/ui-web/src/checkbox.test.d.ts +1 -0
  216. package/dist/packages/ui-web/src/collapsible.d.ts +8 -0
  217. package/dist/packages/ui-web/src/collapsible.test.d.ts +1 -0
  218. package/dist/packages/ui-web/src/command.d.ts +82 -0
  219. package/dist/packages/ui-web/src/command.test.d.ts +1 -0
  220. package/dist/packages/ui-web/src/context-menu.d.ts +23 -0
  221. package/dist/packages/ui-web/src/context-menu.test.d.ts +1 -0
  222. package/dist/packages/ui-web/src/dialog.d.ts +19 -0
  223. package/dist/packages/ui-web/src/dialog.test.d.ts +1 -0
  224. package/dist/packages/ui-web/src/drawer.d.ts +25 -0
  225. package/dist/packages/ui-web/src/drawer.test.d.ts +1 -0
  226. package/dist/packages/ui-web/src/dropdown-menu.d.ts +23 -0
  227. package/dist/packages/ui-web/src/dropdown-menu.test.d.ts +1 -0
  228. package/dist/packages/ui-web/src/form.d.ts +26 -0
  229. package/dist/packages/ui-web/src/form.test.d.ts +1 -0
  230. package/dist/packages/ui-web/src/hooks/use-theme.d.ts +51 -0
  231. package/dist/packages/ui-web/src/hooks/use-toast.d.ts +44 -0
  232. package/dist/packages/ui-web/src/hover-card.d.ts +8 -0
  233. package/dist/packages/ui-web/src/hover-card.test.d.ts +1 -0
  234. package/dist/packages/ui-web/src/index.d.ts +107 -0
  235. package/dist/packages/ui-web/src/input.d.ts +6 -0
  236. package/dist/packages/ui-web/src/input.test.d.ts +1 -0
  237. package/dist/packages/ui-web/src/label.d.ts +8 -0
  238. package/dist/packages/ui-web/src/label.test.d.ts +1 -0
  239. package/dist/packages/ui-web/src/lib/utils.d.ts +3 -0
  240. package/dist/packages/ui-web/src/menubar.d.ts +24 -0
  241. package/dist/packages/ui-web/src/menubar.test.d.ts +1 -0
  242. package/dist/packages/ui-web/src/navigation-menu.d.ts +15 -0
  243. package/dist/packages/ui-web/src/navigation-menu.test.d.ts +1 -0
  244. package/dist/packages/ui-web/src/pagination.d.ts +30 -0
  245. package/dist/packages/ui-web/src/pagination.test.d.ts +1 -0
  246. package/dist/packages/ui-web/src/popover.d.ts +9 -0
  247. package/dist/packages/ui-web/src/popover.test.d.ts +1 -0
  248. package/dist/packages/ui-web/src/progress.d.ts +6 -0
  249. package/dist/packages/ui-web/src/progress.test.d.ts +1 -0
  250. package/dist/packages/ui-web/src/radio-group.d.ts +10 -0
  251. package/dist/packages/ui-web/src/radio-group.test.d.ts +1 -0
  252. package/dist/packages/ui-web/src/resizable.d.ts +8 -0
  253. package/dist/packages/ui-web/src/resizable.test.d.ts +1 -0
  254. package/dist/packages/ui-web/src/scroll-area.d.ts +7 -0
  255. package/dist/packages/ui-web/src/scroll-area.test.d.ts +1 -0
  256. package/dist/packages/ui-web/src/scroll-to-top.d.ts +7 -0
  257. package/dist/packages/ui-web/src/scroll-to-top.test.d.ts +1 -0
  258. package/dist/packages/ui-web/src/search.d.ts +7 -0
  259. package/dist/packages/ui-web/src/search.test.d.ts +1 -0
  260. package/dist/packages/ui-web/src/select.d.ts +15 -0
  261. package/dist/packages/ui-web/src/select.test.d.ts +1 -0
  262. package/dist/packages/ui-web/src/separator.d.ts +6 -0
  263. package/dist/packages/ui-web/src/separator.test.d.ts +1 -0
  264. package/dist/packages/ui-web/src/setupTests.d.ts +0 -0
  265. package/dist/packages/ui-web/src/sheet.d.ts +28 -0
  266. package/dist/packages/ui-web/src/sheet.test.d.ts +1 -0
  267. package/dist/packages/ui-web/src/skeleton.d.ts +5 -0
  268. package/dist/packages/ui-web/src/skeleton.test.d.ts +1 -0
  269. package/dist/packages/ui-web/src/slider.d.ts +6 -0
  270. package/dist/packages/ui-web/src/slider.test.d.ts +1 -0
  271. package/dist/packages/ui-web/src/sonner.d.ts +7 -0
  272. package/dist/packages/ui-web/src/sonner.test.d.ts +1 -0
  273. package/dist/packages/ui-web/src/support-fab.d.ts +15 -0
  274. package/dist/packages/ui-web/src/support-fab.test.d.ts +1 -0
  275. package/dist/packages/ui-web/src/switch.d.ts +6 -0
  276. package/dist/packages/ui-web/src/switch.test.d.ts +1 -0
  277. package/dist/packages/ui-web/src/table-of-contents.d.ts +23 -0
  278. package/dist/packages/ui-web/src/table-of-contents.test.d.ts +1 -0
  279. package/dist/packages/ui-web/src/table.d.ts +12 -0
  280. package/dist/packages/ui-web/src/table.test.d.ts +1 -0
  281. package/dist/packages/ui-web/src/tabs.d.ts +9 -0
  282. package/dist/packages/ui-web/src/tabs.test.d.ts +1 -0
  283. package/dist/packages/ui-web/src/text.d.ts +12 -0
  284. package/dist/packages/ui-web/src/text.test.d.ts +1 -0
  285. package/dist/packages/ui-web/src/textarea.d.ts +6 -0
  286. package/dist/packages/ui-web/src/textarea.test.d.ts +1 -0
  287. package/dist/packages/ui-web/src/theme-provider.d.ts +4 -0
  288. package/dist/packages/ui-web/src/theme-toggle.d.ts +3 -0
  289. package/dist/packages/ui-web/src/theme-toggle.test.d.ts +1 -0
  290. package/dist/packages/ui-web/src/toast.d.ts +16 -0
  291. package/dist/packages/ui-web/src/toast.test.d.ts +1 -0
  292. package/dist/packages/ui-web/src/toaster.d.ts +2 -0
  293. package/dist/packages/ui-web/src/toggle-group.d.ts +13 -0
  294. package/dist/packages/ui-web/src/toggle-group.test.d.ts +1 -0
  295. package/dist/packages/ui-web/src/toggle.d.ts +8 -0
  296. package/dist/packages/ui-web/src/toggle.test.d.ts +1 -0
  297. package/dist/packages/ui-web/src/tooltip.d.ts +12 -0
  298. package/dist/pagination.cjs +2 -2
  299. package/dist/pagination.cjs.map +1 -1
  300. package/dist/pagination.d.ts +2 -94
  301. package/dist/pagination.mjs +63 -67
  302. package/dist/pagination.mjs.map +1 -1
  303. package/dist/popover.cjs +2 -2
  304. package/dist/popover.cjs.map +1 -1
  305. package/dist/popover.d.ts +2 -39
  306. package/dist/popover.mjs +17 -24
  307. package/dist/popover.mjs.map +1 -1
  308. package/dist/progress.cjs +2 -2
  309. package/dist/progress.cjs.map +1 -1
  310. package/dist/progress.d.ts +2 -11
  311. package/dist/progress.mjs +19 -23
  312. package/dist/progress.mjs.map +1 -1
  313. package/dist/radio-group.cjs +2 -2
  314. package/dist/radio-group.cjs.map +1 -1
  315. package/dist/radio-group.d.ts +2 -25
  316. package/dist/radio-group.mjs +25 -27
  317. package/dist/radio-group.mjs.map +1 -1
  318. package/dist/resizable.cjs +2 -2
  319. package/dist/resizable.cjs.map +1 -1
  320. package/dist/resizable.d.ts +2 -53
  321. package/dist/resizable.mjs +21 -34
  322. package/dist/resizable.mjs.map +1 -1
  323. package/dist/rolldown-runtime-C0IHAABJ.mjs +23 -0
  324. package/dist/rolldown-runtime-CacfPODE.js +1 -0
  325. package/dist/scroll-area.cjs +2 -2
  326. package/dist/scroll-area.cjs.map +1 -1
  327. package/dist/scroll-area.d.ts +2 -22
  328. package/dist/scroll-area.mjs +31 -30
  329. package/dist/scroll-area.mjs.map +1 -1
  330. package/dist/scroll-to-top.cjs +2 -2
  331. package/dist/scroll-to-top.cjs.map +1 -1
  332. package/dist/scroll-to-top.d.ts +2 -37
  333. package/dist/scroll-to-top.mjs +72 -84
  334. package/dist/scroll-to-top.mjs.map +1 -1
  335. package/dist/search.cjs +2 -2
  336. package/dist/search.cjs.map +1 -1
  337. package/dist/search.d.ts +2 -26
  338. package/dist/search.mjs +54 -63
  339. package/dist/search.mjs.map +1 -1
  340. package/dist/select.cjs +2 -2
  341. package/dist/select.cjs.map +1 -1
  342. package/dist/select.d.ts +2 -87
  343. package/dist/select.mjs +70 -100
  344. package/dist/select.mjs.map +1 -1
  345. package/dist/separator.cjs +2 -2
  346. package/dist/separator.cjs.map +1 -1
  347. package/dist/separator.d.ts +2 -12
  348. package/dist/separator.mjs +17 -18
  349. package/dist/separator.mjs.map +1 -1
  350. package/dist/sheet.cjs +2 -2
  351. package/dist/sheet.cjs.map +1 -1
  352. package/dist/sheet.d.ts +2 -97
  353. package/dist/sheet.mjs +58 -64
  354. package/dist/sheet.mjs.map +1 -1
  355. package/dist/skeleton.cjs +2 -2
  356. package/dist/skeleton.cjs.map +1 -1
  357. package/dist/skeleton.d.ts +2 -11
  358. package/dist/skeleton.mjs +15 -8
  359. package/dist/skeleton.mjs.map +1 -1
  360. package/dist/slider.cjs +2 -2
  361. package/dist/slider.cjs.map +1 -1
  362. package/dist/slider.d.ts +2 -22
  363. package/dist/slider.mjs +19 -20
  364. package/dist/slider.mjs.map +1 -1
  365. package/dist/sonner.cjs +2 -2
  366. package/dist/sonner.cjs.map +1 -1
  367. package/dist/sonner.d.ts +2 -25
  368. package/dist/sonner.mjs +22 -24
  369. package/dist/sonner.mjs.map +1 -1
  370. package/dist/src/index.d.ts +2 -0
  371. package/dist/src/setupTests.d.ts +0 -0
  372. package/dist/src-B8AA-nU4.js +2 -0
  373. package/dist/src-B8AA-nU4.js.map +1 -0
  374. package/dist/src-C65A5RuY.mjs +23 -0
  375. package/dist/src-C65A5RuY.mjs.map +1 -0
  376. package/dist/support-fab.cjs +2 -2
  377. package/dist/support-fab.cjs.map +1 -1
  378. package/dist/support-fab.d.ts +2 -20
  379. package/dist/support-fab.mjs +82 -117
  380. package/dist/support-fab.mjs.map +1 -1
  381. package/dist/switch.cjs +2 -2
  382. package/dist/switch.cjs.map +1 -1
  383. package/dist/switch.d.ts +2 -18
  384. package/dist/switch.mjs +16 -27
  385. package/dist/switch.mjs.map +1 -1
  386. package/dist/table-of-contents.cjs +2 -2
  387. package/dist/table-of-contents.cjs.map +1 -1
  388. package/dist/table-of-contents.d.ts +2 -68
  389. package/dist/table-of-contents.mjs +161 -156
  390. package/dist/table-of-contents.mjs.map +1 -1
  391. package/dist/table.cjs +2 -2
  392. package/dist/table.cjs.map +1 -1
  393. package/dist/table.d.ts +2 -59
  394. package/dist/table.mjs +60 -58
  395. package/dist/table.mjs.map +1 -1
  396. package/dist/tabs.cjs +2 -2
  397. package/dist/tabs.cjs.map +1 -1
  398. package/dist/tabs.d.ts +2 -42
  399. package/dist/tabs.mjs +27 -46
  400. package/dist/tabs.mjs.map +1 -1
  401. package/dist/text.cjs +2 -2
  402. package/dist/text.cjs.map +1 -1
  403. package/dist/text.d.ts +2 -21
  404. package/dist/text.mjs +42 -42
  405. package/dist/text.mjs.map +1 -1
  406. package/dist/textarea.cjs +2 -2
  407. package/dist/textarea.cjs.map +1 -1
  408. package/dist/textarea.d.ts +2 -16
  409. package/dist/textarea.mjs +14 -18
  410. package/dist/textarea.mjs.map +1 -1
  411. package/dist/theme-provider.cjs +2 -2
  412. package/dist/theme-provider.cjs.map +1 -1
  413. package/dist/theme-provider.d.ts +2 -22
  414. package/dist/theme-provider.mjs +17 -8
  415. package/dist/theme-provider.mjs.map +1 -1
  416. package/dist/theme-toggle-B8UiizQB.js +2 -0
  417. package/dist/theme-toggle-B8UiizQB.js.map +1 -0
  418. package/dist/theme-toggle-DoAVRoyO.mjs +321 -0
  419. package/dist/theme-toggle-DoAVRoyO.mjs.map +1 -0
  420. package/dist/theme-toggle.cjs +1 -2
  421. package/dist/theme-toggle.d.ts +2 -23
  422. package/dist/theme-toggle.mjs +3 -9
  423. package/dist/toast.cjs +2 -2
  424. package/dist/toast.cjs.map +1 -1
  425. package/dist/toast.d.ts +2 -26
  426. package/dist/toast.mjs +53 -70
  427. package/dist/toast.mjs.map +1 -1
  428. package/dist/toaster-BgZxvlTL.mjs +128 -0
  429. package/dist/toaster-BgZxvlTL.mjs.map +1 -0
  430. package/dist/toaster-DnZKPR-G.js +2 -0
  431. package/dist/toaster-DnZKPR-G.js.map +1 -0
  432. package/dist/toaster.cjs +1 -2
  433. package/dist/toaster.d.ts +2 -9
  434. package/dist/toaster.mjs +3 -7
  435. package/dist/toggle-group.cjs +2 -2
  436. package/dist/toggle-group.cjs.map +1 -1
  437. package/dist/toggle-group.d.ts +2 -22
  438. package/dist/toggle-group.mjs +39 -37
  439. package/dist/toggle-group.mjs.map +1 -1
  440. package/dist/toggle.cjs +2 -2
  441. package/dist/toggle.cjs.map +1 -1
  442. package/dist/toggle.d.ts +2 -43
  443. package/dist/toggle.mjs +19 -12
  444. package/dist/toggle.mjs.map +1 -1
  445. package/dist/tooltip.cjs +2 -2
  446. package/dist/tooltip.cjs.map +1 -1
  447. package/dist/tooltip.d.ts +2 -48
  448. package/dist/tooltip.mjs +25 -29
  449. package/dist/tooltip.mjs.map +1 -1
  450. package/dist/utils-BtI8Nf6i.mjs +12 -0
  451. package/dist/utils-BtI8Nf6i.mjs.map +1 -0
  452. package/dist/utils-CbSX47LV.js +2 -0
  453. package/dist/utils-CbSX47LV.js.map +1 -0
  454. package/dist/vendor-Cr0eKZrm.mjs +28603 -0
  455. package/dist/vendor-Cr0eKZrm.mjs.map +1 -0
  456. package/dist/vendor-D3ZzLf8D.js +92 -0
  457. package/dist/vendor-D3ZzLf8D.js.map +1 -0
  458. package/package.json +29 -32
  459. package/dist/index.cjs.map +0 -1
  460. package/dist/index.mjs.map +0 -1
  461. package/dist/theme-toggle-BNtYv2Jv.mjs +0 -177
  462. package/dist/theme-toggle-BNtYv2Jv.mjs.map +0 -1
  463. package/dist/theme-toggle-DK_OhDRf.js +0 -2
  464. package/dist/theme-toggle-DK_OhDRf.js.map +0 -1
  465. package/dist/theme-toggle.cjs.map +0 -1
  466. package/dist/theme-toggle.mjs.map +0 -1
  467. package/dist/toaster-Cj_SryBI.mjs +0 -119
  468. package/dist/toaster-Cj_SryBI.mjs.map +0 -1
  469. package/dist/toaster-Q_hzVonm.js +0 -2
  470. package/dist/toaster-Q_hzVonm.js.map +0 -1
  471. package/dist/toaster.cjs.map +0 -1
  472. package/dist/toaster.mjs.map +0 -1
  473. package/dist/toggle-DPMTgo47.mjs +0 -25
  474. package/dist/toggle-DPMTgo47.mjs.map +0 -1
  475. package/dist/toggle-_F_yB_Dj.js +0 -2
  476. package/dist/toggle-_F_yB_Dj.js.map +0 -1
  477. package/dist/utils-Bgpn0CK0.mjs +0 -12
  478. package/dist/utils-Bgpn0CK0.mjs.map +0 -1
  479. package/dist/utils-CBWPs0D7.js +0 -2
  480. package/dist/utils-CBWPs0D7.js.map +0 -1
  481. package/dist/vendor-BQwS7aJt.mjs +0 -25217
  482. package/dist/vendor-BQwS7aJt.mjs.map +0 -1
  483. package/dist/vendor-B_07FHqh.js +0 -68
  484. package/dist/vendor-B_07FHqh.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"popover.cjs","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content?.displayName || 'PopoverContent';\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":"mdAaMA,EAAUC,EAAAA,QAEVC,EAAiBC,EAAAA,UAEjBC,EAAgBC,EAAAA,QAEhBC,EAAiBC,EAAM,WAG3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAA,EAASC,IAC5DC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,SAAAD,EAAAA,kBAAAA,IAACE,EAAAA,WAAA,CACC,IAAAH,EACA,MAAAH,EACA,WAAAC,EACA,UAAWM,EAAAA,GACT,+dACAR,CAAA,EAED,GAAGG,CAAA,CACN,EACF,CACD,EACDL,EAAe,YAAcS,cAA0B,aAAe"}
1
+ {"version":3,"file":"popover.cjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content?.displayName || 'PopoverContent';\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"mappings":"+PAaM,EAAA,EAAA,GAEA,EAAA,EAAA,GAEA,EAAA,EAAA,GAEA,EAAiB,EAAM,YAG1B,CAAE,YAAW,QAAQ,SAAU,aAAa,EAAG,GAAG,GAAS,KAC5D,EAAA,EAAA,KAAA,EAAA,GAAA,CAAA,UACE,EAAA,EAAA,KAAA,EAAA,GAAA,CACO,MACE,QACK,aACZ,UAAW,EAAA,EACT,+dACA,EACD,CACD,GAAI,EACJ,CAAA,CACsB,CAAA,CAC1B,CACF,EAAe,YAAA,EAAA,IAAwC,aAAe"}
package/dist/popover.d.ts CHANGED
@@ -1,39 +1,2 @@
1
- import * as PopoverPrimitive from '@radix-ui/react-popover';
2
- import * as React_2 from 'react';
3
-
4
- export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
5
-
6
- export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
7
-
8
- export declare interface PopoverAnchorProps {
9
- children?: React_2.ReactNode;
10
- className?: string;
11
- asChild?: boolean;
12
- }
13
-
14
- export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & PopoverContentProps & React_2.RefAttributes<HTMLDivElement>>;
15
-
16
- export declare interface PopoverContentProps {
17
- children?: React_2.ReactNode;
18
- className?: string;
19
- align?: 'start' | 'center' | 'end';
20
- sideOffset?: number;
21
- }
22
-
23
- export declare interface PopoverProps {
24
- children?: React_2.ReactNode;
25
- defaultOpen?: boolean;
26
- open?: boolean;
27
- onOpenChange?: (open: boolean) => void;
28
- modal?: boolean;
29
- }
30
-
31
- export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
32
-
33
- export declare interface PopoverTriggerProps {
34
- children: React_2.ReactNode;
35
- className?: string;
36
- asChild?: boolean;
37
- }
38
-
39
- export { }
1
+ export * from './packages/ui-web/src/popover'
2
+ export {}
package/dist/popover.mjs CHANGED
@@ -1,25 +1,18 @@
1
1
  "use client";
2
- import { j as o, aw as d, ax as t, ay as i, az as p, aA as m } from "./vendor-BQwS7aJt.mjs";
3
- import * as c from "react";
4
- import { c as l } from "./utils-Bgpn0CK0.mjs";
5
- const v = i, x = m, h = p, f = c.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...s }, n) => /* @__PURE__ */ o.jsx(d, { children: /* @__PURE__ */ o.jsx(
6
- t,
7
- {
8
- ref: n,
9
- align: a,
10
- sideOffset: r,
11
- className: l(
12
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none",
13
- e
14
- ),
15
- ...s
16
- }
17
- ) }));
18
- f.displayName = t?.displayName || "PopoverContent";
19
- export {
20
- v as Popover,
21
- h as PopoverAnchor,
22
- f as PopoverContent,
23
- x as PopoverTrigger
24
- };
25
- //# sourceMappingURL=popover.mjs.map
2
+ "use client";
3
+ import { at as e, it as t, nt as n, rt as r, tt as i, vr as a } from "./vendor-Cr0eKZrm.mjs";
4
+ import { t as o } from "./utils-BtI8Nf6i.mjs";
5
+ import * as s from "react";
6
+ //#region packages/ui-web/src/popover.tsx
7
+ var c = a(), l = t, u = e, d = i, f = s.forwardRef(({ className: e, align: t = "center", sideOffset: i = 4, ...a }, s) => /* @__PURE__ */ (0, c.jsx)(r, { children: /* @__PURE__ */ (0, c.jsx)(n, {
8
+ ref: s,
9
+ align: t,
10
+ sideOffset: i,
11
+ className: o("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none", e),
12
+ ...a
13
+ }) }));
14
+ f.displayName = n?.displayName || "PopoverContent";
15
+ //#endregion
16
+ export { l as Popover, d as PopoverAnchor, f as PopoverContent, u as PopoverTrigger };
17
+
18
+ //# sourceMappingURL=popover.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.mjs","sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content?.displayName || 'PopoverContent';\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"names":["Popover","PopoverPrimitive.Root","PopoverTrigger","PopoverPrimitive.Trigger","PopoverAnchor","PopoverPrimitive.Anchor","PopoverContent","React","className","align","sideOffset","props","ref","jsx","PopoverPrimitive.Portal","PopoverPrimitive.Content","cn"],"mappings":";;;;AAaA,MAAMA,IAAUC,GAEVC,IAAiBC,GAEjBC,IAAgBC,GAEhBC,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,OAAAC,IAAQ,UAAU,YAAAC,IAAa,GAAG,GAAGC,EAAA,GAASC,MAC5DC,gBAAAA,EAAAA,IAACC,GAAA,EACC,UAAAD,gBAAAA,EAAAA;AAAAA,EAACE;AAAAA,EAAA;AAAA,IACC,KAAAH;AAAA,IACA,OAAAH;AAAA,IACA,YAAAC;AAAA,IACA,WAAWM;AAAA,MACT;AAAA,MACAR;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDL,EAAe,cAAcS,GAA0B,eAAe;"}
1
+ {"version":3,"file":"popover.mjs","names":[],"sources":["../packages/ui-web/src/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport * as React from 'react';\n\nimport {\n PopoverAnchorBaseProps,\n PopoverBaseProps,\n PopoverContentBaseProps,\n PopoverTriggerBaseProps,\n} from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & PopoverContentBaseProps\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border p-4 shadow-md outline-none',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content?.displayName || 'PopoverContent';\n\nexport { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };\nexport type {\n PopoverAnchorBaseProps as PopoverAnchorProps,\n PopoverContentBaseProps as PopoverContentProps,\n PopoverBaseProps as PopoverProps,\n PopoverTriggerBaseProps as PopoverTriggerProps,\n};\n"],"mappings":";;;;;;aAaM,IAAU,GAEV,IAAiB,GAEjB,IAAgB,GAEhB,IAAiB,EAAM,YAG1B,EAAE,cAAW,WAAQ,UAAU,gBAAa,GAAG,GAAG,KAAS,MAC5D,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,GAAD;CACO;CACE;CACK;CACZ,WAAW,EACT,geACA,EACD;CACD,GAAI;CACJ,CAAA,EACsB,CAAA,CAC1B;AACF,EAAe,cAAA,GAAwC,eAAe"}
package/dist/progress.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./vendor-B_07FHqh.js"),l=require("react"),a=require("./utils-CBWPs0D7.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=i(l),n=c.forwardRef(({className:e,value:t,...r},s)=>o.jsxRuntimeExports.jsx(o.Root$4,{ref:s,className:a.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),value:t,...r,children:o.jsxRuntimeExports.jsx(o.Indicator$1,{className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));n.displayName=o.Root$4?.displayName||"Progress";exports.Progress=n;
2
- //# sourceMappingURL=progress.cjs.map
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=r.forwardRef(({className:e,value:r,...a},o)=>(0,i.jsx)(t.et,{ref:o,className:n.t(`bg-primary/20 relative h-2 w-full overflow-hidden rounded-full`,e),value:r,...a,children:(0,i.jsx)(t.$,{className:`bg-primary h-full w-full flex-1 transition-all`,style:{transform:`translateX(-${100-(r||0)}%)`}})}));a.displayName=t.et?.displayName||`Progress`,exports.Progress=a;
2
+ //# sourceMappingURL=progress.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.cjs","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root?.displayName || 'Progress';\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":"mdAQMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,GAASC,IACjCC,EAAAA,kBAAAA,IAACC,EAAAA,OAAA,CACC,IAAAF,EACA,UAAWG,EAAAA,GAAG,iEAAkEN,CAAS,EACzF,MAAAC,EACC,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACG,EAAAA,YAAA,CACC,UAAU,iDACV,MAAO,CAAE,UAAW,eAAe,KAAON,GAAS,EAAE,IAAA,CAAK,CAAA,CAC5D,CACF,CACD,EACDH,EAAS,YAAcO,UAAwB,aAAe"}
1
+ {"version":3,"file":"progress.cjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root?.displayName || 'Progress';\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"mappings":"+PAQM,EAAW,EAAM,YAGpB,CAAE,YAAW,QAAO,GAAG,GAAS,KACjC,EAAA,EAAA,KAAA,EAAA,GAAA,CACO,MACL,UAAW,EAAA,EAAG,iEAAkE,EAAU,CACnF,QACP,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,EAAA,CACE,UAAU,iDACV,MAAO,CAAE,UAAW,eAAe,KAAO,GAAS,GAAG,IAAK,CAC3D,CAAA,CACqB,CAAA,CACzB,CACF,EAAS,YAAA,EAAA,IAAsC,aAAe"}
@@ -1,11 +1,2 @@
1
- import * as ProgressPrimitive from '@radix-ui/react-progress';
2
- import * as React_2 from 'react';
3
-
4
- export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & ProgressProps & React_2.RefAttributes<HTMLDivElement>>;
5
-
6
- export declare interface ProgressProps {
7
- className?: string;
8
- value?: number | null;
9
- }
10
-
11
- export { }
1
+ export * from './packages/ui-web/src/progress'
2
+ export {}
package/dist/progress.mjs CHANGED
@@ -1,25 +1,21 @@
1
1
  "use client";
2
- import { j as a, aB as s, aC as t } from "./vendor-BQwS7aJt.mjs";
2
+ "use client";
3
+ import { $ as e, et as t, vr as n } from "./vendor-Cr0eKZrm.mjs";
4
+ import { t as r } from "./utils-BtI8Nf6i.mjs";
3
5
  import * as i from "react";
4
- import { c as m } from "./utils-Bgpn0CK0.mjs";
5
- const f = i.forwardRef(({ className: e, value: r, ...l }, o) => /* @__PURE__ */ a.jsx(
6
- s,
7
- {
8
- ref: o,
9
- className: m("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", e),
10
- value: r,
11
- ...l,
12
- children: /* @__PURE__ */ a.jsx(
13
- t,
14
- {
15
- className: "bg-primary h-full w-full flex-1 transition-all",
16
- style: { transform: `translateX(-${100 - (r || 0)}%)` }
17
- }
18
- )
19
- }
20
- ));
21
- f.displayName = s?.displayName || "Progress";
22
- export {
23
- f as Progress
24
- };
25
- //# sourceMappingURL=progress.mjs.map
6
+ //#region packages/ui-web/src/progress.tsx
7
+ var a = n(), o = i.forwardRef(({ className: n, value: i, ...o }, s) => /* @__PURE__ */ (0, a.jsx)(t, {
8
+ ref: s,
9
+ className: r("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", n),
10
+ value: i,
11
+ ...o,
12
+ children: /* @__PURE__ */ (0, a.jsx)(e, {
13
+ className: "bg-primary h-full w-full flex-1 transition-all",
14
+ style: { transform: `translateX(-${100 - (i || 0)}%)` }
15
+ })
16
+ }));
17
+ o.displayName = t?.displayName || "Progress";
18
+ //#endregion
19
+ export { o as Progress };
20
+
21
+ //# sourceMappingURL=progress.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.mjs","sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root?.displayName || 'Progress';\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"names":["Progress","React","className","value","props","ref","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":";;;;AAQA,MAAMA,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGC,KAASC,MACjCC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,kEAAkEN,CAAS;AAAA,IACzF,OAAAC;AAAA,IACC,GAAGC;AAAA,IAEJ,UAAAE,gBAAAA,EAAAA;AAAAA,MAACG;AAAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,OAAO,EAAE,WAAW,eAAe,OAAON,KAAS,EAAE,KAAA;AAAA,MAAK;AAAA,IAAA;AAAA,EAC5D;AACF,CACD;AACDH,EAAS,cAAcO,GAAwB,eAAe;"}
1
+ {"version":3,"file":"progress.mjs","names":[],"sources":["../packages/ui-web/src/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport * as React from 'react';\n\nimport { ProgressBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> & ProgressBaseProps\n>(({ className, value, ...props }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n value={value}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root?.displayName || 'Progress';\n\nexport { Progress };\nexport type { ProgressBaseProps as ProgressProps };\n"],"mappings":";;;;;;aAQM,IAAW,EAAM,YAGpB,EAAE,cAAW,UAAO,GAAG,KAAS,MACjC,iBAAA,GAAA,EAAA,KAAC,GAAD;CACO;CACL,WAAW,EAAG,kEAAkE,EAAU;CACnF;CACP,GAAI;WAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,WAAU;EACV,OAAO,EAAE,WAAW,eAAe,OAAO,KAAS,GAAG,KAAK;EAC3D,CAAA;CACqB,CAAA,CACzB;AACF,EAAS,cAAA,GAAsC,eAAe"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-B_07FHqh.js"),u=require("react"),i=require("./utils-CBWPs0D7.js");function l(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const a=l(u),n=a.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Root2$6,{className:i.cn("grid gap-2",r),...o,ref:t}));n.displayName=e.Root2$6?.displayName||"RadioGroup";const c=a.forwardRef(({className:r,...o},t)=>e.jsxRuntimeExports.jsx(e.Item2$1,{ref:t,className:i.cn("border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",r),...o,children:e.jsxRuntimeExports.jsx(e.Indicator$2,{className:"flex items-center justify-center",children:e.jsxRuntimeExports.jsx(e.Circle,{className:"fill-primary h-3.5 w-3.5"})})}));c.displayName=e.Item2$1?.displayName||"RadioGroupItem";exports.RadioGroup=n;exports.RadioGroupItem=c;
2
- //# sourceMappingURL=radio-group.cjs.map
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=r.forwardRef(({className:e,...r},a)=>(0,i.jsx)(t.Q,{className:n.t(`grid gap-2`,e),...r,ref:a}));a.displayName=t.Q?.displayName||`RadioGroup`;var o=r.forwardRef(({className:e,...r},a)=>(0,i.jsx)(t.Z,{ref:a,className:n.t(`border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50`,e),...r,children:(0,i.jsx)(t.X,{className:`flex items-center justify-center`,children:(0,i.jsx)(t.tr,{className:`fill-primary h-3.5 w-3.5`})})}));o.displayName=t.Z?.displayName||`RadioGroupItem`,exports.RadioGroup=a,exports.RadioGroupItem=o;
2
+ //# sourceMappingURL=radio-group.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.cjs","sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["'use client';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root?.displayName || 'RadioGroup';\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item?.displayName || 'RadioGroupItem';\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive.Root","cn","RadioGroupItem","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","Circle"],"mappings":"mdAWMA,EAAaC,EAAM,WACvB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IACjBC,wBAACC,EAAAA,QAAA,CAAyB,UAAWC,EAAAA,GAAG,aAAcL,CAAS,EAAI,GAAGC,EAAO,IAAAC,EAAU,CAElG,EACAJ,EAAW,YAAcM,WAA0B,aAAe,aAKlE,MAAME,EAAiBP,EAAM,WAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAEtBC,EAAAA,kBAAAA,IAACI,EAAAA,QAAA,CACC,IAAAL,EACA,UAAWG,EAAAA,GACT,+LACAL,CAAA,EAED,GAAGC,EAEJ,SAAAE,EAAAA,kBAAAA,IAACK,cAAA,CAA8B,UAAU,mCACvC,SAAAL,EAAAA,kBAAAA,IAACM,EAAAA,OAAA,CAAO,UAAU,0BAAA,CAA2B,CAAA,CAC/C,CAAA,CAAA,CAIR,EACAH,EAAe,YAAcC,WAA0B,aAAe"}
1
+ {"version":3,"file":"radio-group.cjs","names":[],"sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["'use client';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root?.displayName || 'RadioGroup';\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item?.displayName || 'RadioGroupItem';\n\nexport { RadioGroup, RadioGroupItem };\n"],"mappings":"+PAWM,EAAa,EAAM,YACtB,CAAE,YAAW,GAAG,GAAS,KACjB,EAAA,EAAA,KAAA,EAAA,EAAA,CAA0B,UAAW,EAAA,EAAG,aAAc,EAAU,CAAE,GAAI,EAAY,MAAO,CAAA,CAEnG,CACD,EAAW,YAAA,EAAA,GAAwC,aAAe,aAKlE,IAAM,EAAiB,EAAM,YAC1B,CAAE,YAAW,GAAG,GAAS,KAEtB,EAAA,EAAA,KAAA,EAAA,EAAA,CACO,MACL,UAAW,EAAA,EACT,+LACA,EACD,CACD,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,EAAA,CAA+B,UAAU,6CACvC,EAAA,EAAA,KAAC,EAAA,GAAD,CAAQ,UAAU,2BAA6B,CAAA,CACjB,CAAA,CACP,CAAA,CAGhC,CACD,EAAe,YAAA,EAAA,GAAwC,aAAe"}
@@ -1,25 +1,2 @@
1
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
2
- import * as React_2 from 'react';
3
-
4
- export declare const RadioGroup: React_2.ForwardRefExoticComponent<RadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
5
-
6
- declare interface RadioGroupBaseProps {
7
- disabled?: boolean;
8
- className?: string;
9
- }
10
-
11
- export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>>;
12
-
13
- declare interface RadioGroupItemBaseProps {
14
- value: string;
15
- disabled?: boolean;
16
- className?: string;
17
- }
18
-
19
- export declare interface RadioGroupItemProps extends React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {
20
- }
21
-
22
- export declare interface RadioGroupProps extends React_2.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {
23
- }
24
-
25
- export { }
1
+ export * from './packages/ui-web/src/radio-group'
2
+ export {}
@@ -1,28 +1,26 @@
1
1
  "use client";
2
- import { j as a, aD as o, aE as i, aF as l, V as c } from "./vendor-BQwS7aJt.mjs";
3
- import * as t from "react";
4
- import { c as d } from "./utils-Bgpn0CK0.mjs";
5
- const m = t.forwardRef(
6
- ({ className: r, ...e }, s) => /* @__PURE__ */ a.jsx(o, { className: d("grid gap-2", r), ...e, ref: s })
7
- );
8
- m.displayName = o?.displayName || "RadioGroup";
9
- const n = t.forwardRef(
10
- ({ className: r, ...e }, s) => /* @__PURE__ */ a.jsx(
11
- i,
12
- {
13
- ref: s,
14
- className: d(
15
- "border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
16
- r
17
- ),
18
- ...e,
19
- children: /* @__PURE__ */ a.jsx(l, { className: "flex items-center justify-center", children: /* @__PURE__ */ a.jsx(c, { className: "fill-primary h-3.5 w-3.5" }) })
20
- }
21
- )
22
- );
23
- n.displayName = i?.displayName || "RadioGroupItem";
24
- export {
25
- m as RadioGroup,
26
- n as RadioGroupItem
27
- };
28
- //# sourceMappingURL=radio-group.mjs.map
2
+ "use client";
3
+ import { Q as e, X as t, Z as n, tr as r, vr as i } from "./vendor-Cr0eKZrm.mjs";
4
+ import { t as a } from "./utils-BtI8Nf6i.mjs";
5
+ import * as o from "react";
6
+ //#region packages/ui-web/src/radio-group.tsx
7
+ var s = i(), c = o.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ (0, s.jsx)(e, {
8
+ className: a("grid gap-2", t),
9
+ ...n,
10
+ ref: r
11
+ }));
12
+ c.displayName = e?.displayName || "RadioGroup";
13
+ var l = o.forwardRef(({ className: e, ...i }, o) => /* @__PURE__ */ (0, s.jsx)(n, {
14
+ ref: o,
15
+ className: a("border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50", e),
16
+ ...i,
17
+ children: /* @__PURE__ */ (0, s.jsx)(t, {
18
+ className: "flex items-center justify-center",
19
+ children: /* @__PURE__ */ (0, s.jsx)(r, { className: "fill-primary h-3.5 w-3.5" })
20
+ })
21
+ }));
22
+ l.displayName = n?.displayName || "RadioGroupItem";
23
+ //#endregion
24
+ export { c as RadioGroup, l as RadioGroupItem };
25
+
26
+ //# sourceMappingURL=radio-group.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.mjs","sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["'use client';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root?.displayName || 'RadioGroup';\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item?.displayName || 'RadioGroupItem';\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive.Root","cn","RadioGroupItem","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","Circle"],"mappings":";;;;AAWA,MAAMA,IAAaC,EAAM;AAAA,EACvB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACjBC,gBAAAA,MAACC,GAAA,EAAyB,WAAWC,EAAG,cAAcL,CAAS,GAAI,GAAGC,GAAO,KAAAC,GAAU;AAElG;AACAJ,EAAW,cAAcM,GAA0B,eAAe;AAKlE,MAAME,IAAiBP,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAEtBC,gBAAAA,EAAAA;AAAAA,IAACI;AAAAA,IAAA;AAAA,MACC,KAAAL;AAAA,MACA,WAAWG;AAAA,QACT;AAAA,QACAL;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEJ,UAAAE,gBAAAA,EAAAA,IAACK,GAAA,EAA8B,WAAU,oCACvC,UAAAL,gBAAAA,EAAAA,IAACM,GAAA,EAAO,WAAU,2BAAA,CAA2B,EAAA,CAC/C;AAAA,IAAA;AAAA,EAAA;AAIR;AACAH,EAAe,cAAcC,GAA0B,eAAe;"}
1
+ {"version":3,"file":"radio-group.mjs","names":[],"sources":["../packages/ui-web/src/radio-group.tsx"],"sourcesContent":["'use client';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { Circle } from 'lucide-react';\nimport * as React from 'react';\n\nimport type { RadioGroupBaseProps, RadioGroupItemBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface RadioGroupProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, RadioGroupBaseProps {}\n\nconst RadioGroup = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Root>, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={ref} />;\n },\n);\nRadioGroup.displayName = RadioGroupPrimitive.Root?.displayName || 'RadioGroup';\n\nexport interface RadioGroupItemProps\n extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemBaseProps {}\n\nconst RadioGroupItem = React.forwardRef<React.ElementRef<typeof RadioGroupPrimitive.Item>, RadioGroupItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n 'border-primary text-primary focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"fill-primary h-3.5 w-3.5\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n },\n);\nRadioGroupItem.displayName = RadioGroupPrimitive.Item?.displayName || 'RadioGroupItem';\n\nexport { RadioGroup, RadioGroupItem };\n"],"mappings":";;;;;;aAWM,IAAa,EAAM,YACtB,EAAE,cAAW,GAAG,KAAS,MACjB,iBAAA,GAAA,EAAA,KAAC,GAAD;CAA0B,WAAW,EAAG,cAAc,EAAU;CAAE,GAAI;CAAY;CAAO,CAAA,CAEnG;AACD,EAAW,cAAA,GAAwC,eAAe;AAKlE,IAAM,IAAiB,EAAM,YAC1B,EAAE,cAAW,GAAG,KAAS,MAEtB,iBAAA,GAAA,EAAA,KAAC,GAAD;CACO;CACL,WAAW,EACT,gMACA,EACD;CACD,GAAI;WAEJ,iBAAA,GAAA,EAAA,KAAC,GAAD;EAA+B,WAAU;YACvC,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAQ,WAAU,4BAA6B,CAAA;EACjB,CAAA;CACP,CAAA,CAGhC;AACD,EAAe,cAAA,GAAwC,eAAe"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-B_07FHqh.js"),i=require("./utils-CBWPs0D7.js"),l=({className:t,direction:a,...r})=>e.jsxRuntimeExports.jsx(e.Dt,{orientation:a,className:i.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...r}),n=e.At,s=({withHandle:t,className:a,...r})=>e.jsxRuntimeExports.jsx(e.Ft,{className:i.cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",a),...r,children:t&&e.jsxRuntimeExports.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",children:e.jsxRuntimeExports.jsx(e.GripVertical,{className:"h-2.5 w-2.5"})})});exports.ResizableHandle=s;exports.ResizablePanel=n;exports.ResizablePanelGroup=l;
2
- //# sourceMappingURL=resizable.cjs.map
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=({className:e,direction:r,...a})=>(0,i.jsx)(t.J,{orientation:r,className:n.t(`flex h-full w-full data-[panel-group-direction=vertical]:flex-col`,e),...a}),o=t.Y,s=({withHandle:e,className:r,...a})=>(0,i.jsx)(t.q,{className:n.t(`bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90`,r),...a,children:e&&(0,i.jsx)(`div`,{className:`bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border`,children:(0,i.jsx)(t.Zn,{className:`h-2.5 w-2.5`})})});exports.ResizableHandle=s,exports.ResizablePanel=o,exports.ResizablePanelGroup=a;
2
+ //# sourceMappingURL=resizable.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.cjs","sources":["../packages/ui-web/src/resizable.tsx"],"sourcesContent":["'use client';\n\nimport { GripVertical } from 'lucide-react';\nimport * as React from 'react';\nimport { Group, Panel, Separator } from 'react-resizable-panels';\n\nimport { ResizableHandleBaseProps, ResizablePanelBaseProps, ResizablePanelGroupBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\n// Assuming newer version uses PanelGroup/PanelResizeHandle, but user code used Group/Separator.\n// Let's check if PanelGroup exists, if not fallback to Group.\n// Actually, I should inspect the user's code again.\n// User code:\n// const ResizablePanelGroup = ({ ... }: React.ComponentProps<typeof Group> ...\n// const ResizableHandle = ({ ... }: React.ComponentProps<typeof Separator> ...\n\n// It seems the user is using an older version or a specific version where Group and Separator are the exports.\n// I will align with user's code.\n\nconst ResizablePanelGroup = ({\n className,\n direction,\n ...props\n}: React.ComponentProps<typeof Group> & ResizablePanelGroupBaseProps) => (\n <Group\n orientation={direction}\n className={cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n);\n\nconst ResizablePanel = Panel;\n\nconst ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof Separator> & ResizableHandleBaseProps) => (\n <Separator\n className={cn(\n 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVertical className=\"h-2.5 w-2.5\" />\n </div>\n )}\n </Separator>\n);\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\nexport type {\n ResizableHandleBaseProps as ResizableHandleProps,\n ResizablePanelGroupBaseProps as ResizablePanelGroupProps,\n ResizablePanelBaseProps as ResizablePanelProps,\n};\n"],"names":["ResizablePanelGroup","className","direction","props","jsx","Group","cn","ResizablePanel","Panel","ResizableHandle","withHandle","Separator","GripVertical"],"mappings":"sKAmBMA,EAAsB,CAAC,CAC3B,UAAAC,EACA,UAAAC,EACA,GAAGC,CACL,IACEC,EAAAA,kBAAAA,IAACC,EAAAA,GAAA,CACC,YAAaH,EACb,UAAWI,EAAAA,GAAG,oEAAqEL,CAAS,EAC3F,GAAGE,CAAA,CACN,EAGII,EAAiBC,EAAAA,GAEjBC,EAAkB,CAAC,CACvB,WAAAC,EACA,UAAAT,EACA,GAAGE,CACL,IACEC,EAAAA,kBAAAA,IAACO,EAAAA,GAAA,CACC,UAAWL,EAAAA,GACT,0oBACAL,CAAA,EAED,GAAGE,EAEH,SAAAO,2BACE,MAAA,CAAI,UAAU,4EACb,SAAAN,EAAAA,kBAAAA,IAACQ,EAAAA,aAAA,CAAa,UAAU,aAAA,CAAc,CAAA,CACxC,CAAA,CAEJ"}
1
+ {"version":3,"file":"resizable.cjs","names":[],"sources":["../packages/ui-web/src/resizable.tsx"],"sourcesContent":["'use client';\n\nimport { GripVertical } from 'lucide-react';\nimport * as React from 'react';\nimport { Group, Panel, Separator } from 'react-resizable-panels';\n\nimport { ResizableHandleBaseProps, ResizablePanelBaseProps, ResizablePanelGroupBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\n// Assuming newer version uses PanelGroup/PanelResizeHandle, but user code used Group/Separator.\n// Let's check if PanelGroup exists, if not fallback to Group.\n// Actually, I should inspect the user's code again.\n// User code:\n// const ResizablePanelGroup = ({ ... }: React.ComponentProps<typeof Group> ...\n// const ResizableHandle = ({ ... }: React.ComponentProps<typeof Separator> ...\n\n// It seems the user is using an older version or a specific version where Group and Separator are the exports.\n// I will align with user's code.\n\nconst ResizablePanelGroup = ({\n className,\n direction,\n ...props\n}: React.ComponentProps<typeof Group> & ResizablePanelGroupBaseProps) => (\n <Group\n orientation={direction}\n className={cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n);\n\nconst ResizablePanel = Panel;\n\nconst ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof Separator> & ResizableHandleBaseProps) => (\n <Separator\n className={cn(\n 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVertical className=\"h-2.5 w-2.5\" />\n </div>\n )}\n </Separator>\n);\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\nexport type {\n ResizableHandleBaseProps as ResizableHandleProps,\n ResizablePanelGroupBaseProps as ResizablePanelGroupProps,\n ResizablePanelBaseProps as ResizablePanelProps,\n};\n"],"mappings":"+PAmBM,GAAuB,CAC3B,YACA,YACA,GAAG,MAEH,EAAA,EAAA,KAAC,EAAA,EAAD,CACE,YAAa,EACb,UAAW,EAAA,EAAG,oEAAqE,EAAU,CAC7F,GAAI,EACJ,CAAA,CAGE,EAAiB,EAAA,EAEjB,GAAmB,CACvB,aACA,YACA,GAAG,MAEH,EAAA,EAAA,KAAC,EAAA,EAAD,CACE,UAAW,EAAA,EACT,0oBACA,EACD,CACD,GAAI,WAEH,IACC,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,sFACb,EAAA,EAAA,KAAC,EAAA,GAAD,CAAc,UAAU,cAAgB,CAAA,CACpC,CAAA,CAEE,CAAA"}
@@ -1,53 +1,2 @@
1
- import { Group } from 'react-resizable-panels';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { Panel } from 'react-resizable-panels';
4
- import * as React_2 from 'react';
5
- import { Separator } from 'react-resizable-panels';
6
-
7
- export declare const ResizableHandle: ({ withHandle, className, ...props }: React_2.ComponentProps<typeof Separator> & ResizableHandleProps) => JSX.Element;
8
-
9
- export declare interface ResizableHandleProps {
10
- className?: string;
11
- withHandle?: boolean;
12
- disabled?: boolean;
13
- tagName?: string;
14
- id?: string;
15
- hitAreaMargins?: {
16
- top?: number;
17
- bottom?: number;
18
- left?: number;
19
- right?: number;
20
- };
21
- }
22
-
23
- export declare const ResizablePanel: typeof Panel;
24
-
25
- export declare const ResizablePanelGroup: ({ className, direction, ...props }: React_2.ComponentProps<typeof Group> & ResizablePanelGroupProps) => JSX.Element;
26
-
27
- export declare interface ResizablePanelGroupProps {
28
- children?: React_2.ReactNode;
29
- className?: string;
30
- direction: 'horizontal' | 'vertical';
31
- autoSaveId?: string;
32
- storage?: unknown;
33
- }
34
-
35
- export declare interface ResizablePanelProps {
36
- children?: React_2.ReactNode;
37
- className?: string;
38
- defaultSize?: number;
39
- minSize?: number;
40
- maxSize?: number;
41
- collapsible?: boolean;
42
- collapsedSize?: number;
43
- minPixelSize?: number;
44
- maxPixelSize?: number;
45
- order?: number;
46
- tagName?: string;
47
- id?: string;
48
- onCollapse?: () => void;
49
- onExpand?: () => void;
50
- onResize?: (size: number, prevSize: number | undefined) => void;
51
- }
52
-
53
- export { }
1
+ export * from './packages/ui-web/src/resizable'
2
+ export {}
@@ -1,35 +1,22 @@
1
1
  "use client";
2
- import { aG as l, j as e, aH as n, aI as s, aJ as o } from "./vendor-BQwS7aJt.mjs";
3
- import { c as i } from "./utils-Bgpn0CK0.mjs";
4
- const d = ({
5
- className: a,
6
- direction: t,
7
- ...r
8
- }) => /* @__PURE__ */ e.jsx(
9
- o,
10
- {
11
- orientation: t,
12
- className: i("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", a),
13
- ...r
14
- }
15
- ), p = l, u = ({
16
- withHandle: a,
17
- className: t,
18
- ...r
19
- }) => /* @__PURE__ */ e.jsx(
20
- n,
21
- {
22
- className: i(
23
- "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
24
- t
25
- ),
26
- ...r,
27
- children: a && /* @__PURE__ */ e.jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ e.jsx(s, { className: "h-2.5 w-2.5" }) })
28
- }
29
- );
30
- export {
31
- u as ResizableHandle,
32
- p as ResizablePanel,
33
- d as ResizablePanelGroup
34
- };
35
- //# sourceMappingURL=resizable.mjs.map
2
+ "use client";
3
+ import { J as e, Y as t, Zn as n, q as r, vr as i } from "./vendor-Cr0eKZrm.mjs";
4
+ import { t as a } from "./utils-BtI8Nf6i.mjs";
5
+ import "react";
6
+ //#region packages/ui-web/src/resizable.tsx
7
+ var o = i(), s = ({ className: t, direction: n, ...r }) => /* @__PURE__ */ (0, o.jsx)(e, {
8
+ orientation: n,
9
+ className: a("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", t),
10
+ ...r
11
+ }), c = t, l = ({ withHandle: e, className: t, ...i }) => /* @__PURE__ */ (0, o.jsx)(r, {
12
+ className: a("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90", t),
13
+ ...i,
14
+ children: e && /* @__PURE__ */ (0, o.jsx)("div", {
15
+ className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",
16
+ children: /* @__PURE__ */ (0, o.jsx)(n, { className: "h-2.5 w-2.5" })
17
+ })
18
+ });
19
+ //#endregion
20
+ export { l as ResizableHandle, c as ResizablePanel, s as ResizablePanelGroup };
21
+
22
+ //# sourceMappingURL=resizable.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.mjs","sources":["../packages/ui-web/src/resizable.tsx"],"sourcesContent":["'use client';\n\nimport { GripVertical } from 'lucide-react';\nimport * as React from 'react';\nimport { Group, Panel, Separator } from 'react-resizable-panels';\n\nimport { ResizableHandleBaseProps, ResizablePanelBaseProps, ResizablePanelGroupBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\n// Assuming newer version uses PanelGroup/PanelResizeHandle, but user code used Group/Separator.\n// Let's check if PanelGroup exists, if not fallback to Group.\n// Actually, I should inspect the user's code again.\n// User code:\n// const ResizablePanelGroup = ({ ... }: React.ComponentProps<typeof Group> ...\n// const ResizableHandle = ({ ... }: React.ComponentProps<typeof Separator> ...\n\n// It seems the user is using an older version or a specific version where Group and Separator are the exports.\n// I will align with user's code.\n\nconst ResizablePanelGroup = ({\n className,\n direction,\n ...props\n}: React.ComponentProps<typeof Group> & ResizablePanelGroupBaseProps) => (\n <Group\n orientation={direction}\n className={cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n);\n\nconst ResizablePanel = Panel;\n\nconst ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof Separator> & ResizableHandleBaseProps) => (\n <Separator\n className={cn(\n 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVertical className=\"h-2.5 w-2.5\" />\n </div>\n )}\n </Separator>\n);\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\nexport type {\n ResizableHandleBaseProps as ResizableHandleProps,\n ResizablePanelGroupBaseProps as ResizablePanelGroupProps,\n ResizablePanelBaseProps as ResizablePanelProps,\n};\n"],"names":["ResizablePanelGroup","className","direction","props","jsx","Group","cn","ResizablePanel","Panel","ResizableHandle","withHandle","Separator","GripVertical"],"mappings":";;;AAmBA,MAAMA,IAAsB,CAAC;AAAA,EAC3B,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGC;AACL,MACEC,gBAAAA,EAAAA;AAAAA,EAACC;AAAAA,EAAA;AAAA,IACC,aAAaH;AAAA,IACb,WAAWI,EAAG,qEAAqEL,CAAS;AAAA,IAC3F,GAAGE;AAAA,EAAA;AACN,GAGII,IAAiBC,GAEjBC,IAAkB,CAAC;AAAA,EACvB,YAAAC;AAAA,EACA,WAAAT;AAAA,EACA,GAAGE;AACL,MACEC,gBAAAA,EAAAA;AAAAA,EAACO;AAAAA,EAAA;AAAA,IACC,WAAWL;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEH,UAAAO,2BACE,OAAA,EAAI,WAAU,6EACb,UAAAN,gBAAAA,EAAAA,IAACQ,GAAA,EAAa,WAAU,cAAA,CAAc,EAAA,CACxC;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"resizable.mjs","names":[],"sources":["../packages/ui-web/src/resizable.tsx"],"sourcesContent":["'use client';\n\nimport { GripVertical } from 'lucide-react';\nimport * as React from 'react';\nimport { Group, Panel, Separator } from 'react-resizable-panels';\n\nimport { ResizableHandleBaseProps, ResizablePanelBaseProps, ResizablePanelGroupBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\n// Assuming newer version uses PanelGroup/PanelResizeHandle, but user code used Group/Separator.\n// Let's check if PanelGroup exists, if not fallback to Group.\n// Actually, I should inspect the user's code again.\n// User code:\n// const ResizablePanelGroup = ({ ... }: React.ComponentProps<typeof Group> ...\n// const ResizableHandle = ({ ... }: React.ComponentProps<typeof Separator> ...\n\n// It seems the user is using an older version or a specific version where Group and Separator are the exports.\n// I will align with user's code.\n\nconst ResizablePanelGroup = ({\n className,\n direction,\n ...props\n}: React.ComponentProps<typeof Group> & ResizablePanelGroupBaseProps) => (\n <Group\n orientation={direction}\n className={cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n);\n\nconst ResizablePanel = Panel;\n\nconst ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof Separator> & ResizableHandleBaseProps) => (\n <Separator\n className={cn(\n 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-none data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVertical className=\"h-2.5 w-2.5\" />\n </div>\n )}\n </Separator>\n);\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\nexport type {\n ResizableHandleBaseProps as ResizableHandleProps,\n ResizablePanelGroupBaseProps as ResizablePanelGroupProps,\n ResizablePanelBaseProps as ResizablePanelProps,\n};\n"],"mappings":";;;;;;aAmBM,KAAuB,EAC3B,cACA,cACA,GAAG,QAEH,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,aAAa;CACb,WAAW,EAAG,qEAAqE,EAAU;CAC7F,GAAI;CACJ,CAAA,EAGE,IAAiB,GAEjB,KAAmB,EACvB,eACA,cACA,GAAG,QAEH,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,WAAW,EACT,2oBACA,EACD;CACD,GAAI;WAEH,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAc,WAAU,eAAgB,CAAA;EACpC,CAAA;CAEE,CAAA"}
@@ -0,0 +1,23 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, c = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : a, n)), u = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
19
+ if (typeof require < "u") return require.apply(this, arguments);
20
+ throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
21
+ });
22
+ //#endregion
23
+ export { l as i, s as n, u as r, o as t };
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vendor-B_07FHqh.js"),i=require("react"),s=require("./utils-CBWPs0D7.js");function u(r){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(l,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}return l.default=r,Object.freeze(l)}const c=u(i),n=c.forwardRef(({className:r,children:l,...t},o)=>e.jsxRuntimeExports.jsxs(e.Root$5,{ref:o,className:s.cn("relative overflow-hidden",r),...t,children:[e.jsxRuntimeExports.jsx(e.Viewport$1,{className:"h-full w-full rounded-[inherit]",children:l}),e.jsxRuntimeExports.jsx(a,{}),e.jsxRuntimeExports.jsx(e.Corner,{})]}));n.displayName=e.Root$5?.displayName||"ScrollArea";const a=c.forwardRef(({className:r,orientation:l="vertical",...t},o)=>e.jsxRuntimeExports.jsx(e.ScrollAreaScrollbar,{ref:o,orientation:l,className:s.cn("flex touch-none transition-colors select-none",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...t,children:e.jsxRuntimeExports.jsx(e.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})}));a.displayName=e.ScrollAreaScrollbar?.displayName||"ScrollBar";exports.ScrollArea=n;exports.ScrollBar=a;
2
- //# sourceMappingURL=scroll-area.cjs.map
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=r.forwardRef(({className:e,children:r,...a},s)=>(0,i.jsxs)(t.U,{ref:s,className:n.t(`relative overflow-hidden`,e),...a,children:[(0,i.jsx)(t.K,{className:`h-full w-full rounded-[inherit]`,children:r}),(0,i.jsx)(o,{}),(0,i.jsx)(t.H,{})]}));a.displayName=t.U?.displayName||`ScrollArea`;var o=r.forwardRef(({className:e,orientation:r=`vertical`,...a},o)=>(0,i.jsx)(t.W,{ref:o,orientation:r,className:n.t(`flex touch-none transition-colors select-none`,r===`vertical`&&`h-full w-2.5 border-l border-l-transparent p-[1px]`,r===`horizontal`&&`h-2.5 flex-col border-t border-t-transparent p-[1px]`,e),...a,children:(0,i.jsx)(t.G,{className:`bg-border relative flex-1 rounded-full`})}));o.displayName=t.W?.displayName||`ScrollBar`,exports.ScrollArea=a,exports.ScrollBar=o;
2
+ //# sourceMappingURL=scroll-area.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-area.cjs","sources":["../packages/ui-web/src/scroll-area.tsx"],"sourcesContent":["'use client';\n\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport * as React from 'react';\n\nimport { ScrollAreaBaseProps, ScrollBarBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & ScrollAreaBaseProps\n>(({ className, children, ...props }, ref) => (\n <ScrollAreaPrimitive.Root ref={ref} className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"h-full w-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n));\nScrollArea.displayName = ScrollAreaPrimitive.Root?.displayName || 'ScrollArea';\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar> & ScrollBarBaseProps\n>(({ className, orientation = 'vertical', ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n 'flex touch-none transition-colors select-none',\n orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]',\n orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar?.displayName || 'ScrollBar';\n\nexport { ScrollArea, ScrollBar };\nexport type { ScrollAreaBaseProps as ScrollAreaProps, ScrollBarBaseProps as ScrollBarProps };\n"],"names":["ScrollArea","React","className","children","props","ref","ScrollAreaPrimitive.Root","cn","jsx","ScrollAreaPrimitive.Viewport","ScrollBar","ScrollAreaPrimitive.Corner","orientation","ScrollAreaPrimitive.ScrollAreaScrollbar","ScrollAreaPrimitive.ScrollAreaThumb"],"mappings":"mdAQMA,EAAaC,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,CAAA,EAASC,6BACnCC,EAAAA,OAAA,CAAyB,IAAAD,EAAU,UAAWE,EAAAA,GAAG,2BAA4BL,CAAS,EAAI,GAAGE,EAC5F,SAAA,CAAAI,EAAAA,kBAAAA,IAACC,EAAAA,WAAA,CAA6B,UAAU,kCAAmC,SAAAN,CAAA,CAAS,0BACnFO,EAAA,EAAU,EACXF,EAAAA,kBAAAA,IAACG,EAAAA,OAAA,CAAA,CAA2B,CAAA,EAC9B,CACD,EACDX,EAAW,YAAcM,UAA0B,aAAe,aAElE,MAAMI,EAAYT,EAAM,WAGtB,CAAC,CAAE,UAAAC,EAAW,YAAAU,EAAc,WAAY,GAAGR,GAASC,IACpDG,EAAAA,kBAAAA,IAACK,EAAAA,oBAAA,CACC,IAAAR,EACA,YAAAO,EACA,UAAWL,EAAAA,GACT,gDACAK,IAAgB,YAAc,qDAC9BA,IAAgB,cAAgB,uDAChCV,CAAA,EAED,GAAGE,EAEJ,SAAAI,EAAAA,kBAAAA,IAACM,EAAAA,gBAAA,CAAoC,UAAU,wCAAA,CAAyC,CAAA,CAC1F,CACD,EACDJ,EAAU,YAAcG,uBAAyC,aAAe"}
1
+ {"version":3,"file":"scroll-area.cjs","names":[],"sources":["../packages/ui-web/src/scroll-area.tsx"],"sourcesContent":["'use client';\n\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport * as React from 'react';\n\nimport { ScrollAreaBaseProps, ScrollBarBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & ScrollAreaBaseProps\n>(({ className, children, ...props }, ref) => (\n <ScrollAreaPrimitive.Root ref={ref} className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"h-full w-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n));\nScrollArea.displayName = ScrollAreaPrimitive.Root?.displayName || 'ScrollArea';\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar> & ScrollBarBaseProps\n>(({ className, orientation = 'vertical', ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n 'flex touch-none transition-colors select-none',\n orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]',\n orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n));\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar?.displayName || 'ScrollBar';\n\nexport { ScrollArea, ScrollBar };\nexport type { ScrollAreaBaseProps as ScrollAreaProps, ScrollBarBaseProps as ScrollBarProps };\n"],"mappings":"+PAQM,EAAa,EAAM,YAGtB,CAAE,YAAW,WAAU,GAAG,GAAS,KACpC,EAAA,EAAA,MAAA,EAAA,EAAA,CAA+B,MAAK,UAAW,EAAA,EAAG,2BAA4B,EAAU,CAAE,GAAI,WAA9F,EACE,EAAA,EAAA,KAAA,EAAA,EAAA,CAA8B,UAAU,kCAAmC,WAAwC,CAAA,EACnH,EAAA,EAAA,KAAC,EAAD,EAAa,CAAA,EACb,EAAA,EAAA,KAAA,EAAA,EAAA,EAA8B,CAAA,CACL,GAC3B,CACF,EAAW,YAAA,EAAA,GAAwC,aAAe,aAElE,IAAM,EAAY,EAAM,YAGrB,CAAE,YAAW,cAAc,WAAY,GAAG,GAAS,KACpD,EAAA,EAAA,KAAA,EAAA,EAAA,CACO,MACQ,cACb,UAAW,EAAA,EACT,gDACA,IAAgB,YAAc,qDAC9B,IAAgB,cAAgB,uDAChC,EACD,CACD,GAAI,YAEJ,EAAA,EAAA,KAAA,EAAA,EAAA,CAAqC,UAAU,yCAA2C,CAAA,CAClD,CAAA,CAC1C,CACF,EAAU,YAAA,EAAA,GAAuD,aAAe"}