Socket
Socket
Sign inDemoInstall

mjml-table

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-table - npm Package Compare versions

Comparing version 2.0.0-beta.4 to 2.0.0-beta.5

4

lib/index.js

@@ -35,2 +35,3 @@ 'use strict';

'padding': '10px 25px',
'table-layout': 'auto',
'width': '100%'

@@ -70,3 +71,4 @@ }

fontSize: mjAttribute('font-size'),
lineHeight: mjAttribute('line-height')
lineHeight: mjAttribute('line-height'),
tableLayout: mjAttribute('table-layout')
}

@@ -73,0 +75,0 @@ };

{
"name": "mjml-table",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"main": "lib/index.js",

@@ -15,5 +15,5 @@ "repository": {

"dependencies": {
"mjml-core": "^2.0.0-beta.4",
"react": "^0.14.7"
"mjml-core": "^2.0.0-beta.5",
"react": "^0.14.8"
}
}

@@ -1,1 +0,46 @@

mjml-table
## MJ-TABLE
``` html
<mj-body>
<mj-section>
<mj-column width="100%">
<mj-table>
<tr style="border-bottom:1px solid #ecedee;text-align:left;padding:15px 0;">
<th style="padding: 0 15px 0 0;">Year</th>
<th style="padding: 0 15px;">Language</th>
<th style="padding: 0 0 0 15px;">Inspired from</th>
</tr>
<tr>
<td style="padding: 0 15px 0 0;">1995</td>
<td style="padding: 0 15px;">PHP</td>
<td style="padding: 0 0 0 15px;">C, Shell Unix</td>
</tr>
<tr>
<td style="padding: 0 15px 0 0;">1995</td>
<td style="padding: 0 15px;">JavaScript</td>
<td style="padding: 0 0 0 15px;">Scheme, Self</td>
</tr>
</mj-table>
</mj-column>
</mj-section>
</mj-body>
```
This tag allows you to display table and filled it with data.
attribute | unit | description | default value
----------------|-------------|-------------------------------|--------------
color | color | text header & footer color | #000
font-family | string | font name | Ubuntu, Helvetica, Arial, sans-serif
font-size | px/em | font size | 13px
line-height | percent/px | space between lines | 22px
padding | px | supports up to 4 parameters | 10px 25px
padding-top | px | top offset | n/a
padding-bottom | px | bottom offset | n/a
padding-left | px | left offset | n/a
padding-right | px | right offset | n/a
width | percent/px | table width | 100%
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc