analytica-frontend-lib 1.2.25 → 1.2.29

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 (355) hide show
  1. package/dist/Accordation/index.d.ts +4 -5
  2. package/dist/Accordation/index.d.ts.map +1 -0
  3. package/dist/ActivityDetails/index.css +19293 -0
  4. package/dist/ActivityDetails/index.css.map +1 -0
  5. package/dist/ActivityDetails/index.d.ts +31 -0
  6. package/dist/ActivityDetails/index.d.ts.map +1 -0
  7. package/dist/ActivityDetails/index.js +7389 -0
  8. package/dist/ActivityDetails/index.js.map +1 -0
  9. package/dist/ActivityDetails/index.mjs +7438 -0
  10. package/dist/ActivityDetails/index.mjs.map +1 -0
  11. package/dist/ActivityFilters/index.css +112 -0
  12. package/dist/ActivityFilters/index.css.map +1 -1
  13. package/dist/ActivityFilters/index.d.ts +44 -5
  14. package/dist/ActivityFilters/index.d.ts.map +1 -0
  15. package/dist/ActivityFilters/index.js +67 -33
  16. package/dist/ActivityFilters/index.js.map +1 -1
  17. package/dist/ActivityFilters/index.mjs +89 -55
  18. package/dist/ActivityFilters/index.mjs.map +1 -1
  19. package/dist/Alert/index.d.ts +3 -5
  20. package/dist/Alert/index.d.ts.map +1 -0
  21. package/dist/AlertDialog/index.d.ts +2 -4
  22. package/dist/AlertDialog/index.d.ts.map +1 -0
  23. package/dist/AlertManager/index.css +112 -0
  24. package/dist/AlertManager/index.css.map +1 -1
  25. package/dist/AlertManager/index.d.ts +4 -8
  26. package/dist/AlertManager/index.d.ts.map +1 -0
  27. package/dist/AlertManager/index.js +56 -22
  28. package/dist/AlertManager/index.js.map +1 -1
  29. package/dist/AlertManager/index.mjs +78 -44
  30. package/dist/AlertManager/index.mjs.map +1 -1
  31. package/dist/AlertManagerView/index.d.ts +6 -10
  32. package/dist/AlertManagerView/index.d.ts.map +1 -0
  33. package/dist/Alternative/index.d.ts +6 -9
  34. package/dist/Alternative/index.d.ts.map +1 -0
  35. package/dist/Auth/AuthProvider/index.d.ts +324 -3
  36. package/dist/Auth/AuthProvider/index.d.ts.map +1 -0
  37. package/dist/Auth/ProtectedRoute/index.d.ts +324 -3
  38. package/dist/Auth/ProtectedRoute/index.d.ts.map +1 -0
  39. package/dist/Auth/PublicRoute/index.d.ts +324 -3
  40. package/dist/Auth/PublicRoute/index.d.ts.map +1 -0
  41. package/dist/Auth/getRootDomain/index.d.ts +324 -3
  42. package/dist/Auth/getRootDomain/index.d.ts.map +1 -0
  43. package/dist/Auth/index.d.ts +24 -26
  44. package/dist/Auth/index.d.ts.map +1 -0
  45. package/dist/Auth/useApiConfig/index.d.ts +3 -3
  46. package/dist/Auth/useApiConfig/index.d.ts.map +1 -0
  47. package/dist/Auth/useAuth/index.d.ts +324 -3
  48. package/dist/Auth/useAuth/index.d.ts.map +1 -0
  49. package/dist/Auth/useAuthGuard/index.d.ts +324 -3
  50. package/dist/Auth/useAuthGuard/index.d.ts.map +1 -0
  51. package/dist/Auth/useRouteAuth/index.d.ts +324 -3
  52. package/dist/Auth/useRouteAuth/index.d.ts.map +1 -0
  53. package/dist/Auth/useUrlAuthentication/index.d.ts +3 -4
  54. package/dist/Auth/useUrlAuthentication/index.d.ts.map +1 -0
  55. package/dist/Auth/withAuth/index.d.ts +324 -3
  56. package/dist/Auth/withAuth/index.d.ts.map +1 -0
  57. package/dist/Auth/zustandAuthAdapter/index.d.ts +2 -3
  58. package/dist/Auth/zustandAuthAdapter/index.d.ts.map +1 -0
  59. package/dist/Badge/index.d.ts +4 -6
  60. package/dist/Badge/index.d.ts.map +1 -0
  61. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts +5 -7
  62. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts.map +1 -0
  63. package/dist/BreadcrumbMenu/index.d.ts +4 -8
  64. package/dist/BreadcrumbMenu/index.d.ts.map +1 -0
  65. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts +7 -10
  66. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts.map +1 -0
  67. package/dist/BreadcrumbMenu/useUrlParams/index.d.ts +3 -4
  68. package/dist/BreadcrumbMenu/useUrlParams/index.d.ts.map +1 -0
  69. package/dist/Button/index.d.ts +4 -6
  70. package/dist/Button/index.d.ts.map +1 -0
  71. package/dist/Calendar/index.d.ts +9 -11
  72. package/dist/Calendar/index.d.ts.map +1 -0
  73. package/dist/Card/index.d.ts +17 -19
  74. package/dist/Card/index.d.ts.map +1 -0
  75. package/dist/CheckBox/index.d.ts +6 -8
  76. package/dist/CheckBox/index.d.ts.map +1 -0
  77. package/dist/Chips/index.d.ts +4 -6
  78. package/dist/Chips/index.d.ts.map +1 -0
  79. package/dist/CorrectActivityModal/index.d.ts +39 -0
  80. package/dist/CorrectActivityModal/index.d.ts.map +1 -0
  81. package/dist/CorrectActivityModal/index.js +3674 -0
  82. package/dist/CorrectActivityModal/index.js.map +1 -0
  83. package/dist/CorrectActivityModal/index.mjs +3689 -0
  84. package/dist/CorrectActivityModal/index.mjs.map +1 -0
  85. package/dist/Divider/index.d.ts +3 -5
  86. package/dist/Divider/index.d.ts.map +1 -0
  87. package/dist/DownloadButton/index.d.ts +5 -7
  88. package/dist/DownloadButton/index.d.ts.map +1 -0
  89. package/dist/DropdownMenu/index.d.ts +26 -28
  90. package/dist/DropdownMenu/index.d.ts.map +1 -0
  91. package/dist/EmptyState/index.d.ts +5 -7
  92. package/dist/EmptyState/index.d.ts.map +1 -0
  93. package/dist/FileAttachment/index.d.ts +72 -0
  94. package/dist/FileAttachment/index.d.ts.map +1 -0
  95. package/dist/FileAttachment/index.js +239 -0
  96. package/dist/FileAttachment/index.js.map +1 -0
  97. package/dist/FileAttachment/index.mjs +213 -0
  98. package/dist/FileAttachment/index.mjs.map +1 -0
  99. package/dist/IconButton/index.d.ts +6 -8
  100. package/dist/IconButton/index.d.ts.map +1 -0
  101. package/dist/IconRender/index.d.ts +5 -6
  102. package/dist/IconRender/index.d.ts.map +1 -0
  103. package/dist/IconRoundedButton/index.d.ts +4 -6
  104. package/dist/IconRoundedButton/index.d.ts.map +1 -0
  105. package/dist/Input/index.d.ts +5 -7
  106. package/dist/Input/index.d.ts.map +1 -0
  107. package/dist/LatexRenderer/index.d.ts +5 -6
  108. package/dist/LatexRenderer/index.d.ts.map +1 -0
  109. package/dist/LoadingModal/index.d.ts +3 -5
  110. package/dist/LoadingModal/index.d.ts.map +1 -0
  111. package/dist/Menu/index.d.ts +12 -14
  112. package/dist/Menu/index.d.ts.map +1 -0
  113. package/dist/Modal/index.d.ts +3 -5
  114. package/dist/Modal/index.d.ts.map +1 -0
  115. package/dist/Modal/utils/videoUtils/index.d.ts +4 -5
  116. package/dist/Modal/utils/videoUtils/index.d.ts.map +1 -0
  117. package/dist/MultipleChoice/index.d.ts +2 -4
  118. package/dist/MultipleChoice/index.d.ts.map +1 -0
  119. package/dist/NavButton/index.d.ts +5 -7
  120. package/dist/NavButton/index.d.ts.map +1 -0
  121. package/dist/NoSearchResult/index.d.ts +4 -6
  122. package/dist/NoSearchResult/index.d.ts.map +1 -0
  123. package/dist/NotFound/index.d.ts +4 -6
  124. package/dist/NotFound/index.d.ts.map +1 -0
  125. package/dist/NotificationCard/index.d.ts +218 -3
  126. package/dist/NotificationCard/index.d.ts.map +1 -0
  127. package/dist/ProgressBar/index.d.ts +4 -6
  128. package/dist/ProgressBar/index.d.ts.map +1 -0
  129. package/dist/ProgressCircle/index.d.ts +4 -6
  130. package/dist/ProgressCircle/index.d.ts.map +1 -0
  131. package/dist/Quiz/index.d.ts +19 -23
  132. package/dist/Quiz/index.d.ts.map +1 -0
  133. package/dist/Quiz/useQuizStore/index.d.ts +14 -17
  134. package/dist/Quiz/useQuizStore/index.d.ts.map +1 -0
  135. package/dist/Radio/index.d.ts +14 -15
  136. package/dist/Radio/index.d.ts.map +1 -0
  137. package/dist/Search/index.d.ts +4 -6
  138. package/dist/Search/index.d.ts.map +1 -0
  139. package/dist/Select/index.d.ts +12 -14
  140. package/dist/Select/index.d.ts.map +1 -0
  141. package/dist/SelectionButton/index.d.ts +5 -7
  142. package/dist/SelectionButton/index.d.ts.map +1 -0
  143. package/dist/Skeleton/index.d.ts +10 -12
  144. package/dist/Skeleton/index.d.ts.map +1 -0
  145. package/dist/StatisticsCard/index.d.ts +3 -5
  146. package/dist/StatisticsCard/index.d.ts.map +1 -0
  147. package/dist/Stepper/index.d.ts +6 -8
  148. package/dist/Stepper/index.d.ts.map +1 -0
  149. package/dist/SubjectInfo/index.d.ts +17 -2
  150. package/dist/SubjectInfo/index.d.ts.map +1 -0
  151. package/dist/Support/TicketModal/index.d.ts +14 -0
  152. package/dist/Support/TicketModal/index.d.ts.map +1 -0
  153. package/dist/Support/TicketModal/index.js +1279 -0
  154. package/dist/Support/TicketModal/index.js.map +1 -0
  155. package/dist/Support/TicketModal/index.mjs +1248 -0
  156. package/dist/Support/TicketModal/index.mjs.map +1 -0
  157. package/dist/Support/index.d.ts +8 -0
  158. package/dist/Support/index.d.ts.map +1 -0
  159. package/dist/Support/index.js +2686 -0
  160. package/dist/Support/index.js.map +1 -0
  161. package/dist/Support/index.mjs +2676 -0
  162. package/dist/Support/index.mjs.map +1 -0
  163. package/dist/Table/TablePagination/index.d.ts +4 -6
  164. package/dist/Table/TablePagination/index.d.ts.map +1 -0
  165. package/dist/Table/index.d.ts +18 -19
  166. package/dist/Table/index.d.ts.map +1 -0
  167. package/dist/TableProvider/index.css +112 -0
  168. package/dist/TableProvider/index.css.map +1 -1
  169. package/dist/TableProvider/index.d.ts +198 -4
  170. package/dist/TableProvider/index.d.ts.map +1 -0
  171. package/dist/TableProvider/index.js +56 -22
  172. package/dist/TableProvider/index.js.map +1 -1
  173. package/dist/TableProvider/index.mjs +78 -44
  174. package/dist/TableProvider/index.mjs.map +1 -1
  175. package/dist/Text/index.d.ts +4 -6
  176. package/dist/Text/index.d.ts.map +1 -0
  177. package/dist/TextArea/index.d.ts +6 -8
  178. package/dist/TextArea/index.d.ts.map +1 -0
  179. package/dist/ThemeToggle/index.d.ts +4 -8
  180. package/dist/ThemeToggle/index.d.ts.map +1 -0
  181. package/dist/Toast/ToastStore/index.d.ts +3 -5
  182. package/dist/Toast/ToastStore/index.d.ts.map +1 -0
  183. package/dist/Toast/Toaster/index.d.ts +4 -6
  184. package/dist/Toast/Toaster/index.d.ts.map +1 -0
  185. package/dist/Toast/index.d.ts +3 -5
  186. package/dist/Toast/index.d.ts.map +1 -0
  187. package/dist/VideoPlayer/index.d.ts +4 -6
  188. package/dist/VideoPlayer/index.d.ts.map +1 -0
  189. package/dist/Whiteboard/index.d.ts +5 -7
  190. package/dist/Whiteboard/index.d.ts.map +1 -0
  191. package/dist/assets/icons/subjects/BookOpenText.d.ts +5 -0
  192. package/dist/assets/icons/subjects/BookOpenText.d.ts.map +1 -0
  193. package/dist/assets/icons/subjects/ChatEN.d.ts +5 -0
  194. package/dist/assets/icons/subjects/ChatEN.d.ts.map +1 -0
  195. package/dist/assets/icons/subjects/ChatES.d.ts +5 -0
  196. package/dist/assets/icons/subjects/ChatES.d.ts.map +1 -0
  197. package/dist/assets/icons/subjects/ChatPT.d.ts +5 -0
  198. package/dist/assets/icons/subjects/ChatPT.d.ts.map +1 -0
  199. package/dist/assets/icons/subjects/HeadCircuit.d.ts +5 -0
  200. package/dist/assets/icons/subjects/HeadCircuit.d.ts.map +1 -0
  201. package/dist/assets/icons/subjects/Microscope.d.ts +5 -0
  202. package/dist/assets/icons/subjects/Microscope.d.ts.map +1 -0
  203. package/dist/enums/SubjectEnum.d.ts +19 -0
  204. package/dist/enums/SubjectEnum.d.ts.map +1 -0
  205. package/dist/hooks/useAppContent.d.ts +55 -0
  206. package/dist/hooks/useAppContent.d.ts.map +1 -0
  207. package/dist/hooks/useAppInitialization.d.ts +21 -0
  208. package/dist/hooks/useAppInitialization.d.ts.map +1 -0
  209. package/dist/hooks/useInstitution.d.ts +2 -0
  210. package/dist/hooks/useInstitution.d.ts.map +1 -0
  211. package/dist/hooks/useMobile/index.d.ts +4 -5
  212. package/dist/hooks/useMobile/index.d.ts.map +1 -0
  213. package/dist/hooks/useNotificationStore.d.ts +34 -0
  214. package/dist/hooks/useNotificationStore.d.ts.map +1 -0
  215. package/dist/hooks/useNotifications.d.ts +129 -0
  216. package/dist/hooks/useNotifications.d.ts.map +1 -0
  217. package/dist/hooks/useScreen.d.ts +38 -0
  218. package/dist/hooks/useScreen.d.ts.map +1 -0
  219. package/dist/hooks/useTheme/index.d.ts +4 -7
  220. package/dist/hooks/useTheme/index.d.ts.map +1 -0
  221. package/dist/index.css +112 -0
  222. package/dist/index.css.map +1 -1
  223. package/dist/index.d.ts +127 -789
  224. package/dist/index.d.ts.map +1 -0
  225. package/dist/index.js +9031 -7012
  226. package/dist/index.js.map +1 -1
  227. package/dist/index.mjs +9093 -7085
  228. package/dist/index.mjs.map +1 -1
  229. package/dist/store/appStore.d.ts +27 -0
  230. package/dist/store/appStore.d.ts.map +1 -0
  231. package/dist/store/authStore.d.ts +75 -0
  232. package/dist/store/authStore.d.ts.map +1 -0
  233. package/dist/store/notificationStore.d.ts +89 -0
  234. package/dist/store/notificationStore.d.ts.map +1 -0
  235. package/dist/{themeStore-P2X64zC-.d.ts → store/themeStore.d.ts} +8 -12
  236. package/dist/store/themeStore.d.ts.map +1 -0
  237. package/dist/styles.css +112 -0
  238. package/dist/styles.css.map +1 -1
  239. package/dist/suporthistory-W5LBGAUP.png +0 -0
  240. package/dist/types/activityDetails.d.ts +127 -0
  241. package/dist/types/activityDetails.d.ts.map +1 -0
  242. package/dist/types/activityFilters.d.ts +51 -0
  243. package/dist/types/activityFilters.d.ts.map +1 -0
  244. package/dist/types/auth.d.ts +53 -0
  245. package/dist/types/auth.d.ts.map +1 -0
  246. package/dist/types/notifications.d.ts +199 -0
  247. package/dist/types/notifications.d.ts.map +1 -0
  248. package/dist/types/questionTypes.d.ts +6 -0
  249. package/dist/types/questionTypes.d.ts.map +1 -0
  250. package/dist/types/studentActivityCorrection.d.ts +57 -0
  251. package/dist/types/studentActivityCorrection.d.ts.map +1 -0
  252. package/dist/types/support/index.d.ts +111 -0
  253. package/dist/types/support/index.d.ts.map +1 -0
  254. package/dist/types/support/index.js +115 -0
  255. package/dist/types/support/index.js.map +1 -0
  256. package/dist/types/support/index.mjs +84 -0
  257. package/dist/types/support/index.mjs.map +1 -0
  258. package/dist/utils/activityFilters.d.ts +23 -0
  259. package/dist/utils/activityFilters.d.ts.map +1 -0
  260. package/dist/utils/dropdown.d.ts +12 -0
  261. package/dist/utils/dropdown.d.ts.map +1 -0
  262. package/dist/utils/index.d.ts +6 -43
  263. package/dist/utils/index.d.ts.map +1 -0
  264. package/dist/utils/keys.d.ts +24 -0
  265. package/dist/utils/keys.d.ts.map +1 -0
  266. package/package.json +20 -4
  267. package/dist/Accordation/index.d.mts +0 -15
  268. package/dist/ActivityFilters/index.d.mts +0 -5
  269. package/dist/ActivityFilters-Cs3TpGAY.d.ts +0 -97
  270. package/dist/ActivityFilters-CsX8y41f.d.mts +0 -97
  271. package/dist/Alert/index.d.mts +0 -13
  272. package/dist/AlertDialog/index.d.mts +0 -36
  273. package/dist/AlertManager/index.d.mts +0 -17
  274. package/dist/AlertManagerView/index.d.mts +0 -31
  275. package/dist/Alternative/index.d.mts +0 -81
  276. package/dist/Auth/AuthProvider/index.d.mts +0 -3
  277. package/dist/Auth/ProtectedRoute/index.d.mts +0 -3
  278. package/dist/Auth/PublicRoute/index.d.mts +0 -3
  279. package/dist/Auth/getRootDomain/index.d.mts +0 -3
  280. package/dist/Auth/index.d.mts +0 -326
  281. package/dist/Auth/useApiConfig/index.d.mts +0 -43
  282. package/dist/Auth/useAuth/index.d.mts +0 -3
  283. package/dist/Auth/useAuthGuard/index.d.mts +0 -3
  284. package/dist/Auth/useRouteAuth/index.d.mts +0 -3
  285. package/dist/Auth/useUrlAuthentication/index.d.mts +0 -69
  286. package/dist/Auth/withAuth/index.d.mts +0 -3
  287. package/dist/Auth/zustandAuthAdapter/index.d.mts +0 -75
  288. package/dist/Badge/index.d.mts +0 -46
  289. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.mts +0 -77
  290. package/dist/BreadcrumbMenu/index.d.mts +0 -31
  291. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.mts +0 -48
  292. package/dist/BreadcrumbMenu/useUrlParams/index.d.mts +0 -28
  293. package/dist/Button/index.d.mts +0 -45
  294. package/dist/Calendar/index.d.mts +0 -60
  295. package/dist/Card/index.d.mts +0 -150
  296. package/dist/CheckBox/index.d.mts +0 -74
  297. package/dist/CheckBoxGroup-9n5C0OH4.d.mts +0 -24
  298. package/dist/CheckBoxGroup-9n5C0OH4.d.ts +0 -24
  299. package/dist/Chips/index.d.mts +0 -41
  300. package/dist/Divider/index.d.mts +0 -32
  301. package/dist/DownloadButton/index.d.mts +0 -46
  302. package/dist/DropdownMenu/index.d.mts +0 -82
  303. package/dist/EmptyState/index.d.mts +0 -65
  304. package/dist/IconButton/index.d.mts +0 -76
  305. package/dist/IconRender/index.d.mts +0 -36
  306. package/dist/IconRoundedButton/index.d.mts +0 -34
  307. package/dist/Input/index.d.mts +0 -27
  308. package/dist/LatexRenderer/index.d.mts +0 -50
  309. package/dist/LoadingModal/index.d.mts +0 -11
  310. package/dist/Menu/index.d.mts +0 -48
  311. package/dist/Modal/index.d.mts +0 -76
  312. package/dist/Modal/utils/videoUtils/index.d.mts +0 -28
  313. package/dist/MultipleChoice/index.d.mts +0 -20
  314. package/dist/NavButton/index.d.mts +0 -57
  315. package/dist/NoSearchResult/index.d.mts +0 -37
  316. package/dist/NotFound/index.d.mts +0 -58
  317. package/dist/NotificationCard/index.d.mts +0 -3
  318. package/dist/NotificationCard-4GgB0Nsf.d.mts +0 -417
  319. package/dist/NotificationCard-4GgB0Nsf.d.ts +0 -417
  320. package/dist/ProgressBar/index.d.mts +0 -95
  321. package/dist/ProgressCircle/index.d.mts +0 -60
  322. package/dist/Quiz/index.d.mts +0 -55
  323. package/dist/Quiz/useQuizStore/index.d.mts +0 -258
  324. package/dist/Radio/index.d.mts +0 -203
  325. package/dist/Search/index.d.mts +0 -27
  326. package/dist/Select/index.d.mts +0 -59
  327. package/dist/SelectionButton/index.d.mts +0 -57
  328. package/dist/Skeleton/index.d.mts +0 -40
  329. package/dist/StatisticsCard/index.d.mts +0 -79
  330. package/dist/Stepper/index.d.mts +0 -169
  331. package/dist/SubjectInfo/index.d.mts +0 -2
  332. package/dist/SubjectInfo-Dvt0OodP.d.mts +0 -37
  333. package/dist/SubjectInfo-Dvt0OodP.d.ts +0 -37
  334. package/dist/Table/TablePagination/index.d.mts +0 -64
  335. package/dist/Table/index.d.mts +0 -93
  336. package/dist/TableProvider/index.d.mts +0 -4
  337. package/dist/TableProvider-BnAnv3OV.d.mts +0 -239
  338. package/dist/TableProvider-GfPlLqzg.d.ts +0 -239
  339. package/dist/Text/index.d.mts +0 -58
  340. package/dist/TextArea/index.d.mts +0 -74
  341. package/dist/ThemeToggle/index.d.mts +0 -12
  342. package/dist/Toast/ToastStore/index.d.mts +0 -19
  343. package/dist/Toast/Toaster/index.d.mts +0 -16
  344. package/dist/Toast/index.d.mts +0 -17
  345. package/dist/VideoPlayer/index.d.mts +0 -52
  346. package/dist/Whiteboard/index.d.mts +0 -34
  347. package/dist/hooks/useMobile/index.d.mts +0 -29
  348. package/dist/hooks/useTheme/index.d.mts +0 -17
  349. package/dist/index.d.mts +0 -789
  350. package/dist/styles.d.mts +0 -2
  351. package/dist/styles.d.ts +0 -2
  352. package/dist/themeStore-P2X64zC-.d.mts +0 -79
  353. package/dist/types-DqZRjqxh.d.ts +0 -67
  354. package/dist/types-pd3QVhSu.d.mts +0 -67
  355. package/dist/utils/index.d.mts +0 -51
