sass-template-common 0.16.6 → 0.16.8
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/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +44 -3
- package/dist/sass-template-common.js +2210 -2303
- package/dist/sass-template-common.umd.cjs +31 -31
- package/dist/ui/components/block_main_dynamic/block_main_dynamic.css +1 -1
- package/dist/ui/components/block_main_dynamic/destacado-diario-live/components-block_main_dynamic-destacado-diario-live.css +1 -1
- package/package.json +1 -1
|
@@ -866,7 +866,7 @@ export declare type ConfigDynamic = {
|
|
|
866
866
|
export declare type ConfigMain = {
|
|
867
867
|
Diario: DestacadoDiario;
|
|
868
868
|
'Diario con imagen': DestacadoDiario;
|
|
869
|
-
'
|
|
869
|
+
'En vivo': DestacadoDiarioLive;
|
|
870
870
|
Super: SectionCardCSS & Super;
|
|
871
871
|
'3 notas verticales': {
|
|
872
872
|
customLargeSection?: SectionCardCSS & Super;
|
|
@@ -999,7 +999,7 @@ declare interface Date_2 {
|
|
|
999
999
|
}
|
|
1000
1000
|
export { Date_2 as Date }
|
|
1001
1001
|
|
|
1002
|
-
export declare const DEBUG_MainSlots: ({ StylesConfigMain, config, banners, axiosApi, commonServices, textPosition, imageSizes, section, zone, exclude, customMainImagesSize, }: Props_22) => Promise<JSX.Element | null>;
|
|
1002
|
+
export declare const DEBUG_MainSlots: ({ StylesConfigMain, config, banners, axiosApi, commonServices, textPosition, imageSizes, section, zone, exclude, customMainImagesSize, liveIframe, texts, }: Props_22) => Promise<JSX.Element | null>;
|
|
1003
1003
|
|
|
1004
1004
|
declare type DebugCfg = {
|
|
1005
1005
|
buttonPosition?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
@@ -1100,6 +1100,30 @@ declare type DestacadoDiarioLive = {
|
|
|
1100
1100
|
'--news-description-padding'?: string;
|
|
1101
1101
|
'--news-description-border-bottom'?: string;
|
|
1102
1102
|
};
|
|
1103
|
+
customLiveBadgeStyles?: {
|
|
1104
|
+
'--ddl-live-badge-box-align-items'?: string;
|
|
1105
|
+
'--ddl-live-badge-box-gap'?: string;
|
|
1106
|
+
'--ddl-live-badge-box-padding'?: string;
|
|
1107
|
+
'--ddl-live-badge-gap'?: string;
|
|
1108
|
+
'--ddl-live-badge-background'?: string;
|
|
1109
|
+
'--ddl-live-badge-border'?: string;
|
|
1110
|
+
'--ddl-live-badge-border-radius'?: string;
|
|
1111
|
+
'--ddl-live-badge-padding'?: string;
|
|
1112
|
+
'--ddl-live-badge-font-family'?: string;
|
|
1113
|
+
'--ddl-live-badge-font-weight'?: string;
|
|
1114
|
+
'--ddl-live-badge-font-size'?: string;
|
|
1115
|
+
'--ddl-live-badge-color'?: string;
|
|
1116
|
+
'--ddl-live-badge-dot-size'?: string;
|
|
1117
|
+
'--ddl-live-badge-dot-color'?: string;
|
|
1118
|
+
'--ddl-live-badge-pulse-color'?: string;
|
|
1119
|
+
'--ddl-live-badge-title-font-family'?: string;
|
|
1120
|
+
'--ddl-live-badge-title-font-weight'?: string;
|
|
1121
|
+
'--ddl-live-badge-title-font-size-mobile'?: string;
|
|
1122
|
+
'--ddl-live-badge-title-line-height-mobile'?: string;
|
|
1123
|
+
'--ddl-live-badge-title-font-size-desk'?: string;
|
|
1124
|
+
'--ddl-live-badge-title-line-height-desk'?: string;
|
|
1125
|
+
'--ddl-live-badge-title-color'?: string;
|
|
1126
|
+
};
|
|
1103
1127
|
};
|
|
1104
1128
|
|
|
1105
1129
|
export declare interface DestacadoDiarioLiveProps extends SectionCardProps, NewDescriptionBlockProps {
|
|
@@ -1109,14 +1133,18 @@ export declare interface DestacadoDiarioLiveProps extends SectionCardProps, NewD
|
|
|
1109
1133
|
customSectionCardStyles?: CSSProperties;
|
|
1110
1134
|
customNewsDescriptionStyles?: CSSProperties;
|
|
1111
1135
|
customLiveStyles?: CSSProperties;
|
|
1136
|
+
customLiveBadgeStyles?: CSSProperties;
|
|
1112
1137
|
paths: RoutePathConfig;
|
|
1113
1138
|
block: NewListResponseData[];
|
|
1114
1139
|
commonServices?: CommonServices;
|
|
1115
1140
|
speculationPrerenderClass?: string;
|
|
1141
|
+
/** HTML del iframe del bloque destacado ("En vivo"). */
|
|
1142
|
+
liveIframe?: string;
|
|
1116
1143
|
showSuper?: boolean;
|
|
1117
1144
|
textPosition?: 'center' | 'start';
|
|
1118
1145
|
heightImageOverwrite?: string;
|
|
1119
1146
|
heightImageOverwriteMobile?: string;
|
|
1147
|
+
texts?: textsType;
|
|
1120
1148
|
}
|
|
1121
1149
|
|
|
1122
1150
|
export declare const DestacadoNoticias: FC<DestacadoNoticiasProps>;
|
|
@@ -1211,7 +1239,7 @@ export declare class DynamicBlockServices extends CommonServices {
|
|
|
1211
1239
|
|
|
1212
1240
|
export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, showTagBySection, pathname, }: Props_21) => ReactNode[];
|
|
1213
1241
|
|
|
1214
|
-
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, isHome, commonServices, }: Props_20) => JSX.Element;
|
|
1242
|
+
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, isHome, commonServices, texts, }: Props_20) => JSX.Element;
|
|
1215
1243
|
|
|
1216
1244
|
export declare function DynamicSlot({ component, slot_id, data, banners, isHome, }: Props_18): JSX.Element | undefined;
|
|
1217
1245
|
|
|
@@ -2599,8 +2627,13 @@ export declare class MainComponentServices {
|
|
|
2599
2627
|
getNewsDestacadoHorizontal(section: string, zone: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
2600
2628
|
GetByOptions: any;
|
|
2601
2629
|
getMainBlockData(params: Params, section?: string, zone?: string): Promise<{
|
|
2630
|
+
section: string;
|
|
2631
|
+
news: never[];
|
|
2632
|
+
liveIframe?: undefined;
|
|
2633
|
+
} | {
|
|
2602
2634
|
section: string;
|
|
2603
2635
|
news: any;
|
|
2636
|
+
liveIframe: string | undefined;
|
|
2604
2637
|
}>;
|
|
2605
2638
|
}
|
|
2606
2639
|
|
|
@@ -3237,6 +3270,8 @@ export declare interface Outstanding {
|
|
|
3237
3270
|
key: string;
|
|
3238
3271
|
value: string;
|
|
3239
3272
|
config: string;
|
|
3273
|
+
/** HTML del player cuando el destacado es "En vivo". */
|
|
3274
|
+
iframe?: string;
|
|
3240
3275
|
}
|
|
3241
3276
|
|
|
3242
3277
|
declare interface OutstandingNewsCSS extends NewsDescriptionCSS {
|
|
@@ -3515,6 +3550,7 @@ declare type Props_20 = {
|
|
|
3515
3550
|
rightOnlyBanner?: boolean;
|
|
3516
3551
|
isHome?: boolean;
|
|
3517
3552
|
commonServices?: CommonServices;
|
|
3553
|
+
texts?: textsType;
|
|
3518
3554
|
};
|
|
3519
3555
|
|
|
3520
3556
|
declare type Props_21 = {
|
|
@@ -3541,6 +3577,9 @@ declare type Props_22 = {
|
|
|
3541
3577
|
zone?: string;
|
|
3542
3578
|
exclude?: string;
|
|
3543
3579
|
customMainImagesSize?: string;
|
|
3580
|
+
/** HTML del iframe del destacado "En vivo". */
|
|
3581
|
+
liveIframe?: string;
|
|
3582
|
+
texts?: textsType;
|
|
3544
3583
|
};
|
|
3545
3584
|
|
|
3546
3585
|
declare type Props_23 = {
|
|
@@ -4735,6 +4774,8 @@ export declare type TextsHeader = {
|
|
|
4735
4774
|
export declare type TextsListsAndSearch = {
|
|
4736
4775
|
readestTitle: string;
|
|
4737
4776
|
enVivoButton: string;
|
|
4777
|
+
/** Título del bloque destacado "En vivo" (ej. "Reportes de MiSitio en vivo"). */
|
|
4778
|
+
destacadoLiveTitle: string;
|
|
4738
4779
|
relatedNewsTitle: string;
|
|
4739
4780
|
moreNewsTitle: string;
|
|
4740
4781
|
searchKeyWord: string;
|