@webitel/ui-sdk 0.9.65 → 1.0.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.
Files changed (129) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/fonts/Montserrat-Black.27e3649b.ttf +0 -0
  3. package/dist/fonts/Montserrat-BlackItalic.d9b6ba59.ttf +0 -0
  4. package/dist/fonts/Montserrat-Bold.ade91f47.ttf +0 -0
  5. package/dist/fonts/Montserrat-BoldItalic.1b384149.ttf +0 -0
  6. package/dist/fonts/Montserrat-ExtraBold.19ba7aa5.ttf +0 -0
  7. package/dist/fonts/Montserrat-ExtraBoldItalic.52a50ca0.ttf +0 -0
  8. package/dist/fonts/Montserrat-ExtraLight.570a244c.ttf +0 -0
  9. package/dist/fonts/Montserrat-ExtraLightItalic.1170df55.ttf +0 -0
  10. package/dist/fonts/Montserrat-Italic.a7063e0c.ttf +0 -0
  11. package/dist/fonts/Montserrat-Light.409c7f79.ttf +0 -0
  12. package/dist/fonts/Montserrat-LightItalic.01c4560c.ttf +0 -0
  13. package/dist/fonts/Montserrat-Medium.c8b6e083.ttf +0 -0
  14. package/dist/fonts/Montserrat-MediumItalic.40a74702.ttf +0 -0
  15. package/dist/fonts/Montserrat-SemiBoldItalic.83c1ec1f.ttf +0 -0
  16. package/dist/fonts/Montserrat-Thin.43dd5b7a.ttf +0 -0
  17. package/dist/fonts/Montserrat-ThinItalic.3c2b290f.ttf +0 -0
  18. package/dist/ui-sdk.common.js +948 -929
  19. package/dist/ui-sdk.common.js.map +1 -1
  20. package/dist/ui-sdk.css +1 -1
  21. package/dist/ui-sdk.umd.js +948 -929
  22. package/dist/ui-sdk.umd.js.map +1 -1
  23. package/dist/ui-sdk.umd.min.js +2 -2
  24. package/dist/ui-sdk.umd.min.js.map +1 -1
  25. package/package.json +5 -5
  26. package/src/components/atoms/wt-button/wt-button.vue +187 -150
  27. package/src/components/atoms/wt-chip/__tests__/WtChip.spec.js +19 -0
  28. package/src/components/atoms/wt-chip/wt-chip.vue +23 -0
  29. package/src/components/atoms/wt-context-menu/wt-context-menu.vue +1 -1
  30. package/src/components/atoms/wt-icon/wt-icon.vue +4 -0
  31. package/src/components/atoms/wt-indicator/wt-indicator.vue +39 -6
  32. package/src/components/atoms/wt-input-info/wt-input-info.vue +1 -1
  33. package/src/components/atoms/wt-loader/_internals/wt-loader--sm.vue +34 -153
  34. package/src/components/atoms/wt-loader/wt-loader.vue +2 -4
  35. package/src/components/atoms/wt-rounded-action/__tests__/WtRoundedAction.spec.js +0 -11
  36. package/src/components/atoms/wt-rounded-action/wt-rounded-action.vue +27 -179
  37. package/src/components/atoms/wt-tooltip/wt-tooltip.vue +2 -2
  38. package/src/components/index.js +2 -2
  39. package/src/components/molecules/wt-button-select/wt-button-select.vue +2 -1
  40. package/src/components/molecules/wt-datepicker/wt-datepicker.vue +59 -62
  41. package/src/components/molecules/wt-datetimepicker/wt-datetimepicker.vue +2 -7
  42. package/src/components/molecules/wt-input/wt-input.vue +4 -25
  43. package/src/components/molecules/wt-label/wt-label.vue +5 -2
  44. package/src/components/molecules/wt-notification/wt-notification.vue +3 -2
  45. package/src/components/molecules/wt-popup/__tests__/WtPopup.spec.js +1 -1
  46. package/src/components/molecules/wt-popup/wt-popup.vue +26 -28
  47. package/src/components/molecules/wt-progress-bar/wt-progress-bar.vue +3 -4
  48. package/src/components/molecules/wt-radio/wt-radio.vue +0 -2
  49. package/src/components/molecules/wt-search-bar/wt-search-bar.vue +4 -20
  50. package/src/components/molecules/wt-select/wt-select.vue +26 -28
  51. package/src/components/molecules/wt-tabs/wt-tabs.vue +6 -18
  52. package/src/components/molecules/wt-tags-input/wt-tags-input.vue +31 -25
  53. package/src/components/molecules/wt-textarea/wt-textarea.vue +6 -17
  54. package/src/components/molecules/wt-time-input/wt-time-input.vue +1 -3
  55. package/src/components/molecules/wt-timepicker/wt-timepicker.vue +0 -3
  56. package/src/components/organisms/wt-app-header/wt-app-header.vue +1 -0
  57. package/src/components/organisms/wt-app-header/wt-app-navigator.vue +32 -33
  58. package/src/components/organisms/wt-app-header/wt-header-actions.vue +145 -144
  59. package/src/components/organisms/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +3 -3
  60. package/src/components/organisms/wt-headline/wt-headline.vue +1 -2
  61. package/src/components/organisms/wt-navigation-bar/wt-navigation-bar.vue +8 -11
  62. package/src/components/organisms/wt-page-wrapper/wt-page-wrapper.vue +6 -14
  63. package/src/components/organisms/wt-pagination/wt-pagination.vue +5 -5
  64. package/src/components/organisms/wt-player/wt-player.vue +1 -1
  65. package/src/components/organisms/wt-status-select/wt-status-select.vue +24 -4
  66. package/src/components/organisms/wt-table/wt-table.vue +15 -12
  67. package/src/components/organisms/wt-table-actions/wt-table-actions.vue +2 -4
  68. package/src/components/organisms/wt-table-column-select/wt-table-column-select.vue +1 -1
  69. package/src/css/components/_components.scss +1 -1
  70. package/src/css/components/atoms/wt-button/_variables.scss +22 -24
  71. package/src/css/components/atoms/wt-chip/_variables.scss +7 -0
  72. package/src/css/components/atoms/{wt-badge/wt-badge.scss → wt-chip/wt-chip.scss} +12 -7
  73. package/src/css/components/atoms/wt-context-menu/_variables.scss +1 -1
  74. package/src/css/components/atoms/wt-indicator/_variables.scss +6 -2
  75. package/src/css/components/atoms/wt-label/_variables.scss +0 -1
  76. package/src/css/components/atoms/wt-rounded-action/_variables.scss +3 -26
  77. package/src/css/components/atoms/wt-tooltip/_variables.scss +7 -5
  78. package/src/css/components/molecules/wt-button-select/_variables.scss +5 -8
  79. package/src/css/components/molecules/wt-checkbox/_variables.scss +1 -1
  80. package/src/css/components/molecules/wt-datepicker/_variables.scss +15 -14
  81. package/src/css/components/molecules/wt-datepicker/datepicker-calendar.scss +20 -31
  82. package/src/css/components/molecules/wt-datetimepicker/_variables.scss +5 -5
  83. package/src/css/components/molecules/wt-input/_variables.scss +3 -3
  84. package/src/css/components/molecules/wt-notification/_variables.scss +4 -4
  85. package/src/css/components/molecules/wt-popup/_variables.scss +16 -8
  86. package/src/css/components/molecules/wt-progress-bar/_variables.scss +3 -3
  87. package/src/css/components/molecules/wt-radio/_variables.scss +1 -1
  88. package/src/css/components/molecules/wt-search-bar/_variables.scss +5 -1
  89. package/src/css/components/molecules/wt-select/_variables.scss +49 -13
  90. package/src/css/components/molecules/wt-switcher/_variables.scss +1 -1
  91. package/src/css/components/molecules/wt-tabs/_variables.scss +2 -2
  92. package/src/css/components/molecules/wt-tags-input/_variables.scss +4 -5
  93. package/src/css/components/molecules/wt-textarea/_variables.scss +9 -1
  94. package/src/css/components/molecules/wt-timepicker/_variables.scss +1 -1
  95. package/src/css/components/organisms/wt-app-header/_variables.scss +13 -9
  96. package/src/css/components/organisms/wt-headline/_variables.scss +3 -4
  97. package/src/css/components/organisms/wt-navigation-bar/_variables.scss +10 -10
  98. package/src/css/components/organisms/wt-notifications-bar/_variables.scss +2 -2
  99. package/src/css/components/organisms/wt-page-wrapper/_variables.scss +3 -3
  100. package/src/css/components/organisms/wt-pagination/_variables.scss +1 -3
  101. package/src/css/components/organisms/wt-player/_variables.scss +2 -2
  102. package/src/css/components/organisms/wt-status-select/_variables.scss +3 -3
  103. package/src/css/components/organisms/wt-table/_variables.scss +9 -9
  104. package/src/css/components/organisms/wt-table-actions/_variables.scss +2 -1
  105. package/src/css/main.scss +7 -5
  106. package/src/css/styleguide/_styleguide.scss +8 -3
  107. package/src/css/styleguide/border-radius/_border-radius.scss +4 -0
  108. package/src/css/{colors → styleguide/colors}/_colors.scss +5 -7
  109. package/src/css/{display-helpers → styleguide/display-helpers}/_display-helpers.scss +2 -0
  110. package/src/css/styleguide/elevations/_elevations.scss +13 -0
  111. package/src/css/styleguide/fonts/_fonts.scss +126 -0
  112. package/src/css/styleguide/placeholder/_placeholder.scss +49 -0
  113. package/src/css/styleguide/spacings/_spacings.scss +15 -0
  114. package/src/css/styleguide/transitions/_transitions.scss +1 -0
  115. package/src/css/{transitions → styleguide/transitions}/fade/_fade.scss +0 -0
  116. package/src/css/styleguide/typography/_typography.scss +102 -0
  117. package/src/css/{sizes → styleguide/viewport-breakpoints}/_viewport-breakpoints.scss +0 -0
  118. package/src/locale/en/en.js +28 -3
  119. package/src/locale/ru/ru.js +26 -1
  120. package/src/locale/ua/ua.js +26 -1
  121. package/src/components/atoms/wt-badge/__tests__/WtBadge.spec.js +0 -19
  122. package/src/components/atoms/wt-badge/wt-badge.vue +0 -23
  123. package/src/css/components/atoms/wt-badge/_variables.scss +0 -7
  124. package/src/css/fonts/_fonts.scss +0 -9
  125. package/src/css/shadows/_shadows.scss +0 -7
  126. package/src/css/sizes/_sizes.scss +0 -2
  127. package/src/css/sizes/_spacing.scss +0 -33
  128. package/src/css/transitions/_transitions.scss +0 -1
  129. package/src/css/typography/_typography.scss +0 -72
