@gv-tech/ui-web 2.28.0 → 2.29.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 (574) hide show
  1. package/dist/__contracts.d.ts +44 -1
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/accordion-BgbjpZAF.js +1 -0
  4. package/dist/accordion-Bqt-y-u7.mjs +239 -0
  5. package/dist/accordion.cjs +1 -1
  6. package/dist/accordion.d.ts +4 -4
  7. package/dist/accordion.d.ts.map +1 -1
  8. package/dist/accordion.mjs +1 -1
  9. package/dist/alert-dialog-BkUyJb_F.mjs +182 -0
  10. package/dist/alert-dialog-DonbkCSD.js +1 -0
  11. package/dist/alert-dialog.cjs +1 -1
  12. package/dist/alert-dialog.d.ts +12 -12
  13. package/dist/alert-dialog.d.ts.map +1 -1
  14. package/dist/alert-dialog.mjs +1 -1
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.d.ts +4 -4
  17. package/dist/alert.d.ts.map +1 -1
  18. package/dist/alert.mjs +2 -2
  19. package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-C7oBX-p_.mjs} +10 -9
  20. package/dist/aspect-ratio-X3HWxQz0.js +1 -0
  21. package/dist/aspect-ratio.cjs +1 -1
  22. package/dist/aspect-ratio.d.ts +1 -1
  23. package/dist/aspect-ratio.d.ts.map +1 -1
  24. package/dist/aspect-ratio.mjs +1 -1
  25. package/dist/attachment.cjs +1 -0
  26. package/dist/attachment.d.ts +23 -0
  27. package/dist/attachment.d.ts.map +1 -0
  28. package/dist/attachment.mjs +101 -0
  29. package/dist/attachment.test.d.ts +2 -0
  30. package/dist/attachment.test.d.ts.map +1 -0
  31. package/dist/avatar-DTkhTxt7.mjs +133 -0
  32. package/dist/avatar-DhvZbCtI.js +1 -0
  33. package/dist/avatar.cjs +1 -1
  34. package/dist/avatar.d.ts +6 -6
  35. package/dist/avatar.d.ts.map +1 -1
  36. package/dist/avatar.mjs +1 -1
  37. package/dist/badge.cjs +1 -1
  38. package/dist/badge.d.ts +1 -1
  39. package/dist/badge.d.ts.map +1 -1
  40. package/dist/badge.mjs +1 -1
  41. package/dist/breadcrumb.cjs +1 -1
  42. package/dist/breadcrumb.d.ts +7 -7
  43. package/dist/breadcrumb.d.ts.map +1 -1
  44. package/dist/breadcrumb.mjs +25 -25
  45. package/dist/bubble.cjs +1 -0
  46. package/dist/bubble.d.ts +13 -0
  47. package/dist/bubble.d.ts.map +1 -0
  48. package/dist/bubble.mjs +72 -0
  49. package/dist/bubble.test.d.ts +2 -0
  50. package/dist/bubble.test.d.ts.map +1 -0
  51. package/dist/button-group.cjs +1 -1
  52. package/dist/button-group.d.ts +3 -3
  53. package/dist/button-group.d.ts.map +1 -1
  54. package/dist/button-group.mjs +6 -6
  55. package/dist/button.cjs +1 -1
  56. package/dist/button.d.ts +1 -1
  57. package/dist/button.d.ts.map +1 -1
  58. package/dist/button.mjs +6 -6
  59. package/dist/calendar-Bo8kovKR.js +1 -0
  60. package/dist/{calendar-Dg6VGycy.mjs → calendar-CkHWa9Uu.mjs} +825 -803
  61. package/dist/calendar.cjs +1 -1
  62. package/dist/calendar.d.ts +2 -2
  63. package/dist/calendar.d.ts.map +1 -1
  64. package/dist/calendar.mjs +1 -1
  65. package/dist/card.cjs +1 -1
  66. package/dist/card.d.ts +7 -7
  67. package/dist/card.d.ts.map +1 -1
  68. package/dist/card.mjs +5 -5
  69. package/dist/carousel-Cv5isLeg.js +1 -0
  70. package/dist/{carousel-DbDoNdqJ.mjs → carousel-ynaeMNIV.mjs} +53 -53
  71. package/dist/carousel.cjs +1 -1
  72. package/dist/carousel.d.ts +5 -5
  73. package/dist/carousel.d.ts.map +1 -1
  74. package/dist/carousel.mjs +1 -1
  75. package/dist/chart.cjs +1 -1
  76. package/dist/chart.d.ts +4 -4
  77. package/dist/chart.d.ts.map +1 -1
  78. package/dist/chart.mjs +1 -1
  79. package/dist/checkbox-BLvAEmRC.mjs +182 -0
  80. package/dist/checkbox-Dt06B4YW.js +1 -0
  81. package/dist/checkbox.cjs +1 -1
  82. package/dist/checkbox.d.ts +1 -1
  83. package/dist/checkbox.d.ts.map +1 -1
  84. package/dist/checkbox.mjs +1 -1
  85. package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
  86. package/dist/chunk-HBS6WEDP-CzyhzCaP.mjs +63 -0
  87. package/dist/collapsible.cjs +1 -1
  88. package/dist/collapsible.d.ts +3 -3
  89. package/dist/collapsible.d.ts.map +1 -1
  90. package/dist/collapsible.mjs +1 -1
  91. package/dist/combobox-BB_YzCTY.js +4 -0
  92. package/dist/combobox-YxjYGUoe.mjs +5748 -0
  93. package/dist/combobox.cjs +1 -1
  94. package/dist/combobox.d.ts +14 -14
  95. package/dist/combobox.d.ts.map +1 -1
  96. package/dist/combobox.mjs +1 -1
  97. package/dist/command-BqO-CfH6.js +1 -0
  98. package/dist/command-DY6u8V0D.mjs +545 -0
  99. package/dist/command.cjs +1 -1
  100. package/dist/command.d.ts +9 -9
  101. package/dist/command.d.ts.map +1 -1
  102. package/dist/command.mjs +1 -1
  103. package/dist/context-menu-Dad9hs94.js +1 -0
  104. package/dist/context-menu-tL6CY6a0.mjs +318 -0
  105. package/dist/context-menu.cjs +1 -1
  106. package/dist/context-menu.d.ts +15 -15
  107. package/dist/context-menu.d.ts.map +1 -1
  108. package/dist/context-menu.mjs +1 -1
  109. package/dist/dialog.cjs +1 -1
  110. package/dist/dialog.d.ts +10 -10
  111. package/dist/dialog.d.ts.map +1 -1
  112. package/dist/dialog.mjs +25 -25
  113. package/dist/direction.cjs +1 -1
  114. package/dist/direction.d.ts +1 -1
  115. package/dist/direction.d.ts.map +1 -1
  116. package/dist/direction.mjs +1 -1
  117. package/dist/dist-5r7hQmO0.mjs +187 -0
  118. package/dist/dist-6c2NeKfz.mjs +536 -0
  119. package/dist/dist-8fYwoWd4.mjs +111 -0
  120. package/dist/{dist-N3JLy7yk.mjs → dist-9-j0_8D1.mjs} +9 -4
  121. package/dist/dist-BIXhHahX.mjs +30 -0
  122. package/dist/dist-BMl8xXCH.mjs +188 -0
  123. package/dist/dist-BOKg7rhq.js +1 -0
  124. package/dist/dist-BPhn-EOy.mjs +15 -0
  125. package/dist/{dist-Cacc4QIh.mjs → dist-BQhMregZ.mjs} +9 -5
  126. package/dist/dist-BTN2t9yv.js +1 -0
  127. package/dist/dist-BUXpRW9O.mjs +100 -0
  128. package/dist/{dist-xgVOvcNx.mjs → dist-Bivv8B6p.mjs} +8 -3
  129. package/dist/dist-BoNQb2nd.js +1 -0
  130. package/dist/dist-ByW6RHeZ.mjs +94 -0
  131. package/dist/dist-C83rnWRv.js +1 -0
  132. package/dist/dist-C8Pm6LRc.js +1 -0
  133. package/dist/dist-CBsYNwXz.mjs +16 -0
  134. package/dist/dist-CS572Be42.mjs +11 -0
  135. package/dist/dist-CYrqAnIr.mjs +182 -0
  136. package/dist/dist-C_iFkwIX.js +1 -0
  137. package/dist/dist-CdBAkUWT.js +1 -0
  138. package/dist/dist-Cn7g8jD0.js +1 -0
  139. package/dist/dist-D7-Fky36.js +1 -0
  140. package/dist/{dist-C9PlF532.mjs → dist-D7UHN1DJ.mjs} +1 -1
  141. package/dist/dist-DJqkhIXb2.js +1 -0
  142. package/dist/dist-DMwCTE2i.mjs +90 -0
  143. package/dist/dist-DOoZ3vGL.mjs +407 -0
  144. package/dist/dist-DYUvPCPC.js +1 -0
  145. package/dist/dist-DZiOPWLp.js +1 -0
  146. package/dist/dist-DcRkoHAk.js +1 -0
  147. package/dist/dist-DfvK7DpO.mjs +213 -0
  148. package/dist/dist-Dg9ASyqI.mjs +96 -0
  149. package/dist/dist-Dj9s8AIv.js +1 -0
  150. package/dist/dist-Dm3IQk5b.mjs +685 -0
  151. package/dist/dist-DyMv0xk8.mjs +41 -0
  152. package/dist/dist-NEeQKKDZ.js +1 -0
  153. package/dist/dist-N_70prl1.js +1 -0
  154. package/dist/dist-YAADIsyo.js +1 -0
  155. package/dist/dist-dMp9dzmY.mjs +20 -0
  156. package/dist/dist-mHQuNOH-.js +1 -0
  157. package/dist/dist-oyFh63Uq.js +1 -0
  158. package/dist/dist-rx5WaFf5.mjs +20 -0
  159. package/dist/dist-v-Y6tnMq.js +1 -0
  160. package/dist/dist-v9094Auw.js +1 -0
  161. package/dist/dist-yA6iVq_M.js +1 -0
  162. package/dist/drawer.cjs +1 -1
  163. package/dist/drawer.d.ts +10 -10
  164. package/dist/drawer.d.ts.map +1 -1
  165. package/dist/drawer.mjs +2 -2
  166. package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BWqWoYis.mjs} +117 -151
  167. package/dist/dropdown-menu-BpZcobmP.js +1 -0
  168. package/dist/dropdown-menu.cjs +1 -1
  169. package/dist/dropdown-menu.d.ts +15 -15
  170. package/dist/dropdown-menu.d.ts.map +1 -1
  171. package/dist/dropdown-menu.mjs +1 -1
  172. package/dist/empty.cjs +1 -1
  173. package/dist/empty.d.ts +6 -6
  174. package/dist/empty.d.ts.map +1 -1
  175. package/dist/empty.mjs +2 -2
  176. package/dist/{es2015-BhmbVcui.mjs → es2015-CYxXY2oV.mjs} +242 -216
  177. package/dist/es2015-t2RPC0Rg.js +41 -0
  178. package/dist/field.cjs +1 -1
  179. package/dist/field.d.ts +11 -11
  180. package/dist/field.d.ts.map +1 -1
  181. package/dist/field.mjs +4 -4
  182. package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
  183. package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
  184. package/dist/form.cjs +1 -1
  185. package/dist/form.d.ts +6 -4
  186. package/dist/form.d.ts.map +1 -1
  187. package/dist/form.mjs +8 -8
  188. package/dist/hover-card-7NjGqlP0.js +1 -0
  189. package/dist/hover-card-DuRUptxQ.mjs +176 -0
  190. package/dist/hover-card.cjs +1 -1
  191. package/dist/hover-card.d.ts +3 -3
  192. package/dist/hover-card.d.ts.map +1 -1
  193. package/dist/hover-card.mjs +1 -1
  194. package/dist/index.cjs +1 -1
  195. package/dist/index.d.ts +6 -0
  196. package/dist/index.d.ts.map +1 -1
  197. package/dist/index.mjs +40 -34
  198. package/dist/input-group.cjs +1 -1
  199. package/dist/input-group.d.ts +7 -7
  200. package/dist/input-group.d.ts.map +1 -1
  201. package/dist/input-group.mjs +4 -4
  202. package/dist/input-otp-D9MwUsPO.js +20 -0
  203. package/dist/input-otp-m_BTudNY.mjs +409 -0
  204. package/dist/input-otp.cjs +1 -1
  205. package/dist/input-otp.d.ts +4 -4
  206. package/dist/input-otp.d.ts.map +1 -1
  207. package/dist/input-otp.mjs +1 -1
  208. package/dist/input.cjs +1 -1
  209. package/dist/input.d.ts +1 -1
  210. package/dist/input.d.ts.map +1 -1
  211. package/dist/input.mjs +1 -1
  212. package/dist/item.cjs +1 -1
  213. package/dist/item.d.ts +11 -11
  214. package/dist/item.d.ts.map +1 -1
  215. package/dist/item.mjs +4 -4
  216. package/dist/kbd.cjs +1 -1
  217. package/dist/kbd.d.ts +2 -2
  218. package/dist/kbd.d.ts.map +1 -1
  219. package/dist/kbd.mjs +2 -2
  220. package/dist/label-CgKiKHKG.js +1 -0
  221. package/dist/label-DVA-YKpB.mjs +28 -0
  222. package/dist/label.cjs +1 -1
  223. package/dist/label.d.ts +1 -1
  224. package/dist/label.d.ts.map +1 -1
  225. package/dist/label.mjs +1 -1
  226. package/dist/marker.cjs +1 -0
  227. package/dist/marker.d.ts +12 -0
  228. package/dist/marker.d.ts.map +1 -0
  229. package/dist/marker.mjs +40 -0
  230. package/dist/marker.test.d.ts +2 -0
  231. package/dist/marker.test.d.ts.map +1 -0
  232. package/dist/{menubar-BcyqIJgy.mjs → menubar-CyKBLHme.mjs} +130 -166
  233. package/dist/menubar-DlOMZeh1.js +1 -0
  234. package/dist/menubar.cjs +1 -1
  235. package/dist/menubar.d.ts +16 -16
  236. package/dist/menubar.d.ts.map +1 -1
  237. package/dist/menubar.mjs +1 -1
  238. package/dist/message-scroller-DqLu0YI6.js +1 -0
  239. package/dist/message-scroller-FwdKclRM.mjs +824 -0
  240. package/dist/message-scroller.cjs +1 -0
  241. package/dist/message-scroller.d.ts +13 -0
  242. package/dist/message-scroller.d.ts.map +1 -0
  243. package/dist/message-scroller.mjs +3 -0
  244. package/dist/message-scroller.test.d.ts +2 -0
  245. package/dist/message-scroller.test.d.ts.map +1 -0
  246. package/dist/message.cjs +1 -0
  247. package/dist/message.d.ts +11 -0
  248. package/dist/message.d.ts.map +1 -0
  249. package/dist/message.mjs +50 -0
  250. package/dist/message.test.d.ts +2 -0
  251. package/dist/message.test.d.ts.map +1 -0
  252. package/dist/native-select.cjs +1 -1
  253. package/dist/native-select.d.ts +3 -3
  254. package/dist/native-select.d.ts.map +1 -1
  255. package/dist/native-select.mjs +12 -12
  256. package/dist/navigation-menu-BzE1J1rs.mjs +608 -0
  257. package/dist/navigation-menu-CrR01R8Z.js +1 -0
  258. package/dist/navigation-menu.cjs +1 -1
  259. package/dist/navigation-menu.d.ts +8 -8
  260. package/dist/navigation-menu.d.ts.map +1 -1
  261. package/dist/navigation-menu.mjs +1 -1
  262. package/dist/pagination.cjs +1 -1
  263. package/dist/pagination.d.ts +7 -7
  264. package/dist/pagination.d.ts.map +1 -1
  265. package/dist/pagination.mjs +40 -34
  266. package/dist/popover-CFF_HXSf.mjs +222 -0
  267. package/dist/popover-D9pVy08c.js +1 -0
  268. package/dist/popover.cjs +1 -1
  269. package/dist/popover.d.ts +7 -7
  270. package/dist/popover.d.ts.map +1 -1
  271. package/dist/popover.mjs +1 -1
  272. package/dist/progress-ClcVCqjl.mjs +93 -0
  273. package/dist/progress-nfJMuKGj.js +6 -0
  274. package/dist/progress.cjs +1 -1
  275. package/dist/progress.d.ts +1 -1
  276. package/dist/progress.d.ts.map +1 -1
  277. package/dist/progress.mjs +1 -1
  278. package/dist/questionnaire-DKWcZeWT.mjs +1159 -0
  279. package/dist/questionnaire-PWClWvST.js +1 -0
  280. package/dist/questionnaire.cjs +1 -0
  281. package/dist/questionnaire.d.ts +22 -0
  282. package/dist/questionnaire.d.ts.map +1 -0
  283. package/dist/questionnaire.mjs +4 -0
  284. package/dist/questionnaire.test.d.ts +2 -0
  285. package/dist/questionnaire.test.d.ts.map +1 -0
  286. package/dist/radio-group-5VwmCXRK.mjs +265 -0
  287. package/dist/radio-group-DhXnB0fI.js +1 -0
  288. package/dist/radio-group.cjs +1 -1
  289. package/dist/radio-group.d.ts +2 -2
  290. package/dist/radio-group.d.ts.map +1 -1
  291. package/dist/radio-group.mjs +1 -1
  292. package/dist/resizable-ChIqXiu4.js +1 -0
  293. package/dist/{resizable-DJSE3e5L.mjs → resizable-CpovHnG-.mjs} +341 -329
  294. package/dist/resizable.cjs +1 -1
  295. package/dist/resizable.d.ts +3 -3
  296. package/dist/resizable.d.ts.map +1 -1
  297. package/dist/resizable.mjs +1 -1
  298. package/dist/scroll-area-CUqjuvqH.js +1 -0
  299. package/dist/{scroll-area-8QcqkHnC.mjs → scroll-area-DstdIGvS.mjs} +151 -142
  300. package/dist/scroll-area.cjs +1 -1
  301. package/dist/scroll-area.d.ts +2 -2
  302. package/dist/scroll-area.d.ts.map +1 -1
  303. package/dist/scroll-area.mjs +1 -1
  304. package/dist/scroll-to-top.cjs +1 -1
  305. package/dist/scroll-to-top.d.ts +1 -1
  306. package/dist/scroll-to-top.d.ts.map +1 -1
  307. package/dist/scroll-to-top.mjs +11 -11
  308. package/dist/search.cjs +1 -1
  309. package/dist/search.d.ts +1 -1
  310. package/dist/search.d.ts.map +1 -1
  311. package/dist/search.mjs +17 -17
  312. package/dist/select-CnCTQeh7.js +1 -0
  313. package/dist/select-CnHZdna2.mjs +792 -0
  314. package/dist/select.cjs +1 -1
  315. package/dist/select.d.ts +10 -10
  316. package/dist/select.d.ts.map +1 -1
  317. package/dist/select.mjs +1 -1
  318. package/dist/separator-BXaVJadH.js +1 -0
  319. package/dist/separator-D1a8myFf.mjs +38 -0
  320. package/dist/separator.cjs +1 -1
  321. package/dist/separator.d.ts +1 -1
  322. package/dist/separator.d.ts.map +1 -1
  323. package/dist/separator.mjs +1 -1
  324. package/dist/sheet.cjs +1 -1
  325. package/dist/sheet.d.ts +8 -8
  326. package/dist/sheet.d.ts.map +1 -1
  327. package/dist/sheet.mjs +23 -23
  328. package/dist/{sidebar-B-sWccYh.mjs → sidebar-B5q6nH2G.mjs} +64 -64
  329. package/dist/sidebar-ns_2TNBM.js +1 -0
  330. package/dist/sidebar.cjs +1 -1
  331. package/dist/sidebar.d.ts +24 -24
  332. package/dist/sidebar.d.ts.map +1 -1
  333. package/dist/sidebar.mjs +1 -1
  334. package/dist/skeleton.cjs +1 -1
  335. package/dist/skeleton.d.ts +1 -1
  336. package/dist/skeleton.d.ts.map +1 -1
  337. package/dist/skeleton.mjs +1 -1
  338. package/dist/slider-PoIV6N-u.js +1 -0
  339. package/dist/slider-ZnyQjYsS.mjs +460 -0
  340. package/dist/slider.cjs +1 -1
  341. package/dist/slider.d.ts +1 -1
  342. package/dist/slider.d.ts.map +1 -1
  343. package/dist/slider.mjs +1 -1
  344. package/dist/sonner.cjs +1 -1
  345. package/dist/sonner.d.ts +2 -4
  346. package/dist/sonner.d.ts.map +1 -1
  347. package/dist/sonner.mjs +8 -8
  348. package/dist/spinner.cjs +1 -1
  349. package/dist/spinner.d.ts +1 -1
  350. package/dist/spinner.d.ts.map +1 -1
  351. package/dist/spinner.mjs +5 -4
  352. package/dist/support-fab.cjs +1 -1
  353. package/dist/support-fab.d.ts +1 -1
  354. package/dist/support-fab.d.ts.map +1 -1
  355. package/dist/support-fab.mjs +22 -22
  356. package/dist/switch-DLY8PkmL.js +1 -0
  357. package/dist/switch-DagjjAQu.mjs +170 -0
  358. package/dist/switch.cjs +1 -1
  359. package/dist/switch.d.ts +1 -1
  360. package/dist/switch.d.ts.map +1 -1
  361. package/dist/switch.mjs +1 -1
  362. package/dist/table-of-contents.cjs +1 -1
  363. package/dist/table-of-contents.d.ts +4 -3
  364. package/dist/table-of-contents.d.ts.map +1 -1
  365. package/dist/table-of-contents.mjs +2 -2
  366. package/dist/table.cjs +1 -1
  367. package/dist/table.d.ts +8 -8
  368. package/dist/table.d.ts.map +1 -1
  369. package/dist/table.mjs +1 -1
  370. package/dist/tabs-OQ6rj-3B.mjs +158 -0
  371. package/dist/tabs-QBWdNfSK.js +1 -0
  372. package/dist/tabs.cjs +1 -1
  373. package/dist/tabs.d.ts +4 -4
  374. package/dist/tabs.d.ts.map +1 -1
  375. package/dist/tabs.mjs +1 -1
  376. package/dist/textarea.cjs +1 -1
  377. package/dist/textarea.d.ts +1 -1
  378. package/dist/textarea.d.ts.map +1 -1
  379. package/dist/textarea.mjs +1 -1
  380. package/dist/theme-provider.d.ts +1 -1
  381. package/dist/theme-provider.d.ts.map +1 -1
  382. package/dist/{theme-toggle-clE-HpSS.mjs → theme-toggle-BCcH-QtH.mjs} +20 -20
  383. package/dist/theme-toggle-Q3UHstP_.js +1 -0
  384. package/dist/theme-toggle.cjs +1 -1
  385. package/dist/theme-toggle.d.ts +1 -1
  386. package/dist/theme-toggle.d.ts.map +1 -1
  387. package/dist/theme-toggle.mjs +1 -1
  388. package/dist/{toast-DVI6jPq5.mjs → toast-BOdziIGg.mjs} +165 -169
  389. package/dist/toast-D1fjLwO1.js +1 -0
  390. package/dist/toast.cjs +1 -1
  391. package/dist/toast.mjs +1 -1
  392. package/dist/{toaster-Czhz-ktg.mjs → toaster-CKAJ9cht.mjs} +1 -1
  393. package/dist/{toaster-DfDb2-aI.js → toaster-DS9iODKU.js} +1 -1
  394. package/dist/toaster.cjs +1 -1
  395. package/dist/toaster.d.ts +1 -1
  396. package/dist/toaster.d.ts.map +1 -1
  397. package/dist/toaster.mjs +1 -1
  398. package/dist/toggle-CuLxBIWH.mjs +59 -0
  399. package/dist/toggle-DtpvPox_.js +1 -0
  400. package/dist/toggle-group-DfkvPKU_.mjs +164 -0
  401. package/dist/toggle-group-UHY0Tip1.js +1 -0
  402. package/dist/toggle-group.cjs +1 -1
  403. package/dist/toggle-group.d.ts +2 -2
  404. package/dist/toggle-group.d.ts.map +1 -1
  405. package/dist/toggle-group.mjs +1 -1
  406. package/dist/toggle.cjs +1 -1
  407. package/dist/toggle.d.ts +1 -1
  408. package/dist/toggle.d.ts.map +1 -1
  409. package/dist/toggle.mjs +1 -1
  410. package/dist/tooltip-BbCL1gtU.mjs +384 -0
  411. package/dist/tooltip-BvpyStn2.js +1 -0
  412. package/dist/tooltip.cjs +1 -1
  413. package/dist/tooltip.d.ts +4 -4
  414. package/dist/tooltip.d.ts.map +1 -1
  415. package/dist/tooltip.mjs +1 -1
  416. package/package.json +3 -1
  417. package/src/__contracts.ts +163 -0
  418. package/src/accordion.tsx +3 -4
  419. package/src/alert-dialog.tsx +5 -5
  420. package/src/alert.tsx +2 -3
  421. package/src/attachment.tsx +203 -0
  422. package/src/breadcrumb.tsx +3 -4
  423. package/src/bubble.tsx +116 -0
  424. package/src/button-group.tsx +5 -5
  425. package/src/button.tsx +5 -6
  426. package/src/calendar.tsx +6 -5
  427. package/src/card.tsx +5 -5
  428. package/src/carousel.tsx +7 -7
  429. package/src/chart.tsx +1 -4
  430. package/src/checkbox.tsx +3 -4
  431. package/src/combobox.tsx +8 -7
  432. package/src/command.tsx +7 -7
  433. package/src/context-menu.tsx +9 -10
  434. package/src/dialog.tsx +5 -5
  435. package/src/drawer.tsx +2 -3
  436. package/src/dropdown-menu.tsx +9 -10
  437. package/src/empty.tsx +2 -3
  438. package/src/field.tsx +5 -4
  439. package/src/hover-card.tsx +2 -3
  440. package/src/index.ts +54 -0
  441. package/src/input-group.tsx +8 -7
  442. package/src/input-otp.tsx +3 -3
  443. package/src/input.tsx +1 -2
  444. package/src/item.tsx +4 -3
  445. package/src/kbd.tsx +3 -2
  446. package/src/label.tsx +1 -2
  447. package/src/marker.tsx +62 -0
  448. package/src/menubar.tsx +10 -11
  449. package/src/message-scroller.tsx +134 -0
  450. package/src/message.tsx +86 -0
  451. package/src/native-select.tsx +2 -2
  452. package/src/navigation-menu.tsx +7 -8
  453. package/src/pagination.tsx +6 -6
  454. package/src/popover.tsx +2 -3
  455. package/src/progress.tsx +1 -2
  456. package/src/questionnaire.tsx +334 -0
  457. package/src/radio-group.tsx +2 -3
  458. package/src/resizable.tsx +1 -4
  459. package/src/scroll-area.tsx +2 -3
  460. package/src/select.tsx +7 -8
  461. package/src/separator.tsx +3 -4
  462. package/src/sheet.tsx +5 -5
  463. package/src/sidebar.tsx +14 -13
  464. package/src/skeleton.tsx +1 -1
  465. package/src/slider.tsx +4 -5
  466. package/src/sonner.tsx +0 -5
  467. package/src/spinner.tsx +10 -2
  468. package/src/switch.tsx +3 -4
  469. package/src/table-of-contents.tsx +7 -2
  470. package/src/table.tsx +1 -2
  471. package/src/tabs.tsx +8 -9
  472. package/src/textarea.tsx +1 -2
  473. package/src/toggle-group.tsx +4 -4
  474. package/src/toggle.tsx +3 -4
  475. package/src/tooltip.tsx +2 -3
  476. package/dist/accordion-Dd8Hrexd.mjs +0 -244
  477. package/dist/accordion-DdSOiVyo.js +0 -1
  478. package/dist/alert-dialog-B7zX3gJX.js +0 -7
  479. package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
  480. package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
  481. package/dist/avatar-C4onD8-4.mjs +0 -127
  482. package/dist/avatar-ki_M47qG.js +0 -1
  483. package/dist/calendar-D9sapvfY.js +0 -1
  484. package/dist/carousel-6oFHLN7R.js +0 -1
  485. package/dist/checkbox-BLgY82mB.js +0 -1
  486. package/dist/checkbox-Bts_zfqd.mjs +0 -173
  487. package/dist/combobox-6qNx9Wbb.js +0 -4
  488. package/dist/combobox-yDMqxM_J.mjs +0 -5522
  489. package/dist/command-C6wJ5giF.mjs +0 -576
  490. package/dist/command-DCrPL1iW.js +0 -1
  491. package/dist/context-menu-CydUpD4W.mjs +0 -349
  492. package/dist/context-menu-DQ7XuuG5.js +0 -1
  493. package/dist/dist-1C8JOpVg.js +0 -1
  494. package/dist/dist-B1OcuinL.mjs +0 -558
  495. package/dist/dist-BGZDG175.mjs +0 -199
  496. package/dist/dist-BPBwSSyk.mjs +0 -8
  497. package/dist/dist-BPX1UGAz2.js +0 -1
  498. package/dist/dist-BRsDdVlJ.js +0 -1
  499. package/dist/dist-BWwCr-xN.mjs +0 -118
  500. package/dist/dist-BYdcKuDi.mjs +0 -16
  501. package/dist/dist-BlB11V_z.mjs +0 -27
  502. package/dist/dist-Bm8Cuttq.mjs +0 -76
  503. package/dist/dist-Byhx2fDJ.js +0 -1
  504. package/dist/dist-CCXBcfM3.js +0 -1
  505. package/dist/dist-CCokLFyA.mjs +0 -10
  506. package/dist/dist-CDU9vno-.mjs +0 -18
  507. package/dist/dist-CEJNUZGZ.js +0 -1
  508. package/dist/dist-CJolxugc.js +0 -1
  509. package/dist/dist-CQhWBhaI.mjs +0 -91
  510. package/dist/dist-CRLbUj9C.js +0 -1
  511. package/dist/dist-CSkpam6a.js +0 -1
  512. package/dist/dist-CWElW7UD.js +0 -1
  513. package/dist/dist-CXbzwSnE.js +0 -1
  514. package/dist/dist-CYj6O95k.mjs +0 -220
  515. package/dist/dist-C_45sBzc2.js +0 -1
  516. package/dist/dist-Cb7OVHcJ.js +0 -1
  517. package/dist/dist-Ccv5O-Vw.js +0 -1
  518. package/dist/dist-ChuP-5Gb.js +0 -1
  519. package/dist/dist-CiM892Rg.js +0 -1
  520. package/dist/dist-CuMQq0hV.js +0 -1
  521. package/dist/dist-DGzGsPqo2.mjs +0 -6
  522. package/dist/dist-DMnXk8Uo.js +0 -1
  523. package/dist/dist-DPBTfUqI.mjs +0 -96
  524. package/dist/dist-DR0lXVFG.js +0 -1
  525. package/dist/dist-Da7BU5sd.js +0 -5
  526. package/dist/dist-Df2ez-DA.mjs +0 -12
  527. package/dist/dist-DuTFGM_g.mjs +0 -45
  528. package/dist/dist-DynSBUGq.js +0 -1
  529. package/dist/dist-Dz3LbuDd.mjs +0 -60
  530. package/dist/dist-GhACpuJb2.mjs +0 -73
  531. package/dist/dist-o4zlRoDG.js +0 -1
  532. package/dist/dist-rGeQfsgN.mjs +0 -66
  533. package/dist/dist-tvb2Wafb.mjs +0 -153
  534. package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
  535. package/dist/es2015-D22cM8Q_.js +0 -41
  536. package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
  537. package/dist/hover-card-CJ-ibpbC.mjs +0 -187
  538. package/dist/hover-card-CK5SjVLL.js +0 -1
  539. package/dist/input-otp-BH_9dVhh.mjs +0 -391
  540. package/dist/input-otp-BibboKMt.js +0 -20
  541. package/dist/label-BXMSoyyu.js +0 -1
  542. package/dist/label-C8GNfPU0.mjs +0 -25
  543. package/dist/menubar-DPxokWFI.js +0 -1
  544. package/dist/navigation-menu-2yE2MUu-.js +0 -1
  545. package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
  546. package/dist/popover-D1AO-E8p.js +0 -1
  547. package/dist/popover-wQACF3ut.mjs +0 -245
  548. package/dist/progress-DPWSEWa5.mjs +0 -86
  549. package/dist/progress-ShXZwOfj.js +0 -6
  550. package/dist/radio-group-CQbZCQmj.mjs +0 -199
  551. package/dist/radio-group-DAEi5vW_.js +0 -1
  552. package/dist/resizable-Cv-mKMKP.js +0 -1
  553. package/dist/scroll-area-Cqqinhxf.js +0 -1
  554. package/dist/select-DdUveoSA.js +0 -1
  555. package/dist/select-yoeH35x2.mjs +0 -778
  556. package/dist/separator-BU1ea5gl.mjs +0 -35
  557. package/dist/separator-DBjErwHf.js +0 -1
  558. package/dist/shim-B5sEfNEJ.js +0 -1
  559. package/dist/shim-DX33EwUw.mjs +0 -91
  560. package/dist/sidebar-DIW-1cin.js +0 -1
  561. package/dist/slider-CCPXejUF.mjs +0 -388
  562. package/dist/slider-w05gD_Ix.js +0 -1
  563. package/dist/switch-CDBqsWQa.mjs +0 -112
  564. package/dist/switch-X2WBJsUu.js +0 -1
  565. package/dist/tabs-DzvgrVzk.js +0 -1
  566. package/dist/tabs-KDeHjVQU.mjs +0 -160
  567. package/dist/theme-toggle-C2Y4bIM3.js +0 -1
  568. package/dist/toast-1keyrzem.js +0 -1
  569. package/dist/toggle-BGkq5XDM.js +0 -1
  570. package/dist/toggle-BfIIdlA6.mjs +0 -58
  571. package/dist/toggle-group-CbqgoPFU.mjs +0 -167
  572. package/dist/toggle-group-D7hR4BT2.js +0 -1
  573. package/dist/tooltip-CAIbshMk.js +0 -1
  574. package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
