mjml-table
Advanced tools
Comparing version 2.0.9 to 3.0.0-beta.1
@@ -26,2 +26,4 @@ 'use strict'; | ||
var tagName = 'mj-table'; | ||
var parentTag = ['mj-column', 'mj-hero-content']; | ||
var endingTag = true; | ||
var defaultMJMLDefinition = { | ||
@@ -34,11 +36,16 @@ content: '', | ||
'color': '#000', | ||
'container-background-color': null, | ||
'font-family': 'Ubuntu, Helvetica, Arial, sans-serif', | ||
'font-size': '13px', | ||
'line-height': '22px', | ||
'padding-bottom': null, | ||
'padding-left': null, | ||
'padding-right': null, | ||
'padding-top': null, | ||
'padding': '10px 25px', | ||
'table-layout': 'auto', | ||
'vertical-align': null, | ||
'width': '100%' | ||
} | ||
}; | ||
var endingTag = true; | ||
@@ -49,3 +56,3 @@ var Table = (0, _mjmlCore.MJMLElement)(_class = function (_Component) { | ||
function Table() { | ||
var _Object$getPrototypeO; | ||
var _ref; | ||
@@ -60,3 +67,3 @@ var _temp, _this, _ret; | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(Table)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.styles = _this.getStyles(), _temp), _possibleConstructorReturn(_this, _ret); | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Table.__proto__ || Object.getPrototypeOf(Table)).call.apply(_ref, [this].concat(args))), _this), _this.styles = _this.getStyles(), _temp), _possibleConstructorReturn(_this, _ret); | ||
} | ||
@@ -74,6 +81,8 @@ | ||
table: { | ||
cellpadding: mjAttribute('cellspadding'), | ||
cellspacing: mjAttribute('cellspacing'), | ||
color: mjAttribute('color'), | ||
fontFamily: mjAttribute('font-family'), | ||
fontSize: defaultUnit(mjAttribute('font-size'), "px"), | ||
lineHeight: defaultUnit(mjAttribute('line-height'), "px"), | ||
fontSize: defaultUnit(mjAttribute('font-size')), | ||
lineHeight: defaultUnit(mjAttribute('line-height')), | ||
tableLayout: mjAttribute('table-layout') | ||
@@ -105,5 +114,6 @@ } | ||
Table.tagName = tagName; | ||
Table.parentTag = parentTag; | ||
Table.endingTag = endingTag; | ||
Table.defaultMJMLDefinition = defaultMJMLDefinition; | ||
Table.endingTag = endingTag; | ||
exports.default = Table; |
{ | ||
"name": "mjml-table", | ||
"description": "mjml-table", | ||
"version": "2.0.9", | ||
"version": "3.0.0-beta.1", | ||
"main": "lib/index.js", | ||
@@ -16,5 +16,5 @@ "repository": { | ||
"dependencies": { | ||
"mjml-core": "^2.3.2", | ||
"react": "^15.3.0" | ||
"mjml-core": "~3.0.0-beta.1", | ||
"react": "^15.3.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7545
89
1
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedasync@1.5.2(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedcheerio@0.22.0(transitive)
+ Addedcommander@2.9.0(transitive)
+ Addedcross-spawn@4.0.2(transitive)
+ Addeddatauri@0.2.1(transitive)
+ Addeddeep-extend@0.4.2(transitive)
+ Addeddomhandler@2.4.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedgraceful-readlink@1.0.1(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhoist-non-react-statics@1.2.0(transitive)
+ Addedhtmlparser2@3.10.1(transitive)
+ Addedjuice@3.0.1(transitive)
+ Addedlodash.assignin@4.2.0(transitive)
+ Addedlodash.bind@4.2.1(transitive)
+ Addedlodash.constant@3.0.0(transitive)
+ Addedlodash.defaults@4.2.0(transitive)
+ Addedlodash.filter@4.6.0(transitive)
+ Addedlodash.flatten@4.4.0(transitive)
+ Addedlodash.foreach@4.5.0(transitive)
+ Addedlodash.map@4.6.0(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedlodash.pick@4.4.0(transitive)
+ Addedlodash.reduce@4.6.0(transitive)
+ Addedlodash.reject@4.6.0(transitive)
+ Addedlodash.some@4.6.0(transitive)
+ Addedlodash.unescape@4.0.1(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmensch@0.3.4(transitive)
+ Addedmimer@2.0.2(transitive)
+ Addedmjml-core@3.0.2(transitive)
+ Addedmjml-validator@3.0.2(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedslick@1.12.2(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedtemplayed@0.2.3(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedweb-resource-inliner@3.0.0(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedyallist@2.1.2(transitive)
- Removedmjml-core@2.3.3(transitive)
Updatedmjml-core@~3.0.0-beta.1
Updatedreact@^15.3.2