@capillarytech/creatives-library 7.17.91 → 7.17.92

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 (50) hide show
  1. package/index.js +6 -0
  2. package/package.json +1 -1
  3. package/routes.js +5 -0
  4. package/services/api.js +5 -0
  5. package/v2Components/CapDeviceContent/index.js +338 -0
  6. package/v2Components/CapDeviceContent/index.scss +115 -0
  7. package/v2Components/CapDeviceContent/messages.js +107 -0
  8. package/v2Components/CapDeviceContent/tests/index.test.js +75 -0
  9. package/v2Components/CapImageUpload/index.js +10 -3
  10. package/v2Components/CapImageUpload/messages.js +4 -0
  11. package/v2Components/CapInAppCTA/constants.js +25 -0
  12. package/v2Components/CapInAppCTA/index.js +281 -0
  13. package/v2Components/CapInAppCTA/index.scss +93 -0
  14. package/v2Components/CapInAppCTA/messages.js +85 -0
  15. package/v2Components/MobilePushPreviewV2/index.js +81 -23
  16. package/v2Components/TemplatePreview/_templatePreview.scss +448 -0
  17. package/v2Components/TemplatePreview/assets/images/inapp_mobile_android_bottom.svg +11 -0
  18. package/v2Components/TemplatePreview/assets/images/inapp_mobile_android_full.svg +11 -0
  19. package/v2Components/TemplatePreview/assets/images/inapp_mobile_android_modal.svg +11 -0
  20. package/v2Components/TemplatePreview/assets/images/inapp_mobile_android_top.svg +11 -0
  21. package/v2Components/TemplatePreview/assets/images/inapp_mobile_ios_bottom.svg +6 -0
  22. package/v2Components/TemplatePreview/assets/images/inapp_mobile_ios_full.svg +18 -0
  23. package/v2Components/TemplatePreview/assets/images/inapp_mobile_ios_modal.svg +7 -0
  24. package/v2Components/TemplatePreview/assets/images/inapp_mobile_ios_top.svg +13 -0
  25. package/v2Components/TemplatePreview/index.js +660 -375
  26. package/v2Components/TemplatePreview/messages.js +4 -0
  27. package/v2Containers/App/constants.js +1 -0
  28. package/v2Containers/CreativesContainer/SlideBoxContent.js +43 -0
  29. package/v2Containers/CreativesContainer/SlideBoxHeader.js +4 -1
  30. package/v2Containers/CreativesContainer/constants.js +1 -0
  31. package/v2Containers/CreativesContainer/index.js +94 -27
  32. package/v2Containers/CreativesContainer/messages.js +4 -0
  33. package/v2Containers/InApp/actions.js +64 -0
  34. package/v2Containers/InApp/constants.js +95 -0
  35. package/v2Containers/InApp/index.js +745 -0
  36. package/v2Containers/InApp/index.scss +47 -0
  37. package/v2Containers/InApp/messages.js +86 -0
  38. package/v2Containers/InApp/reducer.js +109 -0
  39. package/v2Containers/InApp/sagas.js +143 -0
  40. package/v2Containers/InApp/selectors.js +12 -0
  41. package/v2Containers/InApp/tests/action.test.js +53 -0
  42. package/v2Containers/InApp/tests/index.test.js +152 -0
  43. package/v2Containers/InApp/tests/mockData.js +897 -0
  44. package/v2Containers/InApp/tests/reducer.test.js +177 -0
  45. package/v2Containers/InApp/tests/sagas.test.js +391 -0
  46. package/v2Containers/Templates/_templates.scss +7 -0
  47. package/v2Containers/Templates/index.js +103 -23
  48. package/v2Containers/Templates/messages.js +20 -0
  49. package/v2Containers/TemplatesV2/index.js +8 -2
  50. package/v2Containers/TemplatesV2/messages.js +4 -0
