umwd-components 0.1.193 → 0.1.195

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.
@@ -114,8 +114,8 @@ function Footer(_ref) {
114
114
  }
115
115
  }, /*#__PURE__*/React.createElement(Image, {
116
116
  src: logo.url,
117
- width: logo.width,
118
- height: logo.height,
117
+ width: logo.width || 100,
118
+ height: logo.height || 100,
119
119
  alt: logo.alternativeText || "site logo"
120
120
  }))))), /*#__PURE__*/React.createElement(material.Grid, {
121
121
  item: true,
@@ -152,7 +152,7 @@ function Footer(_ref) {
152
152
  sm: 6,
153
153
  md: 4,
154
154
  align: "center"
155
- }, company_socials.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(material.Typography, {
155
+ }, company_socials && company_socials.length > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(material.Typography, {
156
156
  variant: "h6",
157
157
  sx: {
158
158
  mb: 2
@@ -110,8 +110,8 @@ function Footer(_ref) {
110
110
  }
111
111
  }, /*#__PURE__*/React__default.createElement(Image, {
112
112
  src: logo.url,
113
- width: logo.width,
114
- height: logo.height,
113
+ width: logo.width || 100,
114
+ height: logo.height || 100,
115
115
  alt: logo.alternativeText || "site logo"
116
116
  }))))), /*#__PURE__*/React__default.createElement(Grid, {
117
117
  item: true,
@@ -148,7 +148,7 @@ function Footer(_ref) {
148
148
  sm: 6,
149
149
  md: 4,
150
150
  align: "center"
151
- }, company_socials.length > 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Typography, {
151
+ }, company_socials && company_socials.length > 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Typography, {
152
152
  variant: "h6",
153
153
  sx: {
154
154
  mb: 2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.193",
3
+ "version": "0.1.195",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -114,8 +114,8 @@ function Footer({
114
114
  >
115
115
  <Image
116
116
  src={logo.url}
117
- width={logo.width}
118
- height={logo.height}
117
+ width={logo.width || 100}
118
+ height={logo.height || 100}
119
119
  alt={logo.alternativeText || "site logo"}
120
120
  />
121
121
  </Box>
@@ -155,7 +155,7 @@ function Footer({
155
155
  <Typography variant="body1"></Typography>
156
156
  </Grid>
157
157
  <Grid item xs={12} sm={6} md={4} align="center">
158
- {company_socials.length > 0 && (
158
+ {company_socials && company_socials.length > 0 && (
159
159
  <>
160
160
  <Typography variant="h6" sx={{ mb: 2 }}>
161
161
  Socials