analytica-frontend-lib 1.2.5 → 1.2.7

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.
@@ -963,7 +963,7 @@ var ProfileMenuTrigger = forwardRef2(({ className, onClick, store: externalStore
963
963
  );
964
964
  });
965
965
  ProfileMenuTrigger.displayName = "ProfileMenuTrigger";
966
- var ProfileMenuHeader = forwardRef2(({ className, name, email, store: _store, ...props }, ref) => {
966
+ var ProfileMenuHeader = forwardRef2(({ className, name, email, photoUrl, store: _store, ...props }, ref) => {
967
967
  return /* @__PURE__ */ jsxs4(
968
968
  "div",
969
969
  {
@@ -972,7 +972,14 @@ var ProfileMenuHeader = forwardRef2(({ className, name, email, store: _store, ..
972
972
  className: cn("flex flex-row gap-4 items-center", className),
973
973
  ...props,
974
974
  children: [
975
- /* @__PURE__ */ jsx6("span", { className: "size-16 bg-primary-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ jsx6(User, { size: 34, className: "text-primary-800" }) }),
975
+ /* @__PURE__ */ jsx6("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx6(
976
+ "img",
977
+ {
978
+ src: photoUrl,
979
+ alt: "Foto de perfil",
980
+ className: "w-full h-full object-cover"
981
+ }
982
+ ) : /* @__PURE__ */ jsx6(User, { size: 34, className: "text-primary-800" }) }),
976
983
  /* @__PURE__ */ jsxs4("div", { className: "flex flex-col ", children: [
977
984
  /* @__PURE__ */ jsx6(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
978
985
  /* @__PURE__ */ jsx6(Text_default, { size: "md", color: "text-text-600", children: email })