mimir-ui-kit 1.34.12 → 1.34.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- ._avatar_e6abi_2{position:relative;display:flex;align-items:center;justify-content:center;width:var(--avatar-width);height:var(--avatar-height)}._avatar_e6abi_2 ._image_e6abi_10{-o-object-fit:cover;object-fit:cover;border-radius:50%;aspect-ratio:1/1}._s_e6abi_16{--avatar-width: 32px;--avatar-height: 32px}._m_e6abi_21{--avatar-width: 40px;--avatar-height: 40px}._l_e6abi_26{--avatar-width: 48px;--avatar-height: 48px}._default_e6abi_31{background-color:var(--black-5)}
1
+ ._avatar_bbuza_2{position:relative;display:flex;align-items:center;justify-content:center;width:var(--avatar-width);height:var(--avatar-height);border-radius:50%}._avatar_bbuza_2 ._image_bbuza_11{-o-object-fit:cover;object-fit:cover;border-radius:50%;aspect-ratio:1/1}._s_bbuza_17{--avatar-width: 32px;--avatar-height: 32px}._m_bbuza_22{--avatar-width: 40px;--avatar-height: 40px}._l_bbuza_27{--avatar-width: 48px;--avatar-height: 48px}._default_bbuza_32{background-color:var(--black-5)}
@@ -1,47 +1,47 @@
1
- import { jsxs as _, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as _, jsx as r } from "react/jsx-runtime";
2
2
  import { c } from "../../index-DIxK0V-G.js";
3
3
  import { memo as n } from "react";
4
4
  import { EAvatarSize as t } from "./constants.js";
5
5
  import { Icon as l } from "../../icons/Icon.js";
6
- import { AppImage as f } from "../Image/Image.js";
7
- import { NotificationBadge as d } from "../NotificationBadge/NotificationBadge.js";
8
- import '../../assets/Avatar.css';const v = "_avatar_e6abi_2", x = "_image_e6abi_10", b = "_s_e6abi_16", g = "_m_e6abi_21", u = "_l_e6abi_26", o = {
9
- avatar: v,
10
- image: x,
11
- s: b,
12
- m: g,
13
- l: u,
14
- default: "_default_e6abi_31"
6
+ import { AppImage as b } from "../Image/Image.js";
7
+ import { NotificationBadge as f } from "../NotificationBadge/NotificationBadge.js";
8
+ import '../../assets/Avatar.css';const u = "_avatar_bbuza_2", d = "_image_bbuza_11", v = "_s_bbuza_17", x = "_m_bbuza_22", g = "_l_bbuza_27", o = {
9
+ avatar: u,
10
+ image: d,
11
+ s: v,
12
+ m: x,
13
+ l: g,
14
+ default: "_default_bbuza_32"
15
15
  }, N = n(
16
16
  ({
17
17
  size: a = t.M,
18
- className: r,
19
- notificationsCount: m = 0,
20
- src: e,
21
- alt: s = "User avatar"
18
+ className: s,
19
+ notificationsCount: e = 0,
20
+ src: m,
21
+ alt: i = "User avatar"
22
22
  }) => {
23
23
  const p = a === t.S || a === t.M ? { top: "8px", left: "-8px" } : { top: "12px", left: "-12px" };
24
24
  return /* @__PURE__ */ _(
25
25
  "div",
26
26
  {
27
- className: c(o.avatar, o[a], r, {
28
- [o.default]: !e
27
+ className: c(o.avatar, o[a], s, {
28
+ [o.default]: !m
29
29
  }),
30
30
  "data-testid": "avatar-container",
31
31
  children: [
32
- e ? /* @__PURE__ */ i(
33
- f,
32
+ m ? /* @__PURE__ */ r(
33
+ b,
34
34
  {
35
- src: e,
36
- alt: s,
35
+ src: m,
36
+ alt: i,
37
37
  className: o.image,
38
38
  "data-testid": "avatar-image"
39
39
  }
40
- ) : /* @__PURE__ */ i(l, { iconName: "User16px" }),
41
- !!m && /* @__PURE__ */ i(
42
- d,
40
+ ) : /* @__PURE__ */ r(l, { iconName: "User16px" }),
41
+ !!e && /* @__PURE__ */ r(
42
+ f,
43
43
  {
44
- count: m,
44
+ count: e,
45
45
  position: p,
46
46
  size: a === t.S ? "s" : "m",
47
47
  absolute: !0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.34.12",
4
+ "version": "1.34.13",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {