@webitel/ui-sdk 26.2.0-4 → 26.2.0-5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.0-4",
3
+ "version": "26.2.0-5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -25,15 +25,18 @@
25
25
  />
26
26
  <div class="wt-cc-pause-cause-popup-option__limits-wrapper">
27
27
  <span
28
- :class="{
29
- 'wt-cc-pause-cause-popup-option__duration--overflow':
30
- option.isOverflow,
31
- }"
28
+ :class="[
29
+ 'typo-caption',
30
+ {
31
+ 'wt-cc-pause-cause-popup-option__duration--overflow':
32
+ option.isOverflow,
33
+ },
34
+ ]"
32
35
  >
33
36
  {{ option.duration }}
34
37
  </span>
35
38
  /
36
- <span>{{ option.limit }}</span>
39
+ <span class="typo-caption">{{ option.limit }}</span>
37
40
  </div>
38
41
  </div>
39
42
  <div v-if="selected && option.id === selected?.id" class="wt-cc-pause-cause-popup-option__comment">
@@ -141,7 +144,6 @@ function setPause() {
141
144
 
142
145
  .wt-cc-pause-cause-popup-option__limits-wrapper {
143
146
  & > span {
144
- @extend %typo-caption;
145
147
  padding: 6px 10px;
146
148
  }
147
149
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section class="audit-form-answer-editing-info">
3
- <header class="audit-form-answer-editing-info-header">
3
+ <header class="audit-form-answer-editing-info-header typo-caption">
4
4
  <span>{{ t('reusable.updatedBy') }}</span>
5
5
  <span>{{ answer.updatedBy.name }}</span>
6
6
  <span>{{ updateTime }}</span>
@@ -8,7 +8,7 @@
8
8
  <p
9
9
  v-if="!hideComment && initialComment"
10
10
  ref="answer-editing-comment"
11
- class="audit-form-answer-editing-info-comment"
11
+ class="audit-form-answer-editing-info-comment typo-body-1"
12
12
  :class="{
13
13
  'audit-form-answer-editing-info-comment--collapsed': collapsed,
14
14
  }"
@@ -20,7 +20,7 @@
20
20
  class="audit-form-answer-editing-info-footer"
21
21
  >
22
22
  <button
23
- class="audit-form-answer-editing-info-expand-action"
23
+ class="audit-form-answer-editing-info-expand-action typo-body-1"
24
24
  type="button"
25
25
  @click="collapsed = false"
26
26
  >
@@ -86,14 +86,11 @@ const isCommentClamped =
86
86
  }
87
87
 
88
88
  .audit-form-answer-editing-info-header {
89
- @extend %typo-caption;
90
89
  display: flex;
91
90
  gap: var(--spacing-xs);
92
91
  }
93
92
 
94
93
  .audit-form-answer-editing-info-comment {
95
- @extend %typo-body-1;
96
-
97
94
  &--collapsed {
98
95
  line-clamp: 2;
99
96
  -webkit-line-clamp: 2; /* coz autoprefixer wont write "-webkit" for us https://github.com/postcss/autoprefixer/issues/1322 */
@@ -109,7 +106,6 @@ const isCommentClamped =
109
106
  }
110
107
 
111
108
  .audit-form-answer-editing-info-expand-action {
112
- @extend %typo-body-1;
113
109
  color: var(--text-link-color);
114
110
  cursor: pointer;
115
111
  transition: var(--transition);
@@ -19,7 +19,7 @@
19
19
  <div class="video-call-overlay">
20
20
  <div
21
21
  v-if="props['receiver:stream'] && !props['receiver:video:enabled']"
22
- :class="`video-call-receiver--${innerSize}`"
22
+ :class="[`video-call-receiver--${innerSize}`, innerSize === 'sm' ? 'typo-body-2' : 'typo-body-1']"
23
23
  class="video-call-receiver video-call-receiver--muted"
24
24
  >
25
25
  <wt-icon :size="receiverVideoMutedIconSizes[innerSize]" icon="video-cam-off--filled" />
@@ -319,17 +319,11 @@ const senderVideoMutedIconSizes = {
319
319
  color: var(--p-player-wrapper-muted-color);
320
320
 
321
321
  &--sm {
322
- @extend %typo-body-2;
323
-
324
322
  .video-call-receiver-text {
325
323
  max-width: 73px;
326
324
  }
327
325
  }
328
326
 
329
- &--md, &--lg {
330
- @extend %typo-body-1;
331
- }
332
-
333
327
  &--muted {
334
328
  width: 100%;
335
329
  height: 100%;
@@ -4,7 +4,7 @@
4
4
  <div class="filter-from-to__inputs-wrapper">
5
5
  <div class="filter-from-to__input-wrapper">
6
6
  <wt-label
7
- class="filter-from-to__input-label"
7
+ class="filter-from-to__input-label typo-subtitle-1"
8
8
  for="filter-from-to-from"
9
9
  >
10
10
  {{ $t('reusable.from') }}
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
  <div class="filter-from-to__input-wrapper">
23
23
  <wt-label
24
- class="filter-from-to__input-label"
24
+ class="filter-from-to__input-label typo-subtitle-1"
25
25
  for="filter-from-to-to"
26
26
  >
27
27
  {{ $t('reusable.to') }}
@@ -155,7 +155,6 @@ export default {
155
155
  }
156
156
 
157
157
  .filter-from-to__input-label {
158
- @extend %typo-subtitle-1;
159
158
  margin-right: 5px;
160
159
  }
161
160