globuswebcomponents 0.8.2 → 0.8.3
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/cjs/gb-avatar_34.cjs.entry.js +2 -2
- package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -1
- package/dist/collection/components/gb-avatar/gb-avatar.js +3 -3
- package/dist/collection/components/gb-avatar/gb-avatar.js.map +1 -1
- package/dist/components/gb-avatar-dropdown.js +2 -2
- package/dist/components/gb-avatar-group.js +1 -1
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +1 -1
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +2 -2
- package/dist/components/gb-header.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +3 -3
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +2 -2
- package/dist/components/gb-pagination.js +4 -4
- package/dist/components/gb-rich-text.js +5 -5
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +3 -3
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-ec6628a8.js → p-158023dc.js} +3 -3
- package/dist/components/p-158023dc.js.map +1 -0
- package/dist/components/{p-ad3553a2.js → p-372729ba.js} +2 -2
- package/dist/components/{p-ad3553a2.js.map → p-372729ba.js.map} +1 -1
- package/dist/components/{p-cae5f718.js → p-56c502d1.js} +3 -3
- package/dist/components/{p-cae5f718.js.map → p-56c502d1.js.map} +1 -1
- package/dist/components/{p-19783c9c.js → p-74c3dd24.js} +2 -2
- package/dist/components/{p-19783c9c.js.map → p-74c3dd24.js.map} +1 -1
- package/dist/components/{p-39cba6a2.js → p-76a3c3f0.js} +2 -2
- package/dist/components/{p-39cba6a2.js.map → p-76a3c3f0.js.map} +1 -1
- package/dist/components/{p-779ae904.js → p-9980394c.js} +2 -2
- package/dist/components/{p-779ae904.js.map → p-9980394c.js.map} +1 -1
- package/dist/components/{p-7c0090aa.js → p-a1275da5.js} +5 -5
- package/dist/components/{p-7c0090aa.js.map → p-a1275da5.js.map} +1 -1
- package/dist/components/{p-0d45c02e.js → p-aac3959b.js} +2 -2
- package/dist/components/{p-0d45c02e.js.map → p-aac3959b.js.map} +1 -1
- package/dist/components/{p-c5342dce.js → p-b487814d.js} +4 -4
- package/dist/components/{p-c5342dce.js.map → p-b487814d.js.map} +1 -1
- package/dist/components/{p-bc83aa75.js → p-ba4c1270.js} +3 -3
- package/dist/components/{p-bc83aa75.js.map → p-ba4c1270.js.map} +1 -1
- package/dist/esm/gb-avatar_34.entry.js +2 -2
- package/dist/esm/gb-avatar_34.entry.js.map +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/p-5aa666cf.entry.js +2 -0
- package/dist/globuscomponents/p-5aa666cf.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/components/p-ec6628a8.js.map +0 -1
- package/dist/globuscomponents/p-5f7a0e1f.entry.js +0 -2
- package/dist/globuscomponents/p-5f7a0e1f.entry.js.map +0 -1
|
@@ -13,7 +13,7 @@ const GbAvatar = class {
|
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.size = undefined;
|
|
15
15
|
this.placeholder = false;
|
|
16
|
-
this.text =
|
|
16
|
+
this.text = true;
|
|
17
17
|
this.statusIcon = '';
|
|
18
18
|
this.state = reusableModels.OnlineIndicatorStates.Online;
|
|
19
19
|
this.icon = 'user';
|
|
@@ -72,7 +72,7 @@ const GbAvatar = class {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
return [
|
|
75
|
-
index.h("div", { key: '
|
|
75
|
+
index.h("div", { key: '775cf7ba5eabbc8488b8d2ba03ee258b57b32140', class: "avatar" }, index.h("gb-avatar-contrast-inner-border", { key: 'f84eb681b4c8797a895538b9f1eeb939d0c34bc7', "show-border": this.showBorder, size: this.size, weight: this.weight }, index.h("div", { key: '3618eca98b7f41234c5e7b28d70c0fc923df82e3', class: `inner_content ${this.size}` }, this.text ? (index.h("div", { class: `initials ${!this.color ? 'gray' : this.color}` }, index.h("slot", { name: "initials" }))) : (index.h("slot", { name: "image" })), this.placeholder && (index.h("div", { key: 'ab0c967fb78e8307ae120e88d35fe435065460c8', class: `placeholder ${!this.color ? 'gray' : this.color}` }, this.icon === 'user' && (index.h("svg", { key: '8b9c165d35264ac7375d45449155ece04da55123', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: `user_avatar ${this.size} ${this.color} ${!this.color ? 'gray' : this.color}` }, index.h("path", { key: 'e030a366b3a56c57e830542b49820848880b3e04', d: "M11.8706 9.89137C11.9482 9.93754 12.044 9.99158 12.1524 10.0528C12.6276 10.3209 13.3459 10.7261 13.8381 11.2078C14.1458 11.5091 14.4383 11.9061 14.4914 12.3924C14.548 12.9097 14.3223 13.395 13.8697 13.8263C13.0887 14.5703 12.1515 15.1666 10.9393 15.1666H5.06045C3.84825 15.1666 2.91106 14.5703 2.13009 13.8263C1.67741 13.395 1.45177 12.9097 1.50831 12.3924C1.56147 11.9061 1.85391 11.5091 2.16169 11.2078C2.6538 10.7261 3.37214 10.3209 3.84735 10.0528C3.95578 9.99158 4.05158 9.93754 4.12912 9.89137C6.49848 8.48055 9.50126 8.48055 11.8706 9.89137Z", fill: "#697586" }), index.h("path", { key: 'c1ef3c0a412747bd4422db59d298a2f8d3ceaff4', d: "M4.49987 4.33325C4.49987 2.40026 6.06688 0.833252 7.99987 0.833252C9.93287 0.833252 11.4999 2.40026 11.4999 4.33325C11.4999 6.26625 9.93287 7.83325 7.99987 7.83325C6.06688 7.83325 4.49987 6.26625 4.49987 4.33325Z", fill: "#697586" }))))))), index.h("gb-status-indicator", { key: '6878d679bcbbfc288bd9471ad0c1bddc930338c7', class: `indicator ${this.size}`, "status-icon": this.statusIcon, size: this.size, state: this.state })),
|
|
76
76
|
];
|
|
77
77
|
}
|
|
78
78
|
get el() { return index.getElement(this); }
|