analytica-frontend-lib 1.1.74 → 1.1.76
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/Accordation/index.js +2 -1
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +2 -1
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.d.mts +1 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/Card/index.js +2 -1
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +2 -1
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Quiz/index.d.mts +2 -2
- package/dist/Quiz/index.d.ts +2 -2
- package/dist/Quiz/index.js +4 -3
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +4 -3
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- 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
|
@@ -4373,6 +4373,7 @@ var CardQuestions = (0, import_react13.forwardRef)(
|
|
|
4373
4373
|
className,
|
|
4374
4374
|
onClickButton,
|
|
4375
4375
|
valueButton,
|
|
4376
|
+
label = "00",
|
|
4376
4377
|
...props
|
|
4377
4378
|
}, ref) => {
|
|
4378
4379
|
const isDone = state === "done";
|
|
@@ -4402,7 +4403,7 @@ var CardQuestions = (0, import_react13.forwardRef)(
|
|
|
4402
4403
|
),
|
|
4403
4404
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
|
|
4404
4405
|
isDone ? "Nota" : "Sem nota",
|
|
4405
|
-
isDone && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Badge_default, { size: "medium", action: "success", children:
|
|
4406
|
+
isDone && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Badge_default, { size: "medium", action: "success", children: label })
|
|
4406
4407
|
] })
|
|
4407
4408
|
] })
|
|
4408
4409
|
] }),
|
|
@@ -5619,7 +5620,7 @@ var QuizHeader = () => {
|
|
|
5619
5620
|
}
|
|
5620
5621
|
);
|
|
5621
5622
|
};
|
|
5622
|
-
var QuizContent = (
|
|
5623
|
+
var QuizContent = ({ paddingBottom }) => {
|
|
5623
5624
|
const { getCurrentQuestion } = useQuizStore();
|
|
5624
5625
|
const currentQuestion = getCurrentQuestion();
|
|
5625
5626
|
const questionComponents = {
|
|
@@ -5633,7 +5634,7 @@ var QuizContent = (0, import_react14.forwardRef)(({ paddingBottom }) => {
|
|
|
5633
5634
|
};
|
|
5634
5635
|
const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
|
|
5635
5636
|
return QuestionComponent ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(QuestionComponent, { paddingBottom }) : null;
|
|
5636
|
-
}
|
|
5637
|
+
};
|
|
5637
5638
|
var QuizQuestionList = ({
|
|
5638
5639
|
filterType = "all",
|
|
5639
5640
|
onQuestionClick
|