analytica-frontend-lib 1.0.88 → 1.0.90
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/CheckboxList/index.js +429 -0
- package/dist/CheckBox/CheckboxList/index.mjs +415 -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/index.js +2 -2
- package/dist/Quiz/index.mjs +2 -2
- 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.css +4 -4
- package/dist/index.d.mts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +6 -2
- package/dist/index.mjs +4 -2
- package/dist/styles.css +4 -4
- package/package.json +2 -2
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,6 +49,7 @@ __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,
|
|
@@ -7689,7 +7691,7 @@ var QuizFooter = (0, import_react24.forwardRef)(
|
|
|
7689
7691
|
onClose: () => setModalNavigateOpen(false),
|
|
7690
7692
|
title: "Quest\xF5es",
|
|
7691
7693
|
size: "lg",
|
|
7692
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col w-full h-full", children: [
|
|
7694
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col w-full h-full not-lg:max-h-[calc(100vh-200px)] lg:max-h-[calc(687px-76px)]", children: [
|
|
7693
7695
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200", children: [
|
|
7694
7696
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
|
|
7695
7697
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "max-w-[266px]", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Select_default, { value: filterType, onValueChange: setFilterType, children: [
|
|
@@ -7701,7 +7703,7 @@ var QuizFooter = (0, import_react24.forwardRef)(
|
|
|
7701
7703
|
] })
|
|
7702
7704
|
] }) })
|
|
7703
7705
|
] }),
|
|
7704
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-col gap-2
|
|
7706
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-col gap-2 overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
7705
7707
|
QuizQuestionList,
|
|
7706
7708
|
{
|
|
7707
7709
|
filterType,
|
|
@@ -7957,6 +7959,7 @@ var QuizListResultByMateria = ({
|
|
|
7957
7959
|
Calendar,
|
|
7958
7960
|
CardAccordation,
|
|
7959
7961
|
CardActivitiesResults,
|
|
7962
|
+
CardAudio,
|
|
7960
7963
|
CardPerformance,
|
|
7961
7964
|
CardProgress,
|
|
7962
7965
|
CardQuestions,
|
|
@@ -7976,6 +7979,7 @@ var QuizListResultByMateria = ({
|
|
|
7976
7979
|
DropdownMenuItem,
|
|
7977
7980
|
DropdownMenuSeparator,
|
|
7978
7981
|
DropdownMenuTrigger,
|
|
7982
|
+
HeaderAlternative,
|
|
7979
7983
|
IconButton,
|
|
7980
7984
|
IconRoundedButton,
|
|
7981
7985
|
Input,
|
package/dist/index.mjs
CHANGED
|
@@ -7673,7 +7673,7 @@ var QuizFooter = forwardRef18(
|
|
|
7673
7673
|
onClose: () => setModalNavigateOpen(false),
|
|
7674
7674
|
title: "Quest\xF5es",
|
|
7675
7675
|
size: "lg",
|
|
7676
|
-
children: /* @__PURE__ */ jsxs28("div", { className: "flex flex-col w-full h-full", children: [
|
|
7676
|
+
children: /* @__PURE__ */ jsxs28("div", { className: "flex flex-col w-full h-full not-lg:max-h-[calc(100vh-200px)] lg:max-h-[calc(687px-76px)]", children: [
|
|
7677
7677
|
/* @__PURE__ */ jsxs28("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200", children: [
|
|
7678
7678
|
/* @__PURE__ */ jsx35("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
|
|
7679
7679
|
/* @__PURE__ */ jsx35("span", { className: "max-w-[266px]", children: /* @__PURE__ */ jsxs28(Select_default, { value: filterType, onValueChange: setFilterType, children: [
|
|
@@ -7685,7 +7685,7 @@ var QuizFooter = forwardRef18(
|
|
|
7685
7685
|
] })
|
|
7686
7686
|
] }) })
|
|
7687
7687
|
] }),
|
|
7688
|
-
/* @__PURE__ */ jsx35("div", { className: "flex flex-col gap-2
|
|
7688
|
+
/* @__PURE__ */ jsx35("div", { className: "flex flex-col gap-2 overflow-y-auto", children: /* @__PURE__ */ jsx35(
|
|
7689
7689
|
QuizQuestionList,
|
|
7690
7690
|
{
|
|
7691
7691
|
filterType,
|
|
@@ -7940,6 +7940,7 @@ export {
|
|
|
7940
7940
|
Calendar_default as Calendar,
|
|
7941
7941
|
CardAccordation,
|
|
7942
7942
|
CardActivitiesResults,
|
|
7943
|
+
CardAudio,
|
|
7943
7944
|
CardPerformance,
|
|
7944
7945
|
CardProgress,
|
|
7945
7946
|
CardQuestions,
|
|
@@ -7959,6 +7960,7 @@ export {
|
|
|
7959
7960
|
DropdownMenuItem,
|
|
7960
7961
|
DropdownMenuSeparator,
|
|
7961
7962
|
DropdownMenuTrigger,
|
|
7963
|
+
HeaderAlternative,
|
|
7962
7964
|
IconButton_default as IconButton,
|
|
7963
7965
|
IconRoundedButton_default as IconRoundedButton,
|
|
7964
7966
|
Input_default as Input,
|
package/dist/styles.css
CHANGED
|
@@ -3460,9 +3460,9 @@
|
|
|
3460
3460
|
border-radius: var(--radius-xl);
|
|
3461
3461
|
}
|
|
3462
3462
|
}
|
|
3463
|
-
.not-lg\:h-\[calc\(100vh-200px\)\] {
|
|
3463
|
+
.not-lg\:max-h-\[calc\(100vh-200px\)\] {
|
|
3464
3464
|
@media not (width >= 64rem) {
|
|
3465
|
-
height: calc(100vh - 200px);
|
|
3465
|
+
max-height: calc(100vh - 200px);
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
3468
|
.not-lg\:max-w-\[calc\(100vw-32px\)\] {
|
|
@@ -8039,9 +8039,9 @@
|
|
|
8039
8039
|
height: calc(var(--spacing) * 6);
|
|
8040
8040
|
}
|
|
8041
8041
|
}
|
|
8042
|
-
.lg\:max-h-\[687px\] {
|
|
8042
|
+
.lg\:max-h-\[calc\(687px-76px\)\] {
|
|
8043
8043
|
@media (width >= 64rem) {
|
|
8044
|
-
max-height: 687px;
|
|
8044
|
+
max-height: calc(687px - 76px);
|
|
8045
8045
|
}
|
|
8046
8046
|
}
|
|
8047
8047
|
.lg\:w-3\.5 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analytica-frontend-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.90",
|
|
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",
|