@@ -20,6 +20,15 @@ import {
20
20
  AlertDialogTrigger,
21
21
  AlertTitle,
22
22
  AspectRatio,
23
+ Attachment,
24
+ AttachmentAction,
25
+ AttachmentActions,
26
+ AttachmentContent,
27
+ AttachmentDescription,
28
+ AttachmentGroup,
29
+ AttachmentMedia,
30
+ AttachmentTitle,
31
+ AttachmentTrigger,
23
32
  Avatar,
24
33
  AvatarFallback,
25
34
  AvatarImage,
@@ -31,6 +40,10 @@ import {
31
40
  BreadcrumbList,
32
41
  BreadcrumbPage,
33
42
  BreadcrumbSeparator,
43
+ Bubble,
44
+ BubbleContent,
45
+ BubbleGroup,
46
+ BubbleReactions,
34
47
  Button,
35
48
  ButtonGroup,
36
49
  ButtonGroupSeparator,
@@ -154,6 +167,9 @@ import {
154
167
  Kbd,
155
168
  KbdGroup,
156
169
  Label,
170
+ Marker,
171
+ MarkerContent,
172
+ MarkerIcon,
157
173
  Menubar,
158
174
  MenubarCheckboxItem,
159
175
  MenubarContent,
@@ -167,6 +183,18 @@ import {
167
183
  MenubarSubContent,
168
184
  MenubarSubTrigger,
169
185
  MenubarTrigger,
186
+ Message,
187
+ MessageAvatar,
188
+ MessageContent,
189
+ MessageFooter,
190
+ MessageGroup,
191
+ MessageHeader,
192
+ MessageScroller,
193
+ MessageScrollerButton,
194
+ MessageScrollerContent,
195
+ MessageScrollerItem,
196
+ MessageScrollerProvider,
197
+ MessageScrollerViewport,
170
198
  NativeSelect,
171
199
  NativeSelectOptGroup,
172
200
  NativeSelectOption,
@@ -190,6 +218,21 @@ import {
190
218
  PopoverContent,
191
219
  PopoverTrigger,
192
220
  Progress,
221
+ Questionnaire,
222
+ QuestionnaireActions,
223
+ QuestionnaireChoice,
224
+ QuestionnaireChoiceDescription,
225
+ QuestionnaireChoices,
226
+ QuestionnaireDescription,
227
+ QuestionnaireError,
228
+ QuestionnaireInput,
229
+ QuestionnaireItem,
230
+ QuestionnaireNext,
231
+ QuestionnairePrevious,
232
+ QuestionnaireProgress,
233
+ QuestionnaireSkip,
234
+ QuestionnaireSubmit,
235
+ QuestionnaireTitle,
193
236
  RadioGroup,
194
237
  RadioGroupItem,
195
238
  ResizableHandle,
@@ -292,6 +335,15 @@ import type {
292
335
  AlertDialogTriggerBaseProps,
293
336
  AlertTitleBaseProps,
294
337
  AspectRatioBaseProps,
338
+ AttachmentActionBaseProps,
339
+ AttachmentActionsBaseProps,
340
+ AttachmentBaseProps,
341
+ AttachmentContentBaseProps,
342
+ AttachmentDescriptionBaseProps,
343
+ AttachmentGroupBaseProps,
344
+ AttachmentMediaBaseProps,
345
+ AttachmentTitleBaseProps,
346
+ AttachmentTriggerBaseProps,
295
347
  AvatarBaseProps,
296
348
  AvatarFallbackBaseProps,
297
349
  AvatarImageBaseProps,
@@ -303,6 +355,10 @@ import type {
303
355
  BreadcrumbListBaseProps,
304
356
  BreadcrumbPageBaseProps,
305
357
  BreadcrumbSeparatorBaseProps,
358
+ BubbleBaseProps,
359
+ BubbleContentBaseProps,
360
+ BubbleGroupBaseProps,
361
+ BubbleReactionsBaseProps,
306
362
  ButtonBaseProps,
307
363
  ButtonGroupBaseProps,
308
364
  ButtonGroupSeparatorBaseProps,
@@ -426,6 +482,9 @@ import type {
426
482
  KbdBaseProps,
427
483
  KbdGroupBaseProps,
428
484
  LabelBaseProps,
485
+ MarkerBaseProps,
486
+ MarkerContentBaseProps,
487
+ MarkerIconBaseProps,
429
488
  MenubarBaseProps,
430
489
  MenubarCheckboxItemBaseProps,
431
490
  MenubarContentBaseProps,
@@ -439,6 +498,18 @@ import type {
439
498
  MenubarSubContentBaseProps,
440
499
  MenubarSubTriggerBaseProps,
441
500
  MenubarTriggerBaseProps,
501
+ MessageAvatarBaseProps,
502
+ MessageBaseProps,
503
+ MessageContentBaseProps,
504
+ MessageFooterBaseProps,
505
+ MessageGroupBaseProps,
506
+ MessageHeaderBaseProps,
507
+ MessageScrollerBaseProps,
508
+ MessageScrollerButtonBaseProps,
509
+ MessageScrollerContentBaseProps,
510
+ MessageScrollerItemBaseProps,
511
+ MessageScrollerProviderBaseProps,
512
+ MessageScrollerViewportBaseProps,
442
513
  NativeSelectBaseProps,
443
514
  NativeSelectOptGroupBaseProps,
444
515
  NativeSelectOptionBaseProps,
@@ -462,6 +533,21 @@ import type {
462
533
  PopoverContentBaseProps,
463
534
  PopoverTriggerBaseProps,
464
535
  ProgressBaseProps,
536
+ QuestionnaireActionsBaseProps,
537
+ QuestionnaireBaseProps,
538
+ QuestionnaireChoiceBaseProps,
539
+ QuestionnaireChoiceDescriptionBaseProps,
540
+ QuestionnaireChoicesBaseProps,
541
+ QuestionnaireDescriptionBaseProps,
542
+ QuestionnaireErrorBaseProps,
543
+ QuestionnaireInputBaseProps,
544
+ QuestionnaireItemBaseProps,
545
+ QuestionnaireNextBaseProps,
546
+ QuestionnairePreviousBaseProps,
547
+ QuestionnaireProgressBaseProps,
548
+ QuestionnaireSkipBaseProps,
549
+ QuestionnaireSubmitBaseProps,
550
+ QuestionnaireTitleBaseProps,
465
551
  RadioGroupBaseProps,
466
552
  RadioGroupItemBaseProps,
467
553
  ResizableHandleBaseProps,
@@ -921,5 +1007,82 @@ export const _test_SidebarProvider: SidebarProviderBaseProps = {} as React.Compo
921
1007
  export const _test_SidebarRail: SidebarRailBaseProps = {} as React.ComponentProps<typeof SidebarRail>;
922
1008
  export const _test_SidebarSeparator: SidebarSeparatorBaseProps = {} as React.ComponentProps<typeof SidebarSeparator>;
923
1009
  export const _test_SidebarTrigger: SidebarTriggerBaseProps = {} as React.ComponentProps<typeof SidebarTrigger>;
1010
+ export const _test_AttachmentAction: AttachmentActionBaseProps = {} as React.ComponentProps<typeof AttachmentAction>;
1011
+ export const _test_AttachmentActions: AttachmentActionsBaseProps = {} as React.ComponentProps<typeof AttachmentActions>;
1012
+ export const _test_Attachment: AttachmentBaseProps = {} as React.ComponentProps<typeof Attachment>;
1013
+ export const _test_AttachmentContent: AttachmentContentBaseProps = {} as React.ComponentProps<typeof AttachmentContent>;
1014
+ export const _test_AttachmentDescription: AttachmentDescriptionBaseProps = {} as React.ComponentProps<
1015
+ typeof AttachmentDescription
1016
+ >;
1017
+ export const _test_AttachmentGroup: AttachmentGroupBaseProps = {} as React.ComponentProps<typeof AttachmentGroup>;
1018
+ export const _test_AttachmentMedia: AttachmentMediaBaseProps = {} as React.ComponentProps<typeof AttachmentMedia>;
1019
+ export const _test_AttachmentTitle: AttachmentTitleBaseProps = {} as React.ComponentProps<typeof AttachmentTitle>;
1020
+ export const _test_AttachmentTrigger: AttachmentTriggerBaseProps = {} as React.ComponentProps<typeof AttachmentTrigger>;
1021
+ export const _test_Bubble: BubbleBaseProps = {} as React.ComponentProps<typeof Bubble>;
1022
+ export const _test_BubbleContent: BubbleContentBaseProps = {} as React.ComponentProps<typeof BubbleContent>;
1023
+ export const _test_BubbleGroup: BubbleGroupBaseProps = {} as React.ComponentProps<typeof BubbleGroup>;
1024
+ export const _test_BubbleReactions: BubbleReactionsBaseProps = {} as React.ComponentProps<typeof BubbleReactions>;
1025
+ export const _test_Marker: MarkerBaseProps = {} as React.ComponentProps<typeof Marker>;
1026
+ export const _test_MarkerContent: MarkerContentBaseProps = {} as React.ComponentProps<typeof MarkerContent>;
1027
+ export const _test_MarkerIcon: MarkerIconBaseProps = {} as React.ComponentProps<typeof MarkerIcon>;
1028
+ export const _test_MessageAvatar: MessageAvatarBaseProps = {} as React.ComponentProps<typeof MessageAvatar>;
1029
+ export const _test_Message: MessageBaseProps = {} as React.ComponentProps<typeof Message>;
1030
+ export const _test_MessageContent: MessageContentBaseProps = {} as React.ComponentProps<typeof MessageContent>;
1031
+ export const _test_MessageFooter: MessageFooterBaseProps = {} as React.ComponentProps<typeof MessageFooter>;
1032
+ export const _test_MessageGroup: MessageGroupBaseProps = {} as React.ComponentProps<typeof MessageGroup>;
1033
+ export const _test_MessageHeader: MessageHeaderBaseProps = {} as React.ComponentProps<typeof MessageHeader>;
1034
+ export const _test_MessageScroller: MessageScrollerBaseProps = {} as React.ComponentProps<typeof MessageScroller>;
1035
+ export const _test_MessageScrollerButton: MessageScrollerButtonBaseProps = {} as React.ComponentProps<
1036
+ typeof MessageScrollerButton
1037
+ >;
1038
+ export const _test_MessageScrollerContent: MessageScrollerContentBaseProps = {} as React.ComponentProps<
1039
+ typeof MessageScrollerContent
1040
+ >;
1041
+ export const _test_MessageScrollerItem: MessageScrollerItemBaseProps = {} as React.ComponentProps<
1042
+ typeof MessageScrollerItem
1043
+ >;
1044
+ export const _test_MessageScrollerProvider: MessageScrollerProviderBaseProps = {} as React.ComponentProps<
1045
+ typeof MessageScrollerProvider
1046
+ >;
1047
+ export const _test_MessageScrollerViewport: MessageScrollerViewportBaseProps = {} as React.ComponentProps<
1048
+ typeof MessageScrollerViewport
1049
+ >;
1050
+ export const _test_QuestionnaireActions: QuestionnaireActionsBaseProps = {} as React.ComponentProps<
1051
+ typeof QuestionnaireActions
1052
+ >;
1053
+ export const _test_Questionnaire: QuestionnaireBaseProps = {} as React.ComponentProps<typeof Questionnaire>;
1054
+ export const _test_QuestionnaireChoice: QuestionnaireChoiceBaseProps = {} as React.ComponentProps<
1055
+ typeof QuestionnaireChoice
1056
+ >;
1057
+ export const _test_QuestionnaireChoiceDescription: QuestionnaireChoiceDescriptionBaseProps = {} as React.ComponentProps<
1058
+ typeof QuestionnaireChoiceDescription
1059
+ >;
1060
+ export const _test_QuestionnaireChoices: QuestionnaireChoicesBaseProps = {} as React.ComponentProps<
1061
+ typeof QuestionnaireChoices
1062
+ >;
1063
+ export const _test_QuestionnaireDescription: QuestionnaireDescriptionBaseProps = {} as React.ComponentProps<
1064
+ typeof QuestionnaireDescription
1065
+ >;
1066
+ export const _test_QuestionnaireError: QuestionnaireErrorBaseProps = {} as React.ComponentProps<
1067
+ typeof QuestionnaireError
1068
+ >;
1069
+ export const _test_QuestionnaireInput: QuestionnaireInputBaseProps = {} as React.ComponentProps<
1070
+ typeof QuestionnaireInput
1071
+ >;
1072
+ export const _test_QuestionnaireItem: QuestionnaireItemBaseProps = {} as React.ComponentProps<typeof QuestionnaireItem>;
1073
+ export const _test_QuestionnaireNext: QuestionnaireNextBaseProps = {} as React.ComponentProps<typeof QuestionnaireNext>;
1074
+ export const _test_QuestionnairePrevious: QuestionnairePreviousBaseProps = {} as React.ComponentProps<
1075
+ typeof QuestionnairePrevious
1076
+ >;
1077
+ export const _test_QuestionnaireProgress: QuestionnaireProgressBaseProps = {} as React.ComponentProps<
1078
+ typeof QuestionnaireProgress
1079
+ >;
1080
+ export const _test_QuestionnaireSkip: QuestionnaireSkipBaseProps = {} as React.ComponentProps<typeof QuestionnaireSkip>;
1081
+ export const _test_QuestionnaireSubmit: QuestionnaireSubmitBaseProps = {} as React.ComponentProps<
1082
+ typeof QuestionnaireSubmit
1083
+ >;
1084
+ export const _test_QuestionnaireTitle: QuestionnaireTitleBaseProps = {} as React.ComponentProps<
1085
+ typeof QuestionnaireTitle
1086
+ >;
924
1087
 
925
1088
  export {};
package/src/accordion.tsx CHANGED
@@ -1,9 +1,8 @@
1
+ import { cn } from 'cn';
2
+ import { ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
1
3
  import { Accordion as AccordionPrimitive } from 'radix-ui';
2
4
  import * as React from 'react';
3
5
 
4
- import { ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
5
- import { cn } from './lib/utils';
6
-
7
6
  import type { AccordionBaseProps } from '@gv-tech/ui-core';
8
7
 
9
8
  function Accordion({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>) {
@@ -45,7 +44,7 @@ function AccordionContent({ className, children, ...props }: React.ComponentProp
45
44
  return (
46
45
  <AccordionPrimitive.Content
47
46
  data-slot="accordion-content"
48
- className="data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden text-sm"
47
+ className="data-open:animate-accordion-down data-closed:animate-accordion-up overflow-hidden text-sm"
49
48
  {...props}
50
49
  >
51
50
  <div
@@ -1,8 +1,8 @@
1
+ import { cn } from 'cn';
1
2
  import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
3
  import * as React from 'react';
3
4
 
4
- import { Button } from './button';
5
- import { cn } from './lib/utils';
5
+ import { Button } from '@/./button';
6
6
 
7
7
  import type { AlertDialogBaseProps } from '@gv-tech/ui-core';
8
8
 
@@ -23,7 +23,7 @@ function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof
23
23
  <AlertDialogPrimitive.Overlay
24
24
  data-slot="alert-dialog-overlay"
25
25
  className={cn(
26
- 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs',
26
+ 'data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs',
27
27
  className,
28
28
  )}
29
29
  {...props}
@@ -45,7 +45,7 @@ function AlertDialogContent({
45
45
  data-slot="alert-dialog-content"
46
46
  data-size={size}
47
47
  className={cn(
48
- 'group/alert-dialog-content bg-popover text-popover-foreground ring-foreground/10 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 fixed start-1/2 top-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 ring-1 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm rtl:translate-x-1/2',
48
+ 'group/alert-dialog-content bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed start-1/2 top-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 ring-1 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm rtl:translate-x-1/2',
49
49
  className,
50
50
  )}
51
51
  {...props}
@@ -85,7 +85,7 @@ function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>)
85
85
  <div
86
86
  data-slot="alert-dialog-media"
87
87
  className={cn(
88
- 'bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*=size-])]:size-6',
88
+ "bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6",
89
89
  className,
90
90
  )}
91
91
  {...props}
package/src/alert.tsx CHANGED
@@ -1,12 +1,11 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
+ import { cn } from 'cn';
2
3
  import * as React from 'react';
3
4
 
4
- import { cn } from './lib/utils';
5
-
6
5
  import type { AlertBaseProps } from '@gv-tech/ui-core';
7
6
 
8
7
  const alertVariants = cva(
9
- 'group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*=size-])]:size-4',
8
+ "group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",
10
9
  {
11
10
  variants: {
12
11
  variant: {
@@ -0,0 +1,203 @@
1
+ import { cva, type VariantProps } from 'class-variance-authority';
2
+ import { cn } from 'cn';
3
+ import { Slot } from 'radix-ui';
4
+ import * as React from 'react';
5
+
6
+ import { Button } from '@/./button';
7
+
8
+ import type {
9
+ AttachmentActionBaseProps,
10
+ AttachmentActionsBaseProps,
11
+ AttachmentBaseProps,
12
+ AttachmentContentBaseProps,
13
+ AttachmentDescriptionBaseProps,
14
+ AttachmentGroupBaseProps,
15
+ AttachmentMediaBaseProps,
16
+ AttachmentTitleBaseProps,
17
+ AttachmentTriggerBaseProps,
18
+ } from '@gv-tech/ui-core';
19
+
20
+ const attachmentVariants = cva(
21
+ 'group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed',
22
+ {
23
+ variants: {
24
+ size: {
25
+ default:
26
+ 'gap-2 text-sm has-data-[slot=attachment-content]:px-2.5 has-data-[slot=attachment-content]:py-2 has-data-[slot=attachment-media]:p-2',
27
+ sm: 'gap-2.5 text-xs has-data-[slot=attachment-content]:px-2 has-data-[slot=attachment-content]:py-1.5 has-data-[slot=attachment-media]:p-1.5',
28
+ xs: 'gap-1.5 rounded-lg text-xs has-data-[slot=attachment-content]:px-1.5 has-data-[slot=attachment-content]:py-1 has-data-[slot=attachment-media]:p-1',
29
+ },
30
+ orientation: {
31
+ horizontal: 'min-w-40 items-center',
32
+ vertical: 'w-24 flex-col has-data-[slot=attachment-content]:w-30',
33
+ },
34
+ },
35
+ },
36
+ );
37
+
38
+ function Attachment({
39
+ className,
40
+ state = 'done',
41
+ size = 'default',
42
+ orientation = 'horizontal',
43
+ ...props
44
+ }: React.ComponentProps<'div'> & VariantProps<typeof attachmentVariants> & AttachmentBaseProps) {
45
+ return (
46
+ <div
47
+ data-slot="attachment"
48
+ data-state={state}
49
+ data-size={size}
50
+ data-orientation={orientation}
51
+ className={cn(attachmentVariants({ size, orientation }), className)}
52
+ {...props}
53
+ />
54
+ );
55
+ }
56
+
57
+ const attachmentMediaVariants = cva(
58
+ "relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted text-foreground group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6! [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6 group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5",
59
+ {
60
+ variants: {
61
+ variant: {
62
+ icon: '',
63
+ image:
64
+ 'opacity-60 group-data-[state=done]/attachment:opacity-100 group-data-[state=idle]/attachment:opacity-100 *:[img]:aspect-square *:[img]:w-full *:[img]:object-cover',
65
+ },
66
+ },
67
+ defaultVariants: {
68
+ variant: 'icon',
69
+ },
70
+ },
71
+ );
72
+
73
+ function AttachmentMedia({
74
+ className,
75
+ variant = 'icon',
76
+ ...props
77
+ }: React.ComponentProps<'div'> & VariantProps<typeof attachmentMediaVariants> & AttachmentMediaBaseProps) {
78
+ return (
79
+ <div
80
+ data-slot="attachment-media"
81
+ data-variant={variant}
82
+ className={cn(attachmentMediaVariants({ variant }), className)}
83
+ {...props}
84
+ />
85
+ );
86
+ }
87
+
88
+ function AttachmentContent({ className, ...props }: React.ComponentProps<'div'> & AttachmentContentBaseProps) {
89
+ return (
90
+ <div
91
+ data-slot="attachment-content"
92
+ className={cn(
93
+ 'max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1',
94
+ className,
95
+ )}
96
+ {...props}
97
+ />
98
+ );
99
+ }
100
+
101
+ function AttachmentTitle({ className, ...props }: React.ComponentProps<'span'> & AttachmentTitleBaseProps) {
102
+ return (
103
+ <span
104
+ data-slot="attachment-title"
105
+ className={cn(
106
+ 'group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer block max-w-full min-w-0 truncate font-medium',
107
+ className,
108
+ )}
109
+ {...props}
110
+ />
111
+ );
112
+ }
113
+
114
+ function AttachmentDescription({ className, ...props }: React.ComponentProps<'span'> & AttachmentDescriptionBaseProps) {
115
+ return (
116
+ <span
117
+ data-slot="attachment-description"
118
+ className={cn(
119
+ 'text-muted-foreground group-data-[state=error]/attachment:text-destructive/80 mt-0.5 block min-w-0 truncate text-xs',
120
+ 'max-w-full',
121
+ className,
122
+ )}
123
+ {...props}
124
+ />
125
+ );
126
+ }
127
+
128
+ function AttachmentActions({ className, ...props }: React.ComponentProps<'div'> & AttachmentActionsBaseProps) {
129
+ return (
130
+ <div
131
+ data-slot="attachment-actions"
132
+ className={cn(
133
+ 'relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:end-3 group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:gap-1',
134
+ className,
135
+ )}
136
+ {...props}
137
+ />
138
+ );
139
+ }
140
+
141
+ function AttachmentAction({
142
+ className,
143
+ variant,
144
+ size = 'icon-xs',
145
+ ...props
146
+ }: React.ComponentProps<typeof Button> & AttachmentActionBaseProps) {
147
+ return (
148
+ <Button
149
+ data-slot="attachment-action"
150
+ variant={variant ?? 'ghost'}
151
+ size={size}
152
+ className={cn(className)}
153
+ {...props}
154
+ />
155
+ );
156
+ }
157
+
158
+ function AttachmentTrigger({
159
+ className,
160
+ asChild = false,
161
+ type,
162
+ ...props
163
+ }: React.ComponentProps<'button'> & AttachmentTriggerBaseProps) {
164
+ const Comp = asChild ? Slot.Root : 'button';
165
+
166
+ return (
167
+ <Comp
168
+ data-slot="attachment-trigger"
169
+ type={asChild ? undefined : (type ?? 'button')}
170
+ className={cn('absolute inset-0 z-10 outline-none', className)}
171
+ {...props}
172
+ />
173
+ );
174
+ }
175
+
176
+ function AttachmentGroup({ className, ...props }: React.ComponentProps<'div'> & AttachmentGroupBaseProps) {
177
+ return (
178
+ <div
179
+ data-slot="attachment-group"
180
+ className={cn(
181
+ 'scroll-fade-x flex min-w-0 snap-x snap-mandatory scroll-px-1 scrollbar-none gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start',
182
+ className,
183
+ )}
184
+ {...props}
185
+ />
186
+ );
187
+ }
188
+
189
+ export {
190
+ Attachment,
191
+ AttachmentAction,
192
+ AttachmentActions,
193
+ AttachmentContent,
194
+ AttachmentDescription,
195
+ AttachmentGroup,
196
+ AttachmentMedia,
197
+ AttachmentTitle,
198
+ AttachmentTrigger,
199
+ };
200
+
201
+ // Verify that the components satisfy the ui-core contracts
202
+ export type ___verifyAttachmentContract =
203
+ React.ComponentProps<typeof Attachment> extends AttachmentBaseProps ? true : false;
@@ -1,9 +1,8 @@
1
+ import { cn } from 'cn';
2
+ import { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';
1
3
  import { Slot } from 'radix-ui';
2
4
  import * as React from 'react';
3
5
 
4
- import { ChevronRightIcon, MoreHorizontalIcon } from 'lucide-react';
5
- import { cn } from './lib/utils';
6
-
7
6
  import type { BreadcrumbBaseProps } from '@gv-tech/ui-core';
8
7
 
9
8
  function Breadcrumb({ className, ...props }: React.ComponentProps<'nav'>) {
@@ -60,7 +59,7 @@ function BreadcrumbSeparator({ children, className, ...props }: React.ComponentP
60
59
  className={cn('[&>svg]:size-3.5', className)}
61
60
  {...props}
62
61
  >
63
- {children ?? <ChevronRightIcon />}
62
+ {children ?? <ChevronRightIcon className="rtl:rotate-180" />}
64
63
  </li>
65
64
  );
66
65
  }
package/src/bubble.tsx ADDED
@@ -0,0 +1,116 @@
1
+ import { cva, type VariantProps } from 'class-variance-authority';
2
+ import { cn } from 'cn';
3
+ import { Slot } from 'radix-ui';
4
+ import * as React from 'react';
5
+
6
+ import type {
7
+ BubbleBaseProps,
8
+ BubbleContentBaseProps,
9
+ BubbleGroupBaseProps,
10
+ BubbleReactionsBaseProps,
11
+ } from '@gv-tech/ui-core';
12
+
13
+ function BubbleGroup({ className, ...props }: React.ComponentProps<'div'> & BubbleGroupBaseProps) {
14
+ return <div data-slot="bubble-group" className={cn('flex min-w-0 flex-col gap-2', className)} {...props} />;
15
+ }
16
+
17
+ const bubbleVariants = cva(
18
+ 'group/bubble relative flex w-fit max-w-[80%] min-w-0 flex-col gap-1 group-data-[align=end]/message:self-end data-[align=end]:self-end data-[variant=ghost]:max-w-full',
19
+ {
20
+ variants: {
21
+ variant: {
22
+ default:
23
+ '*:data-[slot=bubble-content]:bg-primary *:data-[slot=bubble-content]:text-primary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-primary/80',
24
+ secondary:
25
+ '*:data-[slot=bubble-content]:bg-secondary *:data-[slot=bubble-content]:text-secondary-foreground [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)]',
26
+ muted:
27
+ '*:data-[slot=bubble-content]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[color-mix(in_oklch,var(--muted),var(--foreground)_5%)]',
28
+ tinted:
29
+ '*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.93_calc(c*0.4)_h)] *:data-[slot=bubble-content]:text-foreground dark:*:data-[slot=bubble-content]:bg-[oklch(from_var(--primary)_0.3_calc(c*0.4)_h)] [&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.88_calc(c*0.5)_h)] dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-[oklch(from_var(--primary)_0.35_calc(c*0.5)_h)]',
30
+ outline:
31
+ '*:data-[slot=bubble-content]:border-border *:data-[slot=bubble-content]:bg-background [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-input/30',
32
+ ghost:
33
+ 'border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted [&>[data-slot=bubble-content]:is(button,a):hover]:text-foreground dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-muted/50',
34
+ destructive:
35
+ '*:data-[slot=bubble-content]:bg-destructive/10 *:data-[slot=bubble-content]:text-destructive dark:*:data-[slot=bubble-content]:bg-destructive/20 [&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/20 dark:[&>[data-slot=bubble-content]:is(button,a):hover]:bg-destructive/30',
36
+ },
37
+ },
38
+ defaultVariants: {
39
+ variant: 'default',
40
+ },
41
+ },
42
+ );
43
+
44
+ function Bubble({
45
+ variant = 'default',
46
+ align = 'start',
47
+ className,
48
+ ...props
49
+ }: React.ComponentProps<'div'> & VariantProps<typeof bubbleVariants> & BubbleBaseProps) {
50
+ return (
51
+ <div
52
+ data-slot="bubble"
53
+ data-variant={variant}
54
+ data-align={align}
55
+ className={cn(bubbleVariants({ variant }), className)}
56
+ {...props}
57
+ />
58
+ );
59
+ }
60
+
61
+ function BubbleContent({ asChild = false, className, ...props }: React.ComponentProps<'div'> & BubbleContentBaseProps) {
62
+ const Comp = asChild ? Slot.Root : 'div';
63
+
64
+ return (
65
+ <Comp
66
+ data-slot="bubble-content"
67
+ className={cn(
68
+ '[button,a]:focus-visible:border-ring [button,a]:focus-visible:ring-ring/50 w-fit max-w-full min-w-0 overflow-hidden rounded-xl border border-transparent px-3 py-2 text-sm leading-relaxed wrap-break-word group-data-[align=end]/bubble:self-end [button]:text-start [button,a]:transition-colors [button,a]:outline-none [button,a]:focus-visible:ring-3',
69
+ className,
70
+ )}
71
+ {...props}
72
+ />
73
+ );
74
+ }
75
+
76
+ const bubbleReactionsVariants = cva(
77
+ 'absolute z-10 flex w-fit shrink-0 items-center justify-center gap-1 rounded-full bg-muted px-1.5 py-0.5 text-sm ring-3 ring-card has-[button]:p-0',
78
+ {
79
+ variants: {
80
+ side: {
81
+ top: 'top-0 -translate-y-3/4',
82
+ bottom: 'bottom-0 translate-y-3/4',
83
+ },
84
+ align: {
85
+ start: 'start-3',
86
+ end: 'end-3',
87
+ },
88
+ },
89
+ defaultVariants: {
90
+ side: 'bottom',
91
+ align: 'end',
92
+ },
93
+ },
94
+ );
95
+
96
+ function BubbleReactions({
97
+ side = 'bottom',
98
+ align = 'end',
99
+ className,
100
+ ...props
101
+ }: React.ComponentProps<'div'> & BubbleReactionsBaseProps) {
102
+ return (
103
+ <div
104
+ data-slot="bubble-reactions"
105
+ data-align={align}
106
+ data-side={side}
107
+ className={cn(bubbleReactionsVariants({ side, align }), className)}
108
+ {...props}
109
+ />
110
+ );
111
+ }
112
+
113
+ export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
114
+
115
+ // Verify that the components satisfy the ui-core contracts
116
+ export type ___verifyBubbleContract = React.ComponentProps<typeof Bubble> extends BubbleBaseProps ? true : false;
@@ -1,11 +1,11 @@
1
1
  import { cva, type VariantProps } from 'class-variance-authority';
2
+ import { cn } from 'cn';
2
3
  import { Slot } from 'radix-ui';
3
4
 
4
- import { cn } from './lib/utils';
5
- import { Separator } from './separator';
5
+ import { Separator } from '@/./separator';
6
6
 
7
7
  const buttonGroupVariants = cva(
8
- 'group/button-group flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-e-lg [&>[data-slot=select-trigger]:not([class*=w-])]:w-fit [&>input]:flex-1',
8
+ "group/button-group flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-e-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
9
9
  {
10
10
  variants: {
11
11
  orientation: {
@@ -49,7 +49,7 @@ function ButtonGroupText({
49
49
  return (
50
50
  <Comp
51
51
  className={cn(
52
- 'bg-muted flex items-center gap-2 rounded-lg border px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*=size-])]:size-4',
52
+ "bg-muted flex items-center gap-2 rounded-lg border px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
53
53
  className,
54
54
  )}
55
55
  {...props}
@@ -67,7 +67,7 @@ function ButtonGroupSeparator({
67
67
  data-slot="button-group-separator"
68
68
  orientation={orientation}
69
69
  className={cn(
70
- 'bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto',
70
+ 'bg-input relative self-stretch data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto',
71
71
  className,
72
72
  )}
73
73
  {...props}