analytica-frontend-lib 1.2.25 → 1.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordation/index.d.ts +4 -5
- package/dist/Accordation/index.d.ts.map +1 -0
- 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 +7389 -0
- package/dist/ActivityDetails/index.js.map +1 -0
- package/dist/ActivityDetails/index.mjs +7438 -0
- package/dist/ActivityDetails/index.mjs.map +1 -0
- package/dist/ActivityFilters/index.css +112 -0
- package/dist/ActivityFilters/index.css.map +1 -1
- package/dist/ActivityFilters/index.d.ts +44 -5
- package/dist/ActivityFilters/index.d.ts.map +1 -0
- package/dist/ActivityFilters/index.js +67 -33
- package/dist/ActivityFilters/index.js.map +1 -1
- package/dist/ActivityFilters/index.mjs +89 -55
- package/dist/ActivityFilters/index.mjs.map +1 -1
- package/dist/Alert/index.d.ts +3 -5
- package/dist/Alert/index.d.ts.map +1 -0
- package/dist/AlertDialog/index.d.ts +2 -4
- package/dist/AlertDialog/index.d.ts.map +1 -0
- package/dist/AlertManager/index.css +112 -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 +56 -22
- package/dist/AlertManager/index.js.map +1 -1
- package/dist/AlertManager/index.mjs +78 -44
- 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/Alternative/index.d.ts +6 -9
- package/dist/Alternative/index.d.ts.map +1 -0
- 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/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/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/Calendar/index.d.ts +9 -11
- package/dist/Calendar/index.d.ts.map +1 -0
- package/dist/Card/index.d.ts +17 -19
- package/dist/Card/index.d.ts.map +1 -0
- package/dist/CheckBox/index.d.ts +6 -8
- package/dist/CheckBox/index.d.ts.map +1 -0
- package/dist/Chips/index.d.ts +4 -6
- package/dist/Chips/index.d.ts.map +1 -0
- 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/DownloadButton/index.d.ts +5 -7
- package/dist/DownloadButton/index.d.ts.map +1 -0
- package/dist/DropdownMenu/index.d.ts +26 -28
- package/dist/DropdownMenu/index.d.ts.map +1 -0
- package/dist/EmptyState/index.d.ts +5 -7
- package/dist/EmptyState/index.d.ts.map +1 -0
- 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/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/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/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/Modal/index.d.ts +3 -5
- package/dist/Modal/index.d.ts.map +1 -0
- 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/NavButton/index.d.ts +5 -7
- package/dist/NavButton/index.d.ts.map +1 -0
- package/dist/NoSearchResult/index.d.ts +4 -6
- package/dist/NoSearchResult/index.d.ts.map +1 -0
- package/dist/NotFound/index.d.ts +4 -6
- package/dist/NotFound/index.d.ts.map +1 -0
- package/dist/NotificationCard/index.d.ts +218 -3
- package/dist/NotificationCard/index.d.ts.map +1 -0
- package/dist/ProgressBar/index.d.ts +4 -6
- package/dist/ProgressBar/index.d.ts.map +1 -0
- package/dist/ProgressCircle/index.d.ts +4 -6
- package/dist/ProgressCircle/index.d.ts.map +1 -0
- package/dist/Quiz/index.d.ts +19 -23
- package/dist/Quiz/index.d.ts.map +1 -0
- 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/Search/index.d.ts +4 -6
- package/dist/Search/index.d.ts.map +1 -0
- package/dist/Select/index.d.ts +12 -14
- package/dist/Select/index.d.ts.map +1 -0
- package/dist/SelectionButton/index.d.ts +5 -7
- package/dist/SelectionButton/index.d.ts.map +1 -0
- package/dist/Skeleton/index.d.ts +10 -12
- package/dist/Skeleton/index.d.ts.map +1 -0
- package/dist/StatisticsCard/index.d.ts +3 -5
- package/dist/StatisticsCard/index.d.ts.map +1 -0
- package/dist/Stepper/index.d.ts +6 -8
- package/dist/Stepper/index.d.ts.map +1 -0
- 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/index.d.ts +18 -19
- package/dist/Table/index.d.ts.map +1 -0
- package/dist/TableProvider/index.css +112 -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 +56 -22
- package/dist/TableProvider/index.js.map +1 -1
- package/dist/TableProvider/index.mjs +78 -44
- 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/TextArea/index.d.ts +6 -8
- package/dist/TextArea/index.d.ts.map +1 -0
- package/dist/ThemeToggle/index.d.ts +4 -8
- package/dist/ThemeToggle/index.d.ts.map +1 -0
- 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/index.d.ts +3 -5
- package/dist/Toast/index.d.ts.map +1 -0
- package/dist/VideoPlayer/index.d.ts +4 -6
- package/dist/VideoPlayer/index.d.ts.map +1 -0
- package/dist/Whiteboard/index.d.ts +5 -7
- package/dist/Whiteboard/index.d.ts.map +1 -0
- 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 +112 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +127 -789
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9031 -7012
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9093 -7085
- 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.ts → store/themeStore.d.ts} +8 -12
- package/dist/store/themeStore.d.ts.map +1 -0
- package/dist/styles.css +112 -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 -43
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/keys.d.ts +24 -0
- package/dist/utils/keys.d.ts.map +1 -0
- package/package.json +20 -4
- package/dist/Accordation/index.d.mts +0 -15
- package/dist/ActivityFilters/index.d.mts +0 -5
- package/dist/ActivityFilters-Cs3TpGAY.d.ts +0 -97
- package/dist/ActivityFilters-CsX8y41f.d.mts +0 -97
- 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 -789
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
- package/dist/themeStore-P2X64zC-.d.mts +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 -51
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 };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ReactNode, ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* NavButton component for Analytica Ensino platforms
|
|
6
|
-
*
|
|
7
|
-
* Um botão de navegação com ícone e texto para navegação principal.
|
|
8
|
-
* Ideal para menus de navegação, sidebar, tabs de navegação, etc.
|
|
9
|
-
* Suporta forwardRef para acesso programático ao elemento DOM.
|
|
10
|
-
*
|
|
11
|
-
* @param icon - O ícone a ser exibido no botão
|
|
12
|
-
* @param label - O texto/label a ser exibido
|
|
13
|
-
* @param selected - Estado de seleção do botão
|
|
14
|
-
* @param className - Classes CSS adicionais
|
|
15
|
-
* @param props - Todos os outros atributos HTML padrão de button
|
|
16
|
-
* @returns Um elemento button estilizado para navegação
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* <NavButton
|
|
21
|
-
* icon={<HomeIcon />}
|
|
22
|
-
* label="Início"
|
|
23
|
-
* selected={false}
|
|
24
|
-
* onClick={() => navigate('/')}
|
|
25
|
-
* />
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```tsx
|
|
30
|
-
* // Usando ref para foco programático
|
|
31
|
-
* const buttonRef = useRef<HTMLButtonElement>(null);
|
|
32
|
-
*
|
|
33
|
-
* const handleFocus = () => {
|
|
34
|
-
* buttonRef.current?.focus();
|
|
35
|
-
* };
|
|
36
|
-
*
|
|
37
|
-
* <NavButton
|
|
38
|
-
* ref={buttonRef}
|
|
39
|
-
* icon={<HomeIcon />}
|
|
40
|
-
* label="Dashboard"
|
|
41
|
-
* selected={isActive}
|
|
42
|
-
* onClick={() => setActiveTab('dashboard')}
|
|
43
|
-
* />
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
declare const NavButton: react.ForwardRefExoticComponent<{
|
|
47
|
-
/** Ícone a ser exibido no botão */
|
|
48
|
-
icon: ReactNode;
|
|
49
|
-
/** Texto/label a ser exibido ao lado do ícone */
|
|
50
|
-
label: string;
|
|
51
|
-
/** Estado de seleção do botão */
|
|
52
|
-
selected?: boolean;
|
|
53
|
-
/** Additional CSS classes to apply */
|
|
54
|
-
className?: string;
|
|
55
|
-
} & ButtonHTMLAttributes<HTMLButtonElement> & react.RefAttributes<HTMLButtonElement>>;
|
|
56
|
-
|
|
57
|
-
export { NavButton as default };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface NoSearchResultProps {
|
|
4
|
-
/**
|
|
5
|
-
* Image source for the illustration
|
|
6
|
-
*/
|
|
7
|
-
image: string;
|
|
8
|
-
/**
|
|
9
|
-
* Title text to display
|
|
10
|
-
* @default "Nenhum resultado encontrado"
|
|
11
|
-
*/
|
|
12
|
-
title?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Description text to display below the title
|
|
15
|
-
* @default "Não encontramos nenhum resultado com esse nome. Tente revisar a busca ou usar outra palavra-chave."
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Component displayed when no search results are found
|
|
21
|
-
* Shows an illustration with customizable title and description in horizontal layout
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```tsx
|
|
25
|
-
* import { NoSearchResult } from 'analytica-frontend-lib';
|
|
26
|
-
* import noSearchImage from './assets/no-search.png';
|
|
27
|
-
*
|
|
28
|
-
* <NoSearchResult
|
|
29
|
-
* image={noSearchImage}
|
|
30
|
-
* title="Nenhum resultado encontrado"
|
|
31
|
-
* description="Tente usar outros filtros"
|
|
32
|
-
* />
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
declare const NoSearchResult: ({ image, title, description }: NoSearchResultProps) => react_jsx_runtime.JSX.Element;
|
|
36
|
-
|
|
37
|
-
export { type NoSearchResultProps, NoSearchResult as default };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Props interface for the NotFound component
|
|
5
|
-
*
|
|
6
|
-
* @interface NotFoundProps
|
|
7
|
-
* @property {string} [title] - Custom title text (default: "Página não encontrada")
|
|
8
|
-
* @property {string} [description] - Custom description text
|
|
9
|
-
* @property {string} [buttonText] - Custom button text (default: "Voltar")
|
|
10
|
-
* @property {() => void} [onButtonClick] - Callback function for button click
|
|
11
|
-
* @property {string} [className] - Additional CSS classes for the container
|
|
12
|
-
* @property {'404' | '500' | 'custom'} [errorType] - Type of error to display (default: '404')
|
|
13
|
-
* @property {string} [customErrorCode] - Custom error code when errorType is 'custom'
|
|
14
|
-
*/
|
|
15
|
-
interface NotFoundProps {
|
|
16
|
-
title?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
buttonText?: string;
|
|
19
|
-
onButtonClick?: () => void;
|
|
20
|
-
className?: string;
|
|
21
|
-
errorType?: '404' | '500' | 'custom';
|
|
22
|
-
customErrorCode?: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* NotFound component for displaying error pages
|
|
26
|
-
*
|
|
27
|
-
* A reusable component for displaying 404, 500, or custom error pages
|
|
28
|
-
* with configurable content and navigation button.
|
|
29
|
-
*
|
|
30
|
-
* @param {NotFoundProps} props - The component props
|
|
31
|
-
* @returns {JSX.Element} The NotFound component
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```typescript
|
|
35
|
-
* // Basic 404 page
|
|
36
|
-
* <NotFound onButtonClick={() => navigate('/dashboard')} />
|
|
37
|
-
*
|
|
38
|
-
* // Custom error page
|
|
39
|
-
* <NotFound
|
|
40
|
-
* errorType="500"
|
|
41
|
-
* title="Erro interno do servidor"
|
|
42
|
-
* description="Algo deu errado. Tente novamente mais tarde."
|
|
43
|
-
* buttonText="Tentar novamente"
|
|
44
|
-
* onButtonClick={() => window.location.reload()}
|
|
45
|
-
* />
|
|
46
|
-
*
|
|
47
|
-
* // Custom error code
|
|
48
|
-
* <NotFound
|
|
49
|
-
* errorType="custom"
|
|
50
|
-
* customErrorCode="403"
|
|
51
|
-
* title="Acesso negado"
|
|
52
|
-
* description="Você não tem permissão para acessar esta página."
|
|
53
|
-
* />
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
declare const NotFound: ({ title, description, buttonText, onButtonClick, className, errorType, customErrorCode, }: NotFoundProps) => react_jsx_runtime.JSX.Element;
|
|
57
|
-
|
|
58
|
-
export { type NotFoundProps, NotFound as default };
|