quirk-ui 0.0.79 → 0.0.80

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.
@@ -1,10 +1,10 @@
1
- import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
- import '../../assets/index23.css';const h = "_avatar_1ihs2_1", u = "_sm_1ihs2_17", f = "_md_1ihs2_23", v = "_lg_1ihs2_29", g = "_xl_1ihs2_35", b = "_image_1ihs2_41", x = "_initials_1ihs2_48", y = "_status_1ihs2_53", p = "_online_1ihs2_65", $ = "_offline_1ihs2_69", N = "_busy_1ihs2_73", s = {
3
- avatar: h,
4
- sm: u,
5
- md: f,
6
- lg: v,
7
- xl: g,
1
+ import { jsxs as h, jsx as i } from "react/jsx-runtime";
2
+ import '../../assets/index23.css';const u = "_avatar_1ihs2_1", f = "_sm_1ihs2_17", d = "_md_1ihs2_23", g = "_lg_1ihs2_29", v = "_xl_1ihs2_35", b = "_image_1ihs2_41", x = "_initials_1ihs2_48", y = "_status_1ihs2_53", p = "_online_1ihs2_65", $ = "_offline_1ihs2_69", N = "_busy_1ihs2_73", s = {
3
+ avatar: u,
4
+ sm: f,
5
+ md: d,
6
+ lg: g,
7
+ xl: v,
8
8
  image: b,
9
9
  initials: x,
10
10
  status: y,
@@ -22,31 +22,31 @@ import '../../assets/index23.css';const h = "_avatar_1ihs2_1", u = "_sm_1ihs2_17
22
22
  busy: s.busy
23
23
  };
24
24
  function z({
25
- src: i,
26
- alt: n = "User avatar",
25
+ src: a,
26
+ alt: t = "User avatar",
27
27
  size: _ = "md",
28
28
  initials: e,
29
- status: t,
30
- borderColor: c = "var(--color-border)",
31
- backgroundColor: r = "var(--color-secondary)",
29
+ status: n,
30
+ borderColor: m,
31
+ backgroundColor: c,
32
32
  onClick: l,
33
- className: m
33
+ className: r
34
34
  }) {
35
35
  const o = !!l;
36
- return /* @__PURE__ */ d(
36
+ return /* @__PURE__ */ h(
37
37
  "div",
38
38
  {
39
- className: `${m ?? ""} ${s.avatar} ${j[_]}`,
40
- style: { borderColor: c, backgroundColor: r },
39
+ className: `${r ?? ""} ${s.avatar} ${j[_]}`,
40
+ style: { borderColor: m, backgroundColor: c },
41
41
  onClick: l,
42
42
  role: o ? "button" : void 0,
43
- "aria-label": o ? n : void 0,
43
+ "aria-label": o ? t : void 0,
44
44
  children: [
45
- i ? /* @__PURE__ */ a("img", { src: i, alt: n, className: s.image }) : /* @__PURE__ */ a("span", { className: s.initials, children: e }),
46
- t && /* @__PURE__ */ a(
45
+ a ? /* @__PURE__ */ i("img", { src: a, alt: t, className: s.image }) : /* @__PURE__ */ i("span", { className: s.initials, children: e }),
46
+ n && /* @__PURE__ */ i(
47
47
  "span",
48
48
  {
49
- className: `${s.status} ${C[t]}`,
49
+ className: `${s.status} ${C[n]}`,
50
50
  role: "status"
51
51
  }
52
52
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.79",
4
+ "version": "0.0.80",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {