analytica-frontend-lib 1.1.19 → 1.1.21
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 +1 -0
- package/dist/Quiz/index.d.ts +1 -0
- package/dist/Quiz/index.js +4 -13
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +4 -13
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Select/index.js +2 -2
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/index.mjs +2 -2
- package/dist/Select/index.mjs.map +1 -1
- package/dist/index.css +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +4 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -13
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
- package/dist/simulated-result-QN5HCUY5.png +0 -0
package/dist/Quiz/index.d.mts
CHANGED
|
@@ -47,6 +47,7 @@ declare const QuizFooter: react.ForwardRefExoticComponent<{
|
|
|
47
47
|
onGoToSimulated?: () => void;
|
|
48
48
|
onDetailResult?: () => void;
|
|
49
49
|
handleFinishSimulated?: () => void;
|
|
50
|
+
resultImageComponent?: ReactNode;
|
|
50
51
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
51
52
|
declare const QuizResultHeaderTitle: react.ForwardRefExoticComponent<{
|
|
52
53
|
className?: string;
|
package/dist/Quiz/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const QuizFooter: react.ForwardRefExoticComponent<{
|
|
|
47
47
|
onGoToSimulated?: () => void;
|
|
48
48
|
onDetailResult?: () => void;
|
|
49
49
|
handleFinishSimulated?: () => void;
|
|
50
|
+
resultImageComponent?: ReactNode;
|
|
50
51
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
51
52
|
declare const QuizResultHeaderTitle: react.ForwardRefExoticComponent<{
|
|
52
53
|
className?: string;
|
package/dist/Quiz/index.js
CHANGED
|
@@ -1719,9 +1719,6 @@ var Modal = ({
|
|
|
1719
1719
|
};
|
|
1720
1720
|
var Modal_default = Modal;
|
|
1721
1721
|
|
|
1722
|
-
// src/assets/img/simulated-result.png
|
|
1723
|
-
var simulated_result_default = "../simulated-result-QN5HCUY5.png";
|
|
1724
|
-
|
|
1725
1722
|
// src/components/Select/Select.tsx
|
|
1726
1723
|
var import_zustand3 = require("zustand");
|
|
1727
1724
|
var import_react6 = require("react");
|
|
@@ -1897,7 +1894,7 @@ var Select = ({
|
|
|
1897
1894
|
}
|
|
1898
1895
|
}, [propValue]);
|
|
1899
1896
|
const sizeClasses = SIZE_CLASSES6[size];
|
|
1900
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: cn("w-
|
|
1897
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: cn("w-full", className), children: [
|
|
1901
1898
|
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1902
1899
|
"label",
|
|
1903
1900
|
{
|
|
@@ -1906,7 +1903,7 @@ var Select = ({
|
|
|
1906
1903
|
children: label
|
|
1907
1904
|
}
|
|
1908
1905
|
),
|
|
1909
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: cn("relative w-
|
|
1906
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: cn("relative w-full"), ref: selectRef, children: injectStore2(children, store, size, selectId) }),
|
|
1910
1907
|
(helperText || errorMessage) && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "mt-1.5 gap-1.5", children: [
|
|
1911
1908
|
helperText && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-500", children: helperText }),
|
|
1912
1909
|
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
|
|
@@ -5498,6 +5495,7 @@ var QuizFooter = (0, import_react12.forwardRef)(
|
|
|
5498
5495
|
onGoToSimulated,
|
|
5499
5496
|
onDetailResult,
|
|
5500
5497
|
handleFinishSimulated,
|
|
5498
|
+
resultImageComponent,
|
|
5501
5499
|
...props
|
|
5502
5500
|
}, ref) => {
|
|
5503
5501
|
const {
|
|
@@ -5671,14 +5669,7 @@ var QuizFooter = (0, import_react12.forwardRef)(
|
|
|
5671
5669
|
hideCloseButton: true,
|
|
5672
5670
|
size: "md",
|
|
5673
5671
|
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
|
|
5674
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
5675
|
-
"img",
|
|
5676
|
-
{
|
|
5677
|
-
src: simulated_result_default,
|
|
5678
|
-
alt: "Simulated Result",
|
|
5679
|
-
className: "w-[282px] h-auto object-cover"
|
|
5680
|
-
}
|
|
5681
|
-
),
|
|
5672
|
+
resultImageComponent ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
|
|
5682
5673
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex flex-col gap-2 text-center", children: [
|
|
5683
5674
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
|
|
5684
5675
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("p", { className: "text-text-500 font-sm", children: [
|