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/index.mjs CHANGED
@@ -6143,7 +6143,7 @@ var Select = ({
6143
6143
  }
6144
6144
  }, [propValue]);
6145
6145
  const sizeClasses = SIZE_CLASSES12[size];
6146
- return /* @__PURE__ */ jsxs26("div", { className: cn("w-fit", className), children: [
6146
+ return /* @__PURE__ */ jsxs26("div", { className: cn("w-full", className), children: [
6147
6147
  label && /* @__PURE__ */ jsx32(
6148
6148
  "label",
6149
6149
  {
@@ -6152,7 +6152,7 @@ var Select = ({
6152
6152
  children: label
6153
6153
  }
6154
6154
  ),
6155
- /* @__PURE__ */ jsx32("div", { className: cn("relative w-fit"), ref: selectRef, children: injectStore4(children, store, size, selectId) }),
6155
+ /* @__PURE__ */ jsx32("div", { className: cn("relative w-full"), ref: selectRef, children: injectStore4(children, store, size, selectId) }),
6156
6156
  (helperText || errorMessage) && /* @__PURE__ */ jsxs26("div", { className: "mt-1.5 gap-1.5", children: [
6157
6157
  helperText && /* @__PURE__ */ jsx32("p", { className: "text-sm text-text-500", children: helperText }),
6158
6158
  errorMessage && /* @__PURE__ */ jsxs26("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
@@ -8548,9 +8548,6 @@ var useQuizStore = create7()(
8548
8548
  )
8549
8549
  );
8550
8550
 
8551
- // src/assets/img/simulated-result.png
8552
- var simulated_result_default = "./simulated-result-QN5HCUY5.png";
8553
-
8554
8551
  // src/assets/img/mock-image-question.png
8555
8552
  var mock_image_question_default = "./mock-image-question-HEZCLFDL.png";
8556
8553
 
@@ -9485,6 +9482,7 @@ var QuizFooter = forwardRef19(
9485
9482
  onGoToSimulated,
9486
9483
  onDetailResult,
9487
9484
  handleFinishSimulated,
9485
+ resultImageComponent,
9488
9486
  ...props
9489
9487
  }, ref) => {
9490
9488
  const {
@@ -9658,14 +9656,7 @@ var QuizFooter = forwardRef19(
9658
9656
  hideCloseButton: true,
9659
9657
  size: "md",
9660
9658
  children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
9661
- /* @__PURE__ */ jsx39(
9662
- "img",
9663
- {
9664
- src: simulated_result_default,
9665
- alt: "Simulated Result",
9666
- className: "w-[282px] h-auto object-cover"
9667
- }
9668
- ),
9659
+ resultImageComponent ? /* @__PURE__ */ jsx39("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ jsx39("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ jsx39("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
9669
9660
  /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-2 text-center", children: [
9670
9661
  /* @__PURE__ */ jsx39("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
9671
9662
  /* @__PURE__ */ jsxs32("p", { className: "text-text-500 font-sm", children: [