mimir-ui-kit 1.34.11 → 1.34.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- ._avatar_58dyx_2{position:relative;display:flex;align-items:center;justify-content:center;width:var(--avatar-width);height:var(--avatar-height);-o-object-fit:cover;object-fit:cover;border-radius:50%}._avatar_58dyx_2 image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}._s_58dyx_19{--avatar-width: 32px;--avatar-height: 32px}._m_58dyx_24{--avatar-width: 40px;--avatar-height: 40px}._l_58dyx_29{--avatar-width: 48px;--avatar-height: 48px}._default_58dyx_34{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,46 +1,47 @@
1
- import { jsxs as c, jsx as m } from "react/jsx-runtime";
2
- import { c as d } from "../../index-DIxK0V-G.js";
1
+ import { jsxs as _, jsx as r } from "react/jsx-runtime";
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 _ } from "../Image/Image.js";
6
+ import { AppImage as b } from "../Image/Image.js";
7
7
  import { NotificationBadge as f } from "../NotificationBadge/NotificationBadge.js";
8
- import '../../assets/Avatar.css';const x = "_avatar_58dyx_2", v = "_s_58dyx_19", u = "_m_58dyx_24", y = "_l_58dyx_29", o = {
9
- avatar: x,
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,
10
11
  s: v,
11
- m: u,
12
- l: y,
13
- default: "_default_58dyx_34"
12
+ m: x,
13
+ l: g,
14
+ default: "_default_bbuza_32"
14
15
  }, N = n(
15
16
  ({
16
17
  size: a = t.M,
17
- className: e,
18
- notificationsCount: s = 0,
19
- src: r,
18
+ className: s,
19
+ notificationsCount: e = 0,
20
+ src: m,
20
21
  alt: i = "User avatar"
21
22
  }) => {
22
23
  const p = a === t.S || a === t.M ? { top: "8px", left: "-8px" } : { top: "12px", left: "-12px" };
23
- return /* @__PURE__ */ c(
24
+ return /* @__PURE__ */ _(
24
25
  "div",
25
26
  {
26
- className: d(o.avatar, o[a], e, {
27
- [o.default]: !r
27
+ className: c(o.avatar, o[a], s, {
28
+ [o.default]: !m
28
29
  }),
29
30
  "data-testid": "avatar-container",
30
31
  children: [
31
- r ? /* @__PURE__ */ m(
32
- _,
32
+ m ? /* @__PURE__ */ r(
33
+ b,
33
34
  {
34
- src: r,
35
+ src: m,
35
36
  alt: i,
36
37
  className: o.image,
37
38
  "data-testid": "avatar-image"
38
39
  }
39
- ) : /* @__PURE__ */ m(l, { iconName: "User16px" }),
40
- !!s && /* @__PURE__ */ m(
40
+ ) : /* @__PURE__ */ r(l, { iconName: "User16px" }),
41
+ !!e && /* @__PURE__ */ r(
41
42
  f,
42
43
  {
43
- count: s,
44
+ count: e,
44
45
  position: p,
45
46
  size: a === t.S ? "s" : "m",
46
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.11",
4
+ "version": "1.34.13",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {