diy-template-components 0.2.5 → 0.2.7

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/build/index.es.js CHANGED
@@ -8075,7 +8075,8 @@ function Section({
8075
8075
  textAlign: 'center',
8076
8076
  color: '#00ade7',
8077
8077
  marginTop: '24px'
8078
- }
8078
+ },
8079
+ ref: body?.components[0]?.refSetter
8079
8080
  }, body?.components[0]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
8080
8081
  style: {
8081
8082
  // fontFamily: 'Roboto',
@@ -8087,7 +8088,8 @@ function Section({
8087
8088
  color: '#0a1629',
8088
8089
  marginTop: '8px',
8089
8090
  marginBottom: '15px'
8090
- }
8091
+ },
8092
+ ref: body?.components[1]?.refSetter
8091
8093
  }, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
8092
8094
  style: {
8093
8095
  maxWidth: '435px',
@@ -8103,7 +8105,8 @@ function Section({
8103
8105
  dangerouslySetInnerHTML: {
8104
8106
  __html: body?.components[2]?.metadata?.text
8105
8107
  },
8106
- className: classes.email_description_para
8108
+ className: classes.email_description_para,
8109
+ ref: body?.components[2]?.refSetter
8107
8110
  })))))) : null, landing?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
8108
8111
  style: {
8109
8112
  width: '100%',
@@ -8144,7 +8147,8 @@ function Section({
8144
8147
  marginTop: '16px',
8145
8148
  marginBottom: '16px',
8146
8149
  textAlign: 'left'
8147
- }
8150
+ },
8151
+ ref: landing?.components[1]?.refSetter
8148
8152
  }, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("a", {
8149
8153
  href: landing?.components[3]?.metadata?.text,
8150
8154
  target: "_blank",
@@ -8165,7 +8169,8 @@ function Section({
8165
8169
  lineHeight: '32px',
8166
8170
  textTransform: 'uppercase',
8167
8171
  color: '#fafafa'
8168
- }
8172
+ },
8173
+ ref: landing?.components[2]?.refSetter
8169
8174
  }, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
8170
8175
  style: {
8171
8176
  width: '100%',
@@ -8201,7 +8206,8 @@ function Section({
8201
8206
  style: {
8202
8207
  width: '36px',
8203
8208
  height: '36px'
8204
- }
8209
+ },
8210
+ ref: footer?.components[0]?.refSetter
8205
8211
  })), /*#__PURE__*/React.createElement("a", {
8206
8212
  href: footer?.components[1]?.metadata?.text,
8207
8213
  target: "_blank",
@@ -8209,13 +8215,14 @@ function Section({
8209
8215
  textDecoration: 'none'
8210
8216
  }
8211
8217
  }, /*#__PURE__*/React.createElement("img", {
8212
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8218
+ src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
8213
8219
  alt: "",
8214
8220
  style: {
8215
8221
  width: '36px',
8216
8222
  height: '36px',
8217
8223
  margin: '0px 12px'
8218
- }
8224
+ },
8225
+ ref: footer?.components[1]?.refSetter
8219
8226
  })), /*#__PURE__*/React.createElement("a", {
8220
8227
  href: footer?.components[2]?.metadata?.text,
8221
8228
  target: "_blank",
@@ -8223,12 +8230,13 @@ function Section({
8223
8230
  textDecoration: 'none'
8224
8231
  }
8225
8232
  }, /*#__PURE__*/React.createElement("img", {
8226
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8233
+ src: footer?.components[2]?.metadata?.text ? footer?.components[2]?.metadata?.iconUrlColor : footer?.components[2]?.metadata?.iconUrl,
8227
8234
  alt: "",
8228
8235
  style: {
8229
8236
  width: '36px',
8230
8237
  height: '36px'
8231
- }
8238
+ },
8239
+ ref: footer?.components[2]?.refSetter
8232
8240
  })), /*#__PURE__*/React.createElement("a", {
8233
8241
  href: footer?.components[3]?.metadata?.text,
8234
8242
  target: "_blank",
@@ -8236,13 +8244,14 @@ function Section({
8236
8244
  textDecoration: 'none'
8237
8245
  }
8238
8246
  }, /*#__PURE__*/React.createElement("img", {
8239
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8247
+ src: footer?.components[3]?.metadata?.text ? footer?.components[3]?.metadata?.iconUrlColor : footer?.components[3]?.metadata?.iconUrl,
8240
8248
  alt: "",
8241
8249
  style: {
8242
8250
  width: '36px',
8243
8251
  height: '36px',
8244
8252
  margin: '0px 12px'
8245
- }
8253
+ },
8254
+ ref: footer?.components[3]?.refSetter
8246
8255
  })), /*#__PURE__*/React.createElement("a", {
8247
8256
  href: footer?.components[4]?.metadata?.text,
8248
8257
  target: "_blank",
@@ -8250,12 +8259,13 @@ function Section({
8250
8259
  textDecoration: 'none'
8251
8260
  }
8252
8261
  }, /*#__PURE__*/React.createElement("img", {
8253
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8262
+ src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
8254
8263
  alt: "",
8255
8264
  style: {
8256
8265
  width: '36px',
8257
8266
  height: '36px'
8258
- }
8267
+ },
8268
+ ref: footer?.components[4]?.refSetter
8259
8269
  })), /*#__PURE__*/React.createElement("table", {
8260
8270
  style: {
8261
8271
  width: '100%',
@@ -8271,7 +8281,7 @@ function Section({
8271
8281
  textAlign: 'center',
8272
8282
  color: '#7d8592'
8273
8283
  }
8274
- }, "For any concerns, mail us at", ' ' + footer?.components[5]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
8284
+ }, "For any concerns, mail us at", ' ' + footer?.components[5]?.metadata?.text ? footer?.components[5]?.metadata?.text : ''), /*#__PURE__*/React.createElement("p", {
8275
8285
  style: {
8276
8286
  // fontFamily: 'Roboto',
8277
8287
  fontStyle: 'normal',
@@ -8281,7 +8291,7 @@ function Section({
8281
8291
  textAlign: 'center',
8282
8292
  color: '#7d8592'
8283
8293
  }
8284
- }, "Copyright \xA9 2022 |", ' ' + footer?.components[5]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
8294
+ }, "Copyright \xA9 2023 |", ' ' + footer?.components[5]?.metadata?.text ? footer?.components[5]?.metadata?.text : ''), /*#__PURE__*/React.createElement("p", {
8285
8295
  style: {
8286
8296
  // fontFamily: 'Roboto',
8287
8297
  fontStyle: 'normal',