sass-template-common 0.16.5 → 0.16.7
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 +31 -2
- package/dist/sass-template-common.js +2241 -2332
- package/dist/sass-template-common.umd.cjs +25 -25
- 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 -0
- 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, }: Props_22) => Promise<JSX.Element | null>;
|
|
1003
1003
|
|
|
1004
1004
|
declare type DebugCfg = {
|
|
1005
1005
|
buttonPosition?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
@@ -1113,6 +1113,8 @@ export declare interface DestacadoDiarioLiveProps extends SectionCardProps, NewD
|
|
|
1113
1113
|
block: NewListResponseData[];
|
|
1114
1114
|
commonServices?: CommonServices;
|
|
1115
1115
|
speculationPrerenderClass?: string;
|
|
1116
|
+
/** HTML del iframe del bloque destacado ("En vivo"). */
|
|
1117
|
+
liveIframe?: string;
|
|
1116
1118
|
showSuper?: boolean;
|
|
1117
1119
|
textPosition?: 'center' | 'start';
|
|
1118
1120
|
heightImageOverwrite?: string;
|
|
@@ -2599,8 +2601,13 @@ export declare class MainComponentServices {
|
|
|
2599
2601
|
getNewsDestacadoHorizontal(section: string, zone: string): Promise<never[] | AxiosResponse<NewListResponse, any, {}>>;
|
|
2600
2602
|
GetByOptions: any;
|
|
2601
2603
|
getMainBlockData(params: Params, section?: string, zone?: string): Promise<{
|
|
2604
|
+
section: string;
|
|
2605
|
+
news: never[];
|
|
2606
|
+
liveIframe?: undefined;
|
|
2607
|
+
} | {
|
|
2602
2608
|
section: string;
|
|
2603
2609
|
news: any;
|
|
2610
|
+
liveIframe: string | undefined;
|
|
2604
2611
|
}>;
|
|
2605
2612
|
}
|
|
2606
2613
|
|
|
@@ -3237,6 +3244,8 @@ export declare interface Outstanding {
|
|
|
3237
3244
|
key: string;
|
|
3238
3245
|
value: string;
|
|
3239
3246
|
config: string;
|
|
3247
|
+
/** HTML del player cuando el destacado es "En vivo". */
|
|
3248
|
+
iframe?: string;
|
|
3240
3249
|
}
|
|
3241
3250
|
|
|
3242
3251
|
declare interface OutstandingNewsCSS extends NewsDescriptionCSS {
|
|
@@ -3541,6 +3550,8 @@ declare type Props_22 = {
|
|
|
3541
3550
|
zone?: string;
|
|
3542
3551
|
exclude?: string;
|
|
3543
3552
|
customMainImagesSize?: string;
|
|
3553
|
+
/** HTML del iframe del destacado "En vivo". */
|
|
3554
|
+
liveIframe?: string;
|
|
3544
3555
|
};
|
|
3545
3556
|
|
|
3546
3557
|
declare type Props_23 = {
|
|
@@ -4628,6 +4639,24 @@ export declare const Spin: ({ className }: {
|
|
|
4628
4639
|
className?: string;
|
|
4629
4640
|
}) => JSX.Element;
|
|
4630
4641
|
|
|
4642
|
+
/**
|
|
4643
|
+
* Card de persona para páginas de staff.
|
|
4644
|
+
* API deliberadamente chica: solo nombre / foto / descripcion / perfilUrl.
|
|
4645
|
+
* Visualmente parte de OpinionCard2 (avatar + textos), sin el bloque de nota.
|
|
4646
|
+
*/
|
|
4647
|
+
export declare const StaffCard: FC<StaffCardProps>;
|
|
4648
|
+
|
|
4649
|
+
declare interface StaffCardProps {
|
|
4650
|
+
nombre: string;
|
|
4651
|
+
foto?: string;
|
|
4652
|
+
descripcion?: string;
|
|
4653
|
+
perfilUrl?: string;
|
|
4654
|
+
/** Fallback cuando no hay `foto`. */
|
|
4655
|
+
autorIcon?: ReactNode;
|
|
4656
|
+
/** Texto del CTA. Default: "Ver perfil". */
|
|
4657
|
+
profileLinkLabel?: string;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4631
4660
|
export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_19): JSX.Element;
|
|
4632
4661
|
|
|
4633
4662
|
/**
|