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.
Files changed (140) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-app/provider.lambda/index.js +32 -32
  3. package/assets/slack-textract/detect.lambda/index.js +36 -36
  4. package/assets/ssl-server-test/analyze.lambda/index.js +32 -32
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/dmarc/index.js +1 -1
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/email-receiver/whitelist-function.js +2 -2
  10. package/lib/mjml-template/index.js +1 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/provider-function.js +2 -2
  14. package/lib/slack-app/slack-app.js +2 -2
  15. package/lib/slack-events/events-function.js +2 -2
  16. package/lib/slack-events/index.js +1 -1
  17. package/lib/slack-textract/detect-function.js +2 -2
  18. package/lib/slack-textract/index.js +1 -1
  19. package/lib/ssl-server-test/analyze-function.js +2 -2
  20. package/lib/ssl-server-test/extract-grade-function.js +2 -2
  21. package/lib/ssl-server-test/index.js +1 -1
  22. package/lib/state-machine-cr-provider/index.js +4 -4
  23. package/lib/static-website/index.js +1 -1
  24. package/lib/static-website/origin-request-function.js +2 -2
  25. package/lib/toolkit-cleaner/clean-images-function.js +2 -2
  26. package/lib/toolkit-cleaner/clean-objects-function.js +2 -2
  27. package/lib/toolkit-cleaner/extract-template-hashes-function.js +2 -2
  28. package/lib/toolkit-cleaner/get-stack-names-function.js +2 -2
  29. package/lib/toolkit-cleaner/index.js +1 -1
  30. package/lib/url-shortener/index.js +1 -1
  31. package/lib/url-shortener/redirect-function.js +2 -2
  32. package/lib/url-shortener/shortener-function.js +2 -2
  33. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  34. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  35. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +1 -1
  36. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  37. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  38. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +1 -1
  39. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  40. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  41. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +1 -1
  42. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  43. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  44. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +1 -1
  45. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  46. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  47. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +1 -1
  48. package/node_modules/mjml/package.json +7 -7
  49. package/node_modules/mjml-accordion/README.md +103 -96
  50. package/node_modules/mjml-accordion/package.json +3 -3
  51. package/node_modules/mjml-body/README.md +8 -15
  52. package/node_modules/mjml-body/package.json +3 -3
  53. package/node_modules/mjml-button/README.md +53 -52
  54. package/node_modules/mjml-button/package.json +3 -3
  55. package/node_modules/mjml-carousel/README.md +49 -42
  56. package/node_modules/mjml-carousel/package.json +3 -3
  57. package/node_modules/mjml-cli/package.json +6 -6
  58. package/node_modules/mjml-column/README.md +45 -42
  59. package/node_modules/mjml-column/package.json +3 -3
  60. package/node_modules/mjml-core/package.json +5 -5
  61. package/node_modules/mjml-divider/README.md +18 -20
  62. package/node_modules/mjml-divider/package.json +3 -3
  63. package/node_modules/mjml-group/README.md +25 -29
  64. package/node_modules/mjml-group/package.json +3 -3
  65. package/node_modules/mjml-head/package.json +3 -3
  66. package/node_modules/mjml-head-attributes/README.md +34 -39
  67. package/node_modules/mjml-head-attributes/package.json +3 -3
  68. package/node_modules/mjml-head-breakpoint/README.md +8 -10
  69. package/node_modules/mjml-head-breakpoint/package.json +3 -3
  70. package/node_modules/mjml-head-font/README.md +28 -31
  71. package/node_modules/mjml-head-font/package.json +3 -3
  72. package/node_modules/mjml-head-html-attributes/README.md +28 -30
  73. package/node_modules/mjml-head-html-attributes/package.json +3 -3
  74. package/node_modules/mjml-head-preview/README.md +18 -23
  75. package/node_modules/mjml-head-preview/package.json +3 -3
  76. package/node_modules/mjml-head-style/README.md +15 -14
  77. package/node_modules/mjml-head-style/package.json +3 -3
  78. package/node_modules/mjml-head-title/README.md +19 -22
  79. package/node_modules/mjml-head-title/package.json +3 -3
  80. package/node_modules/mjml-hero/README.md +41 -53
  81. package/node_modules/mjml-hero/package.json +3 -3
  82. package/node_modules/mjml-image/README.md +35 -35
  83. package/node_modules/mjml-image/package.json +3 -3
  84. package/node_modules/mjml-migrate/package.json +4 -4
  85. package/node_modules/mjml-navbar/README.md +90 -95
  86. package/node_modules/mjml-navbar/package.json +3 -3
  87. package/node_modules/mjml-parser-xml/package.json +4 -4
  88. package/node_modules/mjml-preset-core/package.json +27 -27
  89. package/node_modules/mjml-raw/README.md +18 -20
  90. package/node_modules/mjml-raw/package.json +3 -3
  91. package/node_modules/mjml-section/README.md +51 -52
  92. package/node_modules/mjml-section/package.json +3 -3
  93. package/node_modules/mjml-social/README.md +102 -102
  94. package/node_modules/mjml-social/package.json +3 -3
  95. package/node_modules/mjml-spacer/README.md +15 -17
  96. package/node_modules/mjml-spacer/package.json +3 -3
  97. package/node_modules/mjml-table/README.md +29 -30
  98. package/node_modules/mjml-table/package.json +3 -3
  99. package/node_modules/mjml-text/README.md +42 -44
  100. package/node_modules/mjml-text/package.json +3 -3
  101. package/node_modules/mjml-validator/README.md +12 -12
  102. package/node_modules/mjml-validator/package.json +2 -2
  103. package/node_modules/mjml-wrapper/README.md +42 -44
  104. package/node_modules/mjml-wrapper/lib/index.js +0 -8
  105. package/node_modules/mjml-wrapper/package.json +4 -4
  106. package/package.json +15 -15
  107. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/LICENSE +0 -0
  108. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/README.md +0 -0
  109. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.d.ts +0 -0
  110. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.d.ts.map +0 -0
  111. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.js +0 -0
  112. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.js.map +0 -0
  113. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.min.js +0 -0
  114. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/index.min.js.map +0 -0
  115. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/commonjs/package.json +0 -0
  116. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.d.ts +0 -0
  117. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.d.ts.map +0 -0
  118. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.js +0 -0
  119. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.js.map +0 -0
  120. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.min.js +0 -0
  121. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/index.min.js.map +0 -0
  122. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/dist/esm/package.json +0 -0
  123. /package/node_modules/{lru-cache → path-scurry/node_modules/lru-cache}/package.json +0 -0
  124. /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/.npmignore +0 -0
  125. /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/index.js +0 -0
  126. /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/lib/.gitkeep +0 -0
  127. /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/lib/mappingTable.json +0 -0
  128. /package/node_modules/{node-fetch/node_modules/tr46 → tr46}/package.json +0 -0
  129. /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/LICENSE.md +0 -0
  130. /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/README.md +0 -0
  131. /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/lib/index.js +0 -0
  132. /package/node_modules/{node-fetch/node_modules/webidl-conversions → webidl-conversions}/package.json +0 -0
  133. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/LICENSE.txt +0 -0
  134. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/README.md +0 -0
  135. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/URL-impl.js +0 -0
  136. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/URL.js +0 -0
  137. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/public-api.js +0 -0
  138. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/url-state-machine.js +0 -0
  139. /package/node_modules/{node-fetch/node_modules/whatwg-url → whatwg-url}/lib/utils.js +0 -0
  140. /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: Tue, 11 Nov 2025 23:33:13 GMT
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.1",
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": "bf541e42e173a984f57b649839d3371001c98469b0e8944f7762074aed2acd2f",
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: Tue, 11 Nov 2025 23:33:13 GMT
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.1",
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": "bf541e42e173a984f57b649839d3371001c98469b0e8944f7762074aed2acd2f",
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.17.1",
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.17.1",
31
- "mjml-core": "4.17.1",
32
- "mjml-migrate": "4.17.1",
33
- "mjml-preset-core": "4.17.1",
34
- "mjml-validator": "4.17.1"
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": "3f3b0bcc5f297d9bc84999908c213bc42d9792eb"
44
+ "gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
45
45
  }
