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.
- package/dist/Accordation/index.d.ts +4 -5
- package/dist/Accordation/index.d.ts.map +1 -0
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/ActivityDetails/index.css +19293 -0
- package/dist/ActivityDetails/index.css.map +1 -0
- package/dist/ActivityDetails/index.d.ts +31 -0
- package/dist/ActivityDetails/index.d.ts.map +1 -0
- package/dist/ActivityDetails/index.js +7359 -0
- package/dist/ActivityDetails/index.js.map +1 -0
- package/dist/ActivityDetails/index.mjs +7408 -0
- package/dist/ActivityDetails/index.mjs.map +1 -0
- package/dist/ActivityFilters/index.css +19293 -0
- package/dist/ActivityFilters/index.css.map +1 -0
- package/dist/ActivityFilters/index.d.ts +44 -0
- package/dist/ActivityFilters/index.d.ts.map +1 -0
- package/dist/ActivityFilters/index.js +4906 -0
- package/dist/ActivityFilters/index.js.map +1 -0
- package/dist/ActivityFilters/index.mjs +4921 -0
- package/dist/ActivityFilters/index.mjs.map +1 -0
- package/dist/Alert/index.d.ts +3 -5
- package/dist/Alert/index.d.ts.map +1 -0
- package/dist/Alert/index.js.map +1 -1
- package/dist/Alert/index.mjs.map +1 -1
- package/dist/AlertDialog/index.d.ts +2 -4
- package/dist/AlertDialog/index.d.ts.map +1 -0
- package/dist/AlertDialog/index.js.map +1 -1
- package/dist/AlertDialog/index.mjs.map +1 -1
- package/dist/AlertManager/index.css +127 -0
- package/dist/AlertManager/index.css.map +1 -1
- package/dist/AlertManager/index.d.ts +4 -8
- package/dist/AlertManager/index.d.ts.map +1 -0
- package/dist/AlertManager/index.js +23 -19
- package/dist/AlertManager/index.js.map +1 -1
- package/dist/AlertManager/index.mjs +45 -41
- package/dist/AlertManager/index.mjs.map +1 -1
- package/dist/AlertManagerView/index.d.ts +6 -10
- package/dist/AlertManagerView/index.d.ts.map +1 -0
- package/dist/AlertManagerView/index.js.map +1 -1
- package/dist/AlertManagerView/index.mjs.map +1 -1
- package/dist/Alternative/index.d.ts +6 -9
- package/dist/Alternative/index.d.ts.map +1 -0
- package/dist/Alternative/index.js.map +1 -1
- package/dist/Alternative/index.mjs.map +1 -1
- package/dist/Auth/AuthProvider/index.d.ts +324 -3
- package/dist/Auth/AuthProvider/index.d.ts.map +1 -0
- package/dist/Auth/ProtectedRoute/index.d.ts +324 -3
- package/dist/Auth/ProtectedRoute/index.d.ts.map +1 -0
- package/dist/Auth/PublicRoute/index.d.ts +324 -3
- package/dist/Auth/PublicRoute/index.d.ts.map +1 -0
- package/dist/Auth/getRootDomain/index.d.ts +324 -3
- package/dist/Auth/getRootDomain/index.d.ts.map +1 -0
- package/dist/Auth/index.d.ts +24 -26
- package/dist/Auth/index.d.ts.map +1 -0
- package/dist/Auth/useApiConfig/index.d.ts +3 -3
- package/dist/Auth/useApiConfig/index.d.ts.map +1 -0
- package/dist/Auth/useAuth/index.d.ts +324 -3
- package/dist/Auth/useAuth/index.d.ts.map +1 -0
- package/dist/Auth/useAuthGuard/index.d.ts +324 -3
- package/dist/Auth/useAuthGuard/index.d.ts.map +1 -0
- package/dist/Auth/useRouteAuth/index.d.ts +324 -3
- package/dist/Auth/useRouteAuth/index.d.ts.map +1 -0
- package/dist/Auth/useUrlAuthentication/index.d.ts +3 -4
- package/dist/Auth/useUrlAuthentication/index.d.ts.map +1 -0
- package/dist/Auth/withAuth/index.d.ts +324 -3
- package/dist/Auth/withAuth/index.d.ts.map +1 -0
- package/dist/Auth/zustandAuthAdapter/index.d.ts +2 -3
- package/dist/Auth/zustandAuthAdapter/index.d.ts.map +1 -0
- package/dist/Badge/index.d.ts +4 -6
- package/dist/Badge/index.d.ts.map +1 -0
- package/dist/Badge/index.js.map +1 -1
- package/dist/Badge/index.mjs.map +1 -1
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts +5 -7
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/index.d.ts +4 -8
- package/dist/BreadcrumbMenu/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/index.js.map +1 -1
- package/dist/BreadcrumbMenu/index.mjs.map +1 -1
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts +7 -10
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.ts.map +1 -0
- package/dist/BreadcrumbMenu/useUrlParams/index.d.ts +3 -4
- package/dist/BreadcrumbMenu/useUrlParams/index.d.ts.map +1 -0
- package/dist/Button/index.d.ts +4 -6
- package/dist/Button/index.d.ts.map +1 -0
- package/dist/Button/index.js.map +1 -1
- package/dist/Button/index.mjs.map +1 -1
- package/dist/Calendar/index.d.ts +9 -11
- package/dist/Calendar/index.d.ts.map +1 -0
- package/dist/Calendar/index.js.map +1 -1
- package/dist/Calendar/index.mjs.map +1 -1
- package/dist/Card/index.d.ts +17 -19
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/CheckBox/index.d.ts +6 -8
- package/dist/CheckBox/index.d.ts.map +1 -0
- package/dist/CheckBox/index.js.map +1 -1
- package/dist/CheckBox/index.mjs.map +1 -1
- package/dist/Chips/index.d.ts +4 -6
- package/dist/Chips/index.d.ts.map +1 -0
- package/dist/Chips/index.js.map +1 -1
- package/dist/Chips/index.mjs.map +1 -1
- package/dist/CorrectActivityModal/index.d.ts +39 -0
- package/dist/CorrectActivityModal/index.d.ts.map +1 -0
- package/dist/CorrectActivityModal/index.js +3674 -0
- package/dist/CorrectActivityModal/index.js.map +1 -0
- package/dist/CorrectActivityModal/index.mjs +3689 -0
- package/dist/CorrectActivityModal/index.mjs.map +1 -0
- package/dist/Divider/index.d.ts +3 -5
- package/dist/Divider/index.d.ts.map +1 -0
- package/dist/Divider/index.js.map +1 -1
- package/dist/Divider/index.mjs.map +1 -1
- package/dist/DownloadButton/index.d.ts +5 -7
- package/dist/DownloadButton/index.d.ts.map +1 -0
- package/dist/DownloadButton/index.js.map +1 -1
- package/dist/DownloadButton/index.mjs.map +1 -1
- package/dist/DropdownMenu/index.d.ts +26 -28
- package/dist/DropdownMenu/index.d.ts.map +1 -0
- package/dist/DropdownMenu/index.js.map +1 -1
- package/dist/DropdownMenu/index.mjs.map +1 -1
- package/dist/EmptyState/index.d.ts +5 -7
- package/dist/EmptyState/index.d.ts.map +1 -0
- package/dist/EmptyState/index.js.map +1 -1
- package/dist/EmptyState/index.mjs.map +1 -1
- package/dist/FileAttachment/index.d.ts +72 -0
- package/dist/FileAttachment/index.d.ts.map +1 -0
- package/dist/FileAttachment/index.js +239 -0
- package/dist/FileAttachment/index.js.map +1 -0
- package/dist/FileAttachment/index.mjs +213 -0
- package/dist/FileAttachment/index.mjs.map +1 -0
- package/dist/IconButton/index.d.ts +6 -8
- package/dist/IconButton/index.d.ts.map +1 -0
- package/dist/IconButton/index.js.map +1 -1
- package/dist/IconButton/index.mjs.map +1 -1
- package/dist/IconRender/index.d.ts +5 -6
- package/dist/IconRender/index.d.ts.map +1 -0
- package/dist/IconRoundedButton/index.d.ts +4 -6
- package/dist/IconRoundedButton/index.d.ts.map +1 -0
- package/dist/IconRoundedButton/index.js.map +1 -1
- package/dist/IconRoundedButton/index.mjs.map +1 -1
- package/dist/Input/index.d.ts +5 -7
- package/dist/Input/index.d.ts.map +1 -0
- package/dist/LatexRenderer/index.d.ts +5 -6
- package/dist/LatexRenderer/index.d.ts.map +1 -0
- package/dist/LatexRenderer/index.js.map +1 -1
- package/dist/LatexRenderer/index.mjs.map +1 -1
- package/dist/LoadingModal/index.d.ts +3 -5
- package/dist/LoadingModal/index.d.ts.map +1 -0
- package/dist/Menu/index.d.ts +12 -14
- package/dist/Menu/index.d.ts.map +1 -0
- package/dist/Menu/index.js.map +1 -1
- package/dist/Menu/index.mjs.map +1 -1
- package/dist/Modal/index.d.ts +3 -5
- package/dist/Modal/index.d.ts.map +1 -0
- package/dist/Modal/index.js.map +1 -1
- package/dist/Modal/index.mjs.map +1 -1
- package/dist/Modal/utils/videoUtils/index.d.ts +4 -5
- package/dist/Modal/utils/videoUtils/index.d.ts.map +1 -0
- package/dist/MultipleChoice/index.d.ts +2 -4
- package/dist/MultipleChoice/index.d.ts.map +1 -0
- package/dist/MultipleChoice/index.js.map +1 -1
- package/dist/MultipleChoice/index.mjs.map +1 -1
- package/dist/NavButton/index.d.ts +5 -7
- package/dist/NavButton/index.d.ts.map +1 -0
- package/dist/NavButton/index.js.map +1 -1
- package/dist/NavButton/index.mjs.map +1 -1
- package/dist/NoSearchResult/index.d.ts +4 -6
- package/dist/NoSearchResult/index.d.ts.map +1 -0
- package/dist/NoSearchResult/index.js.map +1 -1
- package/dist/NoSearchResult/index.mjs.map +1 -1
- package/dist/NotFound/index.d.ts +4 -6
- package/dist/NotFound/index.d.ts.map +1 -0
- package/dist/NotFound/index.js.map +1 -1
- package/dist/NotFound/index.mjs.map +1 -1
- package/dist/NotificationCard/index.d.ts +218 -3
- package/dist/NotificationCard/index.d.ts.map +1 -0
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/ProgressBar/index.d.ts +4 -6
- package/dist/ProgressBar/index.d.ts.map +1 -0
- package/dist/ProgressBar/index.js.map +1 -1
- package/dist/ProgressBar/index.mjs.map +1 -1
- package/dist/ProgressCircle/index.d.ts +4 -6
- package/dist/ProgressCircle/index.d.ts.map +1 -0
- package/dist/ProgressCircle/index.js.map +1 -1
- package/dist/ProgressCircle/index.mjs.map +1 -1
- package/dist/Quiz/index.d.ts +19 -23
- package/dist/Quiz/index.d.ts.map +1 -0
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Quiz/useQuizStore/index.d.ts +14 -17
- package/dist/Quiz/useQuizStore/index.d.ts.map +1 -0
- package/dist/Radio/index.d.ts +14 -15
- package/dist/Radio/index.d.ts.map +1 -0
- package/dist/Radio/index.js.map +1 -1
- package/dist/Radio/index.mjs.map +1 -1
- package/dist/Search/index.d.ts +4 -6
- package/dist/Search/index.d.ts.map +1 -0
- package/dist/Search/index.js.map +1 -1
- package/dist/Search/index.mjs.map +1 -1
- package/dist/Select/index.d.ts +12 -14
- package/dist/Select/index.d.ts.map +1 -0
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/index.mjs.map +1 -1
- package/dist/SelectionButton/index.d.ts +5 -7
- package/dist/SelectionButton/index.d.ts.map +1 -0
- package/dist/SelectionButton/index.js.map +1 -1
- package/dist/SelectionButton/index.mjs.map +1 -1
- package/dist/Skeleton/index.d.ts +10 -12
- package/dist/Skeleton/index.d.ts.map +1 -0
- package/dist/Skeleton/index.js.map +1 -1
- package/dist/Skeleton/index.mjs.map +1 -1
- package/dist/StatisticsCard/index.d.ts +3 -5
- package/dist/StatisticsCard/index.d.ts.map +1 -0
- package/dist/StatisticsCard/index.js.map +1 -1
- package/dist/StatisticsCard/index.mjs.map +1 -1
- package/dist/Stepper/index.d.ts +6 -8
- package/dist/Stepper/index.d.ts.map +1 -0
- package/dist/Stepper/index.js.map +1 -1
- package/dist/Stepper/index.mjs.map +1 -1
- package/dist/SubjectInfo/index.d.ts +17 -2
- package/dist/SubjectInfo/index.d.ts.map +1 -0
- package/dist/Support/TicketModal/index.d.ts +14 -0
- package/dist/Support/TicketModal/index.d.ts.map +1 -0
- package/dist/Support/TicketModal/index.js +1279 -0
- package/dist/Support/TicketModal/index.js.map +1 -0
- package/dist/Support/TicketModal/index.mjs +1248 -0
- package/dist/Support/TicketModal/index.mjs.map +1 -0
- package/dist/Support/index.d.ts +8 -0
- package/dist/Support/index.d.ts.map +1 -0
- package/dist/Support/index.js +2686 -0
- package/dist/Support/index.js.map +1 -0
- package/dist/Support/index.mjs +2676 -0
- package/dist/Support/index.mjs.map +1 -0
- package/dist/Table/TablePagination/index.d.ts +4 -6
- package/dist/Table/TablePagination/index.d.ts.map +1 -0
- package/dist/Table/TablePagination/index.js.map +1 -1
- package/dist/Table/TablePagination/index.mjs.map +1 -1
- package/dist/Table/index.d.ts +18 -19
- package/dist/Table/index.d.ts.map +1 -0
- package/dist/Table/index.js.map +1 -1
- package/dist/Table/index.mjs.map +1 -1
- package/dist/TableProvider/index.css +127 -0
- package/dist/TableProvider/index.css.map +1 -1
- package/dist/TableProvider/index.d.ts +198 -4
- package/dist/TableProvider/index.d.ts.map +1 -0
- package/dist/TableProvider/index.js +23 -19
- package/dist/TableProvider/index.js.map +1 -1
- package/dist/TableProvider/index.mjs +45 -41
- package/dist/TableProvider/index.mjs.map +1 -1
- package/dist/Text/index.d.ts +4 -6
- package/dist/Text/index.d.ts.map +1 -0
- package/dist/Text/index.js.map +1 -1
- package/dist/Text/index.mjs.map +1 -1
- package/dist/TextArea/index.d.ts +6 -8
- package/dist/TextArea/index.d.ts.map +1 -0
- package/dist/TextArea/index.js.map +1 -1
- package/dist/TextArea/index.mjs.map +1 -1
- package/dist/ThemeToggle/index.d.ts +4 -8
- package/dist/ThemeToggle/index.d.ts.map +1 -0
- package/dist/ThemeToggle/index.js.map +1 -1
- package/dist/ThemeToggle/index.mjs.map +1 -1
- package/dist/Toast/ToastStore/index.d.ts +3 -5
- package/dist/Toast/ToastStore/index.d.ts.map +1 -0
- package/dist/Toast/Toaster/index.d.ts +4 -6
- package/dist/Toast/Toaster/index.d.ts.map +1 -0
- package/dist/Toast/Toaster/index.js.map +1 -1
- package/dist/Toast/Toaster/index.mjs.map +1 -1
- package/dist/Toast/index.d.ts +3 -5
- package/dist/Toast/index.d.ts.map +1 -0
- package/dist/Toast/index.js.map +1 -1
- package/dist/Toast/index.mjs.map +1 -1
- package/dist/VideoPlayer/index.d.ts +4 -6
- package/dist/VideoPlayer/index.d.ts.map +1 -0
- package/dist/VideoPlayer/index.js.map +1 -1
- package/dist/VideoPlayer/index.mjs.map +1 -1
- package/dist/Whiteboard/index.d.ts +5 -7
- package/dist/Whiteboard/index.d.ts.map +1 -0
- package/dist/Whiteboard/index.js.map +1 -1
- package/dist/Whiteboard/index.mjs.map +1 -1
- package/dist/assets/icons/subjects/BookOpenText.d.ts +5 -0
- package/dist/assets/icons/subjects/BookOpenText.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatEN.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatEN.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatES.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatES.d.ts.map +1 -0
- package/dist/assets/icons/subjects/ChatPT.d.ts +5 -0
- package/dist/assets/icons/subjects/ChatPT.d.ts.map +1 -0
- package/dist/assets/icons/subjects/HeadCircuit.d.ts +5 -0
- package/dist/assets/icons/subjects/HeadCircuit.d.ts.map +1 -0
- package/dist/assets/icons/subjects/Microscope.d.ts +5 -0
- package/dist/assets/icons/subjects/Microscope.d.ts.map +1 -0
- package/dist/enums/SubjectEnum.d.ts +19 -0
- package/dist/enums/SubjectEnum.d.ts.map +1 -0
- package/dist/hooks/useAppContent.d.ts +55 -0
- package/dist/hooks/useAppContent.d.ts.map +1 -0
- package/dist/hooks/useAppInitialization.d.ts +21 -0
- package/dist/hooks/useAppInitialization.d.ts.map +1 -0
- package/dist/hooks/useInstitution.d.ts +2 -0
- package/dist/hooks/useInstitution.d.ts.map +1 -0
- package/dist/hooks/useMobile/index.d.ts +4 -5
- package/dist/hooks/useMobile/index.d.ts.map +1 -0
- package/dist/hooks/useNotificationStore.d.ts +34 -0
- package/dist/hooks/useNotificationStore.d.ts.map +1 -0
- package/dist/hooks/useNotifications.d.ts +129 -0
- package/dist/hooks/useNotifications.d.ts.map +1 -0
- package/dist/hooks/useScreen.d.ts +38 -0
- package/dist/hooks/useScreen.d.ts.map +1 -0
- package/dist/hooks/useTheme/index.d.ts +4 -7
- package/dist/hooks/useTheme/index.d.ts.map +1 -0
- package/dist/index.css +127 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +127 -783
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9257 -6883
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9330 -6973
- package/dist/index.mjs.map +1 -1
- package/dist/store/appStore.d.ts +27 -0
- package/dist/store/appStore.d.ts.map +1 -0
- package/dist/store/authStore.d.ts +75 -0
- package/dist/store/authStore.d.ts.map +1 -0
- package/dist/store/notificationStore.d.ts +89 -0
- package/dist/store/notificationStore.d.ts.map +1 -0
- package/dist/{themeStore-P2X64zC-.d.mts → store/themeStore.d.ts} +8 -12
- package/dist/store/themeStore.d.ts.map +1 -0
- package/dist/styles.css +127 -0
- package/dist/styles.css.map +1 -1
- package/dist/suporthistory-W5LBGAUP.png +0 -0
- package/dist/types/activityDetails.d.ts +127 -0
- package/dist/types/activityDetails.d.ts.map +1 -0
- package/dist/types/activityFilters.d.ts +51 -0
- package/dist/types/activityFilters.d.ts.map +1 -0
- package/dist/types/auth.d.ts +53 -0
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/notifications.d.ts +199 -0
- package/dist/types/notifications.d.ts.map +1 -0
- package/dist/types/questionTypes.d.ts +6 -0
- package/dist/types/questionTypes.d.ts.map +1 -0
- package/dist/types/studentActivityCorrection.d.ts +57 -0
- package/dist/types/studentActivityCorrection.d.ts.map +1 -0
- package/dist/types/support/index.d.ts +111 -0
- package/dist/types/support/index.d.ts.map +1 -0
- package/dist/types/support/index.js +115 -0
- package/dist/types/support/index.js.map +1 -0
- package/dist/types/support/index.mjs +84 -0
- package/dist/types/support/index.mjs.map +1 -0
- package/dist/utils/activityFilters.d.ts +23 -0
- package/dist/utils/activityFilters.d.ts.map +1 -0
- package/dist/utils/dropdown.d.ts +12 -0
- package/dist/utils/dropdown.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -19
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +24 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +20 -1
- package/dist/utils/index.mjs.map +1 -1
- package/dist/utils/keys.d.ts +24 -0
- package/dist/utils/keys.d.ts.map +1 -0
- package/package.json +21 -4
- package/dist/Accordation/index.d.mts +0 -15
- package/dist/Alert/index.d.mts +0 -13
- package/dist/AlertDialog/index.d.mts +0 -36
- package/dist/AlertManager/index.d.mts +0 -17
- package/dist/AlertManagerView/index.d.mts +0 -31
- package/dist/Alternative/index.d.mts +0 -81
- package/dist/Auth/AuthProvider/index.d.mts +0 -3
- package/dist/Auth/ProtectedRoute/index.d.mts +0 -3
- package/dist/Auth/PublicRoute/index.d.mts +0 -3
- package/dist/Auth/getRootDomain/index.d.mts +0 -3
- package/dist/Auth/index.d.mts +0 -326
- package/dist/Auth/useApiConfig/index.d.mts +0 -43
- package/dist/Auth/useAuth/index.d.mts +0 -3
- package/dist/Auth/useAuthGuard/index.d.mts +0 -3
- package/dist/Auth/useRouteAuth/index.d.mts +0 -3
- package/dist/Auth/useUrlAuthentication/index.d.mts +0 -69
- package/dist/Auth/withAuth/index.d.mts +0 -3
- package/dist/Auth/zustandAuthAdapter/index.d.mts +0 -75
- package/dist/Badge/index.d.mts +0 -46
- package/dist/BreadcrumbMenu/breadcrumbStore/index.d.mts +0 -77
- package/dist/BreadcrumbMenu/index.d.mts +0 -31
- package/dist/BreadcrumbMenu/useBreadcrumbBuilder/index.d.mts +0 -48
- package/dist/BreadcrumbMenu/useUrlParams/index.d.mts +0 -28
- package/dist/Button/index.d.mts +0 -45
- package/dist/Calendar/index.d.mts +0 -60
- package/dist/Card/index.d.mts +0 -150
- package/dist/CheckBox/index.d.mts +0 -74
- package/dist/CheckBoxGroup-9n5C0OH4.d.mts +0 -24
- package/dist/CheckBoxGroup-9n5C0OH4.d.ts +0 -24
- package/dist/Chips/index.d.mts +0 -41
- package/dist/Divider/index.d.mts +0 -32
- package/dist/DownloadButton/index.d.mts +0 -46
- package/dist/DropdownMenu/index.d.mts +0 -82
- package/dist/EmptyState/index.d.mts +0 -65
- package/dist/IconButton/index.d.mts +0 -76
- package/dist/IconRender/index.d.mts +0 -36
- package/dist/IconRoundedButton/index.d.mts +0 -34
- package/dist/Input/index.d.mts +0 -27
- package/dist/LatexRenderer/index.d.mts +0 -50
- package/dist/LoadingModal/index.d.mts +0 -11
- package/dist/Menu/index.d.mts +0 -48
- package/dist/Modal/index.d.mts +0 -76
- package/dist/Modal/utils/videoUtils/index.d.mts +0 -28
- package/dist/MultipleChoice/index.d.mts +0 -20
- package/dist/NavButton/index.d.mts +0 -57
- package/dist/NoSearchResult/index.d.mts +0 -37
- package/dist/NotFound/index.d.mts +0 -58
- package/dist/NotificationCard/index.d.mts +0 -3
- package/dist/NotificationCard-4GgB0Nsf.d.mts +0 -417
- package/dist/NotificationCard-4GgB0Nsf.d.ts +0 -417
- package/dist/ProgressBar/index.d.mts +0 -95
- package/dist/ProgressCircle/index.d.mts +0 -60
- package/dist/Quiz/index.d.mts +0 -55
- package/dist/Quiz/useQuizStore/index.d.mts +0 -258
- package/dist/Radio/index.d.mts +0 -203
- package/dist/Search/index.d.mts +0 -27
- package/dist/Select/index.d.mts +0 -59
- package/dist/SelectionButton/index.d.mts +0 -57
- package/dist/Skeleton/index.d.mts +0 -40
- package/dist/StatisticsCard/index.d.mts +0 -79
- package/dist/Stepper/index.d.mts +0 -169
- package/dist/SubjectInfo/index.d.mts +0 -2
- package/dist/SubjectInfo-Dvt0OodP.d.mts +0 -37
- package/dist/SubjectInfo-Dvt0OodP.d.ts +0 -37
- package/dist/Table/TablePagination/index.d.mts +0 -64
- package/dist/Table/index.d.mts +0 -93
- package/dist/TableProvider/index.d.mts +0 -4
- package/dist/TableProvider-BnAnv3OV.d.mts +0 -239
- package/dist/TableProvider-GfPlLqzg.d.ts +0 -239
- package/dist/Text/index.d.mts +0 -58
- package/dist/TextArea/index.d.mts +0 -74
- package/dist/ThemeToggle/index.d.mts +0 -12
- package/dist/Toast/ToastStore/index.d.mts +0 -19
- package/dist/Toast/Toaster/index.d.mts +0 -16
- package/dist/Toast/index.d.mts +0 -17
- package/dist/VideoPlayer/index.d.mts +0 -52
- package/dist/Whiteboard/index.d.mts +0 -34
- package/dist/hooks/useMobile/index.d.mts +0 -29
- package/dist/hooks/useTheme/index.d.mts +0 -17
- package/dist/index.d.mts +0 -783
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
- package/dist/themeStore-P2X64zC-.d.ts +0 -79
- package/dist/types-DqZRjqxh.d.ts +0 -67
- package/dist/types-pd3QVhSu.d.mts +0 -67
- package/dist/utils/index.d.mts +0 -27
package/dist/Divider/index.d.mts
DELETED
|
@@ -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 };
|
package/dist/Input/index.d.mts
DELETED
|
@@ -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 };
|
package/dist/Menu/index.d.mts
DELETED
|
@@ -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 };
|
package/dist/Modal/index.d.mts
DELETED
|
@@ -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 };
|