analytica-frontend-lib 1.0.89 → 1.0.91
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 +1 -0
- package/dist/Alert/index.d.ts +1 -0
- package/dist/AlertDialog/index.d.ts +1 -0
- package/dist/Alternative/index.d.ts +1 -0
- package/dist/Auth/AuthProvider/index.d.ts +1 -0
- package/dist/Auth/ProtectedRoute/index.d.ts +1 -0
- package/dist/Auth/PublicRoute/index.d.ts +1 -0
- package/dist/Auth/getRootDomain/index.d.ts +1 -0
- package/dist/Auth/index.d.ts +1 -0
- package/dist/Auth/useApiConfig/index.d.ts +1 -0
- package/dist/Auth/useAuth/index.d.ts +1 -0
- package/dist/Auth/useAuthGuard/index.d.ts +1 -0
- package/dist/Auth/useRouteAuth/index.d.ts +1 -0
- package/dist/Auth/useUrlAuthentication/index.d.ts +1 -0
- package/dist/Auth/withAuth/index.d.ts +1 -0
- package/dist/Auth/zustandAuthAdapter/index.d.ts +1 -0
- package/dist/Badge/index.d.ts +1 -0
- package/dist/Button/index.d.ts +1 -0
- package/dist/Calendar/index.d.ts +1 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/CheckBox/CheckboxList/index.d.ts +1 -0
- package/dist/CheckBox/index.d.ts +1 -0
- package/dist/Chips/index.d.ts +1 -0
- package/dist/Divider/index.d.ts +1 -0
- package/dist/DropdownMenu/index.d.ts +1 -0
- package/dist/IconButton/index.d.ts +1 -0
- package/dist/IconRoundedButton/index.d.ts +1 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Menu/index.d.ts +1 -0
- package/dist/Modal/index.d.ts +1 -0
- package/dist/MultipleChoice/index.d.ts +1 -0
- package/dist/NavButton/index.d.ts +1 -0
- package/dist/NotFound/index.d.ts +1 -0
- package/dist/ProgressBar/index.d.ts +1 -0
- package/dist/ProgressCircle/index.d.ts +1 -0
- package/dist/Quiz/index.d.ts +1 -0
- package/dist/Quiz/useQuizStore/index.d.ts +1 -0
- package/dist/Radio/index.d.ts +1 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/SelectionButton/index.d.ts +1 -0
- package/dist/Skeleton/index.d.ts +1 -0
- package/dist/Stepper/index.d.ts +1 -0
- package/dist/Table/index.d.ts +1 -0
- package/dist/Text/index.d.ts +1 -0
- package/dist/TextArea/index.d.ts +1 -0
- package/dist/Toast/ToastStore/index.d.ts +1 -0
- package/dist/Toast/Toaster/index.d.ts +1 -0
- package/dist/Toast/index.d.ts +1 -0
- package/dist/index.d.mts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +21 -0
- package/dist/index.mjs +18 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../index';
|
package/dist/index.d.mts
CHANGED
|
@@ -1178,6 +1178,12 @@ interface AlternativesListProps {
|
|
|
1178
1178
|
* ```
|
|
1179
1179
|
*/
|
|
1180
1180
|
declare const AlternativesList: ({ alternatives, name, defaultValue, value, onValueChange, disabled, layout, className, mode, selectedValue, }: AlternativesListProps) => react_jsx_runtime.JSX.Element;
|
|
1181
|
+
interface HeaderAlternativeProps extends HTMLAttributes<HTMLDivElement> {
|
|
1182
|
+
title: string;
|
|
1183
|
+
subTitle: string;
|
|
1184
|
+
content: string;
|
|
1185
|
+
}
|
|
1186
|
+
declare const HeaderAlternative: react.ForwardRefExoticComponent<HeaderAlternativeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1181
1187
|
|
|
1182
1188
|
interface AlertDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
1183
1189
|
/** Title of the alert dialog */
|
|
@@ -1364,6 +1370,9 @@ interface MenuItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
|
1364
1370
|
separator?: boolean;
|
|
1365
1371
|
}
|
|
1366
1372
|
declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
1373
|
+
declare const MenuItemIcon: ({ className, icon, ...props }: HTMLAttributes<HTMLSpanElement> & {
|
|
1374
|
+
icon: ReactNode;
|
|
1375
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1367
1376
|
interface MenuOverflowProps extends HTMLAttributes<HTMLDivElement> {
|
|
1368
1377
|
children: ReactNode;
|
|
1369
1378
|
defaultValue: string;
|
|
@@ -1436,6 +1445,24 @@ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1436
1445
|
label?: string;
|
|
1437
1446
|
}
|
|
1438
1447
|
declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
|
|
1448
|
+
interface CardAudioProps extends HTMLAttributes<HTMLDivElement> {
|
|
1449
|
+
src?: string;
|
|
1450
|
+
title?: string;
|
|
1451
|
+
onPlay?: () => void;
|
|
1452
|
+
onPause?: () => void;
|
|
1453
|
+
onEnded?: () => void;
|
|
1454
|
+
onAudioTimeUpdate?: (currentTime: number, duration: number) => void;
|
|
1455
|
+
loop?: boolean;
|
|
1456
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
1457
|
+
tracks?: Array<{
|
|
1458
|
+
kind: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
1459
|
+
src: string;
|
|
1460
|
+
srcLang: string;
|
|
1461
|
+
label: string;
|
|
1462
|
+
default?: boolean;
|
|
1463
|
+
}>;
|
|
1464
|
+
}
|
|
1465
|
+
declare const CardAudio: react.ForwardRefExoticComponent<CardAudioProps & react.RefAttributes<HTMLDivElement>>;
|
|
1439
1466
|
interface CardSimuladoProps extends HTMLAttributes<HTMLDivElement> {
|
|
1440
1467
|
title: string;
|
|
1441
1468
|
duration?: string;
|
|
@@ -2202,4 +2229,4 @@ declare const QuizListResultByMateria: ({ subject, onQuestionClick, }: {
|
|
|
2202
2229
|
onQuestionClick: (question: Question) => void;
|
|
2203
2230
|
}) => react_jsx_runtime.JSX.Element;
|
|
2204
2231
|
|
|
2205
|
-
export { Alert, AlertDialog, AlternativesList, AuthProvider, Badge, Button, Calendar, CardAccordation, CardActivitiesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic, CheckBox, CheckboxList, CheckboxListItem, Chips, Divider, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, IconButton, IconRoundedButton, Input, Menu, MenuContent, MenuItem, MenuLabel, MenuOverflow, Modal, MultipleChoiceList, NavButton, NotFound, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProgressBar, ProgressCircle, ProtectedRoute, PublicRoute, Quiz, QuizAlternative, QuizContent, QuizFooter, QuizHeader, QuizHeaderResult, QuizListResult, QuizListResultByMateria, QuizQuestionList, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTitle, Radio, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectionButton, Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText, Stepper, Table, Text, TextArea, Toast, Toaster, createZustandAuthAdapter, getRootDomain, useApiConfig, useAuth, useAuthGuard, useQuizStore, useRouteAuth, useToastStore, useUrlAuthentication, withAuth };
|
|
2232
|
+
export { Alert, AlertDialog, AlternativesList, AuthProvider, Badge, Button, Calendar, CardAccordation, CardActivitiesResults, CardAudio, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic, CheckBox, CheckboxList, CheckboxListItem, Chips, Divider, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, HeaderAlternative, IconButton, IconRoundedButton, Input, Menu, MenuContent, MenuItem, MenuItemIcon, MenuLabel, MenuOverflow, Modal, MultipleChoiceList, NavButton, NotFound, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProgressBar, ProgressCircle, ProtectedRoute, PublicRoute, Quiz, QuizAlternative, QuizContent, QuizFooter, QuizHeader, QuizHeaderResult, QuizListResult, QuizListResultByMateria, QuizQuestionList, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTitle, Radio, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectionButton, Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText, Stepper, Table, Text, TextArea, Toast, Toaster, createZustandAuthAdapter, getRootDomain, useApiConfig, useAuth, useAuthGuard, useQuizStore, useRouteAuth, useToastStore, useUrlAuthentication, withAuth };
|
package/dist/index.d.ts
CHANGED
|
@@ -1178,6 +1178,12 @@ interface AlternativesListProps {
|
|
|
1178
1178
|
* ```
|
|
1179
1179
|
*/
|
|
1180
1180
|
declare const AlternativesList: ({ alternatives, name, defaultValue, value, onValueChange, disabled, layout, className, mode, selectedValue, }: AlternativesListProps) => react_jsx_runtime.JSX.Element;
|
|
1181
|
+
interface HeaderAlternativeProps extends HTMLAttributes<HTMLDivElement> {
|
|
1182
|
+
title: string;
|
|
1183
|
+
subTitle: string;
|
|
1184
|
+
content: string;
|
|
1185
|
+
}
|
|
1186
|
+
declare const HeaderAlternative: react.ForwardRefExoticComponent<HeaderAlternativeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1181
1187
|
|
|
1182
1188
|
interface AlertDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
1183
1189
|
/** Title of the alert dialog */
|
|
@@ -1364,6 +1370,9 @@ interface MenuItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
|
1364
1370
|
separator?: boolean;
|
|
1365
1371
|
}
|
|
1366
1372
|
declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
1373
|
+
declare const MenuItemIcon: ({ className, icon, ...props }: HTMLAttributes<HTMLSpanElement> & {
|
|
1374
|
+
icon: ReactNode;
|
|
1375
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1367
1376
|
interface MenuOverflowProps extends HTMLAttributes<HTMLDivElement> {
|
|
1368
1377
|
children: ReactNode;
|
|
1369
1378
|
defaultValue: string;
|
|
@@ -1436,6 +1445,24 @@ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1436
1445
|
label?: string;
|
|
1437
1446
|
}
|
|
1438
1447
|
declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
|
|
1448
|
+
interface CardAudioProps extends HTMLAttributes<HTMLDivElement> {
|
|
1449
|
+
src?: string;
|
|
1450
|
+
title?: string;
|
|
1451
|
+
onPlay?: () => void;
|
|
1452
|
+
onPause?: () => void;
|
|
1453
|
+
onEnded?: () => void;
|
|
1454
|
+
onAudioTimeUpdate?: (currentTime: number, duration: number) => void;
|
|
1455
|
+
loop?: boolean;
|
|
1456
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
1457
|
+
tracks?: Array<{
|
|
1458
|
+
kind: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
1459
|
+
src: string;
|
|
1460
|
+
srcLang: string;
|
|
1461
|
+
label: string;
|
|
1462
|
+
default?: boolean;
|
|
1463
|
+
}>;
|
|
1464
|
+
}
|
|
1465
|
+
declare const CardAudio: react.ForwardRefExoticComponent<CardAudioProps & react.RefAttributes<HTMLDivElement>>;
|
|
1439
1466
|
interface CardSimuladoProps extends HTMLAttributes<HTMLDivElement> {
|
|
1440
1467
|
title: string;
|
|
1441
1468
|
duration?: string;
|
|
@@ -2202,4 +2229,4 @@ declare const QuizListResultByMateria: ({ subject, onQuestionClick, }: {
|
|
|
2202
2229
|
onQuestionClick: (question: Question) => void;
|
|
2203
2230
|
}) => react_jsx_runtime.JSX.Element;
|
|
2204
2231
|
|
|
2205
|
-
export { Alert, AlertDialog, AlternativesList, AuthProvider, Badge, Button, Calendar, CardAccordation, CardActivitiesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic, CheckBox, CheckboxList, CheckboxListItem, Chips, Divider, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, IconButton, IconRoundedButton, Input, Menu, MenuContent, MenuItem, MenuLabel, MenuOverflow, Modal, MultipleChoiceList, NavButton, NotFound, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProgressBar, ProgressCircle, ProtectedRoute, PublicRoute, Quiz, QuizAlternative, QuizContent, QuizFooter, QuizHeader, QuizHeaderResult, QuizListResult, QuizListResultByMateria, QuizQuestionList, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTitle, Radio, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectionButton, Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText, Stepper, Table, Text, TextArea, Toast, Toaster, createZustandAuthAdapter, getRootDomain, useApiConfig, useAuth, useAuthGuard, useQuizStore, useRouteAuth, useToastStore, useUrlAuthentication, withAuth };
|
|
2232
|
+
export { Alert, AlertDialog, AlternativesList, AuthProvider, Badge, Button, Calendar, CardAccordation, CardActivitiesResults, CardAudio, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic, CheckBox, CheckboxList, CheckboxListItem, Chips, Divider, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, HeaderAlternative, IconButton, IconRoundedButton, Input, Menu, MenuContent, MenuItem, MenuItemIcon, MenuLabel, MenuOverflow, Modal, MultipleChoiceList, NavButton, NotFound, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger, ProgressBar, ProgressCircle, ProtectedRoute, PublicRoute, Quiz, QuizAlternative, QuizContent, QuizFooter, QuizHeader, QuizHeaderResult, QuizListResult, QuizListResultByMateria, QuizQuestionList, QuizResultHeaderTitle, QuizResultPerformance, QuizResultTitle, QuizTitle, Radio, RadioGroup, RadioGroupItem, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, SelectionButton, Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText, Stepper, Table, Text, TextArea, Toast, Toaster, createZustandAuthAdapter, getRootDomain, useApiConfig, useAuth, useAuthGuard, useQuizStore, useRouteAuth, useToastStore, useUrlAuthentication, withAuth };
|
package/dist/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
Calendar: () => Calendar_default,
|
|
30
30
|
CardAccordation: () => CardAccordation,
|
|
31
31
|
CardActivitiesResults: () => CardActivitiesResults,
|
|
32
|
+
CardAudio: () => CardAudio,
|
|
32
33
|
CardPerformance: () => CardPerformance,
|
|
33
34
|
CardProgress: () => CardProgress,
|
|
34
35
|
CardQuestions: () => CardQuestions,
|
|
@@ -48,12 +49,14 @@ __export(src_exports, {
|
|
|
48
49
|
DropdownMenuItem: () => DropdownMenuItem,
|
|
49
50
|
DropdownMenuSeparator: () => DropdownMenuSeparator,
|
|
50
51
|
DropdownMenuTrigger: () => DropdownMenuTrigger,
|
|
52
|
+
HeaderAlternative: () => HeaderAlternative,
|
|
51
53
|
IconButton: () => IconButton_default,
|
|
52
54
|
IconRoundedButton: () => IconRoundedButton_default,
|
|
53
55
|
Input: () => Input_default,
|
|
54
56
|
Menu: () => Menu_default,
|
|
55
57
|
MenuContent: () => MenuContent,
|
|
56
58
|
MenuItem: () => MenuItem,
|
|
59
|
+
MenuItemIcon: () => MenuItemIcon,
|
|
57
60
|
MenuLabel: () => MenuLabel,
|
|
58
61
|
MenuOverflow: () => MenuOverflow,
|
|
59
62
|
Modal: () => Modal_default,
|
|
@@ -6139,6 +6142,21 @@ var MenuItem = (0, import_react19.forwardRef)(
|
|
|
6139
6142
|
}
|
|
6140
6143
|
);
|
|
6141
6144
|
MenuItem.displayName = "MenuItem";
|
|
6145
|
+
var MenuItemIcon = ({
|
|
6146
|
+
className,
|
|
6147
|
+
icon,
|
|
6148
|
+
...props
|
|
6149
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
6150
|
+
"span",
|
|
6151
|
+
{
|
|
6152
|
+
className: cn(
|
|
6153
|
+
"bg-background-500 w-[21px] h-[21px] flex items-center justify-center [&>svg]:w-[17px] [&>svg]:h-[17px] rounded-sm",
|
|
6154
|
+
className
|
|
6155
|
+
),
|
|
6156
|
+
...props,
|
|
6157
|
+
children: icon
|
|
6158
|
+
}
|
|
6159
|
+
);
|
|
6142
6160
|
var internalScroll = (container, direction) => {
|
|
6143
6161
|
if (!container) return;
|
|
6144
6162
|
container.scrollBy({
|
|
@@ -7957,6 +7975,7 @@ var QuizListResultByMateria = ({
|
|
|
7957
7975
|
Calendar,
|
|
7958
7976
|
CardAccordation,
|
|
7959
7977
|
CardActivitiesResults,
|
|
7978
|
+
CardAudio,
|
|
7960
7979
|
CardPerformance,
|
|
7961
7980
|
CardProgress,
|
|
7962
7981
|
CardQuestions,
|
|
@@ -7976,12 +7995,14 @@ var QuizListResultByMateria = ({
|
|
|
7976
7995
|
DropdownMenuItem,
|
|
7977
7996
|
DropdownMenuSeparator,
|
|
7978
7997
|
DropdownMenuTrigger,
|
|
7998
|
+
HeaderAlternative,
|
|
7979
7999
|
IconButton,
|
|
7980
8000
|
IconRoundedButton,
|
|
7981
8001
|
Input,
|
|
7982
8002
|
Menu,
|
|
7983
8003
|
MenuContent,
|
|
7984
8004
|
MenuItem,
|
|
8005
|
+
MenuItemIcon,
|
|
7985
8006
|
MenuLabel,
|
|
7986
8007
|
MenuOverflow,
|
|
7987
8008
|
Modal,
|
package/dist/index.mjs
CHANGED
|
@@ -6102,6 +6102,21 @@ var MenuItem = forwardRef16(
|
|
|
6102
6102
|
}
|
|
6103
6103
|
);
|
|
6104
6104
|
MenuItem.displayName = "MenuItem";
|
|
6105
|
+
var MenuItemIcon = ({
|
|
6106
|
+
className,
|
|
6107
|
+
icon,
|
|
6108
|
+
...props
|
|
6109
|
+
}) => /* @__PURE__ */ jsx31(
|
|
6110
|
+
"span",
|
|
6111
|
+
{
|
|
6112
|
+
className: cn(
|
|
6113
|
+
"bg-background-500 w-[21px] h-[21px] flex items-center justify-center [&>svg]:w-[17px] [&>svg]:h-[17px] rounded-sm",
|
|
6114
|
+
className
|
|
6115
|
+
),
|
|
6116
|
+
...props,
|
|
6117
|
+
children: icon
|
|
6118
|
+
}
|
|
6119
|
+
);
|
|
6105
6120
|
var internalScroll = (container, direction) => {
|
|
6106
6121
|
if (!container) return;
|
|
6107
6122
|
container.scrollBy({
|
|
@@ -7940,6 +7955,7 @@ export {
|
|
|
7940
7955
|
Calendar_default as Calendar,
|
|
7941
7956
|
CardAccordation,
|
|
7942
7957
|
CardActivitiesResults,
|
|
7958
|
+
CardAudio,
|
|
7943
7959
|
CardPerformance,
|
|
7944
7960
|
CardProgress,
|
|
7945
7961
|
CardQuestions,
|
|
@@ -7959,12 +7975,14 @@ export {
|
|
|
7959
7975
|
DropdownMenuItem,
|
|
7960
7976
|
DropdownMenuSeparator,
|
|
7961
7977
|
DropdownMenuTrigger,
|
|
7978
|
+
HeaderAlternative,
|
|
7962
7979
|
IconButton_default as IconButton,
|
|
7963
7980
|
IconRoundedButton_default as IconRoundedButton,
|
|
7964
7981
|
Input_default as Input,
|
|
7965
7982
|
Menu_default as Menu,
|
|
7966
7983
|
MenuContent,
|
|
7967
7984
|
MenuItem,
|
|
7985
|
+
MenuItemIcon,
|
|
7968
7986
|
MenuLabel,
|
|
7969
7987
|
MenuOverflow,
|
|
7970
7988
|
Modal_default as Modal,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analytica-frontend-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.91",
|
|
4
4
|
"description": "Repositório público dos componentes utilizados nas plataformas da Analytica Ensino",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"test:watch": "jest --watch",
|
|
65
65
|
"test:coverage": "jest --coverage",
|
|
66
66
|
"test:sonar": "SONAR_REPORTER=true jest --coverage",
|
|
67
|
-
"build": "tsup",
|
|
67
|
+
"build": "tsup && node scripts/generate-individual-types.mjs",
|
|
68
68
|
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
69
69
|
"build:clean": "rm -rf dist && npm run build && npm run build:types",
|
|
70
70
|
"ladle": "ladle serve",
|