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.
Files changed (59) hide show
  1. package/dist/Accordation/index.d.ts +1 -0
  2. package/dist/Alert/index.d.ts +1 -0
  3. package/dist/AlertDialog/index.d.ts +1 -0
  4. package/dist/Alternative/index.d.ts +1 -0
  5. package/dist/Auth/AuthProvider/index.d.ts +1 -0
  6. package/dist/Auth/ProtectedRoute/index.d.ts +1 -0
  7. package/dist/Auth/PublicRoute/index.d.ts +1 -0
  8. package/dist/Auth/getRootDomain/index.d.ts +1 -0
  9. package/dist/Auth/index.d.ts +1 -0
  10. package/dist/Auth/useApiConfig/index.d.ts +1 -0
  11. package/dist/Auth/useAuth/index.d.ts +1 -0
  12. package/dist/Auth/useAuthGuard/index.d.ts +1 -0
  13. package/dist/Auth/useRouteAuth/index.d.ts +1 -0
  14. package/dist/Auth/useUrlAuthentication/index.d.ts +1 -0
  15. package/dist/Auth/withAuth/index.d.ts +1 -0
  16. package/dist/Auth/zustandAuthAdapter/index.d.ts +1 -0
  17. package/dist/Badge/index.d.ts +1 -0
  18. package/dist/Button/index.d.ts +1 -0
  19. package/dist/Calendar/index.d.ts +1 -0
  20. package/dist/Card/index.d.ts +1 -0
  21. package/dist/CheckBox/CheckboxList/index.d.ts +1 -0
  22. package/dist/CheckBox/CheckboxList/index.js +429 -0
  23. package/dist/CheckBox/CheckboxList/index.mjs +415 -0
  24. package/dist/CheckBox/index.d.ts +1 -0
  25. package/dist/Chips/index.d.ts +1 -0
  26. package/dist/Divider/index.d.ts +1 -0
  27. package/dist/DropdownMenu/index.d.ts +1 -0
  28. package/dist/IconButton/index.d.ts +1 -0
  29. package/dist/IconRoundedButton/index.d.ts +1 -0
  30. package/dist/Input/index.d.ts +1 -0
  31. package/dist/Menu/index.d.ts +1 -0
  32. package/dist/Modal/index.d.ts +1 -0
  33. package/dist/MultipleChoice/index.d.ts +1 -0
  34. package/dist/NavButton/index.d.ts +1 -0
  35. package/dist/NotFound/index.d.ts +1 -0
  36. package/dist/ProgressBar/index.d.ts +1 -0
  37. package/dist/ProgressCircle/index.d.ts +1 -0
  38. package/dist/Quiz/index.d.ts +1 -0
  39. package/dist/Quiz/index.js +2 -2
  40. package/dist/Quiz/index.mjs +2 -2
  41. package/dist/Quiz/useQuizStore/index.d.ts +1 -0
  42. package/dist/Radio/index.d.ts +1 -0
  43. package/dist/Select/index.d.ts +1 -0
  44. package/dist/SelectionButton/index.d.ts +1 -0
  45. package/dist/Skeleton/index.d.ts +1 -0
  46. package/dist/Stepper/index.d.ts +1 -0
  47. package/dist/Table/index.d.ts +1 -0
  48. package/dist/Text/index.d.ts +1 -0
  49. package/dist/TextArea/index.d.ts +1 -0
  50. package/dist/Toast/ToastStore/index.d.ts +1 -0
  51. package/dist/Toast/Toaster/index.d.ts +1 -0
  52. package/dist/Toast/index.d.ts +1 -0
  53. package/dist/index.css +4 -4
  54. package/dist/index.d.mts +25 -1
  55. package/dist/index.d.ts +25 -1
  56. package/dist/index.js +6 -2
  57. package/dist/index.mjs +4 -2
  58. package/dist/styles.css +4 -4
  59. 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 not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
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 not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] overflow-y-auto", children: /* @__PURE__ */ jsx35(
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.88",
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",