analytica-frontend-lib 1.2.24 → 1.2.28

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 (446) hide show
  1. package/dist/Accordation/index.d.ts +4 -5
  2. package/dist/Accordation/index.d.ts.map +1 -0
  3. package/dist/Accordation/index.js.map +1 -1
  4. package/dist/Accordation/index.mjs.map +1 -1
  5. package/dist/ActivityDetails/index.css +19293 -0
  6. package/dist/ActivityDetails/index.css.map +1 -0
  7. package/dist/ActivityDetails/index.d.ts +31 -0
  8. package/dist/ActivityDetails/index.d.ts.map +1 -0
  9. package/dist/ActivityDetails/index.js +7359 -0
  10. package/dist/ActivityDetails/index.js.map +1 -0
  11. package/dist/ActivityDetails/index.mjs +7408 -0
  12. package/dist/ActivityDetails/index.mjs.map +1 -0
  13. package/dist/ActivityFilters/index.css +19293 -0
  14. package/dist/ActivityFilters/index.css.map +1 -0
  15. package/dist/ActivityFilters/index.d.ts +44 -0
  16. package/dist/ActivityFilters/index.d.ts.map +1 -0
  17. package/dist/ActivityFilters/index.js +4906 -0
  18. package/dist/ActivityFilters/index.js.map +1 -0
  19. package/dist/ActivityFilters/index.mjs +4921 -0
  20. package/dist/ActivityFilters/index.mjs.map +1 -0
  21. package/dist/Alert/index.d.ts +3 -5
  22. package/dist/Alert/index.d.ts.map +1 -0
  23. package/dist/Alert/index.js.map +1 -1
  24. package/dist/Alert/index.mjs.map +1 -1
  25. package/dist/AlertDialog/index.d.ts +2 -4
  26. package/dist/AlertDialog/index.d.ts.map +1 -0
  27. package/dist/AlertDialog/index.js.map +1 -1
  28. package/dist/AlertDialog/index.mjs.map +1 -1
  29. package/dist/AlertManager/index.css +127 -0
  30. package/dist/AlertManager/index.css.map +1 -1
  31. package/dist/AlertManager/index.d.ts +4 -8
  32. package/dist/AlertManager/index.d.ts.map +1 -0
  33. package/dist/AlertManager/index.js +23 -19
  34. package/dist/AlertManager/index.js.map +1 -1
  35. package/dist/AlertManager/index.mjs +45 -41
  36. package/dist/AlertManager/index.mjs.map +1 -1
  37. package/dist/AlertManagerView/index.d.ts +6 -10
  38. package/dist/AlertManagerView/index.d.ts.map +1 -0
  39. package/dist/AlertManagerView/index.js.map +1 -1
  40. package/dist/AlertManagerView/index.mjs.map +1 -1
  41. package/dist/Alternative/index.d.ts +6 -9
  42. package/dist/Alternative/index.d.ts.map +1 -0
  43. package/dist/Alternative/index.js.map +1 -1
  44. package/dist/Alternative/index.mjs.map +1 -1
  45. package/dist/Auth/AuthProvider/index.d.ts +324 -3
  46. package/dist/Auth/AuthProvider/index.d.ts.map +1 -0
  47. package/dist/Auth/ProtectedRoute/index.d.ts +324 -3
  48. package/dist/Auth/ProtectedRoute/index.d.ts.map +1 -0
  49. package/dist/Auth/PublicRoute/index.d.ts +324 -3
  50. package/dist/Auth/PublicRoute/index.d.ts.map +1 -0
  51. package/dist/Auth/getRootDomain/index.d.ts +324 -3
  52. package/dist/Auth/getRootDomain/index.d.ts.map +1 -0
  53. package/dist/Auth/index.d.ts +24 -26
  54. package/dist/Auth/index.d.ts.map +1 -0
  55. package/dist/Auth/useApiConfig/index.d.ts +3 -3
  56. package/dist/Auth/useApiConfig/index.d.ts.map +1 -0
  57. package/dist/Auth/useAuth/index.d.ts +324 -3
  58. package/dist/Auth/useAuth/index.d.ts.map +1 -0
  59. package/dist/Auth/useAuthGuard/index.d.ts +324 -3
  60. package/dist/Auth/useAuthGuard/index.d.ts.map +1 -0
  61. package/dist/Auth/useRouteAuth/index.d.ts +324 -3
  62. package/dist/Auth/useRouteAuth/index.d.ts.map +1 -0
  63. package/dist/Auth/useUrlAuthentication/index.d.ts +3 -4
  64. package/dist/Auth/useUrlAuthentication/index.d.ts.map +1 -0
  65. package/dist/Auth/withAuth/index.d.ts +324 -3
  66. package/dist/Auth/withAuth/index.d.ts.map +1 -0
  67. package/dist/Auth/zustandAuthAdapter/index.d.ts +2 -3
  68. package/dist/Auth/zustandAuthAdapter/index.d.ts.map +1 -0
  69. package/dist/Badge/index.d.ts +4 -6
  70. package/dist/Badge/index.d.ts.map +1 -0
  71. package/dist/Badge/index.js.map +1 -1
  72. package/dist/Badge/index.mjs.map +1 -1
  73. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts +5 -7
  74. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts.map +1 -0
  75. package/dist/BreadcrumbMenu/index.d.ts +4 -8
  76. package/dist/BreadcrumbMenu/index.d.ts.map +1 -0
  77. package/dist/BreadcrumbMenu/index.js.map +1 -1
  78. package/dist/BreadcrumbMenu/index.mjs.map +1 -1
  79. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts +7 -10
  80. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts.map +1 -0
  81. package/dist/BreadcrumbMenu/useUrlParams/index.d.ts +3 -4
  82. package/dist/BreadcrumbMenu/useUrlParams/index.d.ts.map +1 -0
  83. package/dist/Button/index.d.ts +4 -6
  84. package/dist/Button/index.d.ts.map +1 -0
  85. package/dist/Button/index.js.map +1 -1
  86. package/dist/Button/index.mjs.map +1 -1
  87. package/dist/Calendar/index.d.ts +9 -11
  88. package/dist/Calendar/index.d.ts.map +1 -0
  89. package/dist/Calendar/index.js.map +1 -1
  90. package/dist/Calendar/index.mjs.map +1 -1
  91. package/dist/Card/index.d.ts +17 -19
  92. package/dist/Card/index.d.ts.map +1 -0
  93. package/dist/Card/index.js.map +1 -1
  94. package/dist/Card/index.mjs.map +1 -1
  95. package/dist/CheckBox/index.d.ts +6 -8
  96. package/dist/CheckBox/index.d.ts.map +1 -0
  97. package/dist/CheckBox/index.js.map +1 -1
  98. package/dist/CheckBox/index.mjs.map +1 -1
  99. package/dist/Chips/index.d.ts +4 -6
  100. package/dist/Chips/index.d.ts.map +1 -0
  101. package/dist/Chips/index.js.map +1 -1
  102. package/dist/Chips/index.mjs.map +1 -1
  103. package/dist/CorrectActivityModal/index.d.ts +39 -0
  104. package/dist/CorrectActivityModal/index.d.ts.map +1 -0
  105. package/dist/CorrectActivityModal/index.js +3674 -0
  106. package/dist/CorrectActivityModal/index.js.map +1 -0
  107. package/dist/CorrectActivityModal/index.mjs +3689 -0
  108. package/dist/CorrectActivityModal/index.mjs.map +1 -0
  109. package/dist/Divider/index.d.ts +3 -5
  110. package/dist/Divider/index.d.ts.map +1 -0
  111. package/dist/Divider/index.js.map +1 -1
  112. package/dist/Divider/index.mjs.map +1 -1
  113. package/dist/DownloadButton/index.d.ts +5 -7
  114. package/dist/DownloadButton/index.d.ts.map +1 -0
  115. package/dist/DownloadButton/index.js.map +1 -1
  116. package/dist/DownloadButton/index.mjs.map +1 -1
  117. package/dist/DropdownMenu/index.d.ts +26 -28
  118. package/dist/DropdownMenu/index.d.ts.map +1 -0
  119. package/dist/DropdownMenu/index.js.map +1 -1
  120. package/dist/DropdownMenu/index.mjs.map +1 -1
  121. package/dist/EmptyState/index.d.ts +5 -7
  122. package/dist/EmptyState/index.d.ts.map +1 -0
  123. package/dist/EmptyState/index.js.map +1 -1
  124. package/dist/EmptyState/index.mjs.map +1 -1
  125. package/dist/FileAttachment/index.d.ts +72 -0
  126. package/dist/FileAttachment/index.d.ts.map +1 -0
  127. package/dist/FileAttachment/index.js +239 -0
  128. package/dist/FileAttachment/index.js.map +1 -0
  129. package/dist/FileAttachment/index.mjs +213 -0
  130. package/dist/FileAttachment/index.mjs.map +1 -0
  131. package/dist/IconButton/index.d.ts +6 -8
  132. package/dist/IconButton/index.d.ts.map +1 -0
  133. package/dist/IconButton/index.js.map +1 -1
  134. package/dist/IconButton/index.mjs.map +1 -1
  135. package/dist/IconRender/index.d.ts +5 -6
  136. package/dist/IconRender/index.d.ts.map +1 -0
  137. package/dist/IconRoundedButton/index.d.ts +4 -6
  138. package/dist/IconRoundedButton/index.d.ts.map +1 -0
  139. package/dist/IconRoundedButton/index.js.map +1 -1
  140. package/dist/IconRoundedButton/index.mjs.map +1 -1
  141. package/dist/Input/index.d.ts +5 -7
  142. package/dist/Input/index.d.ts.map +1 -0
  143. package/dist/LatexRenderer/index.d.ts +5 -6
  144. package/dist/LatexRenderer/index.d.ts.map +1 -0
  145. package/dist/LatexRenderer/index.js.map +1 -1
  146. package/dist/LatexRenderer/index.mjs.map +1 -1
  147. package/dist/LoadingModal/index.d.ts +3 -5
  148. package/dist/LoadingModal/index.d.ts.map +1 -0
  149. package/dist/Menu/index.d.ts +12 -14
  150. package/dist/Menu/index.d.ts.map +1 -0
  151. package/dist/Menu/index.js.map +1 -1
  152. package/dist/Menu/index.mjs.map +1 -1
  153. package/dist/Modal/index.d.ts +3 -5
  154. package/dist/Modal/index.d.ts.map +1 -0
  155. package/dist/Modal/index.js.map +1 -1
  156. package/dist/Modal/index.mjs.map +1 -1
  157. package/dist/Modal/utils/videoUtils/index.d.ts +4 -5
  158. package/dist/Modal/utils/videoUtils/index.d.ts.map +1 -0
  159. package/dist/MultipleChoice/index.d.ts +2 -4
  160. package/dist/MultipleChoice/index.d.ts.map +1 -0
  161. package/dist/MultipleChoice/index.js.map +1 -1
  162. package/dist/MultipleChoice/index.mjs.map +1 -1
  163. package/dist/NavButton/index.d.ts +5 -7
  164. package/dist/NavButton/index.d.ts.map +1 -0
  165. package/dist/NavButton/index.js.map +1 -1
  166. package/dist/NavButton/index.mjs.map +1 -1
  167. package/dist/NoSearchResult/index.d.ts +4 -6
  168. package/dist/NoSearchResult/index.d.ts.map +1 -0
  169. package/dist/NoSearchResult/index.js.map +1 -1
  170. package/dist/NoSearchResult/index.mjs.map +1 -1
  171. package/dist/NotFound/index.d.ts +4 -6
  172. package/dist/NotFound/index.d.ts.map +1 -0
  173. package/dist/NotFound/index.js.map +1 -1
  174. package/dist/NotFound/index.mjs.map +1 -1
  175. package/dist/NotificationCard/index.d.ts +218 -3
  176. package/dist/NotificationCard/index.d.ts.map +1 -0
  177. package/dist/NotificationCard/index.js.map +1 -1
  178. package/dist/NotificationCard/index.mjs.map +1 -1
  179. package/dist/ProgressBar/index.d.ts +4 -6
  180. package/dist/ProgressBar/index.d.ts.map +1 -0
  181. package/dist/ProgressBar/index.js.map +1 -1
  182. package/dist/ProgressBar/index.mjs.map +1 -1
  183. package/dist/ProgressCircle/index.d.ts +4 -6
  184. package/dist/ProgressCircle/index.d.ts.map +1 -0
  185. package/dist/ProgressCircle/index.js.map +1 -1
  186. package/dist/ProgressCircle/index.mjs.map +1 -1
  187. package/dist/Quiz/index.d.ts +19 -23
  188. package/dist/Quiz/index.d.ts.map +1 -0
  189. package/dist/Quiz/index.js.map +1 -1
  190. package/dist/Quiz/index.mjs.map +1 -1
  191. package/dist/Quiz/useQuizStore/index.d.ts +14 -17
  192. package/dist/Quiz/useQuizStore/index.d.ts.map +1 -0
  193. package/dist/Radio/index.d.ts +14 -15
  194. package/dist/Radio/index.d.ts.map +1 -0
  195. package/dist/Radio/index.js.map +1 -1
  196. package/dist/Radio/index.mjs.map +1 -1
  197. package/dist/Search/index.d.ts +4 -6
  198. package/dist/Search/index.d.ts.map +1 -0
  199. package/dist/Search/index.js.map +1 -1
  200. package/dist/Search/index.mjs.map +1 -1
  201. package/dist/Select/index.d.ts +12 -14
  202. package/dist/Select/index.d.ts.map +1 -0
  203. package/dist/Select/index.js.map +1 -1
  204. package/dist/Select/index.mjs.map +1 -1
  205. package/dist/SelectionButton/index.d.ts +5 -7
  206. package/dist/SelectionButton/index.d.ts.map +1 -0
  207. package/dist/SelectionButton/index.js.map +1 -1
  208. package/dist/SelectionButton/index.mjs.map +1 -1
  209. package/dist/Skeleton/index.d.ts +10 -12
  210. package/dist/Skeleton/index.d.ts.map +1 -0
  211. package/dist/Skeleton/index.js.map +1 -1
  212. package/dist/Skeleton/index.mjs.map +1 -1
  213. package/dist/StatisticsCard/index.d.ts +3 -5
  214. package/dist/StatisticsCard/index.d.ts.map +1 -0
  215. package/dist/StatisticsCard/index.js.map +1 -1
  216. package/dist/StatisticsCard/index.mjs.map +1 -1
  217. package/dist/Stepper/index.d.ts +6 -8
  218. package/dist/Stepper/index.d.ts.map +1 -0
  219. package/dist/Stepper/index.js.map +1 -1
  220. package/dist/Stepper/index.mjs.map +1 -1
  221. package/dist/SubjectInfo/index.d.ts +17 -2
  222. package/dist/SubjectInfo/index.d.ts.map +1 -0
  223. package/dist/Support/TicketModal/index.d.ts +14 -0
  224. package/dist/Support/TicketModal/index.d.ts.map +1 -0
  225. package/dist/Support/TicketModal/index.js +1279 -0
  226. package/dist/Support/TicketModal/index.js.map +1 -0
  227. package/dist/Support/TicketModal/index.mjs +1248 -0
  228. package/dist/Support/TicketModal/index.mjs.map +1 -0
  229. package/dist/Support/index.d.ts +8 -0
  230. package/dist/Support/index.d.ts.map +1 -0
  231. package/dist/Support/index.js +2686 -0
  232. package/dist/Support/index.js.map +1 -0
  233. package/dist/Support/index.mjs +2676 -0
  234. package/dist/Support/index.mjs.map +1 -0
  235. package/dist/Table/TablePagination/index.d.ts +4 -6
  236. package/dist/Table/TablePagination/index.d.ts.map +1 -0
  237. package/dist/Table/TablePagination/index.js.map +1 -1
  238. package/dist/Table/TablePagination/index.mjs.map +1 -1
  239. package/dist/Table/index.d.ts +18 -19
  240. package/dist/Table/index.d.ts.map +1 -0
  241. package/dist/Table/index.js.map +1 -1
  242. package/dist/Table/index.mjs.map +1 -1
  243. package/dist/TableProvider/index.css +127 -0
  244. package/dist/TableProvider/index.css.map +1 -1
  245. package/dist/TableProvider/index.d.ts +198 -4
  246. package/dist/TableProvider/index.d.ts.map +1 -0
  247. package/dist/TableProvider/index.js +23 -19
  248. package/dist/TableProvider/index.js.map +1 -1
  249. package/dist/TableProvider/index.mjs +45 -41
  250. package/dist/TableProvider/index.mjs.map +1 -1
  251. package/dist/Text/index.d.ts +4 -6
  252. package/dist/Text/index.d.ts.map +1 -0
  253. package/dist/Text/index.js.map +1 -1
  254. package/dist/Text/index.mjs.map +1 -1
  255. package/dist/TextArea/index.d.ts +6 -8
  256. package/dist/TextArea/index.d.ts.map +1 -0
  257. package/dist/TextArea/index.js.map +1 -1
  258. package/dist/TextArea/index.mjs.map +1 -1
  259. package/dist/ThemeToggle/index.d.ts +4 -8
  260. package/dist/ThemeToggle/index.d.ts.map +1 -0
  261. package/dist/ThemeToggle/index.js.map +1 -1
  262. package/dist/ThemeToggle/index.mjs.map +1 -1
  263. package/dist/Toast/ToastStore/index.d.ts +3 -5
  264. package/dist/Toast/ToastStore/index.d.ts.map +1 -0
  265. package/dist/Toast/Toaster/index.d.ts +4 -6
  266. package/dist/Toast/Toaster/index.d.ts.map +1 -0
  267. package/dist/Toast/Toaster/index.js.map +1 -1
  268. package/dist/Toast/Toaster/index.mjs.map +1 -1
  269. package/dist/Toast/index.d.ts +3 -5
  270. package/dist/Toast/index.d.ts.map +1 -0
  271. package/dist/Toast/index.js.map +1 -1
  272. package/dist/Toast/index.mjs.map +1 -1
  273. package/dist/VideoPlayer/index.d.ts +4 -6
  274. package/dist/VideoPlayer/index.d.ts.map +1 -0
  275. package/dist/VideoPlayer/index.js.map +1 -1
  276. package/dist/VideoPlayer/index.mjs.map +1 -1
  277. package/dist/Whiteboard/index.d.ts +5 -7
  278. package/dist/Whiteboard/index.d.ts.map +1 -0
  279. package/dist/Whiteboard/index.js.map +1 -1
  280. package/dist/Whiteboard/index.mjs.map +1 -1
  281. package/dist/assets/icons/subjects/BookOpenText.d.ts +5 -0
  282. package/dist/assets/icons/subjects/BookOpenText.d.ts.map +1 -0
  283. package/dist/assets/icons/subjects/ChatEN.d.ts +5 -0
  284. package/dist/assets/icons/subjects/ChatEN.d.ts.map +1 -0
  285. package/dist/assets/icons/subjects/ChatES.d.ts +5 -0
  286. package/dist/assets/icons/subjects/ChatES.d.ts.map +1 -0
  287. package/dist/assets/icons/subjects/ChatPT.d.ts +5 -0
  288. package/dist/assets/icons/subjects/ChatPT.d.ts.map +1 -0
  289. package/dist/assets/icons/subjects/HeadCircuit.d.ts +5 -0
  290. package/dist/assets/icons/subjects/HeadCircuit.d.ts.map +1 -0
  291. package/dist/assets/icons/subjects/Microscope.d.ts +5 -0
  292. package/dist/assets/icons/subjects/Microscope.d.ts.map +1 -0
  293. package/dist/enums/SubjectEnum.d.ts +19 -0
  294. package/dist/enums/SubjectEnum.d.ts.map +1 -0
  295. package/dist/hooks/useAppContent.d.ts +55 -0
  296. package/dist/hooks/useAppContent.d.ts.map +1 -0
  297. package/dist/hooks/useAppInitialization.d.ts +21 -0
  298. package/dist/hooks/useAppInitialization.d.ts.map +1 -0
  299. package/dist/hooks/useInstitution.d.ts +2 -0
  300. package/dist/hooks/useInstitution.d.ts.map +1 -0
  301. package/dist/hooks/useMobile/index.d.ts +4 -5
  302. package/dist/hooks/useMobile/index.d.ts.map +1 -0
  303. package/dist/hooks/useNotificationStore.d.ts +34 -0
  304. package/dist/hooks/useNotificationStore.d.ts.map +1 -0
  305. package/dist/hooks/useNotifications.d.ts +129 -0
  306. package/dist/hooks/useNotifications.d.ts.map +1 -0
  307. package/dist/hooks/useScreen.d.ts +38 -0
  308. package/dist/hooks/useScreen.d.ts.map +1 -0
  309. package/dist/hooks/useTheme/index.d.ts +4 -7
  310. package/dist/hooks/useTheme/index.d.ts.map +1 -0
  311. package/dist/index.css +127 -0
  312. package/dist/index.css.map +1 -1
  313. package/dist/index.d.ts +127 -783
  314. package/dist/index.d.ts.map +1 -0
  315. package/dist/index.js +9257 -6883
  316. package/dist/index.js.map +1 -1
  317. package/dist/index.mjs +9330 -6973
  318. package/dist/index.mjs.map +1 -1
  319. package/dist/store/appStore.d.ts +27 -0
  320. package/dist/store/appStore.d.ts.map +1 -0
  321. package/dist/store/authStore.d.ts +75 -0
  322. package/dist/store/authStore.d.ts.map +1 -0
  323. package/dist/store/notificationStore.d.ts +89 -0
  324. package/dist/store/notificationStore.d.ts.map +1 -0
  325. package/dist/{themeStore-P2X64zC-.d.mts → store/themeStore.d.ts} +8 -12
  326. package/dist/store/themeStore.d.ts.map +1 -0
  327. package/dist/styles.css +127 -0
  328. package/dist/styles.css.map +1 -1
  329. package/dist/suporthistory-W5LBGAUP.png +0 -0
  330. package/dist/types/activityDetails.d.ts +127 -0
  331. package/dist/types/activityDetails.d.ts.map +1 -0
  332. package/dist/types/activityFilters.d.ts +51 -0
  333. package/dist/types/activityFilters.d.ts.map +1 -0
  334. package/dist/types/auth.d.ts +53 -0
  335. package/dist/types/auth.d.ts.map +1 -0
  336. package/dist/types/notifications.d.ts +199 -0
  337. package/dist/types/notifications.d.ts.map +1 -0
  338. package/dist/types/questionTypes.d.ts +6 -0
  339. package/dist/types/questionTypes.d.ts.map +1 -0
  340. package/dist/types/studentActivityCorrection.d.ts +57 -0
  341. package/dist/types/studentActivityCorrection.d.ts.map +1 -0
  342. package/dist/types/support/index.d.ts +111 -0
  343. package/dist/types/support/index.d.ts.map +1 -0
  344. package/dist/types/support/index.js +115 -0
  345. package/dist/types/support/index.js.map +1 -0
  346. package/dist/types/support/index.mjs +84 -0
  347. package/dist/types/support/index.mjs.map +1 -0
  348. package/dist/utils/activityFilters.d.ts +23 -0
  349. package/dist/utils/activityFilters.d.ts.map +1 -0
  350. package/dist/utils/dropdown.d.ts +12 -0
  351. package/dist/utils/dropdown.d.ts.map +1 -0
  352. package/dist/utils/index.d.ts +6 -19
  353. package/dist/utils/index.d.ts.map +1 -0
  354. package/dist/utils/index.js +24 -2
  355. package/dist/utils/index.js.map +1 -1
  356. package/dist/utils/index.mjs +20 -1
  357. package/dist/utils/index.mjs.map +1 -1
  358. package/dist/utils/keys.d.ts +24 -0
  359. package/dist/utils/keys.d.ts.map +1 -0
  360. package/package.json +21 -4
  361. package/dist/Accordation/index.d.mts +0 -15
  362. package/dist/Alert/index.d.mts +0 -13
  363. package/dist/AlertDialog/index.d.mts +0 -36
  364. package/dist/AlertManager/index.d.mts +0 -17
  365. package/dist/AlertManagerView/index.d.mts +0 -31
  366. package/dist/Alternative/index.d.mts +0 -81
  367. package/dist/Auth/AuthProvider/index.d.mts +0 -3
  368. package/dist/Auth/ProtectedRoute/index.d.mts +0 -3
  369. package/dist/Auth/PublicRoute/index.d.mts +0 -3
  370. package/dist/Auth/getRootDomain/index.d.mts +0 -3
  371. package/dist/Auth/index.d.mts +0 -326
  372. package/dist/Auth/useApiConfig/index.d.mts +0 -43
  373. package/dist/Auth/useAuth/index.d.mts +0 -3
  374. package/dist/Auth/useAuthGuard/index.d.mts +0 -3
  375. package/dist/Auth/useRouteAuth/index.d.mts +0 -3
  376. package/dist/Auth/useUrlAuthentication/index.d.mts +0 -69
  377. package/dist/Auth/withAuth/index.d.mts +0 -3
  378. package/dist/Auth/zustandAuthAdapter/index.d.mts +0 -75
  379. package/dist/Badge/index.d.mts +0 -46
  380. package/dist/BreadcrumbMenu/breadcrumbStore/index.d.mts +0 -77
  381. package/dist/BreadcrumbMenu/index.d.mts +0 -31
  382. package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.mts +0 -48
  383. package/dist/BreadcrumbMenu/useUrlParams/index.d.mts +0 -28
  384. package/dist/Button/index.d.mts +0 -45
  385. package/dist/Calendar/index.d.mts +0 -60
  386. package/dist/Card/index.d.mts +0 -150
  387. package/dist/CheckBox/index.d.mts +0 -74
  388. package/dist/CheckBoxGroup-9n5C0OH4.d.mts +0 -24
  389. package/dist/CheckBoxGroup-9n5C0OH4.d.ts +0 -24
  390. package/dist/Chips/index.d.mts +0 -41
  391. package/dist/Divider/index.d.mts +0 -32
  392. package/dist/DownloadButton/index.d.mts +0 -46
  393. package/dist/DropdownMenu/index.d.mts +0 -82
  394. package/dist/EmptyState/index.d.mts +0 -65
  395. package/dist/IconButton/index.d.mts +0 -76
  396. package/dist/IconRender/index.d.mts +0 -36
  397. package/dist/IconRoundedButton/index.d.mts +0 -34
  398. package/dist/Input/index.d.mts +0 -27
  399. package/dist/LatexRenderer/index.d.mts +0 -50
  400. package/dist/LoadingModal/index.d.mts +0 -11
  401. package/dist/Menu/index.d.mts +0 -48
  402. package/dist/Modal/index.d.mts +0 -76
  403. package/dist/Modal/utils/videoUtils/index.d.mts +0 -28
  404. package/dist/MultipleChoice/index.d.mts +0 -20
  405. package/dist/NavButton/index.d.mts +0 -57
  406. package/dist/NoSearchResult/index.d.mts +0 -37
  407. package/dist/NotFound/index.d.mts +0 -58
  408. package/dist/NotificationCard/index.d.mts +0 -3
  409. package/dist/NotificationCard-4GgB0Nsf.d.mts +0 -417
  410. package/dist/NotificationCard-4GgB0Nsf.d.ts +0 -417
  411. package/dist/ProgressBar/index.d.mts +0 -95
  412. package/dist/ProgressCircle/index.d.mts +0 -60
  413. package/dist/Quiz/index.d.mts +0 -55
  414. package/dist/Quiz/useQuizStore/index.d.mts +0 -258
  415. package/dist/Radio/index.d.mts +0 -203
  416. package/dist/Search/index.d.mts +0 -27
  417. package/dist/Select/index.d.mts +0 -59
  418. package/dist/SelectionButton/index.d.mts +0 -57
  419. package/dist/Skeleton/index.d.mts +0 -40
  420. package/dist/StatisticsCard/index.d.mts +0 -79
  421. package/dist/Stepper/index.d.mts +0 -169
  422. package/dist/SubjectInfo/index.d.mts +0 -2
  423. package/dist/SubjectInfo-Dvt0OodP.d.mts +0 -37
  424. package/dist/SubjectInfo-Dvt0OodP.d.ts +0 -37
  425. package/dist/Table/TablePagination/index.d.mts +0 -64
  426. package/dist/Table/index.d.mts +0 -93
  427. package/dist/TableProvider/index.d.mts +0 -4
  428. package/dist/TableProvider-BnAnv3OV.d.mts +0 -239
  429. package/dist/TableProvider-GfPlLqzg.d.ts +0 -239
  430. package/dist/Text/index.d.mts +0 -58
  431. package/dist/TextArea/index.d.mts +0 -74
  432. package/dist/ThemeToggle/index.d.mts +0 -12
  433. package/dist/Toast/ToastStore/index.d.mts +0 -19
  434. package/dist/Toast/Toaster/index.d.mts +0 -16
  435. package/dist/Toast/index.d.mts +0 -17
  436. package/dist/VideoPlayer/index.d.mts +0 -52
  437. package/dist/Whiteboard/index.d.mts +0 -34
  438. package/dist/hooks/useMobile/index.d.mts +0 -29
  439. package/dist/hooks/useTheme/index.d.mts +0 -17
  440. package/dist/index.d.mts +0 -783
  441. package/dist/styles.d.mts +0 -2
  442. package/dist/styles.d.ts +0 -2
  443. package/dist/themeStore-P2X64zC-.d.ts +0 -79
  444. package/dist/types-DqZRjqxh.d.ts +0 -67
  445. package/dist/types-pd3QVhSu.d.mts +0 -67
  446. package/dist/utils/index.d.mts +0 -27
