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.
- package/dist/DropdownMenu/index.d.mts +1 -0
- package/dist/DropdownMenu/index.d.ts +1 -0
- package/dist/DropdownMenu/index.js +9 -2
- package/dist/DropdownMenu/index.js.map +1 -1
- package/dist/DropdownMenu/index.mjs +9 -2
- package/dist/DropdownMenu/index.mjs.map +1 -1
- package/dist/NotificationCard/index.js +9 -2
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs +9 -2
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/Quiz/index.js +4 -2
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +4 -2
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Search/index.js +9 -2
- package/dist/Search/index.js.map +1 -1
- package/dist/Search/index.mjs +9 -2
- package/dist/Search/index.mjs.map +1 -1
- package/dist/index.css +0 -4
- package/dist/index.css.map +1 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -4
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
|
@@ -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: "
|
|
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 })
|