eai-frontend-components 2.0.7 → 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 (582) hide show
  1. package/dist/index.d.ts +24 -73
  2. package/package.json +1 -1
  3. package/dist/components/accordion.d.ts +0 -8
  4. package/dist/components/accordion.d.ts.map +0 -1
  5. package/dist/components/accordion.js +0 -13
  6. package/dist/components/alert-dialog.d.ts +0 -25
  7. package/dist/components/alert-dialog.d.ts.map +0 -1
  8. package/dist/components/alert-dialog.js +0 -27
  9. package/dist/components/alert.d.ts +0 -9
  10. package/dist/components/alert.d.ts.map +0 -1
  11. package/dist/components/alert.js +0 -22
  12. package/dist/components/avatar.d.ts +0 -7
  13. package/dist/components/avatar.d.ts.map +0 -1
  14. package/dist/components/avatar.js +0 -11
  15. package/dist/components/badge.d.ts +0 -10
  16. package/dist/components/badge.d.ts.map +0 -1
  17. package/dist/components/badge.js +0 -26
  18. package/dist/components/breadcrumb.d.ts +0 -20
  19. package/dist/components/breadcrumb.d.ts.map +0 -1
  20. package/dist/components/breadcrumb.js +0 -23
  21. package/dist/components/button.d.ts +0 -12
  22. package/dist/components/button.d.ts.map +0 -1
  23. package/dist/components/button.js +0 -33
  24. package/dist/components/calendar.d.ts +0 -9
  25. package/dist/components/calendar.d.ts.map +0 -1
  26. package/dist/components/calendar.js +0 -70
  27. package/dist/components/card.d.ts +0 -9
  28. package/dist/components/card.d.ts.map +0 -1
  29. package/dist/components/card.js +0 -16
  30. package/dist/components/carousel.d.ts +0 -19
  31. package/dist/components/carousel.d.ts.map +0 -1
  32. package/dist/components/carousel.js +0 -98
  33. package/dist/components/chart.d.ts +0 -63
  34. package/dist/components/chart.d.ts.map +0 -1
  35. package/dist/components/chart.js +0 -130
  36. package/dist/components/checkbox.d.ts +0 -5
  37. package/dist/components/checkbox.d.ts.map +0 -1
  38. package/dist/components/checkbox.js +0 -8
  39. package/dist/components/collapsible.d.ts +0 -6
  40. package/dist/components/collapsible.d.ts.map +0 -1
  41. package/dist/components/collapsible.js +0 -5
  42. package/dist/components/command.d.ts +0 -81
  43. package/dist/components/command.d.ts.map +0 -1
  44. package/dist/components/command.js +0 -28
  45. package/dist/components/context-menu.d.ts +0 -28
  46. package/dist/components/context-menu.d.ts.map +0 -1
  47. package/dist/components/context-menu.js +0 -33
  48. package/dist/components/custom/date-picker.d.ts +0 -12
  49. package/dist/components/custom/date-picker.d.ts.map +0 -1
  50. package/dist/components/custom/date-picker.js +0 -35
  51. package/dist/components/custom/form/checkbox.d.ts +0 -13
  52. package/dist/components/custom/form/checkbox.d.ts.map +0 -1
  53. package/dist/components/custom/form/checkbox.js +0 -15
  54. package/dist/components/custom/form/color.d.ts +0 -15
  55. package/dist/components/custom/form/color.d.ts.map +0 -1
  56. package/dist/components/custom/form/color.js +0 -40
  57. package/dist/components/custom/form/combobox.d.ts +0 -37
  58. package/dist/components/custom/form/combobox.d.ts.map +0 -1
  59. package/dist/components/custom/form/combobox.js +0 -82
  60. package/dist/components/custom/form/cpf-cnpj.d.ts +0 -16
  61. package/dist/components/custom/form/cpf-cnpj.d.ts.map +0 -1
  62. package/dist/components/custom/form/cpf-cnpj.js +0 -32
  63. package/dist/components/custom/form/currency.d.ts +0 -14
  64. package/dist/components/custom/form/currency.d.ts.map +0 -1
  65. package/dist/components/custom/form/currency.js +0 -15
  66. package/dist/components/custom/form/date-range.d.ts +0 -16
  67. package/dist/components/custom/form/date-range.d.ts.map +0 -1
  68. package/dist/components/custom/form/date-range.js +0 -24
  69. package/dist/components/custom/form/date.d.ts +0 -16
  70. package/dist/components/custom/form/date.d.ts.map +0 -1
  71. package/dist/components/custom/form/date.js +0 -35
  72. package/dist/components/custom/form/decimal.d.ts +0 -14
  73. package/dist/components/custom/form/decimal.d.ts.map +0 -1
  74. package/dist/components/custom/form/decimal.js +0 -15
  75. package/dist/components/custom/form/file.d.ts +0 -15
  76. package/dist/components/custom/form/file.d.ts.map +0 -1
  77. package/dist/components/custom/form/file.js +0 -18
  78. package/dist/components/custom/form/form-help-text.d.ts +0 -3
  79. package/dist/components/custom/form/form-help-text.d.ts.map +0 -1
  80. package/dist/components/custom/form/form-help-text.js +0 -7
  81. package/dist/components/custom/form/form-label.d.ts +0 -4
  82. package/dist/components/custom/form/form-label.d.ts.map +0 -1
  83. package/dist/components/custom/form/form-label.js +0 -9
  84. package/dist/components/custom/form/form-message.d.ts +0 -3
  85. package/dist/components/custom/form/form-message.d.ts.map +0 -1
  86. package/dist/components/custom/form/form-message.js +0 -5
  87. package/dist/components/custom/form/ghost.d.ts +0 -8
  88. package/dist/components/custom/form/ghost.d.ts.map +0 -1
  89. package/dist/components/custom/form/ghost.js +0 -8
  90. package/dist/components/custom/form/input.d.ts +0 -18
  91. package/dist/components/custom/form/input.d.ts.map +0 -1
  92. package/dist/components/custom/form/input.js +0 -14
  93. package/dist/components/custom/form/mask.d.ts +0 -19
  94. package/dist/components/custom/form/mask.d.ts.map +0 -1
  95. package/dist/components/custom/form/mask.js +0 -19
  96. package/dist/components/custom/form/multi-select-old.d.ts +0 -19
  97. package/dist/components/custom/form/multi-select-old.d.ts.map +0 -1
  98. package/dist/components/custom/form/multi-select-old.js +0 -30
  99. package/dist/components/custom/form/multi-select.d.ts +0 -26
  100. package/dist/components/custom/form/multi-select.d.ts.map +0 -1
  101. package/dist/components/custom/form/multi-select.js +0 -66
  102. package/dist/components/custom/form/password.d.ts +0 -16
  103. package/dist/components/custom/form/password.d.ts.map +0 -1
  104. package/dist/components/custom/form/password.js +0 -14
  105. package/dist/components/custom/form/percent.d.ts +0 -14
  106. package/dist/components/custom/form/percent.d.ts.map +0 -1
  107. package/dist/components/custom/form/percent.js +0 -15
  108. package/dist/components/custom/form/phone.d.ts +0 -16
  109. package/dist/components/custom/form/phone.d.ts.map +0 -1
  110. package/dist/components/custom/form/phone.js +0 -23
  111. package/dist/components/custom/form/radio-group.d.ts +0 -23
  112. package/dist/components/custom/form/radio-group.d.ts.map +0 -1
  113. package/dist/components/custom/form/radio-group.js +0 -15
  114. package/dist/components/custom/form/select.d.ts +0 -20
  115. package/dist/components/custom/form/select.d.ts.map +0 -1
  116. package/dist/components/custom/form/select.js +0 -12
  117. package/dist/components/custom/form/step-new-form.d.ts +0 -10
  118. package/dist/components/custom/form/step-new-form.d.ts.map +0 -1
  119. package/dist/components/custom/form/step-new-form.js +0 -13
  120. package/dist/components/custom/form/switch.d.ts +0 -13
  121. package/dist/components/custom/form/switch.d.ts.map +0 -1
  122. package/dist/components/custom/form/switch.js +0 -16
  123. package/dist/components/custom/form/text.d.ts +0 -18
  124. package/dist/components/custom/form/text.d.ts.map +0 -1
  125. package/dist/components/custom/form/text.js +0 -14
  126. package/dist/components/custom/form/textarea.d.ts +0 -16
  127. package/dist/components/custom/form/textarea.d.ts.map +0 -1
  128. package/dist/components/custom/form/textarea.js +0 -19
  129. package/dist/components/custom/form/utils.d.ts +0 -18
  130. package/dist/components/custom/form/utils.d.ts.map +0 -1
  131. package/dist/components/custom/form/utils.js +0 -88
  132. package/dist/components/custom/header.d.ts +0 -3
  133. package/dist/components/custom/header.d.ts.map +0 -1
  134. package/dist/components/custom/header.js +0 -94
  135. package/dist/components/custom/label.d.ts +0 -13
  136. package/dist/components/custom/label.d.ts.map +0 -1
  137. package/dist/components/custom/label.js +0 -20
  138. package/dist/components/custom/not-found.d.ts +0 -3
  139. package/dist/components/custom/not-found.d.ts.map +0 -1
  140. package/dist/components/custom/not-found.js +0 -9
  141. package/dist/components/custom/sidebar/app-sidebar.d.ts +0 -5
  142. package/dist/components/custom/sidebar/app-sidebar.d.ts.map +0 -1
  143. package/dist/components/custom/sidebar/app-sidebar.js +0 -26
  144. package/dist/components/custom/sidebar/module-switcher.d.ts +0 -3
  145. package/dist/components/custom/sidebar/module-switcher.d.ts.map +0 -1
  146. package/dist/components/custom/sidebar/module-switcher.js +0 -55
  147. package/dist/components/custom/sidebar/nav-footer.d.ts +0 -3
  148. package/dist/components/custom/sidebar/nav-footer.d.ts.map +0 -1
  149. package/dist/components/custom/sidebar/nav-footer.js +0 -17
  150. package/dist/components/custom/sidebar/nav-main.d.ts +0 -3
  151. package/dist/components/custom/sidebar/nav-main.d.ts.map +0 -1
  152. package/dist/components/custom/sidebar/nav-main.js +0 -32
  153. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts +0 -9
  154. package/dist/components/custom/sidebar/nav-submenu-collapsible.d.ts.map +0 -1
  155. package/dist/components/custom/sidebar/nav-submenu-collapsible.js +0 -21
  156. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts +0 -10
  157. package/dist/components/custom/sidebar/nav-submenu-dropdown.d.ts.map +0 -1
  158. package/dist/components/custom/sidebar/nav-submenu-dropdown.js +0 -13
  159. package/dist/components/custom/sidebar/nav-user.d.ts +0 -3
  160. package/dist/components/custom/sidebar/nav-user.d.ts.map +0 -1
  161. package/dist/components/custom/sidebar/nav-user.js +0 -51
  162. package/dist/components/custom/sidebar/sidebar-button.d.ts +0 -9
  163. package/dist/components/custom/sidebar/sidebar-button.d.ts.map +0 -1
  164. package/dist/components/custom/sidebar/sidebar-button.js +0 -7
  165. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts +0 -12
  166. package/dist/components/custom/sidebar/sidebar-item-two-lines.d.ts.map +0 -1
  167. package/dist/components/custom/sidebar/sidebar-item-two-lines.js +0 -5
  168. package/dist/components/custom/sidebar/sidebar-item.d.ts +0 -9
  169. package/dist/components/custom/sidebar/sidebar-item.d.ts.map +0 -1
  170. package/dist/components/custom/sidebar/sidebar-item.js +0 -7
  171. package/dist/components/custom/sidebar/types/sidebar.d.ts +0 -29
  172. package/dist/components/custom/sidebar/types/sidebar.d.ts.map +0 -1
  173. package/dist/components/custom/sidebar/types/sidebar.js +0 -5
  174. package/dist/components/custom/table/data-table-export.d.ts +0 -8
  175. package/dist/components/custom/table/data-table-export.d.ts.map +0 -1
  176. package/dist/components/custom/table/data-table-export.js +0 -65
  177. package/dist/components/custom/table/data-table-footer.d.ts +0 -25
  178. package/dist/components/custom/table/data-table-footer.d.ts.map +0 -1
  179. package/dist/components/custom/table/data-table-footer.js +0 -39
  180. package/dist/components/custom/table/data-table-header.d.ts +0 -9
  181. package/dist/components/custom/table/data-table-header.d.ts.map +0 -1
  182. package/dist/components/custom/table/data-table-header.js +0 -11
  183. package/dist/components/custom/table/data-table-rows.d.ts +0 -13
  184. package/dist/components/custom/table/data-table-rows.d.ts.map +0 -1
  185. package/dist/components/custom/table/data-table-rows.js +0 -25
  186. package/dist/components/custom/table/data-table.d.ts +0 -35
  187. package/dist/components/custom/table/data-table.d.ts.map +0 -1
  188. package/dist/components/custom/table/data-table.js +0 -99
  189. package/dist/components/custom/table/types/data-table.d.ts +0 -29
  190. package/dist/components/custom/table/types/data-table.d.ts.map +0 -1
  191. package/dist/components/custom/table/types/data-table.js +0 -1
  192. package/dist/components/custom/theme-provider.d.ts +0 -24
  193. package/dist/components/custom/theme-provider.d.ts.map +0 -1
  194. package/dist/components/custom/theme-provider.js +0 -79
  195. package/dist/components/dateRangePicker.d.ts +0 -3
  196. package/dist/components/dateRangePicker.d.ts.map +0 -1
  197. package/dist/components/dateRangePicker.js +0 -15
  198. package/dist/components/dialog.d.ts +0 -23
  199. package/dist/components/dialog.d.ts.map +0 -1
  200. package/dist/components/dialog.js +0 -23
  201. package/dist/components/drawer.d.ts +0 -23
  202. package/dist/components/drawer.d.ts.map +0 -1
  203. package/dist/components/drawer.js +0 -22
  204. package/dist/components/dropdown-menu.d.ts +0 -28
  205. package/dist/components/dropdown-menu.d.ts.map +0 -1
  206. package/dist/components/dropdown-menu.js +0 -32
  207. package/dist/components/form.d.ts +0 -24
  208. package/dist/components/form.d.ts.map +0 -1
  209. package/dist/components/form.js +0 -60
  210. package/dist/components/hover-card.d.ts +0 -7
  211. package/dist/components/hover-card.d.ts.map +0 -1
  212. package/dist/components/hover-card.js +0 -9
  213. package/dist/components/input.d.ts +0 -24
  214. package/dist/components/input.d.ts.map +0 -1
  215. package/dist/components/input.js +0 -71
  216. package/dist/components/label.d.ts +0 -6
  217. package/dist/components/label.d.ts.map +0 -1
  218. package/dist/components/label.js +0 -9
  219. package/dist/components/masks.d.ts +0 -17
  220. package/dist/components/masks.d.ts.map +0 -1
  221. package/dist/components/masks.js +0 -25
  222. package/dist/components/pagination.d.ts +0 -30
  223. package/dist/components/pagination.d.ts.map +0 -1
  224. package/dist/components/pagination.js +0 -23
  225. package/dist/components/popover.d.ts +0 -7
  226. package/dist/components/popover.d.ts.map +0 -1
  227. package/dist/components/popover.js +0 -11
  228. package/dist/components/progress.d.ts +0 -5
  229. package/dist/components/progress.d.ts.map +0 -1
  230. package/dist/components/progress.js +0 -7
  231. package/dist/components/radio-group.d.ts +0 -6
  232. package/dist/components/radio-group.d.ts.map +0 -1
  233. package/dist/components/radio-group.js +0 -14
  234. package/dist/components/scroll-area.d.ts +0 -6
  235. package/dist/components/scroll-area.d.ts.map +0 -1
  236. package/dist/components/scroll-area.js +0 -11
  237. package/dist/components/select.d.ts +0 -14
  238. package/dist/components/select.d.ts.map +0 -1
  239. package/dist/components/select.js +0 -24
  240. package/dist/components/separator.d.ts +0 -5
  241. package/dist/components/separator.d.ts.map +0 -1
  242. package/dist/components/separator.js +0 -7
  243. package/dist/components/sheet.d.ts +0 -26
  244. package/dist/components/sheet.d.ts.map +0 -1
  245. package/dist/components/sheet.js +0 -37
  246. package/dist/components/sidebar.d.ts +0 -67
  247. package/dist/components/sidebar.d.ts.map +0 -1
  248. package/dist/components/sidebar.js +0 -221
  249. package/dist/components/skeleton.d.ts +0 -3
  250. package/dist/components/skeleton.d.ts.map +0 -1
  251. package/dist/components/skeleton.js +0 -6
  252. package/dist/components/slider.d.ts +0 -5
  253. package/dist/components/slider.d.ts.map +0 -1
  254. package/dist/components/slider.js +0 -7
  255. package/dist/components/switch.d.ts +0 -5
  256. package/dist/components/switch.d.ts.map +0 -1
  257. package/dist/components/switch.js +0 -7
  258. package/dist/components/table.d.ts +0 -11
  259. package/dist/components/table.d.ts.map +0 -1
  260. package/dist/components/table.js +0 -20
  261. package/dist/components/tabs.d.ts +0 -8
  262. package/dist/components/tabs.d.ts.map +0 -1
  263. package/dist/components/tabs.js +0 -12
  264. package/dist/components/textarea.d.ts +0 -4
  265. package/dist/components/textarea.d.ts.map +0 -1
  266. package/dist/components/textarea.js +0 -14
  267. package/dist/components/toast.d.ts +0 -16
  268. package/dist/components/toast.d.ts.map +0 -1
  269. package/dist/components/toast.js +0 -34
  270. package/dist/components/toaster.d.ts +0 -2
  271. package/dist/components/toaster.d.ts.map +0 -1
  272. package/dist/components/toaster.js +0 -21
  273. package/dist/components/tooltip.d.ts +0 -8
  274. package/dist/components/tooltip.d.ts.map +0 -1
  275. package/dist/components/tooltip.js +0 -10
  276. package/dist/components/ui/accordion.d.ts +0 -8
  277. package/dist/components/ui/accordion.d.ts.map +0 -1
  278. package/dist/components/ui/accordion.js +0 -13
  279. package/dist/components/ui/alert-dialog.d.ts +0 -25
  280. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  281. package/dist/components/ui/alert-dialog.js +0 -27
  282. package/dist/components/ui/alert.d.ts +0 -9
  283. package/dist/components/ui/alert.d.ts.map +0 -1
  284. package/dist/components/ui/alert.js +0 -22
  285. package/dist/components/ui/avatar.d.ts +0 -7
  286. package/dist/components/ui/avatar.d.ts.map +0 -1
  287. package/dist/components/ui/avatar.js +0 -11
  288. package/dist/components/ui/badge.d.ts +0 -10
  289. package/dist/components/ui/badge.d.ts.map +0 -1
  290. package/dist/components/ui/badge.js +0 -26
  291. package/dist/components/ui/breadcrumb.d.ts +0 -20
  292. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  293. package/dist/components/ui/breadcrumb.js +0 -23
  294. package/dist/components/ui/button.d.ts +0 -12
  295. package/dist/components/ui/button.d.ts.map +0 -1
  296. package/dist/components/ui/button.js +0 -33
  297. package/dist/components/ui/calendar.d.ts +0 -9
  298. package/dist/components/ui/calendar.d.ts.map +0 -1
  299. package/dist/components/ui/calendar.js +0 -70
  300. package/dist/components/ui/card.d.ts +0 -9
  301. package/dist/components/ui/card.d.ts.map +0 -1
  302. package/dist/components/ui/card.js +0 -16
  303. package/dist/components/ui/carousel.d.ts +0 -19
  304. package/dist/components/ui/carousel.d.ts.map +0 -1
  305. package/dist/components/ui/carousel.js +0 -98
  306. package/dist/components/ui/chart.d.ts +0 -63
  307. package/dist/components/ui/chart.d.ts.map +0 -1
  308. package/dist/components/ui/chart.js +0 -130
  309. package/dist/components/ui/checkbox.d.ts +0 -5
  310. package/dist/components/ui/checkbox.d.ts.map +0 -1
  311. package/dist/components/ui/checkbox.js +0 -8
  312. package/dist/components/ui/collapsible.d.ts +0 -6
  313. package/dist/components/ui/collapsible.d.ts.map +0 -1
  314. package/dist/components/ui/collapsible.js +0 -5
  315. package/dist/components/ui/command.d.ts +0 -81
  316. package/dist/components/ui/command.d.ts.map +0 -1
  317. package/dist/components/ui/command.js +0 -28
  318. package/dist/components/ui/context-menu.d.ts +0 -28
  319. package/dist/components/ui/context-menu.d.ts.map +0 -1
  320. package/dist/components/ui/context-menu.js +0 -33
  321. package/dist/components/ui/custom/date-picker.d.ts +0 -12
  322. package/dist/components/ui/custom/date-picker.d.ts.map +0 -1
  323. package/dist/components/ui/custom/date-picker.js +0 -35
  324. package/dist/components/ui/custom/form/checkbox.d.ts +0 -13
  325. package/dist/components/ui/custom/form/checkbox.d.ts.map +0 -1
  326. package/dist/components/ui/custom/form/checkbox.js +0 -15
  327. package/dist/components/ui/custom/form/color.d.ts +0 -15
  328. package/dist/components/ui/custom/form/color.d.ts.map +0 -1
  329. package/dist/components/ui/custom/form/color.js +0 -40
  330. package/dist/components/ui/custom/form/combobox.d.ts +0 -37
  331. package/dist/components/ui/custom/form/combobox.d.ts.map +0 -1
  332. package/dist/components/ui/custom/form/combobox.js +0 -82
  333. package/dist/components/ui/custom/form/cpf-cnpj.d.ts +0 -16
  334. package/dist/components/ui/custom/form/cpf-cnpj.d.ts.map +0 -1
  335. package/dist/components/ui/custom/form/cpf-cnpj.js +0 -32
  336. package/dist/components/ui/custom/form/currency.d.ts +0 -14
  337. package/dist/components/ui/custom/form/currency.d.ts.map +0 -1
  338. package/dist/components/ui/custom/form/currency.js +0 -15
  339. package/dist/components/ui/custom/form/date-range.d.ts +0 -16
  340. package/dist/components/ui/custom/form/date-range.d.ts.map +0 -1
  341. package/dist/components/ui/custom/form/date-range.js +0 -24
  342. package/dist/components/ui/custom/form/date.d.ts +0 -16
  343. package/dist/components/ui/custom/form/date.d.ts.map +0 -1
  344. package/dist/components/ui/custom/form/date.js +0 -35
  345. package/dist/components/ui/custom/form/decimal.d.ts +0 -14
  346. package/dist/components/ui/custom/form/decimal.d.ts.map +0 -1
  347. package/dist/components/ui/custom/form/decimal.js +0 -15
  348. package/dist/components/ui/custom/form/file.d.ts +0 -15
  349. package/dist/components/ui/custom/form/file.d.ts.map +0 -1
  350. package/dist/components/ui/custom/form/file.js +0 -18
  351. package/dist/components/ui/custom/form/form-help-text.d.ts +0 -3
  352. package/dist/components/ui/custom/form/form-help-text.d.ts.map +0 -1
  353. package/dist/components/ui/custom/form/form-help-text.js +0 -7
  354. package/dist/components/ui/custom/form/form-label.d.ts +0 -7
  355. package/dist/components/ui/custom/form/form-label.d.ts.map +0 -1
  356. package/dist/components/ui/custom/form/form-label.js +0 -9
  357. package/dist/components/ui/custom/form/form-message.d.ts +0 -5
  358. package/dist/components/ui/custom/form/form-message.d.ts.map +0 -1
  359. package/dist/components/ui/custom/form/form-message.js +0 -5
  360. package/dist/components/ui/custom/form/ghost.d.ts +0 -8
  361. package/dist/components/ui/custom/form/ghost.d.ts.map +0 -1
  362. package/dist/components/ui/custom/form/ghost.js +0 -8
  363. package/dist/components/ui/custom/form/input.d.ts +0 -18
  364. package/dist/components/ui/custom/form/input.d.ts.map +0 -1
  365. package/dist/components/ui/custom/form/input.js +0 -14
  366. package/dist/components/ui/custom/form/mask.d.ts +0 -19
  367. package/dist/components/ui/custom/form/mask.d.ts.map +0 -1
  368. package/dist/components/ui/custom/form/mask.js +0 -19
  369. package/dist/components/ui/custom/form/multi-select-old.d.ts +0 -19
  370. package/dist/components/ui/custom/form/multi-select-old.d.ts.map +0 -1
  371. package/dist/components/ui/custom/form/multi-select-old.js +0 -30
  372. package/dist/components/ui/custom/form/multi-select.d.ts +0 -26
  373. package/dist/components/ui/custom/form/multi-select.d.ts.map +0 -1
  374. package/dist/components/ui/custom/form/multi-select.js +0 -66
  375. package/dist/components/ui/custom/form/password.d.ts +0 -16
  376. package/dist/components/ui/custom/form/password.d.ts.map +0 -1
  377. package/dist/components/ui/custom/form/password.js +0 -14
  378. package/dist/components/ui/custom/form/percent.d.ts +0 -14
  379. package/dist/components/ui/custom/form/percent.d.ts.map +0 -1
  380. package/dist/components/ui/custom/form/percent.js +0 -15
  381. package/dist/components/ui/custom/form/phone.d.ts +0 -16
  382. package/dist/components/ui/custom/form/phone.d.ts.map +0 -1
  383. package/dist/components/ui/custom/form/phone.js +0 -23
  384. package/dist/components/ui/custom/form/radio-group.d.ts +0 -23
  385. package/dist/components/ui/custom/form/radio-group.d.ts.map +0 -1
  386. package/dist/components/ui/custom/form/radio-group.js +0 -15
  387. package/dist/components/ui/custom/form/select.d.ts +0 -20
  388. package/dist/components/ui/custom/form/select.d.ts.map +0 -1
  389. package/dist/components/ui/custom/form/select.js +0 -12
  390. package/dist/components/ui/custom/form/step-new-form.d.ts +0 -10
  391. package/dist/components/ui/custom/form/step-new-form.d.ts.map +0 -1
  392. package/dist/components/ui/custom/form/step-new-form.js +0 -13
  393. package/dist/components/ui/custom/form/switch.d.ts +0 -13
  394. package/dist/components/ui/custom/form/switch.d.ts.map +0 -1
  395. package/dist/components/ui/custom/form/switch.js +0 -16
  396. package/dist/components/ui/custom/form/text.d.ts +0 -18
  397. package/dist/components/ui/custom/form/text.d.ts.map +0 -1
  398. package/dist/components/ui/custom/form/text.js +0 -14
  399. package/dist/components/ui/custom/form/textarea.d.ts +0 -16
  400. package/dist/components/ui/custom/form/textarea.d.ts.map +0 -1
  401. package/dist/components/ui/custom/form/textarea.js +0 -19
  402. package/dist/components/ui/custom/form/utils.d.ts +0 -18
  403. package/dist/components/ui/custom/form/utils.d.ts.map +0 -1
  404. package/dist/components/ui/custom/form/utils.js +0 -88
  405. package/dist/components/ui/custom/header.d.ts +0 -11
  406. package/dist/components/ui/custom/header.d.ts.map +0 -1
  407. package/dist/components/ui/custom/header.js +0 -74
  408. package/dist/components/ui/custom/label.d.ts +0 -13
  409. package/dist/components/ui/custom/label.d.ts.map +0 -1
  410. package/dist/components/ui/custom/label.js +0 -20
  411. package/dist/components/ui/custom/not-found.d.ts +0 -3
  412. package/dist/components/ui/custom/not-found.d.ts.map +0 -1
  413. package/dist/components/ui/custom/not-found.js +0 -9
  414. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts +0 -5
  415. package/dist/components/ui/custom/sidebar/app-sidebar.d.ts.map +0 -1
  416. package/dist/components/ui/custom/sidebar/app-sidebar.js +0 -26
  417. package/dist/components/ui/custom/sidebar/module-switcher.d.ts +0 -9
  418. package/dist/components/ui/custom/sidebar/module-switcher.d.ts.map +0 -1
  419. package/dist/components/ui/custom/sidebar/module-switcher.js +0 -55
  420. package/dist/components/ui/custom/sidebar/nav-footer.d.ts +0 -7
  421. package/dist/components/ui/custom/sidebar/nav-footer.d.ts.map +0 -1
  422. package/dist/components/ui/custom/sidebar/nav-footer.js +0 -13
  423. package/dist/components/ui/custom/sidebar/nav-main.d.ts +0 -7
  424. package/dist/components/ui/custom/sidebar/nav-main.d.ts.map +0 -1
  425. package/dist/components/ui/custom/sidebar/nav-main.js +0 -27
  426. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts +0 -9
  427. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts.map +0 -1
  428. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.js +0 -18
  429. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts +0 -10
  430. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts.map +0 -1
  431. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.js +0 -10
  432. package/dist/components/ui/custom/sidebar/nav-user.d.ts +0 -9
  433. package/dist/components/ui/custom/sidebar/nav-user.d.ts.map +0 -1
  434. package/dist/components/ui/custom/sidebar/nav-user.js +0 -24
  435. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts +0 -9
  436. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts.map +0 -1
  437. package/dist/components/ui/custom/sidebar/sidebar-button.js +0 -7
  438. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts +0 -12
  439. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts.map +0 -1
  440. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.js +0 -5
  441. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts +0 -9
  442. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts.map +0 -1
  443. package/dist/components/ui/custom/sidebar/sidebar-item.js +0 -7
  444. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts +0 -9
  445. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.d.ts.map +0 -1
  446. package/dist/components/ui/custom/sidebar/sidebar-module-switcher.js +0 -20
  447. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts +0 -29
  448. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts.map +0 -1
  449. package/dist/components/ui/custom/sidebar/types/sidebar.js +0 -5
  450. package/dist/components/ui/custom/table/data-table-export.d.ts +0 -8
  451. package/dist/components/ui/custom/table/data-table-export.d.ts.map +0 -1
  452. package/dist/components/ui/custom/table/data-table-export.js +0 -65
  453. package/dist/components/ui/custom/table/data-table-footer.d.ts +0 -25
  454. package/dist/components/ui/custom/table/data-table-footer.d.ts.map +0 -1
  455. package/dist/components/ui/custom/table/data-table-footer.js +0 -39
  456. package/dist/components/ui/custom/table/data-table-header.d.ts +0 -9
  457. package/dist/components/ui/custom/table/data-table-header.d.ts.map +0 -1
  458. package/dist/components/ui/custom/table/data-table-header.js +0 -11
  459. package/dist/components/ui/custom/table/data-table-rows.d.ts +0 -13
  460. package/dist/components/ui/custom/table/data-table-rows.d.ts.map +0 -1
  461. package/dist/components/ui/custom/table/data-table-rows.js +0 -25
  462. package/dist/components/ui/custom/table/data-table.d.ts +0 -35
  463. package/dist/components/ui/custom/table/data-table.d.ts.map +0 -1
  464. package/dist/components/ui/custom/table/data-table.js +0 -99
  465. package/dist/components/ui/custom/table/types/data-table.d.ts +0 -29
  466. package/dist/components/ui/custom/table/types/data-table.d.ts.map +0 -1
  467. package/dist/components/ui/custom/table/types/data-table.js +0 -1
  468. package/dist/components/ui/custom/theme-provider.d.ts +0 -24
  469. package/dist/components/ui/custom/theme-provider.d.ts.map +0 -1
  470. package/dist/components/ui/custom/theme-provider.js +0 -79
  471. package/dist/components/ui/dateRangePicker.d.ts +0 -3
  472. package/dist/components/ui/dateRangePicker.d.ts.map +0 -1
  473. package/dist/components/ui/dateRangePicker.js +0 -15
  474. package/dist/components/ui/dialog.d.ts +0 -23
  475. package/dist/components/ui/dialog.d.ts.map +0 -1
  476. package/dist/components/ui/dialog.js +0 -23
  477. package/dist/components/ui/drawer.d.ts +0 -23
  478. package/dist/components/ui/drawer.d.ts.map +0 -1
  479. package/dist/components/ui/drawer.js +0 -22
  480. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  481. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  482. package/dist/components/ui/dropdown-menu.js +0 -32
  483. package/dist/components/ui/form.d.ts +0 -24
  484. package/dist/components/ui/form.d.ts.map +0 -1
  485. package/dist/components/ui/form.js +0 -60
  486. package/dist/components/ui/hover-card.d.ts +0 -7
  487. package/dist/components/ui/hover-card.d.ts.map +0 -1
  488. package/dist/components/ui/hover-card.js +0 -9
  489. package/dist/components/ui/input.d.ts +0 -24
  490. package/dist/components/ui/input.d.ts.map +0 -1
  491. package/dist/components/ui/input.js +0 -71
  492. package/dist/components/ui/label.d.ts +0 -6
  493. package/dist/components/ui/label.d.ts.map +0 -1
  494. package/dist/components/ui/label.js +0 -9
  495. package/dist/components/ui/masks.d.ts +0 -17
  496. package/dist/components/ui/masks.d.ts.map +0 -1
  497. package/dist/components/ui/masks.js +0 -25
  498. package/dist/components/ui/pagination.d.ts +0 -30
  499. package/dist/components/ui/pagination.d.ts.map +0 -1
  500. package/dist/components/ui/pagination.js +0 -23
  501. package/dist/components/ui/popover.d.ts +0 -7
  502. package/dist/components/ui/popover.d.ts.map +0 -1
  503. package/dist/components/ui/popover.js +0 -11
  504. package/dist/components/ui/progress.d.ts +0 -5
  505. package/dist/components/ui/progress.d.ts.map +0 -1
  506. package/dist/components/ui/progress.js +0 -7
  507. package/dist/components/ui/radio-group.d.ts +0 -6
  508. package/dist/components/ui/radio-group.d.ts.map +0 -1
  509. package/dist/components/ui/radio-group.js +0 -14
  510. package/dist/components/ui/scroll-area.d.ts +0 -6
  511. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  512. package/dist/components/ui/scroll-area.js +0 -11
  513. package/dist/components/ui/select.d.ts +0 -14
  514. package/dist/components/ui/select.d.ts.map +0 -1
  515. package/dist/components/ui/select.js +0 -24
  516. package/dist/components/ui/separator.d.ts +0 -5
  517. package/dist/components/ui/separator.d.ts.map +0 -1
  518. package/dist/components/ui/separator.js +0 -7
  519. package/dist/components/ui/sheet.d.ts +0 -26
  520. package/dist/components/ui/sheet.d.ts.map +0 -1
  521. package/dist/components/ui/sheet.js +0 -37
  522. package/dist/components/ui/sidebar.d.ts +0 -67
  523. package/dist/components/ui/sidebar.d.ts.map +0 -1
  524. package/dist/components/ui/sidebar.js +0 -221
  525. package/dist/components/ui/skeleton.d.ts +0 -3
  526. package/dist/components/ui/skeleton.d.ts.map +0 -1
  527. package/dist/components/ui/skeleton.js +0 -6
  528. package/dist/components/ui/slider.d.ts +0 -5
  529. package/dist/components/ui/slider.d.ts.map +0 -1
  530. package/dist/components/ui/slider.js +0 -7
  531. package/dist/components/ui/switch.d.ts +0 -5
  532. package/dist/components/ui/switch.d.ts.map +0 -1
  533. package/dist/components/ui/switch.js +0 -7
  534. package/dist/components/ui/table.d.ts +0 -11
  535. package/dist/components/ui/table.d.ts.map +0 -1
  536. package/dist/components/ui/table.js +0 -20
  537. package/dist/components/ui/tabs.d.ts +0 -8
  538. package/dist/components/ui/tabs.d.ts.map +0 -1
  539. package/dist/components/ui/tabs.js +0 -12
  540. package/dist/components/ui/textarea.d.ts +0 -4
  541. package/dist/components/ui/textarea.d.ts.map +0 -1
  542. package/dist/components/ui/textarea.js +0 -14
  543. package/dist/components/ui/toast.d.ts +0 -16
  544. package/dist/components/ui/toast.d.ts.map +0 -1
  545. package/dist/components/ui/toast.js +0 -34
  546. package/dist/components/ui/toaster.d.ts +0 -2
  547. package/dist/components/ui/toaster.d.ts.map +0 -1
  548. package/dist/components/ui/toaster.js +0 -21
  549. package/dist/components/ui/tooltip.d.ts +0 -8
  550. package/dist/components/ui/tooltip.d.ts.map +0 -1
  551. package/dist/components/ui/tooltip.js +0 -10
  552. package/dist/components/ui/use-calendar.d.ts +0 -7
  553. package/dist/components/ui/use-calendar.d.ts.map +0 -1
  554. package/dist/components/ui/use-calendar.js +0 -23
  555. package/dist/components/ui/use-toast.d.ts +0 -46
  556. package/dist/components/ui/use-toast.d.ts.map +0 -1
  557. package/dist/components/ui/use-toast.js +0 -125
  558. package/dist/components/use-calendar.d.ts +0 -7
  559. package/dist/components/use-calendar.d.ts.map +0 -1
  560. package/dist/components/use-calendar.js +0 -23
  561. package/dist/components/use-toast.d.ts +0 -46
  562. package/dist/components/use-toast.d.ts.map +0 -1
  563. package/dist/components/use-toast.js +0 -125
  564. package/dist/hooks/use-mobile.d.ts +0 -2
  565. package/dist/hooks/use-mobile.d.ts.map +0 -1
  566. package/dist/hooks/use-mobile.js +0 -15
  567. package/dist/index.d.ts.map +0 -1
  568. package/dist/lib/help/date-utils.d.ts +0 -7
  569. package/dist/lib/help/date-utils.d.ts.map +0 -1
  570. package/dist/lib/help/date-utils.js +0 -34
  571. package/dist/lib/help/format.d.ts +0 -22
  572. package/dist/lib/help/format.d.ts.map +0 -1
  573. package/dist/lib/help/format.js +0 -140
  574. package/dist/lib/help/theme.d.ts +0 -291
  575. package/dist/lib/help/theme.d.ts.map +0 -1
  576. package/dist/lib/help/theme.js +0 -340
  577. package/dist/lib/help/uuid.d.ts +0 -2
  578. package/dist/lib/help/uuid.d.ts.map +0 -1
  579. package/dist/lib/help/uuid.js +0 -4
  580. package/dist/lib/utils.d.ts +0 -3
  581. package/dist/lib/utils.d.ts.map +0 -1
  582. package/dist/lib/utils.js +0 -5
