@financial-times/dotcom-ui-footer 9.0.0-beta.9 → 9.0.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.
@@ -1,25 +1,25 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TNavMenuItem } from '@financial-times/dotcom-types-navigation';
3
3
  declare type TSectionLinksProps = {
4
4
  index: number;
5
5
  submenu: TNavMenuItem[][];
6
6
  };
7
- declare const SectionLinks: ({ submenu, index }: TSectionLinksProps) => JSX.Element;
7
+ declare const SectionLinks: ({ submenu, index }: TSectionLinksProps) => React.JSX.Element;
8
8
  declare type TSectionTitleProps = {
9
9
  index: number;
10
10
  label: string;
11
11
  };
12
- declare const SectionTitle: ({ label, index }: TSectionTitleProps) => JSX.Element;
12
+ declare const SectionTitle: ({ label, index }: TSectionTitleProps) => React.JSX.Element;
13
13
  declare type TFooterContentsProps = {
14
14
  footerData: TNavMenuItem[];
15
15
  };
16
- declare const FooterContents: ({ footerData }: TFooterContentsProps) => JSX.Element;
16
+ declare const FooterContents: ({ footerData }: TFooterContentsProps) => React.JSX.Element;
17
17
  declare const CopyrightNotice: ({ withoutMarketsData }: {
18
18
  withoutMarketsData?: boolean;
19
- }) => JSX.Element;
19
+ }) => React.JSX.Element;
20
20
  declare type TCompressedLegalProps = {
21
21
  footerData: TNavMenuItem[];
22
22
  };
23
- declare const CompressedLegal: ({ footerData }: TCompressedLegalProps) => JSX.Element;
24
- declare const NikkeiBrandLogo: () => JSX.Element;
23
+ declare const CompressedLegal: ({ footerData }: TCompressedLegalProps) => React.JSX.Element;
24
+ declare const NikkeiBrandLogo: () => React.JSX.Element;
25
25
  export { SectionLinks, SectionTitle, FooterContents, CompressedLegal, CopyrightNotice, NikkeiBrandLogo };
@@ -47,7 +47,7 @@ const CopyrightNotice = ({ withoutMarketsData = false }) => {
47
47
  react_1.default.createElement("br", null),
48
48
  "The Financial Times and its journalism are subject to a self-regulation regime under the",
49
49
  ' ',
50
- react_1.default.createElement("a", { href: "http://aboutus.ft.com/en-gb/ft-editorial-code/", "aria-label": "F T Editorial Code of Practice" }, "FT Editorial Code of Practice"),
50
+ react_1.default.createElement("a", { href: "https://aboutus.ft.com/en-gb/ft-editorial-code/", "aria-label": "F T Editorial Code of Practice" }, "FT Editorial Code of Practice"),
51
51
  ".")));
52
52
  };
53
53
  exports.CopyrightNotice = CopyrightNotice;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TNavigationData } from '@financial-times/dotcom-types-navigation';
3
3
  export declare type TFooterOptions = {
4
4
  theme?: 'dark' | 'light' | string;
@@ -6,5 +6,5 @@ export declare type TFooterOptions = {
6
6
  export declare type TFooterProps = TFooterOptions & {
7
7
  data: TNavigationData;
8
8
  };
9
- export declare function Footer(props: TFooterProps): JSX.Element;
10
- export declare function LegalFooter(props: TFooterProps): JSX.Element;
9
+ export declare function Footer(props: TFooterProps): React.JSX.Element;
10
+ export declare function LegalFooter(props: TFooterProps): React.JSX.Element;