analytica-frontend-lib 1.1.75 → 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.
@@ -25,6 +25,7 @@ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
25
25
  state?: 'done' | 'undone';
26
26
  onClickButton?: (valueButton?: unknown) => void;
27
27
  valueButton?: unknown;
28
+ label?: string;
28
29
  }
29
30
  declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
30
31
  interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
@@ -25,6 +25,7 @@ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
25
25
  state?: 'done' | 'undone';
26
26
  onClickButton?: (valueButton?: unknown) => void;
27
27
  valueButton?: unknown;
28
+ label?: string;
28
29
  }
29
30
  declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
30
31
  interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
@@ -1057,6 +1057,7 @@ var CardQuestions = (0, import_react2.forwardRef)(
1057
1057
  className,
1058
1058
  onClickButton,
1059
1059
  valueButton,
1060
+ label = "00",
1060
1061
  ...props
1061
1062
  }, ref) => {
1062
1063
  const isDone = state === "done";
@@ -1086,7 +1087,7 @@ var CardQuestions = (0, import_react2.forwardRef)(
1086
1087
  ),
1087
1088
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1088
1089
  isDone ? "Nota" : "Sem nota",
1089
- isDone && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
1090
+ isDone && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "medium", action: "success", children: label })
1090
1091
  ] })
1091
1092
  ] })
1092
1093
  ] }),