mjml-social
Advanced tools
Comparing version 3.3.0-beta.6 to 3.3.0-beta.7
@@ -40,2 +40,3 @@ 'use strict'; | ||
'base-url': 'https://www.mailjet.com/images/theme/v1/icons/ico-social/', | ||
'border-radius': '3px', | ||
'color': '#333333', | ||
@@ -100,8 +101,6 @@ 'container-background-color': null, | ||
textAlign: 'left', | ||
display: 'block', | ||
borderRadius: '3px' | ||
display: 'block' | ||
}, | ||
img: { | ||
display: 'block', | ||
borderRadius: '3px' | ||
display: 'block' | ||
} | ||
@@ -184,4 +183,8 @@ }; | ||
lineHeight: mjAttribute('line-height'), | ||
textDecoration: mjAttribute('text-decoration') | ||
textDecoration: mjAttribute('text-decoration'), | ||
borderRadius: defaultUnit(mjAttribute('border-radius'), 'px') | ||
}, | ||
img: { | ||
borderRadius: defaultUnit(mjAttribute('border-radius'), 'px') | ||
}, | ||
td1: { | ||
@@ -336,4 +339,4 @@ padding: defaultUnit(mjAttribute('inner-padding')) | ||
'data-legacy-border': '0', | ||
key: 'wrapped-social-button-' + index, | ||
style: _this3.styles.tableHorizontal }, | ||
key: 'wrapped-social-button-' + index // eslint-disable-line react/no-array-index-key | ||
, style: _this3.styles.tableHorizontal }, | ||
_react2.default.createElement( | ||
@@ -347,3 +350,6 @@ 'tbody', | ||
result.push(socialButton); | ||
result.push(_react2.default.createElement('div', { className: 'mj-social-outlook-line', key: 'outlook-line-' + index })); | ||
result.push(_react2.default.createElement('div', { | ||
className: 'mj-social-outlook-line', | ||
key: 'outlook-line-' + index // eslint-disable-line react/no-array-index-key | ||
})); | ||
@@ -350,0 +356,0 @@ return result; |
{ | ||
"name": "mjml-social", | ||
"description": "mjml-social", | ||
"version": "3.3.0-beta.6", | ||
"version": "3.3.0-beta.7", | ||
"main": "lib/index.js", | ||
@@ -17,5 +17,5 @@ "repository": { | ||
"lodash": "^4.17.4", | ||
"mjml-core": "~3.3.0-beta.6", | ||
"mjml-core": "~3.3.0-beta.7", | ||
"react": "^15.4.2" | ||
} | ||
} |
@@ -57,2 +57,3 @@ ## mjml-social | ||
----------------------------|-------------|--------------------------------------------------------------------------|-------------------------------------------- | ||
border-radius | px | border radius | 3px | ||
facebook-content | string | button text content | Share | ||
@@ -59,0 +60,0 @@ facebook-href | url | button redirection url | [[SHORT_PERMALINK]] |
55208
5
349
95
Updatedmjml-core@~3.3.0-beta.7