@@ -16,11 +16,33 @@
16
16
  :maximum-view="maximumView"
17
17
  :disabled="disabled"
18
18
  :disabled-dates="disabledDates"
19
+ :placeholder="label || placeholder"
19
20
  :lang="lang"
20
- calendar-button
21
21
  monday-first
22
22
  @input="$emit('change', $event.getTime())"
23
23
  >
24
+ <template slot="afterDateInput">
25
+ <wt-icon
26
+ class="wt-datepicker__calendar-icon"
27
+ icon="calendar"
28
+ :color="disabled ? 'disabled' : 'default'"
29
+ ></wt-icon>
30
+ <wt-icon
31
+ class="wt-datepicker__arrow-icon"
32
+ icon="arrow-down"
33
+ :color="disabled ? 'disabled' : 'default'"
34
+ ></wt-icon>
35
+ </template>
36
+ <template slot="beforeCalendarHeader">
37
+ <wt-icon
38
+ class="wt-datepicker__month-arrow wt-datepicker__month-arrow--left"
39
+ icon="arrow-left"
40
+ ></wt-icon>
41
+ <wt-icon
42
+ class="wt-datepicker__month-arrow wt-datepicker__month-arrow--right"
43
+ icon="arrow-right"
44
+ ></wt-icon>
45
+ </template>
24
46
  </vue-datepicker>
