ece-docs-components 1.0.96 → 1.0.97
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/cjs/components/Footer.js +16 -5
- package/dist/cjs/components/Footer.js.map +1 -1
- package/dist/cjs/node_modules/domhandler/lib/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/lib/index.js +1 -1
- package/dist/esm/_virtual/index8.js +2 -2
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/components/Footer.d.ts +1 -1
- package/dist/esm/components/Footer.js +16 -5
- package/dist/esm/components/Footer.js.map +1 -1
- package/dist/esm/node_modules/domutils/lib/index.js +1 -1
- package/dist/esm/node_modules/entities/lib/generated/decode-data-html.js +1 -1
- package/dist/esm/node_modules/entities/lib/generated/decode-data-xml.js +1 -1
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +1 -1
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +1 -1
- package/dist/esm/node_modules/style-to-object/cjs/index.js +1 -1
- package/package.json +1 -1
|
@@ -9,21 +9,32 @@ var Link = require('@mui/material/Link');
|
|
|
9
9
|
|
|
10
10
|
const Footer = () => {
|
|
11
11
|
const theme = ThemeProvider.useTheme();
|
|
12
|
-
return jsxRuntime.jsxs(Box
|
|
12
|
+
return (jsxRuntime.jsxs(Box
|
|
13
13
|
// Palette Swapped for contrast
|
|
14
14
|
, {
|
|
15
15
|
// Palette Swapped for contrast
|
|
16
|
-
bgcolor: theme.palette.text.secondary, width:
|
|
17
|
-
|
|
16
|
+
bgcolor: theme.palette.text.secondary, width: "100%", display: "flex", flexDirection: "column", justifyContent: "space-evenly", sx: {
|
|
17
|
+
mt: { xs: 3, sm: 4 },
|
|
18
|
+
p: { xs: 3, sm: 6 },
|
|
19
|
+
gap: { xs: 1.5, sm: 2 },
|
|
20
|
+
"& a, & a.MuiLink-root": {
|
|
18
21
|
color: `${theme.palette.background.paper} !important`,
|
|
19
22
|
textDecorationColor: `${theme.palette.background.paper} !important`,
|
|
20
|
-
|
|
23
|
+
"&:hover": {
|
|
21
24
|
color: `${theme.palette.background.paper} !important`,
|
|
22
25
|
textDecorationColor: `${theme.palette.background.paper} !important`,
|
|
23
26
|
opacity: 0.8,
|
|
24
27
|
},
|
|
25
28
|
},
|
|
26
|
-
}, children: [jsxRuntime.jsx(LIGHTN_PrimaryLogo_Cream.ReactComponent, { width: 154, display:
|
|
29
|
+
}, children: [jsxRuntime.jsx(LIGHTN_PrimaryLogo_Cream.ReactComponent, { width: 154, display: "block" }), jsxRuntime.jsx(Typography, { sx: {
|
|
30
|
+
color: theme.palette.background.paper,
|
|
31
|
+
fontSize: { xs: 11, sm: 12 },
|
|
32
|
+
lineHeight: 1.5,
|
|
33
|
+
}, children: "\u00A9 Copyright: Except where stated, the content on this site is the copyright of LIGHTN Ltd. It may not be reproduced without written permission from LIGHTN Ltd." }), jsxRuntime.jsxs(Typography, { sx: {
|
|
34
|
+
color: theme.palette.background.paper,
|
|
35
|
+
fontSize: { xs: 14, sm: 16 },
|
|
36
|
+
lineHeight: 1.5,
|
|
37
|
+
}, children: [jsxRuntime.jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/eula", children: "EULA" }), " | ", jsxRuntime.jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/terms-of-use", children: "Terms of Use" }), " | ", jsxRuntime.jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/privacy-statement", children: "Privacy Policy" })] })] }));
|
|
27
38
|
};
|
|
28
39
|
|
|
29
40
|
exports.Footer = Footer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Footer.tsx"],"sourcesContent":["import React, { Fragment, ReactNode } from
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Footer.tsx"],"sourcesContent":["import React, { Fragment, ReactNode } from \"react\";\r\nimport { useTheme } from \"../ThemeProvider\";\r\nimport { ReactComponent as LightnLogo } from \"../images/LIGHTN_PrimaryLogo_Cream.svg\";\r\nimport Box from \"@mui/material/Box\";\r\nimport Typography from \"@mui/material/Typography\";\r\nimport Link from \"@mui/material/Link\";\r\n\r\nexport const Footer: React.FC = () => {\r\n const theme = useTheme();\r\n return (\r\n <Box\r\n // Palette Swapped for contrast\r\n bgcolor={theme.palette.text.secondary}\r\n width={\"100%\"}\r\n display={\"flex\"}\r\n flexDirection={\"column\"}\r\n justifyContent={\"space-evenly\"}\r\n sx={{\r\n mt: { xs: 3, sm: 4 },\r\n p: { xs: 3, sm: 6 },\r\n gap: { xs: 1.5, sm: 2 },\r\n \"& a, & a.MuiLink-root\": {\r\n color: `${theme.palette.background.paper} !important`,\r\n textDecorationColor: `${theme.palette.background.paper} !important`,\r\n \"&:hover\": {\r\n color: `${theme.palette.background.paper} !important`,\r\n textDecorationColor: `${theme.palette.background.paper} !important`,\r\n opacity: 0.8,\r\n },\r\n },\r\n }}\r\n >\r\n <LightnLogo width={154} display={\"block\"} />\r\n <Typography\r\n sx={{\r\n color: theme.palette.background.paper,\r\n fontSize: { xs: 11, sm: 12 },\r\n lineHeight: 1.5,\r\n }}\r\n >\r\n © Copyright: Except where stated, the content on this site is the\r\n copyright of LIGHTN Ltd. It may not be reproduced without written\r\n permission from LIGHTN Ltd.\r\n </Typography>\r\n <Typography\r\n sx={{\r\n color: theme.palette.background.paper,\r\n fontSize: { xs: 14, sm: 16 },\r\n lineHeight: 1.5,\r\n }}\r\n >\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/eula\"\r\n >\r\n EULA\r\n </Link>\r\n {\" | \"}\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/terms-of-use\"\r\n >\r\n Terms of Use\r\n </Link>\r\n {\" | \"}\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/privacy-statement\"\r\n >\r\n Privacy Policy\r\n </Link>\r\n </Typography>\r\n </Box>\r\n );\r\n};\r\n"],"names":["useTheme","_jsxs","_jsx","LightnLogo"],"mappings":";;;;;;;;;AAOO,MAAM,MAAM,GAAa,MAAK;AACnC,IAAA,MAAM,KAAK,GAAGA,sBAAQ,EAAE;IACxB,QACEC,gBAAC;;;;QAEC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EACrC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,QAAQ,EACvB,cAAc,EAAE,cAAc,EAC9B,EAAE,EAAE;YACF,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;YACpB,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;YACnB,GAAG,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE;AACvB,YAAA,uBAAuB,EAAE;gBACvB,KAAK,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;gBACrD,mBAAmB,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;AACnE,gBAAA,SAAS,EAAE;oBACT,KAAK,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;oBACrD,mBAAmB,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;AACnE,oBAAA,OAAO,EAAE,GAAG;AACb,iBAAA;AACF,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,CAEDC,eAACC,uCAAU,EAAA,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,GAAI,EAC5CD,cAAA,CAAC,UAAU,EAAA,EACT,EAAE,EAAE;AACF,oBAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;oBACrC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC5B,oBAAA,UAAU,EAAE,GAAG;AAChB,iBAAA,EAAA,QAAA,EAAA,sKAAA,EAAA,CAKU,EACbD,eAAA,CAAC,UAAU,EAAA,EACT,EAAE,EAAE;AACF,oBAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK;oBACrC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAC5B,oBAAA,UAAU,EAAE,GAAG;iBAChB,EAAA,QAAA,EAAA,CAEDC,cAAA,CAAC,IAAI,EAAA,EACH,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,+BAA+B,EAAA,QAAA,EAAA,MAAA,EAAA,CAG/B,EACN,KAAK,EACNA,cAAA,CAAC,IAAI,EAAA,EACH,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,uCAAuC,EAAA,QAAA,EAAA,cAAA,EAAA,CAGvC,EACN,KAAK,EACNA,cAAA,CAAC,IAAI,EAAA,EACH,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,IAAI,EAAC,4CAA4C,EAAA,QAAA,EAAA,gBAAA,EAAA,CAG5C,CAAA,EAAA,CACI,CAAA,EAAA,CACT;AAEV;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
export declare const Footer: React.FC;
|
|
@@ -7,21 +7,32 @@ import Link from '@mui/material/Link';
|
|
|
7
7
|
|
|
8
8
|
const Footer = () => {
|
|
9
9
|
const theme = useTheme();
|
|
10
|
-
return jsxs(Box
|
|
10
|
+
return (jsxs(Box
|
|
11
11
|
// Palette Swapped for contrast
|
|
12
12
|
, {
|
|
13
13
|
// Palette Swapped for contrast
|
|
14
|
-
bgcolor: theme.palette.text.secondary, width:
|
|
15
|
-
|
|
14
|
+
bgcolor: theme.palette.text.secondary, width: "100%", display: "flex", flexDirection: "column", justifyContent: "space-evenly", sx: {
|
|
15
|
+
mt: { xs: 3, sm: 4 },
|
|
16
|
+
p: { xs: 3, sm: 6 },
|
|
17
|
+
gap: { xs: 1.5, sm: 2 },
|
|
18
|
+
"& a, & a.MuiLink-root": {
|
|
16
19
|
color: `${theme.palette.background.paper} !important`,
|
|
17
20
|
textDecorationColor: `${theme.palette.background.paper} !important`,
|
|
18
|
-
|
|
21
|
+
"&:hover": {
|
|
19
22
|
color: `${theme.palette.background.paper} !important`,
|
|
20
23
|
textDecorationColor: `${theme.palette.background.paper} !important`,
|
|
21
24
|
opacity: 0.8,
|
|
22
25
|
},
|
|
23
26
|
},
|
|
24
|
-
}, children: [jsx(SvgLightnPrimaryLogoCream, { width: 154, display:
|
|
27
|
+
}, children: [jsx(SvgLightnPrimaryLogoCream, { width: 154, display: "block" }), jsx(Typography, { sx: {
|
|
28
|
+
color: theme.palette.background.paper,
|
|
29
|
+
fontSize: { xs: 11, sm: 12 },
|
|
30
|
+
lineHeight: 1.5,
|
|
31
|
+
}, children: "\u00A9 Copyright: Except where stated, the content on this site is the copyright of LIGHTN Ltd. It may not be reproduced without written permission from LIGHTN Ltd." }), jsxs(Typography, { sx: {
|
|
32
|
+
color: theme.palette.background.paper,
|
|
33
|
+
fontSize: { xs: 14, sm: 16 },
|
|
34
|
+
lineHeight: 1.5,
|
|
35
|
+
}, children: [jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/eula", children: "EULA" }), " | ", jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/terms-of-use", children: "Terms of Use" }), " | ", jsx(Link, { target: "_blank", rel: "noopener noreferrer", href: "https://www.lightn.co.nz/privacy-statement", children: "Privacy Policy" })] })] }));
|
|
25
36
|
};
|
|
26
37
|
|
|
27
38
|
export { Footer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Footer.tsx"],"sourcesContent":["import React, { Fragment, ReactNode } from
|
|
1
|
+
{"version":3,"file":"Footer.js","sources":["../../../../src/components/Footer.tsx"],"sourcesContent":["import React, { Fragment, ReactNode } from \"react\";\r\nimport { useTheme } from \"../ThemeProvider\";\r\nimport { ReactComponent as LightnLogo } from \"../images/LIGHTN_PrimaryLogo_Cream.svg\";\r\nimport Box from \"@mui/material/Box\";\r\nimport Typography from \"@mui/material/Typography\";\r\nimport Link from \"@mui/material/Link\";\r\n\r\nexport const Footer: React.FC = () => {\r\n const theme = useTheme();\r\n return (\r\n <Box\r\n // Palette Swapped for contrast\r\n bgcolor={theme.palette.text.secondary}\r\n width={\"100%\"}\r\n display={\"flex\"}\r\n flexDirection={\"column\"}\r\n justifyContent={\"space-evenly\"}\r\n sx={{\r\n mt: { xs: 3, sm: 4 },\r\n p: { xs: 3, sm: 6 },\r\n gap: { xs: 1.5, sm: 2 },\r\n \"& a, & a.MuiLink-root\": {\r\n color: `${theme.palette.background.paper} !important`,\r\n textDecorationColor: `${theme.palette.background.paper} !important`,\r\n \"&:hover\": {\r\n color: `${theme.palette.background.paper} !important`,\r\n textDecorationColor: `${theme.palette.background.paper} !important`,\r\n opacity: 0.8,\r\n },\r\n },\r\n }}\r\n >\r\n <LightnLogo width={154} display={\"block\"} />\r\n <Typography\r\n sx={{\r\n color: theme.palette.background.paper,\r\n fontSize: { xs: 11, sm: 12 },\r\n lineHeight: 1.5,\r\n }}\r\n >\r\n © Copyright: Except where stated, the content on this site is the\r\n copyright of LIGHTN Ltd. It may not be reproduced without written\r\n permission from LIGHTN Ltd.\r\n </Typography>\r\n <Typography\r\n sx={{\r\n color: theme.palette.background.paper,\r\n fontSize: { xs: 14, sm: 16 },\r\n lineHeight: 1.5,\r\n }}\r\n >\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/eula\"\r\n >\r\n EULA\r\n </Link>\r\n {\" | \"}\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/terms-of-use\"\r\n >\r\n Terms of Use\r\n </Link>\r\n {\" | \"}\r\n <Link\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n href=\"https://www.lightn.co.nz/privacy-statement\"\r\n >\r\n Privacy Policy\r\n </Link>\r\n </Typography>\r\n </Box>\r\n );\r\n};\r\n"],"names":["_jsxs","_jsx","LightnLogo"],"mappings":";;;;;;;AAOO,MAAM,MAAM,GAAa,MAAK;AACnC,IAAA,MAAM,KAAK,GAAG,QAAQ,EAAE;IACxB,QACEA,KAAC;;;;QAEC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EACrC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,QAAQ,EACvB,cAAc,EAAE,cAAc,EAC9B,EAAE,EAAE;YACF,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;YACpB,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;YACnB,GAAG,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE;AACvB,YAAA,uBAAuB,EAAE;gBACvB,KAAK,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;gBACrD,mBAAmB,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAA,WAAA,CAAa;AACnE,gBAAA,SAAS,EAAE;oBACT,KAAK,EAAE,GAAG,KAAK,CAAC,O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EAAA,QAAA,EAAA,gBAAA,EAAA,CAG5C,CAAA,EAAA,CACI,CAAA,EAAA,CACT;AAEV;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as lib } from '../../../_virtual/
|
|
1
|
+
import { __exports as lib } from '../../../_virtual/index8.js';
|
|
2
2
|
import { __require as requireStringify } from './stringify.js';
|
|
3
3
|
import { __require as requireTraversal } from './traversal.js';
|
|
4
4
|
import { __require as requireManipulation } from './manipulation.js';
|