@@ -1,32 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLAttributes } from 'react';
3
-
4
- /**
5
- * Divider component props interface
6
- */
7
- type DividerProps = {
8
- /** Orientation of the divider */
9
- orientation?: 'horizontal' | 'vertical';
10
- /** Additional CSS classes to apply */
11
- className?: string;
12
- } & HTMLAttributes<HTMLHRElement>;
13
- /**
14
- * Divider component for Analytica Ensino platforms
15
- *
16
- * A simple divider component that creates a visual separation between content sections.
17
- * Can be used both horizontally and vertically.
18
- *
19
- * @param orientation - The orientation of the divider (horizontal or vertical)
20
- * @param className - Additional CSS classes
21
- * @param props - All other standard hr HTML attributes
22
- * @returns A styled divider element
23
- *
24
- * @example
25
- * ```tsx
26
- * <Divider orientation="horizontal" />
27
- * <Divider orientation="vertical" className="h-8" />
28
- * ```
29
- */
30
- declare const Divider: ({ orientation, className, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
31
-
32
- export { Divider as default };
@@ -1,46 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- /**
4
- * Download content interface for lesson materials
5
- */
6
- interface DownloadContent {
7
- /** Document URL (PDF) */
8
- urlDoc?: string;
9
- /** Initial frame image URL */
10
- urlInitialFrame?: string;
11
- /** Final frame image URL */
12
- urlFinalFrame?: string;
13
- /** Podcast audio URL */
14
- urlPodcast?: string;
15
- /** Video URL */
16
- urlVideo?: string;
17
- }
18
- /**
19
- * Props for DownloadButton component
20
- */
21
- interface DownloadButtonProps {
22
- /** Content URLs to download */
23
- content: DownloadContent;
24
- /** Additional CSS classes */
25
- className?: string;
26
- /** Callback fired when download starts */
27
- onDownloadStart?: (contentType: string) => void;
28
- /** Callback fired when download completes */
29
- onDownloadComplete?: (contentType: string) => void;
30
- /** Callback fired when download fails */
31
- onDownloadError?: (contentType: string, error: Error) => void;
32
- /** Lesson title for download file naming */
33
- lessonTitle?: string;
34
- /** Whether the button is disabled */
35
- disabled?: boolean;
36
- }
37
- /**
38
- * DownloadButton component for downloading lesson content
39
- * Provides a single button that downloads all available content for a lesson
40
- *
41
- * @param props - DownloadButton component props
42
- * @returns Download button element
43
- */
44
- declare const DownloadButton: ({ content, className, onDownloadStart, onDownloadComplete, onDownloadError, lessonTitle, disabled, }: DownloadButtonProps) => react_jsx_runtime.JSX.Element | null;
45
-
46
- export { type DownloadButtonProps, type DownloadContent, DownloadButton as default };
@@ -1,82 +0,0 @@
1
- import * as react from 'react';
2
- import { ReactNode, HTMLAttributes, ButtonHTMLAttributes } from 'react';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { StoreApi } from 'zustand';
5
-
6
- interface DropdownStore {
7
- open: boolean;
8
- setOpen: (open: boolean) => void;
9
- }
10
- type DropdownStoreApi = StoreApi<DropdownStore>;
11
- declare function createDropdownStore(): DropdownStoreApi;
12
- declare const useDropdownStore: (externalStore?: DropdownStoreApi) => DropdownStoreApi;
13
- interface DropdownMenuProps {
14
- children: ReactNode;
15
- open?: boolean;
16
- onOpenChange?: (open: boolean) => void;
17
- }
18
- declare const DropdownMenu: ({ children, open: propOpen, onOpenChange, }: DropdownMenuProps) => react_jsx_runtime.JSX.Element;
19
- declare const DropdownMenuTrigger: {
20
- ({ className, children, onClick, store: externalStore, ...props }: HTMLAttributes<HTMLDivElement> & {
21
- disabled?: boolean;
22
- store?: DropdownStoreApi;
23
- }): react_jsx_runtime.JSX.Element;
24
- displayName: string;
25
- };
26
- declare const MenuLabel: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
27
- inset?: boolean;
28
- store?: DropdownStoreApi;
29
- } & react.RefAttributes<HTMLDivElement>>;
30
- declare const DropdownMenuContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
31
- align?: "start" | "center" | "end";
32
- side?: "top" | "right" | "bottom" | "left";
33
- variant?: "menu" | "profile";
34
- sideOffset?: number;
35
- store?: DropdownStoreApi;
36
- } & react.RefAttributes<HTMLDivElement>>;
37
- declare const DropdownMenuItem: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
38
- inset?: boolean;
39
- size?: "small" | "medium";
40
- iconLeft?: ReactNode;
41
- iconRight?: ReactNode;
42
- disabled?: boolean;
43
- variant?: "profile" | "menu";
44
- store?: DropdownStoreApi;
45
- preventClose?: boolean;
46
- } & react.RefAttributes<HTMLDivElement>>;
47
- declare const DropdownMenuSeparator: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
48
- store?: DropdownStoreApi;
49
- } & react.RefAttributes<HTMLDivElement>>;
50
- declare const ProfileMenuTrigger: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
51
- store?: DropdownStoreApi;
52
- } & react.RefAttributes<HTMLButtonElement>>;
53
- declare const ProfileMenuHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
54
- name: string;
55
- email: string;
56
- photoUrl?: string | null;
57
- store?: DropdownStoreApi;
58
- } & react.RefAttributes<HTMLDivElement>>;
59
- declare const ProfileMenuInfo: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
60
- schoolName: string;
61
- classYearName: string;
62
- schoolYearName: string;
63
- store?: DropdownStoreApi;
64
- } & react.RefAttributes<HTMLDivElement>>;
65
- declare const ProfileToggleTheme: {
66
- ({ store: externalStore, ...props }: HTMLAttributes<HTMLDivElement> & {
67
- store?: DropdownStoreApi;
68
- }): react_jsx_runtime.JSX.Element;
69
- displayName: string;
70
- };
71
- declare const ProfileMenuSection: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
72
- store?: DropdownStoreApi;
73
- } & react.RefAttributes<HTMLDivElement>>;
74
- declare const ProfileMenuFooter: {
75
- ({ className, disabled, onClick, store: externalStore, ...props }: HTMLAttributes<HTMLButtonElement> & {
76
- disabled?: boolean;
77
- store?: DropdownStoreApi;
78
- }): react_jsx_runtime.JSX.Element;
79
- displayName: string;
80
- };
81
-
82
- export { DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, MenuLabel, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuInfo, ProfileMenuSection, ProfileMenuTrigger, ProfileToggleTheme, createDropdownStore, DropdownMenu as default, useDropdownStore };
@@ -1,65 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- interface EmptyStateProps {
5
- /**
6
- * Image source for the illustration (optional)
7
- */
8
- image?: string;
9
- /**
10
- * Title text to display
11
- * @default "Nenhum dado disponível"
12
- */
13
- title?: string;
14
- /**
15
- * Description text to display below the title
16
- * @default "Não há dados para exibir no momento."
17
- */
18
- description?: string;
19
- /**
20
- * Button text (optional - if not provided, button won't be displayed)
21
- */
22
- buttonText?: string;
23
- /**
24
- * Icon to display on the left side of the button
25
- */
26
- buttonIcon?: ReactNode;
27
- /**
28
- * Callback function when button is clicked
29
- */
30
- onButtonClick?: () => void;
31
- /**
32
- * Button variant
33
- * @default "solid"
34
- */
35
- buttonVariant?: 'solid' | 'outline' | 'link';
36
- /**
37
- * Button action color
38
- * @default "primary"
39
- */
40
- buttonAction?: 'primary' | 'positive' | 'negative';
41
- }
42
- /**
43
- * Component displayed when there is no data to show (empty state)
44
- * Shows an illustration with customizable title, description, and optional button in horizontal layout
45
- *
46
- * @example
47
- * ```tsx
48
- * import { EmptyState } from 'analytica-frontend-lib';
49
- * import activityImage from './assets/activity.png';
50
- * import { Plus } from 'phosphor-react';
51
- *
52
- * <EmptyState
53
- * image={activityImage}
54
- * title="Incentive sua turma ao aprendizado"
55
- * description="Crie uma nova atividade e ajude seus alunos a colocarem o conteúdo em prática!"
56
- * buttonText="Criar atividade"
57
- * buttonIcon={<Plus size={18} />}
58
- * buttonVariant="outline"
59
- * onButtonClick={handleCreateActivity}
60
- * />
61
- * ```
62
- */
63
- declare const EmptyState: ({ image, title, description, buttonText, buttonIcon, onButtonClick, buttonVariant, buttonAction, }: EmptyStateProps) => react_jsx_runtime.JSX.Element;
64
-
65
- export { type EmptyStateProps, EmptyState as default };
@@ -1,76 +0,0 @@
1
- import * as react from 'react';
2
- import { ReactNode, ButtonHTMLAttributes } from 'react';
3
-
4
- /**
5
- * IconButton component props interface
6
- */
7
- type IconButtonProps = {
8
- /** Ícone a ser exibido no botão */
9
- icon: ReactNode;
10
- /** Tamanho do botão */
11
- size?: 'sm' | 'md';
12
- /** Estado de seleção/ativo do botão - permanece ativo até ser clicado novamente ou outro botão ser ativado */
13
- active?: boolean;
14
- /** Additional CSS classes to apply */
15
- className?: string;
16
- } & ButtonHTMLAttributes<HTMLButtonElement>;
17
- /**
18
- * IconButton component for Analytica Ensino platforms
19
- *
20
- * Um botão compacto apenas com ícone, ideal para menus dropdown,
21
- * barras de ferramentas e ações secundárias.
22
- * Oferece dois tamanhos com estilo consistente.
23
- * Estado ativo permanece até ser clicado novamente ou outro botão ser ativado.
24
- * Suporta forwardRef para acesso programático ao elemento DOM.
25
- *
26
- * @param icon - O ícone a ser exibido no botão
27
- * @param size - Tamanho do botão (sm, md)
28
- * @param active - Estado ativo/selecionado do botão
29
- * @param className - Classes CSS adicionais
30
- * @param props - Todos os outros atributos HTML padrão de button
31
- * @returns Um elemento button compacto estilizado apenas com ícone
32
- *
33
- * @example
34
- * ```tsx
35
- * <IconButton
36
- * icon={<MoreVerticalIcon />}
37
- * size="sm"
38
- * onClick={() => openMenu()}
39
- * />
40
- * ```
41
- *
42
- * @example
43
- * ```tsx
44
- * // Botão ativo em uma barra de ferramentas - permanece ativo até outro clique
45
- * <IconButton
46
- * icon={<BoldIcon />}
47
- * active={isBold}
48
- * onClick={toggleBold}
49
- * />
50
- * ```
51
- *
52
- * @example
53
- * ```tsx
54
- * // Usando ref para controle programático
55
- * const buttonRef = useRef<HTMLButtonElement>(null);
56
- *
57
- * <IconButton
58
- * ref={buttonRef}
59
- * icon={<EditIcon />}
60
- * size="md"
61
- * onClick={() => startEditing()}
62
- * />
63
- * ```
64
- */
65
- declare const IconButton: react.ForwardRefExoticComponent<{
66
- /** Ícone a ser exibido no botão */
67
- icon: ReactNode;
68
- /** Tamanho do botão */
69
- size?: "sm" | "md";
70
- /** Estado de seleção/ativo do botão - permanece ativo até ser clicado novamente ou outro botão ser ativado */
71
- active?: boolean;
72
- /** Additional CSS classes to apply */
73
- className?: string;
74
- } & ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
75
-
76
- export { type IconButtonProps, IconButton as default };
@@ -1,36 +0,0 @@
1
- import { ReactElement, JSX } from 'react';
2
-
3
- interface IconRenderProps {
4
- /**
5
- * The name of the icon to render
6
- */
7
- iconName: string | ReactElement;
8
- /**
9
- * The color of the icon
10
- * @default '#000000'
11
- */
12
- color?: string;
13
- /**
14
- * The size of the icon in pixels
15
- * @default 24
16
- */
17
- size?: number;
18
- /**
19
- * The weight/style of the icon (for Phosphor icons)
20
- * @default 'regular'
21
- */
22
- weight?: 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone';
23
- }
24
- /**
25
- * Dynamic icon component that renders icons based on name
26
- * Supports Phosphor icons and custom Chat icons (ChatPT, ChatEN, ChatES)
27
- *
28
- * @param iconName - The name of the icon to render
29
- * @param color - The color of the icon
30
- * @param size - The size of the icon in pixels
31
- * @param weight - The weight/style of the icon (for Phosphor icons)
32
- * @returns JSX element with the corresponding icon
33
- */
34
- declare const IconRender: ({ iconName, color, size, weight, }: IconRenderProps) => JSX.Element;
35
-
36
- export { IconRender, type IconRenderProps, IconRender as default };
@@ -1,34 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode, ButtonHTMLAttributes } from 'react';
3
-
4
- /**
5
- * IconRoundedButton component props interface
6
- */
7
- type IconRoundedButtonProps = {
8
- /** Ícone a ser exibido no botão */
9
- icon: ReactNode;
10
- /** Additional CSS classes to apply */
11
- className?: string;
12
- } & ButtonHTMLAttributes<HTMLButtonElement>;
13
- /**
14
- * IconRoundedButton component for Analytica Ensino platforms
15
- *
16
- * Um botão redondo simples que exibe apenas um ícone.
17
- * Ideal para ações como navegação, fechar, editar, etc.
18
- *
19
- * @param icon - O ícone a ser exibido no botão
20
- * @param className - Classes CSS adicionais
21
- * @param props - Todos os outros atributos HTML padrão de button
22
- * @returns Um elemento button estilizado e redondo
23
- *
24
- * @example
25
- * ```tsx
26
- * <IconRoundedButton
27
- * icon={<ChevronRightIcon />}
28
- * onClick={() => console.log('clicked')}
29
- * />
30
- * ```
31
- */
32
- declare const IconRoundedButton: ({ icon, className, disabled, ...props }: IconRoundedButtonProps) => react_jsx_runtime.JSX.Element;
33
-
34
- export { IconRoundedButton as default };
@@ -1,27 +0,0 @@
1
- import * as react from 'react';
2
- import { ReactNode, InputHTMLAttributes } from 'react';
3
-
4
- declare const Input: react.ForwardRefExoticComponent<{
5
- /** Label text displayed above the input */
6
- label?: string;
7
- /** Helper text displayed below the input */
8
- helperText?: string;
9
- /** Error message displayed below the input */
10
- errorMessage?: string;
11
- /** Size of the input */
12
- size?: "small" | "medium" | "large" | "extra-large";
13
- /** Visual variant of the input */
14
- variant?: "outlined" | "underlined" | "rounded";
15
- /** Current state of the input */
16
- state?: "default" | "error" | "disabled" | "read-only";
17
- /** Icon to display on the left side of the input */
18
- iconLeft?: ReactNode;
19
- /** Icon to display on the right side of the input */
20
- iconRight?: ReactNode;
21
- /** Additional CSS classes to apply to the input */
22
- className?: string;
23
- /** Additional CSS classes to apply to the container */
24
- containerClassName?: string;
25
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & react.RefAttributes<HTMLInputElement>>;
26
-
27
- export { Input as default };
@@ -1,50 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { CSSProperties, ReactNode } from 'react';
3
-
4
- /**
5
- * Props for the LatexRenderer component
6
- */
7
- interface LatexRendererProps {
8
- /** HTML content containing LaTeX expressions to render */
9
- content: string;
10
- /** Additional CSS classes to apply */
11
- className?: string;
12
- /** Inline styles to apply */
13
- style?: CSSProperties;
14
- /** Custom error renderer for invalid LaTeX expressions */
15
- onError?: (latex: string) => ReactNode;
16
- }
17
- /**
18
- * LatexRenderer component for Analytica Ensino platforms
19
- *
20
- * Renders HTML content with embedded LaTeX/KaTeX mathematical expressions.
21
- * Supports multiple LaTeX formats:
22
- * - Inline math: `$...$` or `<latex>...</latex>`
23
- * - Block math: `$$...$$`
24
- * - LaTeX environments: `\begin{equation}...\end{equation}`, etc.
25
- * - Editor format: `<span class="math-formula" data-latex="...">...</span>`
26
- *
27
- * @param content - HTML content with LaTeX expressions
28
- * @param className - Additional CSS classes
29
- * @param style - Inline styles
30
- * @param onError - Custom error renderer
31
- * @returns Rendered content with mathematical expressions
32
- *
33
- * @example
34
- * ```tsx
35
- * <LatexRenderer content="The formula is $E = mc^2$" />
36
- *
37
- * <LatexRenderer
38
- * content="Block equation: $$\sum_{i=1}^{n} x_i$$"
39
- * className="my-custom-class"
40
- * />
41
- *
42
- * <LatexRenderer
43
- * content="<p>Matrix: \begin{pmatrix} a & b \\ c & d \end{pmatrix}</p>"
44
- * onError={(latex) => <span>Invalid: {latex}</span>}
45
- * />
46
- * ```
47
- */
48
- declare const LatexRenderer: ({ content, className, style, onError, }: LatexRendererProps) => react_jsx_runtime.JSX.Element;
49
-
50
- export { type LatexRendererProps, LatexRenderer as default };
@@ -1,11 +0,0 @@
1
- import * as react from 'react';
2
- import { HTMLAttributes } from 'react';
3
-
4
- interface LoadingModalProps extends HTMLAttributes<HTMLDivElement> {
5
- open: boolean;
6
- title?: string;
7
- subtitle?: string;
8
- }
9
- declare const LoadingModal: react.ForwardRefExoticComponent<LoadingModalProps & react.RefAttributes<HTMLDivElement>>;
10
-
11
- export { LoadingModal as default };
@@ -1,48 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as react from 'react';
3
- import { HTMLAttributes, ReactNode } from 'react';
4
- import { StoreApi } from 'zustand';
5
-
6
- type MenuVariant = 'menu' | 'menu2' | 'menu-overflow' | 'breadcrumb';
7
- interface MenuStore {
8
- value: string;
9
- setValue: (value: string) => void;
10
- onValueChange?: (value: string) => void;
11
- }
12
- type MenuStoreApi = StoreApi<MenuStore>;
13
- declare const useMenuStore: (externalStore?: MenuStoreApi) => MenuStoreApi;
14
- interface MenuProps extends HTMLAttributes<HTMLDivElement> {
15
- children: ReactNode;
16
- defaultValue: string;
17
- value?: string;
18
- variant?: MenuVariant;
19
- onValueChange?: (value: string) => void;
20
- }
21
- declare const Menu: react.ForwardRefExoticComponent<MenuProps & react.RefAttributes<HTMLDivElement>>;
22
- interface MenuContentProps extends HTMLAttributes<HTMLUListElement> {
23
- children: ReactNode;
24
- variant?: MenuVariant;
25
- }
26
- declare const MenuContent: react.ForwardRefExoticComponent<MenuContentProps & react.RefAttributes<HTMLUListElement>>;
27
- interface MenuItemProps extends HTMLAttributes<HTMLLIElement> {
28
- value: string;
29
- disabled?: boolean;
30
- store?: MenuStoreApi;
31
- variant?: MenuVariant;
32
- separator?: boolean;
33
- }
34
- declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLLIElement>>;
35
- declare const MenuItemIcon: ({ className, icon, ...props }: HTMLAttributes<HTMLSpanElement> & {
36
- icon: ReactNode;
37
- }) => react_jsx_runtime.JSX.Element;
38
- declare const internalScroll: (container: HTMLUListElement | null, direction: "left" | "right") => void;
39
- declare const internalCheckScroll: (container: HTMLUListElement | null, setShowLeftArrow: (v: boolean) => void, setShowRightArrow: (v: boolean) => void) => void;
40
- interface MenuOverflowProps extends HTMLAttributes<HTMLDivElement> {
41
- children: ReactNode;
42
- defaultValue: string;
43
- value?: string;
44
- onValueChange?: (value: string) => void;
45
- }
46
- declare const MenuOverflow: ({ children, className, defaultValue, value, onValueChange, ...props }: MenuOverflowProps) => react_jsx_runtime.JSX.Element;
47
-
48
- export { Menu, MenuContent, MenuItem, MenuItemIcon, MenuOverflow, Menu as default, internalCheckScroll, internalScroll, useMenuStore };
@@ -1,76 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- /**
5
- * Modal component props interface
6
- */
7
- type ModalProps = {
8
- contentClassName?: string;
9
- /** Whether the modal is open */
10
- isOpen: boolean;
11
- /** Function to close the modal */
12
- onClose: () => void;
13
- /** Modal title */
14
- title: string;
15
- /** Modal description/content */
16
- children?: ReactNode;
17
- /** Size of the modal */
18
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
19
- /** Additional CSS classes for the modal content */
20
- className?: string;
21
- /** Whether pressing Escape should close the modal */
22
- closeOnEscape?: boolean;
23
- /** Footer content (typically buttons) */
24
- footer?: ReactNode;
25
- /** Hide the close button */
26
- hideCloseButton?: boolean;
27
- /** Modal variant */
28
- variant?: 'default' | 'activity';
29
- /** Description for activity variant */
30
- description?: string;
31
- /** Image URL for activity variant */
32
- image?: string;
33
- /** Alt text for activity image (leave empty for decorative images) */
34
- imageAlt?: string;
35
- /** Action link for activity variant */
36
- actionLink?: string;
37
- /** Action button label for activity variant */
38
- actionLabel?: string;
39
- };
40
- /**
41
- * Modal component for Analytica Ensino platforms
42
- *
43
- * A flexible modal component with multiple size variants and customizable behavior.
44
- *
45
- * @param isOpen - Whether the modal is currently open
46
- * @param onClose - Callback function called when the modal should be closed
47
- * @param title - The title displayed at the top of the modal
48
- * @param children - The main content of the modal
49
- * @param size - The size variant (xs, sm, md, lg, xl)
50
- * @param className - Additional CSS classes for the modal content
51
- * @param closeOnEscape - Whether pressing Escape closes the modal (default: true)
52
- * @param footer - Footer content, typically action buttons
53
- * @param hideCloseButton - Whether to hide the X close button (default: false)
54
- * @returns A modal overlay with content
55
- *
56
- * @example
57
- * ```tsx
58
- * <Modal
59
- * isOpen={isModalOpen}
60
- * onClose={() => setIsModalOpen(false)}
61
- * title="Invite your team"
62
- * size="md"
63
- * footer={
64
- * <div className="flex gap-3">
65
- * <Button variant="outline" onClick={() => setIsModalOpen(false)}>Cancel</Button>
66
- * <Button variant="solid" onClick={handleExplore}>Explore</Button>
67
- * </div>
68
- * }
69
- * >
70
- * Elevate user interactions with our versatile modals.
71
- * </Modal>
72
- * ```
73
- */
74
- declare const Modal: ({ isOpen, onClose, title, children, size, className, closeOnEscape, footer, hideCloseButton, variant, description, image, imageAlt, actionLink, actionLabel, contentClassName, }: ModalProps) => react_jsx_runtime.JSX.Element | null;
75
-
76
- export { Modal as default };
@@ -1,28 +0,0 @@
1
- /**
2
- * Video utilities for Modal component
3
- *
4
- * Utilities to handle YouTube video embedding and URL detection
5
- */
6
- /**
7
- * Check if a given URL is a YouTube URL
8
- *
9
- * @param url - The URL to check
10
- * @returns true if the URL is from YouTube, false otherwise
11
- */
12
- declare const isYouTubeUrl: (url: string) => boolean;
13
- /**
14
- * Extract YouTube video ID from URL
15
- *
16
- * @param url - The YouTube URL
17
- * @returns The video ID if found, null otherwise
18
- */
19
- declare const getYouTubeVideoId: (url: string) => string | null;
20
- /**
21
- * Generate YouTube embed URL for iframe
22
- *
23
- * @param videoId - The YouTube video ID
24
- * @returns The embed URL for the video
25
- */
26
- declare const getYouTubeEmbedUrl: (videoId: string) => string;
27
-
28
- export { getYouTubeEmbedUrl, getYouTubeVideoId, isYouTubeUrl };
@@ -1,20 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HtmlHTMLAttributes } from 'react';
3
-
4
- interface Choice {
5
- value: string;
6
- label: string;
7
- status?: 'correct' | 'incorrect' | 'neutral';
8
- disabled?: boolean;
9
- }
10
- interface MultipleChoiceListProps extends HtmlHTMLAttributes<HTMLDivElement> {
11
- choices: Choice[];
12
- disabled?: boolean;
13
- name?: string;
14
- selectedValues?: string[];
15
- onHandleSelectedValues?: (values: string[]) => void;
16
- mode?: 'interactive' | 'readonly';
17
- }
18
- declare const MultipleChoiceList: ({ disabled, className, choices, name, selectedValues, onHandleSelectedValues, mode, }: MultipleChoiceListProps) => react_jsx_runtime.JSX.Element;
19
-
20
- export { MultipleChoiceList };