cloudstructs 0.9.41 → 0.9.43

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 (349) hide show
  1. package/.jsii +5 -5
  2. package/API.md +209 -13
  3. package/assets/slack-textract/detect.lambda/index.js +276 -88
  4. package/lib/codecommit-mirror/index.js +2 -2
  5. package/lib/dmarc/index.js +1 -1
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.js +1 -1
  8. package/lib/mjml-template/index.js +1 -1
  9. package/lib/saml-identity-provider/index.js +2 -2
  10. package/lib/slack-app/manifest.js +1 -1
  11. package/lib/slack-app/slack-app.js +2 -2
  12. package/lib/slack-events/index.js +1 -1
  13. package/lib/slack-textract/index.js +1 -1
  14. package/lib/ssl-server-test/index.js +1 -1
  15. package/lib/state-machine-cr-provider/index.js +1 -1
  16. package/lib/static-website/index.js +1 -1
  17. package/lib/toolkit-cleaner/index.js +1 -1
  18. package/lib/url-shortener/index.js +1 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  20. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +36 -1
  21. package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  22. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +8 -4
  23. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +50 -33
  24. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +3 -2
  25. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +198 -164
  26. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +9 -8
  27. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +39 -21
  28. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +89 -76
  29. package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  30. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +52 -22
  31. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +29 -22
  32. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +82 -50
  33. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +7 -6
  34. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +3 -2
  35. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  36. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +13 -5
  37. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +221 -7
  38. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +2 -2
  39. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +2 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +88 -64
  41. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  42. package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  43. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +34 -10
  44. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +11 -2
  45. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +20 -3
  46. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +24 -3
  47. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +40 -3
  48. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +25 -24
  49. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -0
  50. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  51. package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +5 -15
  52. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +5 -0
  53. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  54. package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  55. package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +82 -21
  56. package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts +21 -0
  57. package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts.map +1 -0
  58. package/node_modules/@slack/types/dist/events/entity-details-requested.js +3 -0
  59. package/node_modules/@slack/types/dist/events/entity-details-requested.js.map +1 -0
  60. package/node_modules/@slack/types/dist/events/index.d.ts +2 -1
  61. package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
  62. package/node_modules/@slack/types/dist/events/index.js.map +1 -1
  63. package/node_modules/@slack/types/dist/message-metadata.d.ts +246 -1
  64. package/node_modules/@slack/types/dist/message-metadata.d.ts.map +1 -1
  65. package/node_modules/@slack/types/dist/message-metadata.js +21 -0
  66. package/node_modules/@slack/types/dist/message-metadata.js.map +1 -1
  67. package/node_modules/@slack/types/package.json +1 -1
  68. package/node_modules/@slack/web-api/dist/methods.d.ts +9 -2
  69. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  70. package/node_modules/@slack/web-api/dist/methods.js +7 -0
  71. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  72. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +37 -9
  73. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  74. package/node_modules/@slack/web-api/dist/types/request/entity.d.ts +46 -0
  75. package/node_modules/@slack/web-api/dist/types/request/entity.d.ts.map +1 -0
  76. package/node_modules/@slack/web-api/dist/types/request/entity.js +3 -0
  77. package/node_modules/@slack/web-api/dist/types/request/entity.js.map +1 -0
  78. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -0
  79. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  80. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +1 -1
  81. package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
  82. package/node_modules/@slack/web-api/dist/types/request/search.d.ts +10 -1
  83. package/node_modules/@slack/web-api/dist/types/request/search.d.ts.map +1 -1
  84. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts +9 -0
  85. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts.map +1 -0
  86. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js +11 -0
  87. package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js.map +1 -0
  88. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
  89. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  90. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  91. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +36 -1
  92. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  93. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +8 -4
  94. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +50 -33
  95. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +3 -2
  96. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +198 -164
  97. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +9 -8
  98. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +39 -21
  99. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +89 -76
  100. package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  101. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +52 -22
  102. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +29 -22
  103. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +82 -50
  104. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +7 -6
  105. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +3 -2
  106. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  107. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +13 -5
  108. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +221 -7
  109. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +2 -2
  110. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +2 -2
  111. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +88 -64
  112. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  113. package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  114. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +34 -10
  115. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +11 -2
  116. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +20 -3
  117. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +24 -3
  118. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +40 -3
  119. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +25 -24
  120. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -0
  121. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  122. package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +5 -15
  123. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +5 -0
  124. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  125. package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  126. package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +82 -21
  127. package/node_modules/@slack/web-api/package.json +2 -2
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +36 -1
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +8 -4
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +50 -33
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +3 -2
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +198 -164
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +9 -8
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +39 -21
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +89 -76
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +52 -22
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +29 -22
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +82 -50
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +7 -6
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -2
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +13 -5
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +221 -7
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +2 -2
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +2 -2
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +88 -64
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +34 -10
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +11 -2
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +20 -3
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +24 -3
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +40 -3
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +25 -24
  158. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -0
  159. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  160. package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +5 -15
  161. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +5 -0
  162. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  163. package/node_modules/@types/cacheable-request/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  164. package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +82 -21
  165. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  166. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +36 -1
  167. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  168. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +8 -4
  169. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +50 -33
  170. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +3 -2
  171. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +198 -164
  172. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +9 -8
  173. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +39 -21
  174. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +89 -76
  175. package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  176. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +52 -22
  177. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +29 -22
  178. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +82 -50
  179. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +7 -6
  180. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -2
  181. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  182. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +13 -5
  183. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +221 -7
  184. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +2 -2
  185. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +2 -2
  186. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +88 -64
  187. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  188. package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  189. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +34 -10
  190. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +11 -2
  191. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +20 -3
  192. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +24 -3
  193. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +40 -3
  194. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +25 -24
  195. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -0
  196. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  197. package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +5 -15
  198. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
  199. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  200. package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  201. package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +82 -21
  202. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  203. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +36 -1
  204. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  205. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +8 -4
  206. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +50 -33
  207. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +3 -2
  208. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +198 -164
  209. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +9 -8
  210. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +39 -21
  211. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +89 -76
  212. package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +19 -0
  213. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +52 -22
  214. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +29 -22
  215. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +82 -50
  216. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +7 -6
  217. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -2
  218. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  219. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +13 -5
  220. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +221 -7
  221. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +2 -2
  222. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +2 -2
  223. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +88 -64
  224. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  225. package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
  226. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +34 -10
  227. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +11 -2
  228. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +20 -3
  229. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +24 -3
  230. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +40 -3
  231. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +25 -24
  232. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -0
  233. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
  234. package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +5 -15
  235. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
  236. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  237. package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +5 -3
  238. package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +82 -21
  239. package/node_modules/axios/CHANGELOG.md +410 -346
  240. package/node_modules/axios/README.md +79 -51
  241. package/node_modules/axios/dist/axios.js +121 -46
  242. package/node_modules/axios/dist/axios.js.map +1 -1
  243. package/node_modules/axios/dist/axios.min.js +2 -2
  244. package/node_modules/axios/dist/axios.min.js.map +1 -1
  245. package/node_modules/axios/dist/browser/axios.cjs +126 -57
  246. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  247. package/node_modules/axios/dist/esm/axios.js +126 -57
  248. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  249. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  250. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  251. package/node_modules/axios/dist/node/axios.cjs +351 -97
  252. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  253. package/node_modules/axios/index.d.cts +4 -0
  254. package/node_modules/axios/index.d.ts +4 -0
  255. package/node_modules/axios/lib/adapters/adapters.js +85 -40
  256. package/node_modules/axios/lib/adapters/fetch.js +1 -1
  257. package/node_modules/axios/lib/adapters/http.js +224 -42
  258. package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
  259. package/node_modules/axios/lib/core/mergeConfig.js +4 -4
  260. package/node_modules/axios/lib/env/data.js +1 -1
  261. package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
  262. package/node_modules/axios/lib/helpers/bind.js +7 -0
  263. package/node_modules/axios/lib/helpers/cookies.js +24 -13
  264. package/node_modules/axios/package.json +9 -4
  265. package/node_modules/mjml/LICENSE.md +21 -0
  266. package/node_modules/mjml/package.json +9 -8
  267. package/node_modules/mjml-accordion/LICENSE.md +21 -0
  268. package/node_modules/mjml-accordion/README.md +2 -2
  269. package/node_modules/mjml-accordion/lib/Accordion.js +8 -0
  270. package/node_modules/mjml-accordion/lib/AccordionElement.js +8 -0
  271. package/node_modules/mjml-accordion/lib/AccordionText.js +17 -3
  272. package/node_modules/mjml-accordion/lib/AccordionTitle.js +17 -3
  273. package/node_modules/mjml-accordion/package.json +4 -3
  274. package/node_modules/mjml-body/LICENSE.md +21 -0
  275. package/node_modules/mjml-body/package.json +4 -3
  276. package/node_modules/mjml-button/LICENSE.md +21 -0
  277. package/node_modules/mjml-button/README.md +1 -1
  278. package/node_modules/mjml-button/package.json +4 -3
  279. package/node_modules/mjml-carousel/LICENSE.md +21 -0
  280. package/node_modules/mjml-carousel/README.md +5 -5
  281. package/node_modules/mjml-carousel/lib/Carousel.js +15 -2
  282. package/node_modules/mjml-carousel/lib/CarouselImage.js +8 -1
  283. package/node_modules/mjml-carousel/package.json +4 -3
  284. package/node_modules/mjml-cli/LICENSE.md +21 -0
  285. package/node_modules/mjml-cli/package.json +7 -6
  286. package/node_modules/mjml-column/LICENSE.md +21 -0
  287. package/node_modules/mjml-column/lib/index.js +29 -3
  288. package/node_modules/mjml-column/package.json +4 -3
  289. package/node_modules/mjml-core/LICENSE.md +21 -0
  290. package/node_modules/mjml-core/lib/createComponent.js +4 -2
  291. package/node_modules/mjml-core/lib/index.js +3 -0
  292. package/node_modules/mjml-core/package.json +6 -5
  293. package/node_modules/mjml-divider/LICENSE.md +21 -0
  294. package/node_modules/mjml-divider/package.json +4 -3
  295. package/node_modules/mjml-group/LICENSE.md +21 -0
  296. package/node_modules/mjml-group/README.md +4 -4
  297. package/node_modules/mjml-group/package.json +4 -3
  298. package/node_modules/mjml-head/LICENSE.md +21 -0
  299. package/node_modules/mjml-head/package.json +4 -3
  300. package/node_modules/mjml-head-attributes/LICENSE.md +21 -0
  301. package/node_modules/mjml-head-attributes/package.json +4 -3
  302. package/node_modules/mjml-head-breakpoint/LICENSE.md +21 -0
  303. package/node_modules/mjml-head-breakpoint/package.json +4 -3
  304. package/node_modules/mjml-head-font/LICENSE.md +21 -0
  305. package/node_modules/mjml-head-font/package.json +4 -3
  306. package/node_modules/mjml-head-html-attributes/LICENSE.md +21 -0
  307. package/node_modules/mjml-head-html-attributes/package.json +4 -3
  308. package/node_modules/mjml-head-preview/LICENSE.md +21 -0
  309. package/node_modules/mjml-head-preview/package.json +4 -3
  310. package/node_modules/mjml-head-style/LICENSE.md +21 -0
  311. package/node_modules/mjml-head-style/package.json +4 -3
  312. package/node_modules/mjml-head-title/LICENSE.md +21 -0
  313. package/node_modules/mjml-head-title/package.json +4 -3
  314. package/node_modules/mjml-hero/LICENSE.md +21 -0
  315. package/node_modules/mjml-hero/README.md +4 -4
  316. package/node_modules/mjml-hero/package.json +4 -3
  317. package/node_modules/mjml-image/LICENSE.md +21 -0
  318. package/node_modules/mjml-image/README.md +1 -1
  319. package/node_modules/mjml-image/package.json +4 -3
  320. package/node_modules/mjml-migrate/package.json +5 -4
  321. package/node_modules/mjml-navbar/LICENSE.md +21 -0
  322. package/node_modules/mjml-navbar/README.md +4 -4
  323. package/node_modules/mjml-navbar/lib/Navbar.js +2 -2
  324. package/node_modules/mjml-navbar/package.json +4 -3
  325. package/node_modules/mjml-parser-xml/package.json +4 -4
  326. package/node_modules/mjml-preset-core/LICENSE.md +21 -0
  327. package/node_modules/mjml-preset-core/package.json +28 -27
  328. package/node_modules/mjml-raw/LICENSE.md +21 -0
  329. package/node_modules/mjml-raw/package.json +4 -3
  330. package/node_modules/mjml-section/LICENSE.md +21 -0
  331. package/node_modules/mjml-section/lib/index.js +20 -4
  332. package/node_modules/mjml-section/package.json +4 -3
  333. package/node_modules/mjml-social/LICENSE.md +21 -0
  334. package/node_modules/mjml-social/README.md +1 -1
  335. package/node_modules/mjml-social/lib/SocialElement.js +3 -4
  336. package/node_modules/mjml-social/package.json +4 -3
  337. package/node_modules/mjml-spacer/LICENSE.md +21 -0
  338. package/node_modules/mjml-spacer/package.json +4 -3
  339. package/node_modules/mjml-table/LICENSE.md +21 -0
  340. package/node_modules/mjml-table/lib/index.js +12 -1
  341. package/node_modules/mjml-table/package.json +4 -3
  342. package/node_modules/mjml-text/LICENSE.md +21 -0
  343. package/node_modules/mjml-text/package.json +4 -3
  344. package/node_modules/mjml-validator/package.json +2 -2
  345. package/node_modules/mjml-wrapper/LICENSE.md +21 -0
  346. package/node_modules/mjml-wrapper/README.md +2 -1
  347. package/node_modules/mjml-wrapper/lib/index.js +11 -0
  348. package/node_modules/mjml-wrapper/package.json +5 -4
  349. package/package.json +19 -19
