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.
@@ -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__*/jsx(Box$2, {
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__*/jsxs(Grid, {
3939
- container: true,
3940
- rowSpacing: 1,
3941
- disableEqualOverflow: true,
3942
- children: [/*#__PURE__*/jsxs(Grid, {
3943
- sm: 12,
3944
- md: 6,
3945
- lg: 4,
3946
- sx: {
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
- mr: "4px",
3955
- fontWeight: 400,
3956
- fontSize: "1rem",
3957
- lineHeight: 1.5,
3958
- letterSpacing: "0.15px"
3949
+ width: "100%"
3959
3950
  },
3960
- children: `© ${new Date().getFullYear()}, Built by `
3961
- }), _showLogo && /*#__PURE__*/jsx(Image$1, {
3962
- src: HelioCampusSmallLogo,
3963
- description: "heliocampus logo",
3964
- width: 20,
3965
- height: 20
3966
- }), /*#__PURE__*/jsx(Typography, {
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
- fontWeight: 400,
3969
- fontSize: "1rem",
3970
- lineHeight: 1.5,
3971
- letterSpacing: "0.15px"
3988
+ width: "100%"
3972
3989
  },
3973
- children: /*#__PURE__*/jsx(Link$1, {
3974
- target: "_blank",
3975
- href: "https://www.heliocampus.com/",
3976
- underline: "hover",
3977
- "aria-label": "visit the heliocampus website",
3978
- children: "HelioCampus, Inc."
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
- }), /*#__PURE__*/jsxs(Grid, {
3982
- sm: 12,
3983
- md: 6,
3984
- lg: 8,
3985
- sx: {
3986
- width: "100%"
3987
- },
3988
- display: "flex",
3989
- justifyContent: isMobile ? "center" : "flex-end",
3990
- alignItems: "center",
3991
- children: [/*#__PURE__*/jsx(Typography, {
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
- fontWeight: 400,
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
- children: /*#__PURE__*/jsx(Link$1, {
4000
- underline: "hover",
4001
- target: "_blank",
4002
- href: "https://www.heliocampus.com/company/about-us",
4003
- "aria-label": "visit the heliocampus website",
4004
- children: "About HelioCampus"
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
- fontWeight: 400,
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
- children: /*#__PURE__*/jsx(Link$1, {
4015
- component: link.component || "a",
4016
- underline: "hover",
4017
- target: "_blank",
4018
- href: link.link,
4019
- "aria-label": link.name,
4020
- onClick: link.onClick,
4021
- children: link.name
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
- }, `additional-link-${index}`))]
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? */