mimir-ui-kit 1.38.32 → 1.38.33
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
._notification-
|
1
|
+
._notification-badge_jhn37_2{position:relative;display:flex;align-items:center;justify-content:center;width:var(--width-notification-badge);height:var(--height-notification-badge);color:var(--white);font-size:var(--mimir-size-text-notification-badge);background-color:var(--citrine-100);border-radius:50%}._notification-badge-absolute_jhn37_14{position:absolute}._l_jhn37_18{--mimir-size-text-notification-badge: var(--mimir-size-text-l);--width-notification-badge: 32px;--height-notification-badge: 32px}._m_jhn37_24{--mimir-size-text-notification-badge: var(--mimir-size-text-m);--width-notification-badge: 24px;--height-notification-badge: 24px}._s_jhn37_30{--height-notification-badge: 16px;--width-notification-badge: 16px;--mimir-size-text-notification-badge: var(--mimir-size-text-xs)}
|
@@ -1,25 +1,26 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { c as
|
3
|
-
import { ENotificationBadgeSize as
|
4
|
-
import '../../assets/NotificationBadge.css';const b = "
|
5
|
-
"notification-badge": "_notification-
|
6
|
-
"notification-badge-absolute": "_notification-badge-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
2
|
+
import { c as l } from "../../index-DIxK0V-G.js";
|
3
|
+
import { ENotificationBadgeSize as m } from "./constants.js";
|
4
|
+
import '../../assets/NotificationBadge.css';const b = "_l_jhn37_18", d = "_m_jhn37_24", g = "_s_jhn37_30", t = {
|
5
|
+
"notification-badge": "_notification-badge_jhn37_2",
|
6
|
+
"notification-badge-absolute": "_notification-badge-absolute_jhn37_14",
|
7
|
+
l: b,
|
8
|
+
m: d,
|
9
|
+
s: g
|
10
|
+
}, n = ({
|
11
|
+
count: e,
|
11
12
|
position: a,
|
12
13
|
absolute: c,
|
13
|
-
size:
|
14
|
-
}) => /* @__PURE__ */
|
14
|
+
size: _ = m.M
|
15
|
+
}) => /* @__PURE__ */ f(
|
15
16
|
"div",
|
16
17
|
{
|
17
|
-
className:
|
18
|
-
|
18
|
+
className: l(
|
19
|
+
t["notification-badge"],
|
19
20
|
{
|
20
|
-
[
|
21
|
+
[t["notification-badge-absolute"]]: c
|
21
22
|
},
|
22
|
-
|
23
|
+
t[_]
|
23
24
|
),
|
24
25
|
style: {
|
25
26
|
top: a == null ? void 0 : a.top,
|
@@ -27,9 +28,9 @@ import '../../assets/NotificationBadge.css';const b = "_m_ugqfj_18", d = "_s_ugq
|
|
27
28
|
bottom: a == null ? void 0 : a.bottom,
|
28
29
|
left: a == null ? void 0 : a.left
|
29
30
|
},
|
30
|
-
children:
|
31
|
+
children: e
|
31
32
|
}
|
32
33
|
);
|
33
34
|
export {
|
34
|
-
|
35
|
+
n as NotificationBadge
|
35
36
|
};
|