@@ -5,27 +5,38 @@ export default platform.hasStandardBrowserEnv ?
5
5
 
6
6
  // Standard browser envs support document.cookie
7
7
  {
8
- write(name, value, expires, path, domain, secure) {
9
- const cookie = [name + '=' + encodeURIComponent(value)];
10
-
11
- utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
12
-
13
- utils.isString(path) && cookie.push('path=' + path);
14
-
15
- utils.isString(domain) && cookie.push('domain=' + domain);
16
-
17
- secure === true && cookie.push('secure');
8
+ write(name, value, expires, path, domain, secure, sameSite) {
9
+ if (typeof document === 'undefined') return;
10
+
11
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
12
+
13
+ if (utils.isNumber(expires)) {
14
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
15
+ }
16
+ if (utils.isString(path)) {
17
+ cookie.push(`path=${path}`);
18
+ }
19
+ if (utils.isString(domain)) {
20
+ cookie.push(`domain=${domain}`);
21
+ }
22
+ if (secure === true) {
23
+ cookie.push('secure');
24
+ }
25
+ if (utils.isString(sameSite)) {
26
+ cookie.push(`SameSite=${sameSite}`);
27
+ }
18
28
 
19
29
  document.cookie = cookie.join('; ');
20
30
  },
21
31
 
22
32
  read(name) {
23
- const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
24
- return (match ? decodeURIComponent(match[3]) : null);
33
+ if (typeof document === 'undefined') return null;
34
+ const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
35
+ return match ? decodeURIComponent(match[1]) : null;
25
36
  },
26
37
 
27
38
  remove(name) {
28
- this.write(name, '', Date.now() - 86400000);
39
+ this.write(name, '', Date.now() - 86400000, '/');
29
40
  }
30
41
  }
31
42
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios",
3
- "version": "1.12.2",
3
+ "version": "1.13.2",
4
4
  "description": "Promise based HTTP client for the browser and node.js",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -80,7 +80,12 @@
80
80
  "http",
81
81
  "ajax",
82
82
  "promise",
83
- "node"
83
+ "node",
84
+ "browser",
85
+ "fetch",
86
+ "rest",
87
+ "api",
88
+ "client"
84
89
  ],
