@webitel/ui-sdk 3.2.156 → 3.2.158
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/ui-sdk.common.js +6 -6
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +6 -6
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/api/transformers/notify/notify.transformer.js +1 -1
- package/src/components/wt-avatar/wt-avatar.vue +4 -1
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@ const notifyTransformer = (notificationObject) => {
|
|
|
23
23
|
if (notificationObject instanceof Error) {
|
|
24
24
|
eventBus.$emit('notification', {
|
|
25
25
|
type: 'error',
|
|
26
|
-
text: notificationObject.response?.data?.detail || notificationObject.response?.data?.message,
|
|
26
|
+
text: notificationObject.response?.data?.detail || notificationObject.response?.data?.message || notificationObject,
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
return notificationObject;
|
|
@@ -111,12 +111,15 @@ const badgeColorVar = computed(() => {
|
|
|
111
111
|
%wt-avatar-typo-sm {
|
|
112
112
|
font-size: 12px;
|
|
113
113
|
}
|
|
114
|
+
|
|
114
115
|
%wt-avatar-typo-lg {
|
|
115
116
|
font-size: 20px;
|
|
116
117
|
}
|
|
118
|
+
|
|
117
119
|
%wt-avatar-typo-2xl {
|
|
118
120
|
font-size: 36px;
|
|
119
121
|
}
|
|
122
|
+
|
|
120
123
|
%wt-avatar-typo-3xl {
|
|
121
124
|
font-size: 48px;
|
|
122
125
|
}
|
|
@@ -127,7 +130,6 @@ const badgeColorVar = computed(() => {
|
|
|
127
130
|
height: var(--avatar-size);
|
|
128
131
|
user-select: none;
|
|
129
132
|
border-radius: 50%;
|
|
130
|
-
overflow: hidden;
|
|
131
133
|
|
|
132
134
|
&__letters {
|
|
133
135
|
height: 100%;
|
|
@@ -135,6 +137,7 @@ const badgeColorVar = computed(() => {
|
|
|
135
137
|
align-items: center;
|
|
136
138
|
justify-content: center;
|
|
137
139
|
color: var(--avatar-font-color);
|
|
140
|
+
border-radius: 50%;
|
|
138
141
|
}
|
|
139
142
|
|
|
140
143
|
&__img {
|