@@ -1,239 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- import { C as CategoryConfig } from './CheckBoxGroup-9n5C0OH4.mjs';
4
-
5
- type FilterConfig = {
6
- key: string;
7
- label: string;
8
- categories: CategoryConfig[];
9
- };
10
- type UseTableFilterOptions = {
11
- syncWithUrl?: boolean;
12
- };
13
- type UseTableFilterReturn = {
14
- filterConfigs: FilterConfig[];
15
- activeFilters: Record<string, string[]>;
16
- hasActiveFilters: boolean;
17
- updateFilters: (configs: FilterConfig[]) => void;
18
- applyFilters: () => void;
19
- clearFilters: () => void;
20
- };
21
- /**
22
- * Hook for managing table filters with URL synchronization
23
- *
24
- * @param initialConfigs - Initial filter configurations
25
- * @param options - Hook options including URL sync
26
- * @returns Filter state and management functions
27
- *
28
- * @example
29
- * ```tsx
30
- * const { filterConfigs, activeFilters, updateFilters, applyFilters } = useTableFilter(
31
- * [
32
- * {
33
- * key: 'academic',
34
- * label: 'Dados Acadêmicos',
35
- * categories: [...]
36
- * }
37
- * ],
38
- * { syncWithUrl: true }
39
- * );
40
- * ```
41
- */
42
- declare const useTableFilter: (initialConfigs: FilterConfig[], options?: UseTableFilterOptions) => UseTableFilterReturn;
43
-
44
- /**
45
- * Column configuration with flexible rendering options
46
- */
47
- interface ColumnConfig<T = Record<string, unknown>> {
48
- /** Column key (must match data object key) */
49
- key: string;
50
- /** Column label - can be string or JSX */
51
- label: string | ReactNode;
52
- /** Enable sorting for this column */
53
- sortable?: boolean;
54
- /** Custom render function for cell content */
55
- render?: (value: unknown, row: T, index: number) => ReactNode;
56
- /** Column width */
57
- width?: string;
58
- /** Additional CSS classes */
59
- className?: string;
60
- /** Text alignment */
61
- align?: 'left' | 'center' | 'right';
62
- }
63
- /**
64
- * Combined parameters sent via onParamsChange
65
- */
66
- interface TableParams {
67
- /** Current page number */
68
- page: number;
69
- /** Items per page */
70
- limit: number;
71
- /** Search query */
72
- search?: string;
73
- /** Active filters (dynamic keys based on filter configs) */
74
- [key: string]: unknown;
75
- /** Sort column */
76
- sortBy?: string;
77
- /** Sort direction */
78
- sortOrder?: 'asc' | 'desc';
79
- }
80
- /**
81
- * Pagination configuration
82
- */
83
- interface PaginationConfig {
84
- /** Label for items (e.g., "atividades") */
85
- itemLabel?: string;
86
- /** Items per page options */
87
- itemsPerPageOptions?: number[];
88
- /** Default items per page */
89
- defaultItemsPerPage?: number;
90
- /** Total items (for displaying pagination info) */
91
- totalItems?: number;
92
- /** Total pages (if known from backend) */
93
- totalPages?: number;
94
- }
95
- /**
96
- * Empty state configuration
97
- */
98
- interface EmptyStateConfig {
99
- /** Custom component to render when table is empty (no data and no search active) */
100
- component?: ReactNode;
101
- /** Image to display in empty state (path from project) */
102
- image?: string;
103
- /** Title text for empty state */
104
- title?: string;
105
- /** Description text for empty state */
106
- description?: string;
107
- /** Button text for empty state action (optional) */
108
- buttonText?: string;
109
- /** Icon to display on button (optional) */
110
- buttonIcon?: ReactNode;
111
- /** Callback when empty state button is clicked */
112
- onButtonClick?: () => void;
113
- /** Button variant (solid, outline, or link) */
114
- buttonVariant?: 'solid' | 'outline' | 'link';
115
- /** Button action color (primary, positive, or negative) */
116
- buttonAction?: 'primary' | 'positive' | 'negative';
117
- }
118
- /**
119
- * Loading state configuration
120
- */
121
- interface LoadingStateConfig {
122
- /** Custom component to render when table is loading */
123
- component?: ReactNode;
124
- }
125
- /**
126
- * No search result state configuration
127
- */
128
- interface NoSearchResultConfig {
129
- /** Custom component to render when search returns no results */
130
- component?: ReactNode;
131
- /** Title for no search result state */
132
- title?: string;
133
- /** Description for no search result state */
134
- description?: string;
135
- /** Image to display in no search result state */
136
- image?: string;
137
- }
138
- /**
139
- * Table components exposed via render prop
140
- */
141
- interface TableComponents {
142
- /** Search and filter controls */
143
- controls: ReactNode;
144
- /** Table with data */
145
- table: ReactNode;
146
- /** Pagination controls */
147
- pagination: ReactNode;
148
- }
149
- /**
150
- * TableProvider Props
151
- */
152
- interface TableProviderProps<T = Record<string, unknown>> {
153
- /** Data to display in the table */
154
- readonly data: T[];
155
- /** Column configurations */
156
- readonly headers: ColumnConfig<T>[];
157
- /** Loading state */
158
- readonly loading?: boolean;
159
- /** Table variant */
160
- readonly variant?: 'default' | 'borderless';
161
- /** Enable search functionality */
162
- readonly enableSearch?: boolean;
163
- /** Enable filters functionality */
164
- readonly enableFilters?: boolean;
165
- /** Enable table sorting */
166
- readonly enableTableSort?: boolean;
167
- /** Enable pagination */
168
- readonly enablePagination?: boolean;
169
- /** Enable row click functionality */
170
- readonly enableRowClick?: boolean;
171
- /** Initial filter configurations */
172
- readonly initialFilters?: FilterConfig[];
173
- /** Pagination configuration */
174
- readonly paginationConfig?: PaginationConfig;
175
- /** Search placeholder text */
176
- readonly searchPlaceholder?: string;
177
- /** Empty state configuration (when table is empty with no search) */
178
- readonly emptyState?: EmptyStateConfig;
179
- /** Loading state configuration (when table is loading) */
180
- readonly loadingState?: LoadingStateConfig;
181
- /** No search result state configuration (when search returns no results) */
182
- readonly noSearchResultState?: NoSearchResultConfig;
183
- /** Key field name to use for unique row identification (recommended for better performance) */
184
- readonly rowKey?: keyof T;
185
- /** Callback when any parameter changes */
186
- readonly onParamsChange?: (params: TableParams) => void;
187
- /** Callback when row is clicked */
188
- readonly onRowClick?: (row: T, index: number) => void;
189
- /**
190
- * Render prop for custom layout control
191
- * When provided, gives full control over component positioning
192
- * @param components - Table components (controls, table, pagination)
193
- * @returns Custom layout JSX
194
- *
195
- * @example
196
- * ```tsx
197
- * <TableProvider {...props}>
198
- * {({ controls, table, pagination }) => (
199
- * <>
200
- * <div className="mb-4">{controls}</div>
201
- * <div className="bg-white p-6">
202
- * {table}
203
- * {pagination}
204
- * </div>
205
- * </>
206
- * )}
207
- * </TableProvider>
208
- * ```
209
- */
210
- readonly children?: (components: TableComponents) => ReactNode;
211
- }
212
- /**
213
- * TableProvider - Self-contained table component with search, filters, sorting, and pagination
214
- *
215
- * @example
216
- * ```tsx
217
- * <TableProvider
218
- * data={activities}
219
- * headers={[
220
- * { key: 'title', label: 'Título', sortable: true },
221
- * { key: 'status', label: 'Status', render: (value) => <Badge>{value}</Badge> }
222
- * ]}
223
- * loading={loading}
224
- * variant="borderless"
225
- * enableSearch
226
- * enableFilters
227
- * enableTableSort
228
- * enablePagination
229
- * enableRowClick
230
- * initialFilters={filterConfigs}
231
- * paginationConfig={{ itemLabel: 'atividades' }}
232
- * onParamsChange={handleParamsChange}
233
- * onRowClick={handleRowClick}
234
- * />
235
- * ```
236
- */
237
- declare function TableProvider<T extends Record<string, unknown>>({ data, headers, loading, variant, enableSearch, enableFilters, enableTableSort, enablePagination, enableRowClick, initialFilters, paginationConfig, searchPlaceholder, emptyState, loadingState, noSearchResultState, rowKey, onParamsChange, onRowClick, children, }: TableProviderProps<T>): react_jsx_runtime.JSX.Element;
238
-
239
- export { type ColumnConfig as C, type EmptyStateConfig as E, type FilterConfig as F, type LoadingStateConfig as L, type NoSearchResultConfig as N, type PaginationConfig as P, TableProvider as T, type UseTableFilterOptions as U, type UseTableFilterReturn as a, type TableParams as b, type TableProviderProps as c, type TableComponents as d, useTableFilter as u };
@@ -1,239 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- import { C as CategoryConfig } from './CheckBoxGroup-9n5C0OH4.js';
4
-
5
- type FilterConfig = {
6
- key: string;
7
- label: string;
8
- categories: CategoryConfig[];
9
- };
10
- type UseTableFilterOptions = {
11
- syncWithUrl?: boolean;
12
- };
13
- type UseTableFilterReturn = {
14
- filterConfigs: FilterConfig[];
15
- activeFilters: Record<string, string[]>;
16
- hasActiveFilters: boolean;
17
- updateFilters: (configs: FilterConfig[]) => void;
18
- applyFilters: () => void;
19
- clearFilters: () => void;
20
- };
21
- /**
22
- * Hook for managing table filters with URL synchronization
23
- *
24
- * @param initialConfigs - Initial filter configurations
25
- * @param options - Hook options including URL sync
26
- * @returns Filter state and management functions
27
- *
28
- * @example
29
- * ```tsx
30
- * const { filterConfigs, activeFilters, updateFilters, applyFilters } = useTableFilter(
31
- * [
32
- * {
33
- * key: 'academic',
34
- * label: 'Dados Acadêmicos',
35
- * categories: [...]
36
- * }
37
- * ],
38
- * { syncWithUrl: true }
39
- * );
40
- * ```
41
- */
42
- declare const useTableFilter: (initialConfigs: FilterConfig[], options?: UseTableFilterOptions) => UseTableFilterReturn;
43
-
44
- /**
45
- * Column configuration with flexible rendering options
46
- */
47
- interface ColumnConfig<T = Record<string, unknown>> {
48
- /** Column key (must match data object key) */
49
- key: string;
50
- /** Column label - can be string or JSX */
51
- label: string | ReactNode;
52
- /** Enable sorting for this column */
53
- sortable?: boolean;
54
- /** Custom render function for cell content */
55
- render?: (value: unknown, row: T, index: number) => ReactNode;
56
- /** Column width */
57
- width?: string;
58
- /** Additional CSS classes */
59
- className?: string;
60
- /** Text alignment */
61
- align?: 'left' | 'center' | 'right';
62
- }
63
- /**
64
- * Combined parameters sent via onParamsChange
65
- */
66
- interface TableParams {
67
- /** Current page number */
68
- page: number;
69
- /** Items per page */
70
- limit: number;
71
- /** Search query */
72
- search?: string;
73
- /** Active filters (dynamic keys based on filter configs) */
74
- [key: string]: unknown;
75
- /** Sort column */
76
- sortBy?: string;
77
- /** Sort direction */
78
- sortOrder?: 'asc' | 'desc';
79
- }
80
- /**
81
- * Pagination configuration
82
- */
83
- interface PaginationConfig {
84
- /** Label for items (e.g., "atividades") */
85
- itemLabel?: string;
86
- /** Items per page options */
87
- itemsPerPageOptions?: number[];
88
- /** Default items per page */
89
- defaultItemsPerPage?: number;
90
- /** Total items (for displaying pagination info) */
91
- totalItems?: number;
92
- /** Total pages (if known from backend) */
93
- totalPages?: number;
94
- }
95
- /**
96
- * Empty state configuration
97
- */
98
- interface EmptyStateConfig {
99
- /** Custom component to render when table is empty (no data and no search active) */
100
- component?: ReactNode;
101
- /** Image to display in empty state (path from project) */
102
- image?: string;
103
- /** Title text for empty state */
104
- title?: string;
105
- /** Description text for empty state */
106
- description?: string;
107
- /** Button text for empty state action (optional) */
108
- buttonText?: string;
109
- /** Icon to display on button (optional) */
110
- buttonIcon?: ReactNode;
111
- /** Callback when empty state button is clicked */
112
- onButtonClick?: () => void;
113
- /** Button variant (solid, outline, or link) */
114
- buttonVariant?: 'solid' | 'outline' | 'link';
115
- /** Button action color (primary, positive, or negative) */
116
- buttonAction?: 'primary' | 'positive' | 'negative';
117
- }
118
- /**
119
- * Loading state configuration
120
- */
121
- interface LoadingStateConfig {
122
- /** Custom component to render when table is loading */
123
- component?: ReactNode;
124
- }
125
- /**
126
- * No search result state configuration
127
- */
128
- interface NoSearchResultConfig {
129
- /** Custom component to render when search returns no results */
130
- component?: ReactNode;
131
- /** Title for no search result state */
132
- title?: string;
133
- /** Description for no search result state */
134
- description?: string;
135
- /** Image to display in no search result state */
136
- image?: string;
137
- }
138
- /**
139
- * Table components exposed via render prop
140
- */
141
- interface TableComponents {
142
- /** Search and filter controls */
143
- controls: ReactNode;
144
- /** Table with data */
145
- table: ReactNode;
146
- /** Pagination controls */
147
- pagination: ReactNode;
148
- }
149
- /**
150
- * TableProvider Props
151
- */
152
- interface TableProviderProps<T = Record<string, unknown>> {
153
- /** Data to display in the table */
154
- readonly data: T[];
155
- /** Column configurations */
156
- readonly headers: ColumnConfig<T>[];
157
- /** Loading state */
158
- readonly loading?: boolean;
159
- /** Table variant */
160
- readonly variant?: 'default' | 'borderless';
161
- /** Enable search functionality */
162
- readonly enableSearch?: boolean;
163
- /** Enable filters functionality */
164
- readonly enableFilters?: boolean;
165
- /** Enable table sorting */
166
- readonly enableTableSort?: boolean;
167
- /** Enable pagination */
168
- readonly enablePagination?: boolean;
169
- /** Enable row click functionality */
170
- readonly enableRowClick?: boolean;
171
- /** Initial filter configurations */
172
- readonly initialFilters?: FilterConfig[];
173
- /** Pagination configuration */
174
- readonly paginationConfig?: PaginationConfig;
175
- /** Search placeholder text */
176
- readonly searchPlaceholder?: string;
177
- /** Empty state configuration (when table is empty with no search) */
178
- readonly emptyState?: EmptyStateConfig;
179
- /** Loading state configuration (when table is loading) */
180
- readonly loadingState?: LoadingStateConfig;
181
- /** No search result state configuration (when search returns no results) */
182
- readonly noSearchResultState?: NoSearchResultConfig;
183
- /** Key field name to use for unique row identification (recommended for better performance) */
184
- readonly rowKey?: keyof T;
185
- /** Callback when any parameter changes */
186
- readonly onParamsChange?: (params: TableParams) => void;
187
- /** Callback when row is clicked */
188
- readonly onRowClick?: (row: T, index: number) => void;
189
- /**
190
- * Render prop for custom layout control
191
- * When provided, gives full control over component positioning
192
- * @param components - Table components (controls, table, pagination)
193
- * @returns Custom layout JSX
194
- *
195
- * @example
196
- * ```tsx
197
- * <TableProvider {...props}>
198
- * {({ controls, table, pagination }) => (
199
- * <>
200
- * <div className="mb-4">{controls}</div>
201
- * <div className="bg-white p-6">
202
- * {table}
203
- * {pagination}
204
- * </div>
205
- * </>
206
- * )}
207
- * </TableProvider>
208
- * ```
209
- */
210
- readonly children?: (components: TableComponents) => ReactNode;
211
- }
212
- /**
213
- * TableProvider - Self-contained table component with search, filters, sorting, and pagination
214
- *
215
- * @example
216
- * ```tsx
217
- * <TableProvider
218
- * data={activities}
219
- * headers={[
220
- * { key: 'title', label: 'Título', sortable: true },
221
- * { key: 'status', label: 'Status', render: (value) => <Badge>{value}</Badge> }
222
- * ]}
223
- * loading={loading}
224
- * variant="borderless"
225
- * enableSearch
226
- * enableFilters
227
- * enableTableSort
228
- * enablePagination
229
- * enableRowClick
230
- * initialFilters={filterConfigs}
231
- * paginationConfig={{ itemLabel: 'atividades' }}
232
- * onParamsChange={handleParamsChange}
233
- * onRowClick={handleRowClick}
234
- * />
235
- * ```
236
- */
237
- declare function TableProvider<T extends Record<string, unknown>>({ data, headers, loading, variant, enableSearch, enableFilters, enableTableSort, enablePagination, enableRowClick, initialFilters, paginationConfig, searchPlaceholder, emptyState, loadingState, noSearchResultState, rowKey, onParamsChange, onRowClick, children, }: TableProviderProps<T>): react_jsx_runtime.JSX.Element;
238
-
239
- export { type ColumnConfig as C, type EmptyStateConfig as E, type FilterConfig as F, type LoadingStateConfig as L, type NoSearchResultConfig as N, type PaginationConfig as P, TableProvider as T, type UseTableFilterOptions as U, type UseTableFilterReturn as a, type TableParams as b, type TableProviderProps as c, type TableComponents as d, useTableFilter as u };
@@ -1,58 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ElementType, ReactNode, ComponentPropsWithoutRef } from 'react';
3
-
4
- /**
5
- * Base text component props
6
- */
7
- type BaseTextProps = {
8
- /** Content to be displayed */
9
- children?: ReactNode;
10
- /** Text size variant */
11
- size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
12
- /** Font weight variant */
13
- weight?: 'hairline' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
14
- /** Color variant - white for light backgrounds, black for dark backgrounds */
15
- color?: string;
16
- /** Additional CSS classes to apply */
17
- className?: string;
18
- };
19
- /**
20
- * Polymorphic text component props that ensures type safety based on the 'as' prop
21
- */
22
- type TextProps<T extends ElementType = 'p'> = BaseTextProps & {
23
- /** HTML tag to render */
24
- as?: T;
25
- } & Omit<ComponentPropsWithoutRef<T>, keyof BaseTextProps>;
26
- /**
27
- * Text component for Analytica Ensino platforms
28
- *
29
- * A flexible polymorphic text component with multiple sizes, weights, and colors.
30
- * Automatically adapts to dark and light themes with full type safety.
31
- *
32
- * @param children - The content to display
33
- * @param size - The text size variant (2xs, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl)
34
- * @param weight - The font weight variant (hairline, light, normal, medium, semibold, bold, extrabold, black)
35
- * @param color - The color variant - adapts to theme
36
- * @param as - The HTML tag to render - determines allowed attributes via TypeScript
37
- * @param className - Additional CSS classes
38
- * @param props - HTML attributes valid for the chosen tag only
39
- * @returns A styled text element with type-safe attributes
40
- *
41
- * @example
42
- * ```tsx
43
- * <Text size="lg" weight="bold" color="text-info-800">
44
- * This is a large, bold text
45
- * </Text>
46
- *
47
- * <Text as="a" href="/link" target="_blank">
48
- * Link with type-safe anchor attributes
49
- * </Text>
50
- *
51
- * <Text as="button" onClick={handleClick} disabled>
52
- * Button with type-safe button attributes
53
- * </Text>
54
- * ```
55
- */
56
- declare const Text: <T extends ElementType = "p">({ children, size, weight, color, as, className, ...props }: TextProps<T>) => react_jsx_runtime.JSX.Element;
57
-
58
- export { Text as default };
@@ -1,74 +0,0 @@
1
- import * as react from 'react';
2
- import { ReactNode, TextareaHTMLAttributes } from 'react';
3
-
4
- /**
5
- * TextArea size variants
6
- */
7
- type TextAreaSize = 'small' | 'medium' | 'large' | 'extraLarge';
8
- /**
9
- * TextArea visual state
10
- */
11
- type TextAreaState = 'default' | 'hovered' | 'focused' | 'invalid' | 'disabled';
12
- /**
13
- * TextArea component props interface
14
- */
15
- type TextAreaProps = {
16
- /** Label text to display above the textarea */
17
- label?: ReactNode;
18
- /** Size variant of the textarea */
19
- size?: TextAreaSize;
20
- /** Visual state of the textarea */
21
- state?: TextAreaState;
22
- /** Error message to display */
23
- errorMessage?: string;
24
- /** Helper text to display */
25
- helperMessage?: string;
26
- /** Additional CSS classes */
27
- className?: string;
28
- /** Label CSS classes */
29
- labelClassName?: string;
30
- /** Show character count when maxLength is provided */
31
- showCharacterCount?: boolean;
32
- } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>;
33
- /**
34
- * TextArea component for Analytica Ensino platforms
35
- *
36
- * A textarea component with essential states, sizes and themes.
37
- * Uses exact design specifications with 288px width, 96px height, and specific
38
- * color values. Includes Text component integration for consistent typography.
39
- *
40
- * @example
41
- * ```tsx
42
- * // Basic textarea
43
- * <TextArea label="Description" placeholder="Enter description..." />
44
- *
45
- * // Small size
46
- * <TextArea size="small" label="Comment" />
47
- *
48
- * // Invalid state
49
- * <TextArea state="invalid" label="Required field" errorMessage="This field is required" />
50
- *
51
- * // Disabled state
52
- * <TextArea disabled label="Read-only field" />
53
- * ```
54
- */
55
- declare const TextArea: react.ForwardRefExoticComponent<{
56
- /** Label text to display above the textarea */
57
- label?: ReactNode;
58
- /** Size variant of the textarea */
59
- size?: TextAreaSize;
60
- /** Visual state of the textarea */
61
- state?: TextAreaState;
62
- /** Error message to display */
63
- errorMessage?: string;
64
- /** Helper text to display */
65
- helperMessage?: string;
66
- /** Additional CSS classes */
67
- className?: string;
68
- /** Label CSS classes */
69
- labelClassName?: string;
70
- /** Show character count when maxLength is provided */
71
- showCharacterCount?: boolean;
72
- } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & react.RefAttributes<HTMLTextAreaElement>>;
73
-
74
- export { type TextAreaProps, TextArea as default };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { T as ThemeMode } from '../themeStore-P2X64zC-.mjs';
3
- import 'zustand/middleware';
4
- import 'zustand';
5
-
6
- interface ThemeToggleProps {
7
- variant?: 'default' | 'with-save';
8
- onToggle?: (theme: ThemeMode) => void;
9
- }
10
- declare const ThemeToggle: ({ variant, onToggle, }: ThemeToggleProps) => react_jsx_runtime.JSX.Element;
11
-
12
- export { ThemeToggle };
@@ -1,19 +0,0 @@
1
- import * as zustand from 'zustand';
2
-
3
- type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'default';
4
- type ToastData = {
5
- id: string;
6
- title: string;
7
- description?: string;
8
- variant?: 'solid' | 'outlined';
9
- action?: 'warning' | 'success' | 'info';
10
- position?: ToastPosition;
11
- };
12
- type ToastStore = {
13
- toasts: ToastData[];
14
- addToast: (toast: Omit<ToastData, 'id'>) => void;
15
- removeToast: (id: string) => void;
16
- };
17
- declare const useToastStore: zustand.UseBoundStore<zustand.StoreApi<ToastStore>>;
18
-
19
- export { useToastStore as default };
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare const Toaster: () => react_jsx_runtime.JSX.Element;
4
- declare const useToast: () => {
5
- addToast: (toast: Omit<{
6
- id: string;
7
- title: string;
8
- description?: string;
9
- variant?: "solid" | "outlined";
10
- action?: "warning" | "success" | "info";
11
- position?: "default" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
12
- }, "id">) => void;
13
- removeToast: (id: string) => void;
14
- };
15
-
16
- export { Toaster as default, useToast };
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLAttributes } from 'react';
3
-
4
- type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'default';
5
- type ToastProps = {
6
- title: string;
7
- description?: string;
8
- onClose: () => void;
9
- /** Visual variant of the badge */
10
- variant?: 'solid' | 'outlined';
11
- /** Action type of the badge */
12
- action?: 'warning' | 'success' | 'info';
13
- position?: ToastPosition;
14
- } & HTMLAttributes<HTMLDivElement>;
15
- declare const Toast: ({ variant, action, className, onClose, title, description, position, ...props }: ToastProps) => react_jsx_runtime.JSX.Element;
16
-
17
- export { Toast as default };