@candy.thieves/ui-kit-lumos 0.0.75 → 0.0.77
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.css +1 -1
- package/dist/index.js +14 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4450,18 +4450,18 @@ var U = {
|
|
|
4450
4450
|
children: n
|
|
4451
4451
|
});
|
|
4452
4452
|
}, G = {
|
|
4453
|
-
header: "
|
|
4454
|
-
container: "
|
|
4455
|
-
logo: "
|
|
4456
|
-
logoLink: "
|
|
4457
|
-
actions: "
|
|
4458
|
-
notificationButton: "
|
|
4459
|
-
mobileMenuButton: "
|
|
4460
|
-
mobileMenu: "
|
|
4461
|
-
mobileMenuItem: "
|
|
4462
|
-
authActions: "
|
|
4453
|
+
header: "_header_1t9fh_55",
|
|
4454
|
+
container: "_container_1t9fh_23",
|
|
4455
|
+
logo: "_logo_1t9fh_85",
|
|
4456
|
+
logoLink: "_logoLink_1t9fh_89",
|
|
4457
|
+
actions: "_actions_1t9fh_99",
|
|
4458
|
+
notificationButton: "_notificationButton_1t9fh_106",
|
|
4459
|
+
mobileMenuButton: "_mobileMenuButton_1t9fh_126",
|
|
4460
|
+
mobileMenu: "_mobileMenu_1t9fh_126",
|
|
4461
|
+
mobileMenuItem: "_mobileMenuItem_1t9fh_151",
|
|
4462
|
+
authActions: "_authActions_1t9fh_158"
|
|
4463
4463
|
}, ta = ({ brandName: e = "Lumos", className: t, isAuthenticated: n = !0, logoHref: r = "/", logInLabel: i = "Log in", mobileAuthenticatedMenuItems: a, mobileMenuLabel: o = "Open menu", notificationCount: s = 0, notificationLabel: c = "Notifications", onLogInClick: l, onNotificationClick: p, onSignUpClick: m, signUpLabel: h = "Sign up", linkTag: g = "a", ..._ }) => {
|
|
4464
|
-
let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
|
|
4464
|
+
let v = s > 0 ? `${c}, ${s} unread` : c, y = n ? a ?? [] : [{
|
|
4465
4465
|
id: "log-in",
|
|
4466
4466
|
label: i,
|
|
4467
4467
|
onSelect: l
|
|
@@ -4469,11 +4469,7 @@ var U = {
|
|
|
4469
4469
|
id: "sign-up",
|
|
4470
4470
|
label: h,
|
|
4471
4471
|
onSelect: m
|
|
4472
|
-
}]
|
|
4473
|
-
id: "notifications",
|
|
4474
|
-
label: s > 0 ? `${c} (${s})` : c,
|
|
4475
|
-
onSelect: p
|
|
4476
|
-
}], x = n ? a ?? b : y;
|
|
4472
|
+
}];
|
|
4477
4473
|
return /* @__PURE__ */ u("header", {
|
|
4478
4474
|
className: f(G.header, t),
|
|
4479
4475
|
..._,
|
|
@@ -4517,9 +4513,9 @@ var U = {
|
|
|
4517
4513
|
children: h
|
|
4518
4514
|
})]
|
|
4519
4515
|
}),
|
|
4520
|
-
/* @__PURE__ */ u(Ni, {
|
|
4516
|
+
y.length > 0 && /* @__PURE__ */ u(Ni, {
|
|
4521
4517
|
ariaLabel: o,
|
|
4522
|
-
items:
|
|
4518
|
+
items: y,
|
|
4523
4519
|
linkTag: g,
|
|
4524
4520
|
triggerClassName: G.mobileMenuButton,
|
|
4525
4521
|
contentClassName: G.mobileMenu
|