analytica-frontend-lib 1.2.18 → 1.2.19
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/AlertManager/index.js +49 -5
- package/dist/AlertManager/index.js.map +1 -1
- package/dist/AlertManager/index.mjs +49 -5
- package/dist/AlertManager/index.mjs.map +1 -1
- package/dist/DropdownMenu/index.d.mts +7 -1
- package/dist/DropdownMenu/index.d.ts +7 -1
- package/dist/DropdownMenu/index.js +51 -5
- package/dist/DropdownMenu/index.js.map +1 -1
- package/dist/DropdownMenu/index.mjs +50 -5
- package/dist/DropdownMenu/index.mjs.map +1 -1
- package/dist/NotificationCard/index.js +49 -5
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs +49 -5
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/Search/index.js +49 -5
- package/dist/Search/index.js.map +1 -1
- package/dist/Search/index.mjs +49 -5
- package/dist/Search/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +51 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4493,10 +4493,13 @@ var ProfileMenuHeader = forwardRef10(({ className, name, email, photoUrl, store:
|
|
|
4493
4493
|
{
|
|
4494
4494
|
ref,
|
|
4495
4495
|
"data-component": "ProfileMenuHeader",
|
|
4496
|
-
className: cn(
|
|
4496
|
+
className: cn(
|
|
4497
|
+
"flex flex-row gap-4 items-center min-w-[280px]",
|
|
4498
|
+
className
|
|
4499
|
+
),
|
|
4497
4500
|
...props,
|
|
4498
4501
|
children: [
|
|
4499
|
-
/* @__PURE__ */ jsx30("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx30(
|
|
4502
|
+
/* @__PURE__ */ jsx30("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden flex-shrink-0", children: photoUrl ? /* @__PURE__ */ jsx30(
|
|
4500
4503
|
"img",
|
|
4501
4504
|
{
|
|
4502
4505
|
src: photoUrl,
|
|
@@ -4504,15 +4507,56 @@ var ProfileMenuHeader = forwardRef10(({ className, name, email, photoUrl, store:
|
|
|
4504
4507
|
className: "w-full h-full object-cover"
|
|
4505
4508
|
}
|
|
4506
4509
|
) : /* @__PURE__ */ jsx30(User2, { size: 34, className: "text-primary-800" }) }),
|
|
4507
|
-
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col ", children: [
|
|
4508
|
-
/* @__PURE__ */ jsx30(
|
|
4509
|
-
|
|
4510
|
+
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col min-w-0", children: [
|
|
4511
|
+
/* @__PURE__ */ jsx30(
|
|
4512
|
+
Text_default,
|
|
4513
|
+
{
|
|
4514
|
+
size: "xl",
|
|
4515
|
+
weight: "bold",
|
|
4516
|
+
color: "text-text-950",
|
|
4517
|
+
className: "truncate",
|
|
4518
|
+
children: name
|
|
4519
|
+
}
|
|
4520
|
+
),
|
|
4521
|
+
/* @__PURE__ */ jsx30(Text_default, { size: "md", color: "text-text-600", className: "truncate", children: email })
|
|
4510
4522
|
] })
|
|
4511
4523
|
]
|
|
4512
4524
|
}
|
|
4513
4525
|
);
|
|
4514
4526
|
});
|
|
4515
4527
|
ProfileMenuHeader.displayName = "ProfileMenuHeader";
|
|
4528
|
+
var ProfileMenuInfo = forwardRef10(
|
|
4529
|
+
({
|
|
4530
|
+
className,
|
|
4531
|
+
schoolName,
|
|
4532
|
+
classYearName,
|
|
4533
|
+
schoolYearName,
|
|
4534
|
+
store: _store,
|
|
4535
|
+
...props
|
|
4536
|
+
}, ref) => {
|
|
4537
|
+
return /* @__PURE__ */ jsxs23(
|
|
4538
|
+
"div",
|
|
4539
|
+
{
|
|
4540
|
+
ref,
|
|
4541
|
+
"data-component": "ProfileMenuInfo",
|
|
4542
|
+
className: cn("flex flex-row gap-4 items-center", className),
|
|
4543
|
+
...props,
|
|
4544
|
+
children: [
|
|
4545
|
+
/* @__PURE__ */ jsx30("span", { className: "w-16 h-16" }),
|
|
4546
|
+
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col ", children: [
|
|
4547
|
+
/* @__PURE__ */ jsx30(Text_default, { size: "md", color: "text-text-600", children: schoolName }),
|
|
4548
|
+
/* @__PURE__ */ jsxs23("span", { className: "flex flex-row items-center gap-2", children: [
|
|
4549
|
+
/* @__PURE__ */ jsx30(Text_default, { size: "md", color: "text-text-600", children: classYearName }),
|
|
4550
|
+
/* @__PURE__ */ jsx30("p", { className: "text-text-600 text-xs align-middle", children: "\u25CF" }),
|
|
4551
|
+
/* @__PURE__ */ jsx30(Text_default, { size: "md", color: "text-text-600", children: schoolYearName })
|
|
4552
|
+
] })
|
|
4553
|
+
] })
|
|
4554
|
+
]
|
|
4555
|
+
}
|
|
4556
|
+
);
|
|
4557
|
+
}
|
|
4558
|
+
);
|
|
4559
|
+
ProfileMenuInfo.displayName = "ProfileMenuInfo";
|
|
4516
4560
|
var ProfileToggleTheme = ({
|
|
4517
4561
|
store: externalStore,
|
|
4518
4562
|
...props
|
|
@@ -15564,6 +15608,7 @@ export {
|
|
|
15564
15608
|
NotificationEntityType,
|
|
15565
15609
|
ProfileMenuFooter,
|
|
15566
15610
|
ProfileMenuHeader,
|
|
15611
|
+
ProfileMenuInfo,
|
|
15567
15612
|
ProfileMenuSection,
|
|
15568
15613
|
ProfileMenuTrigger,
|
|
15569
15614
|
ProfileToggleTheme,
|