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.
- package/.jsii +5 -5
- package/API.md +209 -13
- package/assets/slack-textract/detect.lambda/index.js +276 -88
- 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/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/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +36 -1
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@slack/logger/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@slack/logger/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@slack/logger/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@slack/logger/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts +21 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.js +3 -0
- package/node_modules/@slack/types/dist/events/entity-details-requested.js.map +1 -0
- package/node_modules/@slack/types/dist/events/index.d.ts +2 -1
- package/node_modules/@slack/types/dist/events/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/index.js.map +1 -1
- package/node_modules/@slack/types/dist/message-metadata.d.ts +246 -1
- package/node_modules/@slack/types/dist/message-metadata.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/message-metadata.js +21 -0
- package/node_modules/@slack/types/dist/message-metadata.js.map +1 -1
- package/node_modules/@slack/types/package.json +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +9 -2
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +7 -0
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +37 -9
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/entity.d.ts +46 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.js +3 -0
- package/node_modules/@slack/web-api/dist/types/request/entity.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/manifest.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts +10 -1
- package/node_modules/@slack/web-api/dist/types/request/search.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts +9 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/EntityPresentDetailsResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +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/assert.d.ts +36 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@slack/web-api/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@slack/web-api/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@slack/web-api/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +36 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/cacheable-request/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +36 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/keyv/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/keyv/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/keyv/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/keyv/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +36 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +9 -0
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +8 -4
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +50 -33
- package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +3 -2
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +198 -164
- package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +9 -8
- package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +39 -21
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +89 -76
- package/node_modules/@types/responselike/node_modules/@types/node/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +52 -22
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +29 -22
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +82 -50
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +7 -6
- package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +3 -2
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +13 -5
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +221 -7
- package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +88 -64
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
- package/node_modules/@types/responselike/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +34 -10
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +11 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +20 -3
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +24 -3
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +40 -3
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +25 -24
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/@types/responselike/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/snapshot-agent.d.ts +5 -3
- package/node_modules/@types/responselike/node_modules/undici-types/webidl.d.ts +82 -21
- package/node_modules/axios/CHANGELOG.md +410 -346
- package/node_modules/axios/README.md +79 -51
- package/node_modules/axios/dist/axios.js +121 -46
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +126 -57
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +126 -57
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +351 -97
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +4 -0
- package/node_modules/axios/index.d.ts +4 -0
- package/node_modules/axios/lib/adapters/adapters.js +85 -40
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +224 -42
- package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +4 -4
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
- package/node_modules/axios/lib/helpers/bind.js +7 -0
- package/node_modules/axios/lib/helpers/cookies.js +24 -13
- package/node_modules/axios/package.json +9 -4
- package/node_modules/mjml/LICENSE.md +21 -0
- package/node_modules/mjml/package.json +9 -8
- package/node_modules/mjml-accordion/LICENSE.md +21 -0
- package/node_modules/mjml-accordion/README.md +2 -2
- package/node_modules/mjml-accordion/lib/Accordion.js +8 -0
- package/node_modules/mjml-accordion/lib/AccordionElement.js +8 -0
- package/node_modules/mjml-accordion/lib/AccordionText.js +17 -3
- package/node_modules/mjml-accordion/lib/AccordionTitle.js +17 -3
- package/node_modules/mjml-accordion/package.json +4 -3
- package/node_modules/mjml-body/LICENSE.md +21 -0
- package/node_modules/mjml-body/package.json +4 -3
- package/node_modules/mjml-button/LICENSE.md +21 -0
- package/node_modules/mjml-button/README.md +1 -1
- package/node_modules/mjml-button/package.json +4 -3
- package/node_modules/mjml-carousel/LICENSE.md +21 -0
- package/node_modules/mjml-carousel/README.md +5 -5
- package/node_modules/mjml-carousel/lib/Carousel.js +15 -2
- package/node_modules/mjml-carousel/lib/CarouselImage.js +8 -1
- package/node_modules/mjml-carousel/package.json +4 -3
- package/node_modules/mjml-cli/LICENSE.md +21 -0
- package/node_modules/mjml-cli/package.json +7 -6
- package/node_modules/mjml-column/LICENSE.md +21 -0
- package/node_modules/mjml-column/lib/index.js +29 -3
- package/node_modules/mjml-column/package.json +4 -3
- package/node_modules/mjml-core/LICENSE.md +21 -0
- package/node_modules/mjml-core/lib/createComponent.js +4 -2
- package/node_modules/mjml-core/lib/index.js +3 -0
- package/node_modules/mjml-core/package.json +6 -5
- package/node_modules/mjml-divider/LICENSE.md +21 -0
- package/node_modules/mjml-divider/package.json +4 -3
- package/node_modules/mjml-group/LICENSE.md +21 -0
- package/node_modules/mjml-group/README.md +4 -4
- package/node_modules/mjml-group/package.json +4 -3
- package/node_modules/mjml-head/LICENSE.md +21 -0
- package/node_modules/mjml-head/package.json +4 -3
- package/node_modules/mjml-head-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-attributes/package.json +4 -3
- package/node_modules/mjml-head-breakpoint/LICENSE.md +21 -0
- package/node_modules/mjml-head-breakpoint/package.json +4 -3
- package/node_modules/mjml-head-font/LICENSE.md +21 -0
- package/node_modules/mjml-head-font/package.json +4 -3
- package/node_modules/mjml-head-html-attributes/LICENSE.md +21 -0
- package/node_modules/mjml-head-html-attributes/package.json +4 -3
- package/node_modules/mjml-head-preview/LICENSE.md +21 -0
- package/node_modules/mjml-head-preview/package.json +4 -3
- package/node_modules/mjml-head-style/LICENSE.md +21 -0
- package/node_modules/mjml-head-style/package.json +4 -3
- package/node_modules/mjml-head-title/LICENSE.md +21 -0
- package/node_modules/mjml-head-title/package.json +4 -3
- package/node_modules/mjml-hero/LICENSE.md +21 -0
- package/node_modules/mjml-hero/README.md +4 -4
- package/node_modules/mjml-hero/package.json +4 -3
- package/node_modules/mjml-image/LICENSE.md +21 -0
- package/node_modules/mjml-image/README.md +1 -1
- package/node_modules/mjml-image/package.json +4 -3
- package/node_modules/mjml-migrate/package.json +5 -4
- package/node_modules/mjml-navbar/LICENSE.md +21 -0
- package/node_modules/mjml-navbar/README.md +4 -4
- package/node_modules/mjml-navbar/lib/Navbar.js +2 -2
- package/node_modules/mjml-navbar/package.json +4 -3
- package/node_modules/mjml-parser-xml/package.json +4 -4
- package/node_modules/mjml-preset-core/LICENSE.md +21 -0
- package/node_modules/mjml-preset-core/package.json +28 -27
- package/node_modules/mjml-raw/LICENSE.md +21 -0
- package/node_modules/mjml-raw/package.json +4 -3
- package/node_modules/mjml-section/LICENSE.md +21 -0
- package/node_modules/mjml-section/lib/index.js +20 -4
- package/node_modules/mjml-section/package.json +4 -3
- package/node_modules/mjml-social/LICENSE.md +21 -0
- package/node_modules/mjml-social/README.md +1 -1
- package/node_modules/mjml-social/lib/SocialElement.js +3 -4
- package/node_modules/mjml-social/package.json +4 -3
- package/node_modules/mjml-spacer/LICENSE.md +21 -0
- package/node_modules/mjml-spacer/package.json +4 -3
- package/node_modules/mjml-table/LICENSE.md +21 -0
- package/node_modules/mjml-table/lib/index.js +12 -1
- package/node_modules/mjml-table/package.json +4 -3
- package/node_modules/mjml-text/LICENSE.md +21 -0
- package/node_modules/mjml-text/package.json +4 -3
- package/node_modules/mjml-validator/package.json +2 -2
- package/node_modules/mjml-wrapper/LICENSE.md +21 -0
- package/node_modules/mjml-wrapper/README.md +2 -1
- package/node_modules/mjml-wrapper/lib/index.js +11 -0
- package/node_modules/mjml-wrapper/package.json +5 -4
- 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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
utils.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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.
|
|
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
|
-
"
|
|
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.
|
|
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": "
|
|
26
|
+
"test": "mocha ./test/*.test.js"
|
|
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.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://
|
|
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://
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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://
|
|
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.
|
|
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.
|
|
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://
|
|
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://
|
|
18
|
-
<mj-carousel-image src="https://
|
|
19
|
-
<mj-carousel-image src="https://
|
|
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 |
|
|
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')
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
36
|
-
"mjml-migrate": "4.
|
|
37
|
-
"mjml-parser-xml": "4.
|
|
38
|
-
"mjml-validator": "4.
|
|
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
|
}
|