@@ -1,9 +0,0 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
4
- variant?: "default" | "destructive" | null | undefined;
5
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
6
- declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
7
- declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
- export { Alert, AlertDescription, AlertTitle };
9
- //# sourceMappingURL=alert.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,QAAA,MAAM,KAAK;;2HAEV,CAAC;AAGF,QAAA,MAAM,UAAU,uHAEd,CAAC;AAGH,QAAA,MAAM,gBAAgB,yHAEpB,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as React from 'react';
3
- import { cva } from 'class-variance-authority';
4
- import { cn } from '@/lib/utils';
5
- const alertVariants = cva('relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', {
6
- variants: {
7
- variant: {
8
- default: 'bg-background text-foreground',
9
- destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',
10
- },
11
- },
12
- defaultVariants: {
13
- variant: 'default',
14
- },
15
- });
16
- const Alert = React.forwardRef(({ className, variant, ...props }, ref) => _jsx("div", { ref: ref, role: 'alert', className: cn(alertVariants({ variant }), className), ...props }));
17
- Alert.displayName = 'Alert';
18
- const AlertTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx("h5", { ref: ref, className: cn('mb-1 font-medium leading-none tracking-tight', className), ...props })));
19
- AlertTitle.displayName = 'AlertTitle';
20
- const AlertDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('text-sm [&_p]:leading-relaxed', className), ...props })));
21
- AlertDescription.displayName = 'AlertDescription';
22
- export { Alert, AlertTitle, AlertDescription };
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- export { Avatar, AvatarImage, AvatarFallback };
7
- //# sourceMappingURL=avatar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,QAAA,MAAM,MAAM,yJAYV,CAAA;AAGF,QAAA,MAAM,WAAW,gKASf,CAAA;AAGF,QAAA,MAAM,cAAc,iKAYlB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
- import { cn } from "@/lib/utils";
5
- const Avatar = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Root, { ref: ref, className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className), ...props })));
6
- Avatar.displayName = AvatarPrimitive.Root.displayName;
7
- const AvatarImage = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Image, { ref: ref, className: cn("aspect-square h-full w-full", className), ...props })));
8
- AvatarImage.displayName = AvatarPrimitive.Image.displayName;
9
- const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => (_jsx(AvatarPrimitive.Fallback, { ref: ref, className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className), ...props })));
10
- AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
11
- export { Avatar, AvatarImage, AvatarFallback };
@@ -1,10 +0,0 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "secondary" | "outline" | "surface" | "green" | "red" | "gray" | "blue" | "orange" | null | undefined;
5
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
- export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
- }
8
- declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
- export { Badge, badgeVariants };
10
- //# sourceMappingURL=badge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,aAAa;;mFAqBlB,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAE/G,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAE1D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
@@ -1,26 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cva } from 'class-variance-authority';
3
- import { cn } from '@/lib/utils';
4
- const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
5
- variants: {
6
- variant: {
7
- default: 'border-transparent bg-background-primary text-primary-foreground',
8
- secondary: 'border-transparent bg-background-secondary text-secondary-foreground',
9
- surface: 'border-transparent bg-primary-100 text-primary',
10
- destructive: 'border-transparent bg-destructive text-destructive-foreground',
11
- outline: 'text-foreground',
12
- green: 'border-transparent bg-green-50 text-emerald-700',
13
- red: 'border-transparent bg-red-50 text-red-600',
14
- gray: 'border-transparent bg-zinc-100 text-zinc-950',
15
- blue: 'border-transparent bg-blue-50 text-blue-600',
16
- orange: 'border-transparent bg-orange-50 text-orange-600',
17
- },
18
- },
19
- defaultVariants: {
20
- variant: 'default',
21
- },
22
- });
23
- function Badge({ className, variant, ...props }) {
24
- return _jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
25
- }
26
- export { Badge, badgeVariants };
@@ -1,20 +0,0 @@
1
- import * as React from "react";
2
- declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
3
- separator?: React.ReactNode;
4
- } & React.RefAttributes<HTMLElement>>;
5
- declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
- declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
7
- declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
8
- asChild?: boolean;
9
- } & React.RefAttributes<HTMLAnchorElement>>;
10
- declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
11
- declare const BreadcrumbSeparator: {
12
- ({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
15
- declare const BreadcrumbEllipsis: {
16
- ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
17
- displayName: string;
18
- };
19
- export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
20
- //# sourceMappingURL=breadcrumb.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/ui/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,QAAA,MAAM,UAAU;gBAGA,KAAK,CAAC,SAAS;qCAE+C,CAAA;AAG9E,QAAA,MAAM,cAAc,2KAYlB,CAAA;AAGF,QAAA,MAAM,cAAc,kKASlB,CAAA;AAGF,QAAA,MAAM,cAAc;cAGN,OAAO;2CAYnB,CAAA;AAGF,QAAA,MAAM,cAAc,sKAYlB,CAAA;AAGF,QAAA,MAAM,mBAAmB;wCAItB,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;;CAS5B,CAAA;AAGD,QAAA,MAAM,kBAAkB;8BAGrB,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAU9B,CAAA;AAGD,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
@@ -1,23 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { Slot } from "@radix-ui/react-slot";
4
- import { ChevronRight, MoreHorizontal } from "lucide-react";
5
- import { cn } from "@/lib/utils";
6
- const Breadcrumb = React.forwardRef(({ ...props }, ref) => _jsx("nav", { ref: ref, "aria-label": "breadcrumb", ...props }));
7
- Breadcrumb.displayName = "Breadcrumb";
8
- const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => (_jsx("ol", { ref: ref, className: cn("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", className), ...props })));
9
- BreadcrumbList.displayName = "BreadcrumbList";
10
- const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => (_jsx("li", { ref: ref, className: cn("inline-flex items-center gap-1.5", className), ...props })));
11
- BreadcrumbItem.displayName = "BreadcrumbItem";
12
- const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref) => {
13
- const Comp = asChild ? Slot : "a";
14
- return (_jsx(Comp, { ref: ref, className: cn("transition-colors hover:text-foreground", className), ...props }));
15
- });
16
- BreadcrumbLink.displayName = "BreadcrumbLink";
17
- const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => (_jsx("span", { ref: ref, role: "link", "aria-disabled": "true", "aria-current": "page", className: cn("font-normal text-foreground", className), ...props })));
18
- BreadcrumbPage.displayName = "BreadcrumbPage";
19
- const BreadcrumbSeparator = ({ children, className, ...props }) => (_jsx("li", { role: "presentation", "aria-hidden": "true", className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className), ...props, children: children ?? _jsx(ChevronRight, {}) }));
20
- BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
21
- const BreadcrumbEllipsis = ({ className, ...props }) => (_jsxs("span", { role: "presentation", "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" })] }));
22
- BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
23
- export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -1,12 +0,0 @@
1
- import { type VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
7
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
- asChild?: boolean;
9
- }
10
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
- export { Button, buttonVariants };
12
- //# sourceMappingURL=button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,cAAc;;;mFAwBnB,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IACtH,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,uFAGV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
@@ -1,33 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Slot } from '@radix-ui/react-slot';
3
- import { cva } from 'class-variance-authority';
4
- import * as React from 'react';
5
- import { cn } from '@/lib/utils';
6
- const buttonVariants = cva('inline-flex items-center justify-center gap-2 self-start px-4 py-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', {
7
- variants: {
8
- variant: {
9
- default: 'bg-background-primary text-white hover:bg-background-primary-hover disabled:opacity-50',
10
- secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary-hover disabled:opacity-50',
11
- destructive: 'bg-red-600 text-destructive-foreground hover:bg-destructive/90 disabled:opacity-50',
12
- outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground disabled:opacity-50',
13
- ghost: 'hover:bg-accent hover:text-accent-foreground disabled:opacity-50',
14
- link: 'text-primary underline-offset-4 hover:underline disabled:opacity-50',
15
- },
16
- size: {
17
- default: 'h-10 px-4 py-2',
18
- sm: 'h-9 rounded-md px-3',
19
- lg: 'h-11 rounded-md px-8',
20
- icon: 'h-10 w-10',
21
- },
22
- },
23
- defaultVariants: {
24
- variant: 'default',
25
- size: 'default',
26
- },
27
- });
28
- const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
29
- const Comp = asChild ? Slot : 'button';
30
- return _jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref: ref, ...props });
31
- });
32
- Button.displayName = 'Button';
33
- export { Button, buttonVariants };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { DayButton, DayPicker } from 'react-day-picker';
3
- import { Button } from './button';
4
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
- buttonVariant?: React.ComponentProps<typeof Button>['variant'];
6
- }): import("react/jsx-runtime").JSX.Element;
7
- declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
8
- export { Calendar, CalendarDayButton };
9
- //# sourceMappingURL=calendar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAkB,MAAM,UAAU,CAAC;AAElD,iBAAS,QAAQ,CAAC,EACjB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC3C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAC/D,2CA6FA;AAED,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,2CA0BzG;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
@@ -1,70 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from '@/lib/utils';
3
- import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from 'lucide-react';
4
- import * as React from 'react';
5
- import { DayPicker, getDefaultClassNames } from 'react-day-picker';
6
- import { Button, buttonVariants } from './button';
7
- function Calendar({ className, classNames, showOutsideDays = true, captionLayout = 'label', buttonVariant = 'ghost', formatters, components, ...props }) {
8
- const defaultClassNames = getDefaultClassNames();
9
- return (_jsx(DayPicker, { showOutsideDays: showOutsideDays, className: cn('bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent', String.raw `rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw `rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className), captionLayout: captionLayout, formatters: {
10
- formatMonthDropdown: (date) => date.toLocaleString('default', { month: 'short' }),
11
- ...formatters,
12
- }, classNames: {
13
- root: cn('w-fit', defaultClassNames.root),
14
- months: cn('relative flex flex-col gap-4 md:flex-row', defaultClassNames.months),
15
- month: cn('flex w-full flex-col gap-4', defaultClassNames.month),
16
- nav: cn('absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1', defaultClassNames.nav),
17
- button_previous: cn(buttonVariants({ variant: buttonVariant }), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
18
- button_next: cn(buttonVariants({ variant: buttonVariant }), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
19
- month_caption: cn('flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]', defaultClassNames.month_caption),
20
- dropdowns: cn('flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
21
- dropdown_root: cn('has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border', defaultClassNames.dropdown_root),
22
- dropdown: cn('absolute inset-0 opacity-0', defaultClassNames.dropdown),
23
- caption_label: cn('select-none font-medium', captionLayout === 'label'
24
- ? 'text-sm'
25
- : '[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5', defaultClassNames.caption_label),
26
- table: 'w-full border-collapse',
27
- weekdays: cn('flex', defaultClassNames.weekdays),
28
- weekday: cn('text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal', defaultClassNames.weekday),
29
- week: cn('mt-2 flex w-full', defaultClassNames.week),
30
- week_number_header: cn('w-[--cell-size] select-none', defaultClassNames.week_number_header),
31
- week_number: cn('text-muted-foreground select-none text-[0.8rem]', defaultClassNames.week_number),
32
- day: cn('group/day relative aspect-square h-[32px] w-[32px] select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md', defaultClassNames.day),
33
- range_start: cn('bg-accent rounded-l-md', defaultClassNames.range_start),
34
- range_middle: cn('rounded-none', defaultClassNames.range_middle),
35
- range_end: cn('bg-accent rounded-r-md', defaultClassNames.range_end),
36
- today: cn('bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none', defaultClassNames.today),
37
- outside: cn('text-muted-foreground aria-selected:text-muted-foreground', defaultClassNames.outside),
38
- disabled: cn('text-muted-foreground opacity-50', defaultClassNames.disabled),
39
- hidden: cn('invisible', defaultClassNames.hidden),
40
- ...classNames,
41
- }, components: {
42
- Root: ({ className, rootRef, ...props }) => {
43
- return _jsx("div", { "data-slot": 'calendar', ref: rootRef, className: cn(className), ...props });
44
- },
45
- Chevron: ({ className, orientation, ...props }) => {
46
- if (orientation === 'left') {
47
- return _jsx(ChevronLeftIcon, { className: cn('size-4', className), ...props });
48
- }
49
- if (orientation === 'right') {
50
- return _jsx(ChevronRightIcon, { className: cn('size-4', className), ...props });
51
- }
52
- return _jsx(ChevronDownIcon, { className: cn('size-4', className), ...props });
53
- },
54
- DayButton: CalendarDayButton,
55
- WeekNumber: ({ children, ...props }) => {
56
- return (_jsx("td", { ...props, children: _jsx("div", { className: 'flex size-[--cell-size] items-center justify-center text-center', children: children }) }));
57
- },
58
- ...components,
59
- }, ...props }));
60
- }
61
- function CalendarDayButton({ className, day, modifiers, ...props }) {
62
- const defaultClassNames = getDefaultClassNames();
63
- const ref = React.useRef(null);
64
- React.useEffect(() => {
65
- if (modifiers.focused)
66
- ref.current?.focus();
67
- }, [modifiers.focused]);
68
- return (_jsx(Button, { ref: ref, variant: 'ghost', size: 'icon', "data-day": day.date.toLocaleDateString(), "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle, "data-range-start": modifiers.range_start, "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, className: cn('data-[selected-single=true]:bg-background-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-background-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-background-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70', defaultClassNames.day, className), ...props }));
69
- }
70
- export { Calendar, CalendarDayButton };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
- declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
9
- //# sourceMappingURL=card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,IAAI,6GAER,CAAC;AAGH,QAAA,MAAM,UAAU,6GAEd,CAAC;AAGH,QAAA,MAAM,SAAS,6GAEb,CAAC;AAGH,QAAA,MAAM,eAAe,6GAEnB,CAAC;AAGH,QAAA,MAAM,WAAW,6GAEf,CAAC;AAGH,QAAA,MAAM,UAAU,6GAEd,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import * as React from 'react';
3
- import { cn } from '@/lib/utils';
4
- const Card = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('rounded-lg border bg-card text-card-foreground shadow-sm', className), ...props })));
5
- Card.displayName = 'Card';
6
- const CardHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('flex p-6', className), ...props })));
7
- CardHeader.displayName = 'CardHeader';
8
- const CardTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('text-2xl font-semibold leading-none tracking-tight', className), ...props })));
9
- CardTitle.displayName = 'CardTitle';
10
- const CardDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('text-sm text-muted-foreground', className), ...props })));
11
- CardDescription.displayName = 'CardDescription';
12
- const CardContent = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('py-8 px-6', className), ...props })));
13
- CardContent.displayName = 'CardContent';
14
- const CardFooter = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('flex items-center p-6', className), ...props })));
15
- CardFooter.displayName = 'CardFooter';
16
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -1,19 +0,0 @@
1
- import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
2
- import * as React from "react";
3
- type CarouselApi = UseEmblaCarouselType[1];
4
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
5
- type CarouselOptions = UseCarouselParameters[0];
6
- type CarouselPlugin = UseCarouselParameters[1];
7
- type CarouselProps = {
8
- opts?: CarouselOptions;
9
- plugins?: CarouselPlugin;
10
- orientation?: "horizontal" | "vertical";
11
- setApi?: (api: CarouselApi) => void;
12
- };
13
- declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
- declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
- declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
- declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("./button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
- declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("./button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
- export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi };
19
- //# sourceMappingURL=carousel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../src/components/ui/carousel.tsx"],"names":[],"mappings":"AACA,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAC1C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAChE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAC/C,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAE9C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAA;CACpC,CAAA;AAuBD,QAAA,MAAM,QAAQ,6HAyGb,CAAA;AAGD,QAAA,MAAM,eAAe,6GAmBnB,CAAA;AAGF,QAAA,MAAM,YAAY,6GAmBhB,CAAA;AAGF,QAAA,MAAM,gBAAgB,gKA0BpB,CAAA;AAGF,QAAA,MAAM,YAAY,gKA0BhB,CAAA;AAGF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,KAAK,WAAW,EAC/D,CAAA"}
@@ -1,98 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "@/lib/utils";
3
- import useEmblaCarousel from "embla-carousel-react";
4
- import { ArrowLeft, ArrowRight } from "lucide-react";
5
- import * as React from "react";
6
- import { Button } from "./button";
7
- const CarouselContext = React.createContext(null);
8
- function useCarousel() {
9
- const context = React.useContext(CarouselContext);
10
- if (!context) {
11
- throw new Error("useCarousel must be used within a <Carousel />");
12
- }
13
- return context;
14
- }
15
- const Carousel = React.forwardRef(({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }, ref) => {
16
- const [carouselRef, api] = useEmblaCarousel({
17
- ...opts,
18
- axis: orientation === "horizontal" ? "x" : "y",
19
- }, plugins);
20
- const [canScrollPrev, setCanScrollPrev] = React.useState(false);
21
- const [canScrollNext, setCanScrollNext] = React.useState(false);
22
- const onSelect = React.useCallback((api) => {
23
- if (!api) {
24
- return;
25
- }
26
- setCanScrollPrev(api.canScrollPrev());
27
- setCanScrollNext(api.canScrollNext());
28
- }, []);
29
- const scrollPrev = React.useCallback(() => {
30
- api?.scrollPrev();
31
- }, [api]);
32
- const scrollNext = React.useCallback(() => {
33
- api?.scrollNext();
34
- }, [api]);
35
- const handleKeyDown = React.useCallback((event) => {
36
- if (event.key === "ArrowLeft") {
37
- event.preventDefault();
38
- scrollPrev();
39
- }
40
- else if (event.key === "ArrowRight") {
41
- event.preventDefault();
42
- scrollNext();
43
- }
44
- }, [scrollPrev, scrollNext]);
45
- React.useEffect(() => {
46
- if (!api || !setApi) {
47
- return;
48
- }
49
- setApi(api);
50
- }, [api, setApi]);
51
- React.useEffect(() => {
52
- if (!api) {
53
- return;
54
- }
55
- onSelect(api);
56
- api.on("reInit", onSelect);
57
- api.on("select", onSelect);
58
- return () => {
59
- api?.off("select", onSelect);
60
- };
61
- }, [api, onSelect]);
62
- return (_jsx(CarouselContext.Provider, { value: {
63
- carouselRef,
64
- api: api,
65
- opts,
66
- orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
67
- scrollPrev,
68
- scrollNext,
69
- canScrollPrev,
70
- canScrollNext,
71
- }, children: _jsx("div", { ref: ref, onKeyDownCapture: handleKeyDown, className: cn("relative", className), role: "region", "aria-roledescription": "carousel", ...props, children: children }) }));
72
- });
73
- Carousel.displayName = "Carousel";
74
- const CarouselContent = React.forwardRef(({ className, ...props }, ref) => {
75
- const { carouselRef, orientation } = useCarousel();
76
- return (_jsx("div", { ref: carouselRef, className: "overflow-hidden", children: _jsx("div", { ref: ref, className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className), ...props }) }));
77
- });
78
- CarouselContent.displayName = "CarouselContent";
79
- const CarouselItem = React.forwardRef(({ className, ...props }, ref) => {
80
- const { orientation } = useCarousel();
81
- return (_jsx("div", { ref: ref, role: "group", "aria-roledescription": "slide", className: cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className), ...props }));
82
- });
83
- CarouselItem.displayName = "CarouselItem";
84
- const CarouselPrevious = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
85
- const { orientation, scrollPrev, canScrollPrev } = useCarousel();
86
- return (_jsxs(Button, { ref: ref, variant: variant, size: size, className: cn("absolute h-8 w-8 rounded-full", orientation === "horizontal"
87
- ? "-left-12 top-1/2 -translate-y-1/2"
88
- : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className), disabled: !canScrollPrev, onClick: scrollPrev, ...props, children: [_jsx(ArrowLeft, { className: "h-4 w-4" }), _jsx("span", { className: "sr-only", children: "Previous slide" })] }));
89
- });
90
- CarouselPrevious.displayName = "CarouselPrevious";
91
- const CarouselNext = React.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
92
- const { orientation, scrollNext, canScrollNext } = useCarousel();
93
- return (_jsxs(Button, { ref: ref, variant: variant, size: size, className: cn("absolute h-8 w-8 rounded-full", orientation === "horizontal"
94
- ? "-right-12 top-1/2 -translate-y-1/2"
95
- : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className), disabled: !canScrollNext, onClick: scrollNext, ...props, children: [_jsx(ArrowRight, { className: "h-4 w-4" }), _jsx("span", { className: "sr-only", children: "Next slide" })] }));
96
- });
97
- CarouselNext.displayName = "CarouselNext";
98
- export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
@@ -1,63 +0,0 @@
1
- import * as React from "react";
2
- import * as RechartsPrimitive from "recharts";
3
- declare const THEMES: {
4
- readonly light: "";
5
- readonly dark: ".dark";
6
- };
7
- export type ChartConfig = {
8
- [k in string]: {
9
- label?: React.ReactNode;
10
- icon?: React.ComponentType;
11
- } & ({
12
- color?: string;
13
- theme?: never;
14
- } | {
15
- color?: never;
16
- theme: Record<keyof typeof THEMES, string>;
17
- });
18
- };
19
- declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
20
- config: ChartConfig;
21
- children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
- declare const ChartStyle: ({ id, config }: {
24
- id: string;
25
- config: ChartConfig;
26
- }) => import("react/jsx-runtime").JSX.Element | null;
27
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
- declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> & {
29
- accessibilityLayer?: boolean;
30
- active?: boolean | undefined;
31
- includeHidden?: boolean | undefined;
32
- allowEscapeViewBox?: import("recharts/types/util/types").AllowInDimension;
33
- animationDuration?: import("recharts/types/util/types").AnimationDuration;
34
- animationEasing?: import("recharts/types/util/types").AnimationTiming;
35
- content?: import("recharts/types/component/Tooltip").ContentType<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> | undefined;
36
- coordinate?: Partial<import("recharts/types/util/types").Coordinate>;
37
- cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
38
- filterNull?: boolean;
39
- defaultIndex?: number;
40
- isAnimationActive?: boolean;
41
- offset?: number;
42
- payloadUniqBy?: import("recharts/types/util/payload/getUniqPayload").UniqueOption<import("recharts/types/component/DefaultTooltipContent").Payload<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType>> | undefined;
43
- position?: Partial<import("recharts/types/util/types").Coordinate>;
44
- reverseDirection?: import("recharts/types/util/types").AllowInDimension;
45
- shared?: boolean;
46
- trigger?: "hover" | "click";
47
- useTranslate3d?: boolean;
48
- viewBox?: import("recharts/types/util/types").CartesianViewBox;
49
- wrapperStyle?: React.CSSProperties;
50
- } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
51
- hideLabel?: boolean;
52
- hideIndicator?: boolean;
53
- indicator?: "line" | "dot" | "dashed";
54
- nameKey?: string;
55
- labelKey?: string;
56
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
57
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
58
- declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
59
- hideIcon?: boolean;
60
- nameKey?: string;
61
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
62
- export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
63
- //# sourceMappingURL=chart.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../src/components/ui/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAK7C,QAAA,MAAM,MAAM;;;CAAwC,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG;KACvB,CAAC,IAAI,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;QACvB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KAC3B,GAAG,CACA;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE,GACjC;QAAE,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,OAAO,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAChE;CACF,CAAA;AAkBD,QAAA,MAAM,cAAc;YAGR,WAAW;cACT,KAAK,CAAC,cAAc,CAC5B,OAAO,iBAAiB,CAAC,mBAAmB,CAC7C,CAAC,UAAU,CAAC;gDAwBf,CAAA;AAGF,QAAA,MAAM,UAAU,GAAI,gBAAgB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,WAAW,CAAA;CAAE,mDA+BtE,CAAA;AAED,QAAA,MAAM,YAAY,kCAA4B,CAAA;AAE9C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;gBAIP,OAAO;oBACH,OAAO;gBACX,MAAM,GAAG,KAAK,GAAG,QAAQ;cAC3B,MAAM;eACL,MAAM;gDA+ItB,CAAA;AAGD,QAAA,MAAM,WAAW,iCAA2B,CAAA;AAE5C,QAAA,MAAM,kBAAkB;eAIP,OAAO;cACR,MAAM;gDAkDrB,CAAA;AA0CD,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,UAAU,GACX,CAAA"}