sass-template-common 0.0.18 → 0.0.20

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.
@@ -102,9 +102,9 @@ export declare interface AutorInfo {
102
102
  };
103
103
  }
104
104
 
105
- export declare const BannerAdvertising: ({ banners, name }: Props_27) => false | JSX.Element | null | undefined;
105
+ export declare const BannerAdvertising: ({ banners, name }: Props_28) => false | JSX.Element | null | undefined;
106
106
 
107
- export declare const BannerAdvertisingMiddle: ({ banners, index }: Props_26) => JSX.Element | null;
107
+ export declare const BannerAdvertisingMiddle: ({ banners, index }: Props_27) => JSX.Element | null;
108
108
 
109
109
  export declare interface BannerResponse {
110
110
  key: string;
@@ -350,15 +350,15 @@ export declare type ConfigMain = {
350
350
 
351
351
  export declare const ContactInfoServer: FC<Props_10>;
352
352
 
353
- export declare const ContactInput: FC<Props_39>;
353
+ export declare const ContactInput: FC<Props_41>;
354
354
 
355
- export declare const ContactSelect: FC<Props_40>;
355
+ export declare const ContactSelect: FC<Props_42>;
356
356
 
357
- export declare const ContactTextarea: FC<Props_41>;
357
+ export declare const ContactTextarea: FC<Props_43>;
358
358
 
359
- export declare const ContentLayout1: FC<Props_23>;
359
+ export declare const ContentLayout1: FC<Props_24>;
360
360
 
361
- export declare const ContentLayoutTema: FC<Props_37>;
361
+ export declare const ContentLayoutTema: FC<Props_39>;
362
362
 
363
363
  export declare const cutString: (text: string, length?: number) => string;
364
364
 
@@ -391,7 +391,7 @@ declare interface Date_2 {
391
391
  }
392
392
  export { Date_2 as Date }
393
393
 
394
- export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, }: Props_21) => JSX.Element | null;
394
+ export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, }: Props_22) => JSX.Element | null;
395
395
 
396
396
  declare type DestacadoDiario = {
397
397
  customSectionCardStyles: SectionCardCSS;
@@ -457,11 +457,11 @@ export declare class DynamicBlockServices extends CommonServices {
457
457
  }>;
458
458
  }
459
459
 
460
- export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, }: Props_20) => JSX.Element[];
460
+ export declare const DynamicComponents: ({ slots, DYNAMIC_SLOT_SUBINDEXES, stylesConfig, AutorIcon, config, banners, }: Props_21) => JSX.Element[];
461
461
 
462
- export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, }: Props_19) => JSX.Element;
462
+ export declare const DynamicMainSlot: ({ component, data, banners, rightOnlyBanner, }: Props_20) => JSX.Element;
463
463
 
464
- export declare function DynamicSlot({ component, slot_id, data, banners, }: Props_17): JSX.Element | undefined;
464
+ export declare function DynamicSlot({ component, slot_id, data, banners, }: Props_18): JSX.Element | undefined;
465
465
 
466
466
  export declare const EditorialBlock: FC<Props_6>;
467
467
 
@@ -492,22 +492,22 @@ export declare interface Entity {
492
492
  };
493
493
  }
494
494
 
495
- export declare const ErrorComponent: FC<Props_38>;
495
+ export declare const ErrorComponent: FC<Props_40>;
496
496
 
497
497
  declare interface External_2 {
498
498
  httpstream: boolean;
499
499
  iframe: boolean;
500
500
  }
501
501
 
502
- export declare function extractRealtedNews(): Array<Array<string>>;
502
+ export declare function extractRealtedNews(articleBody: string): Array<Array<string>>;
503
503
 
504
504
  export declare const Font: ({ config }: {
505
505
  config: Config;
506
506
  }) => JSX.Element;
507
507
 
508
- export declare const Footer1: FC<Props_32>;
508
+ export declare const Footer1: FC<Props_33>;
509
509
 
