analytica-frontend-lib 1.1.20 → 1.1.22

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.
@@ -1885,7 +1885,7 @@ var Select = ({
1885
1885
  }
1886
1886
  }, [propValue]);
1887
1887
  const sizeClasses = SIZE_CLASSES6[size];
1888
- return /* @__PURE__ */ jsxs7("div", { className: cn("w-fit", className), children: [
1888
+ return /* @__PURE__ */ jsxs7("div", { className: cn("w-full", className), children: [
1889
1889
  label && /* @__PURE__ */ jsx9(
1890
1890
  "label",
1891
1891
  {
@@ -1894,7 +1894,7 @@ var Select = ({
1894
1894
  children: label
1895
1895
  }
1896
1896
  ),
1897
- /* @__PURE__ */ jsx9("div", { className: cn("relative w-fit"), ref: selectRef, children: injectStore2(children, store, size, selectId) }),
1897
+ /* @__PURE__ */ jsx9("div", { className: cn("relative w-full"), ref: selectRef, children: injectStore2(children, store, size, selectId) }),
1898
1898
  (helperText || errorMessage) && /* @__PURE__ */ jsxs7("div", { className: "mt-1.5 gap-1.5", children: [
1899
1899
  helperText && /* @__PURE__ */ jsx9("p", { className: "text-sm text-text-500", children: helperText }),
1900
1900
  errorMessage && /* @__PURE__ */ jsxs7("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
@@ -3723,7 +3723,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3723
3723
  ),
3724
3724
  onClick: () => onSimulationClick?.(simulation),
3725
3725
  children: /* @__PURE__ */ jsxs9("div", { className: "flex justify-between items-center w-full gap-2", children: [
3726
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3726
+ /* @__PURE__ */ jsxs9("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
3727
3727
  /* @__PURE__ */ jsx11(
3728
3728
  Text_default,
3729
3729
  {
@@ -4612,18 +4612,7 @@ var Quiz = forwardRef10(({ children, className, variant = "default", ...props },
4612
4612
  useEffect7(() => {
4613
4613
  setVariant(variant);
4614
4614
  }, [variant, setVariant]);
4615
- return /* @__PURE__ */ jsx17(
4616
- "div",
4617
- {
4618
- ref,
4619
- className: cn(
4620
- "w-full max-w-[1000px] flex flex-col mx-auto h-full relative not-lg:px-6",
4621
- className
4622
- ),
4623
- ...props,
4624
- children
4625
- }
4626
- );
4615
+ return /* @__PURE__ */ jsx17("div", { ref, className: cn("flex flex-col", className), ...props, children });
4627
4616
  });
4628
4617
  var QuizHeaderResult = forwardRef10(
4629
4618
  ({ className, ...props }, ref) => {
@@ -5963,7 +5952,7 @@ var QuizListResultByMateria = ({
5963
5952
  const { getQuestionsGroupedBySubject, getQuestionIndex } = useQuizStore();
5964
5953
  const groupedQuestions = getQuestionsGroupedBySubject();
5965
5954
  const answeredQuestions = groupedQuestions[subject] || [];
5966
- return /* @__PURE__ */ jsxs14("div", { className: "w-full max-w-[1000px] flex flex-col mx-auto h-full relative not-lg:px-6", children: [
5955
+ return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col", children: [
5967
5956
  /* @__PURE__ */ jsx17("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
5968
5957
  /* @__PURE__ */ jsxs14("section", { className: "flex flex-col ", children: [
5969
5958
  /* @__PURE__ */ jsx17("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),