25
47
  </div>
26
48
  </template>
@@ -45,6 +67,10 @@
45
67
  type: String,
46
68
  default: '',
47
69
  },
70
+ placeholder: {
71
+ type: String,
72
+ default: '',
73
+ },
48
74
  format: {
49
75
  type: [String, Function],
50
76
  },
@@ -76,9 +102,32 @@
76
102
  </script>
77
103
 
78
104
  <style lang="scss" scoped>
79
- .wt-label {
80
- margin-bottom: var(--label-margin);
81
- cursor: text;
105
+ .wt-datepicker__calendar-icon {
106
+ position: absolute;
107
+ top: var(--spacing-xs);
108
+ left: var(--input-padding);
109
+ pointer-events: none;
110
+ }
111
+
112
+ .wt-datepicker__arrow-icon {
113
+ position: absolute;
114
+ top: var(--spacing-xs);
115
+ right: var(--input-padding);
116
+ pointer-events: none;
117
+ }
118
+
119
+ .wt-datepicker__month-arrow{
120
+ position: absolute;
121
+ top: var(--spacing-xs);
122
+ pointer-events: none;
123
+
124
+ &--right {
125
+ right: var(--spacing-xs);
126
+ }
127
+
128
+ &--left {
129
+ left: var(--spacing-xs);
130
+ }
82
131
  }
83
132
 
84
133
  ::v-deep .vdp-datepicker {
@@ -89,52 +138,22 @@
89
138
  position: relative;
90
139
 
91
140
  input {
92
- @extend %typo-body-lg;
141
+ @extend %typo-body-1;
142
+ @include wt-placeholder;
93
143
  box-sizing: border-box;
94
144
  width: 100%;
95
145
  padding: var(--datepicker-padding);
96
146
  border: var(--datepicker-border);
97
147
  border-color: var(--form-border-color);
98
148
  border-radius: var(--border-radius);
99
- }
100
149
 
101
- // arrow down icon
102
- .vdp-datepicker__calendar-button {
103
- position: absolute;
104
- top: 50%;
105
- right: var(--datepicker-icon-margin);
106
- width: 24px;
107
- height: 24px;
108
- transform: translateY(-50%);
109
-
110
- &:before {
111
- content: '';
112
- position: absolute;
113
- width: 24px;
114
- height: 24px;
115
- background: url("../../../assets/icons/arrow-down--md.svg") center center;
116
- background-size: contain;
117
- transition: var(--transition);
118
- }
119
-
120
- // hide defaults
121
- span {
122
- display: none;
150
+ &:focus {
151
+ @include wt-placeholder('focus');
123
152
  }
124
153
  }
125
154
 
126
- // calendar icon
127
- &:before {
128
- content: '';
129
- position: absolute;
130
- top: 50%;
131
- left: var(--datepicker-icon-margin);
132
- width: 24px;
133
- height: 24px;
134
- background: url("../../../assets/icons/calendar--md.svg") center center;
135
- background-size: contain;
136
- transform: translateY(-50%);
137
- pointer-events: none;
155
+ .vdp-datepicker__calendar-button {
156
+ display: none;
138
157
  }
139
158
  }
140
159
  @import '../../../css/components/molecules/wt-datepicker/datepicker-calendar';
@@ -155,17 +174,6 @@
155
174
  input {
156
175
  border-color: var(--form-border--hover-color);
157
176
  }
158
-
159
- // arrow down icon
160
- .vdp-datepicker__calendar-button:before {
161
- background: url("../../../assets/icons/arrow-down--active--md.svg") center center;
162
- background-size: contain;
163
- }
164
-
165
- // calendar icon
166
- &:before {
167
- background: url("../../../assets/icons/calendar--active--md.svg") center center;
168
- }
169
177
  }
170
178
  }
171
179
  }
