sass-template-common 0.9.63 → 0.9.65

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.
@@ -934,6 +934,8 @@ export declare const getHydratorPath: (props: Props_3) => string;
934
934
 
935
935
  export declare const getImageUrl: (imageUrl: string) => Promise<string>;
936
936
 
937
+ export declare const getItemFormated: (item: NewListResponseData, commonServices: CommonServices, imgSize: string) => Promise<ItemFormatedType>;
938
+
937
939
  export declare const getNextMeta: (config: Config, paths: Array<string>, page: number) => string;
938
940
 
939
941
  export declare const getPage: (pathname: string) => number;
@@ -1067,6 +1069,8 @@ declare type HeaderProps = {
1067
1069
 
1068
1070
  export declare const HeaderSectionComponent: FC<Props_12>;
1069
1071
 
1072
+ export declare function HomeCard(props: SectionCardProps_3): JSX.Element;
1073
+
1070
1074
  declare interface ICommonServices {
1071
1075
  config?: Config;
1072
1076
  imgSizes?: any;
@@ -1191,6 +1195,11 @@ export declare class IssuuServices {
1191
1195
  getListIssuuPublicationBySlug(slug: string): Promise<AxiosResponse<any, any, {}> | undefined>;
1192
1196
  }
1193
1197
 
1198
+ export declare interface ItemFormatedType extends NewListResponseData {
1199
+ gallery?: Array<Preview>;
1200
+ videos?: Array<VideoItem>;
1201
+ }
1202
+
1194
1203
  export declare type ItemList = {
1195
1204
  list: {
1196
1205
  integrated: boolean;
@@ -1261,6 +1270,7 @@ export declare type LibraryConfig = {
1261
1270
  CONFIG_slugAsSection?: boolean;
1262
1271
  CONFIG_shareOnlyWhatsApp?: boolean;
1263
1272
  CONFIG_blockDefaultSectionRoute?: boolean;
1273
+ CONFIG_videoClipUrl?: string;
1264
1274
  PAGE_SWIPER?: {
1265
1275
  home: boolean;
1266
1276
  autor: boolean;
@@ -2474,6 +2484,27 @@ declare interface SectionCardProps_2 extends Omit<NewsDescriptionProps, 'preview
2474
2484
  heightImageOverwrite?: string;
2475
2485
  }
2476
2486
 
2487
+ declare interface SectionCardProps_3 extends Omit<{
2488
+ fontSizeSubTitle?: string;
2489
+ lineHeightSubTitle?: string;
2490
+ colorSubTitle?: string;
2491
+ cutSubtitle?: boolean;
2492
+ overImage?: 'left' | 'right' | 'default';
2493
+ share?: Omit<NoteShare, 'googleProfile'>;
2494
+ isTitle?: boolean;
2495
+ paths: RoutePathConfig;
2496
+ } & ItemFormatedType, 'preview'>, Omit<{
2497
+ preview: Preview;
2498
+ isVideo?: boolean;
2499
+ isLarge?: boolean;
2500
+ priorityHigh?: boolean;
2501
+ BackDropAuxHeigthMobile?: string;
2502
+ }, 'info'> {
2503
+ isLarge?: boolean;
2504
+ sectionCardNewsDescClass?: string;
2505
+ customSectionCardStyles?: CSSProperties;
2506
+ }
2507
+
2477
2508
  export declare const SectionCardServerComponent: FC<Props_16>;
2478
2509
 
2479
2510
  declare interface SectionCSS {
@@ -2729,6 +2760,8 @@ export declare const TwitterHydration: ({ currentNew }: {
2729
2760
  currentNew?: NewListResponseData;
2730
2761
  }) => false | JSX.Element | undefined;
2731
2762
 
2763
+ export declare type TypeHomePreview = 'iframe' | 'videoYouTube' | 'imagen' | 'fotogaleria' | 'videoEmbedded' | 'clip';
2764
+
2732
2765
  export declare const urlReplaces: (internalPath: string) => string;
2733
2766
 
2734
2767
  /**