eai-frontend-components 2.0.6 → 2.0.8

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 (586) hide show
  1. package/dist/index.d.ts +24 -73
  2. package/dist/index.esm.js +2 -2
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +2 -2
  5. package/dist/index.js.map +1 -1
  6. package/package.json +1 -1
  7. package/dist/components/accordion.d.ts +0 -8
  8. package/dist/components/accordion.d.ts.map +0 -1
  9. package/dist/components/accordion.js +0 -13
  10. package/dist/components/alert-dialog.d.ts +0 -25
  11. package/dist/components/alert-dialog.d.ts.map +0 -1
  12. package/dist/components/alert-dialog.js +0 -27
  13. package/dist/components/alert.d.ts +0 -9
  14. package/dist/components/alert.d.ts.map +0 -1
  15. package/dist/components/alert.js +0 -22
  16. package/dist/components/avatar.d.ts +0 -7
  17. package/dist/components/avatar.d.ts.map +0 -1
  18. package/dist/components/avatar.js +0 -11
  19. package/dist/components/badge.d.ts +0 -10
  20. package/dist/components/badge.d.ts.map +0 -1
  21. package/dist/components/badge.js +0 -26
  22. package/dist/components/breadcrumb.d.ts +0 -20
  23. package/dist/components/breadcrumb.d.ts.map +0 -1
  24. package/dist/components/breadcrumb.js +0 -23
  25. package/dist/components/button.d.ts +0 -12
  26. package/dist/components/button.d.ts.map +0 -1
  27. package/dist/components/button.js +0 -33
  28. package/dist/components/calendar.d.ts +0 -9
  29. package/dist/components/calendar.d.ts.map +0 -1
  30. package/dist/components/calendar.js +0 -70
  31. package/dist/components/card.d.ts +0 -9
  32. package/dist/components/card.d.ts.map +0 -1
  33. package/dist/components/card.js +0 -16
  34. package/dist/components/carousel.d.ts +0 -19
  35. package/dist/components/carousel.d.ts.map +0 -1
  36. package/dist/components/carousel.js +0 -98
  37. package/dist/components/chart.d.ts +0 -63
  38. package/dist/components/chart.d.ts.map +0 -1
  39. package/dist/components/chart.js +0 -130
  40. package/dist/components/checkbox.d.ts +0 -5
  41. package/dist/components/checkbox.d.ts.map +0 -1
  42. package/dist/components/checkbox.js +0 -8
  43. package/dist/components/collapsible.d.ts +0 -6
  44. package/dist/components/collapsible.d.ts.map +0 -1
  45. package/dist/components/collapsible.js +0 -5
  46. package/dist/components/command.d.ts +0 -81
  47. package/dist/components/command.d.ts.map +0 -1
  48. package/dist/components/command.js +0 -28
  49. package/dist/components/context-menu.d.ts +0 -28
  50. package/dist/components/context-menu.d.ts.map +0 -1
  51. package/dist/components/context-menu.js +0 -33
  52. package/dist/components/custom/date-picker.d.ts +0 -12
  53. package/dist/components/custom/date-picker.d.ts.map +0 -1
  54. package/dist/components/custom/date-picker.js +0 -35
  55. package/dist/components/custom/form/checkbox.d.ts +0 -13
  56. package/dist/components/custom/form/checkbox.d.ts.map +0 -1
  57. package/dist/components/custom/form/checkbox.js +0 -15
  58. package/dist/components/custom/form/color.d.ts +0 -15
  59. package/dist/components/custom/form/color.d.ts.map +0 -1
  60. package/dist/components/custom/form/color.js +0 -40
  61. package/dist/components/custom/form/combobox.d.ts +0 -37
  62. package/dist/components/custom/form/combobox.d.ts.map +0 -1
  63. package/dist/components/custom/form/combobox.js +0 -82
  64. package/dist/components/custom/form/cpf-cnpj.d.ts +0 -16
  65. package/dist/components/custom/form/cpf-cnpj.d.ts.map +0 -1
  66. package/dist/components/custom/form/cpf-cnpj.js +0 -32
  67. package/dist/components/custom/form/currency.d.ts +0 -14
  68. package/dist/components/custom/form/currency.d.ts.map +0 -1
  69. package/dist/components/custom/form/currency.js +0 -15
  70. package/dist/components/custom/form/date-range.d.ts +0 -16
  71. package/dist/components/custom/form/date-range.d.ts.map +0 -1
  72. package/dist/components/custom/form/date-range.js +0 -24
  73. package/dist/components/custom/form/date.d.ts +0 -16
  74. package/dist/components/custom/form/date.d.ts.map +0 -1
  75. package/dist/components/custom/form/date.js +0 -35
  76. package/dist/components/custom/form/decimal.d.ts +0 -14
  77. package/dist/components/custom/form/decimal.d.ts.map +0 -1
  78. package/dist/components/custom/form/decimal.js +0 -15
  79. package/dist/components/custom/form/file.d.ts +0 -15
  80. package/dist/components/custom/form/file.d.ts.map +0 -1
  81. package/dist/components/custom/form/file.js +0 -18
  82. package/dist/components/custom/form/form-help-text.d.ts +0 -3
  83. package/dist/components/custom/form/form-help-text.d.ts.map +0 -1
  84. package/dist/components/custom/form/form-help-text.js +0 -7
  85. package/dist/components/custom/form/form-label.d.ts +0 -4
  86. package/dist/components/custom/form/form-label.d.ts.map +0 -1
  87. package/dist/components/custom/form/form-label.js +0 -9
  88. package/dist/components/custom/form/form-message.d.ts +0 -3
  89. package/dist/components/custom/form/form-message.d.ts.map +0 -1
  90. package/dist/components/custom/form/form-message.js +0 -5
  91. package/dist/components/custom/form/ghost.d.ts +0 -8
  92. package/dist/components/custom/form/ghost.d.ts.map +0 -1
  93. package/dist/components/custom/form/ghost.js +0 -8
  94. package/dist/components/custom/form/input.d.ts +0 -18
  95. package/dist/components/custom/form/input.d.ts.map +0 -1
  96. package/dist/components/custom/form/input.js +0 -14
  97. package/dist/components/custom/form/mask.d.ts +0 -19
  98. package/dist/components/custom/form/mask.d.ts.map +0 -1
  99. package/dist/components/custom/form/mask.js +0 -19
  100. package/dist/components/custom/form/multi-select-old.d.ts +0 -19
  101. package/dist/components/custom/form/multi-select-old.d.ts.map +0 -1
  102. package/dist/components/custom/form/multi-select-old.js +0 -30
  103. package/dist/components/custom/form/multi-select.d.ts +0 -26
  104. package/dist/components/custom/form/multi-select.d.ts.map +0 -1
  105. package/dist/components/custom/form/multi-select.js +0 -66
  106. package/dist/components/custom/form/password.d.ts +0 -16
  107. package/dist/components/custom/form/password.d.ts.map +0 -1
  108. package/dist/components/custom/form/password.js +0 -14
  109. package/dist/components/custom/form/percent.d.ts +0 -14
  110. package/dist/components/custom/form/percent.d.ts.map +0 -1
  111. package/dist/components/custom/form/percent.js +0 -15
  112. package/dist/components/custom/form/phone.d.ts +0 -16
  113. package/dist/components/custom/form/phone.d.ts.map +0 -1
  114. package/dist/components/custom/form/phone.js +0 -23
  115. package/dist/components/custom/form/radio-group.d.ts +0 -23
  116. package/dist/components/custom/form/radio-group.d.ts.map +0 -1
  117. package/dist/components/custom/form/radio-group.js +0 -15
  118. package/dist/components/custom/form/select.d.ts +0 -20
  119. package/dist/components/custom/form/select.d.ts.map +0 -1
  120. package/dist/components/custom/form/select.js +0 -12
  121. package/dist/components/custom/form/step-new-form.d.ts +0 -10
  122. package/dist/components/custom/form/step-new-form.d.ts.map +0 -1
  123. package/dist/components/custom/form/step-new-form.js +0 -13
  124. package/dist/components/custom/form/switch.d.ts +0 -13
  125. package/dist/components/custom/form/switch.d.ts.map +0 -1
  126. package/dist/components/custom/form/switch.js +0 -16
  127. package/dist/components/custom/form/text.d.ts +0 -18
  128. package/dist/components/custom/form/text.d.ts.map +0 -1
  129. package/dist/components/custom/form/text.js +0 -14
  130. package/dist/components/custom/form/textarea.d.ts +0 -16
  131. package/dist/components/custom/form/textarea.d.ts.map +0 -1
  132. package/dist/components/custom/form/textarea.js +0 -19
  133. package/dist/components/custom/form/utils.d.ts +0 -18
  134. package/dist/components/custom/form/utils.d.ts.map +0 -1
  135. package/dist/components/custom/form/utils.js +0 -88
  136. package/dist/components/custom/header.d.ts +0 -3
  137. package/dist/components/custom/header.d.ts.map +0 -1
  138. package/dist/components/custom/header.js +0 -94
  139. package/dist/components/custom/label.d.ts +0 -13
  140. package/dist/components/custom/label.d.ts.map +0 -1
  141. package/dist/components/custom/label.js +0 -20
  142. package/dist/components/custom/not-found.d.ts +0 -3
  143. package/dist/components/custom/not-found.d.ts.map +0 -1
  144. package/dist/components/custom/not-found.js +0 -9
  145. package/dist/components/custom/sidebar/app-sidebar.d.ts +0 -5
  146. package/dist/components/custom/sidebar/app-sidebar.d.ts.map +0 -1
  147. package/dist/components/custom/sidebar/app-sidebar.js +0 -26
  148. package/dist/components/custom/sidebar/module-switcher.d.ts +0 -3
  149. package/dist/components/custom/sidebar/module-switcher.d.ts.map +0 -1
  150. package/dist/components/custom/sidebar/module-switcher.js +0 -55
  151. package/dist/components/custom/sidebar/nav-footer.d.ts +0 -3
  152. package/dist/components/custom/sidebar/nav-footer.d.ts.map +0 -1
  153. package/dist/components/custom/sidebar/nav-footer.js +0 -17
  154. package/dist/components/custom/sidebar/nav-main.d.ts +0 -3
  155. package/dist/components/custom/sidebar/nav-main.d.ts.map +0 -1
  156. package/dist/components/custom/sidebar/nav-main.js +0 -32
  157. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts +0 -9
  158. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts.map +0 -1
  159. package/dist/components/custom/sidebar/nav-submenu-collapsible.js +0 -21
  160. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts +0 -10
  161. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts.map +0 -1
  162. package/dist/components/custom/sidebar/nav-submenu-dropdown.js +0 -13
  163. package/dist/components/custom/sidebar/nav-user.d.ts +0 -3
  164. package/dist/components/custom/sidebar/nav-user.d.ts.map +0 -1
  165. package/dist/components/custom/sidebar/nav-user.js +0 -51
  166. package/dist/components/custom/sidebar/sidebar-button.d.ts +0 -9
  167. package/dist/components/custom/sidebar/sidebar-button.d.ts.map +0 -1
  168. package/dist/components/custom/sidebar/sidebar-button.js +0 -7
  169. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts +0 -12
  170. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts.map +0 -1
  171. package/dist/components/custom/sidebar/sidebar-item-two-lines.js +0 -5
  172. package/dist/components/custom/sidebar/sidebar-item.d.ts +0 -9
  173. package/dist/components/custom/sidebar/sidebar-item.d.ts.map +0 -1
  174. package/dist/components/custom/sidebar/sidebar-item.js +0 -7
  175. package/dist/components/custom/sidebar/types/sidebar.d.ts +0 -29
  176. package/dist/components/custom/sidebar/types/sidebar.d.ts.map +0 -1
  177. package/dist/components/custom/sidebar/types/sidebar.js +0 -5
  178. package/dist/components/custom/table/data-table-export.d.ts +0 -8
  179. package/dist/components/custom/table/data-table-export.d.ts.map +0 -1
  180. package/dist/components/custom/table/data-table-export.js +0 -65
  181. package/dist/components/custom/table/data-table-footer.d.ts +0 -25
  182. package/dist/components/custom/table/data-table-footer.d.ts.map +0 -1
  183. package/dist/components/custom/table/data-table-footer.js +0 -39
  184. package/dist/components/custom/table/data-table-header.d.ts +0 -9
  185. package/dist/components/custom/table/data-table-header.d.ts.map +0 -1
  186. package/dist/components/custom/table/data-table-header.js +0 -11
  187. package/dist/components/custom/table/data-table-rows.d.ts +0 -13
  188. package/dist/components/custom/table/data-table-rows.d.ts.map +0 -1
  189. package/dist/components/custom/table/data-table-rows.js +0 -25
  190. package/dist/components/custom/table/data-table.d.ts +0 -35
  191. package/dist/components/custom/table/data-table.d.ts.map +0 -1
  192. package/dist/components/custom/table/data-table.js +0 -99
  193. package/dist/components/custom/table/types/data-table.d.ts +0 -29
  194. package/dist/components/custom/table/types/data-table.d.ts.map +0 -1
  195. package/dist/components/custom/table/types/data-table.js +0 -1
  196. package/dist/components/custom/theme-provider.d.ts +0 -24
  197. package/dist/components/custom/theme-provider.d.ts.map +0 -1
  198. package/dist/components/custom/theme-provider.js +0 -79
  199. package/dist/components/dateRangePicker.d.ts +0 -3
  200. package/dist/components/dateRangePicker.d.ts.map +0 -1
  201. package/dist/components/dateRangePicker.js +0 -15
  202. package/dist/components/dialog.d.ts +0 -23
  203. package/dist/components/dialog.d.ts.map +0 -1
  204. package/dist/components/dialog.js +0 -23
  205. package/dist/components/drawer.d.ts +0 -23
  206. package/dist/components/drawer.d.ts.map +0 -1
  207. package/dist/components/drawer.js +0 -22
  208. package/dist/components/dropdown-menu.d.ts +0 -28
  209. package/dist/components/dropdown-menu.d.ts.map +0 -1
  210. package/dist/components/dropdown-menu.js +0 -32
  211. package/dist/components/form.d.ts +0 -24
  212. package/dist/components/form.d.ts.map +0 -1
  213. package/dist/components/form.js +0 -60
  214. package/dist/components/hover-card.d.ts +0 -7
  215. package/dist/components/hover-card.d.ts.map +0 -1
  216. package/dist/components/hover-card.js +0 -9
  217. package/dist/components/input.d.ts +0 -24
  218. package/dist/components/input.d.ts.map +0 -1
  219. package/dist/components/input.js +0 -71
  220. package/dist/components/label.d.ts +0 -6
  221. package/dist/components/label.d.ts.map +0 -1
  222. package/dist/components/label.js +0 -9
  223. package/dist/components/masks.d.ts +0 -17
  224. package/dist/components/masks.d.ts.map +0 -1
  225. package/dist/components/masks.js +0 -25
  226. package/dist/components/pagination.d.ts +0 -30
  227. package/dist/components/pagination.d.ts.map +0 -1
  228. package/dist/components/pagination.js +0 -23
  229. package/dist/components/popover.d.ts +0 -7
  230. package/dist/components/popover.d.ts.map +0 -1
  231. package/dist/components/popover.js +0 -11
  232. package/dist/components/progress.d.ts +0 -5
  233. package/dist/components/progress.d.ts.map +0 -1
  234. package/dist/components/progress.js +0 -7
  235. package/dist/components/radio-group.d.ts +0 -6
  236. package/dist/components/radio-group.d.ts.map +0 -1
  237. package/dist/components/radio-group.js +0 -14
  238. package/dist/components/scroll-area.d.ts +0 -6
  239. package/dist/components/scroll-area.d.ts.map +0 -1
  240. package/dist/components/scroll-area.js +0 -11
  241. package/dist/components/select.d.ts +0 -14
  242. package/dist/components/select.d.ts.map +0 -1
  243. package/dist/components/select.js +0 -24
  244. package/dist/components/separator.d.ts +0 -5
  245. package/dist/components/separator.d.ts.map +0 -1
  246. package/dist/components/separator.js +0 -7
  247. package/dist/components/sheet.d.ts +0 -26
  248. package/dist/components/sheet.d.ts.map +0 -1
  249. package/dist/components/sheet.js +0 -37
  250. package/dist/components/sidebar.d.ts +0 -67
  251. package/dist/components/sidebar.d.ts.map +0 -1
  252. package/dist/components/sidebar.js +0 -221
  253. package/dist/components/skeleton.d.ts +0 -3
  254. package/dist/components/skeleton.d.ts.map +0 -1
  255. package/dist/components/skeleton.js +0 -6
  256. package/dist/components/slider.d.ts +0 -5
  257. package/dist/components/slider.d.ts.map +0 -1
  258. package/dist/components/slider.js +0 -7
  259. package/dist/components/switch.d.ts +0 -5
  260. package/dist/components/switch.d.ts.map +0 -1
  261. package/dist/components/switch.js +0 -7
  262. package/dist/components/table.d.ts +0 -11
  263. package/dist/components/table.d.ts.map +0 -1
  264. package/dist/components/table.js +0 -20
  265. package/dist/components/tabs.d.ts +0 -8
  266. package/dist/components/tabs.d.ts.map +0 -1
  267. package/dist/components/tabs.js +0 -12
  268. package/dist/components/textarea.d.ts +0 -4
  269. package/dist/components/textarea.d.ts.map +0 -1
  270. package/dist/components/textarea.js +0 -14
  271. package/dist/components/toast.d.ts +0 -16
  272. package/dist/components/toast.d.ts.map +0 -1
  273. package/dist/components/toast.js +0 -34
  274. package/dist/components/toaster.d.ts +0 -2
  275. package/dist/components/toaster.d.ts.map +0 -1
  276. package/dist/components/toaster.js +0 -21
  277. package/dist/components/tooltip.d.ts +0 -8
  278. package/dist/components/tooltip.d.ts.map +0 -1
  279. package/dist/components/tooltip.js +0 -10
  280. package/dist/components/ui/accordion.d.ts +0 -8
  281. package/dist/components/ui/accordion.d.ts.map +0 -1
  282. package/dist/components/ui/accordion.js +0 -13
  283. package/dist/components/ui/alert-dialog.d.ts +0 -25
  284. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  285. package/dist/components/ui/alert-dialog.js +0 -27
  286. package/dist/components/ui/alert.d.ts +0 -9
  287. package/dist/components/ui/alert.d.ts.map +0 -1
  288. package/dist/components/ui/alert.js +0 -22
  289. package/dist/components/ui/avatar.d.ts +0 -7
  290. package/dist/components/ui/avatar.d.ts.map +0 -1
  291. package/dist/components/ui/avatar.js +0 -11
  292. package/dist/components/ui/badge.d.ts +0 -10
  293. package/dist/components/ui/badge.d.ts.map +0 -1
  294. package/dist/components/ui/badge.js +0 -26
  295. package/dist/components/ui/breadcrumb.d.ts +0 -20
  296. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  297. package/dist/components/ui/breadcrumb.js +0 -23
  298. package/dist/components/ui/button.d.ts +0 -12
  299. package/dist/components/ui/button.d.ts.map +0 -1
  300. package/dist/components/ui/button.js +0 -33
  301. package/dist/components/ui/calendar.d.ts +0 -9
  302. package/dist/components/ui/calendar.d.ts.map +0 -1
  303. package/dist/components/ui/calendar.js +0 -70
  304. package/dist/components/ui/card.d.ts +0 -9
  305. package/dist/components/ui/card.d.ts.map +0 -1
  306. package/dist/components/ui/card.js +0 -16
  307. package/dist/components/ui/carousel.d.ts +0 -19
  308. package/dist/components/ui/carousel.d.ts.map +0 -1
  309. package/dist/components/ui/carousel.js +0 -98
  310. package/dist/components/ui/chart.d.ts +0 -63
  311. package/dist/components/ui/chart.d.ts.map +0 -1
  312. package/dist/components/ui/chart.js +0 -130
  313. package/dist/components/ui/checkbox.d.ts +0 -5
  314. package/dist/components/ui/checkbox.d.ts.map +0 -1
  315. package/dist/components/ui/checkbox.js +0 -8
  316. package/dist/components/ui/collapsible.d.ts +0 -6
  317. package/dist/components/ui/collapsible.d.ts.map +0 -1
  318. package/dist/components/ui/collapsible.js +0 -5
  319. package/dist/components/ui/command.d.ts +0 -81
  320. package/dist/components/ui/command.d.ts.map +0 -1
  321. package/dist/components/ui/command.js +0 -28
  322. package/dist/components/ui/context-menu.d.ts +0 -28
  323. package/dist/components/ui/context-menu.d.ts.map +0 -1
  324. package/dist/components/ui/context-menu.js +0 -33
  325. package/dist/components/ui/custom/date-picker.d.ts +0 -12
  326. package/dist/components/ui/custom/date-picker.d.ts.map +0 -1
  327. package/dist/components/ui/custom/date-picker.js +0 -35
  328. package/dist/components/ui/custom/form/checkbox.d.ts +0 -13
  329. package/dist/components/ui/custom/form/checkbox.d.ts.map +0 -1
  330. package/dist/components/ui/custom/form/checkbox.js +0 -15
  331. package/dist/components/ui/custom/form/color.d.ts +0 -15
  332. package/dist/components/ui/custom/form/color.d.ts.map +0 -1
  333. package/dist/components/ui/custom/form/color.js +0 -40
  334. package/dist/components/ui/custom/form/combobox.d.ts +0 -37
  335. package/dist/components/ui/custom/form/combobox.d.ts.map +0 -1
  336. package/dist/components/ui/custom/form/combobox.js +0 -82
  337. package/dist/components/ui/custom/form/cpf-cnpj.d.ts +0 -16
  338. package/dist/components/ui/custom/form/cpf-cnpj.d.ts.map +0 -1
  339. package/dist/components/ui/custom/form/cpf-cnpj.js +0 -32
  340. package/dist/components/ui/custom/form/currency.d.ts +0 -14
  341. package/dist/components/ui/custom/form/currency.d.ts.map +0 -1
  342. package/dist/components/ui/custom/form/currency.js +0 -15
  343. package/dist/components/ui/custom/form/date-range.d.ts +0 -16
  344. package/dist/components/ui/custom/form/date-range.d.ts.map +0 -1
  345. package/dist/components/ui/custom/form/date-range.js +0 -24
  346. package/dist/components/ui/custom/form/date.d.ts +0 -16
  347. package/dist/components/ui/custom/form/date.d.ts.map +0 -1
  348. package/dist/components/ui/custom/form/date.js +0 -35
  349. package/dist/components/ui/custom/form/decimal.d.ts +0 -14
  350. package/dist/components/ui/custom/form/decimal.d.ts.map +0 -1
  351. package/dist/components/ui/custom/form/decimal.js +0 -15
  352. package/dist/components/ui/custom/form/file.d.ts +0 -15
  353. package/dist/components/ui/custom/form/file.d.ts.map +0 -1
  354. package/dist/components/ui/custom/form/file.js +0 -18
  355. package/dist/components/ui/custom/form/form-help-text.d.ts +0 -3
  356. package/dist/components/ui/custom/form/form-help-text.d.ts.map +0 -1
  357. package/dist/components/ui/custom/form/form-help-text.js +0 -7
  358. package/dist/components/ui/custom/form/form-label.d.ts +0 -7
  359. package/dist/components/ui/custom/form/form-label.d.ts.map +0 -1
  360. package/dist/components/ui/custom/form/form-label.js +0 -9
  361. package/dist/components/ui/custom/form/form-message.d.ts +0 -5
  362. package/dist/components/ui/custom/form/form-message.d.ts.map +0 -1
  363. package/dist/components/ui/custom/form/form-message.js +0 -5
  364. package/dist/components/ui/custom/form/ghost.d.ts +0 -8
  365. package/dist/components/ui/custom/form/ghost.d.ts.map +0 -1
  366. package/dist/components/ui/custom/form/ghost.js +0 -8
  367. package/dist/components/ui/custom/form/input.d.ts +0 -18
  368. package/dist/components/ui/custom/form/input.d.ts.map +0 -1
  369. package/dist/components/ui/custom/form/input.js +0 -14
  370. package/dist/components/ui/custom/form/mask.d.ts +0 -19
  371. package/dist/components/ui/custom/form/mask.d.ts.map +0 -1
  372. package/dist/components/ui/custom/form/mask.js +0 -19
  373. package/dist/components/ui/custom/form/multi-select-old.d.ts +0 -19
  374. package/dist/components/ui/custom/form/multi-select-old.d.ts.map +0 -1
  375. package/dist/components/ui/custom/form/multi-select-old.js +0 -30
  376. package/dist/components/ui/custom/form/multi-select.d.ts +0 -26
  377. package/dist/components/ui/custom/form/multi-select.d.ts.map +0 -1
  378. package/dist/components/ui/custom/form/multi-select.js +0 -66
  379. package/dist/components/ui/custom/form/password.d.ts +0 -16
  380. package/dist/components/ui/custom/form/password.d.ts.map +0 -1
  381. package/dist/components/ui/custom/form/password.js +0 -14
  382. package/dist/components/ui/custom/form/percent.d.ts +0 -14
  383. package/dist/components/ui/custom/form/percent.d.ts.map +0 -1
  384. package/dist/components/ui/custom/form/percent.js +0 -15
  385. package/dist/components/ui/custom/form/phone.d.ts +0 -16
  386. package/dist/components/ui/custom/form/phone.d.ts.map +0 -1
  387. package/dist/components/ui/custom/form/phone.js +0 -23
  388. package/dist/components/ui/custom/form/radio-group.d.ts +0 -23
  389. package/dist/components/ui/custom/form/radio-group.d.ts.map +0 -1
  390. package/dist/components/ui/custom/form/radio-group.js +0 -15
  391. package/dist/components/ui/custom/form/select.d.ts +0 -20
  392. package/dist/components/ui/custom/form/select.d.ts.map +0 -1
  393. package/dist/components/ui/custom/form/select.js +0 -12
  394. package/dist/components/ui/custom/form/step-new-form.d.ts +0 -10
  395. package/dist/components/ui/custom/form/step-new-form.d.ts.map +0 -1
  396. package/dist/components/ui/custom/form/step-new-form.js +0 -13
  397. package/dist/components/ui/custom/form/switch.d.ts +0 -13
  398. package/dist/components/ui/custom/form/switch.d.ts.map +0 -1
  399. package/dist/components/ui/custom/form/switch.js +0 -16
  400. package/dist/components/ui/custom/form/text.d.ts +0 -18
  401. package/dist/components/ui/custom/form/text.d.ts.map +0 -1
  402. package/dist/components/ui/custom/form/text.js +0 -14
  403. package/dist/components/ui/custom/form/textarea.d.ts +0 -16
  404. package/dist/components/ui/custom/form/textarea.d.ts.map +0 -1
  405. package/dist/components/ui/custom/form/textarea.js +0 -19
  406. package/dist/components/ui/custom/form/utils.d.ts +0 -18
  407. package/dist/components/ui/custom/form/utils.d.ts.map +0 -1
  408. package/dist/components/ui/custom/form/utils.js +0 -88
  409. package/dist/components/ui/custom/header.d.ts +0 -11
  410. package/dist/components/ui/custom/header.d.ts.map +0 -1
  411. package/dist/components/ui/custom/header.js +0 -74
  412. package/dist/components/ui/custom/label.d.ts +0 -13
  413. package/dist/components/ui/custom/label.d.ts.map +0 -1
  414. package/dist/components/ui/custom/label.js +0 -20
  415. package/dist/components/ui/custom/not-found.d.ts +0 -3
  416. package/dist/components/ui/custom/not-found.d.ts.map +0 -1
  417. package/dist/components/ui/custom/not-found.js +0 -9
  418. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts +0 -5
  419. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts.map +0 -1
  420. package/dist/components/ui/custom/sidebar/app-sidebar.js +0 -26
  421. package/dist/components/ui/custom/sidebar/module-switcher.d.ts +0 -9
  422. package/dist/components/ui/custom/sidebar/module-switcher.d.ts.map +0 -1
  423. package/dist/components/ui/custom/sidebar/module-switcher.js +0 -55
  424. package/dist/components/ui/custom/sidebar/nav-footer.d.ts +0 -7
  425. package/dist/components/ui/custom/sidebar/nav-footer.d.ts.map +0 -1
  426. package/dist/components/ui/custom/sidebar/nav-footer.js +0 -13
  427. package/dist/components/ui/custom/sidebar/nav-main.d.ts +0 -7
  428. package/dist/components/ui/custom/sidebar/nav-main.d.ts.map +0 -1
  429. package/dist/components/ui/custom/sidebar/nav-main.js +0 -27
  430. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts +0 -9
  431. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts.map +0 -1
  432. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.js +0 -18
  433. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts +0 -10
  434. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts.map +0 -1
  435. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.js +0 -10
  436. package/dist/components/ui/custom/sidebar/nav-user.d.ts +0 -9
  437. package/dist/components/ui/custom/sidebar/nav-user.d.ts.map +0 -1
  438. package/dist/components/ui/custom/sidebar/nav-user.js +0 -24
  439. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts +0 -9
  440. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts.map +0 -1
  441. package/dist/components/ui/custom/sidebar/sidebar-button.js +0 -7
  442. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts +0 -12
  443. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts.map +0 -1
  444. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.js +0 -5
  445. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts +0 -9
  446. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts.map +0 -1
  447. package/dist/components/ui/custom/sidebar/sidebar-item.js +0 -7
  448. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts +0 -9
  449. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts.map +0 -1
  450. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.js +0 -20
  451. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts +0 -29
  452. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts.map +0 -1
  453. package/dist/components/ui/custom/sidebar/types/sidebar.js +0 -5
  454. package/dist/components/ui/custom/table/data-table-export.d.ts +0 -8
  455. package/dist/components/ui/custom/table/data-table-export.d.ts.map +0 -1
  456. package/dist/components/ui/custom/table/data-table-export.js +0 -65
  457. package/dist/components/ui/custom/table/data-table-footer.d.ts +0 -25
  458. package/dist/components/ui/custom/table/data-table-footer.d.ts.map +0 -1
  459. package/dist/components/ui/custom/table/data-table-footer.js +0 -39
  460. package/dist/components/ui/custom/table/data-table-header.d.ts +0 -9
  461. package/dist/components/ui/custom/table/data-table-header.d.ts.map +0 -1
  462. package/dist/components/ui/custom/table/data-table-header.js +0 -11
  463. package/dist/components/ui/custom/table/data-table-rows.d.ts +0 -13
  464. package/dist/components/ui/custom/table/data-table-rows.d.ts.map +0 -1
  465. package/dist/components/ui/custom/table/data-table-rows.js +0 -25
  466. package/dist/components/ui/custom/table/data-table.d.ts +0 -35
  467. package/dist/components/ui/custom/table/data-table.d.ts.map +0 -1
  468. package/dist/components/ui/custom/table/data-table.js +0 -99
  469. package/dist/components/ui/custom/table/types/data-table.d.ts +0 -29
  470. package/dist/components/ui/custom/table/types/data-table.d.ts.map +0 -1
  471. package/dist/components/ui/custom/table/types/data-table.js +0 -1
  472. package/dist/components/ui/custom/theme-provider.d.ts +0 -24
  473. package/dist/components/ui/custom/theme-provider.d.ts.map +0 -1
  474. package/dist/components/ui/custom/theme-provider.js +0 -79
  475. package/dist/components/ui/dateRangePicker.d.ts +0 -3
  476. package/dist/components/ui/dateRangePicker.d.ts.map +0 -1
  477. package/dist/components/ui/dateRangePicker.js +0 -15
  478. package/dist/components/ui/dialog.d.ts +0 -23
  479. package/dist/components/ui/dialog.d.ts.map +0 -1
  480. package/dist/components/ui/dialog.js +0 -23
  481. package/dist/components/ui/drawer.d.ts +0 -23
  482. package/dist/components/ui/drawer.d.ts.map +0 -1
  483. package/dist/components/ui/drawer.js +0 -22
  484. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  485. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  486. package/dist/components/ui/dropdown-menu.js +0 -32
  487. package/dist/components/ui/form.d.ts +0 -24
  488. package/dist/components/ui/form.d.ts.map +0 -1
  489. package/dist/components/ui/form.js +0 -60
  490. package/dist/components/ui/hover-card.d.ts +0 -7
  491. package/dist/components/ui/hover-card.d.ts.map +0 -1
  492. package/dist/components/ui/hover-card.js +0 -9
  493. package/dist/components/ui/input.d.ts +0 -24
  494. package/dist/components/ui/input.d.ts.map +0 -1
  495. package/dist/components/ui/input.js +0 -71
  496. package/dist/components/ui/label.d.ts +0 -6
  497. package/dist/components/ui/label.d.ts.map +0 -1
  498. package/dist/components/ui/label.js +0 -9
  499. package/dist/components/ui/masks.d.ts +0 -17
  500. package/dist/components/ui/masks.d.ts.map +0 -1
  501. package/dist/components/ui/masks.js +0 -25
  502. package/dist/components/ui/pagination.d.ts +0 -30
  503. package/dist/components/ui/pagination.d.ts.map +0 -1
  504. package/dist/components/ui/pagination.js +0 -23
  505. package/dist/components/ui/popover.d.ts +0 -7
  506. package/dist/components/ui/popover.d.ts.map +0 -1
  507. package/dist/components/ui/popover.js +0 -11
  508. package/dist/components/ui/progress.d.ts +0 -5
  509. package/dist/components/ui/progress.d.ts.map +0 -1
  510. package/dist/components/ui/progress.js +0 -7
  511. package/dist/components/ui/radio-group.d.ts +0 -6
  512. package/dist/components/ui/radio-group.d.ts.map +0 -1
  513. package/dist/components/ui/radio-group.js +0 -14
  514. package/dist/components/ui/scroll-area.d.ts +0 -6
  515. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  516. package/dist/components/ui/scroll-area.js +0 -11
  517. package/dist/components/ui/select.d.ts +0 -14
  518. package/dist/components/ui/select.d.ts.map +0 -1
  519. package/dist/components/ui/select.js +0 -24
  520. package/dist/components/ui/separator.d.ts +0 -5
  521. package/dist/components/ui/separator.d.ts.map +0 -1
  522. package/dist/components/ui/separator.js +0 -7
  523. package/dist/components/ui/sheet.d.ts +0 -26
  524. package/dist/components/ui/sheet.d.ts.map +0 -1
  525. package/dist/components/ui/sheet.js +0 -37
  526. package/dist/components/ui/sidebar.d.ts +0 -67
  527. package/dist/components/ui/sidebar.d.ts.map +0 -1
  528. package/dist/components/ui/sidebar.js +0 -221
  529. package/dist/components/ui/skeleton.d.ts +0 -3
  530. package/dist/components/ui/skeleton.d.ts.map +0 -1
  531. package/dist/components/ui/skeleton.js +0 -6
  532. package/dist/components/ui/slider.d.ts +0 -5
  533. package/dist/components/ui/slider.d.ts.map +0 -1
  534. package/dist/components/ui/slider.js +0 -7
  535. package/dist/components/ui/switch.d.ts +0 -5
  536. package/dist/components/ui/switch.d.ts.map +0 -1
  537. package/dist/components/ui/switch.js +0 -7
  538. package/dist/components/ui/table.d.ts +0 -11
  539. package/dist/components/ui/table.d.ts.map +0 -1
  540. package/dist/components/ui/table.js +0 -20
  541. package/dist/components/ui/tabs.d.ts +0 -8
  542. package/dist/components/ui/tabs.d.ts.map +0 -1
  543. package/dist/components/ui/tabs.js +0 -12
  544. package/dist/components/ui/textarea.d.ts +0 -4
  545. package/dist/components/ui/textarea.d.ts.map +0 -1
  546. package/dist/components/ui/textarea.js +0 -14
  547. package/dist/components/ui/toast.d.ts +0 -16
  548. package/dist/components/ui/toast.d.ts.map +0 -1
  549. package/dist/components/ui/toast.js +0 -34
  550. package/dist/components/ui/toaster.d.ts +0 -2
  551. package/dist/components/ui/toaster.d.ts.map +0 -1
  552. package/dist/components/ui/toaster.js +0 -21
  553. package/dist/components/ui/tooltip.d.ts +0 -8
  554. package/dist/components/ui/tooltip.d.ts.map +0 -1
  555. package/dist/components/ui/tooltip.js +0 -10
  556. package/dist/components/ui/use-calendar.d.ts +0 -7
  557. package/dist/components/ui/use-calendar.d.ts.map +0 -1
  558. package/dist/components/ui/use-calendar.js +0 -23
  559. package/dist/components/ui/use-toast.d.ts +0 -46
  560. package/dist/components/ui/use-toast.d.ts.map +0 -1
  561. package/dist/components/ui/use-toast.js +0 -125
  562. package/dist/components/use-calendar.d.ts +0 -7
  563. package/dist/components/use-calendar.d.ts.map +0 -1
  564. package/dist/components/use-calendar.js +0 -23
  565. package/dist/components/use-toast.d.ts +0 -46
  566. package/dist/components/use-toast.d.ts.map +0 -1
  567. package/dist/components/use-toast.js +0 -125
  568. package/dist/hooks/use-mobile.d.ts +0 -2
  569. package/dist/hooks/use-mobile.d.ts.map +0 -1
  570. package/dist/hooks/use-mobile.js +0 -15
  571. package/dist/index.d.ts.map +0 -1
  572. package/dist/lib/help/date-utils.d.ts +0 -7
  573. package/dist/lib/help/date-utils.d.ts.map +0 -1
  574. package/dist/lib/help/date-utils.js +0 -34
  575. package/dist/lib/help/format.d.ts +0 -22
  576. package/dist/lib/help/format.d.ts.map +0 -1
  577. package/dist/lib/help/format.js +0 -140
  578. package/dist/lib/help/theme.d.ts +0 -291
  579. package/dist/lib/help/theme.d.ts.map +0 -1
  580. package/dist/lib/help/theme.js +0 -340
  581. package/dist/lib/help/uuid.d.ts +0 -2
  582. package/dist/lib/help/uuid.d.ts.map +0 -1
  583. package/dist/lib/help/uuid.js +0 -4
  584. package/dist/lib/utils.d.ts +0 -3
  585. package/dist/lib/utils.d.ts.map +0 -1
  586. package/dist/lib/utils.js +0 -5
