mediacube-ui-v2 0.0.162 → 0.0.163
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/styles/mixins.scss
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@use '../tokens/font-sizes' as *;
|
|
22
22
|
@use '../tokens/line-heights' as *;
|
|
23
23
|
@use '../tokens/spacings' as *;
|
|
24
|
+
@use '../tokens/media-queries' as *;
|
|
24
25
|
@use '../tokens/font-weights' as *;
|
|
25
26
|
@use '../styles/functions' as *;
|
|
26
27
|
|
|
@@ -663,3 +664,62 @@
|
|
|
663
664
|
margin-inline-start: $space;
|
|
664
665
|
}
|
|
665
666
|
}
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
@mixin editor-notification-styles {
|
|
670
|
+
@include editor-default-styles;
|
|
671
|
+
h1 {
|
|
672
|
+
margin-bottom: $space-250;
|
|
673
|
+
img {
|
|
674
|
+
object-fit: cover;
|
|
675
|
+
margin: $space-zero auto $space-50;
|
|
676
|
+
@media #{$media-query-s} {
|
|
677
|
+
margin: $space-zero auto $space-250;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
h2 {
|
|
682
|
+
margin-bottom: $space-200;
|
|
683
|
+
}
|
|
684
|
+
* + h2 {
|
|
685
|
+
margin-top: $space-300;
|
|
686
|
+
}
|
|
687
|
+
h3, strong {
|
|
688
|
+
margin-bottom: $space-100;
|
|
689
|
+
}
|
|
690
|
+
* + h3 {
|
|
691
|
+
margin-top: $space-250;
|
|
692
|
+
}
|
|
693
|
+
img {
|
|
694
|
+
object-fit: cover;
|
|
695
|
+
margin: $space-250 $space-zero;
|
|
696
|
+
}
|
|
697
|
+
img.horizontal {
|
|
698
|
+
width: 100%;
|
|
699
|
+
height: auto;
|
|
700
|
+
max-height: 200px;
|
|
701
|
+
}
|
|
702
|
+
img.vertical {
|
|
703
|
+
display: block;
|
|
704
|
+
max-height: 180px;
|
|
705
|
+
margin-left: auto;
|
|
706
|
+
margin-right: auto;
|
|
707
|
+
}
|
|
708
|
+
blockquote {
|
|
709
|
+
margin-top: $space-100;
|
|
710
|
+
font-size: $font-size-300;
|
|
711
|
+
font-weight: $font-weight-normal;
|
|
712
|
+
line-height: $line-height-300;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
@mixin editor-assist-styles {
|
|
717
|
+
img {
|
|
718
|
+
max-width: 100%;
|
|
719
|
+
width: 100%;
|
|
720
|
+
max-height: 500px;
|
|
721
|
+
object-fit: cover;
|
|
722
|
+
margin: 16px 0;
|
|
723
|
+
}
|
|
724
|
+
@include editor-default-styles;
|
|
725
|
+
}
|
|
@@ -229,6 +229,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
229
229
|
type: PropType<string>;
|
|
230
230
|
default: string;
|
|
231
231
|
};
|
|
232
|
+
/**
|
|
233
|
+
* Убираем ли лидирующий 0 01 -> 1 для числовых инпутов num/int/amount_format
|
|
234
|
+
*/
|
|
235
|
+
removeLeadingZero: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Разрешаем вводить '-' для числовых типов num/amount_format
|
|
241
|
+
*/
|
|
242
|
+
allowNegative: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
232
246
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
233
247
|
copy: (value: string) => any;
|
|
234
248
|
keydown: (value: KeyboardEvent) => any;
|
|
@@ -459,6 +473,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
459
473
|
type: PropType<string>;
|
|
460
474
|
default: string;
|
|
461
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* Убираем ли лидирующий 0 01 -> 1 для числовых инпутов num/int/amount_format
|
|
478
|
+
*/
|
|
479
|
+
removeLeadingZero: {
|
|
480
|
+
type: BooleanConstructor;
|
|
481
|
+
default: boolean;
|
|
482
|
+
};
|
|
483
|
+
/**
|
|
484
|
+
* Разрешаем вводить '-' для числовых типов num/amount_format
|
|
485
|
+
*/
|
|
486
|
+
allowNegative: {
|
|
487
|
+
type: BooleanConstructor;
|
|
488
|
+
default: boolean;
|
|
489
|
+
};
|
|
462
490
|
}>> & Readonly<{
|
|
463
491
|
onCopy?: ((value: string) => any) | undefined;
|
|
464
492
|
onKeydown?: ((value: KeyboardEvent) => any) | undefined;
|
|
@@ -489,6 +517,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
489
517
|
maskOptions: Record<string, any>;
|
|
490
518
|
isMobile: boolean;
|
|
491
519
|
maxDecimals: number;
|
|
520
|
+
removeLeadingZero: boolean;
|
|
521
|
+
allowNegative: boolean;
|
|
492
522
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
493
523
|
header?(_: {}): any;
|
|
494
524
|
prepend?(_: {}): any;
|