sass-template-common 0.10.23 → 0.10.25
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.d.ts +18 -4
- package/dist/sass-template-common.js +3803 -3736
- package/dist/sass-template-common.umd.cjs +32 -32
- package/package.json +1 -1
|
@@ -2234,10 +2234,8 @@ declare interface Modulo3ColumnasProps {
|
|
|
2234
2234
|
showVideoTime?: boolean;
|
|
2235
2235
|
showVideosubtitle?: boolean;
|
|
2236
2236
|
showVideoAuthor?: boolean;
|
|
2237
|
-
speculationPrerender?:
|
|
2238
|
-
|
|
2239
|
-
length?: number;
|
|
2240
|
-
};
|
|
2237
|
+
speculationPrerender?: SpeculationPrerenderConfig;
|
|
2238
|
+
speculationPrerenderClass?: string;
|
|
2241
2239
|
}
|
|
2242
2240
|
|
|
2243
2241
|
export declare const ModuloBlockNews: FC<OptionCardBlockProps_2>;
|
|
@@ -2620,6 +2618,8 @@ export declare interface NewsResponse {
|
|
|
2620
2618
|
|
|
2621
2619
|
export declare const NextPrev: FC<Props_36>;
|
|
2622
2620
|
|
|
2621
|
+
export declare const NOTA_PRERENDER_CLASS = "nota-prerender";
|
|
2622
|
+
|
|
2623
2623
|
export declare type NoteShare = {
|
|
2624
2624
|
variant: 'outline' | 'container' | 'custom';
|
|
2625
2625
|
options?: Array<NoteShareOption>;
|
|
@@ -3481,6 +3481,9 @@ export declare function resolveBucketOriginUrl(bucket: BucketOriginConfig, servi
|
|
|
3481
3481
|
*/
|
|
3482
3482
|
export declare function resolveImageSizes(input: ImageSizesContractInput | undefined): ImageSizesResolution;
|
|
3483
3483
|
|
|
3484
|
+
/** Clase de prerender para una nota por índice (primer slot: todas las notas). */
|
|
3485
|
+
export declare function resolveSpeculationPrerenderClass(index: number, speculationPrerenderClass?: string, speculationPrerender?: SpeculationPrerenderConfig): string | undefined;
|
|
3486
|
+
|
|
3484
3487
|
export declare interface RoutePathConfig {
|
|
3485
3488
|
autor: string | 'autor';
|
|
3486
3489
|
tema: string | 'tema';
|
|
@@ -3730,6 +3733,11 @@ export declare type SourceButtonsType = {
|
|
|
3730
3733
|
};
|
|
3731
3734
|
};
|
|
3732
3735
|
|
|
3736
|
+
export declare type SpeculationPrerenderConfig = {
|
|
3737
|
+
class: string;
|
|
3738
|
+
length?: number;
|
|
3739
|
+
};
|
|
3740
|
+
|
|
3733
3741
|
export declare const SpeculationRules: ({ active, type, customSpeculation }: {
|
|
3734
3742
|
active: boolean;
|
|
3735
3743
|
type: "Home" | "Common" | "Nota" | "NotaLista";
|
|
@@ -4033,4 +4041,10 @@ export declare const WebsiteList: ({ config }: {
|
|
|
4033
4041
|
config: Config;
|
|
4034
4042
|
}) => JSX.Element;
|
|
4035
4043
|
|
|
4044
|
+
/**
|
|
4045
|
+
* Prefija una clase base con `nota-prerender` cuando corresponde.
|
|
4046
|
+
* Usar solo en el link principal de título/texto de la card, nunca en links de imagen.
|
|
4047
|
+
*/
|
|
4048
|
+
export declare function withSpeculationPrerenderClass(baseClass: string, prerenderClass?: string): string;
|
|
4049
|
+
|
|
4036
4050
|
export { }
|