aefis-core-ui 3.0.0-rc102 → 3.0.0-rc103
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/index.modern.js +122 -80
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3925,104 +3925,144 @@ AppToolbar.propTypes = {
|
|
|
3925
3925
|
const Footer = ({
|
|
3926
3926
|
additionalLinks,
|
|
3927
3927
|
hasMargin: _hasMargin = false,
|
|
3928
|
-
showLogo: _showLogo = true
|
|
3928
|
+
showLogo: _showLogo = true,
|
|
3929
|
+
secondaryTextRight
|
|
3929
3930
|
}) => {
|
|
3930
3931
|
const isMobile = useMediaQuery(theme => theme.breakpoints.between("xs", "md"));
|
|
3931
|
-
return /*#__PURE__*/
|
|
3932
|
+
return /*#__PURE__*/jsxs(Box$2, {
|
|
3932
3933
|
sx: {
|
|
3933
3934
|
zIndex: 10,
|
|
3934
3935
|
mt: _hasMargin ? 2 : 0,
|
|
3935
3936
|
p: 2
|
|
3936
3937
|
},
|
|
3937
3938
|
component: "footer",
|
|
3938
|
-
children: /*#__PURE__*/
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
width: "100%"
|
|
3948
|
-
},
|
|
3949
|
-
display: "flex",
|
|
3950
|
-
justifyContent: isMobile ? "center" : "flex-start",
|
|
3951
|
-
alignItems: "center",
|
|
3952
|
-
children: [/*#__PURE__*/jsx(Typography, {
|
|
3939
|
+
children: [/*#__PURE__*/jsx(Box$2, {
|
|
3940
|
+
children: /*#__PURE__*/jsxs(Grid, {
|
|
3941
|
+
container: true,
|
|
3942
|
+
rowSpacing: 1,
|
|
3943
|
+
disableEqualOverflow: true,
|
|
3944
|
+
children: [/*#__PURE__*/jsxs(Grid, {
|
|
3945
|
+
sm: 12,
|
|
3946
|
+
md: 6,
|
|
3947
|
+
lg: 4,
|
|
3953
3948
|
sx: {
|
|
3954
|
-
|
|
3955
|
-
fontWeight: 400,
|
|
3956
|
-
fontSize: "1rem",
|
|
3957
|
-
lineHeight: 1.5,
|
|
3958
|
-
letterSpacing: "0.15px"
|
|
3949
|
+
width: "100%"
|
|
3959
3950
|
},
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3951
|
+
display: "flex",
|
|
3952
|
+
justifyContent: isMobile ? "center" : "flex-start",
|
|
3953
|
+
alignItems: "center",
|
|
3954
|
+
children: [/*#__PURE__*/jsx(Typography, {
|
|
3955
|
+
sx: {
|
|
3956
|
+
mr: "4px",
|
|
3957
|
+
fontWeight: 400,
|
|
3958
|
+
fontSize: "1rem",
|
|
3959
|
+
lineHeight: 1.5,
|
|
3960
|
+
letterSpacing: "0.15px"
|
|
3961
|
+
},
|
|
3962
|
+
children: `© ${new Date().getFullYear()}, Built by `
|
|
3963
|
+
}), _showLogo && /*#__PURE__*/jsx(Image$1, {
|
|
3964
|
+
src: HelioCampusSmallLogo,
|
|
3965
|
+
description: "heliocampus logo",
|
|
3966
|
+
width: 20,
|
|
3967
|
+
height: 20
|
|
3968
|
+
}), /*#__PURE__*/jsx(Typography, {
|
|
3969
|
+
sx: {
|
|
3970
|
+
fontWeight: 400,
|
|
3971
|
+
fontSize: "1rem",
|
|
3972
|
+
lineHeight: 1.5,
|
|
3973
|
+
letterSpacing: "0.15px"
|
|
3974
|
+
},
|
|
3975
|
+
children: /*#__PURE__*/jsx(Link$1, {
|
|
3976
|
+
target: "_blank",
|
|
3977
|
+
href: "https://www.heliocampus.com/",
|
|
3978
|
+
underline: "hover",
|
|
3979
|
+
"aria-label": "visit the heliocampus website",
|
|
3980
|
+
children: "HelioCampus, Inc."
|
|
3981
|
+
})
|
|
3982
|
+
})]
|
|
3983
|
+
}), /*#__PURE__*/jsxs(Grid, {
|
|
3984
|
+
sm: 12,
|
|
3985
|
+
md: 6,
|
|
3986
|
+
lg: 8,
|
|
3967
3987
|
sx: {
|
|
3968
|
-
|
|
3969
|
-
fontSize: "1rem",
|
|
3970
|
-
lineHeight: 1.5,
|
|
3971
|
-
letterSpacing: "0.15px"
|
|
3988
|
+
width: "100%"
|
|
3972
3989
|
},
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3990
|
+
display: "flex",
|
|
3991
|
+
justifyContent: isMobile ? "center" : "flex-end",
|
|
3992
|
+
alignItems: "center",
|
|
3993
|
+
children: [/*#__PURE__*/jsx(Typography, {
|
|
3994
|
+
sx: {
|
|
3995
|
+
fontWeight: 400,
|
|
3996
|
+
fontSize: "1rem",
|
|
3997
|
+
lineHeight: 1.5,
|
|
3998
|
+
letterSpacing: "0.15px",
|
|
3999
|
+
mr: (additionalLinks == null ? void 0 : additionalLinks.length) > 0 ? 2 : 0
|
|
4000
|
+
},
|
|
4001
|
+
children: /*#__PURE__*/jsx(Link$1, {
|
|
4002
|
+
underline: "hover",
|
|
4003
|
+
target: "_blank",
|
|
4004
|
+
href: "https://www.heliocampus.com/company/about-us",
|
|
4005
|
+
"aria-label": "visit the heliocampus website",
|
|
4006
|
+
children: "About HelioCampus"
|
|
4007
|
+
})
|
|
4008
|
+
}), additionalLinks == null ? void 0 : additionalLinks.map((link, index) => /*#__PURE__*/jsx(Typography, {
|
|
4009
|
+
sx: {
|
|
4010
|
+
fontWeight: 400,
|
|
4011
|
+
fontSize: "1rem",
|
|
4012
|
+
lineHeight: 1.5,
|
|
4013
|
+
letterSpacing: "0.15px",
|
|
4014
|
+
mr: index !== (additionalLinks == null ? void 0 : additionalLinks.length) - 1 ? 2 : 0
|
|
4015
|
+
},
|
|
4016
|
+
children: /*#__PURE__*/jsx(Link$1, {
|
|
4017
|
+
component: link.component || "a",
|
|
4018
|
+
underline: "hover",
|
|
4019
|
+
target: "_blank",
|
|
4020
|
+
href: link.link,
|
|
4021
|
+
"aria-label": link.name,
|
|
4022
|
+
onClick: link.onClick,
|
|
4023
|
+
children: link.name
|
|
4024
|
+
})
|
|
4025
|
+
}, `additional-link-${index}`))]
|
|
3980
4026
|
})]
|
|
3981
|
-
})
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
4027
|
+
})
|
|
4028
|
+
}), /*#__PURE__*/jsx(Box$2, {
|
|
4029
|
+
sx: {
|
|
4030
|
+
mt: 0.25
|
|
4031
|
+
},
|
|
4032
|
+
children: /*#__PURE__*/jsxs(Grid, {
|
|
4033
|
+
container: true,
|
|
4034
|
+
rowSpacing: 1,
|
|
4035
|
+
disableEqualOverflow: true,
|
|
4036
|
+
children: [/*#__PURE__*/jsx(Grid, {
|
|
4037
|
+
sm: 12,
|
|
4038
|
+
md: 6,
|
|
4039
|
+
lg: 4,
|
|
3992
4040
|
sx: {
|
|
3993
|
-
|
|
3994
|
-
fontSize: "1rem",
|
|
3995
|
-
lineHeight: 1.5,
|
|
3996
|
-
letterSpacing: "0.15px",
|
|
3997
|
-
mr: (additionalLinks == null ? void 0 : additionalLinks.length) > 0 ? 2 : 0
|
|
4041
|
+
width: "100%"
|
|
3998
4042
|
},
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
}), additionalLinks == null ? void 0 : additionalLinks.map((link, index) => /*#__PURE__*/jsx(Typography, {
|
|
4043
|
+
display: "flex",
|
|
4044
|
+
justifyContent: isMobile ? "center" : "flex-start",
|
|
4045
|
+
alignItems: "center"
|
|
4046
|
+
}), /*#__PURE__*/jsx(Grid, {
|
|
4047
|
+
sm: 12,
|
|
4048
|
+
md: 6,
|
|
4049
|
+
lg: 8,
|
|
4007
4050
|
sx: {
|
|
4008
|
-
|
|
4009
|
-
fontSize: "1rem",
|
|
4010
|
-
lineHeight: 1.5,
|
|
4011
|
-
letterSpacing: "0.15px",
|
|
4012
|
-
mr: index !== (additionalLinks == null ? void 0 : additionalLinks.length) - 1 ? 2 : 0
|
|
4051
|
+
width: "100%"
|
|
4013
4052
|
},
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4053
|
+
display: "flex",
|
|
4054
|
+
justifyContent: isMobile ? "center" : "flex-end",
|
|
4055
|
+
alignItems: "center",
|
|
4056
|
+
children: /*#__PURE__*/jsx(Typography, {
|
|
4057
|
+
sx: {
|
|
4058
|
+
fontWeight: 400,
|
|
4059
|
+
fontSize: "0.875rem"
|
|
4060
|
+
},
|
|
4061
|
+
children: secondaryTextRight
|
|
4022
4062
|
})
|
|
4023
|
-
}
|
|
4024
|
-
})
|
|
4025
|
-
})
|
|
4063
|
+
})]
|
|
4064
|
+
})
|
|
4065
|
+
})]
|
|
4026
4066
|
});
|
|
4027
4067
|
};
|
|
4028
4068
|
Footer.propTypes = {
|
|
@@ -4033,6 +4073,8 @@ Footer.propTypes = {
|
|
|
4033
4073
|
link: PropTypes.string,
|
|
4034
4074
|
onClick: PropTypes.func
|
|
4035
4075
|
})),
|
|
4076
|
+
/** Second line text right */
|
|
4077
|
+
secondaryTextRight: PropTypes.string,
|
|
4036
4078
|
/** Add 16px of margin to the top of the footer. */
|
|
4037
4079
|
hasMargin: PropTypes.bool,
|
|
4038
4080
|
/** Show the HelioCampus logo? */
|