sass-template-common 0.16.7 → 0.16.9
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 +48 -7
- package/dist/sass-template-common.js +327 -290
- package/dist/sass-template-common.umd.cjs +24 -24
- 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/dist/ui/components/common/cards/staff-card/cards-staff-card.css +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
1002
|
+
export declare const DEBUG_MainSlots: ({ StylesConfigMain, config, banners, axiosApi, commonServices, textPosition, imageSizes, section, zone, exclude, customMainImagesSize, live, 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,16 +1133,21 @@ 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;
|
|
1116
1141
|
/** HTML del iframe del bloque destacado ("En vivo"). */
|
|
1117
|
-
|
|
1142
|
+
live?: {
|
|
1143
|
+
iframe?: string;
|
|
1144
|
+
title?: string;
|
|
1145
|
+
};
|
|
1118
1146
|
showSuper?: boolean;
|
|
1119
1147
|
textPosition?: 'center' | 'start';
|
|
1120
1148
|
heightImageOverwrite?: string;
|
|
1121
1149
|
heightImageOverwriteMobile?: string;
|
|
1150
|
+
texts?: textsType;
|
|
1122
1151
|
}
|
|
1123
1152
|
|
|
1124
1153
|
export declare const DestacadoNoticias: FC<DestacadoNoticiasProps>;
|
|
@@ -1213,7 +1242,7 @@ export declare class DynamicBlockServices extends CommonServices {
|
|
|
1213
1242
|
|
|
1214
1243
|
export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, showTagBySection, pathname, }: Props_21) => ReactNode[];
|
|
1215
1244
|
|
|
1216
|
-
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, isHome, commonServices, }: Props_20) => JSX.Element;
|
|
1245
|
+
export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, isHome, commonServices, texts, }: Props_20) => JSX.Element;
|
|
1217
1246
|
|
|
1218
1247
|
export declare function DynamicSlot({ component, slot_id, data, banners, isHome, }: Props_18): JSX.Element | undefined;
|
|
1219
1248
|
|
|
@@ -2603,11 +2632,14 @@ export declare class MainComponentServices {
|
|
|
2603
2632
|
getMainBlockData(params: Params, section?: string, zone?: string): Promise<{
|
|
2604
2633
|
section: string;
|
|
2605
2634
|
news: never[];
|
|
2606
|
-
|
|
2635
|
+
live?: undefined;
|
|
2607
2636
|
} | {
|
|
2608
2637
|
section: string;
|
|
2609
2638
|
news: any;
|
|
2610
|
-
|
|
2639
|
+
live: {
|
|
2640
|
+
iframe: string | undefined;
|
|
2641
|
+
title: string | undefined;
|
|
2642
|
+
};
|
|
2611
2643
|
}>;
|
|
2612
2644
|
}
|
|
2613
2645
|
|
|
@@ -3246,6 +3278,7 @@ export declare interface Outstanding {
|
|
|
3246
3278
|
config: string;
|
|
3247
3279
|
/** HTML del player cuando el destacado es "En vivo". */
|
|
3248
3280
|
iframe?: string;
|
|
3281
|
+
titulo?: string;
|
|
3249
3282
|
}
|
|
3250
3283
|
|
|
3251
3284
|
declare interface OutstandingNewsCSS extends NewsDescriptionCSS {
|
|
@@ -3524,6 +3557,7 @@ declare type Props_20 = {
|
|
|
3524
3557
|
rightOnlyBanner?: boolean;
|
|
3525
3558
|
isHome?: boolean;
|
|
3526
3559
|
commonServices?: CommonServices;
|
|
3560
|
+
texts?: textsType;
|
|
3527
3561
|
};
|
|
3528
3562
|
|
|
3529
3563
|
declare type Props_21 = {
|
|
@@ -3550,8 +3584,12 @@ declare type Props_22 = {
|
|
|
3550
3584
|
zone?: string;
|
|
3551
3585
|
exclude?: string;
|
|
3552
3586
|
customMainImagesSize?: string;
|
|
3553
|
-
/**
|
|
3554
|
-
|
|
3587
|
+
/** Datos del player/título del destacado "En vivo". */
|
|
3588
|
+
live?: {
|
|
3589
|
+
iframe?: string;
|
|
3590
|
+
title?: string;
|
|
3591
|
+
};
|
|
3592
|
+
texts?: textsType;
|
|
3555
3593
|
};
|
|
3556
3594
|
|
|
3557
3595
|
declare type Props_23 = {
|
|
@@ -4649,6 +4687,7 @@ export declare const StaffCard: FC<StaffCardProps>;
|
|
|
4649
4687
|
declare interface StaffCardProps {
|
|
4650
4688
|
nombre: string;
|
|
4651
4689
|
foto?: string;
|
|
4690
|
+
/** Acepta HTML de formato del CMS (`<br>`, `<strong>`, links); pasa por `sanitizeRichText`. */
|
|
4652
4691
|
descripcion?: string;
|
|
4653
4692
|
perfilUrl?: string;
|
|
4654
4693
|
/** Fallback cuando no hay `foto`. */
|
|
@@ -4746,6 +4785,8 @@ export declare type TextsHeader = {
|
|
|
4746
4785
|
export declare type TextsListsAndSearch = {
|
|
4747
4786
|
readestTitle: string;
|
|
4748
4787
|
enVivoButton: string;
|
|
4788
|
+
/** Título del bloque destacado "En vivo" (ej. "Reportes de MiSitio en vivo"). */
|
|
4789
|
+
destacadoLiveTitle: string;
|
|
4749
4790
|
relatedNewsTitle: string;
|
|
4750
4791
|
moreNewsTitle: string;
|
|
4751
4792
|
searchKeyWord: string;
|