mediacube-ui 0.1.382 → 0.1.384
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.
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
<template slot="singleLabel" slot-scope="{ option }">
|
|
30
30
|
<mc-preview v-if="optionWithPreview" class="option__desc" size="l">
|
|
31
|
-
<template #left>
|
|
31
|
+
<template #left v-if="option?.icon || option?.image">
|
|
32
32
|
<mc-avatar v-if="option.image" :src="option.image" size="400" />
|
|
33
33
|
<mc-svg-icon v-else :name="option.icon" :color="option.iconColor || 'main'" size="400" />
|
|
34
34
|
</template>
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
</template>
|
|
55
55
|
|
|
56
56
|
<template v-if="optionsTooltip || optionWithPreview" slot="option" slot-scope="{ option }">
|
|
57
|
-
<mc-preview v-if="optionWithPreview
|
|
58
|
-
<template #left>
|
|
57
|
+
<mc-preview v-if="optionWithPreview" class="option__desc" size="l">
|
|
58
|
+
<template v-if="option?.icon || option?.image" #left>
|
|
59
59
|
<mc-avatar v-if="option.image" :src="option.image" size="400" />
|
|
60
60
|
<mc-svg-icon v-else :name="option.icon" :color="option.iconColor || 'main'" size="400" />
|
|
61
61
|
</template>
|
|
@@ -24,9 +24,7 @@
|
|
|
24
24
|
<div slot="bottom" class="mc-notification__text">
|
|
25
25
|
<!-- @slot Слот для контента -->
|
|
26
26
|
<slot>
|
|
27
|
-
<mc-title :color="variation" :ellipsis="false" max-width="100%"
|
|
28
|
-
{{ content }}
|
|
29
|
-
</mc-title>
|
|
27
|
+
<mc-title :color="variation" pre-line :ellipsis="false" max-width="100%" v-html="content" />
|
|
30
28
|
</slot>
|
|
31
29
|
</div>
|
|
32
30
|
|
package/src/styles/_mixins.scss
CHANGED
|
@@ -484,6 +484,17 @@
|
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
+
@mixin editor-assist-styles {
|
|
488
|
+
@include editor-default-styles;
|
|
489
|
+
img {
|
|
490
|
+
max-width: 100%;
|
|
491
|
+
width: 100%;
|
|
492
|
+
max-height: 500px;
|
|
493
|
+
object-fit: cover;
|
|
494
|
+
margin: 16px 0;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
487
498
|
@mixin common-slide-styles {
|
|
488
499
|
&-enter-active,
|
|
489
500
|
&-leave-active {
|
package/src/styles/global.scss
CHANGED
|
@@ -290,8 +290,8 @@ pre {
|
|
|
290
290
|
#{'--color-'}#{$name}: #{$color};
|
|
291
291
|
}
|
|
292
292
|
// Default main project colors
|
|
293
|
-
--color-main: $color-purple;
|
|
294
|
-
--color-main-dark: $color-hover-purple;
|
|
293
|
+
--color-main: #{$color-purple};
|
|
294
|
+
--color-main-dark: #{$color-hover-purple};
|
|
295
295
|
@for $i from 1 through 10 {
|
|
296
296
|
#{'--color-main-alpha-'}#{$i * 10}: #{rgba($color-purple, $i / 10)};
|
|
297
297
|
}
|