analytica-frontend-lib 1.1.74 → 1.1.75
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/Quiz/index.d.mts +2 -2
- package/dist/Quiz/index.d.ts +2 -2
- 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/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.d.mts
CHANGED
|
@@ -32,9 +32,9 @@ declare const QuizTitle: react.ForwardRefExoticComponent<{
|
|
|
32
32
|
className?: string;
|
|
33
33
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
declare const QuizHeader: () => react_jsx_runtime.JSX.Element;
|
|
35
|
-
declare const QuizContent:
|
|
35
|
+
declare const QuizContent: ({ paddingBottom }: {
|
|
36
36
|
paddingBottom?: string;
|
|
37
|
-
}
|
|
37
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
38
38
|
declare const QuizQuestionList: ({ filterType, onQuestionClick, }?: {
|
|
39
39
|
filterType?: string;
|
|
40
40
|
onQuestionClick?: () => void;
|
package/dist/Quiz/index.d.ts
CHANGED
|
@@ -32,9 +32,9 @@ declare const QuizTitle: react.ForwardRefExoticComponent<{
|
|
|
32
32
|
className?: string;
|
|
33
33
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
declare const QuizHeader: () => react_jsx_runtime.JSX.Element;
|
|
35
|
-
declare const QuizContent:
|
|
35
|
+
declare const QuizContent: ({ paddingBottom }: {
|
|
36
36
|
paddingBottom?: string;
|
|
37
|
-
}
|
|
37
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
38
38
|
declare const QuizQuestionList: ({ filterType, onQuestionClick, }?: {
|
|
39
39
|
filterType?: string;
|
|
40
40
|
onQuestionClick?: () => void;
|
package/dist/Quiz/index.js
CHANGED
|
@@ -5619,7 +5619,7 @@ var QuizHeader = () => {
|
|
|
5619
5619
|
}
|
|
5620
5620
|
);
|
|
5621
5621
|
};
|
|
5622
|
-
var QuizContent = (
|
|
5622
|
+
var QuizContent = ({ paddingBottom }) => {
|
|
5623
5623
|
const { getCurrentQuestion } = useQuizStore();
|
|
5624
5624
|
const currentQuestion = getCurrentQuestion();
|
|
5625
5625
|
const questionComponents = {
|
|
@@ -5633,7 +5633,7 @@ var QuizContent = (0, import_react14.forwardRef)(({ paddingBottom }) => {
|
|
|
5633
5633
|
};
|
|
5634
5634
|
const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
|
|
5635
5635
|
return QuestionComponent ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(QuestionComponent, { paddingBottom }) : null;
|
|
5636
|
-
}
|
|
5636
|
+
};
|
|
5637
5637
|
var QuizQuestionList = ({
|
|
5638
5638
|
filterType = "all",
|
|
5639
5639
|
onQuestionClick
|