uview-plus 3.1.36 → 3.1.37

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 (63) hide show
  1. package/changelog.md +2 -0
  2. package/components/u-action-sheet/u-action-sheet.vue +1 -0
  3. package/components/u-album/u-album.vue +1 -0
  4. package/components/u-alert/u-alert.vue +1 -0
  5. package/components/u-avatar/u-avatar.vue +1 -0
  6. package/components/u-avatar-group/u-avatar-group.vue +1 -0
  7. package/components/u-back-top/u-back-top.vue +2 -1
  8. package/components/u-badge/u-badge.vue +1 -1
  9. package/components/u-calendar/u-calendar.vue +1 -0
  10. package/components/u-car-keyboard/u-car-keyboard.vue +312 -311
  11. package/components/u-cell/u-cell.vue +1 -1
  12. package/components/u-cell-group/u-cell-group.vue +1 -1
  13. package/components/u-checkbox/u-checkbox.vue +2 -1
  14. package/components/u-code/u-code.vue +1 -0
  15. package/components/u-code-input/props.js +13 -5
  16. package/components/u-code-input/u-code-input.vue +8 -2
  17. package/components/u-col/u-col.vue +1 -0
  18. package/components/u-collapse/u-collapse.vue +1 -0
  19. package/components/u-column-notice/u-column-notice.vue +1 -0
  20. package/components/u-count-down/u-count-down.vue +164 -163
  21. package/components/u-count-to/u-count-to.vue +1 -0
  22. package/components/u-divider/u-divider.vue +1 -0
  23. package/components/u-dropdown/u-dropdown.vue +127 -129
  24. package/components/u-form-item/u-form-item.vue +1 -0
  25. package/components/u-image/u-image.vue +1 -1
  26. package/components/u-index-anchor/u-index-anchor.vue +1 -1
  27. package/components/u-index-item/u-index-item.vue +1 -1
  28. package/components/u-index-list/u-index-list.vue +1 -1
  29. package/components/u-input/u-input.vue +3 -3
  30. package/components/u-keyboard/u-keyboard.vue +1 -0
  31. package/components/u-link/u-link.vue +1 -0
  32. package/components/u-list/u-list.vue +1 -0
  33. package/components/u-loadmore/u-loadmore.vue +1 -0
  34. package/components/u-modal/u-modal.vue +230 -229
  35. package/components/u-navbar/u-navbar.vue +1 -1
  36. package/components/u-no-network/u-no-network.vue +1 -0
  37. package/components/u-notice-bar/u-notice-bar.vue +1 -0
  38. package/components/u-number-box/u-number-box.vue +1 -1
  39. package/components/u-number-keyboard/u-number-keyboard.vue +1 -1
  40. package/components/u-overlay/u-overlay.vue +1 -0
  41. package/components/u-parse/node/node.vue +2 -2
  42. package/components/u-parse/parser.js +1333 -1333
  43. package/components/u-parse/u-parse.vue +3 -3
  44. package/components/u-popup/u-popup.vue +307 -306
  45. package/components/u-radio/u-radio.vue +1 -1
  46. package/components/u-read-more/u-read-more.vue +1 -0
  47. package/components/u-row/u-row.vue +1 -0
  48. package/components/u-row-notice/u-row-notice.vue +1 -0
  49. package/components/u-scroll-list/u-scroll-list.vue +1 -0
  50. package/components/u-search/u-search.vue +6 -2
  51. package/components/u-slider/props.js +13 -5
  52. package/components/u-slider/u-slider.vue +66 -55
  53. package/components/u-status-bar/u-status-bar.vue +1 -1
  54. package/components/u-steps/u-steps.vue +1 -1
  55. package/components/u-steps-item/u-steps-item.vue +1 -1
  56. package/components/u-subsection/u-subsection.vue +1 -0
  57. package/components/u-swiper/u-swiper.vue +10 -9
  58. package/components/u-tabbar-item/u-tabbar-item.vue +1 -0
  59. package/components/u-tag/u-tag.vue +362 -361
  60. package/components/u-toolbar/u-toolbar.vue +1 -0
  61. package/components/u-tooltip/u-tooltip.vue +1 -0
  62. package/components/u-upload/u-upload.vue +1 -1
  63. package/package.json +1 -1