510
- export declare const Footer2: FC<Props_33>;
510
+ export declare const Footer2: FC<Props_35>;
511
511
 
512
512
  export declare const FooterComponent: FC<Props_8>;
513
513
 
@@ -521,7 +521,7 @@ export declare const FormatAfterScripts: (props: {
521
521
  "[url_replace]": string;
522
522
  };
523
523
  strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
524
- }) => JSX.Element | undefined;
524
+ }) => JSX.Element | null;
525
525
 
526
526
  export declare const formatDate: (date: number) => string;
527
527
 
@@ -587,7 +587,7 @@ export declare const FormatScripts: (props: {
587
587
  "[url_replace]": string;
588
588
  };
589
589
  strategy?: "afterInteractive" | "lazyOnload" | "beforeInteractive" | "worker" | undefined;
590
- }) => JSX.Element | undefined;
590
+ }) => JSX.Element | null;
591
591
 
592
592
  export declare const formatVideoData: (news: VideoResponseData, config: Config) => {
593
593
  title?: undefined;
@@ -899,7 +899,7 @@ declare interface ItemListSchemaProps {
899
899
  ROUTE: MetadataDefaultsKeys;
900
900
  }
901
901
 
902
- export declare const LayoutNewsComponent: FC<Props_44>;
902
+ export declare const LayoutNewsComponent: FC<Props_46>;
903
903
 
904
904
  export declare const LazyLoader: ({ render, internalPath, section, currentNews, stylesConfig, icon, COGNITO_AUTH_PREFIX, captchaVars, }: LazyLoaderProps) => JSX.Element;
905
905
 
@@ -933,9 +933,9 @@ export declare interface Link {
933
933
  redirect: boolean;
934
934
  }
935
935
 
936
- export declare const LiveBlogHeader: FC<Props_42>;
936
+ export declare const LiveBlogHeader: FC<Props_44>;
937
937
 
938
- declare const Location_2: FC<Props_22>;
938
+ declare const Location_2: FC<Props_23>;
939
939
  export { Location_2 as Location }
940
940
 
941
941
  export declare type Logo = {
@@ -1022,7 +1022,7 @@ export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'a
1022
1022
 
1023
1023
  export declare const metadataToJSX: (metadata: any) => JSX_2.Element[];
1024
1024
 
1025
- export declare const MiddleSection: FC<Props_25>;
1025
+ export declare const MiddleSection: FC<Props_26>;
1026
1026
 
1027
1027
  export declare const Modulo1x3: FC<Modulo1x3Props>;
1028
1028
 
@@ -1256,7 +1256,7 @@ declare interface NewsArticleProps {
1256
1256
 
1257
1257
  export declare const NewsComponent: (props: Props_11) => Promise<JSX.Element | undefined>;
1258
1258
 
1259
- export declare const NewsContent: FC<Props_36>;
1259
+ export declare const NewsContent: FC<Props_38>;
1260
1260
 
1261
1261
  declare interface NewsDescriptionBlockCSS extends NewsDescriptionCSS {
1262
1262
  '--news-description-block-padding-main'?: string;
@@ -1300,7 +1300,7 @@ export declare interface NewsResponse {
1300
1300
  data: DataNews[];
1301
1301
  }
1302
1302
 
1303
- export declare const NextPrev: FC<Props_35>;
1303
+ export declare const NextPrev: FC<Props_37>;
1304
1304
 
1305
1305
  export declare type NoteShare = {
1306
1306
  variant: 'outline' | 'container';
@@ -1501,26 +1501,24 @@ declare type Props_16 = {
1501
1501
  };
1502
1502
 
1503
1503
  declare type Props_17 = {
1504
+ containerId: string;
1505
+ containerId2: string;
1506
+ };
1507
+
1508
+ declare type Props_18 = {
1504
1509
  component: string;
1505
1510
  slot_id: string;
1506
1511
  data: any;
1507
1512
  banners: BannerResponse[];
1508
1513
  };
1509
1514
 
1510
- declare type Props_18 = {
1515
+ declare type Props_19 = {
1511
1516
  children: ReactNode;
1512
1517
  stylesConfigEntry: {
1513
1518
  [key: string]: any;
1514
1519
  };
1515
1520
  };
1516
1521
 
1517
- declare type Props_19 = {
1518
- component: string;
1519
- data: any;
1520
- banners: BannerResponse[];
1521
- rightOnlyBanner?: boolean;
1522
- };
1523
-
1524
1522
  declare type Props_2 = {
1525
1523
  id?: string;
1526
1524
  dimensionValues?: {
@@ -1529,6 +1527,13 @@ declare type Props_2 = {
1529
1527
  };
1530
1528
 
1531
1529
  declare type Props_20 = {
1530
+ component: string;
1531
+ data: any;
1532
+ banners: BannerResponse[];
1533
+ rightOnlyBanner?: boolean;
1534
+ };
1535
+
1536
+ declare type Props_21 = {
1532
1537
  slots: any;
1533
1538
  DYNAMIC_SLOT_SUBINDEXES: number;
1534
1539
  stylesConfig: ConfigDynamic;
@@ -1537,58 +1542,50 @@ declare type Props_20 = {
1537
1542
  banners: BannerResponse[];
1538
1543
  };
1539
1544
 
1540
- declare type Props_21 = {
1545
+ declare type Props_22 = {
1541
1546
  mainBlock: any;
1542
1547
  StylesConfigMain: ConfigMain;
1543
1548
  config: Config;
1544
1549
  banners: BannerResponse[];
1545
1550
  };
1546
1551
 
1547
- declare type Props_22 = {
1552
+ declare type Props_23 = {
1548
1553
  place: string;
1549
1554
  };
1550
1555
 
1551
- declare type Props_23 = {
1556
+ declare type Props_24 = {
1552
1557
  children: ReactNode;
1553
1558
  desktopWidth?: string;
1554
1559
  className?: string;
1555
1560
  };
1556
1561
 
1557
- declare type Props_24 = {
1562
+ declare type Props_25 = {
1558
1563
  children: ReactNode;
1559
1564
  show: boolean;
1560
1565
  order?: number;
1561
1566
  };
1562
1567
 
1563
- declare type Props_25 = {
1568
+ declare type Props_26 = {
1564
1569
  children: ReactNode;
1565
1570
  };
1566
1571
 
1567
- declare type Props_26 = {
1572
+ declare type Props_27 = {
1568
1573
  banners: Array<BannerResponse>;
1569
1574
  index: string | number;
1570
1575
  };
1571
1576
 
1572
- declare type Props_27 = {
1577
+ declare type Props_28 = {
1573
1578
  banners: Array<BannerResponse>;
1574
1579
  name: string;
1575
1580
  };
1576
1581
 
1577
- declare type Props_28 = {
1582
+ declare type Props_29 = {
1578
1583
  title?: string;
1579
1584
  content: Array<NewListResponseData>;
1580
1585
  customNewsDescriptionStyles?: CSSProperties;
1581
1586
  paths: RoutePathConfig;
1582
1587
  };
1583
1588
 
1584
- declare type Props_29 = {
1585
- title: string;
1586
- sibtitle: string;
1587
- image: ReactNode;
1588
- texts: textsType;
1589
- className?: string;
1590
- };
1591
-
1592
1589
  declare type Props_3 = {
1593
1590
  axiosApi: AxiosInstance;
1594
1591
  banners: BannerResponse[];
@@ -1624,20 +1621,33 @@ declare type Props_30 = {
1624
1621
  sibtitle: string;
1625
1622
  image: ReactNode;
1626
1623
  texts: textsType;
1624
+ className?: string;
1627
1625
  };
1628
1626
 
1629
1627
  declare type Props_31 = {
1628
+ title: string;
1629
+ sibtitle: string;
1630
+ image: ReactNode;
1631
+ texts: textsType;
1632
+ };
1633
+
1634
+ declare type Props_32 = {
1630
1635
  whatsappLink: string;
1631
1636
  terms: string;
1632
1637
  };
1633
1638
 
1634
- declare type Props_32 = {
1639
+ declare type Props_33 = {
1635
1640
  socials: any;
1636
1641
  socialNetworks: any;
1637
1642
  freeZone: Array<MenuResponse>;
1638
1643
  };
1639
1644
 
1640
- declare type Props_33 = {
1645
+ declare type Props_34 = {
1646
+ noteShare?: NoteShare;
1647
+ url?: string;
1648
+ };
1649
+
1650
+ declare type Props_35 = {
1641
1651
  socials: any;
1642
1652
  socialNetworks: any;
1643
1653
  freeZone: Array<MenuResponse>;
@@ -1647,12 +1657,12 @@ declare type Props_33 = {
1647
1657
  customBlock?: ReactNode;
1648
1658
  };
1649
1659
 
1650
- declare type Props_34 = {
1660
+ declare type Props_36 = {
1651
1661
  video: VideoResponseData;
1652
1662
  type: string;
1653
1663
  };
1654
1664
 
1655
- declare type Props_35 = {
1665
+ declare type Props_37 = {
1656
1666
  currentPage: number;
1657
1667
  showNext: boolean;
1658
1668
  maxPages: number;
@@ -1663,30 +1673,18 @@ declare type Props_35 = {
1663
1673
  };
1664
1674
  };
1665
1675
 
1666
- declare type Props_36 = {
1676
+ declare type Props_38 = {
1667
1677
  children: ReactNode;
1668
1678
  paginatorComponent?: ReactNode;
1669
1679
  grid?: 3 | 4;
1670
1680
  className?: string;
1671
1681
  };
1672
1682
 
1673
- declare type Props_37 = {
1683
+ declare type Props_39 = {
1674
1684
  children: ReactNode;
1675
1685
  className?: string;
1676
1686
  };
1677
1687
 
1678
- declare type Props_38 = {
1679
- title: string;
1680
- description: string;
1681
- buttonText?: string;
1682
- logo: any;
1683
- backgroundImgURL?: string;
1684
- };
1685
-
1686
- declare type Props_39 = {
1687
- label: string;
1688
- } & InputHTMLAttributes<HTMLInputElement>;
1689
-
1690
1688
  declare type Props_4 = {
1691
1689
  children: ReactNode;
1692
1690
  defaultRouteName: MetadataDefaultsKeys;
@@ -1714,24 +1712,36 @@ declare type Props_4 = {
1714
1712
  };
1715
1713
 
1716
1714
  declare type Props_40 = {
1715
+ title: string;
1716
+ description: string;
1717
+ buttonText?: string;
1718
+ logo: any;
1719
+ backgroundImgURL?: string;
1720
+ };
1721
+
1722
+ declare type Props_41 = {
1723
+ label: string;
1724
+ } & InputHTMLAttributes<HTMLInputElement>;
1725
+
1726
+ declare type Props_42 = {
1717
1727
  label: string;
1718
1728
  options: Array<SelectItem>;
1719
1729
  } & InputHTMLAttributes<HTMLSelectElement>;
1720
1730
 
1721
- declare interface Props_41 extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
1731
+ declare interface Props_43 extends DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement> {
1722
1732
  label: string;
1723
1733
  }
1724
1734
 
1725
- declare type Props_42 = {
1735
+ declare type Props_44 = {
1726
1736
  fontSizeSubTitle?: string;
1727
1737
  lineHeightSubTitle?: string;
1728
1738
  } & NewListResponseData;
1729
1739
 
1730
- declare type Props_43 = {
1740
+ declare type Props_45 = {
1731
1741
  itemList: Array<ItemList>;
1732
1742
  };
1733
1743
 
1734
- declare type Props_44 = {
1744
+ declare type Props_46 = {
1735
1745
  children: ReactNode;
1736
1746
  banner: ReactNode;
1737
1747
  bannerTop: ReactNode;
@@ -1740,7 +1750,7 @@ declare type Props_44 = {
1740
1750
  paths: RoutePathConfig;
1741
1751
  };
1742
1752
 
1743
- declare type Props_45 = {
1753
+ declare type Props_47 = {
1744
1754
  video: VideoResponseData;
1745
1755
  videoList: Array<VideoResponseData>;
1746
1756
  type: string;
@@ -1813,7 +1823,7 @@ declare type Props_9 = {
1813
1823
  paths: RoutePathConfig;
1814
1824
  };
1815
1825
 
1816
- export declare const Readest: FC<Props_28>;
1826
+ export declare const Readest: FC<Props_29>;
1817
1827
 
1818
1828
  declare interface Related {
1819
1829
  automatic: boolean;
@@ -1886,6 +1896,8 @@ export declare interface RoutePathConfig {
1886
1896
  'ultimas-noticias': string | 'ultimas-noticias';
1887
1897
  }
1888
1898
 
1899
+ export declare function ScriptHydrator({ containerId, containerId2 }: Props_17): null;
1900
+
1889
1901
  export declare const SearchSection: FC<Props_13>;
1890
1902
 
1891
1903
  export declare const Section: ForwardRefExoticComponent<SectionProps & RefAttributes<HTMLDivElement>>;
@@ -1980,7 +1992,9 @@ declare type SelectItem = {
1980
1992
  value: string | number;
1981
1993
  };
1982
1994
 
1983
- export declare const ShowSection: FC<Props_24>;
1995
+ export declare function shareButtons({ noteShare }: Props_34): JSX.Element | null;
1996
+
1997
+ export declare const ShowSection: FC<Props_25>;
1984
1998
 
1985
1999
  declare interface Size {
1986
2000
  size: string;
@@ -2068,13 +2082,13 @@ export declare const speculationRulesHome: {
2068
2082
  }[];
2069
2083
  };
2070
2084
 
2071
- export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_18): JSX.Element;
2085
+ export declare function StaticSlotWrapper({ children, stylesConfigEntry, }: Props_19): JSX.Element;
2072
2086
 
2073
- export declare const SubscribeColumn: (props: Props_29) => JSX.Element;
2087
+ export declare const SubscribeColumn: (props: Props_30) => JSX.Element;
2074
2088
 
2075
- export declare const SubscribeRow: FC<Props_30>;
2089
+ export declare const SubscribeRow: FC<Props_31>;
2076
2090
 
2077
- export declare const SubscribeWhatsAppColumn: FC<Props_31>;
2091
+ export declare const SubscribeWhatsAppColumn: FC<Props_32>;
2078
2092
 
2079
2093
  declare interface Subtitle {
2080
2094
  rendered: string;
@@ -2136,7 +2150,7 @@ export declare type textsType = {
2136
2150
  [key: string]: string;
2137
2151
  };
2138
2152
 
2139
- export declare const TimeLine: FC<Props_43>;
2153
+ export declare const TimeLine: FC<Props_45>;
2140
2154
 
2141
2155
  declare interface Title {
2142
2156
  home: string;
@@ -2171,9 +2185,9 @@ export declare const verifyCaptchaTokenEnterprise: ({ token, projectId, captchaK
2171
2185
  captchaAction: captchaActionType;
2172
2186
  }) => Promise<number>;
2173
2187
 
2174
- export declare const VideoBlock3: FC<Props_34>;
2188
+ export declare const VideoBlock3: FC<Props_36>;
2175
2189
 
2176
- export declare const VideoBlock4: FC<Props_45>;
2190
+ export declare const VideoBlock4: FC<Props_47>;
2177
2191
 
2178
2192
  export declare interface VideoResponseData {
2179
2193
  config: {