@@ -1 +0,0 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../src/components/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAA;AAIhD,QAAA,MAAM,MAAM;0CAGT,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC;;CAKnD,CAAA;AAGD,QAAA,MAAM,aAAa,+HAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,8BAAyB,CAAA;AAE3C,QAAA,MAAM,WAAW,6HAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,kOASjB,CAAA;AAGF,QAAA,MAAM,aAAa,kOAkBjB,CAAA;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKtC,CAAA;AAGD,QAAA,MAAM,WAAW,qLAYf,CAAA;AAGF,QAAA,MAAM,iBAAiB,+LASrB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAA"}
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { Drawer as DrawerPrimitive } from "vaul";
4
- import { cn } from "@/lib/utils";
5
- const Drawer = ({ shouldScaleBackground = true, ...props }) => (_jsx(DrawerPrimitive.Root, { shouldScaleBackground: shouldScaleBackground, ...props }));
6
- Drawer.displayName = "Drawer";
7
- const DrawerTrigger = DrawerPrimitive.Trigger;
8
- const DrawerPortal = DrawerPrimitive.Portal;
9
- const DrawerClose = DrawerPrimitive.Close;
10
- const DrawerOverlay = React.forwardRef(({ className, ...props }, ref) => (_jsx(DrawerPrimitive.Overlay, { ref: ref, className: cn("fixed inset-0 z-50 bg-black/80", className), ...props })));
11
- DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
12
- const DrawerContent = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(DrawerPortal, { children: [_jsx(DrawerOverlay, {}), _jsxs(DrawerPrimitive.Content, { ref: ref, className: cn("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background", className), ...props, children: [_jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }), children] })] })));
13
- DrawerContent.displayName = "DrawerContent";
14
- const DrawerHeader = ({ className, ...props }) => (_jsx("div", { className: cn("grid gap-1.5 p-4 text-center sm:text-left", className), ...props }));
15
- DrawerHeader.displayName = "DrawerHeader";
16
- const DrawerFooter = ({ className, ...props }) => (_jsx("div", { className: cn("mt-auto flex flex-col gap-2 p-4", className), ...props }));
17
- DrawerFooter.displayName = "DrawerFooter";
18
- const DrawerTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx(DrawerPrimitive.Title, { ref: ref, className: cn("text-lg font-semibold leading-none tracking-tight", className), ...props })));
19
- DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
20
- const DrawerDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx(DrawerPrimitive.Description, { ref: ref, className: cn("text-sm text-muted-foreground", className), ...props })));
21
- DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
22
- export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -1,28 +0,0 @@
1
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
- import * as React from 'react';
3
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean;
11
- } & React.RefAttributes<HTMLDivElement>>;
12
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
- inset?: boolean;
16
- } & React.RefAttributes<HTMLDivElement>>;
17
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
- inset?: boolean;
21
- } & React.RefAttributes<HTMLDivElement>>;
22
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
- declare const DropdownMenuShortcut: {
24
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
27
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
28
- //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/components/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,YAAY,mDAA6B,CAAC;AAEhD,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE,QAAA,MAAM,sBAAsB;YAGlB,OAAO;wCAef,CAAC;AAGH,QAAA,MAAM,sBAAsB,6KAY1B,CAAC;AAGH,QAAA,MAAM,mBAAmB,0KAevB,CAAC;AAGH,QAAA,MAAM,gBAAgB;YAGZ,OAAO;wCAYf,CAAC;AAGH,QAAA,MAAM,wBAAwB,+KAoB5B,CAAC;AAGH,QAAA,MAAM,qBAAqB,4KAmBzB,CAAC;AAGH,QAAA,MAAM,iBAAiB;YAGb,OAAO;wCAIf,CAAC;AAGH,QAAA,MAAM,qBAAqB,4KAGwH,CAAC;AAGpJ,QAAA,MAAM,oBAAoB;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAE3F,CAAC;AAGF,OAAO,EACN,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACnB,CAAC"}
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
3
- import { Check, ChevronRight, Circle } from 'lucide-react';
4
- import * as React from 'react';
5
- import { cn } from '@/lib/utils';
6
- const DropdownMenu = DropdownMenuPrimitive.Root;
7
- const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
8
- const DropdownMenuGroup = DropdownMenuPrimitive.Group;
9
- const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
10
- const DropdownMenuSub = DropdownMenuPrimitive.Sub;
11
- const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
12
- const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.SubTrigger, { ref: ref, className: cn('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent', inset && 'pl-8', className), ...props, children: [children, _jsx(ChevronRight, { className: 'ml-auto h-4 w-4' })] })));
13
- DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
14
- const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(DropdownMenuPrimitive.SubContent, { ref: ref, className: cn('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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', className), ...props })));
15
- DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
16
- const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Portal, { children: _jsx(DropdownMenuPrimitive.Content, { ref: ref, sideOffset: sideOffset, className: cn('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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', className), ...props }) })));
17
- DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
18
- const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Item, { ref: ref, className: cn('relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', inset && 'pl-8', className), ...props })));
19
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
20
- const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.CheckboxItem, { ref: ref, className: cn('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), checked: checked, ...props, children: [_jsx("span", { className: 'absolute left-2 flex h-3.5 w-3.5 items-center justify-center', children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Check, { className: 'h-4 w-4' }) }) }), children] })));
21
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
22
- const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.RadioItem, { ref: ref, className: cn('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [_jsx("span", { className: 'absolute left-2 flex h-3.5 w-3.5 items-center justify-center', children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Circle, { className: 'h-2 w-2 fill-current' }) }) }), children] })));
23
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
24
- const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Label, { ref: ref, className: cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className), ...props })));
25
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
26
- const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => _jsx(DropdownMenuPrimitive.Separator, { ref: ref, className: cn('-mx-1 my-1 h-px bg-muted', className), ...props }));
27
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
28
- const DropdownMenuShortcut = ({ className, ...props }) => {
29
- return _jsx("span", { className: cn('ml-auto text-xs tracking-widest opacity-60', className), ...props });
30
- };
31
- DropdownMenuShortcut.displayName = 'DropdownMenuShortcut';
32
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
@@ -1,24 +0,0 @@
1
- import * as LabelPrimitive from '@radix-ui/react-label';
2
- import * as React from 'react';
3
- import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
4
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
- declare const useFormField: () => {
7
- invalid: boolean;
8
- isDirty: boolean;
9
- isTouched: boolean;
10
- isValidating: boolean;
11
- error?: import("react-hook-form").FieldError;
12
- id: string;
13
- name: string;
14
- formItemId: string;
15
- formDescriptionId: string;
16
- formMessageId: string;
17
- };
18
- declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
19
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
20
- declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
21
- declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
22
- declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
23
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
24
- //# sourceMappingURL=form.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/components/form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,eAAe,EAAE,SAAS,EAAE,WAAW,EAAgC,MAAM,iBAAiB,CAAC;AAGpH,QAAA,MAAM,IAAI,4MAAe,CAAC;AAQ1B,QAAA,MAAM,SAAS,GAAI,YAAY,SAAS,WAAW,GAAG,WAAW,EAAE,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAAE,cAEjI,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAC;AAQF,QAAA,MAAM,QAAQ,6GAQZ,CAAC;AAGH,QAAA,MAAM,SAAS,yJAMd,CAAC;AAGF,QAAA,MAAM,WAAW,8JAYf,CAAC;AAGH,QAAA,MAAM,eAAe,yHAInB,CAAC;AAGH,QAAA,MAAM,WAAW,yHAaf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC"}
@@ -1,60 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from '@/lib/utils';
3
- import { Slot } from '@radix-ui/react-slot';
4
- import * as React from 'react';
5
- import { Controller, FormProvider, useFormContext } from 'react-hook-form';
6
- import { Label } from './label';
7
- const Form = FormProvider;
8
- const FormFieldContext = React.createContext({});
9
- const FormField = ({ ...props }) => {
10
- return (_jsx(FormFieldContext.Provider, { value: { name: props.name }, children: _jsx(Controller, { ...props }) }));
11
- };
12
- const useFormField = () => {
13
- const fieldContext = React.useContext(FormFieldContext);
14
- const itemContext = React.useContext(FormItemContext);
15
- const { getFieldState, formState } = useFormContext();
16
- const fieldState = getFieldState(fieldContext.name, formState);
17
- if (!fieldContext) {
18
- throw new Error('useFormField should be used within <FormField>');
19
- }
20
- const { id } = itemContext;
21
- return {
22
- id,
23
- name: fieldContext.name,
24
- formItemId: `${id}-form-item`,
25
- formDescriptionId: `${id}-form-item-description`,
26
- formMessageId: `${id}-form-item-message`,
27
- ...fieldState,
28
- };
29
- };
30
- const FormItemContext = React.createContext({});
31
- const FormItem = React.forwardRef(({ className, ...props }, ref) => {
32
- const id = React.useId();
33
- return (_jsx(FormItemContext.Provider, { value: { id }, children: _jsx("div", { ref: ref, className: cn('', className), ...props }) }));
34
- });
35
- FormItem.displayName = 'FormItem';
36
- const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
37
- const { error, formItemId } = useFormField();
38
- return _jsx(Label, { ref: ref, className: cn(error && 'text-destructive', className), htmlFor: formItemId, ...props });
39
- });
40
- FormLabel.displayName = 'FormLabel';
41
- const FormControl = React.forwardRef(({ ...props }, ref) => {
42
- const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
43
- return (_jsx(Slot, { ref: ref, id: formItemId, "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`, "aria-invalid": !!error, ...props }));
44
- });
45
- FormControl.displayName = 'FormControl';
46
- const FormDescription = React.forwardRef(({ className, ...props }, ref) => {
47
- const { formDescriptionId } = useFormField();
48
- return _jsx("p", { ref: ref, id: formDescriptionId, className: cn('text-sm text-muted-foreground', className), ...props });
49
- });
50
- FormDescription.displayName = 'FormDescription';
51
- const FormMessage = React.forwardRef(({ className, children, ...props }, ref) => {
52
- const { error, formMessageId } = useFormField();
53
- const body = error ? String(error?.message) : children;
54
- if (!body) {
55
- return null;
56
- }
57
- return (_jsx("p", { ref: ref, id: formMessageId, className: cn('text-sm font-medium text-destructive', className), ...props, children: body }));
58
- });
59
- FormMessage.displayName = 'FormMessage';
60
- export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
3
- declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
4
- declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
5
- declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- export { HoverCard, HoverCardTrigger, HoverCardContent };
7
- //# sourceMappingURL=hover-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../src/components/hover-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAC;AAIjE,QAAA,MAAM,SAAS,6CAA0B,CAAC;AAE1C,QAAA,MAAM,gBAAgB,oHAA6B,CAAC;AAEpD,QAAA,MAAM,gBAAgB,oKAcpB,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as React from 'react';
3
- import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
4
- import { cn } from '@/lib/utils';
5
- const HoverCard = HoverCardPrimitive.Root;
6
- const HoverCardTrigger = HoverCardPrimitive.Trigger;
7
- const HoverCardContent = React.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (_jsx(HoverCardPrimitive.Content, { ref: ref, align: align, sideOffset: sideOffset, className: cn('z-50 w-auto mr-20 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-1 data-[side=top]:slide-in-from-bottom-2', className), ...props })));
8
- HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
9
- export { HoverCard, HoverCardTrigger, HoverCardContent };
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- mask?: string;
4
- maskPlaceholder?: string | null;
5
- maxLength?: number;
6
- placeholder?: string;
7
- label?: string;
8
- disabled?: boolean;
9
- }
10
- export interface InputDecimalProps extends InputProps {
11
- symbol?: string;
12
- }
13
- declare const InputFile: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
14
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
15
- declare const InputUF: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
16
- declare const InputText: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
17
- declare const MaskInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
18
- declare const MaskInputDate: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
19
- declare const MaskInputCpfCnpj: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
20
- declare const MaskInputFone: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
21
- declare const InputPassword: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
22
- declare const MaskInputDecimal: React.ForwardRefExoticComponent<InputDecimalProps & React.RefAttributes<HTMLInputElement>>;
23
- export { Input, InputFile, InputPassword, InputText, InputUF, MaskInput, MaskInputCpfCnpj, MaskInputDate, MaskInputDecimal, MaskInputFone };
24
- //# sourceMappingURL=input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,QAAA,MAAM,SAAS,qFAeb,CAAC;AAEH,QAAA,MAAM,KAAK,qFAgBT,CAAC;AAEH,QAAA,MAAM,OAAO,qFAmBX,CAAC;AAEH,QAAA,MAAM,SAAS,qFAiBb,CAAC;AAEH,QAAA,MAAM,SAAS,qFAqBd,CAAC;AAEF,QAAA,MAAM,aAAa,qFA+ClB,CAAC;AAEF,QAAA,MAAM,gBAAgB,qFAoBpB,CAAC;AAEH,QAAA,MAAM,aAAa,qFAoBjB,CAAC;AAEH,QAAA,MAAM,aAAa,qFAejB,CAAC;AAEH,QAAA,MAAM,gBAAgB,4FA0BpB,CAAC;AAEH,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC"}
@@ -1,71 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { formatDecimal } from '@/lib/help/format';
3
- import { cn } from '@/lib/utils';
4
- import InputMask from '@mona-health/react-input-mask';
5
- import * as React from 'react';
6
- import { useEffect, useState } from 'react';
7
- import { DatePicker } from './custom/date-picker';
8
- function classBorderColor(className, ariaInvalid) {
9
- if (className?.includes('border-none')) {
10
- return '';
11
- }
12
- return ariaInvalid ? 'border-red-600' : 'border-input';
13
- }
14
- const InputFile = React.forwardRef(({ className, placeholder, disabled, ...props }, ref) => {
15
- return (_jsx("input", { type: 'file', placeholder: placeholder, disabled: disabled, className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ref: ref, ...props }));
16
- });
17
- const Input = React.forwardRef(({ className, placeholder, type, maxLength, disabled, ...props }, ref) => {
18
- return (_jsx("input", { type: type, placeholder: placeholder, maxLength: maxLength, disabled: disabled, className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ref: ref, ...props }));
19
- });
20
- const InputUF = React.forwardRef(({ className, placeholder, type, maxLength, disabled, ...props }, ref) => {
21
- return (_jsx("input", { type: type, placeholder: placeholder, maxLength: maxLength, disabled: disabled, className: cn('flex h-10 w-full rounded-md border px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ref: ref, ...props, onChange: (e) => {
22
- alert(e.target.value);
23
- } }));
24
- });
25
- const InputText = React.forwardRef(({ className, placeholder, type, maxLength, value, disabled, ...props }, ref) => {
26
- return (_jsx("input", { type: type, placeholder: placeholder, maxLength: maxLength, value: value || '', className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), disabled: disabled, ref: ref, ...props }));
27
- });
28
- const MaskInput = React.forwardRef(({ className, type, mask, maskPlaceholder, value, maxLength, disabled, placeholder, ...props }, ref) => {
29
- return (_jsx(InputMask, { ref: ref, mask: mask || '', maskPlaceholder: maskPlaceholder, type: type, value: value || '', disabled: disabled, maxLength: maxLength, placeholder: placeholder, className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ...props }));
30
- });
31
- const MaskInputDate = React.forwardRef(({ className, type, mask, maxLength, disabled, placeholder, onChange, value, ...props }, ref) => {
32
- const [selectedDate, setSelectedDate] = useState(null);
33
- const handleDayPickerSelect = (selectedDate) => {
34
- setSelectedDate(selectedDate);
35
- if (selectedDate) {
36
- const formattedDate = selectedDate.toLocaleDateString('pt-BR');
37
- if (onChange) {
38
- onChange({ target: { value: formattedDate } });
39
- }
40
- }
41
- };
42
- useEffect(() => {
43
- if (value) {
44
- const parsedDate = new Date(Array.isArray(value) ? value[0] : value);
45
- if (!Number.isNaN(parsedDate.getTime())) {
46
- setSelectedDate(parsedDate);
47
- }
48
- }
49
- }, [value]);
50
- return (_jsxs("div", { className: 'relative w-full', children: [_jsx(InputMask, { ref: ref, mask: '99/99/9999', value: value || '', onChange: onChange, type: type, disabled: disabled, maxLength: maxLength, placeholder: placeholder ?? 'DD/MM/AAAA', className: cn('flex h-10 w-full rounded-md border bg-background pl-9 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ...props }), _jsx("div", { className: 'absolute left-3 top-1/2 -translate-y-1/2 cursor-pointer', children: _jsx(DatePicker, { onDateSelected: handleDayPickerSelect, selectedDateProps: selectedDate }) })] }));
51
- });
52
- const MaskInputCpfCnpj = React.forwardRef(({ className, type, mask, value, disabled, ...props }, ref) => {
53
- return (_jsx("div", { children: _jsx(InputMask, { ref: ref, type: type, mask: mask || '', maskPlaceholder: null, value: value || '', disabled: disabled, placeholder: '000.000.000-00', className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ...props }) }));
54
- });
55
- const MaskInputFone = React.forwardRef(({ className, type, mask, value, disabled, ...props }, ref) => {
56
- return (_jsx("div", { children: _jsx(InputMask, { ref: ref, type: type, mask: mask || '', maskPlaceholder: null, value: value || '', disabled: disabled, placeholder: '(00) 0 0000-0000', className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ...props }) }));
57
- });
58
- const InputPassword = React.forwardRef(({ className, placeholder, type, maxLength, ...props }, ref) => {
59
- return (_jsx("input", { type: type, placeholder: placeholder, maxLength: maxLength, className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ref: ref, ...props }));
60
- });
61
- const MaskInputDecimal = React.forwardRef(({ className, value, onChange, disabled, symbol, ...props }, ref) => {
62
- const handleChange = (event) => {
63
- const numericValue = Number(event.target.value.replace(/\D/g, '')) / 100;
64
- const formattedValue = symbol ? `${symbol} ${formatDecimal(numericValue)}` : formatDecimal(numericValue);
65
- if (onChange) {
66
- onChange({ ...event, target: { ...event.target, value: formattedValue } });
67
- }
68
- };
69
- return (_jsx(InputMask, { ref: ref, mask: '', value: value || '', onChange: handleChange, disabled: disabled, placeholder: symbol ? `${symbol} 0,00` : '0,00', className: cn('flex h-10 w-full rounded-md border bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:border-disabled disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', classBorderColor(className, props['aria-invalid'] === true), className), ...props }));
70
- });
71
- export { Input, InputFile, InputPassword, InputText, InputUF, MaskInput, MaskInputCpfCnpj, MaskInputDate, MaskInputDecimal, MaskInputFone };
@@ -1,6 +0,0 @@
1
- import * as LabelPrimitive from '@radix-ui/react-label';
2
- import { type VariantProps } from 'class-variance-authority';
3
- import * as React from 'react';
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
6
- //# sourceMappingURL=label.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/components/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,QAAA,MAAM,KAAK,iQAGiH,CAAC;AAG7H,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- import { cva } from 'class-variance-authority';
4
- import * as React from 'react';
5
- import { cn } from '@/lib/utils';
6
- const labelVariants = cva('text-sm font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70');
7
- const Label = React.forwardRef(({ className, ...props }, ref) => _jsx(LabelPrimitive.Root, { ref: ref, className: cn(labelVariants(), className), ...props }));
8
- Label.displayName = LabelPrimitive.Root.displayName;
9
- export { Label };
@@ -1,17 +0,0 @@
1
- import { Modify } from '@react-input/mask';
2
- export declare const modifyPhone: Modify;
3
- export declare function maskPhone(value: string | null): {
4
- mask: string;
5
- replacement: {
6
- _: RegExp;
7
- };
8
- };
9
- export declare const modifyCpfCnpj: Modify;
10
- export declare function maskCpfCnpj(value: string | null): {
11
- mask: string;
12
- replacement: {
13
- _: RegExp;
14
- };
15
- };
16
- export declare const removeMaskNumber: (value: string) => string;
17
- //# sourceMappingURL=masks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"masks.d.ts","sourceRoot":"","sources":["../../src/components/masks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,eAAO,MAAM,WAAW,EAAE,MAKzB,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;;;;;EAM7C;AAED,eAAO,MAAM,aAAa,EAAE,MAK3B,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;;;;;EAM/C;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,KAAG,MAEhD,CAAC"}
@@ -1,25 +0,0 @@
1
- export const modifyPhone = ({ value, data, selectionStart, selectionEnd }) => {
2
- const _value = value.slice(0, selectionStart) + (data ?? '') + value.slice(selectionEnd);
3
- const len = _value ? _value.replace(/[\D]+/g, '').length : 0;
4
- return maskPhone(_value);
5
- };
6
- export function maskPhone(value) {
7
- const len = value ? value.replace(/[\D]+/g, '').length : 0;
8
- if (len > 10)
9
- return { mask: '(__) _ ____-____', replacement: { _: /\d/ } };
10
- return { mask: '(__) ____-_____', replacement: { _: /\d/ } };
11
- }
12
- export const modifyCpfCnpj = ({ value, data, selectionStart, selectionEnd }) => {
13
- const _value = value.slice(0, selectionStart) + (data ?? '') + value.slice(selectionEnd);
14
- const len = _value ? _value.replace(/[\D]+/g, '').length : 0;
15
- return maskCpfCnpj(_value);
16
- };
17
- export function maskCpfCnpj(value) {
18
- const len = value ? value.replace(/[\D]+/g, '').length : 0;
19
- if (len > 11)
20
- return { mask: '__.___.___/____-__', replacement: { _: /\d/ } };
21
- return { mask: '___.___.___-___', replacement: { _: /\d/ } };
22
- }
23
- export const removeMaskNumber = (value) => {
24
- return value?.replace(/\D/g, '');
25
- };
@@ -1,30 +0,0 @@
1
- import * as React from 'react';
2
- import { ButtonProps } from './button';
3
- declare const Pagination: {
4
- ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
5
- displayName: string;
6
- };
7
- declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
8
- declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
9
- type PaginationLinkProps = {
10
- isActive?: boolean;
11
- disabled?: boolean;
12
- } & Pick<ButtonProps, 'size'> & React.ComponentProps<'a'>;
13
- declare const PaginationLink: {
14
- ({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
15
- displayName: string;
16
- };
17
- declare const PaginationPrevious: {
18
- ({ className, disabled, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
19
- displayName: string;
20
- };
21
- declare const PaginationNext: {
22
- ({ className, disabled, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
23
- displayName: string;
24
- };
25
- declare const PaginationEllipsis: {
26
- ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
27
- displayName: string;
28
- };
29
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
30
- //# sourceMappingURL=pagination.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/components/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAkB,MAAM,UAAU,CAAC;AAEvD,QAAA,MAAM,UAAU;8BAA6B,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;;CAEvE,CAAC;AAGF,QAAA,MAAM,iBAAiB,yKAErB,CAAC;AAGH,QAAA,MAAM,cAAc,kKAElB,CAAC;AAGH,KAAK,mBAAmB,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAC5B,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAE3B,QAAA,MAAM,cAAc;8CAAsD,mBAAmB;;CAa5F,CAAC;AAGF,QAAA,MAAM,kBAAkB;wCAAuC,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC;;CAUzG,CAAC;AAGF,QAAA,MAAM,cAAc;wCAAuC,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC;;CAUrG,CAAC;AAGF,QAAA,MAAM,kBAAkB;8BAA6B,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAKhF,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ChevronLeft, ChevronRight, MoreHorizontal } from 'lucide-react';
3
- import * as React from 'react';
4
- import { cn } from '@/lib/utils';
5
- import { buttonVariants } from './button';
6
- const Pagination = ({ className, ...props }) => (_jsx("nav", { role: 'navigation', "aria-label": 'pagination', className: cn('mx-auto flex w-full justify-center', className), ...props }));
7
- Pagination.displayName = 'Pagination';
8
- const PaginationContent = React.forwardRef(({ className, ...props }, ref) => (_jsx("ul", { ref: ref, className: cn('flex flex-row items-center gap-1', className), ...props })));
9
- PaginationContent.displayName = 'PaginationContent';
10
- const PaginationItem = React.forwardRef(({ className, ...props }, ref) => (_jsx("li", { ref: ref, className: cn('', className), ...props })));
11
- PaginationItem.displayName = 'PaginationItem';
12
- const PaginationLink = ({ className, isActive, size = 'icon', ...props }) => (_jsx("a", { "aria-current": isActive ? 'page' : undefined, className: cn(buttonVariants({
13
- variant: isActive ? 'outline' : 'ghost',
14
- size,
15
- }), isActive ? '' : 'cursor-pointer', className), ...props }));
16
- PaginationLink.displayName = 'PaginationLink';
17
- const PaginationPrevious = ({ className, disabled, ...props }) => (_jsxs(PaginationLink, { "aria-label": 'Go to previous page', size: 'default', className: cn('gap-1 pl-2.5', disabled ? 'cursor-default text-zinc-500' : 'cursor-pointer', className), ...props, children: [_jsx(ChevronLeft, { className: 'h-4 w-4' }), _jsx("span", { children: "Anterior" })] }));
18
- PaginationPrevious.displayName = 'PaginationPrevious';
19
- const PaginationNext = ({ className, disabled, ...props }) => (_jsxs(PaginationLink, { "aria-label": 'Go to next page', size: 'default', className: cn('gap-1 pr-2.5', disabled ? 'cursor-default text-zinc-500' : 'cursor-pointer', className), ...props, children: [_jsx("span", { children: "Pr\u00F3ximo" }), _jsx(ChevronRight, { className: 'h-4 w-4' })] }));
20
- PaginationNext.displayName = 'PaginationNext';
21
- const PaginationEllipsis = ({ className, ...props }) => (_jsxs("span", { "aria-hidden": true, className: cn('flex h-9 w-9 items-center justify-center', className), ...props, children: [_jsx(MoreHorizontal, { className: 'h-4 w-4' }), _jsx("span", { className: 'sr-only', children: "More pages" })] }));
22
- PaginationEllipsis.displayName = 'PaginationEllipsis';
23
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -1,7 +0,0 @@
1
- import * as PopoverPrimitive from '@radix-ui/react-popover';
2
- import * as React from 'react';
3
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- export { Popover, PopoverContent, PopoverTrigger };
7
- //# sourceMappingURL=popover.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/components/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,gKAmBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as PopoverPrimitive from '@radix-ui/react-popover';
3
- import * as React from 'react';
4
- import { cn } from '@/lib/utils';
5
- const Popover = PopoverPrimitive.Root;
6
- const PopoverTrigger = PopoverPrimitive.Trigger;
7
- const PopoverContent = React.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, { ref: ref, align: align, sideOffset: sideOffset, onWheel: (e) => {
8
- e.stopPropagation();
9
- }, className: cn('z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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', className), ...props }) })));
10
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
11
- export { Popover, PopoverContent, PopoverTrigger };
@@ -1,5 +0,0 @@
1
- import * as ProgressPrimitive from '@radix-ui/react-progress';
2
- import * as React from 'react';
3
- declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export { Progress };
5
- //# sourceMappingURL=progress.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/components/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,QAAQ,2JAab,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as ProgressPrimitive from '@radix-ui/react-progress';
3
- import * as React from 'react';
4
- import { cn } from '@/lib/utils';
5
- const Progress = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(ProgressPrimitive.Root, { ref: ref, className: cn('relative h-4 w-full overflow-hidden rounded-full bg-background-secondary', className), ...props, children: _jsx(ProgressPrimitive.Indicator, { className: 'h-full w-full flex-1 bg-background-primary transition-all', style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
6
- Progress.displayName = ProgressPrimitive.Root.displayName;
7
- export { Progress };
@@ -1,6 +0,0 @@
1
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
2
- import * as React from 'react';
3
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
- export { RadioGroup, RadioGroupItem };
6
- //# sourceMappingURL=radio-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../src/components/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,UAAU,+JAKd,CAAC;AAGH,QAAA,MAAM,cAAc,yKAkBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
- import { Circle } from 'lucide-react';
4
- import * as React from 'react';
5
- import { cn } from '@/lib/utils';
6
- const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
7
- return _jsx(RadioGroupPrimitive.Root, { className: cn('', className), ...props, ref: ref });
8
- });
9
- RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
10
- const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
11
- return (_jsx(RadioGroupPrimitive.Item, { ref: ref, className: cn('aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', className), ...props, children: _jsx(RadioGroupPrimitive.Indicator, { className: 'flex items-center justify-center', children: _jsx(Circle, { className: 'h-2.5 w-2.5 fill-current text-current' }) }) }));
12
- });
13
- RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
14
- export { RadioGroup, RadioGroupItem };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
3
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- export { ScrollArea, ScrollBar };
6
- //# sourceMappingURL=scroll-area.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../src/components/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAIlE,QAAA,MAAM,UAAU,+JAed,CAAA;AAGF,QAAA,MAAM,SAAS,wKAmBb,CAAA;AAGF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAA"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4
- import { cn } from "@/lib/utils";
5
- const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(ScrollAreaPrimitive.Root, { ref: ref, className: cn("relative overflow-hidden", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] })));
6
- ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
7
- const ScrollBar = React.forwardRef(({ className, orientation = "vertical", ...props }, ref) => (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { ref: ref, orientation: orientation, className: cn("flex touch-none select-none transition-colors", orientation === "vertical" &&
8
- "h-full w-2.5 border-l border-l-transparent p-[1px]", orientation === "horizontal" &&
9
- "h-2.5 flex-col border-t border-t-transparent p-[1px]", className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" }) })));
10
- ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
11
- export { ScrollArea, ScrollBar };
@@ -1,14 +0,0 @@
1
- import * as SelectPrimitive from '@radix-ui/react-select';
2
- import * as React from 'react';
3
- declare const Select: React.FC<SelectPrimitive.SelectProps>;
4
- declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
5
- declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
6
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
- declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
- declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
- declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
14
- //# sourceMappingURL=select.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/components/select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,oKAiBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,qKAOxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAO1B,CAAC;AAGH,QAAA,MAAM,aAAa,8JA4BjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JAIhB,CAAC;AAGF,QAAA,MAAM,UAAU,2JAmBf,CAAC;AAGF,QAAA,MAAM,eAAe,gKAGwH,CAAC;AAG9I,OAAO,EACN,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACX,CAAC"}