analytica-frontend-lib 1.1.21 → 1.1.22
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.js +1 -1
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +1 -1
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +1 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/LoadingModal/index.d.mts +11 -0
- package/dist/LoadingModal/index.d.ts +11 -0
- package/dist/LoadingModal/index.js +79 -0
- package/dist/LoadingModal/index.js.map +1 -0
- package/dist/LoadingModal/index.mjs +58 -0
- package/dist/LoadingModal/index.mjs.map +1 -0
- package/dist/Quiz/index.js +3 -14
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +3 -14
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/index.css +27 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +60 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -14
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +27 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/Quiz/index.mjs
CHANGED
|
@@ -3723,7 +3723,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
|
|
|
3723
3723
|
),
|
|
3724
3724
|
onClick: () => onSimulationClick?.(simulation),
|
|
3725
3725
|
children: /* @__PURE__ */ jsxs9("div", { className: "flex justify-between items-center w-full gap-2", children: [
|
|
3726
|
-
/* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
3726
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
|
|
3727
3727
|
/* @__PURE__ */ jsx11(
|
|
3728
3728
|
Text_default,
|
|
3729
3729
|
{
|
|
@@ -4612,18 +4612,7 @@ var Quiz = forwardRef10(({ children, className, variant = "default", ...props },
|
|
|
4612
4612
|
useEffect7(() => {
|
|
4613
4613
|
setVariant(variant);
|
|
4614
4614
|
}, [variant, setVariant]);
|
|
4615
|
-
return /* @__PURE__ */ jsx17(
|
|
4616
|
-
"div",
|
|
4617
|
-
{
|
|
4618
|
-
ref,
|
|
4619
|
-
className: cn(
|
|
4620
|
-
"w-full max-w-[1000px] flex flex-col mx-auto h-full relative not-lg:px-6",
|
|
4621
|
-
className
|
|
4622
|
-
),
|
|
4623
|
-
...props,
|
|
4624
|
-
children
|
|
4625
|
-
}
|
|
4626
|
-
);
|
|
4615
|
+
return /* @__PURE__ */ jsx17("div", { ref, className: cn("flex flex-col", className), ...props, children });
|
|
4627
4616
|
});
|
|
4628
4617
|
var QuizHeaderResult = forwardRef10(
|
|
4629
4618
|
({ className, ...props }, ref) => {
|
|
@@ -5963,7 +5952,7 @@ var QuizListResultByMateria = ({
|
|
|
5963
5952
|
const { getQuestionsGroupedBySubject, getQuestionIndex } = useQuizStore();
|
|
5964
5953
|
const groupedQuestions = getQuestionsGroupedBySubject();
|
|
5965
5954
|
const answeredQuestions = groupedQuestions[subject] || [];
|
|
5966
|
-
return /* @__PURE__ */ jsxs14("div", { className: "
|
|
5955
|
+
return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col", children: [
|
|
5967
5956
|
/* @__PURE__ */ jsx17("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
|
|
5968
5957
|
/* @__PURE__ */ jsxs14("section", { className: "flex flex-col ", children: [
|
|
5969
5958
|
/* @__PURE__ */ jsx17("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
|