analytica-frontend-lib 1.0.97 → 1.0.98
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/CheckBox/index.d.mts +1 -1
- package/dist/CheckBox/index.d.ts +1 -1
- package/dist/Quiz/index.js +2 -2
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +2 -2
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Radio/index.d.mts +2 -2
- package/dist/Radio/index.d.ts +2 -2
- package/dist/Search/index.d.mts +1 -1
- package/dist/Search/index.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/Quiz/index.mjs
CHANGED
|
@@ -4598,12 +4598,12 @@ var QuizSubTitle = forwardRef10(
|
|
|
4598
4598
|
}
|
|
4599
4599
|
);
|
|
4600
4600
|
var QuizHeader = () => {
|
|
4601
|
-
const { getCurrentQuestion } = useQuizStore();
|
|
4601
|
+
const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
|
|
4602
4602
|
const currentQuestion = getCurrentQuestion();
|
|
4603
4603
|
return /* @__PURE__ */ jsx17(
|
|
4604
4604
|
HeaderAlternative,
|
|
4605
4605
|
{
|
|
4606
|
-
title: currentQuestion ? `Quest\xE3o ${
|
|
4606
|
+
title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
|
|
4607
4607
|
subTitle: currentQuestion?.knowledgeMatrix?.[0]?.topicId ?? "",
|
|
4608
4608
|
content: currentQuestion?.questionText ?? ""
|
|
4609
4609
|
}
|