eai-frontend-components 2.0.22 → 2.0.24

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 (301) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +298 -298
  3. package/dist/eai-frontend-components-1.0.0.tgz +0 -0
  4. package/dist/index.d.ts +3 -2
  5. package/dist/index.esm.js +6 -6
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +6 -6
  8. package/dist/index.js.map +1 -1
  9. package/package.json +147 -146
  10. package/dist/components/ui/accordion.d.ts +0 -8
  11. package/dist/components/ui/accordion.d.ts.map +0 -1
  12. package/dist/components/ui/accordion.js +0 -13
  13. package/dist/components/ui/alert-dialog.d.ts +0 -25
  14. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  15. package/dist/components/ui/alert-dialog.js +0 -27
  16. package/dist/components/ui/alert.d.ts +0 -9
  17. package/dist/components/ui/alert.d.ts.map +0 -1
  18. package/dist/components/ui/alert.js +0 -22
  19. package/dist/components/ui/avatar.d.ts +0 -7
  20. package/dist/components/ui/avatar.d.ts.map +0 -1
  21. package/dist/components/ui/avatar.js +0 -11
  22. package/dist/components/ui/badge.d.ts +0 -10
  23. package/dist/components/ui/badge.d.ts.map +0 -1
  24. package/dist/components/ui/badge.js +0 -26
  25. package/dist/components/ui/breadcrumb.d.ts +0 -20
  26. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  27. package/dist/components/ui/breadcrumb.js +0 -23
  28. package/dist/components/ui/button.d.ts +0 -12
  29. package/dist/components/ui/button.d.ts.map +0 -1
  30. package/dist/components/ui/button.js +0 -33
  31. package/dist/components/ui/calendar.d.ts +0 -9
  32. package/dist/components/ui/calendar.d.ts.map +0 -1
  33. package/dist/components/ui/calendar.js +0 -70
  34. package/dist/components/ui/card.d.ts +0 -9
  35. package/dist/components/ui/card.d.ts.map +0 -1
  36. package/dist/components/ui/card.js +0 -16
  37. package/dist/components/ui/carousel.d.ts +0 -19
  38. package/dist/components/ui/carousel.d.ts.map +0 -1
  39. package/dist/components/ui/carousel.js +0 -98
  40. package/dist/components/ui/chart.d.ts +0 -63
  41. package/dist/components/ui/chart.d.ts.map +0 -1
  42. package/dist/components/ui/chart.js +0 -132
  43. package/dist/components/ui/checkbox.d.ts +0 -5
  44. package/dist/components/ui/checkbox.d.ts.map +0 -1
  45. package/dist/components/ui/checkbox.js +0 -8
  46. package/dist/components/ui/collapsible.d.ts +0 -6
  47. package/dist/components/ui/collapsible.d.ts.map +0 -1
  48. package/dist/components/ui/collapsible.js +0 -5
  49. package/dist/components/ui/command.d.ts +0 -81
  50. package/dist/components/ui/command.d.ts.map +0 -1
  51. package/dist/components/ui/command.js +0 -28
  52. package/dist/components/ui/context-menu.d.ts +0 -28
  53. package/dist/components/ui/context-menu.d.ts.map +0 -1
  54. package/dist/components/ui/context-menu.js +0 -33
  55. package/dist/components/ui/custom/date-picker.d.ts +0 -12
  56. package/dist/components/ui/custom/date-picker.d.ts.map +0 -1
  57. package/dist/components/ui/custom/date-picker.js +0 -35
  58. package/dist/components/ui/custom/form/checkbox.d.ts +0 -13
  59. package/dist/components/ui/custom/form/checkbox.d.ts.map +0 -1
  60. package/dist/components/ui/custom/form/checkbox.js +0 -15
  61. package/dist/components/ui/custom/form/color.d.ts +0 -15
  62. package/dist/components/ui/custom/form/color.d.ts.map +0 -1
  63. package/dist/components/ui/custom/form/color.js +0 -40
  64. package/dist/components/ui/custom/form/combobox.d.ts +0 -37
  65. package/dist/components/ui/custom/form/combobox.d.ts.map +0 -1
  66. package/dist/components/ui/custom/form/combobox.js +0 -82
  67. package/dist/components/ui/custom/form/cpf-cnpj.d.ts +0 -16
  68. package/dist/components/ui/custom/form/cpf-cnpj.d.ts.map +0 -1
  69. package/dist/components/ui/custom/form/cpf-cnpj.js +0 -32
  70. package/dist/components/ui/custom/form/currency.d.ts +0 -14
  71. package/dist/components/ui/custom/form/currency.d.ts.map +0 -1
  72. package/dist/components/ui/custom/form/currency.js +0 -15
  73. package/dist/components/ui/custom/form/date-range.d.ts +0 -16
  74. package/dist/components/ui/custom/form/date-range.d.ts.map +0 -1
  75. package/dist/components/ui/custom/form/date-range.js +0 -24
  76. package/dist/components/ui/custom/form/date.d.ts +0 -16
  77. package/dist/components/ui/custom/form/date.d.ts.map +0 -1
  78. package/dist/components/ui/custom/form/date.js +0 -35
  79. package/dist/components/ui/custom/form/decimal.d.ts +0 -14
  80. package/dist/components/ui/custom/form/decimal.d.ts.map +0 -1
  81. package/dist/components/ui/custom/form/decimal.js +0 -15
  82. package/dist/components/ui/custom/form/file.d.ts +0 -15
  83. package/dist/components/ui/custom/form/file.d.ts.map +0 -1
  84. package/dist/components/ui/custom/form/file.js +0 -18
  85. package/dist/components/ui/custom/form/form-help-text.d.ts +0 -3
  86. package/dist/components/ui/custom/form/form-help-text.d.ts.map +0 -1
  87. package/dist/components/ui/custom/form/form-help-text.js +0 -7
  88. package/dist/components/ui/custom/form/form-label.d.ts +0 -7
  89. package/dist/components/ui/custom/form/form-label.d.ts.map +0 -1
  90. package/dist/components/ui/custom/form/form-label.js +0 -9
  91. package/dist/components/ui/custom/form/form-message.d.ts +0 -5
  92. package/dist/components/ui/custom/form/form-message.d.ts.map +0 -1
  93. package/dist/components/ui/custom/form/form-message.js +0 -5
  94. package/dist/components/ui/custom/form/ghost.d.ts +0 -8
  95. package/dist/components/ui/custom/form/ghost.d.ts.map +0 -1
  96. package/dist/components/ui/custom/form/ghost.js +0 -8
  97. package/dist/components/ui/custom/form/input.d.ts +0 -18
  98. package/dist/components/ui/custom/form/input.d.ts.map +0 -1
  99. package/dist/components/ui/custom/form/input.js +0 -14
  100. package/dist/components/ui/custom/form/mask.d.ts +0 -19
  101. package/dist/components/ui/custom/form/mask.d.ts.map +0 -1
  102. package/dist/components/ui/custom/form/mask.js +0 -19
  103. package/dist/components/ui/custom/form/multi-select.d.ts +0 -26
  104. package/dist/components/ui/custom/form/multi-select.d.ts.map +0 -1
  105. package/dist/components/ui/custom/form/multi-select.js +0 -66
  106. package/dist/components/ui/custom/form/password.d.ts +0 -16
  107. package/dist/components/ui/custom/form/password.d.ts.map +0 -1
  108. package/dist/components/ui/custom/form/password.js +0 -14
  109. package/dist/components/ui/custom/form/percent.d.ts +0 -14
  110. package/dist/components/ui/custom/form/percent.d.ts.map +0 -1
  111. package/dist/components/ui/custom/form/percent.js +0 -15
  112. package/dist/components/ui/custom/form/phone.d.ts +0 -16
  113. package/dist/components/ui/custom/form/phone.d.ts.map +0 -1
  114. package/dist/components/ui/custom/form/phone.js +0 -23
  115. package/dist/components/ui/custom/form/radio-group.d.ts +0 -23
  116. package/dist/components/ui/custom/form/radio-group.d.ts.map +0 -1
  117. package/dist/components/ui/custom/form/radio-group.js +0 -15
  118. package/dist/components/ui/custom/form/select.d.ts +0 -20
  119. package/dist/components/ui/custom/form/select.d.ts.map +0 -1
  120. package/dist/components/ui/custom/form/select.js +0 -12
  121. package/dist/components/ui/custom/form/step-new-form.d.ts +0 -10
  122. package/dist/components/ui/custom/form/step-new-form.d.ts.map +0 -1
  123. package/dist/components/ui/custom/form/step-new-form.js +0 -13
  124. package/dist/components/ui/custom/form/switch.d.ts +0 -13
  125. package/dist/components/ui/custom/form/switch.d.ts.map +0 -1
  126. package/dist/components/ui/custom/form/switch.js +0 -16
  127. package/dist/components/ui/custom/form/text.d.ts +0 -18
  128. package/dist/components/ui/custom/form/text.d.ts.map +0 -1
  129. package/dist/components/ui/custom/form/text.js +0 -14
  130. package/dist/components/ui/custom/form/textarea.d.ts +0 -16
  131. package/dist/components/ui/custom/form/textarea.d.ts.map +0 -1
  132. package/dist/components/ui/custom/form/textarea.js +0 -19
  133. package/dist/components/ui/custom/form/utils.d.ts +0 -18
  134. package/dist/components/ui/custom/form/utils.d.ts.map +0 -1
  135. package/dist/components/ui/custom/form/utils.js +0 -88
  136. package/dist/components/ui/custom/header.d.ts +0 -11
  137. package/dist/components/ui/custom/header.d.ts.map +0 -1
  138. package/dist/components/ui/custom/header.js +0 -74
  139. package/dist/components/ui/custom/label.d.ts +0 -13
  140. package/dist/components/ui/custom/label.d.ts.map +0 -1
  141. package/dist/components/ui/custom/label.js +0 -20
  142. package/dist/components/ui/custom/not-found.d.ts +0 -3
  143. package/dist/components/ui/custom/not-found.d.ts.map +0 -1
  144. package/dist/components/ui/custom/not-found.js +0 -9
  145. package/dist/components/ui/custom/sidebar/module-switcher.d.ts +0 -9
  146. package/dist/components/ui/custom/sidebar/module-switcher.d.ts.map +0 -1
  147. package/dist/components/ui/custom/sidebar/module-switcher.js +0 -20
  148. package/dist/components/ui/custom/sidebar/nav-footer.d.ts +0 -7
  149. package/dist/components/ui/custom/sidebar/nav-footer.d.ts.map +0 -1
  150. package/dist/components/ui/custom/sidebar/nav-footer.js +0 -13
  151. package/dist/components/ui/custom/sidebar/nav-main.d.ts +0 -7
  152. package/dist/components/ui/custom/sidebar/nav-main.d.ts.map +0 -1
  153. package/dist/components/ui/custom/sidebar/nav-main.js +0 -27
  154. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts +0 -9
  155. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.d.ts.map +0 -1
  156. package/dist/components/ui/custom/sidebar/nav-submenu-collapsible.js +0 -18
  157. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts +0 -10
  158. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.d.ts.map +0 -1
  159. package/dist/components/ui/custom/sidebar/nav-submenu-dropdown.js +0 -10
  160. package/dist/components/ui/custom/sidebar/nav-user.d.ts +0 -9
  161. package/dist/components/ui/custom/sidebar/nav-user.d.ts.map +0 -1
  162. package/dist/components/ui/custom/sidebar/nav-user.js +0 -24
  163. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts +0 -9
  164. package/dist/components/ui/custom/sidebar/sidebar-button.d.ts.map +0 -1
  165. package/dist/components/ui/custom/sidebar/sidebar-button.js +0 -7
  166. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts +0 -12
  167. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.d.ts.map +0 -1
  168. package/dist/components/ui/custom/sidebar/sidebar-item-two-lines.js +0 -5
  169. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts +0 -9
  170. package/dist/components/ui/custom/sidebar/sidebar-item.d.ts.map +0 -1
  171. package/dist/components/ui/custom/sidebar/sidebar-item.js +0 -7
  172. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts +0 -29
  173. package/dist/components/ui/custom/sidebar/types/sidebar.d.ts.map +0 -1
  174. package/dist/components/ui/custom/sidebar/types/sidebar.js +0 -5
  175. package/dist/components/ui/custom/table/data-table-export.d.ts +0 -8
  176. package/dist/components/ui/custom/table/data-table-export.d.ts.map +0 -1
  177. package/dist/components/ui/custom/table/data-table-export.js +0 -65
  178. package/dist/components/ui/custom/table/data-table-footer.d.ts +0 -25
  179. package/dist/components/ui/custom/table/data-table-footer.d.ts.map +0 -1
  180. package/dist/components/ui/custom/table/data-table-footer.js +0 -39
  181. package/dist/components/ui/custom/table/data-table-header.d.ts +0 -9
  182. package/dist/components/ui/custom/table/data-table-header.d.ts.map +0 -1
  183. package/dist/components/ui/custom/table/data-table-header.js +0 -11
  184. package/dist/components/ui/custom/table/data-table-rows.d.ts +0 -13
  185. package/dist/components/ui/custom/table/data-table-rows.d.ts.map +0 -1
  186. package/dist/components/ui/custom/table/data-table-rows.js +0 -25
  187. package/dist/components/ui/custom/table/data-table.d.ts +0 -35
  188. package/dist/components/ui/custom/table/data-table.d.ts.map +0 -1
  189. package/dist/components/ui/custom/table/data-table.js +0 -99
  190. package/dist/components/ui/custom/table/types/data-table.d.ts +0 -29
  191. package/dist/components/ui/custom/table/types/data-table.d.ts.map +0 -1
  192. package/dist/components/ui/custom/table/types/data-table.js +0 -1
  193. package/dist/components/ui/custom/theme-provider.d.ts +0 -24
  194. package/dist/components/ui/custom/theme-provider.d.ts.map +0 -1
  195. package/dist/components/ui/custom/theme-provider.js +0 -79
  196. package/dist/components/ui/dateRangePicker.d.ts +0 -3
  197. package/dist/components/ui/dateRangePicker.d.ts.map +0 -1
  198. package/dist/components/ui/dateRangePicker.js +0 -15
  199. package/dist/components/ui/dialog.d.ts +0 -23
  200. package/dist/components/ui/dialog.d.ts.map +0 -1
  201. package/dist/components/ui/dialog.js +0 -23
  202. package/dist/components/ui/drawer.d.ts +0 -23
  203. package/dist/components/ui/drawer.d.ts.map +0 -1
  204. package/dist/components/ui/drawer.js +0 -22
  205. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  206. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  207. package/dist/components/ui/dropdown-menu.js +0 -32
  208. package/dist/components/ui/form.d.ts +0 -24
  209. package/dist/components/ui/form.d.ts.map +0 -1
  210. package/dist/components/ui/form.js +0 -60
  211. package/dist/components/ui/hover-card.d.ts +0 -7
  212. package/dist/components/ui/hover-card.d.ts.map +0 -1
  213. package/dist/components/ui/hover-card.js +0 -9
  214. package/dist/components/ui/input.d.ts +0 -24
  215. package/dist/components/ui/input.d.ts.map +0 -1
  216. package/dist/components/ui/input.js +0 -71
  217. package/dist/components/ui/label.d.ts +0 -6
  218. package/dist/components/ui/label.d.ts.map +0 -1
  219. package/dist/components/ui/label.js +0 -9
  220. package/dist/components/ui/masks.d.ts +0 -17
  221. package/dist/components/ui/masks.d.ts.map +0 -1
  222. package/dist/components/ui/masks.js +0 -25
  223. package/dist/components/ui/pagination.d.ts +0 -30
  224. package/dist/components/ui/pagination.d.ts.map +0 -1
  225. package/dist/components/ui/pagination.js +0 -23
  226. package/dist/components/ui/popover.d.ts +0 -7
  227. package/dist/components/ui/popover.d.ts.map +0 -1
  228. package/dist/components/ui/popover.js +0 -11
  229. package/dist/components/ui/progress.d.ts +0 -5
  230. package/dist/components/ui/progress.d.ts.map +0 -1
  231. package/dist/components/ui/progress.js +0 -7
  232. package/dist/components/ui/radio-group.d.ts +0 -6
  233. package/dist/components/ui/radio-group.d.ts.map +0 -1
  234. package/dist/components/ui/radio-group.js +0 -14
  235. package/dist/components/ui/scroll-area.d.ts +0 -6
  236. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  237. package/dist/components/ui/scroll-area.js +0 -11
  238. package/dist/components/ui/select.d.ts +0 -14
  239. package/dist/components/ui/select.d.ts.map +0 -1
  240. package/dist/components/ui/select.js +0 -24
  241. package/dist/components/ui/separator.d.ts +0 -5
  242. package/dist/components/ui/separator.d.ts.map +0 -1
  243. package/dist/components/ui/separator.js +0 -7
  244. package/dist/components/ui/sheet.d.ts +0 -26
  245. package/dist/components/ui/sheet.d.ts.map +0 -1
  246. package/dist/components/ui/sheet.js +0 -37
  247. package/dist/components/ui/sidebar.d.ts +0 -67
  248. package/dist/components/ui/sidebar.d.ts.map +0 -1
  249. package/dist/components/ui/sidebar.js +0 -221
  250. package/dist/components/ui/skeleton.d.ts +0 -3
  251. package/dist/components/ui/skeleton.d.ts.map +0 -1
  252. package/dist/components/ui/skeleton.js +0 -6
  253. package/dist/components/ui/slider.d.ts +0 -5
  254. package/dist/components/ui/slider.d.ts.map +0 -1
  255. package/dist/components/ui/slider.js +0 -7
  256. package/dist/components/ui/switch.d.ts +0 -5
  257. package/dist/components/ui/switch.d.ts.map +0 -1
  258. package/dist/components/ui/switch.js +0 -7
  259. package/dist/components/ui/table.d.ts +0 -11
  260. package/dist/components/ui/table.d.ts.map +0 -1
  261. package/dist/components/ui/table.js +0 -20
  262. package/dist/components/ui/tabs.d.ts +0 -8
  263. package/dist/components/ui/tabs.d.ts.map +0 -1
  264. package/dist/components/ui/tabs.js +0 -12
  265. package/dist/components/ui/textarea.d.ts +0 -4
  266. package/dist/components/ui/textarea.d.ts.map +0 -1
  267. package/dist/components/ui/textarea.js +0 -14
  268. package/dist/components/ui/toast.d.ts +0 -16
  269. package/dist/components/ui/toast.d.ts.map +0 -1
  270. package/dist/components/ui/toast.js +0 -34
  271. package/dist/components/ui/toaster.d.ts +0 -2
  272. package/dist/components/ui/toaster.d.ts.map +0 -1
  273. package/dist/components/ui/toaster.js +0 -21
  274. package/dist/components/ui/tooltip.d.ts +0 -8
  275. package/dist/components/ui/tooltip.d.ts.map +0 -1
  276. package/dist/components/ui/tooltip.js +0 -10
  277. package/dist/components/ui/use-calendar.d.ts +0 -7
  278. package/dist/components/ui/use-calendar.d.ts.map +0 -1
  279. package/dist/components/ui/use-calendar.js +0 -23
  280. package/dist/components/ui/use-toast.d.ts +0 -46
  281. package/dist/components/ui/use-toast.d.ts.map +0 -1
  282. package/dist/components/ui/use-toast.js +0 -125
  283. package/dist/hooks/use-mobile.d.ts +0 -2
  284. package/dist/hooks/use-mobile.d.ts.map +0 -1
  285. package/dist/hooks/use-mobile.js +0 -15
  286. package/dist/index.d.ts.map +0 -1
  287. package/dist/lib/help/date-utils.d.ts +0 -7
  288. package/dist/lib/help/date-utils.d.ts.map +0 -1
  289. package/dist/lib/help/date-utils.js +0 -34
  290. package/dist/lib/help/format.d.ts +0 -22
  291. package/dist/lib/help/format.d.ts.map +0 -1
  292. package/dist/lib/help/format.js +0 -140
  293. package/dist/lib/help/theme.d.ts +0 -291
  294. package/dist/lib/help/theme.d.ts.map +0 -1
  295. package/dist/lib/help/theme.js +0 -340
  296. package/dist/lib/help/uuid.d.ts +0 -2
  297. package/dist/lib/help/uuid.d.ts.map +0 -1
  298. package/dist/lib/help/uuid.js +0 -4
  299. package/dist/lib/utils.d.ts +0 -3
  300. package/dist/lib/utils.d.ts.map +0 -1
  301. package/dist/lib/utils.js +0 -5
package/package.json CHANGED
@@ -1,146 +1,147 @@
1
- {
2
- "name": "eai-frontend-components",
3
- "version": "2.0.22",
4
- "description": "Biblioteca de componentes UI reutilizáveis baseada em shadcn/ui e Radix UI para projetos EAI.",
5
- "private": false,
6
- "publishConfig": {
7
- "access": "public",
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "homepage": "https://bitbucket.org/genei_ryodan/erp_frontend_eai_ds#readme",
11
- "bugs": {
12
- "url": "https://bitbucket.org/genei_ryodan/erp_frontend_eai_ds/issues"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+ssh://git@bitbucket.org/genei_ryodan/erp_frontend_eai_ds.git"
17
- },
18
- "author": "EAI",
19
- "license": "MIT",
20
- "type": "module",
21
- "main": "dist/index.js",
22
- "module": "dist/index.esm.js",
23
- "types": "dist/index.d.ts",
24
- "files": [
25
- "dist",
26
- "README.md",
27
- "LICENSE"
28
- ],
29
- "scripts": {
30
- "build": "rollup -c",
31
- "build:watch": "rollup -c -w",
32
- "dev": "storybook dev -p 6006",
33
- "build-storybook": "storybook build",
34
- "lint": "npx @biomejs/biome lint ./src",
35
- "lint:fix": "npx @biomejs/biome lint --apply ./src",
36
- "type-check": "tsc --noEmit",
37
- "test": "echo \"No tests specified\" && exit 0",
38
- "ci": "npm run lint && npm run type-check && npm run build",
39
- "release": "semantic-release",
40
- "prepublishOnly": "npm run ci"
41
- },
42
- "peerDependencies": {
43
- "react": ">=16.8.0",
44
- "react-dom": ">=16.8.0"
45
- },
46
- "dependencies": {
47
- "@hookform/resolvers": "^3.3.4",
48
- "@mona-health/react-input-mask": "^3.0.3",
49
- "@radix-ui/react-accordion": "1.2.3",
50
- "@radix-ui/react-alert-dialog": "^1.1.6",
51
- "@radix-ui/react-avatar": "1.1.3",
52
- "@radix-ui/react-checkbox": "1.1.4",
53
- "@radix-ui/react-collapsible": "1.1.3",
54
- "@radix-ui/react-context-menu": "^2.2.6",
55
- "@radix-ui/react-dialog": "^1.1.6",
56
- "@radix-ui/react-dropdown-menu": "2.1.6",
57
- "@radix-ui/react-hover-card": "1.1.6",
58
- "@radix-ui/react-label": "2.1.2",
59
- "@radix-ui/react-popover": "1.1.6",
60
- "@radix-ui/react-progress": "1.1.2",
61
- "@radix-ui/react-radio-group": "1.2.3",
62
- "@radix-ui/react-scroll-area": "^1.2.3",
63
- "@radix-ui/react-select": "2.1.6",
64
- "@radix-ui/react-separator": "1.1.2",
65
- "@radix-ui/react-slider": "^1.2.3",
66
- "@radix-ui/react-slot": "^1.2.3",
67
- "@radix-ui/react-switch": "1.1.3",
68
- "@radix-ui/react-tabs": "1.1.3",
69
- "@radix-ui/react-toast": "1.2.6",
70
- "@radix-ui/react-tooltip": "1.1.8",
71
- "@react-input/mask": "^2.0.4",
72
- "@tanstack/react-table": "^8.20.5",
73
- "class-variance-authority": "^0.7.1",
74
- "clsx": "^2.1.1",
75
- "cmdk": "1.0.0",
76
- "date-fns": "^4.1.0",
77
- "embla-carousel-react": "^8.5.1",
78
- "lucide-react": "^0.475.0",
79
- "react-colorful": "^5.6.1",
80
- "react-day-picker": "^9.7.0",
81
- "react-hook-form": "^7.51.1",
82
- "react-router-dom": "^6.21.0",
83
- "react-top-loading-bar": "^3.0.2",
84
- "recharts": "^2.15.1",
85
- "tailwind-merge": "^3.0.1",
86
- "vaul": "^1.1.2",
87
- "zod": "^3.22.4"
88
- },
89
- "devDependencies": {
90
- "@biomejs/biome": "1.4.1",
91
- "@rollup/plugin-alias": "^5.1.1",
92
- "@rollup/plugin-commonjs": "^26.0.1",
93
- "@rollup/plugin-node-resolve": "^15.2.3",
94
- "@rollup/plugin-typescript": "^11.1.6",
95
- "@semantic-release/changelog": "^6.0.0",
96
- "@semantic-release/commit-analyzer": "^10.0.0",
97
- "@semantic-release/git": "^10.0.0",
98
- "@semantic-release/npm": "^10.0.0",
99
- "@semantic-release/release-notes-generator": "^11.0.0",
100
- "@storybook/addon-essentials": "^8.0.0",
101
- "@storybook/addon-interactions": "^8.0.0",
102
- "@storybook/addon-links": "^8.0.0",
103
- "@storybook/blocks": "^8.0.0",
104
- "@storybook/react": "^8.0.0",
105
- "@storybook/react-vite": "^8.0.0",
106
- "@storybook/test": "^8.0.0",
107
- "@types/node": "^24.7.0",
108
- "@types/react": "^18.2.67",
109
- "@types/react-dom": "^18.2.22",
110
- "autoprefixer": "^10.4.19",
111
- "postcss": "^8.4.38",
112
- "rollup": "^4.18.0",
113
- "rollup-plugin-dts": "^6.1.1",
114
- "rollup-plugin-peer-deps-external": "^2.2.4",
115
- "rollup-plugin-postcss": "^4.0.2",
116
- "semantic-release": "^21.0.0",
117
- "storybook": "^8.0.0",
118
- "tailwindcss": "^3.3.6",
119
- "tailwindcss-animate": "^1.0.7",
120
- "typescript": "^5.4.3"
121
- },
122
- "keywords": [
123
- "react",
124
- "components",
125
- "ui",
126
- "design-system",
127
- "typescript",
128
- "tailwind",
129
- "tailwindcss",
130
- "shadcn",
131
- "shadcn-ui",
132
- "radix",
133
- "radix-ui",
134
- "accessibility",
135
- "a11y",
136
- "dark-mode",
137
- "responsive",
138
- "modern",
139
- "styled-components",
140
- "css-in-js",
141
- "component-library",
142
- "ui-kit",
143
- "frontend",
144
- "web-components"
145
- ]
146
- }
1
+ {
2
+ "name": "eai-frontend-components",
3
+ "version": "2.0.24",
4
+ "description": "Biblioteca de componentes UI reutilizáveis baseada em shadcn/ui e Radix UI para projetos EAI.",
5
+ "private": false,
6
+ "publishConfig": {
7
+ "access": "public",
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "homepage": "https://bitbucket.org/genei_ryodan/erp_frontend_eai_ds#readme",
11
+ "bugs": {
12
+ "url": "https://bitbucket.org/genei_ryodan/erp_frontend_eai_ds/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+ssh://git@bitbucket.org/genei_ryodan/erp_frontend_eai_ds.git"
17
+ },
18
+ "author": "EAI",
19
+ "license": "MIT",
20
+ "type": "module",
21
+ "main": "dist/index.js",
22
+ "module": "dist/index.esm.js",
23
+ "types": "dist/index.d.ts",
24
+ "files": [
25
+ "dist",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "scripts": {
30
+ "build": "rollup -c",
31
+ "build:watch": "rollup -c -w",
32
+ "dev": "storybook dev -p 6006",
33
+ "build-storybook": "storybook build",
34
+ "lint": "npx @biomejs/biome lint ./src",
35
+ "lint:fix": "npx @biomejs/biome lint --apply ./src",
36
+ "type-check": "tsc --noEmit",
37
+ "test": "echo \"No tests specified\" && exit 0",
38
+ "ci": "npm run lint && npm run type-check && npm run build",
39
+ "release": "semantic-release",
40
+ "prepublishOnly": "npm run ci"
41
+ },
42
+ "peerDependencies": {
43
+ "react": ">=16.8.0",
44
+ "react-dom": ">=16.8.0"
45
+ },
46
+ "dependencies": {
47
+ "@hookform/resolvers": "^3.3.4",
48
+ "@mona-health/react-input-mask": "^3.0.3",
49
+ "@radix-ui/react-accordion": "1.2.3",
50
+ "@radix-ui/react-alert-dialog": "^1.1.6",
51
+ "@radix-ui/react-avatar": "1.1.3",
52
+ "@radix-ui/react-checkbox": "1.1.4",
53
+ "@radix-ui/react-collapsible": "1.1.3",
54
+ "@radix-ui/react-context-menu": "^2.2.6",
55
+ "@radix-ui/react-dialog": "^1.1.6",
56
+ "@radix-ui/react-dropdown-menu": "2.1.6",
57
+ "@radix-ui/react-hover-card": "1.1.6",
58
+ "@radix-ui/react-label": "2.1.2",
59
+ "@radix-ui/react-popover": "1.1.6",
60
+ "@radix-ui/react-progress": "1.1.2",
61
+ "@radix-ui/react-radio-group": "1.2.3",
62
+ "@radix-ui/react-scroll-area": "^1.2.3",
63
+ "@radix-ui/react-select": "2.1.6",
64
+ "@radix-ui/react-separator": "1.1.2",
65
+ "@radix-ui/react-slider": "^1.2.3",
66
+ "@radix-ui/react-slot": "^1.2.3",
67
+ "@radix-ui/react-switch": "1.1.3",
68
+ "@radix-ui/react-tabs": "1.1.3",
69
+ "@radix-ui/react-toast": "1.2.6",
70
+ "@radix-ui/react-tooltip": "1.1.8",
71
+ "@react-input/mask": "^2.0.4",
72
+ "@tanstack/react-table": "^8.20.5",
73
+ "class-variance-authority": "^0.7.1",
74
+ "clsx": "^2.1.1",
75
+ "cmdk": "1.0.0",
76
+ "date-fns": "^4.1.0",
77
+ "embla-carousel-react": "^8.5.1",
78
+ "lucide-react": "^0.475.0",
79
+ "react-colorful": "^5.6.1",
80
+ "react-day-picker": "^9.7.0",
81
+ "react-hook-form": "^7.51.1",
82
+ "react-router-dom": "^6.21.0",
83
+ "react-top-loading-bar": "^3.0.2",
84
+ "recharts": "^2.15.1",
85
+ "tailwind-merge": "^3.0.1",
86
+ "vaul": "^1.1.2",
87
+ "zod": "^3.22.4"
88
+ },
89
+ "devDependencies": {
90
+ "@biomejs/biome": "1.4.1",
91
+ "@rollup/plugin-alias": "^5.1.1",
92
+ "@rollup/plugin-commonjs": "^26.0.1",
93
+ "@rollup/plugin-node-resolve": "^15.2.3",
94
+ "@rollup/plugin-typescript": "^11.1.6",
95
+ "@semantic-release/changelog": "^6.0.0",
96
+ "@semantic-release/commit-analyzer": "^10.0.0",
97
+ "@semantic-release/git": "^10.0.0",
98
+ "@semantic-release/npm": "^10.0.0",
99
+ "@semantic-release/release-notes-generator": "^11.0.0",
100
+ "@storybook/addon-essentials": "^8.0.0",
101
+ "@storybook/addon-interactions": "^8.0.0",
102
+ "@storybook/addon-links": "^8.0.0",
103
+ "@storybook/blocks": "^8.0.0",
104
+ "@storybook/react": "^8.0.0",
105
+ "@storybook/react-vite": "^8.0.0",
106
+ "@storybook/test": "^8.0.0",
107
+ "@types/node": "^24.7.0",
108
+ "@types/react": "^18.2.67",
109
+ "@types/react-dom": "^18.2.22",
110
+ "autoprefixer": "^10.4.19",
111
+ "conventional-changelog-conventionalcommits": "^9.1.0",
112
+ "postcss": "^8.4.38",
113
+ "rollup": "^4.18.0",
114
+ "rollup-plugin-dts": "^6.1.1",
115
+ "rollup-plugin-peer-deps-external": "^2.2.4",
116
+ "rollup-plugin-postcss": "^4.0.2",
117
+ "semantic-release": "^21.0.0",
118
+ "storybook": "^8.0.0",
119
+ "tailwindcss": "^3.3.6",
120
+ "tailwindcss-animate": "^1.0.7",
121
+ "typescript": "^5.4.3"
122
+ },
123
+ "keywords": [
124
+ "react",
125
+ "components",
126
+ "ui",
127
+ "design-system",
128
+ "typescript",
129
+ "tailwind",
130
+ "tailwindcss",
131
+ "shadcn",
132
+ "shadcn-ui",
133
+ "radix",
134
+ "radix-ui",
135
+ "accessibility",
136
+ "a11y",
137
+ "dark-mode",
138
+ "responsive",
139
+ "modern",
140
+ "styled-components",
141
+ "css-in-js",
142
+ "component-library",
143
+ "ui-kit",
144
+ "frontend",
145
+ "web-components"
146
+ ]
147
+ }
@@ -1,8 +0,0 @@
1
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
- import * as React from 'react';
3
- declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
- declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
- declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
8
- //# sourceMappingURL=accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,SAAS,8JAA0B,CAAC;AAE1C,QAAA,MAAM,aAAa,iKAGwG,CAAC;AAG5H,QAAA,MAAM,gBAAgB,0KAcpB,CAAC;AAGH,QAAA,MAAM,gBAAgB,oKAWpB,CAAC;AAIH,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,13 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
- import { ChevronDown } from 'lucide-react';
4
- import * as React from 'react';
5
- import { cn } from '../../lib/utils';
6
- const Accordion = AccordionPrimitive.Root;
7
- const AccordionItem = React.forwardRef(({ className, ...props }, ref) => _jsx(AccordionPrimitive.Item, { ref: ref, className: cn('border-b', className), ...props }));
8
- AccordionItem.displayName = 'AccordionItem';
9
- const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => (_jsx(AccordionPrimitive.Header, { className: 'flex', children: _jsxs(AccordionPrimitive.Trigger, { ref: ref, className: cn('flex flex-1 items-center justify-between p-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180', className), ...props, children: [children, _jsx(ChevronDown, { className: 'h-4 w-4 shrink-0 transition-transform duration-200' })] }) })));
10
- AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
11
- const AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => (_jsx(AccordionPrimitive.Content, { ref: ref, className: 'overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down', ...props, children: _jsx("div", { className: cn('p-4 pt-0', className), children: children }) })));
12
- AccordionContent.displayName = AccordionPrimitive.Content.displayName;
13
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
@@ -1,25 +0,0 @@
1
- import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2
- import * as React from "react";
3
- declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
- declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
- declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
- declare const AlertDialogHeader: {
9
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
- displayName: string;
11
- };
12
- declare const AlertDialogFooter: {
13
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- };
16
- declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
- declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
- declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
19
- variant?: "default" | "outline" | "destructive" | "secondary";
20
- } & React.RefAttributes<HTMLButtonElement>>;
21
- declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
22
- variant?: "default" | "outline" | "destructive" | "secondary";
23
- } & React.RefAttributes<HTMLButtonElement>>;
24
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
25
- //# sourceMappingURL=alert-dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/alert-dialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAetB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,gBAAgB,8KASpB,CAAA;AAGF,QAAA,MAAM,sBAAsB,wLAS1B,CAAA;AAIA,QAAA,MAAM,iBAAiB;cAGX,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,WAAW;2CAQ/D,CAAC;AAKH,QAAA,MAAM,iBAAiB;cAGT,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,WAAW;2CAY/D,CAAC;AAKH,OAAO,EACL,WAAW,EAAE,iBAAiB,EAC9B,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EACjL,CAAA"}
@@ -1,27 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "@/lib/utils";
3
- import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4
- import * as React from "react";
5
- import { buttonVariants } from "./button";
6
- const AlertDialog = AlertDialogPrimitive.Root;
7
- const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
8
- const AlertDialogPortal = AlertDialogPrimitive.Portal;
9
- const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => (_jsx(AlertDialogPrimitive.Overlay, { className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className), ...props, ref: ref })));
10
- AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
11
- const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => (_jsxs(AlertDialogPortal, { children: [_jsx(AlertDialogOverlay, {}), _jsx(AlertDialogPrimitive.Content, { ref: ref, className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className), ...props })] })));
12
- AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
13
- const AlertDialogHeader = ({ className, ...props }) => (_jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props }));
14
- AlertDialogHeader.displayName = "AlertDialogHeader";
15
- const AlertDialogFooter = ({ className, ...props }) => (_jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }));
16
- AlertDialogFooter.displayName = "AlertDialogFooter";
17
- const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx(AlertDialogPrimitive.Title, { ref: ref, className: cn("text-lg font-semibold", className), ...props })));
18
- AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
19
- const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx(AlertDialogPrimitive.Description, { ref: ref, className: cn("text-sm text-muted-foreground", className), ...props })));
20
- AlertDialogDescription.displayName =
21
- AlertDialogPrimitive.Description.displayName;
22
- const AlertDialogAction = React.forwardRef(({ className, variant = "default", ...props }, ref) => (_jsx(AlertDialogPrimitive.Action, { ref: ref, className: cn(buttonVariants({ variant }), className), ...props })));
23
- AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
24
- const AlertDialogCancel = React.forwardRef(({ className, variant = "outline", ...props }, ref) => (_jsx(AlertDialogPrimitive.Cancel, { ref: ref, className: cn(buttonVariants({ variant }), // Usa a variante passada como prop
25
- "mt-2 sm:mt-0", className), ...props })));
26
- AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
27
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
@@ -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 { cva } from 'class-variance-authority';
3
- import * as React from 'react';
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, AlertDescription, AlertTitle };
@@ -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"}