@@ -1,15 +1,18 @@
1
- ## mj-accordion
1
+ ### mj-accordion
2
2
 
3
- <p style="text-align: center;" >
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
- `mj-accordion` is an interactive MJML component to stack content in tabs, so the information is collapsed and only the titles are visible. Readers can interact by clicking on the tabs to reveal the content, providing a great experience on mobile devices where space is scarce.
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
- <aside class="notice">
10
- `mj-accordion-text` and `mj-accordion-title` are "ending tags", which means they can contain HTML code which will be left as it is, so they can contain HTML tags with attributes, but they cannot contain other MJML components. More information about ending tags <a href="#ending-tags">in this section</a>.
11
- </aside>
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
- <p style="text-align: center;" >
53
- <a href="https://mjml.io/try-it-live/components/accordion">
54
- <img width="100px" src="https://mjml.io/assets/img/svg/TRYITLIVE.svg" alt="sexy" />
55
- </a>
56
- </p>
57
-
58
- attribute | unit | description | default value
59
- ----------|------|-------------|---------------
60
- border | string | CSS border format | 2px solid black
61
- container-background-color | n/a | background-color of the cell | n/a
62
- css-class | string | class name, added to the root HTML element created | n/a
63
- font-family | n/a | font | Ubuntu, Helvetica, Arial, sans-serif
64
- icon-align | n/a | icon alignment | middle
65
- icon-height | px | icon width | 32px
66
- icon-position | n/a | display icon left or right | right
67
- icon-unwrapped-alt | n/a | alt text when accordion is unwrapped | -
68
- icon-unwrapped-url | n/a | icon when accordion is unwrapped | https://i.imgur.com/w4uTygT.png
69
- icon-width | px | icon height | 32px
70
- icon-wrapped-alt | n/a | alt text when accordion is wrapped | +
71
- icon-wrapped-url | n/a | icon when accordion is wrapped | https://i.imgur.com/bIXv1bk.png
72
- padding | px | padding | 10px 25px
73
- padding-bottom | px | padding bottom | n/a
74
- padding-left | px | padding left | n/a
75
- padding-right | px | padding right | n/a
76
- padding-top | px | padding top | n/a
77
-
78
- ### mj-accordion-element
79
-
80
- Creates an accordion title/text pair.
81
- An accordion can have any number of these pairs.
82
-
83
- <aside class="notice">
84
- Inheritance applies between attributes supported in both `mj-accordion` and
85
- `mj-accordion-element` unless `mj-accordion-element` overrides.
86
- </aside>
87
-
88
- attribute | unit | description | default value
89
- ----------|------|-------------|---------------
90
- background-color | n/a | background color | n/a
91
- border | n/a | border | affects each horizontal border in the accordion except the top one
92
- css-class | string | class name, added to the root HTML element created | n/a
93
- font-family | n/a | font | Ubuntu, Helvetica, Arial, sans-serif
94
- icon-align | n/a | icon alignment | middle
95
- icon-height | n/a | icon width | 32px
96
- icon-position | n/a | display icon left or right | right
97
- icon-unwrapped-alt | n/a | alt text when accordion is unwrapped | -
98
- icon-unwrapped-url | n/a | icon when accordion is unwrapped | https://i.imgur.com/w4uTygT.png
99
- icon-width | n/a | icon height | 32px
100
- icon-wrapped-alt | n/a | alt text when accordion is wrapped | +
101
- icon-wrapped-url | n/a | icon when accordion is wrapped | https://i.imgur.com/bIXv1bk.png
102
-
103
- ### mj-accordion-title
104
-
105
- The title in a title/text pair.
106
-
107
- attribute | unit | description | default value
108
- ----------|------|-------------|---------------
109
- background-color | n/a | background color | n/a
110
- color | n/a | text color | n/a
111
- css-class | string | class name, added to the root HTML element created | n/a
112
- font-family | n/a | font family | Ubuntu, Helvetica, Arial, sans-serif
113
- font-size | px | font size | 13px
114
- font-weight | string | text thickness | n/a
115
- padding | px | padding | 16px
116
- padding-bottom | px | padding bottom | n/a
117
- padding-left | px | padding left | n/a
118
- padding-right | px | padding right | n/a
119
- padding-top | px | padding top | n/a
120
-
121
- ### mj-accordion-text
122
-
123
- The text in a title/text pair.
124
-
125
- attribute | unit | description | default value
126
- ----------|------|-------------|---------------
127
- background-color | n/a | background color | n/a
128
- color | n/a | text color | n/a
129
- css-class | string | class name, added to the root HTML element created | n/a
130
- font-family | n/a | font family | Ubuntu, Helvetica, Arial, sans-serif
131
- font-size | px | font size | 13px
132
- font-weight | string | text thickness | n/a
133
- letter-spacing | px,em | letter spacing | none
134
- line-height | px | space between the lines | 1
135
- padding | px | padding | 16px
136
- padding-bottom | px | padding bottom | n/a
137
- padding-left | px | padding left | n/a
138
- padding-right | px | padding right | n/a
139
- padding-top | px | padding top | n/a
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.17.1",
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.17.1"
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": "3f3b0bcc5f297d9bc84999908c213bc42d9792eb"
32
+ "gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
33
33
  }