85
90
  "author": "Matt Zabriskie",
86
91
  "license": "MIT",
@@ -141,11 +146,11 @@
141
146
  "rollup-plugin-auto-external": "^2.0.0",
142
147
  "rollup-plugin-bundle-size": "^1.0.3",
143
148
  "rollup-plugin-terser": "^7.0.2",
149
+ "selfsigned": "^3.0.1",
144
150
  "sinon": "^4.5.0",
145
151
  "stream-throttle": "^0.1.3",
146
152
  "string-replace-async": "^3.0.2",
147
153
  "tar-stream": "^3.1.7",
148
- "terser-webpack-plugin": "^4.2.3",
149
154
  "typescript": "^4.9.5"
150
155
  },
151
156
  "browser": {
@@ -185,7 +190,7 @@
185
190
  "Remco Haszing (https://github.com/remcohaszing)",
186
191
  "Rikki Gibson (https://github.com/RikkiGibson)",
187
192
  "Willian Agostini (https://github.com/WillianAgostini)",
188
- "Yasu Flores (https://github.com/yasuf)"
193
+ "Ben Carp (https://github.com/carpben)"
189
194
  ],
190
195
  "sideEffects": false,
191
196
  "release-it": {
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -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.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
7
7
  "mjml": "bin/mjml"
@@ -23,15 +23,15 @@
23
23
  "scripts": {
24
24
  "clean": "rimraf lib",
25
25
  "build": "babel src --out-dir lib --root-mode upward",
26
- "test": "node ./test/index.js"
26
+ "test": "mocha ./test/*.test.js"
27
27
  },
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.28.4",
30
- "mjml-cli": "4.16.1",
31
- "mjml-core": "4.16.1",
32
- "mjml-migrate": "4.16.1",
33
- "mjml-preset-core": "4.16.1",
34
- "mjml-validator": "4.16.1"
30
+ "mjml-cli": "4.17.0",
31
+ "mjml-core": "4.17.0",
32
+ "mjml-migrate": "4.17.0",
33
+ "mjml-preset-core": "4.17.0",
34
+ "mjml-validator": "4.17.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@babel/cli": "^7.8.4",
@@ -40,5 +40,6 @@
40
40
  "cheerio": "1.0.0-rc.12",
41
41
  "lodash": "^4.17.21",
42
42
  "rimraf": "^3.0.2"
43
- }
43
+ },
44
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
44
45
  }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  ## mj-accordion
