diy-template-components 0.2.5 → 0.2.6

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.js CHANGED
@@ -8090,7 +8090,8 @@ function Section({
8090
8090
  textAlign: 'center',
8091
8091
  color: '#00ade7',
8092
8092
  marginTop: '24px'
8093
- }
8093
+ },
8094
+ ref: body?.components[0]?.refSetter
8094
8095
  }, body?.components[0]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("p", {
8095
8096
  style: {
8096
8097
  // fontFamily: 'Roboto',
@@ -8102,7 +8103,8 @@ function Section({
8102
8103
  color: '#0a1629',
8103
8104
  marginTop: '8px',
8104
8105
  marginBottom: '15px'
8105
- }
8106
+ },
8107
+ ref: body?.components[1]?.refSetter
8106
8108
  }, body?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("p", {
8107
8109
  style: {
8108
8110
  maxWidth: '435px',
@@ -8118,7 +8120,8 @@ function Section({
8118
8120
  dangerouslySetInnerHTML: {
8119
8121
  __html: body?.components[2]?.metadata?.text
8120
8122
  },
8121
- className: classes.email_description_para
8123
+ className: classes.email_description_para,
8124
+ ref: body?.components[2]?.refSetter
8122
8125
  })))))) : null, landing?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8123
8126
  style: {
8124
8127
  width: '100%',
@@ -8159,7 +8162,8 @@ function Section({
8159
8162
  marginTop: '16px',
8160
8163
  marginBottom: '16px',
8161
8164
  textAlign: 'left'
8162
- }
8165
+ },
8166
+ ref: landing?.components[1]?.refSetter
8163
8167
  }, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("a", {
8164
8168
  href: landing?.components[3]?.metadata?.text,
8165
8169
  target: "_blank",
@@ -8180,7 +8184,8 @@ function Section({
8180
8184
  lineHeight: '32px',
8181
8185
  textTransform: 'uppercase',
8182
8186
  color: '#fafafa'
8183
- }
8187
+ },
8188
+ ref: landing?.components[2]?.refSetter
8184
8189
  }, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8185
8190
  style: {
8186
8191
  width: '100%',
@@ -8216,7 +8221,8 @@ function Section({
8216
8221
  style: {
8217
8222
  width: '36px',
8218
8223
  height: '36px'
8219
- }
8224
+ },
8225
+ ref: footer?.components[0]?.refSetter
8220
8226
  })), /*#__PURE__*/React__default["default"].createElement("a", {
8221
8227
  href: footer?.components[1]?.metadata?.text,
8222
8228
  target: "_blank",
@@ -8224,13 +8230,14 @@ function Section({
8224
8230
  textDecoration: 'none'
8225
8231
  }
8226
8232
  }, /*#__PURE__*/React__default["default"].createElement("img", {
8227
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8233
+ src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
8228
8234
  alt: "",
8229
8235
  style: {
8230
8236
  width: '36px',
8231
8237
  height: '36px',
8232
8238
  margin: '0px 12px'
8233
- }
8239
+ },
8240
+ ref: footer?.components[1]?.refSetter
8234
8241
  })), /*#__PURE__*/React__default["default"].createElement("a", {
8235
8242
  href: footer?.components[2]?.metadata?.text,
8236
8243
  target: "_blank",
@@ -8238,12 +8245,13 @@ function Section({
8238
8245
  textDecoration: 'none'
8239
8246
  }
8240
8247
  }, /*#__PURE__*/React__default["default"].createElement("img", {
8241
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8248
+ src: footer?.components[2]?.metadata?.text ? footer?.components[2]?.metadata?.iconUrlColor : footer?.components[2]?.metadata?.iconUrl,
8242
8249
  alt: "",
8243
8250
  style: {
8244
8251
  width: '36px',
8245
8252
  height: '36px'
8246
- }
8253
+ },
8254
+ ref: footer?.components[2]?.refSetter
8247
8255
  })), /*#__PURE__*/React__default["default"].createElement("a", {
8248
8256
  href: footer?.components[3]?.metadata?.text,
8249
8257
  target: "_blank",
@@ -8251,13 +8259,14 @@ function Section({
8251
8259
  textDecoration: 'none'
8252
8260
  }
8253
8261
  }, /*#__PURE__*/React__default["default"].createElement("img", {
8254
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8262
+ src: footer?.components[3]?.metadata?.text ? footer?.components[3]?.metadata?.iconUrlColor : footer?.components[3]?.metadata?.iconUrl,
8255
8263
  alt: "",
8256
8264
  style: {
8257
8265
  width: '36px',
8258
8266
  height: '36px',
8259
8267
  margin: '0px 12px'
8260
- }
8268
+ },
8269
+ ref: footer?.components[3]?.refSetter
8261
8270
  })), /*#__PURE__*/React__default["default"].createElement("a", {
8262
8271
  href: footer?.components[4]?.metadata?.text,
8263
8272
  target: "_blank",
@@ -8265,12 +8274,13 @@ function Section({
8265
8274
  textDecoration: 'none'
8266
8275
  }
8267
8276
  }, /*#__PURE__*/React__default["default"].createElement("img", {
8268
- src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
8277
+ src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
8269
8278
  alt: "",
8270
8279
  style: {
8271
8280
  width: '36px',
8272
8281
  height: '36px'
8273
- }
8282
+ },
8283
+ ref: footer?.components[4]?.refSetter
8274
8284
  })), /*#__PURE__*/React__default["default"].createElement("table", {
8275
8285
  style: {
8276
8286
  width: '100%',