sass-template-common 0.21.2 → 0.22.0
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 +24 -74
- package/dist/sass-template-common.js +1859 -1932
- package/dist/sass-template-common.umd.cjs +27 -27
- package/package.json +1 -1
|
@@ -2945,13 +2945,7 @@ declare type Network = {
|
|
|
2945
2945
|
};
|
|
2946
2946
|
|
|
2947
2947
|
export declare const new_speculationRules_home: {
|
|
2948
|
-
|
|
2949
|
-
where: {
|
|
2950
|
-
href_matches: string;
|
|
2951
|
-
};
|
|
2952
|
-
eagerness: string;
|
|
2953
|
-
}[];
|
|
2954
|
-
prerender: ({
|
|
2948
|
+
prerender: {
|
|
2955
2949
|
where: {
|
|
2956
2950
|
and: ({
|
|
2957
2951
|
selector_matches: string;
|
|
@@ -2960,38 +2954,12 @@ export declare const new_speculationRules_home: {
|
|
|
2960
2954
|
href_matches: string;
|
|
2961
2955
|
selector_matches?: undefined;
|
|
2962
2956
|
})[];
|
|
2963
|
-
href_matches?: undefined;
|
|
2964
2957
|
};
|
|
2965
2958
|
eagerness: string;
|
|
2966
|
-
}
|
|
2967
|
-
where: {
|
|
2968
|
-
href_matches: string;
|
|
2969
|
-
and?: undefined;
|
|
2970
|
-
};
|
|
2971
|
-
eagerness: string;
|
|
2972
|
-
})[];
|
|
2959
|
+
}[];
|
|
2973
2960
|
};
|
|
2974
2961
|
|
|
2975
2962
|
export declare const new_speculationRules_note: {
|
|
2976
|
-
prefetch: ({
|
|
2977
|
-
urls: string[];
|
|
2978
|
-
eagerness: string;
|
|
2979
|
-
where?: undefined;
|
|
2980
|
-
} | {
|
|
2981
|
-
where: {
|
|
2982
|
-
and: ({
|
|
2983
|
-
href_matches: string;
|
|
2984
|
-
not?: undefined;
|
|
2985
|
-
} | {
|
|
2986
|
-
not: {
|
|
2987
|
-
selector_matches: string;
|
|
2988
|
-
};
|
|
2989
|
-
href_matches?: undefined;
|
|
2990
|
-
})[];
|
|
2991
|
-
};
|
|
2992
|
-
eagerness: string;
|
|
2993
|
-
urls?: undefined;
|
|
2994
|
-
})[];
|
|
2995
2963
|
prerender: {
|
|
2996
2964
|
where: {
|
|
2997
2965
|
and: ({
|
|
@@ -3015,25 +2983,6 @@ export declare const new_speculationRules_note: {
|
|
|
3015
2983
|
};
|
|
3016
2984
|
|
|
3017
2985
|
export declare const new_speculationRules_noteList: {
|
|
3018
|
-
prefetch: ({
|
|
3019
|
-
urls: string[];
|
|
3020
|
-
eagerness: string;
|
|
3021
|
-
where?: undefined;
|
|
3022
|
-
} | {
|
|
3023
|
-
where: {
|
|
3024
|
-
and: ({
|
|
3025
|
-
href_matches: string;
|
|
3026
|
-
not?: undefined;
|
|
3027
|
-
} | {
|
|
3028
|
-
not: {
|
|
3029
|
-
selector_matches: string;
|
|
3030
|
-
};
|
|
3031
|
-
href_matches?: undefined;
|
|
3032
|
-
})[];
|
|
3033
|
-
};
|
|
3034
|
-
eagerness: string;
|
|
3035
|
-
urls?: undefined;
|
|
3036
|
-
})[];
|
|
3037
2986
|
prerender: {
|
|
3038
2987
|
where: {
|
|
3039
2988
|
and: ({
|
|
@@ -3057,18 +3006,7 @@ export declare const new_speculationRules_noteList: {
|
|
|
3057
3006
|
};
|
|
3058
3007
|
|
|
3059
3008
|
export declare const new_speculationRules_section: {
|
|
3060
|
-
|
|
3061
|
-
urls: string[];
|
|
3062
|
-
eagerness: string;
|
|
3063
|
-
where?: undefined;
|
|
3064
|
-
} | {
|
|
3065
|
-
where: {
|
|
3066
|
-
href_matches: string;
|
|
3067
|
-
};
|
|
3068
|
-
eagerness: string;
|
|
3069
|
-
urls?: undefined;
|
|
3070
|
-
})[];
|
|
3071
|
-
prerender: ({
|
|
3009
|
+
prerender: {
|
|
3072
3010
|
where: {
|
|
3073
3011
|
and: ({
|
|
3074
3012
|
selector_matches: string;
|
|
@@ -3077,16 +3015,24 @@ export declare const new_speculationRules_section: {
|
|
|
3077
3015
|
href_matches: string;
|
|
3078
3016
|
selector_matches?: undefined;
|
|
3079
3017
|
})[];
|
|
3080
|
-
href_matches?: undefined;
|
|
3081
3018
|
};
|
|
3082
3019
|
eagerness: string;
|
|
3083
|
-
}
|
|
3020
|
+
}[];
|
|
3021
|
+
};
|
|
3022
|
+
|
|
3023
|
+
export declare const new_speculationRules_video: {
|
|
3024
|
+
prerender: {
|
|
3084
3025
|
where: {
|
|
3085
|
-
|
|
3086
|
-
|
|
3026
|
+
and: ({
|
|
3027
|
+
selector_matches: string;
|
|
3028
|
+
href_matches?: undefined;
|
|
3029
|
+
} | {
|
|
3030
|
+
href_matches: string;
|
|
3031
|
+
selector_matches?: undefined;
|
|
3032
|
+
})[];
|
|
3087
3033
|
};
|
|
3088
3034
|
eagerness: string;
|
|
3089
|
-
}
|
|
3035
|
+
}[];
|
|
3090
3036
|
};
|
|
3091
3037
|
|
|
3092
3038
|
export declare const NewDescriptionBlock: FC<NewDescriptionBlockProps>;
|
|
@@ -4072,7 +4018,7 @@ declare type Props_5 = {
|
|
|
4072
4018
|
/** rutas paginadas → !(data.length < newsListLimit) */
|
|
4073
4019
|
hasNextPage?: boolean;
|
|
4074
4020
|
};
|
|
4075
|
-
speculationType?:
|
|
4021
|
+
speculationType?: SpeculationType;
|
|
4076
4022
|
preloadImageUrl?: PreloadImage[];
|
|
4077
4023
|
schemasImages?: {
|
|
4078
4024
|
preview: {
|
|
@@ -4092,7 +4038,7 @@ declare type Props_5 = {
|
|
|
4092
4038
|
'[tag_replace]': string;
|
|
4093
4039
|
'[url_replace]': string;
|
|
4094
4040
|
};
|
|
4095
|
-
custom_Speculation?:
|
|
4041
|
+
custom_Speculation?: SpeculationRulesSet;
|
|
4096
4042
|
headConfig?: Partial<headConfig>;
|
|
4097
4043
|
head_custom_elements?: any;
|
|
4098
4044
|
schemasCustomEndpoints?: string[];
|
|
@@ -4899,10 +4845,14 @@ export declare type SpeculationPrerenderConfig = {
|
|
|
4899
4845
|
|
|
4900
4846
|
export declare const SpeculationRules: ({ active, type, customSpeculation }: {
|
|
4901
4847
|
active: boolean;
|
|
4902
|
-
type:
|
|
4903
|
-
customSpeculation?:
|
|
4848
|
+
type: SpeculationType;
|
|
4849
|
+
customSpeculation?: SpeculationRulesSet;
|
|
4904
4850
|
}) => false | JSX.Element;
|
|
4905
4851
|
|
|
4852
|
+
export declare type SpeculationRulesSet = Record<string, unknown>;
|
|
4853
|
+
|
|
4854
|
+
export declare type SpeculationType = 'Common' | 'Home' | 'Nota' | 'NotaLista' | 'Video';
|
|
4855
|
+
|
|
4906
4856
|
export declare const Spin: ({ className }: {
|
|
4907
4857
|
className?: string;
|
|
4908
4858
|
}) => JSX.Element;
|