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.
package/dist/index.mjs CHANGED
@@ -3052,7 +3052,7 @@ var ProfileMenuTrigger = forwardRef9(({ className, onClick, store: externalStore
3052
3052
  );
3053
3053
  });
3054
3054
  ProfileMenuTrigger.displayName = "ProfileMenuTrigger";
3055
- var ProfileMenuHeader = forwardRef9(({ className, name, email, store: _store, ...props }, ref) => {
3055
+ var ProfileMenuHeader = forwardRef9(({ className, name, email, photoUrl, store: _store, ...props }, ref) => {
3056
3056
  return /* @__PURE__ */ jsxs14(
3057
3057
  "div",
3058
3058
  {
@@ -3061,7 +3061,14 @@ var ProfileMenuHeader = forwardRef9(({ className, name, email, store: _store, ..
3061
3061
  className: cn("flex flex-row gap-4 items-center", className),
3062
3062
  ...props,
3063
3063
  children: [
3064
- /* @__PURE__ */ jsx21("span", { className: "size-16 bg-primary-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ jsx21(User, { size: 34, className: "text-primary-800" }) }),
3064
+ /* @__PURE__ */ jsx21("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx21(
3065
+ "img",
3066
+ {
3067
+ src: photoUrl,
3068
+ alt: "Foto de perfil",
3069
+ className: "w-full h-full object-cover"
3070
+ }
3071
+ ) : /* @__PURE__ */ jsx21(User, { size: 34, className: "text-primary-800" }) }),
3065
3072
  /* @__PURE__ */ jsxs14("div", { className: "flex flex-col ", children: [
3066
3073
  /* @__PURE__ */ jsx21(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
3067
3074
  /* @__PURE__ */ jsx21(Text_default, { size: "md", color: "text-text-600", children: email })
@@ -7537,7 +7544,6 @@ var CardQuestions = forwardRef17(
7537
7544
  className,
7538
7545
  onClickButton,
7539
7546
  valueButton,
7540
- label = "00",
7541
7547
  ...props
7542
7548
  }, ref) => {
7543
7549
  const isDone = state === "done";
@@ -7555,21 +7561,15 @@ var CardQuestions = forwardRef17(
7555
7561
  children: [
7556
7562
  /* @__PURE__ */ jsxs31("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
7557
7563
  /* @__PURE__ */ jsx43("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
7558
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-row gap-6 items-center", children: [
7559
- /* @__PURE__ */ jsx43(
7560
- Badge_default,
7561
- {
7562
- size: "medium",
7563
- variant: "solid",
7564
- action: isDone ? "success" : "error",
7565
- children: stateLabel
7566
- }
7567
- ),
7568
- /* @__PURE__ */ jsxs31("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
7569
- isDone ? "Nota" : "Sem nota",
7570
- isDone && /* @__PURE__ */ jsx43(Badge_default, { size: "medium", action: "success", children: label })
7571
- ] })
7572
- ] })
7564
+ /* @__PURE__ */ jsx43("div", { className: "flex flex-row gap-6 items-center", children: /* @__PURE__ */ jsx43(
7565
+ Badge_default,
7566
+ {
7567
+ size: "medium",
7568
+ variant: "solid",
7569
+ action: isDone ? "success" : "error",
7570
+ children: stateLabel
7571
+ }
7572
+ ) })
7573
7573
  ] }),
7574
7574
  /* @__PURE__ */ jsx43("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx43(
7575
7575
  Button_default,