@coorpacademy/components 11.40.21 → 11.40.22-slider.13

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 (1571) hide show
  1. package/es/atom/autocomplete/index.d.ts +5 -4
  2. package/es/atom/autocomplete/index.d.ts.map +1 -1
  3. package/es/atom/avatar/index.d.ts +2 -1
  4. package/es/atom/avatar/index.d.ts.map +1 -1
  5. package/es/atom/battle-opponent/index.d.ts +2 -2
  6. package/es/atom/battle-opponent/index.d.ts.map +1 -1
  7. package/es/atom/battle-opponent/index.js +2 -4
  8. package/es/atom/battle-opponent/index.js.map +1 -1
  9. package/es/atom/button/index.d.ts +2 -1
  10. package/es/atom/button/index.d.ts.map +1 -1
  11. package/es/atom/button/index.native.d.ts +2 -2
  12. package/es/atom/button/index.native.d.ts.map +1 -1
  13. package/es/atom/button-link/index.d.ts +4 -4
  14. package/es/atom/button-link/index.d.ts.map +1 -1
  15. package/es/atom/button-link/types.d.ts +4 -4
  16. package/es/atom/button-link/types.d.ts.map +1 -1
  17. package/es/atom/button-link/types.js.map +1 -1
  18. package/es/atom/button-link-icon/index.d.ts +2 -1
  19. package/es/atom/button-link-icon/index.d.ts.map +1 -1
  20. package/es/atom/button-menu/index.d.ts +5 -5
  21. package/es/atom/button-menu/index.d.ts.map +1 -1
  22. package/es/atom/button-menu/types.d.ts +4 -4
  23. package/es/atom/card-image-preview/index.d.ts +2 -1
  24. package/es/atom/card-image-preview/index.d.ts.map +1 -1
  25. package/es/atom/catalog-section/index.d.ts +2 -1
  26. package/es/atom/catalog-section/index.d.ts.map +1 -1
  27. package/es/atom/centered-text/index.d.ts +2 -1
  28. package/es/atom/centered-text/index.d.ts.map +1 -1
  29. package/es/atom/checkbox/index.d.ts +2 -1
  30. package/es/atom/checkbox/index.d.ts.map +1 -1
  31. package/es/atom/checkbox-with-title/index.d.ts +3 -2
  32. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  33. package/es/atom/chip/index.d.ts +3 -2
  34. package/es/atom/chip/index.d.ts.map +1 -1
  35. package/es/atom/chip/index.js +1 -1
  36. package/es/atom/chip/index.js.map +1 -1
  37. package/es/atom/chips/index.d.ts +2 -1
  38. package/es/atom/chips/index.d.ts.map +1 -1
  39. package/es/atom/choice/index.native.d.ts +2 -2
  40. package/es/atom/choice/index.native.d.ts.map +1 -1
  41. package/es/atom/choice/index.native.js +5 -3
  42. package/es/atom/choice/index.native.js.map +1 -1
  43. package/es/atom/circular-progress-bar/index.d.ts +2 -2
  44. package/es/atom/circular-progress-bar/index.d.ts.map +1 -1
  45. package/es/atom/clue/index.d.ts +3 -3
  46. package/es/atom/clue/index.d.ts.map +1 -1
  47. package/es/atom/content-badge/index.d.ts +2 -1
  48. package/es/atom/content-badge/index.d.ts.map +1 -1
  49. package/es/atom/cta/index.d.ts +2 -2
  50. package/es/atom/cta/index.d.ts.map +1 -1
  51. package/es/atom/difficulty-level/index.d.ts +4 -3
  52. package/es/atom/difficulty-level/index.d.ts.map +1 -1
  53. package/es/atom/drag-and-drop/index.d.ts +1 -1
  54. package/es/atom/drag-and-drop/index.d.ts.map +1 -1
  55. package/es/atom/empty-search-result/index.d.ts +2 -1
  56. package/es/atom/empty-search-result/index.d.ts.map +1 -1
  57. package/es/atom/gradient/index.native.d.ts +2 -2
  58. package/es/atom/gradient/index.native.d.ts.map +1 -1
  59. package/es/atom/gradient/index.native.js +29 -8
  60. package/es/atom/gradient/index.native.js.map +1 -1
  61. package/es/atom/header-back-button/index.native.d.ts +2 -2
  62. package/es/atom/header-back-button/index.native.d.ts.map +1 -1
  63. package/es/atom/header-back-icon/index.native.d.ts +2 -2
  64. package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
  65. package/es/atom/html/index.native.d.ts +2 -2
  66. package/es/atom/html/index.native.d.ts.map +1 -1
  67. package/es/atom/html/index.native.js +29 -22
  68. package/es/atom/html/index.native.js.map +1 -1
  69. package/es/atom/icon/index.d.ts +1 -1
  70. package/es/atom/icon/index.js +1 -1
  71. package/es/atom/icon/index.js.map +1 -1
  72. package/es/atom/image-background/index.native.d.ts +2 -2
  73. package/es/atom/image-background/index.native.d.ts.map +1 -1
  74. package/es/atom/image-background/index.native.js.map +1 -1
  75. package/es/atom/input-checkbox/index.d.ts +2 -1
  76. package/es/atom/input-checkbox/index.d.ts.map +1 -1
  77. package/es/atom/input-color/index.d.ts +2 -1
  78. package/es/atom/input-color/index.d.ts.map +1 -1
  79. package/es/atom/input-doublestep/index.d.ts +2 -2
  80. package/es/atom/input-doublestep/index.d.ts.map +1 -1
  81. package/es/atom/input-file-draggable/index.d.ts +11 -10
  82. package/es/atom/input-file-draggable/index.d.ts.map +1 -1
  83. package/es/atom/input-html/index.d.ts +2 -1
  84. package/es/atom/input-html/index.d.ts.map +1 -1
  85. package/es/atom/input-html/input-preview.d.ts +2 -1
  86. package/es/atom/input-html/input-preview.d.ts.map +1 -1
  87. package/es/atom/input-readonly/index.d.ts +2 -1
  88. package/es/atom/input-readonly/index.d.ts.map +1 -1
  89. package/es/atom/input-search/index.d.ts +2 -1
  90. package/es/atom/input-search/index.d.ts.map +1 -1
  91. package/es/atom/input-select/index.d.ts +2 -2
  92. package/es/atom/input-select/index.d.ts.map +1 -1
  93. package/es/atom/input-switch/index.d.ts +2 -1
  94. package/es/atom/input-switch/index.d.ts.map +1 -1
  95. package/es/atom/input-text/index.d.ts +2 -1
  96. package/es/atom/input-text/index.d.ts.map +1 -1
  97. package/es/atom/input-text-with-title/index.d.ts +2 -1
  98. package/es/atom/input-text-with-title/index.d.ts.map +1 -1
  99. package/es/atom/input-textarea/index.d.ts +2 -1
  100. package/es/atom/input-textarea/index.d.ts.map +1 -1
  101. package/es/atom/label/index.d.ts +3 -2
  102. package/es/atom/label/index.d.ts.map +1 -1
  103. package/es/atom/life/index.d.ts +2 -1
  104. package/es/atom/life/index.d.ts.map +1 -1
  105. package/es/atom/link/index.d.ts +2 -1
  106. package/es/atom/link/index.d.ts.map +1 -1
  107. package/es/atom/loader/index.d.ts +3 -2
  108. package/es/atom/loader/index.d.ts.map +1 -1
  109. package/es/atom/loader/index.native.d.ts +2 -2
  110. package/es/atom/loader/index.native.d.ts.map +1 -1
  111. package/es/atom/loader/index.native.js +5 -1
  112. package/es/atom/loader/index.native.js.map +1 -1
  113. package/es/atom/lottie-wrapper/index.d.ts +2 -1
  114. package/es/atom/lottie-wrapper/index.d.ts.map +1 -1
  115. package/es/atom/notification/index.d.ts +2 -1
  116. package/es/atom/notification/index.d.ts.map +1 -1
  117. package/es/atom/picture/index.d.ts +2 -1
  118. package/es/atom/picture/index.d.ts.map +1 -1
  119. package/es/atom/picture-background/index.d.ts +5 -4
  120. package/es/atom/picture-background/index.d.ts.map +1 -1
  121. package/es/atom/promo-code/index.d.ts +2 -1
  122. package/es/atom/promo-code/index.d.ts.map +1 -1
  123. package/es/atom/provider/index.d.ts +1 -0
  124. package/es/atom/provider/index.d.ts.map +1 -1
  125. package/es/atom/provider/web-context.d.ts +2 -2
  126. package/es/atom/provider/web-context.d.ts.map +1 -1
  127. package/es/atom/radio-group/index.d.ts +4 -3
  128. package/es/atom/radio-group/index.d.ts.map +1 -1
  129. package/es/atom/radio-group/item.d.ts +2 -1
  130. package/es/atom/radio-group/item.d.ts.map +1 -1
  131. package/es/atom/radio-with-title/index.d.ts +13 -13
  132. package/es/atom/radio-with-title/types.d.ts +12 -12
  133. package/es/atom/range/handle.d.ts +2 -1
  134. package/es/atom/range/handle.d.ts.map +1 -1
  135. package/es/atom/range/index.d.ts +2 -2
  136. package/es/atom/range/index.d.ts.map +1 -1
  137. package/es/atom/resource-miniature/index.d.ts +2 -1
  138. package/es/atom/resource-miniature/index.d.ts.map +1 -1
  139. package/es/atom/review-presentation/index.d.ts +2 -1
  140. package/es/atom/review-presentation/index.d.ts.map +1 -1
  141. package/es/atom/review-presentation/index.native.d.ts +2 -2
  142. package/es/atom/review-presentation/index.native.d.ts.map +1 -1
  143. package/es/atom/select/index.d.ts +14 -13
  144. package/es/atom/select/index.d.ts.map +1 -1
  145. package/es/atom/select-icon/index.d.ts +2 -1
  146. package/es/atom/select-icon/index.d.ts.map +1 -1
  147. package/es/atom/select-modal/index.native.d.ts +2 -2
  148. package/es/atom/select-modal/index.native.d.ts.map +1 -1
  149. package/es/atom/select-modal/index.native.js +4 -3
  150. package/es/atom/select-modal/index.native.js.map +1 -1
  151. package/es/atom/slide/index.d.ts +2 -1
  152. package/es/atom/slide/index.d.ts.map +1 -1
  153. package/es/atom/social-link/index.d.ts +2 -1
  154. package/es/atom/social-link/index.d.ts.map +1 -1
  155. package/es/atom/space/index.native.d.ts +2 -2
  156. package/es/atom/space/index.native.d.ts.map +1 -1
  157. package/es/atom/spinner/index.d.ts +2 -1
  158. package/es/atom/spinner/index.d.ts.map +1 -1
  159. package/es/atom/status-item/index.d.ts +2 -2
  160. package/es/atom/status-item/index.d.ts.map +1 -1
  161. package/es/atom/status-item/index.native.d.ts +2 -2
  162. package/es/atom/status-item/index.native.d.ts.map +1 -1
  163. package/es/atom/tab/index.d.ts +5 -4
  164. package/es/atom/tab/index.d.ts.map +1 -1
  165. package/es/atom/tab-content/index.d.ts +2 -1
  166. package/es/atom/tab-content/index.d.ts.map +1 -1
  167. package/es/atom/tag/index.d.ts +16 -16
  168. package/es/atom/tag/index.d.ts.map +1 -1
  169. package/es/atom/text/index.native.d.ts +1 -1
  170. package/es/atom/text/index.native.d.ts.map +1 -1
  171. package/es/atom/title/index.d.ts +14 -14
  172. package/es/atom/title/index.d.ts.map +1 -1
  173. package/es/atom/tooltip/index.d.ts +6 -5
  174. package/es/atom/tooltip/index.d.ts.map +1 -1
  175. package/es/atom/video-upload/index.d.ts +2 -1
  176. package/es/atom/video-upload/index.d.ts.map +1 -1
  177. package/es/atom/wizard-steps/index.d.ts +4 -3
  178. package/es/atom/wizard-steps/index.d.ts.map +1 -1
  179. package/es/globals.d.js.map +1 -1
  180. package/es/hoc/animation/index.d.ts +1 -1
  181. package/es/hoc/animation-scheduler/index.d.ts +1 -1
  182. package/es/hoc/modal/index.native.d.ts +1 -1
  183. package/es/hoc/modal/index.native.d.ts.map +1 -1
  184. package/es/hoc/modal/select/index.native.d.ts +2 -2
  185. package/es/hoc/modal/select/index.native.d.ts.map +1 -1
  186. package/es/hoc/modal/select-item/index.native.d.ts +2 -2
  187. package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
  188. package/es/hoc/swapper/index.d.ts +3 -2
  189. package/es/hoc/swapper/index.d.ts.map +1 -1
  190. package/es/hoc/touchable/index.native.d.ts +1 -1
  191. package/es/hoc/touchable/index.native.d.ts.map +1 -1
  192. package/es/hoc/touchable/index.native.js +14 -3
  193. package/es/hoc/touchable/index.native.js.map +1 -1
  194. package/es/hoc/transition/index.d.ts +1 -1
  195. package/es/molecule/add-to-my-list/index.d.ts +4 -3
  196. package/es/molecule/add-to-my-list/index.d.ts.map +1 -1
  197. package/es/molecule/answer/index.d.ts +2 -1
  198. package/es/molecule/answer/index.d.ts.map +1 -1
  199. package/es/molecule/answer/index.native.d.ts +2 -2
  200. package/es/molecule/answer/index.native.d.ts.map +1 -1
  201. package/es/molecule/answer/prop-types.d.ts +10 -10
  202. package/es/molecule/audio/index.d.ts +1 -1
  203. package/es/molecule/audio/index.d.ts.map +1 -1
  204. package/es/molecule/banner/index.d.ts +4 -3
  205. package/es/molecule/banner/index.d.ts.map +1 -1
  206. package/es/molecule/base-modal/index.d.ts +4 -3
  207. package/es/molecule/base-modal/index.d.ts.map +1 -1
  208. package/es/molecule/battle-opponent-list/index.d.ts +4 -4
  209. package/es/molecule/battle-opponent-list/index.d.ts.map +1 -1
  210. package/es/molecule/battle-opponent-list/prop-types.d.ts +2 -2
  211. package/es/molecule/battle-request/index.d.ts +2 -1
  212. package/es/molecule/battle-request/index.d.ts.map +1 -1
  213. package/es/molecule/brand-card/description.d.ts +2 -1
  214. package/es/molecule/brand-card/description.d.ts.map +1 -1
  215. package/es/molecule/brand-card/index.d.ts +2 -1
  216. package/es/molecule/brand-card/index.d.ts.map +1 -1
  217. package/es/molecule/brand-card-create/index.d.ts +2 -1
  218. package/es/molecule/brand-card-create/index.d.ts.map +1 -1
  219. package/es/molecule/brand-create-form/index.d.ts +2 -1
  220. package/es/molecule/brand-create-form/index.d.ts.map +1 -1
  221. package/es/molecule/brand-download-box/index.d.ts +2 -1
  222. package/es/molecule/brand-download-box/index.d.ts.map +1 -1
  223. package/es/molecule/brand-form-group/index.d.ts +3 -2
  224. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  225. package/es/molecule/brand-logo/index.native.d.ts +2 -2
  226. package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
  227. package/es/molecule/brand-logo/index.native.js.map +1 -1
  228. package/es/molecule/brand-tabs/index.d.ts +4 -3
  229. package/es/molecule/brand-tabs/index.d.ts.map +1 -1
  230. package/es/molecule/brand-upload-box/index.d.ts +1 -1
  231. package/es/molecule/brand-upload-box/index.d.ts.map +1 -1
  232. package/es/molecule/breadcrumbs/index.d.ts +6 -5
  233. package/es/molecule/breadcrumbs/index.d.ts.map +1 -1
  234. package/es/molecule/bulk-infos/index.d.ts +2 -2
  235. package/es/molecule/bulk-infos/index.d.ts.map +1 -1
  236. package/es/molecule/bulk-progress-bar/index.d.ts +2 -2
  237. package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  238. package/es/molecule/bullet-point-menu-button/index.d.ts +5 -5
  239. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  240. package/es/molecule/bullet-point-menu-button/types.d.ts +3 -3
  241. package/es/molecule/button-menu-action/index.d.ts +8 -8
  242. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  243. package/es/molecule/button-menu-action/types.d.ts +6 -6
  244. package/es/molecule/card/customer.d.ts +3 -2
  245. package/es/molecule/card/customer.d.ts.map +1 -1
  246. package/es/molecule/card/favorite.d.ts +4 -3
  247. package/es/molecule/card/favorite.d.ts.map +1 -1
  248. package/es/molecule/card/index.d.ts +1 -1
  249. package/es/molecule/card/notification.d.ts +2 -1
  250. package/es/molecule/card/notification.d.ts.map +1 -1
  251. package/es/molecule/card/selectable.d.ts +2 -1
  252. package/es/molecule/card/selectable.d.ts.map +1 -1
  253. package/es/molecule/card-congrats/index.native.d.ts +2 -2
  254. package/es/molecule/card-congrats/index.native.d.ts.map +1 -1
  255. package/es/molecule/card-content/index.d.ts +8 -7
  256. package/es/molecule/card-content/index.d.ts.map +1 -1
  257. package/es/molecule/card-with-button/index.d.ts +3 -2
  258. package/es/molecule/card-with-button/index.d.ts.map +1 -1
  259. package/es/molecule/certification-card/index.d.ts +2 -1
  260. package/es/molecule/certification-card/index.d.ts.map +1 -1
  261. package/es/molecule/cm-popin/index.d.ts +2 -1
  262. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  263. package/es/molecule/cm-popin/index.native.d.ts +2 -2
  264. package/es/molecule/cm-popin/index.native.d.ts.map +1 -1
  265. package/es/molecule/cm-popin/types.d.ts +81 -81
  266. package/es/molecule/cookie-banner/index.d.ts +2 -1
  267. package/es/molecule/cookie-banner/index.d.ts.map +1 -1
  268. package/es/molecule/coorp-manager-roles/index.d.ts +4 -3
  269. package/es/molecule/coorp-manager-roles/index.d.ts.map +1 -1
  270. package/es/molecule/coorpmanager-base-banner/index.d.ts +2 -1
  271. package/es/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
  272. package/es/molecule/course-section/index.d.ts +4 -3
  273. package/es/molecule/course-section/index.d.ts.map +1 -1
  274. package/es/molecule/course-sections/index.d.ts +6 -5
  275. package/es/molecule/course-sections/index.d.ts.map +1 -1
  276. package/es/molecule/dashboard/cards-list/index.d.ts +10 -10
  277. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  278. package/es/molecule/discipline-associated-skills/index.d.ts +4 -3
  279. package/es/molecule/discipline-associated-skills/index.d.ts.map +1 -1
  280. package/es/molecule/discipline-cta/index.d.ts +2 -1
  281. package/es/molecule/discipline-cta/index.d.ts.map +1 -1
  282. package/es/molecule/discipline-header/index.d.ts +3 -3
  283. package/es/molecule/discipline-header/index.d.ts.map +1 -1
  284. package/es/molecule/discipline-partners/index.d.ts +6 -5
  285. package/es/molecule/discipline-partners/index.d.ts.map +1 -1
  286. package/es/molecule/discipline-scope/index.d.ts +10 -9
  287. package/es/molecule/discipline-scope/index.d.ts.map +1 -1
  288. package/es/molecule/drag-and-drop/index.d.ts +6 -5
  289. package/es/molecule/drag-and-drop/index.d.ts.map +1 -1
  290. package/es/molecule/drag-and-drop/overlay.d.ts +2 -1
  291. package/es/molecule/drag-and-drop/overlay.d.ts.map +1 -1
  292. package/es/molecule/drag-and-drop/placeholder.d.ts +2 -1
  293. package/es/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
  294. package/es/molecule/drag-and-drop/upload-report.d.ts +5 -4
  295. package/es/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
  296. package/es/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
  297. package/es/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
  298. package/es/molecule/draggable/index.d.ts +2 -1
  299. package/es/molecule/draggable/index.d.ts.map +1 -1
  300. package/es/molecule/draggable-list/index.d.ts +15 -14
  301. package/es/molecule/draggable-list/index.d.ts.map +1 -1
  302. package/es/molecule/errors-table/index.d.ts +7 -7
  303. package/es/molecule/errors-table/index.d.ts.map +1 -1
  304. package/es/molecule/errors-table/types.d.ts +5 -5
  305. package/es/molecule/expandable-item/index.d.ts +2 -2
  306. package/es/molecule/expandable-item/index.d.ts.map +1 -1
  307. package/es/molecule/expandable-list/index.d.ts +4 -4
  308. package/es/molecule/expandable-list/index.d.ts.map +1 -1
  309. package/es/molecule/expandable-list/types.d.ts +2 -2
  310. package/es/molecule/expandible-actionable-table/index.d.ts +18 -18
  311. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  312. package/es/molecule/expandible-actionable-table/types.d.ts +16 -16
  313. package/es/molecule/external-content-button/index.d.ts +1 -1
  314. package/es/molecule/external-content-button/index.d.ts.map +1 -1
  315. package/es/molecule/external-content-viewer/index.d.ts +2 -1
  316. package/es/molecule/external-content-viewer/index.d.ts.map +1 -1
  317. package/es/molecule/feedback/index.d.ts +2 -1
  318. package/es/molecule/feedback/index.d.ts.map +1 -1
  319. package/es/molecule/filters/filters-wrapper.d.ts +4 -3
  320. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  321. package/es/molecule/filters/index.d.ts +11 -11
  322. package/es/molecule/filters/index.d.ts.map +1 -1
  323. package/es/molecule/forum/forum-comment/index.d.ts +2 -1
  324. package/es/molecule/forum/forum-comment/index.d.ts.map +1 -1
  325. package/es/molecule/forum/forum-post/index.d.ts +2 -1
  326. package/es/molecule/forum/forum-post/index.d.ts.map +1 -1
  327. package/es/molecule/forum/forum-thread/index.d.ts +2 -1
  328. package/es/molecule/forum/forum-thread/index.d.ts.map +1 -1
  329. package/es/molecule/go1-banner/index.d.ts +2 -1
  330. package/es/molecule/go1-banner/index.d.ts.map +1 -1
  331. package/es/molecule/hero/index.d.ts +2 -2
  332. package/es/molecule/hero/index.d.ts.map +1 -1
  333. package/es/molecule/icon-picker-modal/index.d.ts +2 -1
  334. package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
  335. package/es/molecule/icon-picker-modal/index.js +1 -1
  336. package/es/molecule/icon-picker-modal/index.js.map +1 -1
  337. package/es/molecule/icon-preview/index.d.ts +1 -1
  338. package/es/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
  339. package/es/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
  340. package/es/molecule/learner-skill-card/index.d.ts +2 -1
  341. package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
  342. package/es/molecule/learning-priority-card/index.d.ts +2 -2
  343. package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
  344. package/es/molecule/learning-priority-modal/index.d.ts +8 -7
  345. package/es/molecule/learning-priority-modal/index.d.ts.map +1 -1
  346. package/es/molecule/learning-priority-setup-item/index.d.ts +2 -1
  347. package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
  348. package/es/molecule/learning-profile-radar-chart/index.d.ts +13 -13
  349. package/es/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  350. package/es/molecule/learning-profile-radar-chart/types.d.ts +8 -8
  351. package/es/molecule/list-badges/index.d.ts +4 -3
  352. package/es/molecule/list-badges/index.d.ts.map +1 -1
  353. package/es/molecule/login-alert/index.d.ts +2 -1
  354. package/es/molecule/login-alert/index.d.ts.map +1 -1
  355. package/es/molecule/menu-links/index.d.ts +4 -4
  356. package/es/molecule/menu-links/index.d.ts.map +1 -1
  357. package/es/molecule/menu-links/types.d.ts +2 -2
  358. package/es/molecule/menu-list/index.d.ts +4 -3
  359. package/es/molecule/menu-list/index.d.ts.map +1 -1
  360. package/es/molecule/message-popin/index.d.ts +2 -1
  361. package/es/molecule/message-popin/index.d.ts.map +1 -1
  362. package/es/molecule/modal/index.d.ts +2 -1
  363. package/es/molecule/modal/index.d.ts.map +1 -1
  364. package/es/molecule/module-bubble/index.d.ts +2 -1
  365. package/es/molecule/module-bubble/index.d.ts.map +1 -1
  366. package/es/molecule/module-card/index.d.ts +2 -1
  367. package/es/molecule/module-card/index.d.ts.map +1 -1
  368. package/es/molecule/multi-filter-panel/index.d.ts +11 -11
  369. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  370. package/es/molecule/multi-filter-panel/prop-types.d.ts +9 -9
  371. package/es/molecule/news/index.d.ts +2 -1
  372. package/es/molecule/news/index.d.ts.map +1 -1
  373. package/es/molecule/notification-banner/index.d.ts +2 -1
  374. package/es/molecule/notification-banner/index.d.ts.map +1 -1
  375. package/es/molecule/pagination/index.d.ts +2 -1
  376. package/es/molecule/pagination/index.d.ts.map +1 -1
  377. package/es/molecule/payment-form/index.d.ts +1 -1
  378. package/es/molecule/payment-form/index.d.ts.map +1 -1
  379. package/es/molecule/pdf/index.d.ts +2 -1
  380. package/es/molecule/pdf/index.d.ts.map +1 -1
  381. package/es/molecule/playlist-card/index.d.ts +4 -3
  382. package/es/molecule/playlist-card/index.d.ts.map +1 -1
  383. package/es/molecule/playlist-detail-cover/index.d.ts +4 -3
  384. package/es/molecule/playlist-detail-cover/index.d.ts.map +1 -1
  385. package/es/molecule/popin/index.d.ts +2 -1
  386. package/es/molecule/popin/index.d.ts.map +1 -1
  387. package/es/molecule/privacy-policy-contact/index.d.ts +2 -2
  388. package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -1
  389. package/es/molecule/product-card/index.d.ts +2 -1
  390. package/es/molecule/product-card/index.d.ts.map +1 -1
  391. package/es/molecule/progress-bar/index.d.ts +3 -2
  392. package/es/molecule/progress-bar/index.d.ts.map +1 -1
  393. package/es/molecule/progress-wrapper/index.d.ts +4 -3
  394. package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
  395. package/es/molecule/questions/drop-down/index.d.ts +5 -4
  396. package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
  397. package/es/molecule/questions/free-text/index.d.ts +2 -1
  398. package/es/molecule/questions/free-text/index.d.ts.map +1 -1
  399. package/es/molecule/questions/free-text/index.native.d.ts +2 -2
  400. package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
  401. package/es/molecule/questions/free-text/index.native.js +4 -2
  402. package/es/molecule/questions/free-text/index.native.js.map +1 -1
  403. package/es/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
  404. package/es/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
  405. package/es/molecule/questions/mobile/draggable/index.native.js +1 -1
  406. package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
  407. package/es/molecule/questions/mobile/slider/index.native.d.ts +2 -2
  408. package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
  409. package/es/molecule/questions/mobile/slider/index.native.js +12 -28
  410. package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
  411. package/es/molecule/questions/mobile/switch/index.native.d.ts +2 -2
  412. package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
  413. package/es/molecule/questions/mobile/template/index.native.d.ts +2 -2
  414. package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
  415. package/es/molecule/questions/mobile/template/index.native.js +14 -4
  416. package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
  417. package/es/molecule/questions/qcm/index.d.ts +4 -3
  418. package/es/molecule/questions/qcm/index.d.ts.map +1 -1
  419. package/es/molecule/questions/qcm-drag/index.d.ts +6 -5
  420. package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  421. package/es/molecule/questions/qcm-graphic/index.d.ts +4 -3
  422. package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  423. package/es/molecule/questions/question-range/index.d.ts +2 -1
  424. package/es/molecule/questions/question-range/index.d.ts.map +1 -1
  425. package/es/molecule/questions/template/index.d.ts +7 -17
  426. package/es/molecule/questions/template/index.d.ts.map +1 -1
  427. package/es/molecule/questions/types.d.ts +1 -1
  428. package/es/molecule/questions/types.d.ts.map +1 -1
  429. package/es/molecule/questions/types.js.map +1 -1
  430. package/es/molecule/quick-access-card/index.d.ts +2 -1
  431. package/es/molecule/quick-access-card/index.d.ts.map +1 -1
  432. package/es/molecule/quick-access-cards-group/index.d.ts +4 -3
  433. package/es/molecule/quick-access-cards-group/index.d.ts.map +1 -1
  434. package/es/molecule/quick-filters/index.d.ts +5 -5
  435. package/es/molecule/quick-filters/types.d.ts +4 -4
  436. package/es/molecule/resource-player/index.d.ts +4 -4
  437. package/es/molecule/resource-player/index.d.ts.map +1 -1
  438. package/es/molecule/review-card-congrats/index.d.ts +2 -1
  439. package/es/molecule/review-card-congrats/index.d.ts.map +1 -1
  440. package/es/molecule/review-correction-popin/index.d.ts +2 -1
  441. package/es/molecule/review-correction-popin/index.d.ts.map +1 -1
  442. package/es/molecule/review-correction-popin/index.native.d.ts +2 -2
  443. package/es/molecule/review-correction-popin/index.native.d.ts.map +1 -1
  444. package/es/molecule/review-header-steps/index.d.ts +2 -1
  445. package/es/molecule/review-header-steps/index.d.ts.map +1 -1
  446. package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
  447. package/es/molecule/scope-content/index.d.ts +9 -8
  448. package/es/molecule/scope-content/index.d.ts.map +1 -1
  449. package/es/molecule/scope-tabs/index.d.ts +3 -2
  450. package/es/molecule/scope-tabs/index.d.ts.map +1 -1
  451. package/es/molecule/search-form/index.d.ts +2 -1
  452. package/es/molecule/search-form/index.d.ts.map +1 -1
  453. package/es/molecule/select-multiple/index.d.ts +5 -4
  454. package/es/molecule/select-multiple/index.d.ts.map +1 -1
  455. package/es/molecule/setup-cohort-item/index.d.ts +6 -5
  456. package/es/molecule/setup-cohort-item/index.d.ts.map +1 -1
  457. package/es/molecule/setup-section/index.d.ts +5 -4
  458. package/es/molecule/setup-section/index.d.ts.map +1 -1
  459. package/es/molecule/setup-sections/index.d.ts +6 -5
  460. package/es/molecule/setup-sections/index.d.ts.map +1 -1
  461. package/es/molecule/setup-slider/index.d.ts +2 -1
  462. package/es/molecule/setup-slider/index.d.ts.map +1 -1
  463. package/es/molecule/share/index.d.ts +4 -3
  464. package/es/molecule/share/index.d.ts.map +1 -1
  465. package/es/molecule/skill-card/index.d.ts +2 -1
  466. package/es/molecule/skill-card/index.d.ts.map +1 -1
  467. package/es/molecule/skill-card/index.native.d.ts +2 -2
  468. package/es/molecule/skill-card/index.native.d.ts.map +1 -1
  469. package/es/molecule/skill-picker-modal/index.d.ts +6 -5
  470. package/es/molecule/skill-picker-modal/index.d.ts.map +1 -1
  471. package/es/molecule/skills-chart-side-information-item/index.d.ts +3 -2
  472. package/es/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
  473. package/es/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
  474. package/es/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
  475. package/es/molecule/ssmenu-list/index.d.ts +4 -3
  476. package/es/molecule/ssmenu-list/index.d.ts.map +1 -1
  477. package/es/molecule/subscription-freemium/index.d.ts +2 -1
  478. package/es/molecule/subscription-freemium/index.d.ts.map +1 -1
  479. package/es/molecule/subscription-premium/index.d.ts +2 -1
  480. package/es/molecule/subscription-premium/index.d.ts.map +1 -1
  481. package/es/molecule/table/index.d.ts +10 -9
  482. package/es/molecule/table/index.d.ts.map +1 -1
  483. package/es/molecule/tabs/index.d.ts +4 -3
  484. package/es/molecule/tabs/index.d.ts.map +1 -1
  485. package/es/molecule/teams-popin/index.d.ts +2 -1
  486. package/es/molecule/teams-popin/index.d.ts.map +1 -1
  487. package/es/molecule/theme-image/index.d.ts +2 -1
  488. package/es/molecule/theme-image/index.d.ts.map +1 -1
  489. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
  490. package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  491. package/es/molecule/title-radio-wrapper/index.d.ts +15 -15
  492. package/es/molecule/title-radio-wrapper/types.d.ts +14 -14
  493. package/es/molecule/titled-checkbox/index.d.ts +2 -1
  494. package/es/molecule/titled-checkbox/index.d.ts.map +1 -1
  495. package/es/molecule/translation-modal/index.d.ts +2 -1
  496. package/es/molecule/translation-modal/index.d.ts.map +1 -1
  497. package/es/molecule/unsubscribe/index.d.ts +2 -1
  498. package/es/molecule/unsubscribe/index.d.ts.map +1 -1
  499. package/es/molecule/vertical-tabs/index.d.ts +4 -3
  500. package/es/molecule/vertical-tabs/index.d.ts.map +1 -1
  501. package/es/molecule/video-iframe/index.d.ts +1 -1
  502. package/es/molecule/video-iframe/index.d.ts.map +1 -1
  503. package/es/molecule/video-player/index.d.ts +5 -5
  504. package/es/molecule/video-player/index.d.ts.map +1 -1
  505. package/es/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
  506. package/es/molecule/video-player/jwplayer.d.ts +3 -3
  507. package/es/molecule/video-player/jwplayer.d.ts.map +1 -1
  508. package/es/molecule/video-player/prop-types.d.ts +2 -2
  509. package/es/molecule/video-player/vimeo.d.ts +5 -5
  510. package/es/molecule/video-player/vimeo.d.ts.map +1 -1
  511. package/es/molecule/video-player-mobile/index.native.d.ts +2 -2
  512. package/es/molecule/video-player-mobile/index.native.d.ts.map +1 -1
  513. package/es/molecule/video-player-mobile/index.native.js +9 -8
  514. package/es/molecule/video-player-mobile/index.native.js.map +1 -1
  515. package/es/molecule/wizard-summary/index.d.ts +9 -8
  516. package/es/molecule/wizard-summary/index.d.ts.map +1 -1
  517. package/es/organism/accordion/container/index.d.ts +6 -5
  518. package/es/organism/accordion/container/index.d.ts.map +1 -1
  519. package/es/organism/accordion/coorp-manager/index.d.ts +6 -5
  520. package/es/organism/accordion/coorp-manager/index.d.ts.map +1 -1
  521. package/es/organism/accordion/coorp-manager/part/index.d.ts +2 -1
  522. package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
  523. package/es/organism/accordion/part/index.d.ts +2 -1
  524. package/es/organism/accordion/part/index.d.ts.map +1 -1
  525. package/es/organism/accordion/toggler/index.d.ts +8 -8
  526. package/es/organism/accordion/toggler/index.d.ts.map +1 -1
  527. package/es/organism/brand-analytics/analytics-popin.d.ts +2 -1
  528. package/es/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
  529. package/es/organism/brand-analytics/index.d.ts +7 -12
  530. package/es/organism/brand-analytics/index.d.ts.map +1 -1
  531. package/es/organism/brand-dashboard/index.d.ts +4 -3
  532. package/es/organism/brand-dashboard/index.d.ts.map +1 -1
  533. package/es/organism/brand-form/index.d.ts +5 -4
  534. package/es/organism/brand-form/index.d.ts.map +1 -1
  535. package/es/organism/brand-learning-priorities/index.d.ts +20 -19
  536. package/es/organism/brand-learning-priorities/index.d.ts.map +1 -1
  537. package/es/organism/brand-table/index.d.ts +10 -9
  538. package/es/organism/brand-table/index.d.ts.map +1 -1
  539. package/es/organism/brand-upload/index.d.ts +4 -3
  540. package/es/organism/brand-upload/index.d.ts.map +1 -1
  541. package/es/organism/cards-grid/index.d.ts +3 -3
  542. package/es/organism/cart/index.d.ts +2 -1
  543. package/es/organism/cart/index.d.ts.map +1 -1
  544. package/es/organism/content-skill-modal/index.d.ts +72 -72
  545. package/es/organism/content-skill-modal/types.d.ts +71 -71
  546. package/es/organism/content-translation/index.d.ts +4 -3
  547. package/es/organism/content-translation/index.d.ts.map +1 -1
  548. package/es/organism/course-selection/index.d.ts +3 -2
  549. package/es/organism/course-selection/index.d.ts.map +1 -1
  550. package/es/organism/discussion/index.d.ts +4 -3
  551. package/es/organism/discussion/index.d.ts.map +1 -1
  552. package/es/organism/filter-checkbox-and-search/index.d.ts +4 -4
  553. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  554. package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
  555. package/es/organism/filter-chip/index.d.ts +4 -4
  556. package/es/organism/filter-chip/index.d.ts.map +1 -1
  557. package/es/organism/filter-chip/prop-types.d.ts +2 -2
  558. package/es/organism/filter-range/index.d.ts +3 -3
  559. package/es/organism/filter-range/index.d.ts.map +1 -1
  560. package/es/organism/filter-range/prop-types.d.ts +1 -1
  561. package/es/organism/filter-switch/index.d.ts +4 -4
  562. package/es/organism/filter-switch/index.d.ts.map +1 -1
  563. package/es/organism/filter-switch/prop-types.d.ts +2 -2
  564. package/es/organism/get-the-app/index.d.ts +2 -1
  565. package/es/organism/get-the-app/index.d.ts.map +1 -1
  566. package/es/organism/grid-list/index.d.ts +2 -1
  567. package/es/organism/grid-list/index.d.ts.map +1 -1
  568. package/es/organism/header/index.d.ts +4 -3
  569. package/es/organism/header/index.d.ts.map +1 -1
  570. package/es/organism/header-v2/index.native.d.ts +2 -2
  571. package/es/organism/header-v2/index.native.d.ts.map +1 -1
  572. package/es/organism/header-with-actions/index.d.ts +6 -6
  573. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  574. package/es/organism/header-with-actions/types.d.ts +4 -4
  575. package/es/organism/hero/index.d.ts +2 -1
  576. package/es/organism/hero/index.d.ts.map +1 -1
  577. package/es/organism/icon-editor/index.d.ts +4 -4
  578. package/es/organism/icon-editor/index.d.ts.map +1 -1
  579. package/es/organism/icon-editor/types.d.ts +2 -2
  580. package/es/organism/list-item/index.d.ts +13 -12
  581. package/es/organism/list-item/index.d.ts.map +1 -1
  582. package/es/organism/list-items/index.d.ts +64 -64
  583. package/es/organism/list-items/index.d.ts.map +1 -1
  584. package/es/organism/mobile-intro-popin/index.native.d.ts +2 -2
  585. package/es/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
  586. package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
  587. package/es/organism/mobile-navigation/index.native.d.ts +2 -2
  588. package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
  589. package/es/organism/mobile-navigation/index.native.js.map +1 -1
  590. package/es/organism/mooc/image-slider/index.d.ts +5 -4
  591. package/es/organism/mooc/image-slider/index.d.ts.map +1 -1
  592. package/es/organism/mooc-footer/index.d.ts +8 -7
  593. package/es/organism/mooc-footer/index.d.ts.map +1 -1
  594. package/es/organism/mooc-header/index.d.ts +11 -11
  595. package/es/organism/mooc-header/index.d.ts.map +1 -1
  596. package/es/organism/popin/index.d.ts +2 -1
  597. package/es/organism/popin/index.d.ts.map +1 -1
  598. package/es/organism/resource-browser/index.d.ts +5 -4
  599. package/es/organism/resource-browser/index.d.ts.map +1 -1
  600. package/es/organism/review-congrats/index.d.ts +2 -1
  601. package/es/organism/review-congrats/index.d.ts.map +1 -1
  602. package/es/organism/review-congrats/index.native.d.ts +2 -2
  603. package/es/organism/review-congrats/index.native.d.ts.map +1 -1
  604. package/es/organism/review-header/index.d.ts +2 -1
  605. package/es/organism/review-header/index.d.ts.map +1 -1
  606. package/es/organism/review-header/index.native.d.ts +2 -2
  607. package/es/organism/review-header/index.native.d.ts.map +1 -1
  608. package/es/organism/review-header/types.d.ts +2 -2
  609. package/es/organism/review-no-skills/index.d.ts +3 -2
  610. package/es/organism/review-no-skills/index.d.ts.map +1 -1
  611. package/es/organism/review-no-skills/index.native.d.ts +2 -2
  612. package/es/organism/review-no-skills/index.native.d.ts.map +1 -1
  613. package/es/organism/review-skills/index.d.ts +2 -1
  614. package/es/organism/review-skills/index.d.ts.map +1 -1
  615. package/es/organism/review-skills/index.native.d.ts +2 -2
  616. package/es/organism/review-skills/index.native.d.ts.map +1 -1
  617. package/es/organism/review-skills/prop-types.d.ts +2 -2
  618. package/es/organism/review-slide/index.d.ts +2 -1
  619. package/es/organism/review-slide/index.d.ts.map +1 -1
  620. package/es/organism/review-slide/index.native.d.ts +2 -2
  621. package/es/organism/review-slide/index.native.d.ts.map +1 -1
  622. package/es/organism/review-slide/index.native.js +5 -3
  623. package/es/organism/review-slide/index.native.js.map +1 -1
  624. package/es/organism/review-slide/prop-types.d.ts +14 -14
  625. package/es/organism/review-stacked-slides/index.d.ts +2 -1
  626. package/es/organism/review-stacked-slides/index.d.ts.map +1 -1
  627. package/es/organism/review-stacked-slides/index.native.d.ts +2 -2
  628. package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
  629. package/es/organism/review-stacked-slides/prop-types.d.ts +35 -35
  630. package/es/organism/rewards-form/index.d.ts +22 -22
  631. package/es/organism/rewards-form/index.d.ts.map +1 -1
  632. package/es/organism/search-and-chips-results/index.d.ts +4 -3
  633. package/es/organism/search-and-chips-results/index.d.ts.map +1 -1
  634. package/es/organism/select-opponents/index.d.ts +21 -21
  635. package/es/organism/select-opponents/types.d.ts +20 -20
  636. package/es/organism/settings/index.d.ts +10 -9
  637. package/es/organism/settings/index.d.ts.map +1 -1
  638. package/es/organism/setup-header/index.d.ts +10 -9
  639. package/es/organism/setup-header/index.d.ts.map +1 -1
  640. package/es/organism/sidebar/index.d.ts +24 -47
  641. package/es/organism/sidebar/index.d.ts.map +1 -1
  642. package/es/organism/skill-edition/index.d.ts +8 -8
  643. package/es/organism/skill-edition/index.d.ts.map +1 -1
  644. package/es/organism/skill-edition/types.d.ts +6 -6
  645. package/es/organism/slider/index.d.ts +2 -2
  646. package/es/organism/slider/index.d.ts.map +1 -1
  647. package/es/organism/title-and-input/index.d.ts +47 -47
  648. package/es/organism/title-and-input/types.d.ts +46 -46
  649. package/es/organism/user-preferences/index.d.ts +4 -3
  650. package/es/organism/user-preferences/index.d.ts.map +1 -1
  651. package/es/organism/wizard-contents/index.d.ts +67 -67
  652. package/es/organism/wizard-contents/index.d.ts.map +1 -1
  653. package/es/template/activity/engine-stars.d.ts +2 -1
  654. package/es/template/activity/engine-stars.d.ts.map +1 -1
  655. package/es/template/activity/index.d.ts +9 -8
  656. package/es/template/activity/index.d.ts.map +1 -1
  657. package/es/template/activity/progression-item.d.ts +2 -1
  658. package/es/template/activity/progression-item.d.ts.map +1 -1
  659. package/es/template/activity/stars-summary.d.ts +4 -3
  660. package/es/template/activity/stars-summary.d.ts.map +1 -1
  661. package/es/template/app-player/loading/index.d.ts +83 -83
  662. package/es/template/app-player/loading/index.d.ts.map +1 -1
  663. package/es/template/app-player/player/index.d.ts +168 -168
  664. package/es/template/app-player/player/index.d.ts.map +1 -1
  665. package/es/template/app-player/player/slides/footer/index.d.ts +4 -3
  666. package/es/template/app-player/player/slides/footer/index.d.ts.map +1 -1
  667. package/es/template/app-player/player/slides/header/index.d.ts +4 -3
  668. package/es/template/app-player/player/slides/header/learner.d.ts +2 -1
  669. package/es/template/app-player/player/slides/header/learner.d.ts.map +1 -1
  670. package/es/template/app-player/player/slides/header/lives.d.ts +2 -1
  671. package/es/template/app-player/player/slides/header/lives.d.ts.map +1 -1
  672. package/es/template/app-player/player/slides/header/microlearning.d.ts +2 -1
  673. package/es/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
  674. package/es/template/app-player/player/slides/index.d.ts +110 -110
  675. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  676. package/es/template/app-player/player/tourguide/index.d.ts +20 -20
  677. package/es/template/app-player/player/tourguide/index.d.ts.map +1 -1
  678. package/es/template/app-player/popin-correction/index.d.ts +87 -87
  679. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  680. package/es/template/app-player/popin-end/index.d.ts +94 -94
  681. package/es/template/app-player/popin-end/index.d.ts.map +1 -1
  682. package/es/template/app-player/popin-end/summary.d.ts +11 -10
  683. package/es/template/app-player/popin-end/summary.d.ts.map +1 -1
  684. package/es/template/app-player/popin-header/index.d.ts +8 -7
  685. package/es/template/app-player/popin-header/index.d.ts.map +1 -1
  686. package/es/template/app-player/popin-no-access/index.d.ts +2 -1
  687. package/es/template/app-player/popin-no-access/index.d.ts.map +1 -1
  688. package/es/template/app-review/demo-ts/index.native.d.ts +2 -2
  689. package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
  690. package/es/template/app-review/index.d.ts +119 -119
  691. package/es/template/app-review/index.native.d.ts +2 -2
  692. package/es/template/app-review/index.native.d.ts.map +1 -1
  693. package/es/template/app-review/player/background-review.d.ts +2 -1
  694. package/es/template/app-review/player/background-review.d.ts.map +1 -1
  695. package/es/template/app-review/player/index.d.ts +2 -1
  696. package/es/template/app-review/player/index.d.ts.map +1 -1
  697. package/es/template/app-review/player/index.native.d.ts +2 -2
  698. package/es/template/app-review/player/index.native.d.ts.map +1 -1
  699. package/es/template/app-review/player/prop-types.d.ts +118 -118
  700. package/es/template/app-review/prop-types.d.ts +118 -118
  701. package/es/template/app-review/skills/index.d.ts +2 -1
  702. package/es/template/app-review/skills/index.d.ts.map +1 -1
  703. package/es/template/app-review/skills/index.native.d.ts +2 -2
  704. package/es/template/app-review/skills/index.native.d.ts.map +1 -1
  705. package/es/template/app-review/skills/prop-types.d.ts +2 -2
  706. package/es/template/app-review/template-context.d.ts +2 -2
  707. package/es/template/app-review/template-context.d.ts.map +1 -1
  708. package/es/template/back-office/brand-create/index.d.ts +10 -9
  709. package/es/template/back-office/brand-list/index.d.ts +10 -9
  710. package/es/template/back-office/brand-update/index.d.ts +338 -344
  711. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  712. package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
  713. package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
  714. package/es/template/back-office/dashboard-preview/index.d.ts +10 -9
  715. package/es/template/back-office/layout/index.d.ts +10 -9
  716. package/es/template/battle-requests/index.d.ts +4 -3
  717. package/es/template/battle-requests/index.d.ts.map +1 -1
  718. package/es/template/certification-detail/index.d.ts +88 -88
  719. package/es/template/certification-detail/index.d.ts.map +1 -1
  720. package/es/template/certifications/index.d.ts +12 -11
  721. package/es/template/certifications/index.d.ts.map +1 -1
  722. package/es/template/cockpit/jw-uploader/index.d.ts +2 -1
  723. package/es/template/cockpit/jw-uploader/index.d.ts.map +1 -1
  724. package/es/template/common/authors/index.d.ts +5 -5
  725. package/es/template/common/authors/index.d.ts.map +1 -1
  726. package/es/template/common/coorp-header/index.d.ts +2 -1
  727. package/es/template/common/coorp-header/index.d.ts.map +1 -1
  728. package/es/template/common/dashboard/index.d.ts +165 -165
  729. package/es/template/common/dashboard/index.d.ts.map +1 -1
  730. package/es/template/common/discipline/index.d.ts +25 -24
  731. package/es/template/common/discipline/index.d.ts.map +1 -1
  732. package/es/template/common/faq-article-page/index.d.ts +4 -4
  733. package/es/template/common/faq-article-page/index.d.ts.map +1 -1
  734. package/es/template/common/faq-article-page/types.d.ts +2 -2
  735. package/es/template/common/faq-cards-page/index.d.ts +4 -4
  736. package/es/template/common/faq-cards-page/index.d.ts.map +1 -1
  737. package/es/template/common/faq-cards-page/types.d.ts +2 -2
  738. package/es/template/common/faq-page/index.d.ts +6 -6
  739. package/es/template/common/faq-page/index.d.ts.map +1 -1
  740. package/es/template/common/faq-page/types.d.ts +4 -4
  741. package/es/template/common/privacy-policy-page/index.d.ts +6 -6
  742. package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
  743. package/es/template/common/privacy-policy-page/types.d.ts +4 -4
  744. package/es/template/common/search-page/index.d.ts +117 -117
  745. package/es/template/common/search-page/index.d.ts.map +1 -1
  746. package/es/template/external-course/index.d.ts +83 -83
  747. package/es/template/external-course/index.d.ts.map +1 -1
  748. package/es/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
  749. package/es/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
  750. package/es/template/mobile-login/confirm-email-sent/index.native.js +23 -10
  751. package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
  752. package/es/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
  753. package/es/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
  754. package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
  755. package/es/template/mobile-login/receive-email/index.native.d.ts +2 -2
  756. package/es/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
  757. package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
  758. package/es/template/mobile-login/welcome/index.native.d.ts +2 -2
  759. package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  760. package/es/template/mobile-login/welcome/index.native.js +25 -12
  761. package/es/template/mobile-login/welcome/index.native.js.map +1 -1
  762. package/es/template/my-learning/index.d.ts +11 -10
  763. package/es/template/my-learning/index.d.ts.map +1 -1
  764. package/es/template/playlist-detail/index.d.ts +98 -98
  765. package/es/template/playlist-detail/index.d.ts.map +1 -1
  766. package/es/template/review-dashboard-skills/index.d.ts +4 -3
  767. package/es/template/review-dashboard-skills/index.d.ts.map +1 -1
  768. package/es/template/skill-detail/all-courses.d.ts +11 -11
  769. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  770. package/es/template/skill-detail/continue-learning.d.ts +4 -4
  771. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  772. package/es/template/skill-detail/index.d.ts +8 -8
  773. package/es/template/skill-detail/index.d.ts.map +1 -1
  774. package/es/template/teams-dashboard/index.d.ts +11 -10
  775. package/es/template/teams-dashboard/index.d.ts.map +1 -1
  776. package/es/util/button-icons.d.ts +2 -2
  777. package/es/util/get-resized-image.d.ts +2 -2
  778. package/es/util/get-resized-image.d.ts.map +1 -1
  779. package/es/util/image.d.ts +1 -1
  780. package/es/util/image.d.ts.map +1 -1
  781. package/es/util/proptypes.d.ts +1 -1
  782. package/es/util/proptypes.d.ts.map +1 -1
  783. package/es/variables/colors.d.ts +1 -1
  784. package/es/variables/colors.js +1 -1
  785. package/es/variables/colors.js.map +1 -1
  786. package/lib/atom/autocomplete/index.d.ts +5 -4
  787. package/lib/atom/autocomplete/index.d.ts.map +1 -1
  788. package/lib/atom/avatar/index.d.ts +2 -1
  789. package/lib/atom/avatar/index.d.ts.map +1 -1
  790. package/lib/atom/battle-opponent/index.d.ts +2 -2
  791. package/lib/atom/battle-opponent/index.d.ts.map +1 -1
  792. package/lib/atom/battle-opponent/index.js +2 -4
  793. package/lib/atom/battle-opponent/index.js.map +1 -1
  794. package/lib/atom/button/index.d.ts +2 -1
  795. package/lib/atom/button/index.d.ts.map +1 -1
  796. package/lib/atom/button/index.native.d.ts +2 -2
  797. package/lib/atom/button/index.native.d.ts.map +1 -1
  798. package/lib/atom/button-link/index.d.ts +4 -4
  799. package/lib/atom/button-link/index.d.ts.map +1 -1
  800. package/lib/atom/button-link/types.d.ts +4 -4
  801. package/lib/atom/button-link/types.d.ts.map +1 -1
  802. package/lib/atom/button-link/types.js.map +1 -1
  803. package/lib/atom/button-link-icon/index.d.ts +2 -1
  804. package/lib/atom/button-link-icon/index.d.ts.map +1 -1
  805. package/lib/atom/button-menu/index.d.ts +5 -5
  806. package/lib/atom/button-menu/index.d.ts.map +1 -1
  807. package/lib/atom/button-menu/types.d.ts +4 -4
  808. package/lib/atom/card-image-preview/index.d.ts +2 -1
  809. package/lib/atom/card-image-preview/index.d.ts.map +1 -1
  810. package/lib/atom/catalog-section/index.d.ts +2 -1
  811. package/lib/atom/catalog-section/index.d.ts.map +1 -1
  812. package/lib/atom/centered-text/index.d.ts +2 -1
  813. package/lib/atom/centered-text/index.d.ts.map +1 -1
  814. package/lib/atom/checkbox/index.d.ts +2 -1
  815. package/lib/atom/checkbox/index.d.ts.map +1 -1
  816. package/lib/atom/checkbox-with-title/index.d.ts +3 -2
  817. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  818. package/lib/atom/chip/index.d.ts +3 -2
  819. package/lib/atom/chip/index.d.ts.map +1 -1
  820. package/lib/atom/chip/index.js +2 -2
  821. package/lib/atom/chip/index.js.map +1 -1
  822. package/lib/atom/chips/index.d.ts +2 -1
  823. package/lib/atom/chips/index.d.ts.map +1 -1
  824. package/lib/atom/choice/index.native.d.ts +2 -2
  825. package/lib/atom/choice/index.native.d.ts.map +1 -1
  826. package/lib/atom/choice/index.native.js +4 -2
  827. package/lib/atom/choice/index.native.js.map +1 -1
  828. package/lib/atom/circular-progress-bar/index.d.ts +2 -2
  829. package/lib/atom/circular-progress-bar/index.d.ts.map +1 -1
  830. package/lib/atom/clue/index.d.ts +3 -3
  831. package/lib/atom/clue/index.d.ts.map +1 -1
  832. package/lib/atom/content-badge/index.d.ts +2 -1
  833. package/lib/atom/content-badge/index.d.ts.map +1 -1
  834. package/lib/atom/cta/index.d.ts +2 -2
  835. package/lib/atom/cta/index.d.ts.map +1 -1
  836. package/lib/atom/difficulty-level/index.d.ts +4 -3
  837. package/lib/atom/difficulty-level/index.d.ts.map +1 -1
  838. package/lib/atom/drag-and-drop/index.d.ts +1 -1
  839. package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
  840. package/lib/atom/empty-search-result/index.d.ts +2 -1
  841. package/lib/atom/empty-search-result/index.d.ts.map +1 -1
  842. package/lib/atom/gradient/index.native.d.ts +2 -2
  843. package/lib/atom/gradient/index.native.d.ts.map +1 -1
  844. package/lib/atom/gradient/index.native.js +29 -8
  845. package/lib/atom/gradient/index.native.js.map +1 -1
  846. package/lib/atom/header-back-button/index.native.d.ts +2 -2
  847. package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
  848. package/lib/atom/header-back-icon/index.native.d.ts +2 -2
  849. package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
  850. package/lib/atom/html/index.native.d.ts +2 -2
  851. package/lib/atom/html/index.native.d.ts.map +1 -1
  852. package/lib/atom/html/index.native.js +28 -21
  853. package/lib/atom/html/index.native.js.map +1 -1
  854. package/lib/atom/icon/index.d.ts +1 -1
  855. package/lib/atom/icon/index.js +2 -2
  856. package/lib/atom/icon/index.js.map +1 -1
  857. package/lib/atom/image-background/index.native.d.ts +2 -2
  858. package/lib/atom/image-background/index.native.d.ts.map +1 -1
  859. package/lib/atom/image-background/index.native.js.map +1 -1
  860. package/lib/atom/input-checkbox/index.d.ts +2 -1
  861. package/lib/atom/input-checkbox/index.d.ts.map +1 -1
  862. package/lib/atom/input-color/index.d.ts +2 -1
  863. package/lib/atom/input-color/index.d.ts.map +1 -1
  864. package/lib/atom/input-doublestep/index.d.ts +2 -2
  865. package/lib/atom/input-doublestep/index.d.ts.map +1 -1
  866. package/lib/atom/input-file-draggable/index.d.ts +11 -10
  867. package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
  868. package/lib/atom/input-html/index.d.ts +2 -1
  869. package/lib/atom/input-html/index.d.ts.map +1 -1
  870. package/lib/atom/input-html/input-preview.d.ts +2 -1
  871. package/lib/atom/input-html/input-preview.d.ts.map +1 -1
  872. package/lib/atom/input-readonly/index.d.ts +2 -1
  873. package/lib/atom/input-readonly/index.d.ts.map +1 -1
  874. package/lib/atom/input-search/index.d.ts +2 -1
  875. package/lib/atom/input-search/index.d.ts.map +1 -1
  876. package/lib/atom/input-select/index.d.ts +2 -2
  877. package/lib/atom/input-select/index.d.ts.map +1 -1
  878. package/lib/atom/input-switch/index.d.ts +2 -1
  879. package/lib/atom/input-switch/index.d.ts.map +1 -1
  880. package/lib/atom/input-text/index.d.ts +2 -1
  881. package/lib/atom/input-text/index.d.ts.map +1 -1
  882. package/lib/atom/input-text-with-title/index.d.ts +2 -1
  883. package/lib/atom/input-text-with-title/index.d.ts.map +1 -1
  884. package/lib/atom/input-textarea/index.d.ts +2 -1
  885. package/lib/atom/input-textarea/index.d.ts.map +1 -1
  886. package/lib/atom/label/index.d.ts +3 -2
  887. package/lib/atom/label/index.d.ts.map +1 -1
  888. package/lib/atom/life/index.d.ts +2 -1
  889. package/lib/atom/life/index.d.ts.map +1 -1
  890. package/lib/atom/link/index.d.ts +2 -1
  891. package/lib/atom/link/index.d.ts.map +1 -1
  892. package/lib/atom/loader/index.d.ts +3 -2
  893. package/lib/atom/loader/index.d.ts.map +1 -1
  894. package/lib/atom/loader/index.native.d.ts +2 -2
  895. package/lib/atom/loader/index.native.d.ts.map +1 -1
  896. package/lib/atom/loader/index.native.js +5 -1
  897. package/lib/atom/loader/index.native.js.map +1 -1
  898. package/lib/atom/lottie-wrapper/index.d.ts +2 -1
  899. package/lib/atom/lottie-wrapper/index.d.ts.map +1 -1
  900. package/lib/atom/notification/index.d.ts +2 -1
  901. package/lib/atom/notification/index.d.ts.map +1 -1
  902. package/lib/atom/picture/index.d.ts +2 -1
  903. package/lib/atom/picture/index.d.ts.map +1 -1
  904. package/lib/atom/picture-background/index.d.ts +5 -4
  905. package/lib/atom/picture-background/index.d.ts.map +1 -1
  906. package/lib/atom/promo-code/index.d.ts +2 -1
  907. package/lib/atom/promo-code/index.d.ts.map +1 -1
  908. package/lib/atom/provider/index.d.ts +1 -0
  909. package/lib/atom/provider/index.d.ts.map +1 -1
  910. package/lib/atom/provider/web-context.d.ts +2 -2
  911. package/lib/atom/provider/web-context.d.ts.map +1 -1
  912. package/lib/atom/radio-group/index.d.ts +4 -3
  913. package/lib/atom/radio-group/index.d.ts.map +1 -1
  914. package/lib/atom/radio-group/item.d.ts +2 -1
  915. package/lib/atom/radio-group/item.d.ts.map +1 -1
  916. package/lib/atom/radio-with-title/index.d.ts +13 -13
  917. package/lib/atom/radio-with-title/types.d.ts +12 -12
  918. package/lib/atom/range/handle.d.ts +2 -1
  919. package/lib/atom/range/handle.d.ts.map +1 -1
  920. package/lib/atom/range/index.d.ts +2 -2
  921. package/lib/atom/range/index.d.ts.map +1 -1
  922. package/lib/atom/resource-miniature/index.d.ts +2 -1
  923. package/lib/atom/resource-miniature/index.d.ts.map +1 -1
  924. package/lib/atom/review-presentation/index.d.ts +2 -1
  925. package/lib/atom/review-presentation/index.d.ts.map +1 -1
  926. package/lib/atom/review-presentation/index.native.d.ts +2 -2
  927. package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
  928. package/lib/atom/select/index.d.ts +14 -13
  929. package/lib/atom/select/index.d.ts.map +1 -1
  930. package/lib/atom/select-icon/index.d.ts +2 -1
  931. package/lib/atom/select-icon/index.d.ts.map +1 -1
  932. package/lib/atom/select-modal/index.native.d.ts +2 -2
  933. package/lib/atom/select-modal/index.native.d.ts.map +1 -1
  934. package/lib/atom/select-modal/index.native.js +4 -3
  935. package/lib/atom/select-modal/index.native.js.map +1 -1
  936. package/lib/atom/slide/index.d.ts +2 -1
  937. package/lib/atom/slide/index.d.ts.map +1 -1
  938. package/lib/atom/social-link/index.d.ts +2 -1
  939. package/lib/atom/social-link/index.d.ts.map +1 -1
  940. package/lib/atom/space/index.native.d.ts +2 -2
  941. package/lib/atom/space/index.native.d.ts.map +1 -1
  942. package/lib/atom/spinner/index.d.ts +2 -1
  943. package/lib/atom/spinner/index.d.ts.map +1 -1
  944. package/lib/atom/status-item/index.d.ts +2 -2
  945. package/lib/atom/status-item/index.d.ts.map +1 -1
  946. package/lib/atom/status-item/index.native.d.ts +2 -2
  947. package/lib/atom/status-item/index.native.d.ts.map +1 -1
  948. package/lib/atom/tab/index.d.ts +5 -4
  949. package/lib/atom/tab/index.d.ts.map +1 -1
  950. package/lib/atom/tab-content/index.d.ts +2 -1
  951. package/lib/atom/tab-content/index.d.ts.map +1 -1
  952. package/lib/atom/tag/index.d.ts +16 -16
  953. package/lib/atom/tag/index.d.ts.map +1 -1
  954. package/lib/atom/text/index.native.d.ts +1 -1
  955. package/lib/atom/text/index.native.d.ts.map +1 -1
  956. package/lib/atom/title/index.d.ts +14 -14
  957. package/lib/atom/title/index.d.ts.map +1 -1
  958. package/lib/atom/tooltip/index.d.ts +6 -5
  959. package/lib/atom/tooltip/index.d.ts.map +1 -1
  960. package/lib/atom/video-upload/index.d.ts +2 -1
  961. package/lib/atom/video-upload/index.d.ts.map +1 -1
  962. package/lib/atom/wizard-steps/index.d.ts +4 -3
  963. package/lib/atom/wizard-steps/index.d.ts.map +1 -1
  964. package/lib/globals.d.js.map +1 -1
  965. package/lib/hoc/animation/index.d.ts +1 -1
  966. package/lib/hoc/animation-scheduler/index.d.ts +1 -1
  967. package/lib/hoc/modal/index.native.d.ts +1 -1
  968. package/lib/hoc/modal/index.native.d.ts.map +1 -1
  969. package/lib/hoc/modal/select/index.native.d.ts +2 -2
  970. package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
  971. package/lib/hoc/modal/select-item/index.native.d.ts +2 -2
  972. package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
  973. package/lib/hoc/swapper/index.d.ts +3 -2
  974. package/lib/hoc/swapper/index.d.ts.map +1 -1
  975. package/lib/hoc/touchable/index.native.d.ts +1 -1
  976. package/lib/hoc/touchable/index.native.d.ts.map +1 -1
  977. package/lib/hoc/touchable/index.native.js +13 -2
  978. package/lib/hoc/touchable/index.native.js.map +1 -1
  979. package/lib/hoc/transition/index.d.ts +1 -1
  980. package/lib/molecule/add-to-my-list/index.d.ts +4 -3
  981. package/lib/molecule/add-to-my-list/index.d.ts.map +1 -1
  982. package/lib/molecule/answer/index.d.ts +2 -1
  983. package/lib/molecule/answer/index.d.ts.map +1 -1
  984. package/lib/molecule/answer/index.native.d.ts +2 -2
  985. package/lib/molecule/answer/index.native.d.ts.map +1 -1
  986. package/lib/molecule/answer/prop-types.d.ts +10 -10
  987. package/lib/molecule/audio/index.d.ts +1 -1
  988. package/lib/molecule/audio/index.d.ts.map +1 -1
  989. package/lib/molecule/banner/index.d.ts +4 -3
  990. package/lib/molecule/banner/index.d.ts.map +1 -1
  991. package/lib/molecule/base-modal/index.d.ts +4 -3
  992. package/lib/molecule/base-modal/index.d.ts.map +1 -1
  993. package/lib/molecule/battle-opponent-list/index.d.ts +4 -4
  994. package/lib/molecule/battle-opponent-list/index.d.ts.map +1 -1
  995. package/lib/molecule/battle-opponent-list/prop-types.d.ts +2 -2
  996. package/lib/molecule/battle-request/index.d.ts +2 -1
  997. package/lib/molecule/battle-request/index.d.ts.map +1 -1
  998. package/lib/molecule/brand-card/description.d.ts +2 -1
  999. package/lib/molecule/brand-card/description.d.ts.map +1 -1
  1000. package/lib/molecule/brand-card/index.d.ts +2 -1
  1001. package/lib/molecule/brand-card/index.d.ts.map +1 -1
  1002. package/lib/molecule/brand-card-create/index.d.ts +2 -1
  1003. package/lib/molecule/brand-card-create/index.d.ts.map +1 -1
  1004. package/lib/molecule/brand-create-form/index.d.ts +2 -1
  1005. package/lib/molecule/brand-create-form/index.d.ts.map +1 -1
  1006. package/lib/molecule/brand-download-box/index.d.ts +2 -1
  1007. package/lib/molecule/brand-download-box/index.d.ts.map +1 -1
  1008. package/lib/molecule/brand-form-group/index.d.ts +3 -2
  1009. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  1010. package/lib/molecule/brand-logo/index.native.d.ts +2 -2
  1011. package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
  1012. package/lib/molecule/brand-logo/index.native.js.map +1 -1
  1013. package/lib/molecule/brand-tabs/index.d.ts +4 -3
  1014. package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
  1015. package/lib/molecule/brand-upload-box/index.d.ts +1 -1
  1016. package/lib/molecule/brand-upload-box/index.d.ts.map +1 -1
  1017. package/lib/molecule/breadcrumbs/index.d.ts +6 -5
  1018. package/lib/molecule/breadcrumbs/index.d.ts.map +1 -1
  1019. package/lib/molecule/bulk-infos/index.d.ts +2 -2
  1020. package/lib/molecule/bulk-infos/index.d.ts.map +1 -1
  1021. package/lib/molecule/bulk-progress-bar/index.d.ts +2 -2
  1022. package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  1023. package/lib/molecule/bullet-point-menu-button/index.d.ts +5 -5
  1024. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  1025. package/lib/molecule/bullet-point-menu-button/types.d.ts +3 -3
  1026. package/lib/molecule/button-menu-action/index.d.ts +8 -8
  1027. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  1028. package/lib/molecule/button-menu-action/types.d.ts +6 -6
  1029. package/lib/molecule/card/customer.d.ts +3 -2
  1030. package/lib/molecule/card/customer.d.ts.map +1 -1
  1031. package/lib/molecule/card/favorite.d.ts +4 -3
  1032. package/lib/molecule/card/favorite.d.ts.map +1 -1
  1033. package/lib/molecule/card/index.d.ts +1 -1
  1034. package/lib/molecule/card/notification.d.ts +2 -1
  1035. package/lib/molecule/card/notification.d.ts.map +1 -1
  1036. package/lib/molecule/card/selectable.d.ts +2 -1
  1037. package/lib/molecule/card/selectable.d.ts.map +1 -1
  1038. package/lib/molecule/card-congrats/index.native.d.ts +2 -2
  1039. package/lib/molecule/card-congrats/index.native.d.ts.map +1 -1
  1040. package/lib/molecule/card-content/index.d.ts +8 -7
  1041. package/lib/molecule/card-content/index.d.ts.map +1 -1
  1042. package/lib/molecule/card-with-button/index.d.ts +3 -2
  1043. package/lib/molecule/card-with-button/index.d.ts.map +1 -1
  1044. package/lib/molecule/certification-card/index.d.ts +2 -1
  1045. package/lib/molecule/certification-card/index.d.ts.map +1 -1
  1046. package/lib/molecule/cm-popin/index.d.ts +2 -1
  1047. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  1048. package/lib/molecule/cm-popin/index.native.d.ts +2 -2
  1049. package/lib/molecule/cm-popin/index.native.d.ts.map +1 -1
  1050. package/lib/molecule/cm-popin/types.d.ts +81 -81
  1051. package/lib/molecule/cookie-banner/index.d.ts +2 -1
  1052. package/lib/molecule/cookie-banner/index.d.ts.map +1 -1
  1053. package/lib/molecule/coorp-manager-roles/index.d.ts +4 -3
  1054. package/lib/molecule/coorp-manager-roles/index.d.ts.map +1 -1
  1055. package/lib/molecule/coorpmanager-base-banner/index.d.ts +2 -1
  1056. package/lib/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
  1057. package/lib/molecule/course-section/index.d.ts +4 -3
  1058. package/lib/molecule/course-section/index.d.ts.map +1 -1
  1059. package/lib/molecule/course-sections/index.d.ts +6 -5
  1060. package/lib/molecule/course-sections/index.d.ts.map +1 -1
  1061. package/lib/molecule/dashboard/cards-list/index.d.ts +10 -10
  1062. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  1063. package/lib/molecule/discipline-associated-skills/index.d.ts +4 -3
  1064. package/lib/molecule/discipline-associated-skills/index.d.ts.map +1 -1
  1065. package/lib/molecule/discipline-cta/index.d.ts +2 -1
  1066. package/lib/molecule/discipline-cta/index.d.ts.map +1 -1
  1067. package/lib/molecule/discipline-header/index.d.ts +3 -3
  1068. package/lib/molecule/discipline-header/index.d.ts.map +1 -1
  1069. package/lib/molecule/discipline-partners/index.d.ts +6 -5
  1070. package/lib/molecule/discipline-partners/index.d.ts.map +1 -1
  1071. package/lib/molecule/discipline-scope/index.d.ts +10 -9
  1072. package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
  1073. package/lib/molecule/drag-and-drop/index.d.ts +6 -5
  1074. package/lib/molecule/drag-and-drop/index.d.ts.map +1 -1
  1075. package/lib/molecule/drag-and-drop/overlay.d.ts +2 -1
  1076. package/lib/molecule/drag-and-drop/overlay.d.ts.map +1 -1
  1077. package/lib/molecule/drag-and-drop/placeholder.d.ts +2 -1
  1078. package/lib/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
  1079. package/lib/molecule/drag-and-drop/upload-report.d.ts +5 -4
  1080. package/lib/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
  1081. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
  1082. package/lib/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
  1083. package/lib/molecule/draggable/index.d.ts +2 -1
  1084. package/lib/molecule/draggable/index.d.ts.map +1 -1
  1085. package/lib/molecule/draggable-list/index.d.ts +15 -14
  1086. package/lib/molecule/draggable-list/index.d.ts.map +1 -1
  1087. package/lib/molecule/errors-table/index.d.ts +7 -7
  1088. package/lib/molecule/errors-table/index.d.ts.map +1 -1
  1089. package/lib/molecule/errors-table/types.d.ts +5 -5
  1090. package/lib/molecule/expandable-item/index.d.ts +2 -2
  1091. package/lib/molecule/expandable-item/index.d.ts.map +1 -1
  1092. package/lib/molecule/expandable-list/index.d.ts +4 -4
  1093. package/lib/molecule/expandable-list/index.d.ts.map +1 -1
  1094. package/lib/molecule/expandable-list/types.d.ts +2 -2
  1095. package/lib/molecule/expandible-actionable-table/index.d.ts +18 -18
  1096. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  1097. package/lib/molecule/expandible-actionable-table/types.d.ts +16 -16
  1098. package/lib/molecule/external-content-button/index.d.ts +1 -1
  1099. package/lib/molecule/external-content-button/index.d.ts.map +1 -1
  1100. package/lib/molecule/external-content-viewer/index.d.ts +2 -1
  1101. package/lib/molecule/external-content-viewer/index.d.ts.map +1 -1
  1102. package/lib/molecule/feedback/index.d.ts +2 -1
  1103. package/lib/molecule/feedback/index.d.ts.map +1 -1
  1104. package/lib/molecule/filters/filters-wrapper.d.ts +4 -3
  1105. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  1106. package/lib/molecule/filters/index.d.ts +11 -11
  1107. package/lib/molecule/filters/index.d.ts.map +1 -1
  1108. package/lib/molecule/forum/forum-comment/index.d.ts +2 -1
  1109. package/lib/molecule/forum/forum-comment/index.d.ts.map +1 -1
  1110. package/lib/molecule/forum/forum-post/index.d.ts +2 -1
  1111. package/lib/molecule/forum/forum-post/index.d.ts.map +1 -1
  1112. package/lib/molecule/forum/forum-thread/index.d.ts +2 -1
  1113. package/lib/molecule/forum/forum-thread/index.d.ts.map +1 -1
  1114. package/lib/molecule/go1-banner/index.d.ts +2 -1
  1115. package/lib/molecule/go1-banner/index.d.ts.map +1 -1
  1116. package/lib/molecule/hero/index.d.ts +2 -2
  1117. package/lib/molecule/hero/index.d.ts.map +1 -1
  1118. package/lib/molecule/icon-picker-modal/index.d.ts +2 -1
  1119. package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
  1120. package/lib/molecule/icon-picker-modal/index.js +2 -2
  1121. package/lib/molecule/icon-picker-modal/index.js.map +1 -1
  1122. package/lib/molecule/icon-preview/index.d.ts +1 -1
  1123. package/lib/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
  1124. package/lib/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
  1125. package/lib/molecule/learner-skill-card/index.d.ts +2 -1
  1126. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
  1127. package/lib/molecule/learning-priority-card/index.d.ts +2 -2
  1128. package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
  1129. package/lib/molecule/learning-priority-modal/index.d.ts +8 -7
  1130. package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -1
  1131. package/lib/molecule/learning-priority-setup-item/index.d.ts +2 -1
  1132. package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
  1133. package/lib/molecule/learning-profile-radar-chart/index.d.ts +13 -13
  1134. package/lib/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  1135. package/lib/molecule/learning-profile-radar-chart/types.d.ts +8 -8
  1136. package/lib/molecule/list-badges/index.d.ts +4 -3
  1137. package/lib/molecule/list-badges/index.d.ts.map +1 -1
  1138. package/lib/molecule/login-alert/index.d.ts +2 -1
  1139. package/lib/molecule/login-alert/index.d.ts.map +1 -1
  1140. package/lib/molecule/menu-links/index.d.ts +4 -4
  1141. package/lib/molecule/menu-links/index.d.ts.map +1 -1
  1142. package/lib/molecule/menu-links/types.d.ts +2 -2
  1143. package/lib/molecule/menu-list/index.d.ts +4 -3
  1144. package/lib/molecule/menu-list/index.d.ts.map +1 -1
  1145. package/lib/molecule/message-popin/index.d.ts +2 -1
  1146. package/lib/molecule/message-popin/index.d.ts.map +1 -1
  1147. package/lib/molecule/modal/index.d.ts +2 -1
  1148. package/lib/molecule/modal/index.d.ts.map +1 -1
  1149. package/lib/molecule/module-bubble/index.d.ts +2 -1
  1150. package/lib/molecule/module-bubble/index.d.ts.map +1 -1
  1151. package/lib/molecule/module-card/index.d.ts +2 -1
  1152. package/lib/molecule/module-card/index.d.ts.map +1 -1
  1153. package/lib/molecule/multi-filter-panel/index.d.ts +11 -11
  1154. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  1155. package/lib/molecule/multi-filter-panel/prop-types.d.ts +9 -9
  1156. package/lib/molecule/news/index.d.ts +2 -1
  1157. package/lib/molecule/news/index.d.ts.map +1 -1
  1158. package/lib/molecule/notification-banner/index.d.ts +2 -1
  1159. package/lib/molecule/notification-banner/index.d.ts.map +1 -1
  1160. package/lib/molecule/pagination/index.d.ts +2 -1
  1161. package/lib/molecule/pagination/index.d.ts.map +1 -1
  1162. package/lib/molecule/payment-form/index.d.ts +1 -1
  1163. package/lib/molecule/payment-form/index.d.ts.map +1 -1
  1164. package/lib/molecule/pdf/index.d.ts +2 -1
  1165. package/lib/molecule/pdf/index.d.ts.map +1 -1
  1166. package/lib/molecule/playlist-card/index.d.ts +4 -3
  1167. package/lib/molecule/playlist-card/index.d.ts.map +1 -1
  1168. package/lib/molecule/playlist-detail-cover/index.d.ts +4 -3
  1169. package/lib/molecule/playlist-detail-cover/index.d.ts.map +1 -1
  1170. package/lib/molecule/popin/index.d.ts +2 -1
  1171. package/lib/molecule/popin/index.d.ts.map +1 -1
  1172. package/lib/molecule/privacy-policy-contact/index.d.ts +2 -2
  1173. package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -1
  1174. package/lib/molecule/product-card/index.d.ts +2 -1
  1175. package/lib/molecule/product-card/index.d.ts.map +1 -1
  1176. package/lib/molecule/progress-bar/index.d.ts +3 -2
  1177. package/lib/molecule/progress-bar/index.d.ts.map +1 -1
  1178. package/lib/molecule/progress-wrapper/index.d.ts +4 -3
  1179. package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
  1180. package/lib/molecule/questions/drop-down/index.d.ts +5 -4
  1181. package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
  1182. package/lib/molecule/questions/free-text/index.d.ts +2 -1
  1183. package/lib/molecule/questions/free-text/index.d.ts.map +1 -1
  1184. package/lib/molecule/questions/free-text/index.native.d.ts +2 -2
  1185. package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
  1186. package/lib/molecule/questions/free-text/index.native.js +4 -2
  1187. package/lib/molecule/questions/free-text/index.native.js.map +1 -1
  1188. package/lib/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
  1189. package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
  1190. package/lib/molecule/questions/mobile/draggable/index.native.js +1 -1
  1191. package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
  1192. package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
  1193. package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
  1194. package/lib/molecule/questions/mobile/slider/index.native.js +12 -28
  1195. package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
  1196. package/lib/molecule/questions/mobile/switch/index.native.d.ts +2 -2
  1197. package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
  1198. package/lib/molecule/questions/mobile/template/index.native.d.ts +2 -2
  1199. package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
  1200. package/lib/molecule/questions/mobile/template/index.native.js +13 -3
  1201. package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
  1202. package/lib/molecule/questions/qcm/index.d.ts +4 -3
  1203. package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
  1204. package/lib/molecule/questions/qcm-drag/index.d.ts +6 -5
  1205. package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  1206. package/lib/molecule/questions/qcm-graphic/index.d.ts +4 -3
  1207. package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  1208. package/lib/molecule/questions/question-range/index.d.ts +2 -1
  1209. package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
  1210. package/lib/molecule/questions/template/index.d.ts +7 -17
  1211. package/lib/molecule/questions/template/index.d.ts.map +1 -1
  1212. package/lib/molecule/questions/types.d.ts +1 -1
  1213. package/lib/molecule/questions/types.d.ts.map +1 -1
  1214. package/lib/molecule/questions/types.js.map +1 -1
  1215. package/lib/molecule/quick-access-card/index.d.ts +2 -1
  1216. package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
  1217. package/lib/molecule/quick-access-cards-group/index.d.ts +4 -3
  1218. package/lib/molecule/quick-access-cards-group/index.d.ts.map +1 -1
  1219. package/lib/molecule/quick-filters/index.d.ts +5 -5
  1220. package/lib/molecule/quick-filters/types.d.ts +4 -4
  1221. package/lib/molecule/resource-player/index.d.ts +4 -4
  1222. package/lib/molecule/resource-player/index.d.ts.map +1 -1
  1223. package/lib/molecule/review-card-congrats/index.d.ts +2 -1
  1224. package/lib/molecule/review-card-congrats/index.d.ts.map +1 -1
  1225. package/lib/molecule/review-correction-popin/index.d.ts +2 -1
  1226. package/lib/molecule/review-correction-popin/index.d.ts.map +1 -1
  1227. package/lib/molecule/review-correction-popin/index.native.d.ts +2 -2
  1228. package/lib/molecule/review-correction-popin/index.native.d.ts.map +1 -1
  1229. package/lib/molecule/review-header-steps/index.d.ts +2 -1
  1230. package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
  1231. package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
  1232. package/lib/molecule/scope-content/index.d.ts +9 -8
  1233. package/lib/molecule/scope-content/index.d.ts.map +1 -1
  1234. package/lib/molecule/scope-tabs/index.d.ts +3 -2
  1235. package/lib/molecule/scope-tabs/index.d.ts.map +1 -1
  1236. package/lib/molecule/search-form/index.d.ts +2 -1
  1237. package/lib/molecule/search-form/index.d.ts.map +1 -1
  1238. package/lib/molecule/select-multiple/index.d.ts +5 -4
  1239. package/lib/molecule/select-multiple/index.d.ts.map +1 -1
  1240. package/lib/molecule/setup-cohort-item/index.d.ts +6 -5
  1241. package/lib/molecule/setup-cohort-item/index.d.ts.map +1 -1
  1242. package/lib/molecule/setup-section/index.d.ts +5 -4
  1243. package/lib/molecule/setup-section/index.d.ts.map +1 -1
  1244. package/lib/molecule/setup-sections/index.d.ts +6 -5
  1245. package/lib/molecule/setup-sections/index.d.ts.map +1 -1
  1246. package/lib/molecule/setup-slider/index.d.ts +2 -1
  1247. package/lib/molecule/setup-slider/index.d.ts.map +1 -1
  1248. package/lib/molecule/share/index.d.ts +4 -3
  1249. package/lib/molecule/share/index.d.ts.map +1 -1
  1250. package/lib/molecule/skill-card/index.d.ts +2 -1
  1251. package/lib/molecule/skill-card/index.d.ts.map +1 -1
  1252. package/lib/molecule/skill-card/index.native.d.ts +2 -2
  1253. package/lib/molecule/skill-card/index.native.d.ts.map +1 -1
  1254. package/lib/molecule/skill-picker-modal/index.d.ts +6 -5
  1255. package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -1
  1256. package/lib/molecule/skills-chart-side-information-item/index.d.ts +3 -2
  1257. package/lib/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
  1258. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
  1259. package/lib/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
  1260. package/lib/molecule/ssmenu-list/index.d.ts +4 -3
  1261. package/lib/molecule/ssmenu-list/index.d.ts.map +1 -1
  1262. package/lib/molecule/subscription-freemium/index.d.ts +2 -1
  1263. package/lib/molecule/subscription-freemium/index.d.ts.map +1 -1
  1264. package/lib/molecule/subscription-premium/index.d.ts +2 -1
  1265. package/lib/molecule/subscription-premium/index.d.ts.map +1 -1
  1266. package/lib/molecule/table/index.d.ts +10 -9
  1267. package/lib/molecule/table/index.d.ts.map +1 -1
  1268. package/lib/molecule/tabs/index.d.ts +4 -3
  1269. package/lib/molecule/tabs/index.d.ts.map +1 -1
  1270. package/lib/molecule/teams-popin/index.d.ts +2 -1
  1271. package/lib/molecule/teams-popin/index.d.ts.map +1 -1
  1272. package/lib/molecule/theme-image/index.d.ts +2 -1
  1273. package/lib/molecule/theme-image/index.d.ts.map +1 -1
  1274. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
  1275. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  1276. package/lib/molecule/title-radio-wrapper/index.d.ts +15 -15
  1277. package/lib/molecule/title-radio-wrapper/types.d.ts +14 -14
  1278. package/lib/molecule/titled-checkbox/index.d.ts +2 -1
  1279. package/lib/molecule/titled-checkbox/index.d.ts.map +1 -1
  1280. package/lib/molecule/translation-modal/index.d.ts +2 -1
  1281. package/lib/molecule/translation-modal/index.d.ts.map +1 -1
  1282. package/lib/molecule/unsubscribe/index.d.ts +2 -1
  1283. package/lib/molecule/unsubscribe/index.d.ts.map +1 -1
  1284. package/lib/molecule/vertical-tabs/index.d.ts +4 -3
  1285. package/lib/molecule/vertical-tabs/index.d.ts.map +1 -1
  1286. package/lib/molecule/video-iframe/index.d.ts +1 -1
  1287. package/lib/molecule/video-iframe/index.d.ts.map +1 -1
  1288. package/lib/molecule/video-player/index.d.ts +5 -5
  1289. package/lib/molecule/video-player/index.d.ts.map +1 -1
  1290. package/lib/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
  1291. package/lib/molecule/video-player/jwplayer.d.ts +3 -3
  1292. package/lib/molecule/video-player/jwplayer.d.ts.map +1 -1
  1293. package/lib/molecule/video-player/prop-types.d.ts +2 -2
  1294. package/lib/molecule/video-player/vimeo.d.ts +5 -5
  1295. package/lib/molecule/video-player/vimeo.d.ts.map +1 -1
  1296. package/lib/molecule/video-player-mobile/index.native.d.ts +2 -2
  1297. package/lib/molecule/video-player-mobile/index.native.d.ts.map +1 -1
  1298. package/lib/molecule/video-player-mobile/index.native.js +10 -9
  1299. package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
  1300. package/lib/molecule/wizard-summary/index.d.ts +9 -8
  1301. package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
  1302. package/lib/organism/accordion/container/index.d.ts +6 -5
  1303. package/lib/organism/accordion/container/index.d.ts.map +1 -1
  1304. package/lib/organism/accordion/coorp-manager/index.d.ts +6 -5
  1305. package/lib/organism/accordion/coorp-manager/index.d.ts.map +1 -1
  1306. package/lib/organism/accordion/coorp-manager/part/index.d.ts +2 -1
  1307. package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
  1308. package/lib/organism/accordion/part/index.d.ts +2 -1
  1309. package/lib/organism/accordion/part/index.d.ts.map +1 -1
  1310. package/lib/organism/accordion/toggler/index.d.ts +8 -8
  1311. package/lib/organism/accordion/toggler/index.d.ts.map +1 -1
  1312. package/lib/organism/brand-analytics/analytics-popin.d.ts +2 -1
  1313. package/lib/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
  1314. package/lib/organism/brand-analytics/index.d.ts +7 -12
  1315. package/lib/organism/brand-analytics/index.d.ts.map +1 -1
  1316. package/lib/organism/brand-dashboard/index.d.ts +4 -3
  1317. package/lib/organism/brand-dashboard/index.d.ts.map +1 -1
  1318. package/lib/organism/brand-form/index.d.ts +5 -4
  1319. package/lib/organism/brand-form/index.d.ts.map +1 -1
  1320. package/lib/organism/brand-learning-priorities/index.d.ts +20 -19
  1321. package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -1
  1322. package/lib/organism/brand-table/index.d.ts +10 -9
  1323. package/lib/organism/brand-table/index.d.ts.map +1 -1
  1324. package/lib/organism/brand-upload/index.d.ts +4 -3
  1325. package/lib/organism/brand-upload/index.d.ts.map +1 -1
  1326. package/lib/organism/cards-grid/index.d.ts +3 -3
  1327. package/lib/organism/cart/index.d.ts +2 -1
  1328. package/lib/organism/cart/index.d.ts.map +1 -1
  1329. package/lib/organism/content-skill-modal/index.d.ts +72 -72
  1330. package/lib/organism/content-skill-modal/types.d.ts +71 -71
  1331. package/lib/organism/content-translation/index.d.ts +4 -3
  1332. package/lib/organism/content-translation/index.d.ts.map +1 -1
  1333. package/lib/organism/course-selection/index.d.ts +3 -2
  1334. package/lib/organism/course-selection/index.d.ts.map +1 -1
  1335. package/lib/organism/discussion/index.d.ts +4 -3
  1336. package/lib/organism/discussion/index.d.ts.map +1 -1
  1337. package/lib/organism/filter-checkbox-and-search/index.d.ts +4 -4
  1338. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  1339. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
  1340. package/lib/organism/filter-chip/index.d.ts +4 -4
  1341. package/lib/organism/filter-chip/index.d.ts.map +1 -1
  1342. package/lib/organism/filter-chip/prop-types.d.ts +2 -2
  1343. package/lib/organism/filter-range/index.d.ts +3 -3
  1344. package/lib/organism/filter-range/index.d.ts.map +1 -1
  1345. package/lib/organism/filter-range/prop-types.d.ts +1 -1
  1346. package/lib/organism/filter-switch/index.d.ts +4 -4
  1347. package/lib/organism/filter-switch/index.d.ts.map +1 -1
  1348. package/lib/organism/filter-switch/prop-types.d.ts +2 -2
  1349. package/lib/organism/get-the-app/index.d.ts +2 -1
  1350. package/lib/organism/get-the-app/index.d.ts.map +1 -1
  1351. package/lib/organism/grid-list/index.d.ts +2 -1
  1352. package/lib/organism/grid-list/index.d.ts.map +1 -1
  1353. package/lib/organism/header/index.d.ts +4 -3
  1354. package/lib/organism/header/index.d.ts.map +1 -1
  1355. package/lib/organism/header-v2/index.native.d.ts +2 -2
  1356. package/lib/organism/header-v2/index.native.d.ts.map +1 -1
  1357. package/lib/organism/header-with-actions/index.d.ts +6 -6
  1358. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  1359. package/lib/organism/header-with-actions/types.d.ts +4 -4
  1360. package/lib/organism/hero/index.d.ts +2 -1
  1361. package/lib/organism/hero/index.d.ts.map +1 -1
  1362. package/lib/organism/icon-editor/index.d.ts +4 -4
  1363. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  1364. package/lib/organism/icon-editor/types.d.ts +2 -2
  1365. package/lib/organism/list-item/index.d.ts +13 -12
  1366. package/lib/organism/list-item/index.d.ts.map +1 -1
  1367. package/lib/organism/list-items/index.d.ts +64 -64
  1368. package/lib/organism/list-items/index.d.ts.map +1 -1
  1369. package/lib/organism/mobile-intro-popin/index.native.d.ts +2 -2
  1370. package/lib/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
  1371. package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
  1372. package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
  1373. package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
  1374. package/lib/organism/mobile-navigation/index.native.js.map +1 -1
  1375. package/lib/organism/mooc/image-slider/index.d.ts +5 -4
  1376. package/lib/organism/mooc/image-slider/index.d.ts.map +1 -1
  1377. package/lib/organism/mooc-footer/index.d.ts +8 -7
  1378. package/lib/organism/mooc-footer/index.d.ts.map +1 -1
  1379. package/lib/organism/mooc-header/index.d.ts +11 -11
  1380. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  1381. package/lib/organism/popin/index.d.ts +2 -1
  1382. package/lib/organism/popin/index.d.ts.map +1 -1
  1383. package/lib/organism/resource-browser/index.d.ts +5 -4
  1384. package/lib/organism/resource-browser/index.d.ts.map +1 -1
  1385. package/lib/organism/review-congrats/index.d.ts +2 -1
  1386. package/lib/organism/review-congrats/index.d.ts.map +1 -1
  1387. package/lib/organism/review-congrats/index.native.d.ts +2 -2
  1388. package/lib/organism/review-congrats/index.native.d.ts.map +1 -1
  1389. package/lib/organism/review-header/index.d.ts +2 -1
  1390. package/lib/organism/review-header/index.d.ts.map +1 -1
  1391. package/lib/organism/review-header/index.native.d.ts +2 -2
  1392. package/lib/organism/review-header/index.native.d.ts.map +1 -1
  1393. package/lib/organism/review-header/types.d.ts +2 -2
  1394. package/lib/organism/review-no-skills/index.d.ts +3 -2
  1395. package/lib/organism/review-no-skills/index.d.ts.map +1 -1
  1396. package/lib/organism/review-no-skills/index.native.d.ts +2 -2
  1397. package/lib/organism/review-no-skills/index.native.d.ts.map +1 -1
  1398. package/lib/organism/review-skills/index.d.ts +2 -1
  1399. package/lib/organism/review-skills/index.d.ts.map +1 -1
  1400. package/lib/organism/review-skills/index.native.d.ts +2 -2
  1401. package/lib/organism/review-skills/index.native.d.ts.map +1 -1
  1402. package/lib/organism/review-skills/prop-types.d.ts +2 -2
  1403. package/lib/organism/review-slide/index.d.ts +2 -1
  1404. package/lib/organism/review-slide/index.d.ts.map +1 -1
  1405. package/lib/organism/review-slide/index.native.d.ts +2 -2
  1406. package/lib/organism/review-slide/index.native.d.ts.map +1 -1
  1407. package/lib/organism/review-slide/index.native.js +5 -3
  1408. package/lib/organism/review-slide/index.native.js.map +1 -1
  1409. package/lib/organism/review-slide/prop-types.d.ts +14 -14
  1410. package/lib/organism/review-stacked-slides/index.d.ts +2 -1
  1411. package/lib/organism/review-stacked-slides/index.d.ts.map +1 -1
  1412. package/lib/organism/review-stacked-slides/index.native.d.ts +2 -2
  1413. package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
  1414. package/lib/organism/review-stacked-slides/prop-types.d.ts +35 -35
  1415. package/lib/organism/rewards-form/index.d.ts +22 -22
  1416. package/lib/organism/rewards-form/index.d.ts.map +1 -1
  1417. package/lib/organism/search-and-chips-results/index.d.ts +4 -3
  1418. package/lib/organism/search-and-chips-results/index.d.ts.map +1 -1
  1419. package/lib/organism/select-opponents/index.d.ts +21 -21
  1420. package/lib/organism/select-opponents/types.d.ts +20 -20
  1421. package/lib/organism/settings/index.d.ts +10 -9
  1422. package/lib/organism/settings/index.d.ts.map +1 -1
  1423. package/lib/organism/setup-header/index.d.ts +10 -9
  1424. package/lib/organism/setup-header/index.d.ts.map +1 -1
  1425. package/lib/organism/sidebar/index.d.ts +24 -47
  1426. package/lib/organism/sidebar/index.d.ts.map +1 -1
  1427. package/lib/organism/skill-edition/index.d.ts +8 -8
  1428. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  1429. package/lib/organism/skill-edition/types.d.ts +6 -6
  1430. package/lib/organism/slider/index.d.ts +2 -2
  1431. package/lib/organism/slider/index.d.ts.map +1 -1
  1432. package/lib/organism/title-and-input/index.d.ts +47 -47
  1433. package/lib/organism/title-and-input/types.d.ts +46 -46
  1434. package/lib/organism/user-preferences/index.d.ts +4 -3
  1435. package/lib/organism/user-preferences/index.d.ts.map +1 -1
  1436. package/lib/organism/wizard-contents/index.d.ts +67 -67
  1437. package/lib/organism/wizard-contents/index.d.ts.map +1 -1
  1438. package/lib/template/activity/engine-stars.d.ts +2 -1
  1439. package/lib/template/activity/engine-stars.d.ts.map +1 -1
  1440. package/lib/template/activity/index.d.ts +9 -8
  1441. package/lib/template/activity/index.d.ts.map +1 -1
  1442. package/lib/template/activity/progression-item.d.ts +2 -1
  1443. package/lib/template/activity/progression-item.d.ts.map +1 -1
  1444. package/lib/template/activity/stars-summary.d.ts +4 -3
  1445. package/lib/template/activity/stars-summary.d.ts.map +1 -1
  1446. package/lib/template/app-player/loading/index.d.ts +83 -83
  1447. package/lib/template/app-player/loading/index.d.ts.map +1 -1
  1448. package/lib/template/app-player/player/index.d.ts +168 -168
  1449. package/lib/template/app-player/player/index.d.ts.map +1 -1
  1450. package/lib/template/app-player/player/slides/footer/index.d.ts +4 -3
  1451. package/lib/template/app-player/player/slides/footer/index.d.ts.map +1 -1
  1452. package/lib/template/app-player/player/slides/header/index.d.ts +4 -3
  1453. package/lib/template/app-player/player/slides/header/learner.d.ts +2 -1
  1454. package/lib/template/app-player/player/slides/header/learner.d.ts.map +1 -1
  1455. package/lib/template/app-player/player/slides/header/lives.d.ts +2 -1
  1456. package/lib/template/app-player/player/slides/header/lives.d.ts.map +1 -1
  1457. package/lib/template/app-player/player/slides/header/microlearning.d.ts +2 -1
  1458. package/lib/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
  1459. package/lib/template/app-player/player/slides/index.d.ts +110 -110
  1460. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  1461. package/lib/template/app-player/player/tourguide/index.d.ts +20 -20
  1462. package/lib/template/app-player/player/tourguide/index.d.ts.map +1 -1
  1463. package/lib/template/app-player/popin-correction/index.d.ts +87 -87
  1464. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  1465. package/lib/template/app-player/popin-end/index.d.ts +94 -94
  1466. package/lib/template/app-player/popin-end/index.d.ts.map +1 -1
  1467. package/lib/template/app-player/popin-end/summary.d.ts +11 -10
  1468. package/lib/template/app-player/popin-end/summary.d.ts.map +1 -1
  1469. package/lib/template/app-player/popin-header/index.d.ts +8 -7
  1470. package/lib/template/app-player/popin-header/index.d.ts.map +1 -1
  1471. package/lib/template/app-player/popin-no-access/index.d.ts +2 -1
  1472. package/lib/template/app-player/popin-no-access/index.d.ts.map +1 -1
  1473. package/lib/template/app-review/demo-ts/index.native.d.ts +2 -2
  1474. package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
  1475. package/lib/template/app-review/index.d.ts +119 -119
  1476. package/lib/template/app-review/index.native.d.ts +2 -2
  1477. package/lib/template/app-review/index.native.d.ts.map +1 -1
  1478. package/lib/template/app-review/player/background-review.d.ts +2 -1
  1479. package/lib/template/app-review/player/background-review.d.ts.map +1 -1
  1480. package/lib/template/app-review/player/index.d.ts +2 -1
  1481. package/lib/template/app-review/player/index.d.ts.map +1 -1
  1482. package/lib/template/app-review/player/index.native.d.ts +2 -2
  1483. package/lib/template/app-review/player/index.native.d.ts.map +1 -1
  1484. package/lib/template/app-review/player/prop-types.d.ts +118 -118
  1485. package/lib/template/app-review/prop-types.d.ts +118 -118
  1486. package/lib/template/app-review/skills/index.d.ts +2 -1
  1487. package/lib/template/app-review/skills/index.d.ts.map +1 -1
  1488. package/lib/template/app-review/skills/index.native.d.ts +2 -2
  1489. package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
  1490. package/lib/template/app-review/skills/prop-types.d.ts +2 -2
  1491. package/lib/template/app-review/template-context.d.ts +2 -2
  1492. package/lib/template/app-review/template-context.d.ts.map +1 -1
  1493. package/lib/template/back-office/brand-create/index.d.ts +10 -9
  1494. package/lib/template/back-office/brand-list/index.d.ts +10 -9
  1495. package/lib/template/back-office/brand-update/index.d.ts +338 -344
  1496. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  1497. package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
  1498. package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
  1499. package/lib/template/back-office/dashboard-preview/index.d.ts +10 -9
  1500. package/lib/template/back-office/layout/index.d.ts +10 -9
  1501. package/lib/template/battle-requests/index.d.ts +4 -3
  1502. package/lib/template/battle-requests/index.d.ts.map +1 -1
  1503. package/lib/template/certification-detail/index.d.ts +88 -88
  1504. package/lib/template/certification-detail/index.d.ts.map +1 -1
  1505. package/lib/template/certifications/index.d.ts +12 -11
  1506. package/lib/template/certifications/index.d.ts.map +1 -1
  1507. package/lib/template/cockpit/jw-uploader/index.d.ts +2 -1
  1508. package/lib/template/cockpit/jw-uploader/index.d.ts.map +1 -1
  1509. package/lib/template/common/authors/index.d.ts +5 -5
  1510. package/lib/template/common/authors/index.d.ts.map +1 -1
  1511. package/lib/template/common/coorp-header/index.d.ts +2 -1
  1512. package/lib/template/common/coorp-header/index.d.ts.map +1 -1
  1513. package/lib/template/common/dashboard/index.d.ts +165 -165
  1514. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  1515. package/lib/template/common/discipline/index.d.ts +25 -24
  1516. package/lib/template/common/discipline/index.d.ts.map +1 -1
  1517. package/lib/template/common/faq-article-page/index.d.ts +4 -4
  1518. package/lib/template/common/faq-article-page/index.d.ts.map +1 -1
  1519. package/lib/template/common/faq-article-page/types.d.ts +2 -2
  1520. package/lib/template/common/faq-cards-page/index.d.ts +4 -4
  1521. package/lib/template/common/faq-cards-page/index.d.ts.map +1 -1
  1522. package/lib/template/common/faq-cards-page/types.d.ts +2 -2
  1523. package/lib/template/common/faq-page/index.d.ts +6 -6
  1524. package/lib/template/common/faq-page/index.d.ts.map +1 -1
  1525. package/lib/template/common/faq-page/types.d.ts +4 -4
  1526. package/lib/template/common/privacy-policy-page/index.d.ts +6 -6
  1527. package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
  1528. package/lib/template/common/privacy-policy-page/types.d.ts +4 -4
  1529. package/lib/template/common/search-page/index.d.ts +117 -117
  1530. package/lib/template/common/search-page/index.d.ts.map +1 -1
  1531. package/lib/template/external-course/index.d.ts +83 -83
  1532. package/lib/template/external-course/index.d.ts.map +1 -1
  1533. package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
  1534. package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
  1535. package/lib/template/mobile-login/confirm-email-sent/index.native.js +22 -9
  1536. package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
  1537. package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
  1538. package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
  1539. package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
  1540. package/lib/template/mobile-login/receive-email/index.native.d.ts +2 -2
  1541. package/lib/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
  1542. package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
  1543. package/lib/template/mobile-login/welcome/index.native.d.ts +2 -2
  1544. package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  1545. package/lib/template/mobile-login/welcome/index.native.js +23 -10
  1546. package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
  1547. package/lib/template/my-learning/index.d.ts +11 -10
  1548. package/lib/template/my-learning/index.d.ts.map +1 -1
  1549. package/lib/template/playlist-detail/index.d.ts +98 -98
  1550. package/lib/template/playlist-detail/index.d.ts.map +1 -1
  1551. package/lib/template/review-dashboard-skills/index.d.ts +4 -3
  1552. package/lib/template/review-dashboard-skills/index.d.ts.map +1 -1
  1553. package/lib/template/skill-detail/all-courses.d.ts +11 -11
  1554. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  1555. package/lib/template/skill-detail/continue-learning.d.ts +4 -4
  1556. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  1557. package/lib/template/skill-detail/index.d.ts +8 -8
  1558. package/lib/template/skill-detail/index.d.ts.map +1 -1
  1559. package/lib/template/teams-dashboard/index.d.ts +11 -10
  1560. package/lib/template/teams-dashboard/index.d.ts.map +1 -1
  1561. package/lib/util/button-icons.d.ts +2 -2
  1562. package/lib/util/get-resized-image.d.ts +2 -2
  1563. package/lib/util/get-resized-image.d.ts.map +1 -1
  1564. package/lib/util/image.d.ts +1 -1
  1565. package/lib/util/image.d.ts.map +1 -1
  1566. package/lib/util/proptypes.d.ts +1 -1
  1567. package/lib/util/proptypes.d.ts.map +1 -1
  1568. package/lib/variables/colors.d.ts +1 -1
  1569. package/lib/variables/colors.js +1 -1
  1570. package/lib/variables/colors.js.map +1 -1
  1571. package/package.json +21 -19
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["React","useEffect","useState","Animated","Dimensions","StyleSheet","View","LinearGradient","NovaSolidStatusClose","CloseIcon","NovaCompositionCoorpacademyCheck","CheckIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","SCREEN","get","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","backButton","position","closeIcon","fill","width","height","gradients","gradient","opacity","transform","rotate","gradient2","content","checkIconWrapper","backgroundColor","marginVertical","borderRadius","checkIconInnerWrapper","padding","checkIcon","title","color","fontWeight","textAlign","fontSize","lineHeight","paddingVertical","description","ctaWrapper","ctaOpenInbox","flexDirection","overflow","colors","cta","ctaOpenInboxText","marginLeft","mailIcon","ConfirmEmailSent","props","locales","onClose","onOpenInbox","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","fadeInContent","property","_stylesheet","start","createElement","style","animatedStyle","locations","successTitle","successDescription","onPress","testID","successCta"],"sources":["../../../../src/template/mobile-login/confirm-email-sent/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {Animated, Dimensions, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaSolidStatusClose as CloseIcon,\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\nconst SCREEN = Dimensions.get('screen');\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n content: ViewStyle;\n backButton: ViewStyle;\n closeIcon: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n ctaWrapper: ViewStyle;\n ctaOpenInbox: ViewStyle;\n ctaOpenInboxText: TextStyle;\n mailIcon: ViewStyle;\n checkIconWrapper: ViewStyle;\n checkIconInnerWrapper: ViewStyle;\n checkIcon: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n backButton: {\n position: 'absolute',\n top: 60,\n left: 30\n },\n closeIcon: {\n fill: '#515161',\n width: 20,\n height: 20\n },\n gradients: {\n position: 'absolute',\n top: 0,\n height: SCREEN.height,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -80,\n bottom: 400,\n left: -180,\n right: -180,\n opacity: 1,\n transform: [{rotate: '15deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -30,\n bottom: 0,\n left: 0,\n right: 0,\n opacity: 0.6\n },\n content: {\n width: '100%',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n checkIconWrapper: {\n backgroundColor: '#E8FCF8',\n width: 64,\n height: 64,\n marginVertical: 12,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIconInnerWrapper: {\n backgroundColor: '#18BB98',\n width: 24,\n height: 24,\n padding: 4,\n borderRadius: 50,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIcon: {\n fill: '#fff',\n width: 12,\n height: 12\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n textAlign: 'center',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n textAlign: 'center',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n ctaWrapper: {\n position: 'absolute',\n width: '100%',\n bottom: 60\n },\n ctaOpenInbox: {\n paddingVertical: 12,\n marginVertical: 4,\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: theme.colors.cta\n },\n ctaOpenInboxText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n }\n });\n\nexport type Props = {\n onClose: () => void;\n onOpenInbox: () => void;\n locales: {\n successTitle: string;\n successDescription: string;\n successCta: string;\n };\n};\n\nconst ConfirmEmailSent = (props: Props) => {\n const {locales, onClose, onOpenInbox} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 50,\n toValue: -SCREEN.height * 0.4,\n duration: 250,\n delay: 650\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n translateGradients.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Animated.View style={styleSheet.wrapper}>\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={['#179c57', '#fff0']}\n locations={[0, 0.5]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#18BB98', '#18BB9800']}\n locations={[0, 1]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <View style={styleSheet.checkIconWrapper}>\n <View style={styleSheet.checkIconInnerWrapper}>\n <CheckIcon style={styleSheet.checkIcon} />\n </View>\n </View>\n <Text style={styleSheet.title}>{locales.successTitle}</Text>\n <Text style={styleSheet.description}>{locales.successDescription}</Text>\n </Animated.View>\n\n <Touchable style={styleSheet.backButton} onPress={onClose} testID=\"close-button\">\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n\n <Animated.View style={[styleSheet.ctaWrapper, fadeInContent.animatedStyle]}>\n <Touchable style={styleSheet.ctaOpenInbox} onPress={onOpenInbox} testID=\"open-inbox-button\">\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaOpenInboxText}>{locales.successCta}</Text>\n </Touchable>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default ConfirmEmailSent;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,QAAQ,QAAO,OAAO;AAChD,SAAQC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAaC,IAAI,QAAkB,cAAc;AACzF,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SACEC,oBAAoB,IAAIC,SAAS,EACjCC,gCAAgC,IAAIC,SAAS,EAC7CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAElD,MAAMC,MAAM,GAAGf,UAAU,CAACgB,GAAG,CAAC,QAAQ,CAAC;AAqBvC,MAAMC,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAC;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,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AO,EAAEnB,OAAQ;IAACoB,MAAM,EAAC;EAAc,gBAC9E7F,KAAA,CAAAsF,aAAA,CAAC7E,SAAS;IAAC8E,KAAK,EAAEZ,UAAU,CAACxC;EAAU,CAAE,CAChC,CAAC,eAEZnC,KAAA,CAAAsF,aAAA,CAACnF,QAAQ,CAACG,IAAI;IAACiF,KAAK,EAAE,CAACZ,UAAU,CAACd,UAAU,EAAEqB,aAAa,CAACM,aAAa;EAAE,gBACzExF,KAAA,CAAAsF,aAAA,CAACtE,SAAS;IAACuE,KAAK,EAAEZ,UAAU,CAACb,YAAa;IAAC8B,OAAO,EAAElB,WAAY;IAACmB,MAAM,EAAC;EAAmB,gBACzF7F,KAAA,CAAAsF,aAAA,CAACzE,QAAQ;IAAC0E,KAAK,EAAEZ,UAAU,CAACN;EAAS,CAAE,CAAC,eACxCrE,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACR;EAAiB,GAAEK,OAAO,CAACsB,UAAiB,CAC3D,CACE,CACF,CAAC;AAEpB,CAAC;AAED,eAAexB,gBAAgB","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":["React","useEffect","useState","Animated","Dimensions","StyleSheet","View","Platform","NovaSolidStatusClose","CloseIcon","NovaCompositionCoorpacademyCheck","CheckIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","SCREEN","get","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","backButton","position","closeIcon","fill","width","height","gradients","gradient","opacity","transform","rotate","gradient2","content","checkIconWrapper","backgroundColor","marginVertical","borderRadius","checkIconInnerWrapper","padding","checkIcon","title","color","fontWeight","textAlign","fontSize","lineHeight","paddingVertical","description","ctaWrapper","ctaOpenInbox","flexDirection","overflow","colors","cta","ctaOpenInboxText","marginLeft","mailIcon","ConfirmEmailSent","props","locales","onClose","onOpenInbox","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","fadeInContent","property","_stylesheet","start","createElement","style","animatedStyle","select","default","experimental_backgroundImage","web","backgroundImage","successTitle","successDescription","onPress","testID","successCta"],"sources":["../../../../src/template/mobile-login/confirm-email-sent/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {Animated, Dimensions, StyleSheet, TextStyle, View, ViewStyle, Platform} from 'react-native';\nimport {\n NovaSolidStatusClose as CloseIcon,\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\nconst SCREEN = Dimensions.get('screen');\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n content: ViewStyle;\n backButton: ViewStyle;\n closeIcon: ViewStyle & {fill?: string};\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n ctaWrapper: ViewStyle;\n ctaOpenInbox: ViewStyle;\n ctaOpenInboxText: TextStyle;\n mailIcon: ViewStyle & {fill?: string};\n checkIconWrapper: ViewStyle;\n checkIconInnerWrapper: ViewStyle;\n checkIcon: ViewStyle & {fill?: string};\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create<StyleSheetType>({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n backButton: {\n position: 'absolute',\n top: 60,\n left: 30\n },\n closeIcon: {\n fill: '#515161',\n width: 20,\n height: 20\n } as ViewStyle & {fill?: string},\n gradients: {\n position: 'absolute',\n top: 0,\n height: SCREEN.height,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -80,\n bottom: 400,\n left: -180,\n right: -180,\n opacity: 1,\n transform: [{rotate: '15deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -30,\n bottom: 0,\n left: 0,\n right: 0,\n opacity: 0.6\n },\n content: {\n width: '100%',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n checkIconWrapper: {\n backgroundColor: '#E8FCF8',\n width: 64,\n height: 64,\n marginVertical: 12,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIconInnerWrapper: {\n backgroundColor: '#18BB98',\n width: 24,\n height: 24,\n padding: 4,\n borderRadius: 50,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIcon: {\n fill: '#fff',\n width: 12,\n height: 12\n } as ViewStyle & {fill?: string},\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n textAlign: 'center',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n textAlign: 'center',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n ctaWrapper: {\n position: 'absolute',\n width: '100%',\n bottom: 60\n },\n ctaOpenInbox: {\n paddingVertical: 12,\n marginVertical: 4,\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: theme.colors.cta\n },\n ctaOpenInboxText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string}\n });\n\nexport type Props = {\n onClose: () => void;\n onOpenInbox: () => void;\n locales: {\n successTitle: string;\n successDescription: string;\n successCta: string;\n };\n};\n\nconst ConfirmEmailSent = (props: Props) => {\n const {locales, onClose, onOpenInbox} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 50,\n toValue: -SCREEN.height * 0.4,\n duration: 250,\n delay: 650\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n translateGradients.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Animated.View style={styleSheet.wrapper}>\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <View\n style={[\n styleSheet.gradient,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #179c57 0%, #fff0 50%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #179c57 0%, #fff0 50%)'\n }\n }) as ViewStyle\n ]}\n />\n <View\n style={[\n styleSheet.gradient2,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #18BB98 0%, #18BB9800 100%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #18BB98 0%, #18BB9800 100%)'\n }\n }) as ViewStyle\n ]}\n />\n </Animated.View>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <View style={styleSheet.checkIconWrapper}>\n <View style={styleSheet.checkIconInnerWrapper}>\n <CheckIcon style={styleSheet.checkIcon} />\n </View>\n </View>\n <Text style={styleSheet.title}>{locales.successTitle}</Text>\n <Text style={styleSheet.description}>{locales.successDescription}</Text>\n </Animated.View>\n\n <Touchable style={styleSheet.backButton} onPress={onClose} testID=\"close-button\">\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n\n <Animated.View style={[styleSheet.ctaWrapper, fadeInContent.animatedStyle]}>\n <Touchable style={styleSheet.ctaOpenInbox} onPress={onOpenInbox} testID=\"open-inbox-button\">\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaOpenInboxText}>{locales.successCta}</Text>\n </Touchable>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default ConfirmEmailSent;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,QAAQ,QAAO,OAAO;AAChD,SAAQC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAaC,IAAI,EAAaC,QAAQ,QAAO,cAAc;AACnG,SACEC,oBAAoB,IAAIC,SAAS,EACjCC,gCAAgC,IAAIC,SAAS,EAC7CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAElD,MAAMC,MAAM,GAAGf,UAAU,CAACgB,GAAG,CAAC,QAAQ,CAAC;AAqBvC,MAAMC,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAiB;EAChCC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE;EACrB,CAAC;EACDC,UAAU,EAAE;IACVC,QAAQ,EAAE,UAAU;IACpBT,GAAG,EAAE,EAAE;IACPE,IAAI,EAAE;EACR,CAAC;EACDQ,SAAS,EAAE;IACTC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV,CAAgC;EAChCC,SAAS,EAAE;IACTL,QAAQ,EAAE,UAAU;IACpBT,GAAG,EAAE,CAAC;IACNa,MAAM,EAAEnB,MAAM,CAACmB,MAAM;IACrBX,IAAI,EAAE,CAAC;IACP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EAAEtB,WAAY;IAACuB,MAAM,EAAC;EAAmB,gBACzFjG,KAAA,CAAAsF,aAAA,CAACzE,QAAQ;IAAC0E,KAAK,EAAEZ,UAAU,CAACN;EAAS,CAAE,CAAC,eACxCrE,KAAA,CAAAsF,aAAA,CAACpE,IAAI;IAACqE,KAAK,EAAEZ,UAAU,CAACR;EAAiB,GAAEK,OAAO,CAAC0B,UAAiB,CAC3D,CACE,CACF,CAAC;AAEpB,CAAC;AAED,eAAe5B,gBAAgB","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export interface Props {
3
3
  hasPermission: boolean;
4
4
  onScan: (token?: string) => void;
@@ -11,6 +11,6 @@ export interface Props {
11
11
  titleHelp: string;
12
12
  };
13
13
  }
14
- declare const QRCodeScanner: (props: Props) => JSX.Element;
14
+ declare const QRCodeScanner: (props: Props) => React.JSX.Element;
15
15
  export default QRCodeScanner;
16
16
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"names":[],"mappings":";AASA,MAAM,WAAW,KAAK;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAyPD,QAAA,MAAM,aAAa,UAAW,KAAK,gBAkDlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,MAAM,WAAW,KAAK;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AA4PD,QAAA,MAAM,aAAa,UAAW,KAAK,sBAkDlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","Animated","Easing","StyleSheet","View","QRCodeScannerBase","NovaCompositionCoorpacademyQrCode","QrCodeIcon","Touchable","Text","HEIGHT","WIDTH","COLOR","BORDER_RADIUS","LINE_WIDTH","styles","create","container","width","height","camera","blurs","position","opacity","blurTop","backgroundColor","transform","translateY","blurBottom","bottom","blurLeft","left","top","translateX","blurRight","right","targetStyle","target","borderRadius","overflow","square","stroke","explanationsStyle","explanations","borderTopLeftRadius","borderTopRightRadius","paddingHorizontal","paddingTop","paddingBottom","titleWrapper","flexDirection","alignItems","justifyContent","paddingVertical","qrCodeIcon","fill","titleText","fontWeight","color","fontSize","lineHeight","letterSpacing","marginLeft","line","paddingRight","lineText","marginRight","help","marginTop","titleHelp","ctaHelp","textDecorationLine","Corner","props","lineLength","createElement","style","Target","animationRef","Value","current","interpolate","inputRange","outputRange","animation","timing","toValue","duration","delay","easing","out","sin","useNativeDriver","start","rotate","Explanations","locales","onHelpPress","animateBottom","title","explanation1","explanation2","onPress","QRCodeScanner","hasPermission","onScan","handleRead","data","undefined","blurRef","blurOpacity","testID","fadeIn","onRead","cameraStyle","cameraProps","captureAudio"],"sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef} from 'react';\nimport {Animated, Easing, StyleSheet, View, ViewStyle} from 'react-native';\n\nimport QRCodeScannerBase from 'react-native-qrcode-scanner';\nimport type {BarCodeReadEvent} from 'react-native-camera';\nimport {NovaCompositionCoorpacademyQrCode as QrCodeIcon} from '@coorpacademy/nova-icons';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport Text from '../../../atom/text/index.native';\n\nexport interface Props {\n hasPermission: boolean;\n onScan: (token?: string) => void;\n onHelpPress: () => void;\n locales: {\n title: string;\n explanation1: string;\n explanation2: string;\n ctaHelp: string;\n titleHelp: string;\n };\n}\n\nconst HEIGHT = 280;\nconst WIDTH = 280;\nconst COLOR = '#fff';\nconst BORDER_RADIUS = 8;\n\nconst LINE_WIDTH = 7;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%'\n },\n camera: {\n width: '100%',\n height: '100%'\n },\n blurs: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n opacity: 0.6\n },\n blurTop: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '35%',\n transform: [{translateY: -HEIGHT / 2 + LINE_WIDTH / 2}]\n },\n blurBottom: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '65%',\n bottom: 0,\n transform: [{translateY: HEIGHT / 2 - LINE_WIDTH / 2}]\n },\n blurLeft: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n left: 0,\n top: '35%',\n transform: [\n {translateX: -WIDTH / 2 + LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n },\n blurRight: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n right: 0,\n top: '35%',\n transform: [\n {translateX: WIDTH / 2 - LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n }\n});\n\nconst targetStyle = StyleSheet.create({\n target: {\n width: HEIGHT,\n height: WIDTH,\n top: '35%',\n left: '50%',\n transform: [{translateX: -WIDTH / 2}, {translateY: -HEIGHT / 2}],\n borderRadius: BORDER_RADIUS,\n position: 'absolute',\n overflow: 'hidden'\n },\n square: {\n position: 'absolute',\n width: '35%',\n height: '35%'\n },\n stroke: {\n position: 'absolute',\n top: 0,\n left: 0,\n backgroundColor: COLOR,\n borderRadius: BORDER_RADIUS\n }\n});\n\nconst explanationsStyle = StyleSheet.create({\n explanations: {\n position: 'absolute',\n width: '100%',\n bottom: 0,\n backgroundColor: '#fff',\n borderTopLeftRadius: 30,\n borderTopRightRadius: 30,\n paddingHorizontal: 24,\n paddingTop: 8,\n paddingBottom: 30\n },\n titleWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n paddingVertical: 16\n },\n qrCodeIcon: {\n fill: '#000',\n height: 14,\n width: 14\n },\n titleText: {\n fontWeight: '600',\n color: '#1D1D2B',\n fontSize: 21,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginLeft: 7\n },\n line: {\n flexDirection: 'row',\n paddingRight: 24,\n paddingVertical: 8\n },\n lineText: {\n fontWeight: '400',\n color: '#1D1D2B',\n fontSize: 18,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginRight: 7\n },\n help: {\n flexDirection: 'row',\n marginTop: 12\n },\n titleHelp: {\n fontSize: 16,\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n fontSize: 16,\n letterSpacing: 0.5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n});\n\nconst Corner = (props: {position: ViewStyle; lineLength: Animated.AnimatedInterpolation}) => {\n const {position, lineLength} = props;\n\n return (\n <View style={[targetStyle.square, position]}>\n <Animated.View style={[targetStyle.stroke, {height: LINE_WIDTH, width: lineLength}]} />\n <Animated.View style={[targetStyle.stroke, {width: LINE_WIDTH, height: lineLength}]} />\n </View>\n );\n};\n\nconst Target = () => {\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const lineLength = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, WIDTH * 0.35]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 700,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={targetStyle.target}>\n <Corner lineLength={lineLength} position={{top: 0, left: 0, transform: [{rotate: '0deg'}]}} />\n <Corner\n lineLength={lineLength}\n position={{top: 0, right: 0, transform: [{rotate: '90deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, right: 0, transform: [{rotate: '180deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, left: 0, transform: [{rotate: '270deg'}]}}\n />\n </View>\n );\n};\n\nconst Explanations = (props: {locales: Props['locales']; onHelpPress: Props['onHelpPress']}) => {\n const {locales, onHelpPress} = props;\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animateBottom = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [-300, 0]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 600,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <Animated.View style={[explanationsStyle.explanations, {bottom: animateBottom}]}>\n <View style={explanationsStyle.titleWrapper}>\n <QrCodeIcon style={explanationsStyle.qrCodeIcon} />\n <Text style={explanationsStyle.titleText}>{locales.title}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>1.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation1}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>2.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation2}</Text>\n </View>\n\n <Touchable onPress={onHelpPress} style={explanationsStyle.help}>\n <Text style={explanationsStyle.titleHelp}>{locales.titleHelp}</Text>\n <Text style={explanationsStyle.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </Animated.View>\n );\n};\n\nconst QRCodeScanner = (props: Props) => {\n const {hasPermission, locales, onScan, onHelpPress} = props;\n\n const handleRead = useCallback(({data}: BarCodeReadEvent) => {\n onScan(typeof data === 'string' ? data : undefined);\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const blurRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const blurOpacity = blurRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 0.7]\n });\n\n useEffect(() => {\n const animation = Animated.timing(blurRef, {\n toValue: 1,\n duration: 800,\n delay: 600,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={styles.container} testID=\"qr-code-scanner\">\n {hasPermission ? (\n <QRCodeScannerBase\n fadeIn={false}\n onRead={handleRead}\n cameraStyle={styles.camera}\n cameraProps={{captureAudio: false}}\n />\n ) : null}\n <Animated.View style={[styles.blurs, {opacity: blurOpacity}]}>\n <View style={styles.blurTop} />\n <View style={styles.blurBottom} />\n <View style={styles.blurLeft} />\n <View style={styles.blurRight} />\n </Animated.View>\n <Target />\n <Explanations locales={locales} onHelpPress={onHelpPress} />\n </View>\n );\n};\n\nexport default QRCodeScanner;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAO,OAAO;AAC3D,SAAQC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,EAAEC,IAAI,QAAkB,cAAc;AAE1E,OAAOC,iBAAiB,MAAM,6BAA6B;AAE3D,SAAQC,iCAAiC,IAAIC,UAAU,QAAO,0BAA0B;A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AACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACe;EAAS,CAAE,CAAC,eAChCjC,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACmB;EAAU,CAAE,CACnB,CAAC,eAChBrC,KAAA,CAAA8E,aAAA,CAACE,MAAM,MAAE,CAAC,eACVhF,KAAA,CAAA8E,aAAA,CAACoB,YAAY;IAACC,OAAO,EAAEA,OAAQ;IAACC,WAAW,EAAEA;EAAY,CAAE,CACvD,CAAC;AAEX,CAAC;AAED,eAAeM,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","Animated","Easing","StyleSheet","View","QRCodeScannerBase","NovaCompositionCoorpacademyQrCode","QrCodeIcon","Touchable","Text","HEIGHT","WIDTH","COLOR","BORDER_RADIUS","LINE_WIDTH","styles","create","container","width","height","camera","blurs","position","opacity","blurTop","backgroundColor","transform","translateY","blurBottom","bottom","blurLeft","left","top","translateX","blurRight","right","targetStyle","target","borderRadius","overflow","square","stroke","explanationsStyle","explanations","borderTopLeftRadius","borderTopRightRadius","paddingHorizontal","paddingTop","paddingBottom","titleWrapper","flexDirection","alignItems","justifyContent","paddingVertical","qrCodeIcon","fill","titleText","fontWeight","color","fontSize","lineHeight","letterSpacing","marginLeft","line","paddingRight","lineText","marginRight","help","marginTop","titleHelp","ctaHelp","textDecorationLine","Corner","props","lineLength","createElement","style","Target","animationRef","Value","current","interpolate","inputRange","outputRange","animation","timing","toValue","duration","delay","easing","out","sin","useNativeDriver","start","rotate","Explanations","locales","onHelpPress","animateBottom","title","explanation1","explanation2","onPress","QRCodeScanner","hasPermission","onScan","handleRead","data","undefined","blurRef","blurOpacity","testID","fadeIn","onRead","cameraStyle","cameraProps","captureAudio"],"sources":["../../../../src/template/mobile-login/qr-code-scanner/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef} from 'react';\nimport {Animated, Easing, StyleSheet, View, ViewStyle} from 'react-native';\n\nimport QRCodeScannerBase from 'react-native-qrcode-scanner';\nimport type {BarCodeReadEvent} from 'react-native-camera';\nimport {NovaCompositionCoorpacademyQrCode as QrCodeIcon} from '@coorpacademy/nova-icons';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport Text from '../../../atom/text/index.native';\n\nexport interface Props {\n hasPermission: boolean;\n onScan: (token?: string) => void;\n onHelpPress: () => void;\n locales: {\n title: string;\n explanation1: string;\n explanation2: string;\n ctaHelp: string;\n titleHelp: string;\n };\n}\n\nconst HEIGHT = 280;\nconst WIDTH = 280;\nconst COLOR = '#fff';\nconst BORDER_RADIUS = 8;\n\nconst LINE_WIDTH = 7;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%'\n },\n camera: {\n width: '100%',\n height: '100%'\n },\n blurs: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n opacity: 0.6\n },\n blurTop: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '35%',\n transform: [{translateY: -HEIGHT / 2 + LINE_WIDTH / 2}]\n },\n blurBottom: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '100%',\n height: '65%',\n bottom: 0,\n transform: [{translateY: HEIGHT / 2 - LINE_WIDTH / 2}]\n },\n blurLeft: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n left: 0,\n top: '35%',\n transform: [\n {translateX: -WIDTH / 2 + LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n },\n blurRight: {\n position: 'absolute',\n backgroundColor: '#000',\n width: '50%',\n height: HEIGHT - LINE_WIDTH,\n right: 0,\n top: '35%',\n transform: [\n {translateX: WIDTH / 2 - LINE_WIDTH / 2},\n {translateY: -HEIGHT / 2 + LINE_WIDTH / 2}\n ]\n }\n});\n\nconst targetStyle = StyleSheet.create({\n target: {\n width: HEIGHT,\n height: WIDTH,\n top: '35%',\n left: '50%',\n transform: [{translateX: -WIDTH / 2}, {translateY: -HEIGHT / 2}],\n borderRadius: BORDER_RADIUS,\n position: 'absolute',\n overflow: 'hidden'\n },\n square: {\n position: 'absolute',\n width: '35%',\n height: '35%'\n },\n stroke: {\n position: 'absolute',\n top: 0,\n left: 0,\n backgroundColor: COLOR,\n borderRadius: BORDER_RADIUS\n }\n});\n\nconst explanationsStyle = StyleSheet.create({\n explanations: {\n position: 'absolute',\n width: '100%',\n bottom: 0,\n backgroundColor: '#fff',\n borderTopLeftRadius: 30,\n borderTopRightRadius: 30,\n paddingHorizontal: 24,\n paddingTop: 8,\n paddingBottom: 30\n },\n titleWrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n paddingVertical: 16\n },\n qrCodeIcon: {\n fill: '#000',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string},\n titleText: {\n fontWeight: '600',\n color: '#1D1D2B',\n fontSize: 21,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginLeft: 7\n },\n line: {\n flexDirection: 'row',\n paddingRight: 24,\n paddingVertical: 8\n },\n lineText: {\n fontWeight: '400',\n color: '#1D1D2B',\n fontSize: 18,\n lineHeight: 24,\n letterSpacing: 0.5,\n marginRight: 7\n },\n help: {\n flexDirection: 'row',\n marginTop: 12\n },\n titleHelp: {\n fontSize: 16,\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n fontSize: 16,\n letterSpacing: 0.5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n});\n\nconst Corner = (props: {\n position: ViewStyle;\n lineLength: Animated.AnimatedInterpolation<number>;\n}) => {\n const {position, lineLength} = props;\n\n return (\n <View style={[targetStyle.square, position]}>\n <Animated.View style={[targetStyle.stroke, {height: LINE_WIDTH, width: lineLength}]} />\n <Animated.View style={[targetStyle.stroke, {width: LINE_WIDTH, height: lineLength}]} />\n </View>\n );\n};\n\nconst Target = () => {\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const lineLength = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, WIDTH * 0.35]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 700,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={targetStyle.target}>\n <Corner lineLength={lineLength} position={{top: 0, left: 0, transform: [{rotate: '0deg'}]}} />\n <Corner\n lineLength={lineLength}\n position={{top: 0, right: 0, transform: [{rotate: '90deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, right: 0, transform: [{rotate: '180deg'}]}}\n />\n <Corner\n lineLength={lineLength}\n position={{bottom: 0, left: 0, transform: [{rotate: '270deg'}]}}\n />\n </View>\n );\n};\n\nconst Explanations = (props: {locales: Props['locales']; onHelpPress: Props['onHelpPress']}) => {\n const {locales, onHelpPress} = props;\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animateBottom = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [-300, 0]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: 1,\n duration: 600,\n delay: 400,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <Animated.View style={[explanationsStyle.explanations, {bottom: animateBottom}]}>\n <View style={explanationsStyle.titleWrapper}>\n <QrCodeIcon style={explanationsStyle.qrCodeIcon} />\n <Text style={explanationsStyle.titleText}>{locales.title}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>1.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation1}</Text>\n </View>\n <View style={explanationsStyle.line}>\n <Text style={explanationsStyle.lineText}>2.</Text>\n <Text style={explanationsStyle.lineText}>{locales.explanation2}</Text>\n </View>\n\n <Touchable onPress={onHelpPress} style={explanationsStyle.help}>\n <Text style={explanationsStyle.titleHelp}>{locales.titleHelp}</Text>\n <Text style={explanationsStyle.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </Animated.View>\n );\n};\n\nconst QRCodeScanner = (props: Props) => {\n const {hasPermission, locales, onScan, onHelpPress} = props;\n\n const handleRead = useCallback(({data}: BarCodeReadEvent) => {\n onScan(typeof data === 'string' ? data : undefined);\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const blurRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const blurOpacity = blurRef.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 0.7]\n });\n\n useEffect(() => {\n const animation = Animated.timing(blurRef, {\n toValue: 1,\n duration: 800,\n delay: 600,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <View style={styles.container} testID=\"qr-code-scanner\">\n {hasPermission ? (\n <QRCodeScannerBase\n fadeIn={false}\n onRead={handleRead}\n cameraStyle={styles.camera}\n cameraProps={{captureAudio: false}}\n />\n ) : null}\n <Animated.View style={[styles.blurs, {opacity: blurOpacity}]}>\n <View style={styles.blurTop} />\n <View style={styles.blurBottom} />\n <View style={styles.blurLeft} />\n <View style={styles.blurRight} />\n </Animated.View>\n <Target />\n <Explanations locales={locales} onHelpPress={onHelpPress} />\n </View>\n );\n};\n\nexport default QRCodeScanner;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,QAAO,OAAO;AAC3D,SAAQC,QAAQ,EAAEC,MAAM,EAAEC,UAAU,EAAEC,IAAI,QAAkB,cAAc;AAE1E,OAAOC,iBAAiB,MAAM,6BAA6B;AAE3D,SAAQC,iCAAiC,IAAIC,UAAU,QAAO,0BAA0B;AACxF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,IAAI,MAAM,iCAAiC;AAelD,MA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A,CAAA8E,aAAA,CAACvE,IAAI;IAACwE,KAAK,EAAE7D,MAAM,CAACmB;EAAU,CAAE,CACnB,CAAC,eAChBrC,KAAA,CAAA8E,aAAA,CAACE,MAAM,MAAE,CAAC,eACVhF,KAAA,CAAA8E,aAAA,CAACoB,YAAY;IAACC,OAAO,EAAEA,OAAQ;IAACC,WAAW,EAAEA;EAAY,CAAE,CACvD,CAAC;AAEX,CAAC;AAED,eAAeM,aAAa","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare type Props = {
3
3
  locales: {
4
4
  title: string;
@@ -9,6 +9,6 @@ export declare type Props = {
9
9
  onClose: () => void;
10
10
  onSend: (email: string) => void;
11
11
  };
12
- declare const ReceiveEmail: (props: Props) => JSX.Element;
12
+ declare const ReceiveEmail: (props: Props) => React.JSX.Element;
13
13
  export default ReceiveEmail;
14
14
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":";AAoIA,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,YAAY,UAAW,KAAK,gBAoFjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAqItE,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,YAAY,UAAW,KAAK,sBAoFjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","useState","Animated","Easing","KeyboardAvoidingView","Platform","StyleSheet","Text","TextInput","View","NovaCompositionNavigationLeftArrow","ArrowIcon","NovaCompositionCoorpacademyEmail","MailIcon","NovaCompositionCoorpacademySendEmail","SendIcon","Touchable","useMobileKeyboardVisibility","enabledColor","disabledColor","emailRegex","styles","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","onSend","email","setEmail","isValid","setValid","isTextInputFocused","setTextInputFocused","isKeyboardVisible","handleSend","handleChangeText","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","Value","current","animatedColor","interpolate","inputRange","outputRange","animation","timing","toValue","duration","easing","out","sin","useNativeDriver","start","createElement","behavior","OS","style","testID","onPress","placeholder","placeholderTextColor","onChangeText","onFocus","onBlur","disabled","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n },\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n },\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n },\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n },\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n onSend: (email: string) => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose, onSend} = props;\n\n const [email, setEmail] = useState<string>('');\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleSend = useCallback(() => {\n onSend(email);\n }, [email, onSend]);\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n setEmail(value);\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose} testID=\"close-button\">\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable\n disabled={!isValid}\n style={[styles.ctaButton]}\n onPress={handleSend}\n testID=\"send-button\"\n >\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default ReceiveEmail;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAO,OAAO;AACrE,SACEC,QAAQ,EACRC,MAAM,EACNC,oBAAoB,EACpBC,QAAQ,EACRC,UAAU,EACVC,IAAI,EACJC,SAAS,EACTC,IAAI,QACC,cAAc;AACrB,SACEC,kCAAkC,IAAIC,SAAS,EAC/CC,gCAAgC,IAAIC,QAAQ,EAC5CC,oCAAoC,IAAIC,QAAQ,QAC3C,0BAA0B;AAEjC,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,2BAA2B,MAAM,8CAA8C;AAEtF,MAAMC,YAAY,GAAG,SAAS;AAC9B,MAAMC,aAAa,GAAG,SAAS;AAC/B,MAAMC,UAAU,GAAG,gDAAgD;AAEnE,MAAMC,MAAM,GAAGf,UAAU,CAACgB,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,IAAI,EAAE,CAAC;IACPC,cAAc,E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K,EAAE,CAACjF,MAAM,CAACiC,SAAS,EAAE;MAACE,WAAW,EAAEkB,kBAAkB,GAAG,CAAC,GAAG;IAAC,CAAC,CAAE;IACrE+B,WAAW,EAAC,sBAAsB;IAClCC,oBAAoB,EAAEvF,aAAc;IACpCwF,YAAY,EAAE7B,gBAAiB;IAC/B8B,OAAO,EAAE3B,oBAAqB;IAC9B4B,MAAM,EAAE3B;EAAoB,CAC7B,CAAC,eACFrF,KAAA,CAAAsG,aAAA,CAACtF,QAAQ;IAACyF,KAAK,EAAEjF,MAAM,CAACoB;EAAc,CAAE,CACpC,CAAC,eAEP5C,KAAA,CAAAsG,aAAA,CAACjG,QAAQ,CAACO,IAAI;IAAC6F,KAAK,EAAE,CAACjF,MAAM,CAACqC,UAAU,EAAE;MAACtB,eAAe,EAAEkD;IAAa,CAAC;EAAE,gBAC1EzF,KAAA,CAAAsG,aAAA,CAACnF,SAAS;IACR8F,QAAQ,EAAE,CAACtC,OAAQ;IACnB8B,KAAK,EAAE,CAACjF,MAAM,CAACuC,SAAS,CAAE;IAC1B4C,OAAO,EAAE3B,UAAW;IACpB0B,MAAM,EAAC;EAAa,gBAEpB1G,KAAA,CAAAsG,aAAA,CAACpF,QAAQ;IAACuF,KAAK,EAAEjF,MAAM,CAACyC;EAAS,CAAE,CAAC,eACpCjE,KAAA,CAAAsG,aAAA,CAAC5F,IAAI;IAAC+F,KAAK,EAAEjF,MAAM,CAAC2C;EAAQ,GAAEG,OAAO,CAAC4C,GAAU,CACvC,CACE,CACK,CAAC;AAE3B,CAAC;AAED,eAAe9C,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":["React","useCallback","useEffect","useRef","useState","Animated","Easing","KeyboardAvoidingView","Platform","StyleSheet","Text","TextInput","View","NovaCompositionNavigationLeftArrow","ArrowIcon","NovaCompositionCoorpacademyEmail","MailIcon","NovaCompositionCoorpacademySendEmail","SendIcon","Touchable","useMobileKeyboardVisibility","enabledColor","disabledColor","emailRegex","styles","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","onSend","email","setEmail","isValid","setValid","isTextInputFocused","setTextInputFocused","isKeyboardVisible","handleSend","handleChangeText","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","Value","current","animatedColor","interpolate","inputRange","outputRange","animation","timing","toValue","duration","easing","out","sin","useNativeDriver","start","createElement","behavior","OS","style","testID","onPress","placeholder","placeholderTextColor","onChangeText","onFocus","onBlur","disabled","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View,\n ViewStyle\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n } as ViewStyle & {fill?: string},\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n } as ViewStyle & {fill?: string},\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n } as ViewStyle & {fill?: string},\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n } as ViewStyle & {fill?: string},\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n onSend: (email: string) => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose, onSend} = props;\n\n const [email, setEmail] = useState<string>('');\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleSend = useCallback(() => {\n onSend(email);\n }, [email, onSend]);\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n setEmail(value);\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose} testID=\"close-button\">\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable\n disabled={!isValid}\n style={[styles.ctaButton]}\n onPress={handleSend}\n testID=\"send-button\"\n >\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default ReceiveEmail;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAO,OAAO;AACrE,SACEC,QAAQ,EACRC,MAAM,EACNC,oBAAoB,EACpBC,QAAQ,EACRC,UAAU,EACVC,IAAI,EACJC,SAAS,EACTC,IAAI,QAEC,cAAc;AACrB,SACEC,kCAAkC,IAAIC,SAAS,EAC/CC,gCAAgC,IAAIC,QAAQ,EAC5CC,oCAAoC,IAAIC,QAAQ,QAC3C,0BAA0B;AAEjC,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,OAAOC,2BAA2B,MAAM,8CAA8C;AAEtF,MAAMC,YAAY,GAAG,SAAS;AAC9B,MAAMC,aAAa,GAAG,SAAS;AAC/B,MAAMC,UAAU,GAAG,gDAAgD;AAEnE,MAAMC,MAAM,GAAGf,UAAU,CAACgB,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,YAAY;IACxBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE;EACrB,CAAC;EACDC,cAAc,EAAE;IACdP,KAAK,EAAE;EACT,CAAC;EACDQ,UAAU,EAAE;IACVH,eAAe,EAAE;EACnB,CAAC;EACDI,SAAS,EAAE;IACTC,IAAI,EAAE,SAAS;IACfV,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV,CAAgC;EAChCU,eAAe,EAAE;IACfC,eAAe,EAAE,SAAS;IAC1BZ,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVY,OAAO,EAAE,EAAE;IACXC,cAAc,EAAE,EAAE;IAClBC,YAAY,EAAE,EAAE;IAChBZ,cAAc,EAAE,QA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UAAU,EAAE;MAACtB,eAAe,EAAEkD;IAAa,CAAC;EAAE,gBAC1EzF,KAAA,CAAAsG,aAAA,CAACnF,SAAS;IACR8F,QAAQ,EAAE,CAACtC,OAAQ;IACnB8B,KAAK,EAAE,CAACjF,MAAM,CAACuC,SAAS,CAAE;IAC1B4C,OAAO,EAAE3B,UAAW;IACpB0B,MAAM,EAAC;EAAa,gBAEpB1G,KAAA,CAAAsG,aAAA,CAACpF,QAAQ;IAACuF,KAAK,EAAEjF,MAAM,CAACyC;EAAS,CAAE,CAAC,eACpCjE,KAAA,CAAAsG,aAAA,CAAC5F,IAAI;IAAC+F,KAAK,EAAEjF,MAAM,CAAC2C;EAAQ,GAAEG,OAAO,CAAC4C,GAAU,CACvC,CACE,CACK,CAAC;AAE3B,CAAC;AAED,eAAe9C,YAAY","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare type Props = {
3
3
  onDemoPress: () => void;
4
4
  onHelpPress: () => void;
@@ -13,6 +13,6 @@ export declare type Props = {
13
13
  ctaHelp: string;
14
14
  };
15
15
  };
