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.
@@ -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>, "size" | "type"> & react.RefAttributes<HTMLInputElement>>;
72
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
73
73
 
74
74
  export { type CheckBoxProps, CheckBox as default };
@@ -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>, "size" | "type"> & react.RefAttributes<HTMLInputElement>>;
72
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
73
73
 
74
74
  export { type CheckBoxProps, CheckBox as default };
@@ -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 ${currentQuestion.id}` : "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
  }