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/index.mjs
CHANGED
|
@@ -7666,12 +7666,12 @@ var QuizSubTitle = forwardRef19(
|
|
|
7666
7666
|
}
|
|
7667
7667
|
);
|
|
7668
7668
|
var QuizHeader = () => {
|
|
7669
|
-
const { getCurrentQuestion } = useQuizStore();
|
|
7669
|
+
const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
|
|
7670
7670
|
const currentQuestion = getCurrentQuestion();
|
|
7671
7671
|
return /* @__PURE__ */ jsx37(
|
|
7672
7672
|
HeaderAlternative,
|
|
7673
7673
|
{
|
|
7674
|
-
title: currentQuestion ? `Quest\xE3o ${
|
|
7674
|
+
title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
|
|
7675
7675
|
subTitle: currentQuestion?.knowledgeMatrix?.[0]?.topicId ?? "",
|
|
7676
7676
|
content: currentQuestion?.questionText ?? ""
|
|
7677
7677
|
}
|