analytica-frontend-lib 1.2.4 → 1.2.6

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.
@@ -25,7 +25,6 @@ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
25
25
  state?: 'done' | 'undone';
26
26
  onClickButton?: (valueButton?: unknown) => void;
27
27
  valueButton?: unknown;
28
- label?: string;
29
28
  }
30
29
  declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
31
30
  interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
@@ -25,7 +25,6 @@ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
25
25
  state?: 'done' | 'undone';
26
26
  onClickButton?: (valueButton?: unknown) => void;
27
27
  valueButton?: unknown;
28
- label?: string;
29
28
  }
30
29
  declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
31
30
  interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
@@ -1057,7 +1057,6 @@ var CardQuestions = (0, import_react2.forwardRef)(
1057
1057
  className,
1058
1058
  onClickButton,
1059
1059
  valueButton,
1060
- label = "00",
1061
1060
  ...props
1062
1061
  }, ref) => {
1063
1062
  const isDone = state === "done";
@@ -1075,21 +1074,15 @@ var CardQuestions = (0, import_react2.forwardRef)(
1075
1074
  children: [
1076
1075
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1077
1076
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1078
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1079
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1080
- Badge_default,
1081
- {
1082
- size: "medium",
1083
- variant: "solid",
1084
- action: isDone ? "success" : "error",
1085
- children: stateLabel
1086
- }
1087
- ),
1088
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1089
- isDone ? "Nota" : "Sem nota",
1090
- isDone && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "medium", action: "success", children: label })
1091
- ] })
1092
- ] })
1077
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-row gap-6 items-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1078
+ Badge_default,
1079
+ {
1080
+ size: "medium",
1081
+ variant: "solid",
1082
+ action: isDone ? "success" : "error",
1083
+ children: stateLabel
1084
+ }
1085
+ ) })
1093
1086
  ] }),
1094
1087
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1095
1088
  Button_default,