2
2
 
3
3
  <p style="text-align: center;" >
4
- <img src="https://i.imgur.com/C4S9MVc.gif" alt="accordion" />
4
+ <img src="https://static.mailjet.com/mjml-website/documentation/accordion-example.gif" alt="accordion" />
5
5
  </p>
6
6
 
7
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.
@@ -16,7 +16,7 @@
16
16
  <mj-head>
17
17
  <mj-attributes>
18
18
  <mj-accordion border="none" padding="1px" />
19
- <mj-accordion-element icon-wrapped-url="https://i.imgur.com/Xvw0vjq.png" icon-unwrapped-url="https://i.imgur.com/KKHenWa.png" icon-height="24px" icon-width="24px" />
19
+ <mj-accordion-element icon-wrapped-url="https://static.mailjet.com/mjml-website/documentation/accordion-arrow-down.png" icon-unwrapped-url="https://static.mailjet.com/mjml-website/documentation/accordion-arrow-up.png" icon-height="24px" icon-width="24px" />
20
20
  <mj-accordion-title font-family="Roboto, Open Sans, Helvetica, Arial, sans-serif" background-color="#fff" color="#031017" padding="15px" font-size="18px" />
21
21
  <mj-accordion-text font-family="Open Sans, Helvetica, Arial, sans-serif" background-color="#fafafa" padding="15px" color="#505050" font-size="14px" />
