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
|
@@ -69,6 +69,6 @@ declare const CheckBox: react.ForwardRefExoticComponent<{
|
|
|
69
69
|
className?: string;
|
|
70
70
|
/** Label CSS classes */
|
|
71
71
|
labelClassName?: string;
|
|
72
|
-
} & Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
72
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
|
|
73
73
|
|
|
74
74
|
export { type CheckBoxProps, CheckBox as default };
|
package/dist/CheckBox/index.d.ts
CHANGED
|
@@ -69,6 +69,6 @@ declare const CheckBox: react.ForwardRefExoticComponent<{
|
|
|
69
69
|
className?: string;
|
|
70
70
|
/** Label CSS classes */
|
|
71
71
|
labelClassName?: string;
|
|
72
|
-
} & Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
72
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
|
|
73
73
|
|
|
74
74
|
export { type CheckBoxProps, CheckBox as default };
|
package/dist/Quiz/index.js
CHANGED
|
@@ -4571,12 +4571,12 @@ var QuizSubTitle = (0, import_react12.forwardRef)(
|
|
|
4571
4571
|
}
|
|
4572
4572
|
);
|
|
4573
4573
|
var QuizHeader = () => {
|
|
4574
|
-
const { getCurrentQuestion } = useQuizStore();
|
|
4574
|
+
const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
|
|
4575
4575
|
const currentQuestion = getCurrentQuestion();
|
|
4576
4576
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
4577
4577
|
HeaderAlternative,
|
|
4578
4578
|
{
|
|
4579
|
-
title: currentQuestion ? `Quest\xE3o ${
|
|
4579
|
+
title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
|
|
4580
4580
|
subTitle: currentQuestion?.knowledgeMatrix?.[0]?.topicId ?? "",
|
|
4581
4581
|
content: currentQuestion?.questionText ?? ""
|
|
4582
4582
|
}
|