redmine-ui-kit 1.2.1 → 1.2.2
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/redmine-ui-kit.js +4 -4
- package/dist/redmine-ui-kit.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/redmine-ui-kit.js
CHANGED
|
@@ -10290,7 +10290,7 @@ const w0 = {
|
|
|
10290
10290
|
], 2));
|
|
10291
10291
|
}
|
|
10292
10292
|
});
|
|
10293
|
-
const $0 = { class: "
|
|
10293
|
+
const $0 = { class: "rm-avatar__overlay" }, k0 = ["src"], P0 = { class: "rm-avatar__label" }, U0 = /* @__PURE__ */ $e({
|
|
10294
10294
|
__name: "RMAvatar",
|
|
10295
10295
|
props: {
|
|
10296
10296
|
label: { default: "Anon" },
|
|
@@ -10301,10 +10301,10 @@ const $0 = { class: "avatar-primitive__overlay" }, k0 = ["src"], P0 = { class: "
|
|
|
10301
10301
|
const t = e, n = V(() => t.label.trim().replace(/\s+/g, " ").split(" ").map((r) => r[0].toUpperCase()).join("").slice(0, 2));
|
|
10302
10302
|
return (r, a) => (m(), O("div", {
|
|
10303
10303
|
class: pe([
|
|
10304
|
-
"avatar
|
|
10304
|
+
"rm-avatar",
|
|
10305
10305
|
{
|
|
10306
10306
|
small: e.small,
|
|
10307
|
-
"avatar
|
|
10307
|
+
"rm-avatar--avatar": e.avatar
|
|
10308
10308
|
}
|
|
10309
10309
|
])
|
|
10310
10310
|
}, [
|
|
@@ -10312,7 +10312,7 @@ const $0 = { class: "avatar-primitive__overlay" }, k0 = ["src"], P0 = { class: "
|
|
|
10312
10312
|
e.avatar ? (m(), O("img", {
|
|
10313
10313
|
key: 0,
|
|
10314
10314
|
src: e.avatar,
|
|
10315
|
-
class: "
|
|
10315
|
+
class: "rm-avatar__avatar-image",
|
|
10316
10316
|
alt: ""
|
|
10317
10317
|
}, null, 8, k0)) : T("", !0)
|
|
10318
10318
|
]),
|