eai-frontend-components 2.0.23 → 2.0.25

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 +24 -18
  5. package/dist/index.esm.js +24 -8
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +24 -7
  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
@@ -1,291 +0,0 @@
1
- export declare function getTailwindColorShades(): {
2
- slate: {
3
- 50: string;
4
- 100: string;
5
- 200: string;
6
- 300: string;
7
- 400: string;
8
- 500: string;
9
- 600: string;
10
- 700: string;
11
- 800: string;
12
- 900: string;
13
- 950: string;
14
- };
15
- gray: {
16
- 50: string;
17
- 100: string;
18
- 200: string;
19
- 300: string;
20
- 400: string;
21
- 500: string;
22
- 600: string;
23
- 700: string;
24
- 800: string;
25
- 900: string;
26
- 950: string;
27
- };
28
- zinc: {
29
- 50: string;
30
- 100: string;
31
- 200: string;
32
- 300: string;
33
- 400: string;
34
- 500: string;
35
- 600: string;
36
- 700: string;
37
- 800: string;
38
- 900: string;
39
- 950: string;
40
- };
41
- neutral: {
42
- 50: string;
43
- 100: string;
44
- 200: string;
45
- 300: string;
46
- 400: string;
47
- 500: string;
48
- 600: string;
49
- 700: string;
50
- 800: string;
51
- 900: string;
52
- 950: string;
53
- };
54
- stone: {
55
- 50: string;
56
- 100: string;
57
- 200: string;
58
- 300: string;
59
- 400: string;
60
- 500: string;
61
- 600: string;
62
- 700: string;
63
- 800: string;
64
- 900: string;
65
- 950: string;
66
- };
67
- red: {
68
- 50: string;
69
- 100: string;
70
- 200: string;
71
- 300: string;
72
- 400: string;
73
- 500: string;
74
- 600: string;
75
- 700: string;
76
- 800: string;
77
- 900: string;
78
- 950: string;
79
- };
80
- orange: {
81
- 50: string;
82
- 100: string;
83
- 200: string;
84
- 300: string;
85
- 400: string;
86
- 500: string;
87
- 600: string;
88
- 700: string;
89
- 800: string;
90
- 900: string;
91
- 950: string;
92
- };
93
- amber: {
94
- 50: string;
95
- 100: string;
96
- 200: string;
97
- 300: string;
98
- 400: string;
99
- 500: string;
100
- 600: string;
101
- 700: string;
102
- 800: string;
103
- 900: string;
104
- 950: string;
105
- };
106
- yellow: {
107
- 50: string;
108
- 100: string;
109
- 200: string;
110
- 300: string;
111
- 400: string;
112
- 500: string;
113
- 600: string;
114
- 700: string;
115
- 800: string;
116
- 900: string;
117
- 950: string;
118
- };
119
- lime: {
120
- 50: string;
121
- 100: string;
122
- 200: string;
123
- 300: string;
124
- 400: string;
125
- 500: string;
126
- 600: string;
127
- 700: string;
128
- 800: string;
129
- 900: string;
130
- 950: string;
131
- };
132
- green: {
133
- 50: string;
134
- 100: string;
135
- 200: string;
136
- 300: string;
137
- 400: string;
138
- 500: string;
139
- 600: string;
140
- 700: string;
141
- 800: string;
142
- 900: string;
143
- 950: string;
144
- };
145
- emerald: {
146
- 50: string;
147
- 100: string;
148
- 200: string;
149
- 300: string;
150
- 400: string;
151
- 500: string;
152
- 600: string;
153
- 700: string;
154
- 800: string;
155
- 900: string;
156
- 950: string;
157
- };
158
- teal: {
159
- 50: string;
160
- 100: string;
161
- 200: string;
162
- 300: string;
163
- 400: string;
164
- 500: string;
165
- 600: string;
166
- 700: string;
167
- 800: string;
168
- 900: string;
169
- 950: string;
170
- };
171
- cyan: {
172
- 50: string;
173
- 100: string;
174
- 200: string;
175
- 300: string;
176
- 400: string;
177
- 500: string;
178
- 600: string;
179
- 700: string;
180
- 800: string;
181
- 900: string;
182
- 950: string;
183
- };
184
- sky: {
185
- 50: string;
186
- 100: string;
187
- 200: string;
188
- 300: string;
189
- 400: string;
190
- 500: string;
191
- 600: string;
192
- 700: string;
193
- 800: string;
194
- 900: string;
195
- 950: string;
196
- };
197
- blue: {
198
- 50: string;
199
- 100: string;
200
- 200: string;
201
- 300: string;
202
- 400: string;
203
- 500: string;
204
- 600: string;
205
- 700: string;
206
- 800: string;
207
- 900: string;
208
- 950: string;
209
- };
210
- indigo: {
211
- 50: string;
212
- 100: string;
213
- 200: string;
214
- 300: string;
215
- 400: string;
216
- 500: string;
217
- 600: string;
218
- 700: string;
219
- 800: string;
220
- 900: string;
221
- 950: string;
222
- };
223
- violet: {
224
- 50: string;
225
- 100: string;
226
- 200: string;
227
- 300: string;
228
- 400: string;
229
- 500: string;
230
- 600: string;
231
- 700: string;
232
- 800: string;
233
- 900: string;
234
- 950: string;
235
- };
236
- purple: {
237
- 50: string;
238
- 100: string;
239
- 200: string;
240
- 300: string;
241
- 400: string;
242
- 500: string;
243
- 600: string;
244
- 700: string;
245
- 800: string;
246
- 900: string;
247
- 950: string;
248
- };
249
- fuchsia: {
250
- 50: string;
251
- 100: string;
252
- 200: string;
253
- 300: string;
254
- 400: string;
255
- 500: string;
256
- 600: string;
257
- 700: string;
258
- 800: string;
259
- 900: string;
260
- 950: string;
261
- };
262
- pink: {
263
- 50: string;
264
- 100: string;
265
- 200: string;
266
- 300: string;
267
- 400: string;
268
- 500: string;
269
- 600: string;
270
- 700: string;
271
- 800: string;
272
- 900: string;
273
- 950: string;
274
- };
275
- rose: {
276
- 50: string;
277
- 100: string;
278
- 200: string;
279
- 300: string;
280
- 400: string;
281
- 500: string;
282
- 600: string;
283
- 700: string;
284
- 800: string;
285
- 900: string;
286
- 950: string;
287
- };
288
- };
289
- export type TailwindColorName = keyof ReturnType<typeof getTailwindColorShades>;
290
- export declare const replaceThemeTailwindColors: (theme: string, tailwindColor: string) => HTMLStyleElement;
291
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/lib/help/theme.ts"],"names":[],"mappings":"AACA,wBAAgB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmSrC;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEhF,eAAO,MAAM,0BAA0B,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,KAAG,gBAiDjF,CAAC"}
@@ -1,340 +0,0 @@
1
- // Retorna todas as cores do Tailwind CSS das variações 50 a 950
2
- export function getTailwindColorShades() {
3
- // Paleta padrão do Tailwind v3.3.0
4
- // Fonte: https://github.com/tailwindlabs/tailwindcss/blob/master/src/public/colors.js
5
- return {
6
- slate: {
7
- 50: '#f8fafc',
8
- 100: '#f1f5f9',
9
- 200: '#e2e8f0',
10
- 300: '#cbd5e1',
11
- 400: '#94a3b8',
12
- 500: '#64748b',
13
- 600: '#475569',
14
- 700: '#334155',
15
- 800: '#1e293b',
16
- 900: '#0f172a',
17
- 950: '#020617',
18
- },
19
- gray: {
20
- 50: '#f9fafb',
21
- 100: '#f3f4f6',
22
- 200: '#e5e7eb',
23
- 300: '#d1d5db',
24
- 400: '#9ca3af',
25
- 500: '#6b7280',
26
- 600: '#4b5563',
27
- 700: '#374151',
28
- 800: '#1f2937',
29
- 900: '#111827',
30
- 950: '#030712',
31
- },
32
- zinc: {
33
- 50: '#fafafa',
34
- 100: '#f4f4f5',
35
- 200: '#e4e4e7',
36
- 300: '#d4d4d8',
37
- 400: '#a1a1aa',
38
- 500: '#71717a',
39
- 600: '#52525b',
40
- 700: '#3f3f46',
41
- 800: '#27272a',
42
- 900: '#18181b',
43
- 950: '#09090b',
44
- },
45
- neutral: {
46
- 50: '#fafafa',
47
- 100: '#f5f5f5',
48
- 200: '#e5e5e5',
49
- 300: '#d4d4d4',
50
- 400: '#a3a3a3',
51
- 500: '#737373',
52
- 600: '#525252',
53
- 700: '#404040',
54
- 800: '#262626',
55
- 900: '#171717',
56
- 950: '#0a0a0a',
57
- },
58
- stone: {
59
- 50: '#fafaf9',
60
- 100: '#f5f5f4',
61
- 200: '#e7e5e4',
62
- 300: '#d6d3d1',
63
- 400: '#a8a29e',
64
- 500: '#78716c',
65
- 600: '#57534e',
66
- 700: '#44403c',
67
- 800: '#292524',
68
- 900: '#1c1917',
69
- 950: '#0c0a09',
70
- },
71
- red: {
72
- 50: '#fef2f2',
73
- 100: '#fee2e2',
74
- 200: '#fecaca',
75
- 300: '#fca5a5',
76
- 400: '#f87171',
77
- 500: '#ef4444',
78
- 600: '#dc2626',
79
- 700: '#b91c1c',
80
- 800: '#991b1b',
81
- 900: '#7f1d1d',
82
- 950: '#450a0a',
83
- },
84
- orange: {
85
- 50: '#fff7ed',
86
- 100: '#ffedd5',
87
- 200: '#fed7aa',
88
- 300: '#fdba74',
89
- 400: '#fb923c',
90
- 500: '#f97316',
91
- 600: '#ea580c',
92
- 700: '#c2410c',
93
- 800: '#9a3412',
94
- 900: '#7c2d12',
95
- 950: '#431407',
96
- },
97
- amber: {
98
- 50: '#fffbeb',
99
- 100: '#fef3c7',
100
- 200: '#fde68a',
101
- 300: '#fcd34d',
102
- 400: '#fbbf24',
103
- 500: '#f59e42',
104
- 600: '#d97706',
105
- 700: '#b45309',
106
- 800: '#92400e',
107
- 900: '#78350f',
108
- 950: '#451a03',
109
- },
110
- yellow: {
111
- 50: '#fefce8',
112
- 100: '#fef9c3',
113
- 200: '#fef08a',
114
- 300: '#fde047',
115
- 400: '#facc15',
116
- 500: '#eab308',
117
- 600: '#ca8a04',
118
- 700: '#a16207',
119
- 800: '#854d0e',
120
- 900: '#713f12',
121
- 950: '#422006',
122
- },
123
- lime: {
124
- 50: '#f7fee7',
125
- 100: '#ecfccb',
126
- 200: '#d9f99d',
127
- 300: '#bef264',
128
- 400: '#a3e635',
129
- 500: '#84cc16',
130
- 600: '#65a30d',
131
- 700: '#4d7c0f',
132
- 800: '#3f6212',
133
- 900: '#365314',
134
- 950: '#1a2e05',
135
- },
136
- green: {
137
- 50: '#f0fdf4',
138
- 100: '#dcfce7',
139
- 200: '#bbf7d0',
140
- 300: '#86efac',
141
- 400: '#4ade80',
142
- 500: '#22c55e',
143
- 600: '#16a34a',
144
- 700: '#15803d',
145
- 800: '#166534',
146
- 900: '#14532d',
147
- 950: '#052e16',
148
- },
149
- emerald: {
150
- 50: '#ecfdf5',
151
- 100: '#d1fae5',
152
- 200: '#a7f3d0',
153
- 300: '#6ee7b7',
154
- 400: '#34d399',
155
- 500: '#10b981',
156
- 600: '#059669',
157
- 700: '#047857',
158
- 800: '#065f46',
159
- 900: '#064e3b',
160
- 950: '#022c22',
161
- },
162
- teal: {
163
- 50: '#f0fdfa',
164
- 100: '#ccfbf1',
165
- 200: '#99f6e4',
166
- 300: '#5eead4',
167
- 400: '#2dd4bf',
168
- 500: '#14b8a6',
169
- 600: '#0d9488',
170
- 700: '#0f766e',
171
- 800: '#115e59',
172
- 900: '#134e4a',
173
- 950: '#042f2e',
174
- },
175
- cyan: {
176
- 50: '#ecfeff',
177
- 100: '#cffafe',
178
- 200: '#a5f3fc',
179
- 300: '#67e8f9',
180
- 400: '#22d3ee',
181
- 500: '#06b6d4',
182
- 600: '#0891b2',
183
- 700: '#0e7490',
184
- 800: '#155e75',
185
- 900: '#164e63',
186
- 950: '#083344',
187
- },
188
- sky: {
189
- 50: '#f0f9ff',
190
- 100: '#e0f2fe',
191
- 200: '#bae6fd',
192
- 300: '#7dd3fc',
193
- 400: '#38bdf8',
194
- 500: '#0ea5e9',
195
- 600: '#0284c7',
196
- 700: '#0369a1',
197
- 800: '#075985',
198
- 900: '#0e3a5e',
199
- 950: '#082f49',
200
- },
201
- blue: {
202
- 50: '#eff6ff',
203
- 100: '#dbeafe',
204
- 200: '#bfdbfe',
205
- 300: '#93c5fd',
206
- 400: '#60a5fa',
207
- 500: '#3b82f6',
208
- 600: '#2563eb',
209
- 700: '#1d4ed8',
210
- 800: '#1e40af',
211
- 900: '#1e3a8a',
212
- 950: '#172554',
213
- },
214
- indigo: {
215
- 50: '#eef2ff',
216
- 100: '#e0e7ff',
217
- 200: '#c7d2fe',
218
- 300: '#a5b4fc',
219
- 400: '#818cf8',
220
- 500: '#6366f1',
221
- 600: '#4f46e5',
222
- 700: '#4338ca',
223
- 800: '#3730a3',
224
- 900: '#312e81',
225
- 950: '#1e1b4b',
226
- },
227
- violet: {
228
- 50: '#f5f3ff',
229
- 100: '#ede9fe',
230
- 200: '#ddd6fe',
231
- 300: '#c4b5fd',
232
- 400: '#a78bfa',
233
- 500: '#8b5cf6',
234
- 600: '#7c3aed',
235
- 700: '#6d28d9',
236
- 800: '#5b21b6',
237
- 900: '#4c1d95',
238
- 950: '#2e1065',
239
- },
240
- purple: {
241
- 50: '#faf5ff',
242
- 100: '#f3e8ff',
243
- 200: '#e9d5ff',
244
- 300: '#d8b4fe',
245
- 400: '#c084fc',
246
- 500: '#a855f7',
247
- 600: '#9333ea',
248
- 700: '#7e22ce',
249
- 800: '#6d19a8',
250
- 900: '#581c87',
251
- 950: '#3b0764',
252
- },
253
- fuchsia: {
254
- 50: '#fdf4ff',
255
- 100: '#fae8ff',
256
- 200: '#f5d0fe',
257
- 300: '#f0abfc',
258
- 400: '#e879f9',
259
- 500: '#d946ef',
260
- 600: '#c026d3',
261
- 700: '#a21caf',
262
- 800: '#86198f',
263
- 900: '#701a75',
264
- 950: '#4a044e',
265
- },
266
- pink: {
267
- 50: '#fdf2f8',
268
- 100: '#fce7f3',
269
- 200: '#fbcfe8',
270
- 300: '#f9a8d4',
271
- 400: '#f472b6',
272
- 500: '#ec4899',
273
- 600: '#db2777',
274
- 700: '#be185d',
275
- 800: '#9d174d',
276
- 900: '#831843',
277
- 950: '#500724',
278
- },
279
- rose: {
280
- 50: '#fff1f2',
281
- 100: '#ffe4e6',
282
- 200: '#fecdd3',
283
- 300: '#fda4af',
284
- 400: '#fb7185',
285
- 500: '#f43f5e',
286
- 600: '#e11d48',
287
- 700: '#be123c',
288
- 800: '#9f1239',
289
- 900: '#881337',
290
- 950: '#4c0519',
291
- },
292
- };
293
- }
294
- export const replaceThemeTailwindColors = (theme, tailwindColor) => {
295
- const colorShades = getTailwindColorShades();
296
- const isValidColor = (color) => color in colorShades;
297
- const colorPallete = isValidColor(tailwindColor) ? colorShades[tailwindColor] : colorShades.violet;
298
- const el = document.createElement('style');
299
- el.id = 'theme-variables';
300
- el.setAttribute('type', 'text/css');
301
- el.textContent = ':root {';
302
- if (theme === 'light') {
303
- el.textContent += `--sidebar-background: ${colorPallete[50]};\n`;
304
- el.textContent += `--sidebar-accent: ${colorPallete[200]};\n`;
305
- el.textContent += `--sidebar-ring: ${colorPallete[300]};\n`;
306
- el.textContent += `--sidebar-border: ${colorPallete[100]};\n`;
307
- el.textContent += `--sidebar-scrollbar-thumb: ${colorPallete[200]};\n`;
308
- }
309
- if (theme === 'light' || theme === 'dark-side') {
310
- el.textContent += `--background-elevated: ${colorPallete[200]};\n`;
311
- el.textContent += `--background-primary-hover: ${colorPallete[100]};\n`;
312
- el.textContent += `--background-subtle: ${colorPallete[50]};\n`;
313
- el.textContent += `--accent: ${colorPallete[200]};\n`;
314
- el.textContent += `--datatable-background: ${colorPallete[50]};\n`;
315
- el.textContent += `--datatable-accent: ${colorPallete[50]};\n`;
316
- el.textContent += `--scrollbar-thumb: ${colorPallete[200]};\n`;
317
- }
318
- if (theme === 'dark-side' || theme === 'dark') {
319
- // Verificar essa propriedade
320
- el.textContent += `--sidebar-accent: ${colorPallete[950]};\n`;
321
- }
322
- el.textContent += `--background-primary: ${colorPallete[900]};\n`;
323
- el.textContent += `--background-primary-hover: ${colorPallete[950]};\n`;
324
- el.textContent += `--primary: ${colorPallete[900]};\n`;
325
- el.textContent += `--primary-950: ${colorPallete[950]};\n`;
326
- el.textContent += `--primary-900: ${colorPallete[900]};\n`;
327
- el.textContent += `--primary-800: ${colorPallete[800]};\n`;
328
- el.textContent += `--primary-700: ${colorPallete[700]};\n`;
329
- el.textContent += `--primary-600: ${colorPallete[600]};\n`;
330
- el.textContent += `--primary-500: ${colorPallete[500]};\n`;
331
- el.textContent += `--primary-400: ${colorPallete[400]};\n`;
332
- el.textContent += `--primary-300: ${colorPallete[300]};\n`;
333
- el.textContent += `--primary-200: ${colorPallete[200]};\n`;
334
- el.textContent += `--primary-100: ${colorPallete[100]};\n`;
335
- el.textContent += `--primary-50: ${colorPallete[50]};\n`;
336
- el.textContent += `--chart-primary: ${colorPallete[800]};\n`;
337
- el.textContent += `--chart-secondary: ${colorPallete[200]};\n`;
338
- el.textContent += '}';
339
- return el;
340
- };
@@ -1,2 +0,0 @@
1
- export declare function isUUIDv4(str: string): boolean;
2
- //# sourceMappingURL=uuid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../../src/lib/help/uuid.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAG7C"}
@@ -1,4 +0,0 @@
1
- export function isUUIDv4(str) {
2
- const uuidV4Regex = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
3
- return uuidV4Regex.test(str);
4
- }
@@ -1,3 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
package/dist/lib/utils.js DELETED
@@ -1,5 +0,0 @@
1
- import { clsx } from 'clsx';
2
- import { twMerge } from 'tailwind-merge';
3
- export function cn(...inputs) {
4
- return twMerge(clsx(inputs));
5
- }