analytica-frontend-lib 1.2.5 → 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 })