cloudstructs 0.9.44 → 0.9.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/assets/slack-app/provider.lambda/index.js +32 -32
- package/assets/slack-textract/detect.lambda/index.js +36 -36
- package/assets/ssl-server-test/analyze.lambda/index.js +32 -32
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/email-receiver/whitelist-function.js +2 -2
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/provider-function.js +2 -2
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/events-function.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/detect-function.js +2 -2
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/analyze-function.js +2 -2
- package/lib/ssl-server-test/extract-grade-function.js +2 -2
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +4 -4
- package/lib/static-website/index.js +1 -1
- package/lib/static-website/origin-request-function.js +2 -2
- package/lib/toolkit-cleaner/clean-images-function.js +2 -2
- package/lib/toolkit-cleaner/clean-objects-function.js +2 -2
- package/lib/toolkit-cleaner/extract-template-hashes-function.js +2 -2
- package/lib/toolkit-cleaner/get-stack-names-function.js +2 -2
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/lib/url-shortener/redirect-function.js +2 -2
- package/lib/url-shortener/shortener-function.js +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/mjml/package.json +7 -7
- package/node_modules/mjml-accordion/README.md +103 -96
- package/node_modules/mjml-accordion/package.json +3 -3
- package/node_modules/mjml-body/README.md +8 -15
- package/node_modules/mjml-body/package.json +3 -3
- package/node_modules/mjml-button/README.md +53 -52
- package/node_modules/mjml-button/package.json +3 -3
- package/node_modules/mjml-carousel/README.md +49 -42
- package/node_modules/mjml-carousel/package.json +3 -3
- package/node_modules/mjml-cli/package.json +6 -6
- package/node_modules/mjml-column/README.md +45 -42
- package/node_modules/mjml-column/package.json +3 -3
- package/node_modules/mjml-core/package.json +5 -5
- package/node_modules/mjml-divider/README.md +18 -20
- package/node_modules/mjml-divider/package.json +3 -3
- package/node_modules/mjml-group/README.md +25 -29
- package/node_modules/mjml-group/package.json +3 -3
- package/node_modules/mjml-head/package.json +3 -3
- package/node_modules/mjml-head-attributes/README.md +34 -39
- package/node_modules/mjml-head-attributes/package.json +3 -3
- package/node_modules/mjml-head-breakpoint/README.md +8 -10
- package/node_modules/mjml-head-breakpoint/package.json +3 -3
- package/node_modules/mjml-head-font/README.md +28 -31
- package/node_modules/mjml-head-font/package.json +3 -3
- package/node_modules/mjml-head-html-attributes/README.md +28 -30
- package/node_modules/mjml-head-html-attributes/package.json +3 -3
- package/node_modules/mjml-head-preview/README.md +18 -23
- package/node_modules/mjml-head-preview/package.json +3 -3
- package/node_modules/mjml-head-style/README.md +15 -14
- package/node_modules/mjml-head-style/package.json +3 -3
- package/node_modules/mjml-head-title/README.md +19 -22
- package/node_modules/mjml-head-title/package.json +3 -3
- package/node_modules/mjml-hero/README.md +41 -53
- package/node_modules/mjml-hero/package.json +3 -3
- package/node_modules/mjml-image/README.md +35 -35
- package/node_modules/mjml-image/package.json +3 -3
- package/node_modules/mjml-migrate/package.json +4 -4
- package/node_modules/mjml-navbar/README.md +90 -95
- package/node_modules/mjml-navbar/package.json +3 -3
- package/node_modules/mjml-parser-xml/package.json +4 -4
- package/node_modules/mjml-preset-core/package.json +27 -27
- package/node_modules/mjml-raw/README.md +18 -20
- package/node_modules/mjml-raw/package.json +3 -3
- package/node_modules/mjml-section/README.md +51 -52
- package/node_modules/mjml-section/package.json +3 -3
- package/node_modules/mjml-social/README.md +102 -102
- package/node_modules/mjml-social/package.json +3 -3
- package/node_modules/mjml-spacer/README.md +15 -17
- package/node_modules/mjml-spacer/package.json +3 -3
- package/node_modules/mjml-table/README.md +29 -30
- package/node_modules/mjml-table/package.json +3 -3
- package/node_modules/mjml-text/README.md +42 -44
- package/node_modules/mjml-text/package.json +3 -3
- package/node_modules/mjml-validator/README.md +12 -12
- package/node_modules/mjml-validator/package.json +2 -2
- package/node_modules/mjml-wrapper/README.md +42 -44
- package/node_modules/mjml-wrapper/lib/index.js +0 -8
- package/node_modules/mjml-wrapper/package.json +4 -4
- package/package.json +15 -15
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/LICENSE +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/README.md +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.d.ts +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.d.ts.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.js +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.js.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.min.js +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.min.js.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/package.json +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.d.ts +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.d.ts.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.js +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.js.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.min.js +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.min.js.map +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/package.json +0 -0
- /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/package.json +0 -0
- /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/.npmignore +0 -0
- /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/index.js +0 -0
- /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/lib/.gitkeep +0 -0
- /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/lib/mappingTable.json +0 -0
- /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/package.json +0 -0
- /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/LICENSE.md +0 -0
- /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/README.md +0 -0
- /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/lib/index.js +0 -0
- /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/package.json +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/LICENSE.txt +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/README.md +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/URL-impl.js +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/URL.js +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/public-api.js +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/url-state-machine.js +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/utils.js +0 -0
- /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/package.json +0 -0
|
@@ -67,7 +67,7 @@ declare module "path" {
|
|
|
67
67
|
interface PlatformPath {
|
|
68
68
|
/**
|
|
69
69
|
* Normalize a string path, reducing '..' and '.' parts.
|
|
70
|
-
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
|
70
|
+
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
|
|
71
71
|
*
|
|
72
72
|
* @param path string path to normalize.
|
|
73
73
|
* @throws {TypeError} if `path` is not a string.
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 08 Dec 2025 22:36:14 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.10.
|
|
3
|
+
"version": "24.10.2",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~7.16.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "28e383d3b72da0727a96b2232c4dc476d6186afce14cc25ce43bedcf5566a919",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
|
@@ -67,7 +67,7 @@ declare module "path" {
|
|
|
67
67
|
interface PlatformPath {
|
|
68
68
|
/**
|
|
69
69
|
* Normalize a string path, reducing '..' and '.' parts.
|
|
70
|
-
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
|
70
|
+
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
|
|
71
71
|
*
|
|
72
72
|
* @param path string path to normalize.
|
|
73
73
|
* @throws {TypeError} if `path` is not a string.
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 08 Dec 2025 22:36:14 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.10.
|
|
3
|
+
"version": "24.10.2",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~7.16.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "28e383d3b72da0727a96b2232c4dc476d6186afce14cc25ce43bedcf5566a919",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
|
@@ -67,7 +67,7 @@ declare module "path" {
|
|
|
67
67
|
interface PlatformPath {
|
|
68
68
|
/**
|
|
69
69
|
* Normalize a string path, reducing '..' and '.' parts.
|
|
70
|
-
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
|
70
|
+
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
|
|
71
71
|
*
|
|
72
72
|
* @param path string path to normalize.
|
|
73
73
|
* @throws {TypeError} if `path` is not a string.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjml",
|
|
3
3
|
"description": "MJML: the only framework that makes responsive-email easy",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mjml": "bin/mjml"
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.28.4",
|
|
30
|
-
"mjml-cli": "4.
|
|
31
|
-
"mjml-core": "4.
|
|
32
|
-
"mjml-migrate": "4.
|
|
33
|
-
"mjml-preset-core": "4.
|
|
34
|
-
"mjml-validator": "4.
|
|
30
|
+
"mjml-cli": "4.18.0",
|
|
31
|
+
"mjml-core": "4.18.0",
|
|
32
|
+
"mjml-migrate": "4.18.0",
|
|
33
|
+
"mjml-preset-core": "4.18.0",
|
|
34
|
+
"mjml-validator": "4.18.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/cli": "^7.8.4",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
42
|
"rimraf": "^3.0.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
|
|
45
45
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
### mj-accordion
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<img src="https://static.mailjet.com/mjml-website/documentation/accordion-example.gif" alt="accordion" />
|
|
5
|
-
</p>
|
|
3
|
+
An interactive MJML component that stacks content in tabs, so the information is collapsed and only the titles are visible.
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
Readers can interact by clicking on the tabs to reveal the content, providing a better experience for mobile users by reducing the amount of scrolling.
|
|
8
6
|
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
</
|
|
7
|
+
<figure>
|
|
8
|
+
<img src="https://static.mailjet.com/mjml-website/documentation/accordion-example.gif" alt="accordion" />
|
|
9
|
+
</figure>
|
|
12
10
|
|
|
11
|
+
<div class="alert alert-note" role="alert">
|
|
12
|
+
<p>Note</p>
|
|
13
|
+
<p><code>mj-accordion-text</code> and <code>mj-accordion-title</code> are "ending tags", which means that they can contain HTML code but they cannot contain other MJML components.</p>
|
|
14
|
+
<p>More information about ending tags <a href="#ending-tags">in this section</a>.</p>
|
|
15
|
+
</div>
|
|
13
16
|
|
|
14
17
|
```xml
|
|
15
18
|
<mjml>
|
|
@@ -49,91 +52,95 @@
|
|
|
49
52
|
</mjml>
|
|
50
53
|
```
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
icon-
|
|
65
|
-
icon-
|
|
66
|
-
icon-
|
|
67
|
-
icon-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
padding
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
<
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
attribute
|
|
89
|
-
|
|
90
|
-
background-color
|
|
91
|
-
border |
|
|
92
|
-
css-class
|
|
93
|
-
font-family
|
|
94
|
-
icon-align
|
|
95
|
-
icon-height
|
|
96
|
-
icon-position
|
|
97
|
-
icon-unwrapped-alt |
|
|
98
|
-
icon-unwrapped-url |
|
|
99
|
-
icon-width
|
|
100
|
-
icon-wrapped-alt
|
|
101
|
-
icon-wrapped-url
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
font-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
padding
|
|
118
|
-
padding-
|
|
119
|
-
padding-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
padding
|
|
55
|
+
#### Attributes
|
|
56
|
+
|
|
57
|
+
| attribute | accepts | description | default value |
|
|
58
|
+
| -------------------------- | ----------------------- | -------------------------------------------------- | -------------------------------------- |
|
|
59
|
+
| border | string | CSS border format | `2px solid black` |
|
|
60
|
+
| container-background-color | CSS color formats | background-color of the cell | |
|
|
61
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
62
|
+
| font-family | string | font | `Ubuntu, Helvetica, Arial, sans-serif` |
|
|
63
|
+
| icon-align | `top` `middle` `bottom` | icon alignment | `middle` |
|
|
64
|
+
| icon-height | `px` `%` | icon height | `32px` |
|
|
65
|
+
| icon-position | left,<br>right | display icon left or right | `right` |
|
|
66
|
+
| icon-unwrapped-alt | string | alt text when accordion is unwrapped | `-` |
|
|
67
|
+
| icon-unwrapped-url | string | icon when accordion is unwrapped | `https://i.imgur.com/w4uTygT.png` |
|
|
68
|
+
| icon-width | `px` `%` | icon width | `32px` |
|
|
69
|
+
| icon-wrapped-alt | string | alt text when accordion is wrapped | `+` |
|
|
70
|
+
| icon-wrapped-url | string | icon when accordion is wrapped | `https://i.imgur.com/bIXv1bk.png` |
|
|
71
|
+
| padding | `px` `%` | accordion padding, supports up to 4 parameters | `10px 25px` |
|
|
72
|
+
| padding-bottom | `px` `%` | accordion bottom padding | |
|
|
73
|
+
| padding-left | `px` `%` | accordion left padding | |
|
|
74
|
+
| padding-right | `px` `%` | accordion right padding | |
|
|
75
|
+
| padding-top | `px` `%` | accordion top padding | |
|
|
76
|
+
|
|
77
|
+
<p class="cta-container"><a class="cta" href="https://mjml.io/try-it-live/components/accordion">Try it live</a></p>
|
|
78
|
+
|
|
79
|
+
#### mj-accordion-element
|
|
80
|
+
|
|
81
|
+
Creates an accordion title/text pair. An accordion can have any number of these pairs.
|
|
82
|
+
|
|
83
|
+
<div class="alert alert-note" role="alert">
|
|
84
|
+
<p>Note</p>
|
|
85
|
+
<p>Inheritance applies for attributes supported in both <code>mj-accordion</code> and
|
|
86
|
+
<code>mj-accordion-element</code> except where the latter overrides.</p>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
##### Attributes
|
|
90
|
+
|
|
91
|
+
| attribute | accepts | description | default value |
|
|
92
|
+
| ------------------ | ----------------------- | ----------------------------------------------------------------------------------------- | ------------- |
|
|
93
|
+
| background-color | CSS color formats | background color | |
|
|
94
|
+
| border | string | CSS border format. <br>affects each horizontal border in the accordion except the top one | |
|
|
95
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
96
|
+
| font-family | string | font | |
|
|
97
|
+
| icon-align | `top` `middle` `bottom` | icon alignment | |
|
|
98
|
+
| icon-height | `px` `%` | icon width | `32px` |
|
|
99
|
+
| icon-position | `left` `right` | postion of icon | |
|
|
100
|
+
| icon-unwrapped-alt | string | alt text when accordion is unwrapped | |
|
|
101
|
+
| icon-unwrapped-url | string | icon when accordion is unwrapped | |
|
|
102
|
+
| icon-width | `px` `%` | icon height | `32px` |
|
|
103
|
+
| icon-wrapped-alt | string | alt text when accordion is wrapped | |
|
|
104
|
+
| icon-wrapped-url | string | icon when accordion is wrapped | |
|
|
105
|
+
|
|
106
|
+
#### mj-accordion-title
|
|
107
|
+
|
|
108
|
+
Displays the title in a title/text pair.
|
|
109
|
+
|
|
110
|
+
##### Attributes
|
|
111
|
+
|
|
112
|
+
| attribute | accepts | description | default value |
|
|
113
|
+
| ---------------- | ----------------- | ---------------------------------------------------- | ------------- |
|
|
114
|
+
| background-color | CSS color formats | background color | |
|
|
115
|
+
| color | CSS color formats | text color | |
|
|
116
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
117
|
+
| font-family | string | font family | |
|
|
118
|
+
| font-size | `px` | font size | `13px` |
|
|
119
|
+
| font-weight | string | text thickness | |
|
|
120
|
+
| padding | `px` `%` | accordion title padding, supports up to 4 parameters | `16px` |
|
|
121
|
+
| padding-bottom | `px` `%` | accordion title bottom padding | |
|
|
122
|
+
| padding-left | `px` `%` | accordion title left padding | |
|
|
123
|
+
| padding-right | `px` `%` | accordion title right padding | |
|
|
124
|
+
| padding-top | `px` `%` | accordion title top padding | |
|
|
125
|
+
|
|
126
|
+
#### mj-accordion-text
|
|
127
|
+
|
|
128
|
+
Displays the text in a title/text pair.
|
|
129
|
+
|
|
130
|
+
##### Attributes
|
|
131
|
+
|
|
132
|
+
| attribute | accepts | description | default value |
|
|
133
|
+
| ---------------- | ----------------- | --------------------------------------------------- | ------------- |
|
|
134
|
+
| background-color | CSS color formats | background color | |
|
|
135
|
+
| color | CSS color formats | text color | |
|
|
136
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
137
|
+
| font-family | string | font family | |
|
|
138
|
+
| font-size | `px` | font size | `13px` |
|
|
139
|
+
| font-weight | string | text thickness | |
|
|
140
|
+
| letter-spacing | `px` `em` | letter spacing | |
|
|
141
|
+
| line-height | `px` `%` | space between the lines | `1` |
|
|
142
|
+
| padding | `px` `%` | accordion text padding, supports up to 4 parameters | `16px` |
|
|
143
|
+
| padding-bottom | `px` `%` | accordion text bottom padding | |
|
|
144
|
+
| padding-left | `px` `%` | accordion text left padding | |
|
|
145
|
+
| padding-right | `px` `%` | accordion text right padding | |
|
|
146
|
+
| padding-top | `px` `%` | accordion text top padding | |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjml-accordion",
|
|
3
3
|
"description": "mjml-accordion",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"lib"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "^7.28.4",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
|
-
"mjml-core": "4.
|
|
26
|
+
"mjml-core": "4.18.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/cli": "^7.8.4",
|
|
30
30
|
"rimraf": "^3.0.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
|
|
33
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
### mj-body
|
|
2
2
|
|
|
3
3
|
This is the starting point of your email. To aid accessibility, MJML automatically adds a `div` tag as the child of the body, with the following ARIA attributes `role="article"`, `aria-roledescription="email"` and `aria-label="EMAIL NAME"`, where 'EMAIL NAME' is taken from the content of the `mj-title` tag. The `lang` and `dir` attributes are also added here, with values taken from the `mjml` tag.
|
|
4
4
|
|
|
@@ -10,19 +10,12 @@ This is the starting point of your email. To aid accessibility, MJML automatical
|
|
|
10
10
|
</mjml>
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
<a target="_blank" href="https://mjml.io/try-it-live/components/body">
|
|
15
|
-
<img width="100px" src="https://mjml.io/assets/img/svg/TRYITLIVE.svg" alt="try it live" />
|
|
16
|
-
</a>
|
|
17
|
-
</p>
|
|
13
|
+
#### Attributes
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
---------------------|---------------|--------------------------------|---------------
|
|
25
|
-
background-color | color formats | the general background color | n/a
|
|
26
|
-
css-class | string | class name, added to the root HTML element created | n/a
|
|
27
|
-
width | px | email's width | 600px
|
|
15
|
+
| attribute | accepts | description | default value |
|
|
16
|
+
| ------------------- | ----------------- | -------------------------------------------------- | ------------- |
|
|
17
|
+
| background-color | CSS color formats | the general background color | |
|
|
18
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
19
|
+
| width | `px` | email width | `600px` |
|
|
28
20
|
|
|
21
|
+
<p class="cta-container"><a class="cta" href="https://mjml.io/try-it-live/components/body">Try it live</a></p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjml-body",
|
|
3
3
|
"description": "mjml-body",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"lib"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "^7.28.4",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
|
-
"mjml-core": "4.
|
|
26
|
+
"mjml-core": "4.18.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/cli": "^7.8.4",
|
|
30
30
|
"rimraf": "^3.0.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
|
|
33
33
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
### mj-button
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Displays a customizable button.
|
|
4
|
+
|
|
5
|
+
<figure>
|
|
4
6
|
<img src="https://static.mailjet.com/mjml-website/documentation/button-example.png"
|
|
5
7
|
alt="desktop" width="150px" />
|
|
6
|
-
</
|
|
7
|
-
|
|
8
|
-
Displays a customizable button.
|
|
8
|
+
</figure>
|
|
9
9
|
|
|
10
|
-
<
|
|
11
|
-
|
|
10
|
+
<div class="alert alert-important" role="alert">
|
|
11
|
+
<p>Important</p>
|
|
12
|
+
<p>The <code>mj-button</code> won't be fully clickable because of client support.
|
|
12
13
|
See discussion at
|
|
13
|
-
<a href="https://github.com/mjmlio/mjml/issues/359">Issue #359</a
|
|
14
|
-
</
|
|
14
|
+
<a href="https://github.com/mjmlio/mjml/issues/359">Issue #359</a>.</p>
|
|
15
|
+
</div>
|
|
15
16
|
|
|
16
17
|
```xml
|
|
17
18
|
<mjml>
|
|
@@ -27,49 +28,49 @@ Displays a customizable button.
|
|
|
27
28
|
</mjml>
|
|
28
29
|
```
|
|
29
30
|
|
|
30
|
-
<
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
</a>
|
|
34
|
-
</
|
|
31
|
+
<div class="alert alert-note" role="alert">
|
|
32
|
+
<p>Note</p>
|
|
33
|
+
<p><code>mj-button</code> is an "ending tag", which means that it can contain HTML code but it cannot contain other MJML components.</p>
|
|
34
|
+
<p>More information about ending tags <a href="#ending-tags">in this section</a>.</p>
|
|
35
|
+
</div>
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
`mj-button` is an "ending tag", which means it can contain HTML code which will be left as it is, so it can contain HTML tags with attributes, but it cannot contain other MJML components. More information about ending tags <a href="#ending-tags">in this section</a>.
|
|
38
|
-
</aside>
|
|
37
|
+
#### Attributes
|
|
39
38
|
|
|
39
|
+
| attribute | accepts | description | default value |
|
|
40
|
+
| -------------------------- | ---------------------------------- | ----------------------------------------------------- | -------------------------------------- |
|
|
41
|
+
| align | `left` `center` `right` | horizontal alignment | `center` |
|
|
42
|
+
| background-color | CSS color formats | button background-color | `#414141` |
|
|
43
|
+
| border | string | CSS border format | `none` |
|
|
44
|
+
| border-bottom | string | CSS border format | |
|
|
45
|
+
| border-left | string | CSS border format | |
|
|
46
|
+
| border-radius | string | border radius | `3px` |
|
|
47
|
+
| border-right | string | CSS border format | |
|
|
48
|
+
| border-top | string | CSS border format | |
|
|
49
|
+
| color | CSS color formats | text color | `#ffffff` |
|
|
50
|
+
| container-background-color | CSS color formats | button container background color | |
|
|
51
|
+
| css-class | string | class name, added to the root HTML element created | |
|
|
52
|
+
| font-family | string | font name | `Ubuntu, Helvetica, Arial, sans-serif` |
|
|
53
|
+
| font-size | `px` | text size | `13px` |
|
|
54
|
+
| font-style | string | CSS values, e.g. `normal` `italic` `oblique` | |
|
|
55
|
+
| font-weight | string | text thickness | `normal` |
|
|
56
|
+
| height | `px` `%` | button height | |
|
|
57
|
+
| href | string | URL format | |
|
|
58
|
+
| inner-padding | `px` `%` | inner button padding, <br>supports up to 4 parameters | `10px 25px` |
|
|
59
|
+
| letter-spacing | `px` `em` | letter-spacing | |
|
|
60
|
+
| line-height | `px` `%` | line-height on link | `120%` |
|
|
61
|
+
| name | string | specify the name attribute for the button link |
|
|
62
|
+
| padding | `px` `%` | button container padding, supports up to 4 parameters | `10px 25px` |
|
|
63
|
+
| padding-bottom | `px` `%` | button container bottom padding | |
|
|
64
|
+
| padding-left | `px` `%` | button container left padding | |
|
|
65
|
+
| padding-right | `px` `%` | button container right padding | |
|
|
66
|
+
| padding-top | `px` `%` | button container top padding | |
|
|
67
|
+
| rel | string | specify the rel attribute for the button link | |
|
|
68
|
+
| target | string | specify the target attribute for the button link | `_blank` |
|
|
69
|
+
| text-align | `left` `center` `right` | text-align button content | |
|
|
70
|
+
| text-decoration | string | underline/overline/none | `none` |
|
|
71
|
+
| text-transform | string | capitalize/uppercase/lowercase | `none` |
|
|
72
|
+
| title | string | tooltip & accessibility | |
|
|
73
|
+
| vertical-align | `top` `bottom` `middle` `vertical` | vertical alignment | `middle` |
|
|
74
|
+
| width | `px` `%` | button width | |
|
|
40
75
|
|
|
41
|
-
|
|
42
|
-
----------------------------|-------------|--------------------------------------------------|---------------------
|
|
43
|
-
align | string | horizontal alignment | center
|
|
44
|
-
background-color | color | button background-color | #414141
|
|
45
|
-
border | string | css border format | none
|
|
46
|
-
border-bottom | string | css border format | n/a
|
|
47
|
-
border-left | string | css border format | n/a
|
|
48
|
-
border-radius | px | border radius | 3px
|
|
49
|
-
border-right | string | css border format | n/a
|
|
50
|
-
border-top | string | css border format | n/a
|
|
51
|
-
color | color | text color | #ffffff
|
|
52
|
-
container-background-color | color | button container background color | n/a
|
|
53
|
-
css-class | string | class name, added to the root HTML element created | n/a
|
|
54
|
-
font-family | string | font name | Ubuntu, Helvetica, Arial, sans-serif
|
|
55
|
-
font-size | px | text size | 13px
|
|
56
|
-
font-style | string | normal/italic/oblique | n/a
|
|
57
|
-
font-weight | number | text thickness | normal
|
|
58
|
-
height | px | button height | n/a
|
|
59
|
-
href | link | link to be triggered when the button is clicked | n/a
|
|
60
|
-
inner-padding | px | inner button padding | 10px 25px
|
|
61
|
-
letter-spacing | px,em | letter-spacing | n/a
|
|
62
|
-
line-height | px/%/none | line-height on link | 120%
|
|
63
|
-
padding | px | supports up to 4 parameters | 10px 25px
|
|
64
|
-
padding-bottom | px | bottom offset | n/a
|
|
65
|
-
padding-left | px | left offset | n/a
|
|
66
|
-
padding-right | px | right offset | n/a
|
|
67
|
-
padding-top | px | top offset | n/a
|
|
68
|
-
rel | string | specify the rel attribute for the button link | n/a
|
|
69
|
-
target | string | specify the target attribute for the button link | \_blank
|
|
70
|
-
text-align | string | text-align button content | none
|
|
71
|
-
text-decoration | string | underline/overline/none | none
|
|
72
|
-
text-transform | string | capitalize/uppercase/lowercase | none
|
|
73
|
-
title | string | tooltip & accessibility | n/a
|
|
74
|
-
vertical-align | string | vertical alignment | middle
|
|
75
|
-
width | px | button width | n/a
|
|
76
|
+
<p class="cta-container"><a class="cta" href="https://mjml.io/try-it-live/components/button">Try it live</a></p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjml-button",
|
|
3
3
|
"description": "mjml-button",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.18.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"lib"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "^7.28.4",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
|
-
"mjml-core": "4.
|
|
26
|
+
"mjml-core": "4.18.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/cli": "^7.8.4",
|
|
30
30
|
"rimraf": "^3.0.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
|
|
33
33
|
}
|