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
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Statistics data item
|
|
5
|
-
*/
|
|
6
|
-
interface StatItem {
|
|
7
|
-
/** Statistic label */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Statistic value */
|
|
10
|
-
value: string | number;
|
|
11
|
-
/** Color variant */
|
|
12
|
-
variant: 'high' | 'medium' | 'low' | 'total';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Props for StatisticsCard component
|
|
16
|
-
*/
|
|
17
|
-
interface StatisticsCardProps {
|
|
18
|
-
/** Title displayed at the top of the card */
|
|
19
|
-
title: string;
|
|
20
|
-
/** Statistics data to display */
|
|
21
|
-
data?: StatItem[];
|
|
22
|
-
/** Show placeholder "-" in values when true (for created items without data yet) */
|
|
23
|
-
showPlaceholder?: boolean;
|
|
24
|
-
/** Message shown in empty state */
|
|
25
|
-
emptyStateMessage?: string;
|
|
26
|
-
/** Text for the empty state button */
|
|
27
|
-
emptyStateButtonText?: string;
|
|
28
|
-
/** Callback when empty state button is clicked */
|
|
29
|
-
onEmptyStateButtonClick?: () => void;
|
|
30
|
-
/** Optional dropdown options for filtering */
|
|
31
|
-
dropdownOptions?: Array<{
|
|
32
|
-
label: string;
|
|
33
|
-
value: string;
|
|
34
|
-
}>;
|
|
35
|
-
/** Currently selected dropdown value */
|
|
36
|
-
selectedDropdownValue?: string;
|
|
37
|
-
/** Callback when dropdown value changes */
|
|
38
|
-
onDropdownChange?: (value: string) => void;
|
|
39
|
-
/** Placeholder text for the dropdown select */
|
|
40
|
-
selectPlaceholder?: string;
|
|
41
|
-
/** Accessible label for the dropdown select */
|
|
42
|
-
dropdownAriaLabel?: string;
|
|
43
|
-
/** Additional CSS classes */
|
|
44
|
-
className?: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* StatisticsCard component - displays statistics with empty state support
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```tsx
|
|
51
|
-
* // With data
|
|
52
|
-
* <StatisticsCard
|
|
53
|
-
* title="Estatística das atividades"
|
|
54
|
-
* data={[
|
|
55
|
-
* { label: 'Acertos', value: '85%', variant: 'high' },
|
|
56
|
-
* { label: 'Em andamento', value: 12, variant: 'medium' },
|
|
57
|
-
* { label: 'Erros', value: '15%', variant: 'low' },
|
|
58
|
-
* { label: 'Concluídas', value: 24, variant: 'total' }
|
|
59
|
-
* ]}
|
|
60
|
-
* dropdownOptions={[
|
|
61
|
-
* { label: '1 ano', value: '1year' },
|
|
62
|
-
* { label: '6 meses', value: '6months' }
|
|
63
|
-
* ]}
|
|
64
|
-
* selectedDropdownValue="1year"
|
|
65
|
-
* onDropdownChange={(value) => console.log(value)}
|
|
66
|
-
* />
|
|
67
|
-
*
|
|
68
|
-
* // Empty state
|
|
69
|
-
* <StatisticsCard
|
|
70
|
-
* title="Estatística das atividades"
|
|
71
|
-
* emptyStateMessage="Sem dados por enquanto. Crie uma atividade para que os resultados apareçam aqui."
|
|
72
|
-
* emptyStateButtonText="Criar atividade"
|
|
73
|
-
* onEmptyStateButtonClick={() => console.log('Create activity')}
|
|
74
|
-
* />
|
|
75
|
-
* ```
|
|
76
|
-
*/
|
|
77
|
-
declare const StatisticsCard: ({ title, data, showPlaceholder, emptyStateMessage, emptyStateButtonText, onEmptyStateButtonClick, dropdownOptions, selectedDropdownValue, onDropdownChange, selectPlaceholder, dropdownAriaLabel, className, }: StatisticsCardProps) => react_jsx_runtime.JSX.Element;
|
|
78
|
-
|
|
79
|
-
export { StatisticsCard };
|
package/dist/Stepper/index.d.mts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Stepper size variants
|
|
5
|
-
*/
|
|
6
|
-
type StepperSize = 'small' | 'medium' | 'large' | 'extraLarge';
|
|
7
|
-
/**
|
|
8
|
-
* Step state variants
|
|
9
|
-
*/
|
|
10
|
-
type StepState = 'pending' | 'current' | 'completed';
|
|
11
|
-
/**
|
|
12
|
-
* Individual step data interface
|
|
13
|
-
*/
|
|
14
|
-
interface StepData {
|
|
15
|
-
/** Unique identifier for the step */
|
|
16
|
-
id: string;
|
|
17
|
-
/** Label text for the step */
|
|
18
|
-
label: string;
|
|
19
|
-
/** Current state of the step */
|
|
20
|
-
state: StepState;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Size configurations - Following design system pattern from CSS specifications
|
|
24
|
-
* Small size based on exact CSS: width 58px, height 38px, gap 8px
|
|
25
|
-
*/
|
|
26
|
-
declare const SIZE_CLASSES: {
|
|
27
|
-
readonly small: {
|
|
28
|
-
readonly container: "gap-2";
|
|
29
|
-
readonly stepWidth: "w-[58px]";
|
|
30
|
-
readonly stepHeight: "h-[38px]";
|
|
31
|
-
readonly indicator: "w-5 h-5";
|
|
32
|
-
readonly progressBar: "h-0.5";
|
|
33
|
-
readonly indicatorTextSize: "2xs";
|
|
34
|
-
readonly labelTextSize: "xs";
|
|
35
|
-
readonly iconSize: "w-3 h-3";
|
|
36
|
-
};
|
|
37
|
-
readonly medium: {
|
|
38
|
-
readonly container: "gap-3";
|
|
39
|
-
readonly stepWidth: "w-[110px]";
|
|
40
|
-
readonly stepHeight: "h-[48px]";
|
|
41
|
-
readonly indicator: "w-6 h-6";
|
|
42
|
-
readonly progressBar: "h-0.5";
|
|
43
|
-
readonly indicatorTextSize: "2xs";
|
|
44
|
-
readonly labelTextSize: "xs";
|
|
45
|
-
readonly iconSize: "w-3.5 h-3.5";
|
|
46
|
-
};
|
|
47
|
-
readonly large: {
|
|
48
|
-
readonly container: "gap-4";
|
|
49
|
-
readonly stepWidth: "w-[160px]";
|
|
50
|
-
readonly stepHeight: "h-[58px]";
|
|
51
|
-
readonly indicator: "w-7 h-7";
|
|
52
|
-
readonly progressBar: "h-1";
|
|
53
|
-
readonly indicatorTextSize: "xs";
|
|
54
|
-
readonly labelTextSize: "sm";
|
|
55
|
-
readonly iconSize: "w-4 h-4";
|
|
56
|
-
};
|
|
57
|
-
readonly extraLarge: {
|
|
58
|
-
readonly container: "gap-5";
|
|
59
|
-
readonly stepWidth: "w-[200px]";
|
|
60
|
-
readonly stepHeight: "h-[68px]";
|
|
61
|
-
readonly indicator: "w-8 h-8";
|
|
62
|
-
readonly progressBar: "h-1";
|
|
63
|
-
readonly indicatorTextSize: "xs";
|
|
64
|
-
readonly labelTextSize: "sm";
|
|
65
|
-
readonly iconSize: "w-[18px] h-[18px]";
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* State configurations using exact colors from CSS specs
|
|
70
|
-
* pending: #A3A3A3 = text-400 (etapa ainda não iniciada)
|
|
71
|
-
* current: #1C61B2 = primary-800 (etapa atual sendo preenchida) - baseado no CSS fornecido
|
|
72
|
-
* completed: #1C61B2 = primary-800 (etapa concluída)
|
|
73
|
-
* text color: #FEFEFF = text
|
|
74
|
-
*/
|
|
75
|
-
declare const STATE_CLASSES: {
|
|
76
|
-
readonly pending: {
|
|
77
|
-
readonly progressBar: "bg-text-400";
|
|
78
|
-
readonly indicator: "bg-text-400";
|
|
79
|
-
readonly indicatorText: "text-white";
|
|
80
|
-
readonly label: "text-text-400";
|
|
81
|
-
};
|
|
82
|
-
readonly current: {
|
|
83
|
-
readonly progressBar: "bg-primary-800";
|
|
84
|
-
readonly indicator: "bg-primary-800";
|
|
85
|
-
readonly indicatorText: "text-white";
|
|
86
|
-
readonly label: "text-primary-800";
|
|
87
|
-
};
|
|
88
|
-
readonly completed: {
|
|
89
|
-
readonly progressBar: "bg-primary-400";
|
|
90
|
-
readonly indicator: "bg-primary-400";
|
|
91
|
-
readonly indicatorText: "text-white";
|
|
92
|
-
readonly label: "text-primary-400";
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Type for size classes
|
|
97
|
-
*/
|
|
98
|
-
type SizeClassType = (typeof SIZE_CLASSES)[keyof typeof SIZE_CLASSES];
|
|
99
|
-
/**
|
|
100
|
-
* Type for state classes
|
|
101
|
-
*/
|
|
102
|
-
type StateClassType = (typeof STATE_CLASSES)[keyof typeof STATE_CLASSES];
|
|
103
|
-
/**
|
|
104
|
-
* Props for individual step component
|
|
105
|
-
*/
|
|
106
|
-
interface StepProps {
|
|
107
|
-
step: StepData;
|
|
108
|
-
index: number;
|
|
109
|
-
size: StepperSize;
|
|
110
|
-
sizeClasses: SizeClassType;
|
|
111
|
-
stateClasses: StateClassType;
|
|
112
|
-
isLast: boolean;
|
|
113
|
-
className?: string;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Individual Step component - Based on exact design specifications
|
|
117
|
-
* Layout: flex-column with progress bar at top, then icon+label row
|
|
118
|
-
* Fully responsive for mobile, tablets, and laptops
|
|
119
|
-
*/
|
|
120
|
-
declare const Step: ({ step, index, size: _size, sizeClasses, stateClasses, isLast: _isLast, className, }: StepProps) => react_jsx_runtime.JSX.Element;
|
|
121
|
-
/**
|
|
122
|
-
* Stepper component props interface
|
|
123
|
-
*/
|
|
124
|
-
type StepperProps = {
|
|
125
|
-
/** Array of step data */
|
|
126
|
-
steps: StepData[];
|
|
127
|
-
/** Size variant of the stepper */
|
|
128
|
-
size?: StepperSize;
|
|
129
|
-
/** Current active step index */
|
|
130
|
-
currentStep?: number;
|
|
131
|
-
/** Additional CSS classes */
|
|
132
|
-
className?: string;
|
|
133
|
-
/** Step container CSS classes */
|
|
134
|
-
stepClassName?: string;
|
|
135
|
-
/** Progress indicator (e.g., "Etapa 2 de 4") */
|
|
136
|
-
showProgress?: boolean;
|
|
137
|
-
/** Custom progress text */
|
|
138
|
-
progressText?: string;
|
|
139
|
-
/** Make stepper responsive (vertical on mobile) */
|
|
140
|
-
responsive?: boolean;
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* Stepper component for Analytica Ensino platforms
|
|
144
|
-
*
|
|
145
|
-
* A progress stepper component that displays a sequence of steps with different states.
|
|
146
|
-
* Follows the exact design specifications with proper spacing, colors, and layout.
|
|
147
|
-
* Fully responsive for mobile, tablets, and laptops.
|
|
148
|
-
*
|
|
149
|
-
* Design specifications:
|
|
150
|
-
* - Based on exact CSS specifications from Figma design
|
|
151
|
-
* - Fully responsive: mobile (320px+) -> tablets (640px+) -> laptops (1024px+)
|
|
152
|
-
* - Progressive sizing with responsive breakpoints that adapt to device type
|
|
153
|
-
* - Consistent gaps that scale with screen size and device capabilities
|
|
154
|
-
* - Consistent color scheme: pending (gray), current (dark blue), completed (light blue)
|
|
155
|
-
* - Responsive design with overflow scroll on smaller devices
|
|
156
|
-
* - Optimized text sizing and layout for each device category
|
|
157
|
-
*
|
|
158
|
-
* @example
|
|
159
|
-
* ```tsx
|
|
160
|
-
* // Basic stepper - automatically responsive for all devices
|
|
161
|
-
* <Stepper steps={steps} currentStep={1} />
|
|
162
|
-
*
|
|
163
|
-
* // Custom styling with full responsive behavior
|
|
164
|
-
* <Stepper steps={steps} size="medium" showProgress responsive />
|
|
165
|
-
* ```
|
|
166
|
-
*/
|
|
167
|
-
declare const Stepper: ({ steps: initialSteps, size, currentStep, className, stepClassName, showProgress, progressText, responsive, }: StepperProps) => react_jsx_runtime.JSX.Element;
|
|
168
|
-
|
|
169
|
-
export { Step, type StepData, type StepperProps, Stepper as default };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
declare enum SubjectEnum {
|
|
4
|
-
FISICA = "F\u00EDsica",
|
|
5
|
-
HISTORIA = "Hist\u00F3ria",
|
|
6
|
-
LITERATURA = "Literatura",
|
|
7
|
-
GEOGRAFIA = "Geografia",
|
|
8
|
-
BIOLOGIA = "Biologia",
|
|
9
|
-
PORTUGUES = "Portugu\u00EAs",
|
|
10
|
-
QUIMICA = "Qu\u00EDmica",
|
|
11
|
-
ARTES = "Artes",
|
|
12
|
-
MATEMATICA = "Matem\u00E1tica",
|
|
13
|
-
FILOSOFIA = "Filosofia",
|
|
14
|
-
ESPANHOL = "Espanhol",
|
|
15
|
-
REDACAO = "Reda\u00E7\u00E3o",
|
|
16
|
-
SOCIOLOGIA = "Sociologia",
|
|
17
|
-
INGLES = "Ingl\u00EAs",
|
|
18
|
-
EDUCACAO_FISICA = "Ed. F\u00EDsica",
|
|
19
|
-
TRILHAS = "Trilhas"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface IconProps {
|
|
23
|
-
size?: number;
|
|
24
|
-
color?: string;
|
|
25
|
-
}
|
|
26
|
-
interface SubjectData {
|
|
27
|
-
icon: ReactElement<IconProps>;
|
|
28
|
-
colorClass: string;
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
declare const SubjectInfo: Record<SubjectEnum, SubjectData>;
|
|
32
|
-
declare const getSubjectInfo: (subject: SubjectEnum) => SubjectData;
|
|
33
|
-
declare const getSubjectIcon: (subject: SubjectEnum) => ReactElement;
|
|
34
|
-
declare const getSubjectColorClass: (subject: SubjectEnum) => string;
|
|
35
|
-
declare const getSubjectName: (subject: SubjectEnum) => string;
|
|
36
|
-
|
|
37
|
-
export { type IconProps as I, SubjectInfo as S, getSubjectIcon as a, getSubjectColorClass as b, getSubjectName as c, type SubjectData as d, SubjectEnum as e, getSubjectInfo as g };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
declare enum SubjectEnum {
|
|
4
|
-
FISICA = "F\u00EDsica",
|
|
5
|
-
HISTORIA = "Hist\u00F3ria",
|
|
6
|
-
LITERATURA = "Literatura",
|
|
7
|
-
GEOGRAFIA = "Geografia",
|
|
8
|
-
BIOLOGIA = "Biologia",
|
|
9
|
-
PORTUGUES = "Portugu\u00EAs",
|
|
10
|
-
QUIMICA = "Qu\u00EDmica",
|
|
11
|
-
ARTES = "Artes",
|
|
12
|
-
MATEMATICA = "Matem\u00E1tica",
|
|
13
|
-
FILOSOFIA = "Filosofia",
|
|
14
|
-
ESPANHOL = "Espanhol",
|
|
15
|
-
REDACAO = "Reda\u00E7\u00E3o",
|
|
16
|
-
SOCIOLOGIA = "Sociologia",
|
|
17
|
-
INGLES = "Ingl\u00EAs",
|
|
18
|
-
EDUCACAO_FISICA = "Ed. F\u00EDsica",
|
|
19
|
-
TRILHAS = "Trilhas"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface IconProps {
|
|
23
|
-
size?: number;
|
|
24
|
-
color?: string;
|
|
25
|
-
}
|
|
26
|
-
interface SubjectData {
|
|
27
|
-
icon: ReactElement<IconProps>;
|
|
28
|
-
colorClass: string;
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
declare const SubjectInfo: Record<SubjectEnum, SubjectData>;
|
|
32
|
-
declare const getSubjectInfo: (subject: SubjectEnum) => SubjectData;
|
|
33
|
-
declare const getSubjectIcon: (subject: SubjectEnum) => ReactElement;
|
|
34
|
-
declare const getSubjectColorClass: (subject: SubjectEnum) => string;
|
|
35
|
-
declare const getSubjectName: (subject: SubjectEnum) => string;
|
|
36
|
-
|
|
37
|
-
export { type IconProps as I, SubjectInfo as S, getSubjectIcon as a, getSubjectColorClass as b, getSubjectName as c, type SubjectData as d, SubjectEnum as e, getSubjectInfo as g };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { HTMLAttributes } from 'react';
|
|
3
|
-
|
|
4
|
-
interface TablePaginationProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* Total number of items
|
|
7
|
-
*/
|
|
8
|
-
totalItems: number;
|
|
9
|
-
/**
|
|
10
|
-
* Current page (1-based)
|
|
11
|
-
*/
|
|
12
|
-
currentPage: number;
|
|
13
|
-
/**
|
|
14
|
-
* Total number of pages
|
|
15
|
-
*/
|
|
16
|
-
totalPages: number;
|
|
17
|
-
/**
|
|
18
|
-
* Items per page
|
|
19
|
-
*/
|
|
20
|
-
itemsPerPage: number;
|
|
21
|
-
/**
|
|
22
|
-
* Available options for items per page
|
|
23
|
-
* @default [10, 20, 50, 100]
|
|
24
|
-
*/
|
|
25
|
-
itemsPerPageOptions?: number[];
|
|
26
|
-
/**
|
|
27
|
-
* Callback when page changes
|
|
28
|
-
*/
|
|
29
|
-
onPageChange: (page: number) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Callback when items per page changes
|
|
32
|
-
*/
|
|
33
|
-
onItemsPerPageChange?: (itemsPerPage: number) => void;
|
|
34
|
-
/**
|
|
35
|
-
* Customizable label for items (e.g., "escolas", "alunos", "atividades")
|
|
36
|
-
* @default "itens"
|
|
37
|
-
*/
|
|
38
|
-
itemLabel?: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Table pagination component with navigation controls and items per page selector
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```tsx
|
|
45
|
-
* import { TablePagination } from 'analytica-frontend-lib';
|
|
46
|
-
*
|
|
47
|
-
* <TablePagination
|
|
48
|
-
* totalItems={1000}
|
|
49
|
-
* currentPage={1}
|
|
50
|
-
* totalPages={10}
|
|
51
|
-
* itemsPerPage={10}
|
|
52
|
-
* itemsPerPageOptions={[10, 20, 50, 100]}
|
|
53
|
-
* onPageChange={(page) => setCurrentPage(page)}
|
|
54
|
-
* onItemsPerPageChange={(items) => setItemsPerPage(items)}
|
|
55
|
-
* itemLabel="escolas"
|
|
56
|
-
* />
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
|
-
declare const TablePagination: {
|
|
60
|
-
({ totalItems, currentPage, totalPages, itemsPerPage, itemsPerPageOptions, onPageChange, onItemsPerPageChange, itemLabel, className, ...props }: TablePaginationProps): react_jsx_runtime.JSX.Element;
|
|
61
|
-
displayName: string;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export { type TablePaginationProps, TablePagination as default };
|
package/dist/Table/index.d.mts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import react__default, { HTMLAttributes, ThHTMLAttributes } from 'react';
|
|
2
|
-
import { L as LoadingStateConfig, N as NoSearchResultConfig, E as EmptyStateConfig } from '../TableProvider-BnAnv3OV.mjs';
|
|
3
|
-
export { default as TablePagination, TablePaginationProps } from './TablePagination/index.mjs';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import '../CheckBoxGroup-9n5C0OH4.mjs';
|
|
6
|
-
|
|
7
|
-
type TableVariant = 'default' | 'borderless';
|
|
8
|
-
type TableRowState = 'default' | 'selected' | 'invalid' | 'disabled';
|
|
9
|
-
type SortDirection = 'asc' | 'desc' | null;
|
|
10
|
-
interface UseTableSortOptions {
|
|
11
|
-
/** Se true, sincroniza o estado de ordenação com os parâmetros da URL */
|
|
12
|
-
syncWithUrl?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Hook para gerenciar ordenação de dados da tabela
|
|
16
|
-
*
|
|
17
|
-
* @param data - Array de dados a serem ordenados
|
|
18
|
-
* @param options - Opções de configuração do hook
|
|
19
|
-
* @returns Objeto com dados ordenados, coluna/direção atual e função de sort
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* const activities = [
|
|
24
|
-
* { id: 1, name: 'Task A', date: '2024-01-01' },
|
|
25
|
-
* { id: 2, name: 'Task B', date: '2024-01-02' },
|
|
26
|
-
* ];
|
|
27
|
-
*
|
|
28
|
-
* // Sem sincronização com URL
|
|
29
|
-
* const { sortedData, sortColumn, sortDirection, handleSort } = useTableSort(activities);
|
|
30
|
-
*
|
|
31
|
-
* // Com sincronização com URL
|
|
32
|
-
* const { sortedData, sortColumn, sortDirection, handleSort } = useTableSort(activities, { syncWithUrl: true });
|
|
33
|
-
*
|
|
34
|
-
* <TableHead
|
|
35
|
-
* sortDirection={sortColumn === 'name' ? sortDirection : null}
|
|
36
|
-
* onSort={() => handleSort('name')}
|
|
37
|
-
* >
|
|
38
|
-
* Name
|
|
39
|
-
* </TableHead>
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
declare function useTableSort<T extends Record<string, unknown>>(data: T[], options?: UseTableSortOptions): {
|
|
43
|
-
sortedData: T[];
|
|
44
|
-
sortColumn: string | null;
|
|
45
|
-
sortDirection: SortDirection;
|
|
46
|
-
handleSort: (column: string) => void;
|
|
47
|
-
};
|
|
48
|
-
interface TableProps extends HTMLAttributes<HTMLTableElement> {
|
|
49
|
-
variant?: TableVariant;
|
|
50
|
-
/** Show loading state (controlled by TableProvider) */
|
|
51
|
-
showLoading?: boolean;
|
|
52
|
-
/** Loading state configuration */
|
|
53
|
-
loadingState?: LoadingStateConfig;
|
|
54
|
-
/** Show no search result state (controlled by TableProvider) */
|
|
55
|
-
showNoSearchResult?: boolean;
|
|
56
|
-
/** No search result state configuration */
|
|
57
|
-
noSearchResultState?: NoSearchResultConfig;
|
|
58
|
-
/** Show empty state (controlled by TableProvider) */
|
|
59
|
-
showEmpty?: boolean;
|
|
60
|
-
/** Empty state configuration */
|
|
61
|
-
emptyState?: EmptyStateConfig;
|
|
62
|
-
}
|
|
63
|
-
interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
64
|
-
state?: TableRowState;
|
|
65
|
-
}
|
|
66
|
-
declare const Table: react__default.ForwardRefExoticComponent<TableProps & react__default.RefAttributes<HTMLTableElement>>;
|
|
67
|
-
declare const TableHeader: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & react__default.RefAttributes<HTMLTableSectionElement>>;
|
|
68
|
-
interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
69
|
-
variant?: TableVariant;
|
|
70
|
-
}
|
|
71
|
-
declare const TableBody: react__default.ForwardRefExoticComponent<TableBodyProps & react__default.RefAttributes<HTMLTableSectionElement>>;
|
|
72
|
-
interface TableFooterProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
73
|
-
variant?: TableVariant;
|
|
74
|
-
}
|
|
75
|
-
declare const TableFooter: react__default.ForwardRefExoticComponent<TableFooterProps & react__default.RefAttributes<HTMLTableSectionElement>>;
|
|
76
|
-
interface TableRowPropsExtended extends TableRowProps {
|
|
77
|
-
variant?: TableVariant | 'defaultBorderless';
|
|
78
|
-
clickable?: boolean;
|
|
79
|
-
}
|
|
80
|
-
declare const TableRow: react__default.ForwardRefExoticComponent<TableRowPropsExtended & react__default.RefAttributes<HTMLTableRowElement>>;
|
|
81
|
-
interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
82
|
-
/** Enable sorting on this column (default: true) */
|
|
83
|
-
sortable?: boolean;
|
|
84
|
-
/** Current sort direction for this column */
|
|
85
|
-
sortDirection?: SortDirection;
|
|
86
|
-
/** Callback when column header is clicked */
|
|
87
|
-
onSort?: () => void;
|
|
88
|
-
}
|
|
89
|
-
declare const TableHead: react__default.ForwardRefExoticComponent<TableHeadProps & react__default.RefAttributes<HTMLTableCellElement>>;
|
|
90
|
-
declare const TableCell: react__default.ForwardRefExoticComponent<react__default.TdHTMLAttributes<HTMLTableCellElement> & react__default.RefAttributes<HTMLTableCellElement>>;
|
|
91
|
-
declare const TableCaption: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableCaptionElement> & react__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
92
|
-
|
|
93
|
-
export { type SortDirection, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type UseTableSortOptions, Table as default, useTableSort };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
|
-
import 'react';
|
|
3
|
-
export { C as ColumnConfig, E as EmptyStateConfig, L as LoadingStateConfig, N as NoSearchResultConfig, P as PaginationConfig, d as TableComponents, b as TableParams, T as TableProvider, c as TableProviderProps, T as default } from '../TableProvider-BnAnv3OV.mjs';
|
|
4
|
-
import '../CheckBoxGroup-9n5C0OH4.mjs';
|