@@ -0,0 +1,18 @@
1
+ <svg width="228" height="472" viewBox="0 0 228 472" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="228" height="472" rx="32" fill="#101211"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
5
+ <mask id="mask0_643_59091" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="10" y="11" width="208" height="451">
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
7
+ </mask>
8
+ <g mask="url(#mask0_643_59091)">
9
+ <rect x="10" y="11" width="208" height="451" rx="8" fill="white"/>
10
+ <path d="M203.148 26.5575C203.342 26.3628 203.342 26.0472 203.148 25.8525C202.953 25.6578 202.637 25.6578 202.443 25.8525L200 28.295L197.558 25.8525C197.363 25.6578 197.047 25.6578 196.852 25.8525C196.658 26.0472 196.658 26.3628 196.853 26.5575L199.295 29L196.852 31.4425C196.658 31.6372 196.658 31.9528 196.853 32.1475C197.047 32.3422 197.363 32.3422 197.558 32.1475L200 29.705L202.443 32.1475C202.637 32.3422 202.953 32.3422 203.148 32.1475C203.342 31.9528 203.342 31.6372 203.148 31.4425L200.705 29L203.148 26.5575Z" fill="black"/>
11
+ <mask id="mask1_643_59091" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="196" y="25" width="8" height="8">
12
+ <path d="M203.148 26.5575C203.342 26.3628 203.342 26.0472 203.148 25.8525C202.953 25.6578 202.637 25.6578 202.443 25.8525L200 28.295L197.558 25.8525C197.363 25.6578 197.047 25.6578 196.852 25.8525C196.658 26.0472 196.658 26.3628 196.853 26.5575L199.295 29L196.852 31.4425C196.658 31.6372 196.658 31.9528 196.853 32.1475C197.047 32.3422 197.363 32.3422 197.558 32.1475L200 29.705L202.443 32.1475C202.637 32.3422 202.953 32.3422 203.148 32.1475C203.342 31.9528 203.342 31.6372 203.148 31.4425L200.705 29L203.148 26.5575Z" fill="white"/>
13
+ </mask>
14
+ <g mask="url(#mask1_643_59091)">
15
+ <rect x="194" y="23" width="12" height="12" fill="#091E42"/>
16
+ </g>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="228" height="472" viewBox="0 0 228 472" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+ <rect width="228" height="472" rx="32" fill="#101211"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
5
+ <rect x="17" y="116" width="194" height="253" rx="8" fill="white"/>
6
+ </svg>
7
+
@@ -0,0 +1,13 @@
1
+ <svg width="228" height="472" viewBox="0 0 228 472" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="228" height="472" rx="32" fill="#101211"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58 11H33C20.2975 11 10 21.2975 10 34V439C10 451.703 20.2975 462 33 462H195C207.703 462 218 451.703 218 439V34C218 21.2975 207.703 11 195 11H170V14C170 21.1797 164.18 27 157 27H71C63.8203 27 58 21.1797 58 14V11Z" fill="#343434"/>
5
+ <rect x="17" y="31" width="194" height="92" rx="8" fill="white"/>
6
+ <path d="M204.148 38.5575C204.342 38.3628 204.342 38.0472 204.148 37.8525C203.953 37.6578 203.637 37.6578 203.443 37.8525L201 40.295L198.558 37.8525C198.363 37.6578 198.047 37.6578 197.852 37.8525C197.658 38.0472 197.658 38.3628 197.853 38.5575L200.295 41L197.852 43.4425C197.658 43.6372 197.658 43.9528 197.853 44.1475C198.047 44.3422 198.363 44.3422 198.558 44.1475L201 41.705L203.443 44.1475C203.637 44.3422 203.953 44.3422 204.148 44.1475C204.342 43.9528 204.342 43.6372 204.148 43.4425L201.705 41L204.148 38.5575Z" fill="black"/>
7
+ <mask id="mask0_643_59047" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="197" y="37" width="8" height="8">
8
+ <path d="M204.148 38.5575C204.342 38.3628 204.342 38.0472 204.148 37.8525C203.953 37.6578 203.637 37.6578 203.443 37.8525L201 40.295L198.558 37.8525C198.363 37.6578 198.047 37.6578 197.852 37.8525C197.658 38.0472 197.658 38.3628 197.853 38.5575L200.295 41L197.852 43.4425C197.658 43.6372 197.658 43.9528 197.853 44.1475C198.047 44.3422 198.363 44.3422 198.558 44.1475L201 41.705L203.443 44.1475C203.637 44.3422 203.953 44.3422 204.148 44.1475C204.342 43.9528 204.342 43.6372 204.148 43.4425L201.705 41L204.148 38.5575Z" fill="white"/>
9
+ </mask>
10
+ <g mask="url(#mask0_643_59047)">
11
+ <rect x="195" y="35" width="12" height="100" fill="#091E42"/>
12
+ </g>
13
+ </svg>