@@ -1,361 +1,362 @@
1
- <template>
2
- <u-transition
3
- mode="fade"
4
- :show="show"
5
- style="display: inline-flex;"
6
- >
7
- <view class="u-tag-wrapper">
8
- <view
9
- class="u-tag"
10
- :class="[`u-tag--${shape}`, !plain && `u-tag--${type}`, plain && `u-tag--${type}--plain`, `u-tag--${size}`, plain && plainFill && `u-tag--${type}--plain--fill`]"
11
- @tap.stop="clickHandler"
12
- :style="[{
13
- marginRight: closable ? '10px' : 0,
14
- marginTop: closable ? '10px' : 0,
15
- }, style]"
16
- >
17
- <slot name="icon">
18
- <view
19
- class="u-tag__icon"
20
- v-if="icon"
21
- >
22
- <image
23
- v-if="$u.test.image(icon)"
24
- :src="icon"
25
- :style="[imgStyle]"
26
- ></image>
27
- <u-icon
28
- v-else
29
- :color="elIconColor"
30
- :name="icon"
31
- :size="iconSize"
32
- ></u-icon>
33
- </view>
34
- </slot>
35
- <text
36
- class="u-tag__text"
37
- :style="[textColor]"
38
- :class="[`u-tag__text--${type}`, plain && `u-tag__text--${type}--plain`, `u-tag__text--${size}`]"
39
- >{{ text }}</text>
40
- </view>
41
- <view
42
- class="u-tag__close"
43
- :class="[`u-tag__close--${size}`]"
44
- v-if="closable"
45
- @tap.stop="closeHandler"
46
- :style="{backgroundColor: closeColor}"
47
- >
48
- <u-icon
49
- name="close"
50
- :size="closeSize"
51
- color="#ffffff"
52
- ></u-icon>
53
- </view>
54
- </view>
55
- </u-transition>
56
- </template>
57
-
58
- <script>
59
- import props from './props.js';
60
- import mpMixin from '../../libs/mixin/mpMixin.js';
61
- import mixin from '../../libs/mixin/mixin.js';
62
- /**
63
- * Tag 标签
64
- * @description tag组件一般用于标记和选择,我们提供了更加丰富的表现形式,能够较全面的涵盖您的使用场景
65
- * @tutorial https://ijry.github.io/uview-plus/components/tag.html
66
- * @property {String} type 标签类型info、primary、success、warning、error (默认 'primary' )
67
- * @property {Boolean | String} disabled 不可用(默认 false )
68
- * @property {String} size 标签的大小,large,medium,mini (默认 'medium' )
69
- * @property {String} shape tag的形状,circle(两边半圆形), square(方形,带圆角)(默认 'square' )
70
- * @property {String | Number} text 标签的文字内容
71
- * @property {String} bgColor 背景颜色,默认为空字符串,即不处理
72
- * @property {String} color 标签字体颜色,默认为空字符串,即不处理
73
- * @property {String} borderColor 镂空形式标签的边框颜色
74
- * @property {String} closeColor 关闭按钮图标的颜色(默认 #C6C7CB)
75
- * @property {String | Number} name 点击时返回的索引值,用于区分例遍的数组哪个元素被点击了
76
- * @property {Boolean} plainFill 镂空时是否填充背景色(默认 false )
77
- * @property {Boolean} plain 是否镂空(默认 false )
78
- * @property {Boolean} closable 是否可关闭,设置为true,文字右边会出现一个关闭图标(默认 false )
79
- * @property {Boolean} show 标签显示与否(默认 true )
80
- * @property {String} icon 内置图标,或绝对路径的图片
81
- * @event {Function(index)} click 点击标签时触发 index: 传递的index参数值
82
- * @event {Function(index)} close closable为true时,点击标签关闭按钮触发 index: 传递的index参数值
83
- * @example <u-tag text="标签" type="error" plain plainFill></u-tag>
84
- */
85
- export default {
86
- name: 'u-tag',
87
- mixins: [mpMixin, mixin, props],
88
- data() {
89
- return {
90
-
91
- }
92
- },
93
- computed: {
94
- style() {
95
- const style = {}
96
- if (this.bgColor) {
97
- style.backgroundColor = this.bgColor
98
- }
99
- if (this.color) {
100
- style.color = this.color
101
- }
102
- if(this.borderColor) {
103
- style.borderColor = this.borderColor
104
- }
105
- return style
106
- },
107
- // nvue下,文本颜色无法继承父元素
108
- textColor() {
109
- const style = {}
110
- if (this.color) {
111
- style.color = this.color
112
- }
113
- return style
114
- },
115
- imgStyle() {
116
- const width = this.size === 'large' ? '17px' : this.size === 'medium' ? '15px' : '13px'
117
- return {
118
- width,
119
- height: width
120
- }
121
- },
122
- // 文本的样式
123
- closeSize() {
124
- const size = this.size === 'large' ? 15 : this.size === 'medium' ? 13 : 12
125
- return size
126
- },
127
- // 图标大小
128
- iconSize() {
129
- const size = this.size === 'large' ? 21 : this.size === 'medium' ? 19 : 16
130
- return size
131
- },
132
- // 图标颜色
133
- elIconColor() {
134
- return this.iconColor ? this.iconColor : this.plain ? this.type : '#ffffff'
135
- }
136
- },
137
- methods: {
138
- // 点击关闭按钮
139
- closeHandler() {
140
- this.$emit('close', this.name)
141
- },
142
- // 点击标签
143
- clickHandler() {
144
- this.$emit('click', this.name)
145
- }
146
- }
147
- }
148
- </script>
149
-
150
- <style
151
- lang="scss"
152
- scoped
153
- >
154
- @import "../../libs/css/components.scss";
155
-
156
- .u-tag-wrapper {
157
- position: relative;
158
- }
159
-
160
- .u-tag {
161
- @include flex;
162
- align-items: center;
163
- border-style: solid;
164
-
165
- &--circle {
166
- border-radius: 100px;
167
- }
168
-
169
- &--square {
170
- border-radius: 3px;
171
- }
172
-
173
- &__icon {
174
- margin-right: 4px;
175
- }
176
-
177
- &__text {
178
- &--mini {
179
- font-size: 12px;
180
- line-height: 12px;
181
- }
182
-
183
- &--medium {
184
- font-size: 13px;
185
- line-height: 13px;
186
- }
187
-
188
- &--large {
189
- font-size: 15px;
190
- line-height: 15px;
191
- }
192
- }
193
-
194
- &--mini {
195
- height: 22px;
196
- line-height: 22px;
197
- padding: 0 5px;
198
- }
199
-
200
- &--medium {
201
- height: 26px;
202
- line-height: 22px;
203
- padding: 0 10px;
204
- }
205
-
206
- &--large {
207
- height: 32px;
208
- line-height: 32px;
209
- padding: 0 15px;
210
- }
211
-
212
- &--primary {
213
- background-color: $u-primary;
214
- border-width: 1px;
215
- border-color: $u-primary;
216
- }
217
-
218
- &--primary--plain {
219
- border-width: 1px;
220
- border-color: $u-primary;
221
- }
222
-
223
- &--primary--plain--fill {
224
- background-color: #ecf5ff;
225
- }
226
-
227
- &__text--primary {
228
- color: #FFFFFF;
229
- }
230
-
231
- &__text--primary--plain {
232
- color: $u-primary;
233
- }
234
-
235
- &--error {
236
- background-color: $u-error;
237
- border-width: 1px;
238
- border-color: $u-error;
239
- }
240
-
241
- &--error--plain {
242
- border-width: 1px;
243
- border-color: $u-error;
244
- }
245
-
246
- &--error--plain--fill {
247
- background-color: #fef0f0;
248
- }
249
-
250
- &__text--error {
251
- color: #FFFFFF;
252
- }
253
-
254
- &__text--error--plain {
255
- color: $u-error;
256
- }
257
-
258
- &--warning {
259
- background-color: $u-warning;
260
- border-width: 1px;
261
- border-color: $u-warning;
262
- }
263
-
264
- &--warning--plain {
265
- border-width: 1px;
266
- border-color: $u-warning;
267
- }
268
-
269
- &--warning--plain--fill {
270
- background-color: #fdf6ec;
271
- }
272
-
273
- &__text--warning {
274
- color: #FFFFFF;
275
- }
276
-
277
- &__text--warning--plain {
278
- color: $u-warning;
279
- }
280
-
281
- &--success {
282
- background-color: $u-success;
283
- border-width: 1px;
284
- border-color: $u-success;
285
- }
286
-
287
- &--success--plain {
288
- border-width: 1px;
289
- border-color: $u-success;
290
- }
291
-
292
- &--success--plain--fill {
293
- background-color: #f5fff0;
294
- }
295
-
296
- &__text--success {
297
- color: #FFFFFF;
298
- }
299
-
300
- &__text--success--plain {
301
- color: $u-success;
302
- }
303
-
304
- &--info {
305
- background-color: $u-info;
306
- border-width: 1px;
307
- border-color: $u-info;
308
- }
309
-
310
- &--info--plain {
311
- border-width: 1px;
312
- border-color: $u-info;
313
- }
314
-
315
- &--info--plain--fill {
316
- background-color: #f4f4f5;
317
- }
318
-
319
- &__text--info {
320
- color: #FFFFFF;
321
- }
322
-
323
- &__text--info--plain {
324
- color: $u-info;
325
- }
326
-
327
- &__close {
328
- position: absolute;
329
- z-index: 999;
330
- top: 10px;
331
- right: 10px;
332
- border-radius: 100px;
333
- background-color: #C6C7CB;
334
- @include flex(row);
335
- align-items: center;
336
- justify-content: center;
337
- /* #ifndef APP-NVUE */
338
- transform: scale(0.6) translate(80%, -80%);
339
- /* #endif */
340
- /* #ifdef APP-NVUE */
341
- transform: scale(0.6) translate(50%, -50%);
342
- /* #endif */
343
-
344
- &--mini {
345
- width: 18px;
346
- height: 18px;
347
- }
348
-
349
- &--medium {
350
- width: 22px;
351
- height: 22px;
352
- }
353
-
354
- &--large {
355
- width: 25px;
356
- height: 25px;
357
- }
358
- }
359
-
360
- }
361
- </style>
1
+ <template>
2
+ <u-transition
3
+ mode="fade"
4
+ :show="show"
5
+ style="display: inline-flex;"
6
+ >
7
+ <view class="u-tag-wrapper">
8
+ <view
9
+ class="u-tag"
10
+ :class="[`u-tag--${shape}`, !plain && `u-tag--${type}`, plain && `u-tag--${type}--plain`, `u-tag--${size}`, plain && plainFill && `u-tag--${type}--plain--fill`]"
11
+ @tap.stop="clickHandler"
12
+ :style="[{
13
+ marginRight: closable ? '10px' : 0,
14
+ marginTop: closable ? '10px' : 0,
15
+ }, style]"
16
+ >
17
+ <slot name="icon">
18
+ <view
19
+ class="u-tag__icon"
20
+ v-if="icon"
21
+ >
22
+ <image
23
+ v-if="$u.test.image(icon)"
24
+ :src="icon"
25
+ :style="[imgStyle]"
26
+ ></image>
27
+ <u-icon
28
+ v-else
29
+ :color="elIconColor"
30
+ :name="icon"
31
+ :size="iconSize"
32
+ ></u-icon>
33
+ </view>
34
+ </slot>
35
+ <text
36
+ class="u-tag__text"
37
+ :style="[textColor]"
38
+ :class="[`u-tag__text--${type}`, plain && `u-tag__text--${type}--plain`, `u-tag__text--${size}`]"
39
+ >{{ text }}</text>
40
+ </view>
41
+ <view
42
+ class="u-tag__close"
43
+ :class="[`u-tag__close--${size}`]"
44
+ v-if="closable"
45
+ @tap.stop="closeHandler"
46
+ :style="{backgroundColor: closeColor}"
47
+ >
48
+ <u-icon
49
+ name="close"
50
+ :size="closeSize"
51
+ color="#ffffff"
52
+ ></u-icon>
53
+ </view>
54
+ </view>
55
+ </u-transition>
56
+ </template>
57
+
58
+ <script>
59
+ import props from './props.js';
60
+ import mpMixin from '../../libs/mixin/mpMixin.js';
61
+ import mixin from '../../libs/mixin/mixin.js';
62
+ /**
63
+ * Tag 标签
64
+ * @description tag组件一般用于标记和选择,我们提供了更加丰富的表现形式,能够较全面的涵盖您的使用场景
65
+ * @tutorial https://ijry.github.io/uview-plus/components/tag.html
66
+ * @property {String} type 标签类型info、primary、success、warning、error (默认 'primary' )
67
+ * @property {Boolean | String} disabled 不可用(默认 false )
68
+ * @property {String} size 标签的大小,large,medium,mini (默认 'medium' )
69
+ * @property {String} shape tag的形状,circle(两边半圆形), square(方形,带圆角)(默认 'square' )
70
+ * @property {String | Number} text 标签的文字内容
71
+ * @property {String} bgColor 背景颜色,默认为空字符串,即不处理
72
+ * @property {String} color 标签字体颜色,默认为空字符串,即不处理
73
+ * @property {String} borderColor 镂空形式标签的边框颜色
74
+ * @property {String} closeColor 关闭按钮图标的颜色(默认 #C6C7CB)
75
+ * @property {String | Number} name 点击时返回的索引值,用于区分例遍的数组哪个元素被点击了
76
+ * @property {Boolean} plainFill 镂空时是否填充背景色(默认 false )
77
+ * @property {Boolean} plain 是否镂空(默认 false )
78
+ * @property {Boolean} closable 是否可关闭,设置为true,文字右边会出现一个关闭图标(默认 false )
79
+ * @property {Boolean} show 标签显示与否(默认 true )
80
+ * @property {String} icon 内置图标,或绝对路径的图片
81
+ * @event {Function(index)} click 点击标签时触发 index: 传递的index参数值
82
+ * @event {Function(index)} close closable为true时,点击标签关闭按钮触发 index: 传递的index参数值
83
+ * @example <u-tag text="标签" type="error" plain plainFill></u-tag>
84
+ */
85
+ export default {
86
+ name: 'u-tag',
87
+ mixins: [mpMixin, mixin, props],
88
+ data() {
89
+ return {
90
+
91
+ }
92
+ },
93
+ computed: {
94
+ style() {
95
+ const style = {}
96
+ if (this.bgColor) {
97
+ style.backgroundColor = this.bgColor
98
+ }
99
+ if (this.color) {
100
+ style.color = this.color
101
+ }
102
+ if(this.borderColor) {
103
+ style.borderColor = this.borderColor
104
+ }
105
+ return style
106
+ },
107
+ // nvue下,文本颜色无法继承父元素
108
+ textColor() {
109
+ const style = {}
110
+ if (this.color) {
111
+ style.color = this.color
112
+ }
113
+ return style
114
+ },
115
+ imgStyle() {
116
+ const width = this.size === 'large' ? '17px' : this.size === 'medium' ? '15px' : '13px'
117
+ return {
118
+ width,
119
+ height: width
120
+ }
121
+ },
122
+ // 文本的样式
123
+ closeSize() {
124
+ const size = this.size === 'large' ? 15 : this.size === 'medium' ? 13 : 12
125
+ return size
126
+ },
127
+ // 图标大小
128
+ iconSize() {
129
+ const size = this.size === 'large' ? 21 : this.size === 'medium' ? 19 : 16
130
+ return size
131
+ },
132
+ // 图标颜色
133
+ elIconColor() {
134
+ return this.iconColor ? this.iconColor : this.plain ? this.type : '#ffffff'
135
+ }
136
+ },
137
+ emits: ["click", "close"],
138
+ methods: {
139
+ // 点击关闭按钮
140
+ closeHandler() {
141
+ this.$emit('close', this.name)
142
+ },
143
+ // 点击标签
144
+ clickHandler() {
145
+ this.$emit('click', this.name)
146
+ }
147
+ }
148
+ }
149
+ </script>
150
+
151
+ <style
152
+ lang="scss"
153
+ scoped
154
+ >
155
+ @import "../../libs/css/components.scss";
156
+
157
+ .u-tag-wrapper {
158
+ position: relative;
159
+ }
160
+
161
+ .u-tag {
162
+ @include flex;
163
+ align-items: center;
164
+ border-style: solid;
165
+
166
+ &--circle {
167
+ border-radius: 100px;
168
+ }
169
+
170
+ &--square {
171
+ border-radius: 3px;
172
+ }
173
+
174
+ &__icon {
175
+ margin-right: 4px;
176
+ }
177
+
178
+ &__text {
179
+ &--mini {
180
+ font-size: 12px;
181
+ line-height: 12px;
182
+ }
183
+
184
+ &--medium {
185
+ font-size: 13px;
186
+ line-height: 13px;
187
+ }
188
+
189
+ &--large {
190
+ font-size: 15px;
191
+ line-height: 15px;
192
+ }
193
+ }
194
+
195
+ &--mini {
196
+ height: 22px;
197
+ line-height: 22px;
198
+ padding: 0 5px;
199
+ }
200
+
201
+ &--medium {
202
+ height: 26px;
203
+ line-height: 22px;
204
+ padding: 0 10px;
205
+ }
206
+
207
+ &--large {
208
+ height: 32px;
209
+ line-height: 32px;
210
+ padding: 0 15px;
211
+ }
212
+
213
+ &--primary {
214
+ background-color: $u-primary;
215
+ border-width: 1px;
216
+ border-color: $u-primary;
217
+ }
218
+
219
+ &--primary--plain {
220
+ border-width: 1px;
221
+ border-color: $u-primary;
222
+ }
223
+
224
+ &--primary--plain--fill {
225
+ background-color: #ecf5ff;
226
+ }
227
+
228
+ &__text--primary {
229
+ color: #FFFFFF;
230
+ }
231
+
232
+ &__text--primary--plain {
233
+ color: $u-primary;
234
+ }
235
+
236
+ &--error {
237
+ background-color: $u-error;
238
+ border-width: 1px;
239
+ border-color: $u-error;
240
+ }
241
+
242
+ &--error--plain {
243
+ border-width: 1px;
244
+ border-color: $u-error;
245
+ }
246
+
247
+ &--error--plain--fill {
248
+ background-color: #fef0f0;
249
+ }
250
+
251
+ &__text--error {
252
+ color: #FFFFFF;
253
+ }
254
+
255
+ &__text--error--plain {
256
+ color: $u-error;
257
+ }
258
+
259
+ &--warning {
260
+ background-color: $u-warning;
261
+ border-width: 1px;
262
+ border-color: $u-warning;
263
+ }
264
+
265
+ &--warning--plain {
266
+ border-width: 1px;
267
+ border-color: $u-warning;
268
+ }
269
+
270
+ &--warning--plain--fill {
271
+ background-color: #fdf6ec;
272
+ }
273
+
274
+ &__text--warning {
275
+ color: #FFFFFF;
276
+ }
277
+
278
+ &__text--warning--plain {
279
+ color: $u-warning;
280
+ }
281
+
282
+ &--success {
283
+ background-color: $u-success;
284
+ border-width: 1px;
285
+ border-color: $u-success;
286
+ }
287
+
288
+ &--success--plain {
289
+ border-width: 1px;
290
+ border-color: $u-success;
291
+ }
292
+
293
+ &--success--plain--fill {
294
+ background-color: #f5fff0;
295
+ }
296
+
297
+ &__text--success {
298
+ color: #FFFFFF;
299
+ }
300
+
301
+ &__text--success--plain {
302
+ color: $u-success;
303
+ }
304
+
305
+ &--info {
306
+ background-color: $u-info;
307
+ border-width: 1px;
308
+ border-color: $u-info;
309
+ }
310
+
311
+ &--info--plain {
312
+ border-width: 1px;
313
+ border-color: $u-info;
314
+ }
315
+
316
+ &--info--plain--fill {
317
+ background-color: #f4f4f5;
318
+ }
319
+
320
+ &__text--info {
321
+ color: #FFFFFF;
322
+ }
323
+
324
+ &__text--info--plain {
325
+ color: $u-info;
326
+ }
327
+
328
+ &__close {
329
+ position: absolute;
330
+ z-index: 999;
331
+ top: 10px;
332
+ right: 10px;
333
+ border-radius: 100px;
334
+ background-color: #C6C7CB;
335
+ @include flex(row);
336
+ align-items: center;
337
+ justify-content: center;
338
+ /* #ifndef APP-NVUE */
339
+ transform: scale(0.6) translate(80%, -80%);
340
+ /* #endif */
341
+ /* #ifdef APP-NVUE */
342
+ transform: scale(0.6) translate(50%, -50%);
343
+ /* #endif */
344
+
345
+ &--mini {
346
+ width: 18px;
347
+ height: 18px;
348
+ }
349
+
350
+ &--medium {
351
+ width: 22px;
352
+ height: 22px;
353
+ }
354
+
355
+ &--large {
356
+ width: 25px;
357
+ height: 25px;
358
+ }
359
+ }
360
+
361
+ }
362
+ </style>