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.
@@ -81,7 +81,7 @@ declare const Radio: react.ForwardRefExoticComponent<{
81
81
  value?: string;
82
82
  /** Default checked state for uncontrolled radios */
83
83
  defaultChecked?: boolean;
84
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "defaultChecked" | "type"> & react.RefAttributes<HTMLInputElement>>;
84
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
85
85
  /**
86
86
  * RadioGroup store interface
87
87
  */
@@ -198,6 +198,6 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<{
198
198
  state?: RadioState;
199
199
  /** Additional CSS classes */
200
200
  className?: string;
201
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
201
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
202
202
 
203
203
  export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, Radio as default, useRadioGroupStore };
@@ -81,7 +81,7 @@ declare const Radio: react.ForwardRefExoticComponent<{
81
81
  value?: string;
82
82
  /** Default checked state for uncontrolled radios */
83
83
  defaultChecked?: boolean;
84
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "defaultChecked" | "type"> & react.RefAttributes<HTMLInputElement>>;
84
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "type" | "size"> & react.RefAttributes<HTMLInputElement>>;
85
85
  /**
86
86
  * RadioGroup store interface
87
87
  */
@@ -198,6 +198,6 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<{
198
198
  state?: RadioState;
199
199
  /** Additional CSS classes */
200
200
  className?: string;
201
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
201
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
202
202
 
203
203
  export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, Radio as default, useRadioGroupStore };
@@ -22,6 +22,6 @@ declare const Search: react.ForwardRefExoticComponent<{
22
22
  containerClassName?: string;
23
23
  /** Callback when clear button is clicked */
24
24
  onClear?: () => void;
25
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onSelect"> & react.RefAttributes<HTMLInputElement>>;
25
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onSelect" | "size"> & react.RefAttributes<HTMLInputElement>>;
26
26
 
27
27
  export { Search as default };
@@ -22,6 +22,6 @@ declare const Search: react.ForwardRefExoticComponent<{
22
22
  containerClassName?: string;
23
23
  /** Callback when clear button is clicked */
24
24
  onClear?: () => void;
25
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onSelect"> & react.RefAttributes<HTMLInputElement>>;
25
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onSelect" | "size"> & react.RefAttributes<HTMLInputElement>>;
26
26
 
27
27
  export { Search as default };
package/dist/index.d.mts CHANGED
@@ -129,6 +129,6 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
129
129
  state?: CheckboxListState;
130
130
  /** Additional CSS classes */
131
131
  className?: string;
132
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
132
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
133
133
 
134
134
  export { CheckboxList, CheckboxListItem };
package/dist/index.d.ts CHANGED
@@ -129,6 +129,6 @@ declare const CheckboxListItem: react.ForwardRefExoticComponent<{
129
129
  state?: CheckboxListState;
130
130
  /** Additional CSS classes */
131
131
  className?: string;
132
- } & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "checked" | "type" | "name" | "onChange"> & react.RefAttributes<HTMLInputElement>>;
132
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "name" | "type" | "size" | "value" | "checked"> & react.RefAttributes<HTMLInputElement>>;
133
133
 
134
134
  export { CheckboxList, CheckboxListItem };
package/dist/index.js CHANGED
@@ -7689,12 +7689,12 @@ var QuizSubTitle = (0, import_react25.forwardRef)(
7689
7689
  }
7690
7690
  );
7691
7691
  var QuizHeader = () => {
7692
- const { getCurrentQuestion } = useQuizStore();
7692
+ const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
7693
7693
  const currentQuestion = getCurrentQuestion();
7694
7694
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7695
7695
  HeaderAlternative,
7696
7696
  {
7697
- title: currentQuestion ? `Quest\xE3o ${currentQuestion.id}` : "Quest\xE3o",
7697
+ title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
7698
7698
  subTitle: currentQuestion?.knowledgeMatrix?.[0]?.topicId ?? "",
7699
7699
  content: currentQuestion?.questionText ?? ""
7700
7700
  }