mjml-hero
Advanced tools
Comparing version 4.13.0 to 4.14.0
@@ -100,14 +100,2 @@ "use strict"; | ||
}, | ||
hero: { | ||
background: this.getBackground(), | ||
'background-position': this.getAttribute('background-position'), | ||
'background-repeat': 'no-repeat', | ||
'border-radius': this.getAttribute('border-radius'), | ||
padding: this.getAttribute('padding'), | ||
'padding-top': this.getAttribute('padding-top'), | ||
'padding-left': this.getAttribute('padding-left'), | ||
'padding-right': this.getAttribute('padding-right'), | ||
'padding-bottom': this.getAttribute('padding-bottom'), | ||
'vertical-align': this.getAttribute('vertical-align') | ||
}, | ||
'outlook-table': { | ||
@@ -254,3 +242,14 @@ width: containerWidth | ||
background: this.getAttribute('background-url'), | ||
style: 'hero' | ||
style: { | ||
background: this.getBackground(), | ||
'background-position': this.getAttribute('background-position'), | ||
'background-repeat': 'no-repeat', | ||
'border-radius': this.getAttribute('border-radius'), | ||
padding: this.getAttribute('padding'), | ||
'padding-top': this.getAttribute('padding-top'), | ||
'padding-left': this.getAttribute('padding-left'), | ||
'padding-right': this.getAttribute('padding-right'), | ||
'padding-bottom': this.getAttribute('padding-bottom'), | ||
'vertical-align': this.getAttribute('vertical-align') | ||
} | ||
}; | ||
@@ -279,3 +278,6 @@ /* eslint-disable no-alert, no-case-declarations */ | ||
${this.htmlAttributes({ ...commonAttributes, | ||
height | ||
height, | ||
style: { ...commonAttributes.style, | ||
height: `${height}px` | ||
} | ||
})} | ||
@@ -282,0 +284,0 @@ > |
{ | ||
"name": "mjml-hero", | ||
"description": "mjml-hero", | ||
"version": "4.13.0", | ||
"version": "4.14.0", | ||
"main": "lib/index.js", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"lodash": "^4.17.21", | ||
"mjml-core": "4.13.0" | ||
"mjml-core": "4.14.0" | ||
}, | ||
@@ -33,3 +33,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "16eee8e2693c1211ad29841c4cae0c600d6d6fb5" | ||
"gitHead": "9600817b37073ab8fea7059c7013267657c2fade" | ||
} |
19107
4
370
+ Addedcheerio@1.0.0-rc.12(transitive)
+ Addedcheerio-select@2.1.0(transitive)
+ Addedcommander@6.2.1(transitive)
+ Addedcss-select@5.1.0(transitive)
+ Addeddom-serializer@2.0.0(transitive)
+ Addeddomhandler@5.0.3(transitive)
+ Addeddomutils@3.1.0(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedhtmlparser2@5.0.18.0.2(transitive)
+ Addedjuice@9.1.0(transitive)
+ Addedmjml-core@4.14.0(transitive)
+ Addedmjml-migrate@4.14.0(transitive)
+ Addedmjml-parser-xml@4.14.0(transitive)
+ Addedparse5@7.1.2(transitive)
+ Addedparse5-htmlparser2-tree-adapter@7.0.0(transitive)
+ Addedweb-resource-inliner@6.0.1(transitive)
- Removedcommander@5.1.0(transitive)
- Removedjuice@7.0.0(transitive)
- Removedmjml-core@4.13.0(transitive)
- Removedmjml-migrate@4.13.0(transitive)
- Removedmjml-parser-xml@4.13.0(transitive)
- Removedweb-resource-inliner@5.0.0(transitive)
Updatedmjml-core@4.14.0