@@ -1,4 +1,4 @@
1
- ## mj-body
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
- <p style="text-align: center;" >
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
- <aside class="notice">
20
- mj-body replaces the couple mj-body and mj-container of MJML v3.
21
- </aside>
22
-
23
- attribute | unit | description | default value
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.17.1",
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.17.1"
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": "3f3b0bcc5f297d9bc84999908c213bc42d9792eb"
32
+ "gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
33
33
  }
@@ -1,17 +1,18 @@
1
- ## mj-button
1
+ ### mj-button
2
2
 
3
- <p style="text-align: center;" >
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
- </p>
7
-
8
- Displays a customizable button.
8
+ </figure>
9
9
 
10
- <aside class="notice">
11
- The `mj-button` won't be fully clickable because of client support.
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
- </aside>
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
- <p style="text-align: center;" >
31
- <a href="https://mjml.io/try-it-live/components/button">
32
- <img width="100px" src="https://mjml.io/assets/img/svg/TRYITLIVE.svg" alt="try it live" />
33
- </a>
34
- </p>
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
- <aside class="notice">
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
- attribute | unit | description | default value
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.17.1",
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.17.1"
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": "3f3b0bcc5f297d9bc84999908c213bc42d9792eb"
32
+ "gitHead": "7f4872c48af877d98448335fb9002585cfc8fcbf"
33
33
  }