@@ -192,17 +200,6 @@
192
200
  background: var(--form-border--disabled-color);
193
201
  border-color: var(--form-border--disabled-color);
194
202
  }
195
-
196
- // arrow down icon
197
- .vdp-datepicker__calendar-button:before {
198
- background: url("../../../assets/icons/arrow-down--disabled--md.svg") center center;
199
- background-size: contain;
200
- }
201
-
202
- // calendar icon
203
- &:before {
204
- background: url("../../../assets/icons/calendar--disabled--md.svg") center center;
205
- }
206
203
  }
207
204
  }
208
205
  }
@@ -163,18 +163,13 @@
163
163
  position: relative;
164
164
  }
165
165
 
166
- .wt-label {
167
- margin-bottom: var(--label-margin);
168
- cursor: text;
169
- }
170
-
171
166
  .wt-datetimepicker__preview {
172
167
  position: relative;
173
168
  cursor: text;
174
169
  outline: none;
175
170
 
176
171
  &__input {
177
- @extend %typo-body-lg;
172
+ @extend %typo-body-1;
178
173
  display: block;
179
174
  width: 100%;
180
175
  box-sizing: border-box;
@@ -222,7 +217,7 @@
222
217
  }
223
218
 
224
219
  .wt-datetimepicker__quick-filter {
225
- @extend %typo-body-sm;
220
+ @extend %typo-caption;
226
221
  text-decoration: underline;
227
222
  cursor: pointer;
228
223
  }
@@ -246,9 +246,6 @@ export default {
246
246
  }
247
247
 
248
248
  .wt-label {
249
- margin-bottom: var(--label-margin);
250
- cursor: text;
251
-
252
249
  .wt-input:hover &,
253
250
  .wt-input:focus-within & {
254
251
  color: var(--form-label--hover-color);
@@ -261,7 +258,8 @@ export default {
261
258
  }
262
259
 
263
260
  .wt-input__input {
264
- @extend %typo-body-lg;
261
+ @extend %typo-body-1;
262
+ @include wt-placeholder;
265
263
 
266
264
  display: block;
267
265
  width: 100%;
@@ -273,34 +271,18 @@ export default {
273
271
  border-radius: var(--border-radius);
274
272
  transition: var(--transition);
275
273
 
276
- &::placeholder {
277
- color: var(--form-placeholder-color);
278
- }
279
-
280
- .wt-input:hover &,
281
274
  &:focus {
275
+ @include wt-placeholder('focus');
282
276
  border-color: var(--form-border--hover-color);
283
-
284
- &::placeholder {
285
- color: var(--form-placeholder--hover-color)
286
- }
287
277
  }
288
278
 
289
279
  .wt-input--outline & {
290
280
  border-color: var(--form-outline-border-color);
291
-
292
- &::placeholder {
293
- color: var(--form-outline-placeholder-color);
294
- }
295
281
  }
296
282
 
297
283
  .wt-input--outline:hover &,
298
284
  .wt-input--outline &:focus {
299
285
  border-color: var(--form-outline-border--hover-color);
300
-
301
- &::placeholder {
302
- color: var(--form-outline-placeholder--hover-color)
303
- }
304
286
  }
305
287
 
306
288
  .wt-input--invalid &,
@@ -310,12 +292,9 @@ export default {
310
292
  }
311
293
 
312
294
  .wt-input--disabled & {
295
+ @include wt-placeholder('disabled');
313
296
  background: var(--form-border--disabled-color);
314
297
  border-color: var(--form-border--disabled-color);
315
-
316
- &::placeholder {
317
- color: var(--form-placeholder--disabled-color);
318
- }
319
298
  }
320
299
  }
321
300
 
@@ -53,12 +53,13 @@ export default {
53
53
 
54
54
  <style lang="scss" scoped>
55
55
  .wt-label {
56
- @extend %typo-body-lg;
56
+ @extend %typo-body-1;
57
57
 
58
58
  display: flex;
59
59
  align-items: center;
60
60
  color: var(--form-label-color);
61
61
  transition: var(--transition);
62
+ cursor: text;
62
63
 
63
64
  &--outline {
64
65
  color: var(--form-outline-label-color);
@@ -74,7 +75,9 @@ export default {
74
75
  }
75
76
 
76
77
  .wt-label__hint {
77
- margin-left: var(--component-spacing);
78
+ cursor: pointer;
79
+ margin-left: var(--spacing-xs);
80
+
78
81
  ::v-deep {
79
82
  .wt-tooltip {
80
83
  width: max-content; // experimental css property
@@ -46,7 +46,7 @@
46
46
 
47
47
  <style lang="scss" scoped>
48
48
  .wt-notification {
49
- @extend %typo-body-lg;
49
+ @extend %typo-body-1;
50
50
  @include width-fit-content;
51
51
 
52
52
  position: relative;
@@ -58,11 +58,12 @@
58
58
  color: var(--notification-text-color);
59
59
  background: var(--notification-bg-color);
60
60
  border-radius: var(--border-radius);
61
- box-shadow: var(--box-shadow);
61
+ box-shadow: var(--elevation-1);
62
62
  cursor: pointer;
63
63
  }
64
64
 
65
65
  .wt-notification__icon {
66
+ flex: 0 0 var(--icon-md-size);
66
67
  margin-right: var(--notification-icon-margin);
67
68
  }
68
69
 
@@ -24,7 +24,7 @@ describe('WtPopup', () => {
24
24
  stubs: { WtIconBtn: true },
25
25
  slots: { title: content },
26
26
  });
27
- expect(wrapper.find('.wt-popup__header__title').text()).toBe(content);
27
+ expect(wrapper.find('.wt-popup__title').text()).toBe(content);
28
28
  });
29
29
 
30
30
  it('renders popup main via main slot', () => {
@@ -8,16 +8,14 @@
8
8
  >
9
9
  <header class="wt-popup__header">
10
10
  <slot name="header">
11
- <h3 class="wt-popup__header__title">
11
+ <h3 class="wt-popup__title">
12
12
  <slot name="title"></slot>
13
13
  </h3>
14
14
  </slot>
15
15
  <wt-icon-btn
16
16
  class="wt-popup__close-btn"
17
- icon="close--filled"
18
- size="sm"
19
- color="active"
20
- @click.native="$emit('close')"
17
+ icon="close"
18
+ @click="$emit('close')"
21
19
  ></wt-icon-btn>
22
20
  </header>
23
21
  <section class="wt-popup__main" v-if="$slots.main">
@@ -65,25 +63,24 @@ export default {
65
63
  right: 0;
66
64
  bottom: 0;
67
65
  left: 0;
68
- background: var(--main-primary-accent-color);
69
- opacity: var(--popup-shadow-opacity);
66
+ background: var(--popup-shadow-color);
70
67
  z-index: 0;
71
68
  }
72
69
  }
73
70
 
74
71
  .wt-popup__popup {
75
- @extend %wt-scrollbar;
76
-
77
72
  position: absolute;
78
73
  top: 50%;
79
74
  left: 50%;
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: var(--popup-sections-gap);
80
78
  max-height: var(--popup-max-height);
81
79
  padding: var(--popup-padding);
82
80
  background: var(--popup-bg-color);
83
81
  transform: translate(-50%, -50%);
84
82
  border-radius: var(--border-radius);
85
- box-shadow: var(--box-shadow);
86
- overflow-y: auto;
83
+ box-shadow: var(--elevation-10);
87
84
  z-index: 1;
88
85
 
89
86
  &--overflow {
@@ -92,39 +89,40 @@ export default {
92
89
  }
93
90
 
94
91
  .wt-popup__header {
92
+ @extend %typo-subtitle-1;
95
93
  position: relative;
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: space-between;
97
+ gap: var(--popup-header-padding);
96
98
  padding: var(--popup-header-padding);
99
+ background: var(--popup-header-bg-color);
100
+ border-radius: var(--border-radius);
97
101
 
98
- .wt-popup__header__title {
99
- @extend %typo-strong-lg;
100
- text-align: center;
101
- padding: var(--popup-header-title-padding);
102
+ .wt-popup__title {
103
+ font: inherit;
104
+ flex-grow: 1;
102
105
  }
103
106
 
104
107
  .wt-popup__close-btn {
105
- position: absolute;
106
- top: 0;
107
- right: 0;
108
+ flex: 0 0 var(--icon-md-size);
108
109
  }
109
110
  }
110
111
 
111
112
  .wt-popup__main {
112
- @extend %typo-body-lg;
113
- padding: var(--popup-main-padding);
113
+ @extend %wt-scrollbar;
114
+ @extend %typo-body-1;
115
+ min-height: 0;
116
+ flex-grow: 1;
117
+ overflow-y: auto;
118
+ padding-right: var(--popup-main-section-padding-right);
114
119
  }
115
120
 
116
121
  .wt-popup__actions {
117
122
  display: flex;
118
123
  justify-content: center;
119
124
  align-items: center;
125
+ gap: var(--popup-actions-padding);
120
126
  padding: var(--popup-actions-padding);
121
-
122
- .wt-button {
123
- margin-left: 20px;
124
-
125
- &:first-child {
126
- margin-left: 0;
127
- }
128
- }
129
127
  }
130
128
  </style>
@@ -48,7 +48,7 @@ export default {
48
48
  padding: var(--progress-bar-padding);
49
49
  line-height: 0;
50
50
  border-radius: var(--border-radius);
51
- box-shadow: var(--progress-bar-box-shadow);
51
+ box-shadow: var(--elevation-2);
52
52
  }
53
53
 
54
54
  .wt-progress-bar__progress {
@@ -56,9 +56,8 @@ export default {
56
56
  height: var(--progress-bar-height);
57
57
  will-change: width;
58
58
  background: var(--accent-color);
59
- border-radius: var(--border-radius) 0 0 var(--border-radius);
59
+ border-radius: var(--progress-bar-border-radius) 0 0 var(--progress-bar-border-radius);
60
60
  transition: var(--transition);
61
- box-shadow: var(--progress-bar-box-shadow);
62
61
  }
63
62
 
64
63
  .wt-progress-bar--primary .wt-progress-bar__progress {
@@ -75,6 +74,6 @@ export default {
75
74
  }
76
75
 
77
76
  .wt-progress-bar--overflow .wt-progress-bar__progress {
78
- border-radius: var(--border-radius);
77
+ border-radius: var(--progress-bar-border-radius);
79
78
  }
80
79
  </style>
@@ -16,9 +16,7 @@
16
16
  :disabled="disabled"
17
17
  @input="inputHandler"
18
18
  >
19
- <span class="wt-radio__checkmark">
20
19
  <wt-icon :icon="radioIcon"></wt-icon>
21
- </span>
22
20
  <!-- @slot Custom input label -->
23
21
  <slot name="label" v-bind="{ label, isChecked, disabled }">
24
22
  <div v-if="label" class="wt-radio__label">{{ label }}</div>
@@ -20,8 +20,7 @@
20
20
  <wt-icon-btn
21
21
  class="wt-search-bar__reset-icon-btn"
22
22
  :class="{ 'hidden': !value }"
23
- icon="close--filled"
24
- size="sm"
23
+ icon="close"
25
24
  @click="$emit('input', '')"
26
25
  ></wt-icon-btn>
27
26
  </div>
@@ -133,7 +132,8 @@
133
132
  }
134
133
 
135
134
  .wt-search-bar__input {
136
- @extend %typo-body-lg;
135
+ @extend %typo-body-1;
136
+ @include wt-placeholder;
137
137
 
138
138
  display: block;
139
139
  width: 100%;
@@ -145,34 +145,18 @@
145
145
  border-radius: var(--border-radius);
146
146
  transition: var(--transition);
147
147
 
148
- &::placeholder {
149
- color: var(--form-placeholder-color)
150
- }
151
-
152
- .wt-search-bar:hover &,
153
148
  &:focus {
149
+ @include wt-placeholder('focus');
154
150
  border-color: var(--form-border--hover-color);
155
-
156
- &::placeholder {
157
- color: var(--form-placeholder--hover-color)
158
- }
159
151
  }
160
152
 
161
153
  .wt-search-bar--outline & {
162
154
  border-color: var(--form-outline-border-color);
163
-
164
- &::placeholder {
165
- color: var(--form-outline-placeholder-color)
166
- }
167
155
  }
168
156
 
169
157
  .wt-search-bar--outline:hover &,
170
158
  .wt-search-bar--outline &:focus {
171
159
  border-color: var(--form-outline-border--hover-color);
172
-
173
- &::placeholder {
174
- color: var(--form-outline-placeholder--hover-color)
175
- }
176
160
  }
177
161
  }
178
162