sass-template-common 0.18.7 → 0.19.2
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/layout.css +1 -1
- package/dist/note-body.css +2 -2
- package/dist/note.css +2 -2
- package/dist/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +49 -6
- package/dist/sass-template-common.js +3258 -3316
- package/dist/sass-template-common.umd.cjs +40 -40
- package/dist/ui/components/block_main_dynamic/block_main_dynamic.css +1 -1
- package/dist/ui/components/block_main_dynamic/destacado-diario/components-block_main_dynamic-destacado-diario.css +1 -1
- package/dist/ui/components/blocks_dynamic/blocks_dynamic.css +1 -1
- package/dist/ui/components/blocks_dynamic/destacadoNoticiasFullWidth/components-blocks_dynamic-destacadoNoticiasFullWidth.css +1 -1
- package/dist/ui/components/common/autor-header-1/autor-header-1.css +1 -1
- package/dist/ui/components/common/journalist-articule-2/journalist-articule-2.css +1 -1
- package/dist/ui/components/common/journalist-group/journalist-group.css +1 -1
- package/dist/ui/components/common/sidebar/sidebar.css +1 -1
- package/dist/ui/components/common/tag-header/tag-header.css +1 -1
- package/dist/ui/components/common/tag-header-2/tag-header-2.css +1 -0
- package/package.json +1 -1
|
@@ -1466,7 +1466,7 @@ export declare const formatNewsMeta: (meta: any, news: NewListResponseData | und
|
|
|
1466
1466
|
alt: string;
|
|
1467
1467
|
}[];
|
|
1468
1468
|
siteName: string;
|
|
1469
|
-
locale:
|
|
1469
|
+
locale: any;
|
|
1470
1470
|
};
|
|
1471
1471
|
twitter: {
|
|
1472
1472
|
title: string;
|
|
@@ -1530,6 +1530,15 @@ export declare const formatVideoData: (meta: any, news: VideoResponseData, confi
|
|
|
1530
1530
|
news_keywords: string;
|
|
1531
1531
|
keywords: string;
|
|
1532
1532
|
openGraph: {
|
|
1533
|
+
siteName: string;
|
|
1534
|
+
locale: any;
|
|
1535
|
+
videos?: {
|
|
1536
|
+
type: string;
|
|
1537
|
+
width: number;
|
|
1538
|
+
height: number;
|
|
1539
|
+
secureUrl?: string | undefined;
|
|
1540
|
+
url: string;
|
|
1541
|
+
}[] | undefined;
|
|
1533
1542
|
title: string;
|
|
1534
1543
|
url: string;
|
|
1535
1544
|
type: string;
|
|
@@ -1539,8 +1548,6 @@ export declare const formatVideoData: (meta: any, news: VideoResponseData, confi
|
|
|
1539
1548
|
width: number;
|
|
1540
1549
|
height: number;
|
|
1541
1550
|
}[];
|
|
1542
|
-
siteName: string;
|
|
1543
|
-
locale: string;
|
|
1544
1551
|
};
|
|
1545
1552
|
twitter: {
|
|
1546
1553
|
title: string;
|
|
@@ -2195,7 +2202,7 @@ export declare function joinFrontPrefix(base: string | undefined, prefix: string
|
|
|
2195
2202
|
|
|
2196
2203
|
export declare const JournalistArticule2: FC<Props_50>;
|
|
2197
2204
|
|
|
2198
|
-
export declare const JournalistArticule5: FC<
|
|
2205
|
+
export declare const JournalistArticule5: FC<Props_55>;
|
|
2199
2206
|
|
|
2200
2207
|
export declare const JournalistGroup: FC<Props_51>;
|
|
2201
2208
|
|
|
@@ -4074,6 +4081,13 @@ declare interface Props_50 {
|
|
|
4074
4081
|
autorIcon: any;
|
|
4075
4082
|
texts: textsType;
|
|
4076
4083
|
paths: RoutePathConfig;
|
|
4084
|
+
/**
|
|
4085
|
+
* Si true, la bio se recorta a una cantidad fija de lineas
|
|
4086
|
+
* (`--ja-2-bio-lines-mobile` / `--ja-2-bio-lines-desk`) y el "Ver más" va
|
|
4087
|
+
* debajo, fuera del recorte, para que nunca se corte. Reemplaza el toggle
|
|
4088
|
+
* leer más/menos. Apagado por defecto: el bloque no cambia.
|
|
4089
|
+
*/
|
|
4090
|
+
bioLineClamp?: boolean;
|
|
4077
4091
|
}
|
|
4078
4092
|
|
|
4079
4093
|
declare type Props_51 = {
|
|
@@ -4081,6 +4095,12 @@ declare type Props_51 = {
|
|
|
4081
4095
|
autorIcon: ReactNode;
|
|
4082
4096
|
texts: textsType;
|
|
4083
4097
|
paths: RoutePathConfig;
|
|
4098
|
+
/**
|
|
4099
|
+
* Perfiles completos de los autores de la nota (bio y redes). Se cruzan con
|
|
4100
|
+
* `news.authors` por `name`; el autor que no esté acá se pinta solo con
|
|
4101
|
+
* nombre e imagen.
|
|
4102
|
+
*/
|
|
4103
|
+
autores?: AutorInfo[];
|
|
4084
4104
|
};
|
|
4085
4105
|
|
|
4086
4106
|
declare type Props_52 = {
|
|
@@ -4099,13 +4119,28 @@ declare type Props_52 = {
|
|
|
4099
4119
|
};
|
|
4100
4120
|
|
|
4101
4121
|
declare type Props_53 = {
|
|
4122
|
+
tag: string;
|
|
4123
|
+
description: string;
|
|
4124
|
+
img: string;
|
|
4125
|
+
className?: string;
|
|
4126
|
+
url?: string;
|
|
4127
|
+
social?: {
|
|
4128
|
+
facebook: string;
|
|
4129
|
+
twitter: string;
|
|
4130
|
+
linkedin: string;
|
|
4131
|
+
google: string;
|
|
4132
|
+
instagram: string;
|
|
4133
|
+
};
|
|
4134
|
+
};
|
|
4135
|
+
|
|
4136
|
+
declare type Props_54 = {
|
|
4102
4137
|
googleSourceShare?: string;
|
|
4103
4138
|
googleProfile?: string;
|
|
4104
4139
|
whatsAppShare?: string;
|
|
4105
4140
|
text: textsType;
|
|
4106
4141
|
};
|
|
4107
4142
|
|
|
4108
|
-
declare type
|
|
4143
|
+
declare type Props_55 = {
|
|
4109
4144
|
news: NewListResponseData;
|
|
4110
4145
|
socials: any;
|
|
4111
4146
|
autorIcon: ReactNode;
|
|
@@ -4800,7 +4835,7 @@ export declare type SoftwareApplicationData = {
|
|
|
4800
4835
|
contentRating?: string;
|
|
4801
4836
|
};
|
|
4802
4837
|
|
|
4803
|
-
export declare function SourceButtons({ googleSourceShare, googleProfile, whatsAppShare, text, }:
|
|
4838
|
+
export declare function SourceButtons({ googleSourceShare, googleProfile, whatsAppShare, text, }: Props_54): JSX.Element;
|
|
4804
4839
|
|
|
4805
4840
|
export declare type SourceButtonsType = {
|
|
4806
4841
|
sourceButtons?: {
|
|
@@ -4919,6 +4954,14 @@ export declare interface Tag {
|
|
|
4919
4954
|
|
|
4920
4955
|
export declare const TagHeader: FC<Props_52>;
|
|
4921
4956
|
|
|
4957
|
+
/**
|
|
4958
|
+
* Header de tag con la foto a la izquierda.
|
|
4959
|
+
* - Desktop: foto a la izquierda y, a su derecha, nombre + descripción.
|
|
4960
|
+
* - Mobile: foto y nombre en la misma fila; la descripción va debajo a todo el ancho.
|
|
4961
|
+
* Mismas props que `TagHeader`, para poder intercambiarlos.
|
|
4962
|
+
*/
|
|
4963
|
+
export declare const TagHeader2: FC<Props_53>;
|
|
4964
|
+
|
|
4922
4965
|
export declare interface TagInfo {
|
|
4923
4966
|
description?: {
|
|
4924
4967
|
rendered: string;
|