analytica-frontend-lib 1.1.74 → 1.1.76
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 +2 -1
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +2 -1
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.d.mts +1 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/Card/index.js +2 -1
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +2 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Quiz/index.d.mts +2 -2
- package/dist/Quiz/index.d.ts +2 -2
- package/dist/Quiz/index.js +4 -3
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +4 -3
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/Quiz/index.mjs
CHANGED
|
@@ -4398,6 +4398,7 @@ var CardQuestions = forwardRef10(
|
|
|
4398
4398
|
className,
|
|
4399
4399
|
onClickButton,
|
|
4400
4400
|
valueButton,
|
|
4401
|
+
label = "00",
|
|
4401
4402
|
...props
|
|
4402
4403
|
}, ref) => {
|
|
4403
4404
|
const isDone = state === "done";
|
|
@@ -4427,7 +4428,7 @@ var CardQuestions = forwardRef10(
|
|
|
4427
4428
|
),
|
|
4428
4429
|
/* @__PURE__ */ jsxs16("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
|
|
4429
4430
|
isDone ? "Nota" : "Sem nota",
|
|
4430
|
-
isDone && /* @__PURE__ */ jsx20(Badge_default, { size: "medium", action: "success", children:
|
|
4431
|
+
isDone && /* @__PURE__ */ jsx20(Badge_default, { size: "medium", action: "success", children: label })
|
|
4431
4432
|
] })
|
|
4432
4433
|
] })
|
|
4433
4434
|
] }),
|
|
@@ -5644,7 +5645,7 @@ var QuizHeader = () => {
|
|
|
5644
5645
|
}
|
|
5645
5646
|
);
|
|
5646
5647
|
};
|
|
5647
|
-
var QuizContent =
|
|
5648
|
+
var QuizContent = ({ paddingBottom }) => {
|
|
5648
5649
|
const { getCurrentQuestion } = useQuizStore();
|
|
5649
5650
|
const currentQuestion = getCurrentQuestion();
|
|
5650
5651
|
const questionComponents = {
|
|
@@ -5658,7 +5659,7 @@ var QuizContent = forwardRef11(({ paddingBottom }) => {
|
|
|
5658
5659
|
};
|
|
5659
5660
|
const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
|
|
5660
5661
|
return QuestionComponent ? /* @__PURE__ */ jsx21(QuestionComponent, { paddingBottom }) : null;
|
|
5661
|
-
}
|
|
5662
|
+
};
|
|
5662
5663
|
var QuizQuestionList = ({
|
|
5663
5664
|
filterType = "all",
|
|
5664
5665
|
onQuestionClick
|