22
22
  </mj-attributes>
@@ -52,6 +52,14 @@ let MjAccordion = exports.default = /*#__PURE__*/function (_BodyComponent) {
52
52
  }
53
53
  };
54
54
  }
55
+ }, {
56
+ key: "getChildContext",
57
+ value: function getChildContext() {
58
+ return {
59
+ ...this.context,
60
+ accordionFontFamily: this.getAttribute('font-family')
61
+ };
62
+ }
55
63
  }, {
56
64
  key: "render",
57
65
  value: function render() {
@@ -70,6 +70,14 @@ let MjAccordionElement = exports.default = /*#__PURE__*/function (_BodyComponent
70
70
  }
71
71
  return result.join('\n');
72
72
  }
73
+ }, {
74
+ key: "getChildContext",
75
+ value: function getChildContext() {
76
+ return {
77
+ ...this.context,
78
+ elementFontFamily: this.getAttribute('font-family')
79
+ };
80
+ }
73
81
  }, {
74
82
  key: "render",
75
83
  value: function render() {
@@ -24,16 +24,16 @@ let MjAccordionText = exports.default = /*#__PURE__*/function (_BodyComponent) {
24
24
  td: {
25
25
  background: this.getAttribute('background-color'),
26
26
  'font-size': this.getAttribute('font-size'),
27
- 'font-family': this.getAttribute('font-family'),
27
+ 'font-family': this.resolveFontFamily(),
28
28
  'font-weight': this.getAttribute('font-weight'),
29
29
  'letter-spacing': this.getAttribute('letter-spacing'),
30
30
  'line-height': this.getAttribute('line-height'),
31
31
  color: this.getAttribute('color'),
32
+ padding: this.getAttribute('padding'),
32
33
  'padding-bottom': this.getAttribute('padding-bottom'),
33
34
  'padding-left': this.getAttribute('padding-left'),
34
35
  'padding-right': this.getAttribute('padding-right'),
35
- 'padding-top': this.getAttribute('padding-top'),
36
- padding: this.getAttribute('padding')
36
+ 'padding-top': this.getAttribute('padding-top')
37
37
  },
38
38
  table: {
39
39
  width: '100%',
@@ -55,6 +55,20 @@ let MjAccordionText = exports.default = /*#__PURE__*/function (_BodyComponent) {
55
55
  </td>
56
56
  `;
57
57
  }
58
+ }, {
59
+ key: "resolveFontFamily",
60
+ value: function resolveFontFamily() {
61
+ if (this.props && this.props.rawAttrs && Object.prototype.hasOwnProperty.call(this.props.rawAttrs, 'font-family')) {
62
+ return this.getAttribute('font-family');
63
+ }
64
+ if (this.context && this.context.elementFontFamily) {
65
+ return this.context.elementFontFamily;
66
+ }
67
+ if (this.context && this.context.accordionFontFamily) {
68
+ return this.context.accordionFontFamily;
69
+ }
70
+ return MjAccordionText.defaultAttributes.fontFamily;
71
+ }
58
72
  }, {
59
73
  key: "render",
60
74
  value: function render() {
@@ -27,13 +27,13 @@ let MjAccordionTitle = exports.default = /*#__PURE__*/function (_BodyComponent)
27
27
  'background-color': this.getAttribute('background-color'),
28
28
  color: this.getAttribute('color'),
29
29
  'font-size': this.getAttribute('font-size'),
30
- 'font-family': this.getAttribute('font-family'),
30
+ 'font-family': this.resolveFontFamily(),
31
31
  'font-weight': this.getAttribute('font-weight'),
32
+ padding: this.getAttribute('padding'),
32
33
  'padding-bottom': this.getAttribute('padding-bottom'),
33
34
  'padding-left': this.getAttribute('padding-left'),
34
35
  'padding-right': this.getAttribute('padding-right'),
35
- 'padding-top': this.getAttribute('padding-top'),
36
- padding: this.getAttribute('padding')
36
+ 'padding-top': this.getAttribute('padding-top')
37
37
  },
38
38
  table: {
39
39
  width: '100%',
@@ -51,6 +51,20 @@ let MjAccordionTitle = exports.default = /*#__PURE__*/function (_BodyComponent)
51
51
  }
52
52
  };
53
53
  }
54
+ }, {
55
+ key: "resolveFontFamily",
56
+ value: function resolveFontFamily() {
57
+ if (this.props && this.props.rawAttrs && Object.prototype.hasOwnProperty.call(this.props.rawAttrs, 'font-family')) {
58
+ return this.getAttribute('font-family');
59
+ }
60
+ if (this.context && this.context.elementFontFamily) {
61
+ return this.context.elementFontFamily;
62
+ }
63
+ if (this.context && this.context.accordionFontFamily) {
64
+ return this.context.accordionFontFamily;
65
+ }
66
+ return MjAccordionTitle.defaultAttributes.fontFamily;
67
+ }
54
68
  }, {
55
69
  key: "renderTitle",
56
70
  value: function renderTitle() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjml-accordion",
3
3
  "description": "mjml-accordion",
4
- "version": "4.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
7
  "lib"
@@ -23,10 +23,11 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.28.4",
25
25
  "lodash": "^4.17.21",
26
- "mjml-core": "4.16.1"
26
+ "mjml-core": "4.17.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/cli": "^7.8.4",
30
30
  "rimraf": "^3.0.2"
31
- }
31
+ },
32
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
32
33
  }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjml-body",
3
3
  "description": "mjml-body",
4
- "version": "4.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
7
  "lib"
@@ -23,10 +23,11 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.28.4",
25
25
  "lodash": "^4.17.21",
26
- "mjml-core": "4.16.1"
26
+ "mjml-core": "4.17.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/cli": "^7.8.4",
30
30
  "rimraf": "^3.0.2"
31
- }
31
+ },
32
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
32
33
  }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  ## mj-button
2
2
 
3
3
  <p style="text-align: center;" >
4
- <img src="https://cloud.githubusercontent.com/assets/6558790/12751346/fd993192-c9bc-11e5-8c91-37d616bf5874.png"
4
+ <img src="https://static.mailjet.com/mjml-website/documentation/button-example.png"
5
5
  alt="desktop" width="150px" />
6
6
  </p>
7
7
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjml-button",
3
3
  "description": "mjml-button",
4
- "version": "4.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
7
  "lib"
@@ -23,10 +23,11 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.28.4",
25
25
  "lodash": "^4.17.21",
26
- "mjml-core": "4.16.1"
26
+ "mjml-core": "4.17.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/cli": "^7.8.4",
30
30
  "rimraf": "^3.0.2"
31
- }
31
+ },
32
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
32
33
  }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  ## mj-carousel
2
2
 
3
3
  <p style="text-align: center;" >
4
- <img src="https://i.imgur.com/wHqIzgd.gif" alt="desktop" />
4
+ <img src="https://static.mailjet.com/mjml-website/documentation/carousel-example.gif" alt="desktop" />
5
5
  </p>
6
6
 
7
7
  `mj-carousel` displays a gallery of images or "carousel". Readers can interact by hovering and clicking on thumbnails depending on the email client they use.
@@ -14,9 +14,9 @@ This component enables you to set the styles of the carousel elements.
14
14
  <mj-section>
15
15
  <mj-column>
16
16
  <mj-carousel>
17
- <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/11/ecommerce-guide.jpg" />
18
- <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/3@1x.png" />
19
- <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/1@1x.png" />
17
+ <mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-1.jpg" />
18
+ <mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-2.jpg" />
19
+ <mj-carousel-image src="https://static.mailjet.com/mjml-website/documentation/carousel-3.jpg" />
20
20
  </mj-carousel>
21
21
  </mj-column>
22
22
  </mj-section>
@@ -49,7 +49,7 @@ tb-border-radius | px | border-radius of the thumbnails | none
49
49
  tb-hover-border-color | string | css border color of the hovered thumbnail | none
50
50
  tb-selected-border-color | string | css border color of the selected thumbnail | none
51
51
  tb-width | px | thumbnail width | null
52
- thumbnails | String | display or not the thumbnails (visible | hidden)
52
+ thumbnails | String | visible / hidden / supported ('supported' shows only for clients that support full carousel functionality) | visible
53
53
 
54
54
  ### mj-carousel-image
55
55
 
@@ -73,6 +73,11 @@ let MjCarousel = exports.default = /*#__PURE__*/function (_BodyComponent) {
73
73
  border-color: ${_this.getAttribute('tb-selected-border-color')} !important;
74
74
  }
75
75
 
76
+ ${(0, _range2.default)(0, length).map(i => `.mj-carousel-${carouselId}-radio-${i + 1}:checked ${(0, _repeat2.default)('+ * ', length - i - 1)}+ .mj-carousel-content .mj-carousel-${carouselId}-thumbnail
77
+ `).join(',')} {
78
+ display: inline-block !important;
79
+ }
80
+
76
81
  .mj-carousel-image img + div,
77
82
  .mj-carousel-thumbnail img + div {
78
83
  display: none !important;
@@ -183,7 +188,7 @@ let MjCarousel = exports.default = /*#__PURE__*/function (_BodyComponent) {
183
188
  }, {
184
189
  key: "generateThumbnails",
185
190
  value: function generateThumbnails() {
186
- if (this.getAttribute('thumbnails') !== 'visible') return '';
191
+ if (!['visible', 'supported'].includes(this.getAttribute('thumbnails'))) return '';
187
192
  return this.renderChildren(this.props.children, {
188
193
  attributes: {
189
194
  'tb-border': this.getAttribute('tb-border'),
@@ -293,6 +298,14 @@ let MjCarousel = exports.default = /*#__PURE__*/function (_BodyComponent) {
293
298
  }
294
299
  }));
295
300
  }
301
+ }, {
302
+ key: "getChildContext",
303
+ value: function getChildContext() {
304
+ return {
305
+ ...this.context,
306
+ thumbnails: this.getAttribute('thumbnails')
307
+ };
308
+ }
296
309
  }, {
297
310
  key: "render",
298
311
  value: function render() {
@@ -333,7 +346,7 @@ let MjCarousel = exports.default = /*#__PURE__*/function (_BodyComponent) {
333
346
  'padding-left': 'unit(px,%)',
334
347
  'padding-right': 'unit(px,%)',
335
348
  'right-icon': 'string',
336
- thumbnails: 'enum(visible,hidden)',
349
+ thumbnails: 'enum(visible,hidden,supported)',
337
350
  'tb-border': 'string',
338
351
  'tb-border-radius': 'unit(px,%)',
339
352
  'tb-hover-border-color': 'color',
@@ -20,6 +20,7 @@ let MjCarouselImage = exports.default = /*#__PURE__*/function (_BodyComponent) {
20
20
  return (0, _createClass2.default)(MjCarouselImage, [{
21
21
  key: "getStyles",
22
22
  value: function getStyles() {
23
+ const hasThumbnailsSupported = this.hasThumbnailsSupported();
23
24
  return {
24
25
  images: {
25
26
  img: {
@@ -45,7 +46,7 @@ let MjCarouselImage = exports.default = /*#__PURE__*/function (_BodyComponent) {
45
46
  a: {
46
47
  border: this.getAttribute('tb-border'),
47
48
  'border-radius': this.getAttribute('tb-border-radius'),
48
- display: 'inline-block',
49
+ display: hasThumbnailsSupported ? 'none' : 'inline-block',
49
50
  overflow: 'hidden',
50
51
  width: this.getAttribute('tb-width')
51
52
  },
@@ -57,6 +58,12 @@ let MjCarouselImage = exports.default = /*#__PURE__*/function (_BodyComponent) {
57
58
  }
58
59
  };
59
60
  }
61
+ }, {
62
+ key: "hasThumbnailsSupported",
63
+ value: function hasThumbnailsSupported() {
64
+ const thumbnails = this.getAttribute('thumbnails') || this.context.thumbnails;
65
+ return thumbnails === 'supported';
66
+ }
60
67
  }, {
61
68
  key: "renderThumbnail",
62
69
  value: function renderThumbnail() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjml-carousel",
3
3
  "description": "mjml-carousel",
4
- "version": "4.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
7
  "lib"
@@ -23,10 +23,11 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.28.4",
25
25
  "lodash": "^4.17.21",
26
- "mjml-core": "4.16.1"
26
+ "mjml-core": "4.17.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/cli": "^7.8.4",
30
30
  "rimraf": "^3.0.2"
31
- }
31
+ },
32
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
32
33
  }
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Mailjet SAS, https://mjml.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjml-cli",
3
3
  "description": "MJML: the only framework that makes responsive-email easy",
4
- "version": "4.16.1",
4
+ "version": "4.17.0",
5
5
  "main": "bin/mjml",
6
6
  "bin": {
7
7
  "mjml-cli": "bin/mjml"
@@ -32,14 +32,15 @@
32
32
  "js-beautify": "^1.6.14",
33
33
  "lodash": "^4.17.21",
34
34
  "minimatch": "^9.0.3",
35
- "mjml-core": "4.16.1",
36
- "mjml-migrate": "4.16.1",
37
- "mjml-parser-xml": "4.16.1",
38
- "mjml-validator": "4.16.1",
35
+ "mjml-core": "4.17.0",
36
+ "mjml-migrate": "4.17.0",
37
+ "mjml-parser-xml": "4.17.0",
38
+ "mjml-validator": "4.17.0",
39
39
  "yargs": "^17.7.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/cli": "^7.8.4",
43
43
  "rimraf": "^3.0.2"
44
- }
44
+ },
45
+ "gitHead": "375c593ce24485867db35a26218e9d89d4f386cc"
45
46
  }