16
- declare const Welcome: (props: Props) => JSX.Element | null;
16
+ declare const Welcome: (props: Props) => React.JSX.Element;
17
17
  export default Welcome;
18
18
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":";AAiLA,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,KAAK,uBAuI5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAgLlE,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,KAAK,sBA2J5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,6 +1,5 @@
1
- import React, { useEffect, useRef, useState } from 'react';
2
- import { Animated, StyleSheet, View } from 'react-native';
3
- import LinearGradient from 'react-native-linear-gradient';
1
+ import React, { useEffect, useMemo, useState } from 'react';
2
+ import { Animated, StyleSheet, View, Platform } from 'react-native';
4
3
  import { NovaCompositionCoorpacademyLogoCoorp as LogoCoorp, NovaCompositionCoorpacademyQrCode as QrCodeIcon, NovaCompositionCoorpacademyEmail as MailIcon } from '@coorpacademy/nova-icons';
5
4
  import { useAnimateProp, useTranslateY } from '@coorpacademy/react-native-animation';
6
5
  import Touchable from '../../../hoc/touchable/index.native';
@@ -191,7 +190,7 @@ const Welcome = props => {
191
190
  duration: 250,
192
191
  delay: 900
193
192
  });
194
- const scaleAnim = useRef(new Animated.Value(0)).current;
193
+ const scaleAnim = useMemo(() => new Animated.Value(0), []);
195
194
  const interpolateScale = scaleAnim.interpolate({
196
195
  inputRange: [0, 0.4, 0.5, 0.6, 1],
197
196
  outputRange: [1, 1.7, 1.7, 1.7, 1]
@@ -224,14 +223,28 @@ const Welcome = props => {
224
223
  testID: "welcome"
225
224
  }, /*#__PURE__*/React.createElement(Animated.View, {
226
225
  style: [styleSheet.gradients, translateGradients.animatedStyle]
227
- }, /*#__PURE__*/React.createElement(LinearGradient, {
228
- colors: [cm_primary_blue, '#fff'],
229
- locations: [0, 0.95],
230
- style: styleSheet.gradient
231
- }), /*#__PURE__*/React.createElement(LinearGradient, {
232
- colors: ['#2199AB', '#fff'],
233
- locations: [0, 0.95],
234
- style: styleSheet.gradient2
226
+ }, /*#__PURE__*/React.createElement(View, {
227
+ style: [styleSheet.gradient, Platform.select({
228
+ default: {
229
+ // @ts-ignore
230
+ experimental_backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`
231
+ },
232
+ web: {
233
+ // @ts-ignore
234
+ backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`
235
+ }
236
+ })]
237
+ }), /*#__PURE__*/React.createElement(View, {
238
+ style: [styleSheet.gradient2, Platform.select({
239
+ default: {
240
+ // @ts-ignore
241
+ experimental_backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'
242
+ },
243
+ web: {
244
+ // @ts-ignore
245
+ backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'
246
+ }
247
+ })]
235
248
  })), /*#__PURE__*/React.createElement(Touchable, {
236
249
  onLongPress: onDemoPress,
237
250
  style: styleSheet.logo
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["React","useEffect","useRef","useState","Animated","StyleSheet","View","LinearGradient","NovaCompositionCoorpacademyLogoCoorp","LogoCoorp","NovaCompositionCoorpacademyQrCode","QrCodeIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","COLORS","cm_primary_blue","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","translateContent","fadeInContent","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","Value","current","interpolateScale","interpolate","inputRange","outputRange","_stylesheet","start","animatedScale","timing","useNativeDriver","createElement","style","animatedStyle","testID","locations","onLongPress","scale","onPress"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\nimport {COLORS} from '../../../variables/colors';\n\nconst {cm_primary_blue} = COLORS;\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle;\n mailIcon: ViewStyle;\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n },\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n },\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useRef<Animated.Value>(new Animated.Value(0)).current;\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={[cm_primary_blue, '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#2199AB', '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAO,OAAO;AACxD,SAAQC,QAAQ,EAAEC,UAAU,EAAaC,IAAI,QAAkB,cAAc;AAC7E,OAAOC,cAAc,MAAM,8BAA8B;AACzD,SACEC,oCAAoC,IAAIC,SAAS,EACjDC,iCAAiC,IAAIC,UAAU,EAC/CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAClD,SAAQC,MAAM,QAAO,2BAA2B;AAEhD,MAAM;EAACC;AAAe,CAAC,GAAGD,MAAM;AA4BhC,MAAME,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAC;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,cA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AA,CAAC5F,SAAS;IACR6F,KAAK,EAAE,CAACzB,UAAU,CAAC1B,MAAM,EAAE0B,UAAU,CAACd,cAAc,CAAE;IACtD6C,OAAO,EAAEhC,yBAA0B;IACnC4B,MAAM,EAAC;EAAsB,gBAE7B/G,KAAA,CAAA4G,aAAA,CAAC/F,QAAQ;IAACgG,KAAK,EAAEzB,UAAU,CAACZ;EAAS,CAAE,CAAC,eACxCxE,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACb;EAAmB,GAAEQ,OAAO,CAACT,cAAqB,CACjE,CACP,CAAC,eACPtE,KAAA,CAAA4G,aAAA,CAAC5F,SAAS;IAACmG,OAAO,EAAEjC,WAAY;IAAC2B,KAAK,EAAEzB,UAAU,CAACX;EAAK,gBACtDzE,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACV;EAAU,GAAEK,OAAO,CAACL,SAAgB,CAAC,eAC7D1E,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAACT;EAAQ,GAAEI,OAAO,CAACJ,OAAc,CAC/C,CACP,CACO,CACF,CAAC;AAEpB,CAAC;AAED,eAAeE,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":["React","useEffect","useMemo","useState","Animated","StyleSheet","View","Platform","NovaCompositionCoorpacademyLogoCoorp","LogoCoorp","NovaCompositionCoorpacademyQrCode","QrCodeIcon","NovaCompositionCoorpacademyEmail","MailIcon","useAnimateProp","useTranslateY","Touchable","useTemplateContext","Text","COLORS","cm_primary_blue","createStyleSheet","theme","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","styleSheet","setStylesheet","translateGradients","fromValue","toValue","duration","delay","translateContent","fadeInContent","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","Value","interpolateScale","interpolate","inputRange","outputRange","_stylesheet","start","animatedScale","timing","useNativeDriver","createElement","style","animatedStyle","testID","select","default","experimental_backgroundImage","web","backgroundImage","onLongPress","scale","onPress"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle, Platform} from 'react-native';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\nimport {COLORS} from '../../../variables/colors';\n\nconst {cm_primary_blue} = COLORS;\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle & {fill?: string};\n mailIcon: ViewStyle & {fill?: string};\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create<StyleSheetType>({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n } as ViewStyle & {fill?: string},\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n } as ViewStyle & {fill?: string},\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n } as ViewStyle & {textDecorationLine: string}\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useMemo(() => new Animated.Value(0), []);\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <View\n style={[\n styleSheet.gradient,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`\n },\n web: {\n // @ts-ignore\n backgroundImage: `linear-gradient(180deg, ${cm_primary_blue} 0%, #fff 95%)`\n }\n }) as ViewStyle\n ]}\n />\n <View\n style={[\n styleSheet.gradient2,\n Platform.select({\n default: {\n // @ts-ignore\n experimental_backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'\n },\n web: {\n // @ts-ignore\n backgroundImage: 'linear-gradient(180deg, #2199AB 0%, #fff 95%)'\n }\n }) as ViewStyle\n ]}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAGC,SAAS,EAAEC,OAAO,EAAUC,QAAQ,QAAO,OAAO;AACjE,SAAQC,QAAQ,EAAEC,UAAU,EAAaC,IAAI,EAAaC,QAAQ,QAAO,cAAc;AACvF,SACEC,oCAAoC,IAAIC,SAAS,EACjDC,iCAAiC,IAAIC,UAAU,EAC/CC,gCAAgC,IAAIC,QAAQ,QACvC,0BAA0B;AACjC,SAAQC,cAAc,EAAEC,aAAa,QAAO,sCAAsC;AAClF,OAAOC,SAAS,MAAM,qCAAqC;AAC3D,SAAQC,kBAAkB,QAAO,mCAAmC;AAEpE,OAAOC,IAAI,MAAM,iCAAiC;AAClD,SAAQC,MAAM,QAAO,2BAA2B;AAEhD,MAAM;EAACC;AAAe,CAAC,GAAGD,MAAM;AA4BhC,MAAME,gBAAgB,GAAIC,KAAY,IACpCjB,UAAU,CAACkB,MAAM,CAAiB;EAChCC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,K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aAAA,CAAChG,UAAU;IAACiG,KAAK,EAAExB,UAAU,CAAChB;EAAW,CAAE,CAAC,eAC5CpE,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAAClB;EAAc,GAAEa,OAAO,CAAChB,SAAgB,CACvD,CAAC,eACZ/D,KAAA,CAAA2G,aAAA,CAAC3F,SAAS;IACR4F,KAAK,EAAE,CAACxB,UAAU,CAAC1B,MAAM,EAAE0B,UAAU,CAACd,cAAc,CAAE;IACtDgD,OAAO,EAAEnC,yBAA0B;IACnC2B,MAAM,EAAC;EAAsB,gBAE7B9G,KAAA,CAAA2G,aAAA,CAAC9F,QAAQ;IAAC+F,KAAK,EAAExB,UAAU,CAACZ;EAAS,CAAE,CAAC,eACxCxE,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACb;EAAmB,GAAEQ,OAAO,CAACT,cAAqB,CACjE,CACP,CAAC,eACPtE,KAAA,CAAA2G,aAAA,CAAC3F,SAAS;IAACsG,OAAO,EAAEpC,WAAY;IAAC0B,KAAK,EAAExB,UAAU,CAACX;EAAK,gBACtDzE,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACV;EAAU,GAAEK,OAAO,CAACL,SAAgB,CAAC,eAC7D1E,KAAA,CAAA2G,aAAA,CAACzF,IAAI;IAAC0F,KAAK,EAAExB,UAAU,CAACT;EAAQ,GAAEI,OAAO,CAACJ,OAAc,CAC/C,CACP,CACO,CACF,CAAC;AAEpB,CAAC;AAED,eAAeE,OAAO","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  export default MyLearning;
2
- declare function MyLearning(props: any, context: any): JSX.Element;
2
+ declare function MyLearning(props: any, context: any): React.JSX.Element;
3
3
  declare namespace MyLearning {
4
4
  namespace contextTypes {
5
5
  const skin: PropTypes.Requireable<PropTypes.InferProps<{
@@ -26,8 +26,8 @@ declare namespace MyLearning {
26
26
  const translate: PropTypes.Requireable<(...args: any[]) => any>;
27
27
  }
28
28
  namespace propTypes {
29
- const skills: PropTypes.Requireable<(string | null | undefined)[]>;
30
- const selectedSkills: PropTypes.Requireable<(string | null | undefined)[]>;
29
+ const skills: PropTypes.Requireable<string[]>;
30
+ const selectedSkills: PropTypes.Requireable<string[]>;
31
31
  const skillsInformation: PropTypes.Requireable<{
32
32
  [x: string]: PropTypes.InferProps<{
33
33
  availableForReview: PropTypes.Requireable<boolean>;
@@ -38,10 +38,10 @@ declare namespace MyLearning {
38
38
  questionsToReview: PropTypes.Requireable<number>;
39
39
  learningTime: PropTypes.Requireable<number>;
40
40
  }>>;
41
- }> | null | undefined;
41
+ }>;
42
42
  }>;
43
43
  const skillsLocales: PropTypes.Requireable<{
44
- [x: string]: string | null | undefined;
44
+ [x: string]: string;
45
45
  }>;
46
46
  const learnerFeature: PropTypes.Requireable<boolean>;
47
47
  const isLoading: PropTypes.Requireable<boolean>;
@@ -52,7 +52,7 @@ declare namespace MyLearning {
52
52
  dataName: PropTypes.Requireable<string>;
53
53
  title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
54
54
  showMore: PropTypes.Requireable<string>;
55
- cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
55
+ cards: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
56
56
  badge: PropTypes.Requireable<string>;
57
57
  image: PropTypes.Requireable<string>;
58
58
  disabled: PropTypes.Requireable<boolean>;
@@ -108,18 +108,18 @@ declare namespace MyLearning {
108
108
  tagLabel: PropTypes.Requireable<string>;
109
109
  progression: PropTypes.Requireable<number>;
110
110
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
111
- }> | null | undefined> | null | undefined)[]>;
111
+ }>>[]>;
112
112
  tabs: PropTypes.Requireable<PropTypes.InferProps<{
113
- items: PropTypes.Requireable<(PropTypes.InferProps<{
113
+ items: PropTypes.Requireable<PropTypes.InferProps<{
114
114
  title: PropTypes.Requireable<string>;
115
115
  count: PropTypes.Requireable<number>;
116
116
  'aria-label': PropTypes.Requireable<string>;
117
117
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
118
118
  isActive: PropTypes.Requireable<boolean>;
119
- }> | null | undefined)[]>;
119
+ }>[]>;
120
120
  }>>;
121
121
  customStyle: PropTypes.Requireable<{
122
- [x: string]: string | null | undefined;
122
+ [x: string]: string;
123
123
  }>;
124
124
  onScroll: PropTypes.Requireable<(...args: any[]) => any>;
125
125
  onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
@@ -132,5 +132,6 @@ declare namespace MyLearning {
132
132
  }>>;
133
133
  }
134
134
  }
135
+ import React from "react";
135
136
  import PropTypes from "prop-types";
136
137
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,mEA2ZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,yEA2ZC"}