Socket
Socket
Sign inDemoInstall

mjml-accordion

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-accordion - npm Package Compare versions

Comparing version 3.3.0-beta.8 to 3.3.0

4

package.json
{
"name": "mjml-accordion",
"description": "mjml-accordion",
"version": "3.3.0-beta.8",
"version": "3.3.0",
"main": "lib/index.js",

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

"lodash": "^4.17.4",
"mjml-core": "~3.3.0-beta.8",
"mjml-core": "~3.3.0",
"react": "^15.4.2"
}
}
## mjml-accordion
<p align="center">
<img src="http://i.imgur.com/1p50NXi.gif" alt="accordion" />
<img src="http://i.imgur.com/6B5VpAQ.gif" alt="accordion" />
</p>

@@ -13,22 +13,31 @@

<mj-attributes>
<mj-accordion-title font-size="18px" font-family="Helvetica"/>
<mj-accordion-text font-size="14px" font-family="Helvetica" />
<mj-accordion border="none" padding="1px" />
<mj-accordion-element icon-wrapped-url="http://i.imgur.com/Xvw0vjq.png" icon-unwrapped-url="http://i.imgur.com/KKHenWa.png" icon-height="24px" icon-width="24px" />
<mj-accordion-title font-family="Roboto, Open Sans, Helvetica, Arial, sans-serif" background-color="#fff" color="#031017" padding="15px" font-size="18px" />
<mj-accordion-text font-family="Open Sans, Helvetica, Arial, sans-serif" background-color="#fafafa" padding="15px" color="#505050" font-size="14px" />
</mj-attributes>
</mj-head>
<mj-body>
<mj-container background-color="#fbfbfb">
<mj-section>
<mj-column background-color="#dfdfdf">
<mj-accordion border="1px solid blue">
<mj-accordion-element icon-position="left" icon-wrapped-url="https://cdn4.iconfinder.com/data/icons/e-commerce-icon-set/48/More-128.png" icon-unwrapped-url="https://cdn4.iconfinder.com/data/icons/e-commerce-icon-set/48/Less-128.png">
<mj-accordion-title background-color="#dedede" color="#333333">To the left, to the left</mj-accordion-title>
<mj-accordion-text background-color="#333333" color="#dedede">Isn't this content neat?</mj-accordion-text>
</mj-accordion-element>
<mj-accordion-element icon-position="right" icon-wrapped-url="https://cdn2.iconfinder.com/data/icons/ios-7-icons/50/down4-512.png" icon-unwrapped-url="https://cdn2.iconfinder.com/data/icons/ios-7-icons/50/up4-512.png">
<mj-accordion-title background-color="#dedeff" color="#444488">To the right, to the right</mj-accordion-title>
<mj-accordion-text background-color="#444488" color="#dedeff">What about this content?</mj-accordion-text>
</mj-accordion-element>
</mj-accordion>
</mj-column>
</mj-section>
<mj-container background-color="#f5f5f5" width="650px">
<mj-section padding="20px" background-color="#ffffff">
<mj-column background-color="#dededd">
<mj-accordion>
<mj-accordion-element>
<mj-accordion-title>Why using an mj-accordion?</mj-accordion-title>
<mj-accordion-text>
<span style="line-height:20px">Because emails with a lot of content are most of the time a very bad experience on mobile, mj-accordion comes handy when you want to deliver a lot of information in a concise way.
</span>
</mj-accordion-text>
</mj-accordion-element>
<mj-accordion-element>
<mj-accordion-title>How it works</mj-accordion-title>
<mj-accordion-text>
<span style="line-height:20px">
Content is stacked into tabs and users can expand them at will. If responsive styles are not supported (mostly on desktop clients), tabs are then expanded and your content is readable at once.</span>
</mj-accordion-text>
</mj-accordion-element>
</mj-accordion>
</mj-column>
</mj-section>
</mj-container>

@@ -35,0 +44,0 @@ </mj-body>

Sorry, the diff of this file is not supported yet

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