@coorpacademy/components 11.40.14-alpha.9 → 11.40.14-react18.80

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 (1624) 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/button/index.d.ts +2 -1
  8. package/es/atom/button/index.d.ts.map +1 -1
  9. package/es/atom/button/index.native.d.ts +2 -2
  10. package/es/atom/button/index.native.d.ts.map +1 -1
  11. package/es/atom/button-link/index.d.ts +4 -4
  12. package/es/atom/button-link/index.d.ts.map +1 -1
  13. package/es/atom/button-link/types.d.ts +2 -2
  14. package/es/atom/button-link-icon/index.d.ts +2 -1
  15. package/es/atom/button-link-icon/index.d.ts.map +1 -1
  16. package/es/atom/button-menu/index.d.ts +5 -5
  17. package/es/atom/button-menu/index.d.ts.map +1 -1
  18. package/es/atom/button-menu/types.d.ts +4 -4
  19. package/es/atom/card-image-preview/index.d.ts +2 -1
  20. package/es/atom/card-image-preview/index.d.ts.map +1 -1
  21. package/es/atom/catalog-section/index.d.ts +2 -1
  22. package/es/atom/catalog-section/index.d.ts.map +1 -1
  23. package/es/atom/centered-text/index.d.ts +2 -1
  24. package/es/atom/centered-text/index.d.ts.map +1 -1
  25. package/es/atom/checkbox/index.d.ts +2 -1
  26. package/es/atom/checkbox/index.d.ts.map +1 -1
  27. package/es/atom/checkbox-with-title/index.d.ts +3 -25
  28. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  29. package/es/atom/checkbox-with-title/index.js +2 -16
  30. package/es/atom/checkbox-with-title/index.js.map +1 -1
  31. package/es/atom/chip/index.d.ts +3 -2
  32. package/es/atom/chip/index.d.ts.map +1 -1
  33. package/es/atom/chip/index.js +5 -5
  34. package/es/atom/chip/index.js.map +1 -1
  35. package/es/atom/chips/index.d.ts +2 -1
  36. package/es/atom/chips/index.d.ts.map +1 -1
  37. package/es/atom/choice/index.native.d.ts +2 -2
  38. package/es/atom/choice/index.native.d.ts.map +1 -1
  39. package/es/atom/circular-progress-bar/index.d.ts +2 -2
  40. package/es/atom/circular-progress-bar/index.d.ts.map +1 -1
  41. package/es/atom/clue/index.d.ts +3 -3
  42. package/es/atom/clue/index.d.ts.map +1 -1
  43. package/es/atom/content-badge/index.d.ts +2 -1
  44. package/es/atom/content-badge/index.d.ts.map +1 -1
  45. package/es/atom/cta/index.d.ts +2 -2
  46. package/es/atom/cta/index.d.ts.map +1 -1
  47. package/es/atom/difficulty-level/index.d.ts +4 -3
  48. package/es/atom/difficulty-level/index.d.ts.map +1 -1
  49. package/es/atom/drag-and-drop/index.d.ts +1 -1
  50. package/es/atom/drag-and-drop/index.d.ts.map +1 -1
  51. package/es/atom/empty-search-result/index.d.ts +2 -1
  52. package/es/atom/empty-search-result/index.d.ts.map +1 -1
  53. package/es/atom/gradient/index.native.d.ts +2 -2
  54. package/es/atom/gradient/index.native.d.ts.map +1 -1
  55. package/es/atom/gradient/index.native.js +1 -1
  56. package/es/atom/gradient/index.native.js.map +1 -1
  57. package/es/atom/header-back-button/index.native.d.ts +2 -2
  58. package/es/atom/header-back-button/index.native.d.ts.map +1 -1
  59. package/es/atom/header-back-icon/index.native.d.ts +2 -2
  60. package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
  61. package/es/atom/html/index.native.d.ts +2 -2
  62. package/es/atom/html/index.native.d.ts.map +1 -1
  63. package/es/atom/html/index.native.js.map +1 -1
  64. package/es/atom/icon/index.d.ts +1 -1
  65. package/es/atom/icon/index.js +1 -1
  66. package/es/atom/icon/index.js.map +1 -1
  67. package/es/atom/image-background/index.native.d.ts +2 -2
  68. package/es/atom/image-background/index.native.d.ts.map +1 -1
  69. package/es/atom/image-background/index.native.js.map +1 -1
  70. package/es/atom/input-checkbox/index.d.ts +2 -1
  71. package/es/atom/input-checkbox/index.d.ts.map +1 -1
  72. package/es/atom/input-color/index.d.ts +2 -1
  73. package/es/atom/input-color/index.d.ts.map +1 -1
  74. package/es/atom/input-doublestep/index.d.ts +2 -2
  75. package/es/atom/input-doublestep/index.d.ts.map +1 -1
  76. package/es/atom/input-file-draggable/index.d.ts +11 -10
  77. package/es/atom/input-file-draggable/index.d.ts.map +1 -1
  78. package/es/atom/input-html/index.d.ts +2 -1
  79. package/es/atom/input-html/index.d.ts.map +1 -1
  80. package/es/atom/input-html/input-preview.d.ts +2 -1
  81. package/es/atom/input-html/input-preview.d.ts.map +1 -1
  82. package/es/atom/input-readonly/index.d.ts +2 -1
  83. package/es/atom/input-readonly/index.d.ts.map +1 -1
  84. package/es/atom/input-search/index.d.ts +2 -1
  85. package/es/atom/input-search/index.d.ts.map +1 -1
  86. package/es/atom/input-select/index.d.ts +2 -2
  87. package/es/atom/input-select/index.d.ts.map +1 -1
  88. package/es/atom/input-switch/index.d.ts +2 -24
  89. package/es/atom/input-switch/index.d.ts.map +1 -1
  90. package/es/atom/input-switch/index.js +2 -16
  91. package/es/atom/input-switch/index.js.map +1 -1
  92. package/es/atom/input-text/index.d.ts +2 -1
  93. package/es/atom/input-text/index.d.ts.map +1 -1
  94. package/es/atom/input-text-with-title/index.d.ts +2 -1
  95. package/es/atom/input-text-with-title/index.d.ts.map +1 -1
  96. package/es/atom/input-textarea/index.d.ts +2 -1
  97. package/es/atom/input-textarea/index.d.ts.map +1 -1
  98. package/es/atom/label/index.d.ts +3 -2
  99. package/es/atom/label/index.d.ts.map +1 -1
  100. package/es/atom/life/index.d.ts +2 -1
  101. package/es/atom/life/index.d.ts.map +1 -1
  102. package/es/atom/link/index.d.ts +2 -1
  103. package/es/atom/link/index.d.ts.map +1 -1
  104. package/es/atom/loader/index.d.ts +3 -2
  105. package/es/atom/loader/index.d.ts.map +1 -1
  106. package/es/atom/loader/index.native.d.ts +2 -2
  107. package/es/atom/loader/index.native.d.ts.map +1 -1
  108. package/es/atom/lottie-wrapper/index.d.ts +2 -1
  109. package/es/atom/lottie-wrapper/index.d.ts.map +1 -1
  110. package/es/atom/notification/index.d.ts +2 -1
  111. package/es/atom/notification/index.d.ts.map +1 -1
  112. package/es/atom/picture/index.d.ts +2 -1
  113. package/es/atom/picture/index.d.ts.map +1 -1
  114. package/es/atom/picture-background/index.d.ts +5 -4
  115. package/es/atom/picture-background/index.d.ts.map +1 -1
  116. package/es/atom/promo-code/index.d.ts +2 -1
  117. package/es/atom/promo-code/index.d.ts.map +1 -1
  118. package/es/atom/provider/index.d.ts +1 -0
  119. package/es/atom/provider/index.d.ts.map +1 -1
  120. package/es/atom/provider/web-context.d.ts +2 -2
  121. package/es/atom/provider/web-context.d.ts.map +1 -1
  122. package/es/atom/radio-group/index.d.ts +4 -3
  123. package/es/atom/radio-group/index.d.ts.map +1 -1
  124. package/es/atom/radio-group/item.d.ts +2 -1
  125. package/es/atom/radio-group/item.d.ts.map +1 -1
  126. package/es/atom/radio-with-title/index.d.ts +13 -13
  127. package/es/atom/radio-with-title/types.d.ts +12 -12
  128. package/es/atom/range/handle.d.ts +2 -1
  129. package/es/atom/range/handle.d.ts.map +1 -1
  130. package/es/atom/range/index.d.ts +5 -35
  131. package/es/atom/range/index.d.ts.map +1 -1
  132. package/es/atom/range/index.js +20 -88
  133. package/es/atom/range/index.js.map +1 -1
  134. package/es/atom/range/style.css +0 -38
  135. package/es/atom/resource-miniature/index.d.ts +2 -1
  136. package/es/atom/resource-miniature/index.d.ts.map +1 -1
  137. package/es/atom/review-presentation/index.d.ts +2 -1
  138. package/es/atom/review-presentation/index.d.ts.map +1 -1
  139. package/es/atom/review-presentation/index.native.d.ts +2 -2
  140. package/es/atom/review-presentation/index.native.d.ts.map +1 -1
  141. package/es/atom/select/index.d.ts +14 -13
  142. package/es/atom/select/index.d.ts.map +1 -1
  143. package/es/atom/select-icon/index.d.ts +2 -1
  144. package/es/atom/select-icon/index.d.ts.map +1 -1
  145. package/es/atom/select-modal/index.native.d.ts +2 -2
  146. package/es/atom/select-modal/index.native.d.ts.map +1 -1
  147. package/es/atom/select-modal/index.native.js +1 -1
  148. package/es/atom/select-modal/index.native.js.map +1 -1
  149. package/es/atom/slide/index.d.ts +2 -1
  150. package/es/atom/slide/index.d.ts.map +1 -1
  151. package/es/atom/social-link/index.d.ts +2 -1
  152. package/es/atom/social-link/index.d.ts.map +1 -1
  153. package/es/atom/space/index.native.d.ts +2 -2
  154. package/es/atom/space/index.native.d.ts.map +1 -1
  155. package/es/atom/spinner/index.d.ts +2 -1
  156. package/es/atom/spinner/index.d.ts.map +1 -1
  157. package/es/atom/status-item/index.d.ts +2 -2
  158. package/es/atom/status-item/index.d.ts.map +1 -1
  159. package/es/atom/status-item/index.native.d.ts +2 -2
  160. package/es/atom/status-item/index.native.d.ts.map +1 -1
  161. package/es/atom/tab/index.d.ts +5 -4
  162. package/es/atom/tab/index.d.ts.map +1 -1
  163. package/es/atom/tab-content/index.d.ts +2 -1
  164. package/es/atom/tab-content/index.d.ts.map +1 -1
  165. package/es/atom/tag/index.d.ts +16 -16
  166. package/es/atom/tag/index.d.ts.map +1 -1
  167. package/es/atom/text/index.native.d.ts +1 -1
  168. package/es/atom/text/index.native.d.ts.map +1 -1
  169. package/es/atom/title/index.d.ts +14 -14
  170. package/es/atom/title/index.d.ts.map +1 -1
  171. package/es/atom/tooltip/index.d.ts +6 -5
  172. package/es/atom/tooltip/index.d.ts.map +1 -1
  173. package/es/atom/video-upload/index.d.ts +2 -1
  174. package/es/atom/video-upload/index.d.ts.map +1 -1
  175. package/es/atom/wizard-steps/index.d.ts +4 -3
  176. package/es/atom/wizard-steps/index.d.ts.map +1 -1
  177. package/es/globals.d.js.map +1 -1
  178. package/es/hoc/animation/index.d.ts +1 -1
  179. package/es/hoc/animation-scheduler/index.d.ts +1 -1
  180. package/es/hoc/modal/index.native.d.ts +1 -1
  181. package/es/hoc/modal/index.native.d.ts.map +1 -1
  182. package/es/hoc/modal/select/index.native.d.ts +2 -2
  183. package/es/hoc/modal/select/index.native.d.ts.map +1 -1
  184. package/es/hoc/modal/select-item/index.native.d.ts +2 -2
  185. package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
  186. package/es/hoc/swapper/index.d.ts +3 -2
  187. package/es/hoc/swapper/index.d.ts.map +1 -1
  188. package/es/hoc/touchable/index.native.d.ts +1 -1
  189. package/es/hoc/touchable/index.native.d.ts.map +1 -1
  190. package/es/hoc/touchable/index.native.js +14 -3
  191. package/es/hoc/touchable/index.native.js.map +1 -1
  192. package/es/hoc/transition/index.d.ts +1 -1
  193. package/es/molecule/add-to-my-list/index.d.ts +4 -3
  194. package/es/molecule/add-to-my-list/index.d.ts.map +1 -1
  195. package/es/molecule/answer/index.d.ts +2 -1
  196. package/es/molecule/answer/index.d.ts.map +1 -1
  197. package/es/molecule/answer/index.native.d.ts +2 -2
  198. package/es/molecule/answer/index.native.d.ts.map +1 -1
  199. package/es/molecule/answer/prop-types.d.ts +10 -10
  200. package/es/molecule/audio/index.d.ts +1 -1
  201. package/es/molecule/audio/index.d.ts.map +1 -1
  202. package/es/molecule/banner/index.d.ts +4 -3
  203. package/es/molecule/banner/index.d.ts.map +1 -1
  204. package/es/molecule/base-modal/index.d.ts +4 -3
  205. package/es/molecule/base-modal/index.d.ts.map +1 -1
  206. package/es/molecule/battle-opponent-list/index.d.ts +4 -4
  207. package/es/molecule/battle-opponent-list/index.d.ts.map +1 -1
  208. package/es/molecule/battle-opponent-list/prop-types.d.ts +2 -2
  209. package/es/molecule/battle-request/index.d.ts +2 -1
  210. package/es/molecule/battle-request/index.d.ts.map +1 -1
  211. package/es/molecule/brand-card/description.d.ts +2 -1
  212. package/es/molecule/brand-card/description.d.ts.map +1 -1
  213. package/es/molecule/brand-card/index.d.ts +2 -1
  214. package/es/molecule/brand-card/index.d.ts.map +1 -1
  215. package/es/molecule/brand-card-create/index.d.ts +2 -1
  216. package/es/molecule/brand-card-create/index.d.ts.map +1 -1
  217. package/es/molecule/brand-create-form/index.d.ts +2 -1
  218. package/es/molecule/brand-create-form/index.d.ts.map +1 -1
  219. package/es/molecule/brand-download-box/index.d.ts +2 -1
  220. package/es/molecule/brand-download-box/index.d.ts.map +1 -1
  221. package/es/molecule/brand-form-group/index.d.ts +3 -2
  222. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  223. package/es/molecule/brand-logo/index.native.d.ts +2 -2
  224. package/es/molecule/brand-logo/index.native.d.ts.map +1 -1
  225. package/es/molecule/brand-logo/index.native.js.map +1 -1
  226. package/es/molecule/brand-tabs/index.d.ts +4 -3
  227. package/es/molecule/brand-tabs/index.d.ts.map +1 -1
  228. package/es/molecule/brand-upload-box/index.d.ts +1 -1
  229. package/es/molecule/brand-upload-box/index.d.ts.map +1 -1
  230. package/es/molecule/breadcrumbs/index.d.ts +6 -5
  231. package/es/molecule/breadcrumbs/index.d.ts.map +1 -1
  232. package/es/molecule/bulk-infos/index.d.ts +2 -2
  233. package/es/molecule/bulk-infos/index.d.ts.map +1 -1
  234. package/es/molecule/bulk-progress-bar/index.d.ts +2 -2
  235. package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  236. package/es/molecule/bullet-point-menu-button/index.d.ts +5 -5
  237. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  238. package/es/molecule/bullet-point-menu-button/types.d.ts +3 -3
  239. package/es/molecule/button-menu-action/index.d.ts +8 -8
  240. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  241. package/es/molecule/button-menu-action/types.d.ts +6 -6
  242. package/es/molecule/card/customer.d.ts +3 -2
  243. package/es/molecule/card/customer.d.ts.map +1 -1
  244. package/es/molecule/card/favorite.d.ts +4 -3
  245. package/es/molecule/card/favorite.d.ts.map +1 -1
  246. package/es/molecule/card/index.d.ts +1 -1
  247. package/es/molecule/card/notification.d.ts +2 -1
  248. package/es/molecule/card/notification.d.ts.map +1 -1
  249. package/es/molecule/card/selectable.d.ts +2 -1
  250. package/es/molecule/card/selectable.d.ts.map +1 -1
  251. package/es/molecule/card-congrats/index.native.d.ts +2 -2
  252. package/es/molecule/card-congrats/index.native.d.ts.map +1 -1
  253. package/es/molecule/card-content/index.d.ts +8 -7
  254. package/es/molecule/card-content/index.d.ts.map +1 -1
  255. package/es/molecule/card-with-button/index.d.ts +3 -2
  256. package/es/molecule/card-with-button/index.d.ts.map +1 -1
  257. package/es/molecule/certification-card/index.d.ts +2 -1
  258. package/es/molecule/certification-card/index.d.ts.map +1 -1
  259. package/es/molecule/cm-popin/index.d.ts +2 -1
  260. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  261. package/es/molecule/cm-popin/index.native.d.ts +2 -2
  262. package/es/molecule/cm-popin/index.native.d.ts.map +1 -1
  263. package/es/molecule/cm-popin/types.d.ts +81 -81
  264. package/es/molecule/cookie-banner/index.d.ts +2 -1
  265. package/es/molecule/cookie-banner/index.d.ts.map +1 -1
  266. package/es/molecule/coorp-manager-roles/index.d.ts +4 -3
  267. package/es/molecule/coorp-manager-roles/index.d.ts.map +1 -1
  268. package/es/molecule/coorpmanager-base-banner/index.d.ts +2 -1
  269. package/es/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
  270. package/es/molecule/course-section/index.d.ts +4 -3
  271. package/es/molecule/course-section/index.d.ts.map +1 -1
  272. package/es/molecule/course-sections/index.d.ts +6 -5
  273. package/es/molecule/course-sections/index.d.ts.map +1 -1
  274. package/es/molecule/dashboard/cards-list/index.d.ts +8 -8
  275. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  276. package/es/molecule/discipline-associated-skills/index.d.ts +4 -3
  277. package/es/molecule/discipline-associated-skills/index.d.ts.map +1 -1
  278. package/es/molecule/discipline-cta/index.d.ts +2 -1
  279. package/es/molecule/discipline-cta/index.d.ts.map +1 -1
  280. package/es/molecule/discipline-header/index.d.ts +3 -3
  281. package/es/molecule/discipline-header/index.d.ts.map +1 -1
  282. package/es/molecule/discipline-partners/index.d.ts +6 -5
  283. package/es/molecule/discipline-partners/index.d.ts.map +1 -1
  284. package/es/molecule/discipline-scope/index.d.ts +10 -9
  285. package/es/molecule/discipline-scope/index.d.ts.map +1 -1
  286. package/es/molecule/drag-and-drop/index.d.ts +6 -5
  287. package/es/molecule/drag-and-drop/index.d.ts.map +1 -1
  288. package/es/molecule/drag-and-drop/overlay.d.ts +2 -1
  289. package/es/molecule/drag-and-drop/overlay.d.ts.map +1 -1
  290. package/es/molecule/drag-and-drop/placeholder.d.ts +2 -1
  291. package/es/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
  292. package/es/molecule/drag-and-drop/upload-report.d.ts +5 -4
  293. package/es/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
  294. package/es/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
  295. package/es/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
  296. package/es/molecule/draggable/index.d.ts +2 -1
  297. package/es/molecule/draggable/index.d.ts.map +1 -1
  298. package/es/molecule/draggable-list/index.d.ts +15 -14
  299. package/es/molecule/draggable-list/index.d.ts.map +1 -1
  300. package/es/molecule/errors-table/index.d.ts +7 -7
  301. package/es/molecule/errors-table/index.d.ts.map +1 -1
  302. package/es/molecule/errors-table/types.d.ts +5 -5
  303. package/es/molecule/expandable-item/index.d.ts +2 -2
  304. package/es/molecule/expandable-item/index.d.ts.map +1 -1
  305. package/es/molecule/expandable-list/index.d.ts +4 -4
  306. package/es/molecule/expandable-list/index.d.ts.map +1 -1
  307. package/es/molecule/expandable-list/types.d.ts +2 -2
  308. package/es/molecule/expandible-actionable-table/index.d.ts +18 -18
  309. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  310. package/es/molecule/expandible-actionable-table/types.d.ts +16 -16
  311. package/es/molecule/external-content-button/index.d.ts +1 -1
  312. package/es/molecule/external-content-button/index.d.ts.map +1 -1
  313. package/es/molecule/external-content-viewer/index.d.ts +2 -1
  314. package/es/molecule/external-content-viewer/index.d.ts.map +1 -1
  315. package/es/molecule/feedback/index.d.ts +2 -1
  316. package/es/molecule/feedback/index.d.ts.map +1 -1
  317. package/es/molecule/filters/filters-wrapper.d.ts +4 -3
  318. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  319. package/es/molecule/filters/index.d.ts +11 -11
  320. package/es/molecule/filters/index.d.ts.map +1 -1
  321. package/es/molecule/forum/forum-comment/index.d.ts +2 -1
  322. package/es/molecule/forum/forum-comment/index.d.ts.map +1 -1
  323. package/es/molecule/forum/forum-post/index.d.ts +2 -1
  324. package/es/molecule/forum/forum-post/index.d.ts.map +1 -1
  325. package/es/molecule/forum/forum-thread/index.d.ts +2 -1
  326. package/es/molecule/forum/forum-thread/index.d.ts.map +1 -1
  327. package/es/molecule/go1-banner/index.d.ts +2 -1
  328. package/es/molecule/go1-banner/index.d.ts.map +1 -1
  329. package/es/molecule/hero/index.d.ts +2 -2
  330. package/es/molecule/hero/index.d.ts.map +1 -1
  331. package/es/molecule/icon-picker-modal/index.d.ts +2 -1
  332. package/es/molecule/icon-picker-modal/index.d.ts.map +1 -1
  333. package/es/molecule/icon-picker-modal/index.js +1 -1
  334. package/es/molecule/icon-picker-modal/index.js.map +1 -1
  335. package/es/molecule/icon-preview/index.d.ts +1 -1
  336. package/es/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
  337. package/es/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
  338. package/es/molecule/learner-skill-card/index.d.ts +2 -1
  339. package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
  340. package/es/molecule/learning-priority-card/index.d.ts +2 -2
  341. package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
  342. package/es/molecule/learning-priority-modal/index.d.ts +8 -7
  343. package/es/molecule/learning-priority-modal/index.d.ts.map +1 -1
  344. package/es/molecule/learning-priority-setup-item/index.d.ts +2 -1
  345. package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
  346. package/es/molecule/learning-profile-radar-chart/index.d.ts +13 -13
  347. package/es/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  348. package/es/molecule/learning-profile-radar-chart/types.d.ts +8 -8
  349. package/es/molecule/list-badges/index.d.ts +4 -3
  350. package/es/molecule/list-badges/index.d.ts.map +1 -1
  351. package/es/molecule/login-alert/index.d.ts +2 -1
  352. package/es/molecule/login-alert/index.d.ts.map +1 -1
  353. package/es/molecule/menu-links/index.d.ts +4 -4
  354. package/es/molecule/menu-links/index.d.ts.map +1 -1
  355. package/es/molecule/menu-links/types.d.ts +2 -2
  356. package/es/molecule/menu-list/index.d.ts +4 -3
  357. package/es/molecule/menu-list/index.d.ts.map +1 -1
  358. package/es/molecule/message-popin/index.d.ts +2 -1
  359. package/es/molecule/message-popin/index.d.ts.map +1 -1
  360. package/es/molecule/modal/index.d.ts +2 -1
  361. package/es/molecule/modal/index.d.ts.map +1 -1
  362. package/es/molecule/module-bubble/index.d.ts +2 -1
  363. package/es/molecule/module-bubble/index.d.ts.map +1 -1
  364. package/es/molecule/module-card/index.d.ts +2 -1
  365. package/es/molecule/module-card/index.d.ts.map +1 -1
  366. package/es/molecule/multi-filter-panel/index.d.ts +10 -51
  367. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  368. package/es/molecule/multi-filter-panel/index.js +13 -28
  369. package/es/molecule/multi-filter-panel/index.js.map +1 -1
  370. package/es/molecule/multi-filter-panel/prop-types.d.ts +13 -39
  371. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  372. package/es/molecule/multi-filter-panel/prop-types.js +0 -4
  373. package/es/molecule/multi-filter-panel/prop-types.js.map +1 -1
  374. package/es/molecule/news/index.d.ts +2 -1
  375. package/es/molecule/news/index.d.ts.map +1 -1
  376. package/es/molecule/notification-banner/index.d.ts +2 -1
  377. package/es/molecule/notification-banner/index.d.ts.map +1 -1
  378. package/es/molecule/pagination/index.d.ts +2 -1
  379. package/es/molecule/pagination/index.d.ts.map +1 -1
  380. package/es/molecule/payment-form/index.d.ts +1 -1
  381. package/es/molecule/payment-form/index.d.ts.map +1 -1
  382. package/es/molecule/pdf/index.d.ts +2 -1
  383. package/es/molecule/pdf/index.d.ts.map +1 -1
  384. package/es/molecule/playlist-card/index.d.ts +4 -3
  385. package/es/molecule/playlist-card/index.d.ts.map +1 -1
  386. package/es/molecule/playlist-detail-cover/index.d.ts +4 -3
  387. package/es/molecule/playlist-detail-cover/index.d.ts.map +1 -1
  388. package/es/molecule/popin/index.d.ts +2 -1
  389. package/es/molecule/popin/index.d.ts.map +1 -1
  390. package/es/molecule/privacy-policy-contact/index.d.ts +2 -2
  391. package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -1
  392. package/es/molecule/product-card/index.d.ts +2 -1
  393. package/es/molecule/product-card/index.d.ts.map +1 -1
  394. package/es/molecule/progress-bar/index.d.ts +3 -2
  395. package/es/molecule/progress-bar/index.d.ts.map +1 -1
  396. package/es/molecule/progress-wrapper/index.d.ts +4 -3
  397. package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
  398. package/es/molecule/questions/drop-down/index.d.ts +5 -4
  399. package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
  400. package/es/molecule/questions/free-text/index.d.ts +2 -1
  401. package/es/molecule/questions/free-text/index.d.ts.map +1 -1
  402. package/es/molecule/questions/free-text/index.native.d.ts +2 -2
  403. package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
  404. package/es/molecule/questions/free-text/index.native.js.map +1 -1
  405. package/es/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
  406. package/es/molecule/questions/mobile/draggable/index.native.d.ts.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 +1 -1
  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/qcm/index.d.ts +4 -3
  416. package/es/molecule/questions/qcm/index.d.ts.map +1 -1
  417. package/es/molecule/questions/qcm-drag/index.d.ts +6 -5
  418. package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  419. package/es/molecule/questions/qcm-graphic/index.d.ts +4 -3
  420. package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  421. package/es/molecule/questions/question-range/index.d.ts +3 -5
  422. package/es/molecule/questions/question-range/index.d.ts.map +1 -1
  423. package/es/molecule/questions/template/index.d.ts +7 -17
  424. package/es/molecule/questions/template/index.d.ts.map +1 -1
  425. package/es/molecule/questions/types.d.ts +1 -1
  426. package/es/molecule/questions/types.d.ts.map +1 -1
  427. package/es/molecule/questions/types.js.map +1 -1
  428. package/es/molecule/quick-access-card/index.d.ts +2 -1
  429. package/es/molecule/quick-access-card/index.d.ts.map +1 -1
  430. package/es/molecule/quick-access-cards-group/index.d.ts +4 -3
  431. package/es/molecule/quick-access-cards-group/index.d.ts.map +1 -1
  432. package/es/molecule/quick-filters/index.d.ts +5 -5
  433. package/es/molecule/quick-filters/index.js +1 -3
  434. package/es/molecule/quick-filters/index.js.map +1 -1
  435. package/es/molecule/quick-filters/style.css +0 -2
  436. package/es/molecule/quick-filters/types.d.ts +4 -4
  437. package/es/molecule/resource-player/index.d.ts +4 -4
  438. package/es/molecule/resource-player/index.d.ts.map +1 -1
  439. package/es/molecule/review-card-congrats/index.d.ts +2 -1
  440. package/es/molecule/review-card-congrats/index.d.ts.map +1 -1
  441. package/es/molecule/review-correction-popin/index.d.ts +2 -1
  442. package/es/molecule/review-correction-popin/index.d.ts.map +1 -1
  443. package/es/molecule/review-correction-popin/index.native.d.ts +2 -2
  444. package/es/molecule/review-correction-popin/index.native.d.ts.map +1 -1
  445. package/es/molecule/review-header-steps/index.d.ts +2 -1
  446. package/es/molecule/review-header-steps/index.d.ts.map +1 -1
  447. package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
  448. package/es/molecule/scope-content/index.d.ts +9 -8
  449. package/es/molecule/scope-content/index.d.ts.map +1 -1
  450. package/es/molecule/scope-tabs/index.d.ts +3 -2
  451. package/es/molecule/scope-tabs/index.d.ts.map +1 -1
  452. package/es/molecule/search-form/index.d.ts +2 -1
  453. package/es/molecule/search-form/index.d.ts.map +1 -1
  454. package/es/molecule/select-multiple/index.d.ts +5 -4
  455. package/es/molecule/select-multiple/index.d.ts.map +1 -1
  456. package/es/molecule/setup-cohort-item/index.d.ts +6 -5
  457. package/es/molecule/setup-cohort-item/index.d.ts.map +1 -1
  458. package/es/molecule/setup-section/index.d.ts +5 -4
  459. package/es/molecule/setup-section/index.d.ts.map +1 -1
  460. package/es/molecule/setup-sections/index.d.ts +6 -5
  461. package/es/molecule/setup-sections/index.d.ts.map +1 -1
  462. package/es/molecule/setup-slider/index.d.ts +2 -1
  463. package/es/molecule/setup-slider/index.d.ts.map +1 -1
  464. package/es/molecule/share/index.d.ts +4 -3
  465. package/es/molecule/share/index.d.ts.map +1 -1
  466. package/es/molecule/skill-card/index.d.ts +2 -1
  467. package/es/molecule/skill-card/index.d.ts.map +1 -1
  468. package/es/molecule/skill-card/index.native.d.ts +2 -2
  469. package/es/molecule/skill-card/index.native.d.ts.map +1 -1
  470. package/es/molecule/skill-picker-modal/index.d.ts +6 -5
  471. package/es/molecule/skill-picker-modal/index.d.ts.map +1 -1
  472. package/es/molecule/skills-chart-side-information-item/index.d.ts +3 -2
  473. package/es/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
  474. package/es/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
  475. package/es/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
  476. package/es/molecule/ssmenu-list/index.d.ts +4 -3
  477. package/es/molecule/ssmenu-list/index.d.ts.map +1 -1
  478. package/es/molecule/subscription-freemium/index.d.ts +2 -1
  479. package/es/molecule/subscription-freemium/index.d.ts.map +1 -1
  480. package/es/molecule/subscription-premium/index.d.ts +2 -1
  481. package/es/molecule/subscription-premium/index.d.ts.map +1 -1
  482. package/es/molecule/table/index.d.ts +10 -9
  483. package/es/molecule/table/index.d.ts.map +1 -1
  484. package/es/molecule/teams-popin/index.d.ts +2 -1
  485. package/es/molecule/teams-popin/index.d.ts.map +1 -1
  486. package/es/molecule/theme-image/index.d.ts +2 -1
  487. package/es/molecule/theme-image/index.d.ts.map +1 -1
  488. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
  489. package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  490. package/es/molecule/title-radio-wrapper/index.d.ts +15 -15
  491. package/es/molecule/title-radio-wrapper/types.d.ts +14 -14
  492. package/es/molecule/titled-checkbox/index.d.ts +2 -1
  493. package/es/molecule/titled-checkbox/index.d.ts.map +1 -1
  494. package/es/molecule/translation-modal/index.d.ts +2 -1
  495. package/es/molecule/translation-modal/index.d.ts.map +1 -1
  496. package/es/molecule/unsubscribe/index.d.ts +2 -1
  497. package/es/molecule/unsubscribe/index.d.ts.map +1 -1
  498. package/es/molecule/vertical-tabs/index.d.ts +4 -3
  499. package/es/molecule/vertical-tabs/index.d.ts.map +1 -1
  500. package/es/molecule/video-iframe/index.d.ts +1 -1
  501. package/es/molecule/video-iframe/index.d.ts.map +1 -1
  502. package/es/molecule/video-player/index.d.ts +5 -5
  503. package/es/molecule/video-player/index.d.ts.map +1 -1
  504. package/es/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
  505. package/es/molecule/video-player/jwplayer.d.ts +3 -3
  506. package/es/molecule/video-player/jwplayer.d.ts.map +1 -1
  507. package/es/molecule/video-player/prop-types.d.ts +2 -2
  508. package/es/molecule/video-player/vimeo.d.ts +5 -5
  509. package/es/molecule/video-player/vimeo.d.ts.map +1 -1
  510. package/es/molecule/video-player-mobile/index.native.d.ts +2 -2
  511. package/es/molecule/video-player-mobile/index.native.d.ts.map +1 -1
  512. package/es/molecule/video-player-mobile/index.native.js +9 -8
  513. package/es/molecule/video-player-mobile/index.native.js.map +1 -1
  514. package/es/molecule/wizard-summary/index.d.ts +9 -8
  515. package/es/molecule/wizard-summary/index.d.ts.map +1 -1
  516. package/es/organism/accordion/container/index.d.ts +6 -5
  517. package/es/organism/accordion/container/index.d.ts.map +1 -1
  518. package/es/organism/accordion/coorp-manager/index.d.ts +6 -5
  519. package/es/organism/accordion/coorp-manager/index.d.ts.map +1 -1
  520. package/es/organism/accordion/coorp-manager/part/index.d.ts +2 -1
  521. package/es/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
  522. package/es/organism/accordion/part/index.d.ts +2 -1
  523. package/es/organism/accordion/part/index.d.ts.map +1 -1
  524. package/es/organism/accordion/toggler/index.d.ts +8 -8
  525. package/es/organism/accordion/toggler/index.d.ts.map +1 -1
  526. package/es/organism/brand-analytics/analytics-popin.d.ts +2 -1
  527. package/es/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
  528. package/es/organism/brand-analytics/index.d.ts +7 -12
  529. package/es/organism/brand-analytics/index.d.ts.map +1 -1
  530. package/es/organism/brand-dashboard/index.d.ts +4 -3
  531. package/es/organism/brand-dashboard/index.d.ts.map +1 -1
  532. package/es/organism/brand-form/index.d.ts +5 -4
  533. package/es/organism/brand-form/index.d.ts.map +1 -1
  534. package/es/organism/brand-learning-priorities/index.d.ts +20 -19
  535. package/es/organism/brand-learning-priorities/index.d.ts.map +1 -1
  536. package/es/organism/brand-table/index.d.ts +10 -9
  537. package/es/organism/brand-table/index.d.ts.map +1 -1
  538. package/es/organism/brand-upload/index.d.ts +4 -3
  539. package/es/organism/brand-upload/index.d.ts.map +1 -1
  540. package/es/organism/cards-grid/index.d.ts +3 -3
  541. package/es/organism/cart/index.d.ts +2 -1
  542. package/es/organism/cart/index.d.ts.map +1 -1
  543. package/es/organism/content-skill-modal/index.d.ts +71 -91
  544. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  545. package/es/organism/content-skill-modal/types.d.ts +70 -90
  546. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  547. package/es/organism/content-translation/index.d.ts +4 -3
  548. package/es/organism/content-translation/index.d.ts.map +1 -1
  549. package/es/organism/course-selection/index.d.ts +3 -2
  550. package/es/organism/course-selection/index.d.ts.map +1 -1
  551. package/es/organism/discussion/index.d.ts +4 -3
  552. package/es/organism/discussion/index.d.ts.map +1 -1
  553. package/es/organism/filter-checkbox-and-search/index.d.ts +4 -25
  554. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  555. package/es/organism/filter-checkbox-and-search/index.js +2 -13
  556. package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
  557. package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
  558. package/es/organism/filter-chip/index.d.ts +4 -25
  559. package/es/organism/filter-chip/index.d.ts.map +1 -1
  560. package/es/organism/filter-chip/index.js +2 -14
  561. package/es/organism/filter-chip/index.js.map +1 -1
  562. package/es/organism/filter-chip/prop-types.d.ts +2 -2
  563. package/es/organism/filter-switch/index.d.ts +4 -26
  564. package/es/organism/filter-switch/index.d.ts.map +1 -1
  565. package/es/organism/filter-switch/index.js +3 -18
  566. package/es/organism/filter-switch/index.js.map +1 -1
  567. package/es/organism/filter-switch/prop-types.d.ts +2 -4
  568. package/es/organism/filter-switch/prop-types.d.ts.map +1 -1
  569. package/es/organism/filter-switch/prop-types.js +1 -2
  570. package/es/organism/filter-switch/prop-types.js.map +1 -1
  571. package/es/organism/get-the-app/index.d.ts +2 -1
  572. package/es/organism/get-the-app/index.d.ts.map +1 -1
  573. package/es/organism/grid-list/index.d.ts +2 -1
  574. package/es/organism/grid-list/index.d.ts.map +1 -1
  575. package/es/organism/header/index.d.ts +4 -3
  576. package/es/organism/header/index.d.ts.map +1 -1
  577. package/es/organism/header-v2/index.native.d.ts +2 -2
  578. package/es/organism/header-v2/index.native.d.ts.map +1 -1
  579. package/es/organism/header-with-actions/index.d.ts +6 -6
  580. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  581. package/es/organism/header-with-actions/types.d.ts +4 -4
  582. package/es/organism/hero/index.d.ts +2 -1
  583. package/es/organism/hero/index.d.ts.map +1 -1
  584. package/es/organism/icon-editor/index.d.ts +4 -4
  585. package/es/organism/icon-editor/index.d.ts.map +1 -1
  586. package/es/organism/icon-editor/types.d.ts +2 -2
  587. package/es/organism/list-item/index.d.ts +13 -12
  588. package/es/organism/list-item/index.d.ts.map +1 -1
  589. package/es/organism/list-items/index.d.ts +64 -64
  590. package/es/organism/list-items/index.d.ts.map +1 -1
  591. package/es/organism/mobile-intro-popin/index.native.d.ts +2 -2
  592. package/es/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
  593. package/es/organism/mobile-intro-popin/index.native.js.map +1 -1
  594. package/es/organism/mobile-navigation/index.native.d.ts +2 -2
  595. package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
  596. package/es/organism/mooc/image-slider/index.d.ts +5 -4
  597. package/es/organism/mooc/image-slider/index.d.ts.map +1 -1
  598. package/es/organism/mooc-footer/index.d.ts +8 -7
  599. package/es/organism/mooc-footer/index.d.ts.map +1 -1
  600. package/es/organism/mooc-header/index.d.ts +11 -11
  601. package/es/organism/mooc-header/index.d.ts.map +1 -1
  602. package/es/organism/popin/index.d.ts +2 -1
  603. package/es/organism/popin/index.d.ts.map +1 -1
  604. package/es/organism/resource-browser/index.d.ts +5 -4
  605. package/es/organism/resource-browser/index.d.ts.map +1 -1
  606. package/es/organism/review-congrats/index.d.ts +2 -1
  607. package/es/organism/review-congrats/index.d.ts.map +1 -1
  608. package/es/organism/review-congrats/index.native.d.ts +2 -2
  609. package/es/organism/review-congrats/index.native.d.ts.map +1 -1
  610. package/es/organism/review-header/index.d.ts +2 -1
  611. package/es/organism/review-header/index.d.ts.map +1 -1
  612. package/es/organism/review-header/index.native.d.ts +2 -2
  613. package/es/organism/review-header/index.native.d.ts.map +1 -1
  614. package/es/organism/review-header/types.d.ts +2 -2
  615. package/es/organism/review-no-skills/index.d.ts +3 -2
  616. package/es/organism/review-no-skills/index.d.ts.map +1 -1
  617. package/es/organism/review-no-skills/index.native.d.ts +2 -2
  618. package/es/organism/review-no-skills/index.native.d.ts.map +1 -1
  619. package/es/organism/review-skills/index.d.ts +2 -1
  620. package/es/organism/review-skills/index.d.ts.map +1 -1
  621. package/es/organism/review-skills/index.native.d.ts +2 -2
  622. package/es/organism/review-skills/index.native.d.ts.map +1 -1
  623. package/es/organism/review-skills/prop-types.d.ts +2 -2
  624. package/es/organism/review-slide/index.d.ts +2 -1
  625. package/es/organism/review-slide/index.d.ts.map +1 -1
  626. package/es/organism/review-slide/index.native.d.ts +2 -2
  627. package/es/organism/review-slide/index.native.d.ts.map +1 -1
  628. package/es/organism/review-slide/index.native.js.map +1 -1
  629. package/es/organism/review-slide/prop-types.d.ts +14 -14
  630. package/es/organism/review-stacked-slides/index.d.ts +2 -1
  631. package/es/organism/review-stacked-slides/index.d.ts.map +1 -1
  632. package/es/organism/review-stacked-slides/index.native.d.ts +2 -2
  633. package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
  634. package/es/organism/review-stacked-slides/prop-types.d.ts +35 -35
  635. package/es/organism/rewards-form/index.d.ts +22 -22
  636. package/es/organism/rewards-form/index.d.ts.map +1 -1
  637. package/es/organism/search-and-chips-results/index.d.ts +4 -3
  638. package/es/organism/search-and-chips-results/index.d.ts.map +1 -1
  639. package/es/organism/select-opponents/index.d.ts +21 -21
  640. package/es/organism/select-opponents/types.d.ts +20 -20
  641. package/es/organism/settings/index.d.ts +10 -9
  642. package/es/organism/settings/index.d.ts.map +1 -1
  643. package/es/organism/setup-header/index.d.ts +10 -9
  644. package/es/organism/setup-header/index.d.ts.map +1 -1
  645. package/es/organism/sidebar/index.d.ts +24 -47
  646. package/es/organism/sidebar/index.d.ts.map +1 -1
  647. package/es/organism/skill-edition/index.d.ts +8 -8
  648. package/es/organism/skill-edition/index.d.ts.map +1 -1
  649. package/es/organism/skill-edition/types.d.ts +6 -6
  650. package/es/organism/slider/index.d.ts +2 -2
  651. package/es/organism/slider/index.d.ts.map +1 -1
  652. package/es/organism/title-and-input/index.d.ts +47 -47
  653. package/es/organism/title-and-input/types.d.ts +46 -46
  654. package/es/organism/user-preferences/index.d.ts +4 -3
  655. package/es/organism/user-preferences/index.d.ts.map +1 -1
  656. package/es/organism/wizard-contents/index.d.ts +67 -67
  657. package/es/organism/wizard-contents/index.d.ts.map +1 -1
  658. package/es/template/activity/engine-stars.d.ts +2 -1
  659. package/es/template/activity/engine-stars.d.ts.map +1 -1
  660. package/es/template/activity/index.d.ts +9 -8
  661. package/es/template/activity/index.d.ts.map +1 -1
  662. package/es/template/activity/progression-item.d.ts +2 -1
  663. package/es/template/activity/progression-item.d.ts.map +1 -1
  664. package/es/template/activity/stars-summary.d.ts +4 -3
  665. package/es/template/activity/stars-summary.d.ts.map +1 -1
  666. package/es/template/app-player/loading/index.d.ts +83 -83
  667. package/es/template/app-player/loading/index.d.ts.map +1 -1
  668. package/es/template/app-player/player/index.d.ts +168 -168
  669. package/es/template/app-player/player/index.d.ts.map +1 -1
  670. package/es/template/app-player/player/slides/footer/index.d.ts +4 -3
  671. package/es/template/app-player/player/slides/footer/index.d.ts.map +1 -1
  672. package/es/template/app-player/player/slides/header/index.d.ts +4 -3
  673. package/es/template/app-player/player/slides/header/learner.d.ts +2 -1
  674. package/es/template/app-player/player/slides/header/learner.d.ts.map +1 -1
  675. package/es/template/app-player/player/slides/header/lives.d.ts +2 -1
  676. package/es/template/app-player/player/slides/header/lives.d.ts.map +1 -1
  677. package/es/template/app-player/player/slides/header/microlearning.d.ts +2 -1
  678. package/es/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
  679. package/es/template/app-player/player/slides/index.d.ts +110 -110
  680. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  681. package/es/template/app-player/popin-correction/index.d.ts +87 -87
  682. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  683. package/es/template/app-player/popin-end/index.d.ts +92 -92
  684. package/es/template/app-player/popin-end/index.d.ts.map +1 -1
  685. package/es/template/app-player/popin-end/summary.d.ts +9 -8
  686. package/es/template/app-player/popin-end/summary.d.ts.map +1 -1
  687. package/es/template/app-player/popin-header/index.d.ts +8 -7
  688. package/es/template/app-player/popin-header/index.d.ts.map +1 -1
  689. package/es/template/app-player/popin-no-access/index.d.ts +2 -1
  690. package/es/template/app-player/popin-no-access/index.d.ts.map +1 -1
  691. package/es/template/app-review/demo-ts/index.native.d.ts +2 -2
  692. package/es/template/app-review/demo-ts/index.native.d.ts.map +1 -1
  693. package/es/template/app-review/index.d.ts +119 -119
  694. package/es/template/app-review/index.native.d.ts +2 -2
  695. package/es/template/app-review/index.native.d.ts.map +1 -1
  696. package/es/template/app-review/player/background-review.d.ts +2 -1
  697. package/es/template/app-review/player/background-review.d.ts.map +1 -1
  698. package/es/template/app-review/player/index.d.ts +2 -1
  699. package/es/template/app-review/player/index.d.ts.map +1 -1
  700. package/es/template/app-review/player/index.native.d.ts +2 -2
  701. package/es/template/app-review/player/index.native.d.ts.map +1 -1
  702. package/es/template/app-review/player/prop-types.d.ts +118 -118
  703. package/es/template/app-review/prop-types.d.ts +118 -118
  704. package/es/template/app-review/skills/index.d.ts +2 -1
  705. package/es/template/app-review/skills/index.d.ts.map +1 -1
  706. package/es/template/app-review/skills/index.native.d.ts +2 -2
  707. package/es/template/app-review/skills/index.native.d.ts.map +1 -1
  708. package/es/template/app-review/skills/prop-types.d.ts +2 -2
  709. package/es/template/app-review/template-context.d.ts +2 -2
  710. package/es/template/app-review/template-context.d.ts.map +1 -1
  711. package/es/template/back-office/brand-create/index.d.ts +10 -9
  712. package/es/template/back-office/brand-list/index.d.ts +10 -9
  713. package/es/template/back-office/brand-update/index.d.ts +337 -363
  714. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  715. package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
  716. package/es/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
  717. package/es/template/back-office/dashboard-preview/index.d.ts +10 -9
  718. package/es/template/back-office/layout/index.d.ts +10 -9
  719. package/es/template/battle-requests/index.d.ts +4 -3
  720. package/es/template/battle-requests/index.d.ts.map +1 -1
  721. package/es/template/certification-detail/index.d.ts +7 -6
  722. package/es/template/certification-detail/index.d.ts.map +1 -1
  723. package/es/template/certifications/index.d.ts +12 -11
  724. package/es/template/certifications/index.d.ts.map +1 -1
  725. package/es/template/cockpit/jw-uploader/index.d.ts +2 -1
  726. package/es/template/cockpit/jw-uploader/index.d.ts.map +1 -1
  727. package/es/template/common/authors/index.d.ts +5 -5
  728. package/es/template/common/authors/index.d.ts.map +1 -1
  729. package/es/template/common/coorp-header/index.d.ts +2 -1
  730. package/es/template/common/coorp-header/index.d.ts.map +1 -1
  731. package/es/template/common/dashboard/index.d.ts +165 -165
  732. package/es/template/common/dashboard/index.d.ts.map +1 -1
  733. package/es/template/common/discipline/index.d.ts +25 -24
  734. package/es/template/common/discipline/index.d.ts.map +1 -1
  735. package/es/template/common/faq-article-page/index.d.ts +4 -4
  736. package/es/template/common/faq-article-page/index.d.ts.map +1 -1
  737. package/es/template/common/faq-article-page/types.d.ts +2 -2
  738. package/es/template/common/faq-cards-page/index.d.ts +4 -4
  739. package/es/template/common/faq-cards-page/index.d.ts.map +1 -1
  740. package/es/template/common/faq-cards-page/types.d.ts +2 -2
  741. package/es/template/common/faq-page/index.d.ts +6 -6
  742. package/es/template/common/faq-page/index.d.ts.map +1 -1
  743. package/es/template/common/faq-page/types.d.ts +4 -4
  744. package/es/template/common/privacy-policy-page/index.d.ts +6 -6
  745. package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
  746. package/es/template/common/privacy-policy-page/types.d.ts +4 -4
  747. package/es/template/common/search-page/index.d.ts +107 -143
  748. package/es/template/common/search-page/index.d.ts.map +1 -1
  749. package/es/template/common/search-page/index.js +6 -45
  750. package/es/template/common/search-page/index.js.map +1 -1
  751. package/es/template/common/search-page/style.css +1 -27
  752. package/es/template/external-course/index.d.ts +83 -83
  753. package/es/template/external-course/index.d.ts.map +1 -1
  754. package/es/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
  755. package/es/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
  756. package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
  757. package/es/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
  758. package/es/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
  759. package/es/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
  760. package/es/template/mobile-login/receive-email/index.native.d.ts +2 -2
  761. package/es/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
  762. package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
  763. package/es/template/mobile-login/welcome/index.native.d.ts +2 -2
  764. package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  765. package/es/template/mobile-login/welcome/index.native.js +2 -2
  766. package/es/template/mobile-login/welcome/index.native.js.map +1 -1
  767. package/es/template/my-learning/index.d.ts +9 -8
  768. package/es/template/my-learning/index.d.ts.map +1 -1
  769. package/es/template/playlist-detail/index.d.ts +17 -16
  770. package/es/template/playlist-detail/index.d.ts.map +1 -1
  771. package/es/template/review-dashboard-skills/index.d.ts +4 -3
  772. package/es/template/review-dashboard-skills/index.d.ts.map +1 -1
  773. package/es/template/skill-detail/all-courses.d.ts +11 -11
  774. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  775. package/es/template/skill-detail/continue-learning.d.ts +4 -4
  776. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  777. package/es/template/skill-detail/index.d.ts +8 -8
  778. package/es/template/skill-detail/index.d.ts.map +1 -1
  779. package/es/template/teams-dashboard/index.d.ts +9 -8
  780. package/es/template/teams-dashboard/index.d.ts.map +1 -1
  781. package/es/util/button-icons.d.ts +2 -2
  782. package/es/util/get-resized-image.d.ts +2 -2
  783. package/es/util/get-resized-image.d.ts.map +1 -1
  784. package/es/util/image.d.ts +1 -1
  785. package/es/util/image.d.ts.map +1 -1
  786. package/es/util/proptypes.d.ts +1 -1
  787. package/es/util/proptypes.d.ts.map +1 -1
  788. package/es/variables/colors.css +0 -1
  789. package/lib/atom/autocomplete/index.d.ts +5 -4
  790. package/lib/atom/autocomplete/index.d.ts.map +1 -1
  791. package/lib/atom/avatar/index.d.ts +2 -1
  792. package/lib/atom/avatar/index.d.ts.map +1 -1
  793. package/lib/atom/battle-opponent/index.d.ts +2 -2
  794. package/lib/atom/battle-opponent/index.d.ts.map +1 -1
  795. package/lib/atom/button/index.d.ts +2 -1
  796. package/lib/atom/button/index.d.ts.map +1 -1
  797. package/lib/atom/button/index.native.d.ts +2 -2
  798. package/lib/atom/button/index.native.d.ts.map +1 -1
  799. package/lib/atom/button-link/index.d.ts +4 -4
  800. package/lib/atom/button-link/index.d.ts.map +1 -1
  801. package/lib/atom/button-link/types.d.ts +2 -2
  802. package/lib/atom/button-link-icon/index.d.ts +2 -1
  803. package/lib/atom/button-link-icon/index.d.ts.map +1 -1
  804. package/lib/atom/button-menu/index.d.ts +5 -5
  805. package/lib/atom/button-menu/index.d.ts.map +1 -1
  806. package/lib/atom/button-menu/types.d.ts +4 -4
  807. package/lib/atom/card-image-preview/index.d.ts +2 -1
  808. package/lib/atom/card-image-preview/index.d.ts.map +1 -1
  809. package/lib/atom/catalog-section/index.d.ts +2 -1
  810. package/lib/atom/catalog-section/index.d.ts.map +1 -1
  811. package/lib/atom/centered-text/index.d.ts +2 -1
  812. package/lib/atom/centered-text/index.d.ts.map +1 -1
  813. package/lib/atom/checkbox/index.d.ts +2 -1
  814. package/lib/atom/checkbox/index.d.ts.map +1 -1
  815. package/lib/atom/checkbox-with-title/index.d.ts +3 -25
  816. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  817. package/lib/atom/checkbox-with-title/index.js +2 -16
  818. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  819. package/lib/atom/chip/index.d.ts +3 -2
  820. package/lib/atom/chip/index.d.ts.map +1 -1
  821. package/lib/atom/chip/index.js +6 -6
  822. package/lib/atom/chip/index.js.map +1 -1
  823. package/lib/atom/chips/index.d.ts +2 -1
  824. package/lib/atom/chips/index.d.ts.map +1 -1
  825. package/lib/atom/choice/index.native.d.ts +2 -2
  826. package/lib/atom/choice/index.native.d.ts.map +1 -1
  827. package/lib/atom/circular-progress-bar/index.d.ts +2 -2
  828. package/lib/atom/circular-progress-bar/index.d.ts.map +1 -1
  829. package/lib/atom/clue/index.d.ts +3 -3
  830. package/lib/atom/clue/index.d.ts.map +1 -1
  831. package/lib/atom/content-badge/index.d.ts +2 -1
  832. package/lib/atom/content-badge/index.d.ts.map +1 -1
  833. package/lib/atom/cta/index.d.ts +2 -2
  834. package/lib/atom/cta/index.d.ts.map +1 -1
  835. package/lib/atom/difficulty-level/index.d.ts +4 -3
  836. package/lib/atom/difficulty-level/index.d.ts.map +1 -1
  837. package/lib/atom/drag-and-drop/index.d.ts +1 -1
  838. package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
  839. package/lib/atom/empty-search-result/index.d.ts +2 -1
  840. package/lib/atom/empty-search-result/index.d.ts.map +1 -1
  841. package/lib/atom/gradient/index.native.d.ts +2 -2
  842. package/lib/atom/gradient/index.native.d.ts.map +1 -1
  843. package/lib/atom/gradient/index.native.js +1 -1
  844. package/lib/atom/gradient/index.native.js.map +1 -1
  845. package/lib/atom/header-back-button/index.native.d.ts +2 -2
  846. package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
  847. package/lib/atom/header-back-icon/index.native.d.ts +2 -2
  848. package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
  849. package/lib/atom/html/index.native.d.ts +2 -2
  850. package/lib/atom/html/index.native.d.ts.map +1 -1
  851. package/lib/atom/html/index.native.js.map +1 -1
  852. package/lib/atom/icon/index.d.ts +1 -1
  853. package/lib/atom/icon/index.js +2 -2
  854. package/lib/atom/icon/index.js.map +1 -1
  855. package/lib/atom/image-background/index.native.d.ts +2 -2
  856. package/lib/atom/image-background/index.native.d.ts.map +1 -1
  857. package/lib/atom/image-background/index.native.js.map +1 -1
  858. package/lib/atom/input-checkbox/index.d.ts +2 -1
  859. package/lib/atom/input-checkbox/index.d.ts.map +1 -1
  860. package/lib/atom/input-color/index.d.ts +2 -1
  861. package/lib/atom/input-color/index.d.ts.map +1 -1
  862. package/lib/atom/input-doublestep/index.d.ts +2 -2
  863. package/lib/atom/input-doublestep/index.d.ts.map +1 -1
  864. package/lib/atom/input-file-draggable/index.d.ts +11 -10
  865. package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
  866. package/lib/atom/input-html/index.d.ts +2 -1
  867. package/lib/atom/input-html/index.d.ts.map +1 -1
  868. package/lib/atom/input-html/input-preview.d.ts +2 -1
  869. package/lib/atom/input-html/input-preview.d.ts.map +1 -1
  870. package/lib/atom/input-readonly/index.d.ts +2 -1
  871. package/lib/atom/input-readonly/index.d.ts.map +1 -1
  872. package/lib/atom/input-search/index.d.ts +2 -1
  873. package/lib/atom/input-search/index.d.ts.map +1 -1
  874. package/lib/atom/input-select/index.d.ts +2 -2
  875. package/lib/atom/input-select/index.d.ts.map +1 -1
  876. package/lib/atom/input-switch/index.d.ts +2 -24
  877. package/lib/atom/input-switch/index.d.ts.map +1 -1
  878. package/lib/atom/input-switch/index.js +2 -16
  879. package/lib/atom/input-switch/index.js.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/lottie-wrapper/index.d.ts +2 -1
  897. package/lib/atom/lottie-wrapper/index.d.ts.map +1 -1
  898. package/lib/atom/notification/index.d.ts +2 -1
  899. package/lib/atom/notification/index.d.ts.map +1 -1
  900. package/lib/atom/picture/index.d.ts +2 -1
  901. package/lib/atom/picture/index.d.ts.map +1 -1
  902. package/lib/atom/picture-background/index.d.ts +5 -4
  903. package/lib/atom/picture-background/index.d.ts.map +1 -1
  904. package/lib/atom/promo-code/index.d.ts +2 -1
  905. package/lib/atom/promo-code/index.d.ts.map +1 -1
  906. package/lib/atom/provider/index.d.ts +1 -0
  907. package/lib/atom/provider/index.d.ts.map +1 -1
  908. package/lib/atom/provider/web-context.d.ts +2 -2
  909. package/lib/atom/provider/web-context.d.ts.map +1 -1
  910. package/lib/atom/radio-group/index.d.ts +4 -3
  911. package/lib/atom/radio-group/index.d.ts.map +1 -1
  912. package/lib/atom/radio-group/item.d.ts +2 -1
  913. package/lib/atom/radio-group/item.d.ts.map +1 -1
  914. package/lib/atom/radio-with-title/index.d.ts +13 -13
  915. package/lib/atom/radio-with-title/types.d.ts +12 -12
  916. package/lib/atom/range/handle.d.ts +2 -1
  917. package/lib/atom/range/handle.d.ts.map +1 -1
  918. package/lib/atom/range/index.d.ts +5 -35
  919. package/lib/atom/range/index.d.ts.map +1 -1
  920. package/lib/atom/range/index.js +20 -88
  921. package/lib/atom/range/index.js.map +1 -1
  922. package/lib/atom/range/style.css +0 -38
  923. package/lib/atom/resource-miniature/index.d.ts +2 -1
  924. package/lib/atom/resource-miniature/index.d.ts.map +1 -1
  925. package/lib/atom/review-presentation/index.d.ts +2 -1
  926. package/lib/atom/review-presentation/index.d.ts.map +1 -1
  927. package/lib/atom/review-presentation/index.native.d.ts +2 -2
  928. package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
  929. package/lib/atom/select/index.d.ts +14 -13
  930. package/lib/atom/select/index.d.ts.map +1 -1
  931. package/lib/atom/select-icon/index.d.ts +2 -1
  932. package/lib/atom/select-icon/index.d.ts.map +1 -1
  933. package/lib/atom/select-modal/index.native.d.ts +2 -2
  934. package/lib/atom/select-modal/index.native.d.ts.map +1 -1
  935. package/lib/atom/select-modal/index.native.js +1 -1
  936. package/lib/atom/select-modal/index.native.js.map +1 -1
  937. package/lib/atom/slide/index.d.ts +2 -1
  938. package/lib/atom/slide/index.d.ts.map +1 -1
  939. package/lib/atom/social-link/index.d.ts +2 -1
  940. package/lib/atom/social-link/index.d.ts.map +1 -1
  941. package/lib/atom/space/index.native.d.ts +2 -2
  942. package/lib/atom/space/index.native.d.ts.map +1 -1
  943. package/lib/atom/spinner/index.d.ts +2 -1
  944. package/lib/atom/spinner/index.d.ts.map +1 -1
  945. package/lib/atom/status-item/index.d.ts +2 -2
  946. package/lib/atom/status-item/index.d.ts.map +1 -1
  947. package/lib/atom/status-item/index.native.d.ts +2 -2
  948. package/lib/atom/status-item/index.native.d.ts.map +1 -1
  949. package/lib/atom/tab/index.d.ts +5 -4
  950. package/lib/atom/tab/index.d.ts.map +1 -1
  951. package/lib/atom/tab-content/index.d.ts +2 -1
  952. package/lib/atom/tab-content/index.d.ts.map +1 -1
  953. package/lib/atom/tag/index.d.ts +16 -16
  954. package/lib/atom/tag/index.d.ts.map +1 -1
  955. package/lib/atom/text/index.native.d.ts +1 -1
  956. package/lib/atom/text/index.native.d.ts.map +1 -1
  957. package/lib/atom/title/index.d.ts +14 -14
  958. package/lib/atom/title/index.d.ts.map +1 -1
  959. package/lib/atom/tooltip/index.d.ts +6 -5
  960. package/lib/atom/tooltip/index.d.ts.map +1 -1
  961. package/lib/atom/video-upload/index.d.ts +2 -1
  962. package/lib/atom/video-upload/index.d.ts.map +1 -1
  963. package/lib/atom/wizard-steps/index.d.ts +4 -3
  964. package/lib/atom/wizard-steps/index.d.ts.map +1 -1
  965. package/lib/globals.d.js.map +1 -1
  966. package/lib/hoc/animation/index.d.ts +1 -1
  967. package/lib/hoc/animation-scheduler/index.d.ts +1 -1
  968. package/lib/hoc/modal/index.native.d.ts +1 -1
  969. package/lib/hoc/modal/index.native.d.ts.map +1 -1
  970. package/lib/hoc/modal/select/index.native.d.ts +2 -2
  971. package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
  972. package/lib/hoc/modal/select-item/index.native.d.ts +2 -2
  973. package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
  974. package/lib/hoc/swapper/index.d.ts +3 -2
  975. package/lib/hoc/swapper/index.d.ts.map +1 -1
  976. package/lib/hoc/touchable/index.native.d.ts +1 -1
  977. package/lib/hoc/touchable/index.native.d.ts.map +1 -1
  978. package/lib/hoc/touchable/index.native.js +13 -2
  979. package/lib/hoc/touchable/index.native.js.map +1 -1
  980. package/lib/hoc/transition/index.d.ts +1 -1
  981. package/lib/molecule/add-to-my-list/index.d.ts +4 -3
  982. package/lib/molecule/add-to-my-list/index.d.ts.map +1 -1
  983. package/lib/molecule/answer/index.d.ts +2 -1
  984. package/lib/molecule/answer/index.d.ts.map +1 -1
  985. package/lib/molecule/answer/index.native.d.ts +2 -2
  986. package/lib/molecule/answer/index.native.d.ts.map +1 -1
  987. package/lib/molecule/answer/prop-types.d.ts +10 -10
  988. package/lib/molecule/audio/index.d.ts +1 -1
  989. package/lib/molecule/audio/index.d.ts.map +1 -1
  990. package/lib/molecule/banner/index.d.ts +4 -3
  991. package/lib/molecule/banner/index.d.ts.map +1 -1
  992. package/lib/molecule/base-modal/index.d.ts +4 -3
  993. package/lib/molecule/base-modal/index.d.ts.map +1 -1
  994. package/lib/molecule/battle-opponent-list/index.d.ts +4 -4
  995. package/lib/molecule/battle-opponent-list/index.d.ts.map +1 -1
  996. package/lib/molecule/battle-opponent-list/prop-types.d.ts +2 -2
  997. package/lib/molecule/battle-request/index.d.ts +2 -1
  998. package/lib/molecule/battle-request/index.d.ts.map +1 -1
  999. package/lib/molecule/brand-card/description.d.ts +2 -1
  1000. package/lib/molecule/brand-card/description.d.ts.map +1 -1
  1001. package/lib/molecule/brand-card/index.d.ts +2 -1
  1002. package/lib/molecule/brand-card/index.d.ts.map +1 -1
  1003. package/lib/molecule/brand-card-create/index.d.ts +2 -1
  1004. package/lib/molecule/brand-card-create/index.d.ts.map +1 -1
  1005. package/lib/molecule/brand-create-form/index.d.ts +2 -1
  1006. package/lib/molecule/brand-create-form/index.d.ts.map +1 -1
  1007. package/lib/molecule/brand-download-box/index.d.ts +2 -1
  1008. package/lib/molecule/brand-download-box/index.d.ts.map +1 -1
  1009. package/lib/molecule/brand-form-group/index.d.ts +3 -2
  1010. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  1011. package/lib/molecule/brand-logo/index.native.d.ts +2 -2
  1012. package/lib/molecule/brand-logo/index.native.d.ts.map +1 -1
  1013. package/lib/molecule/brand-logo/index.native.js.map +1 -1
  1014. package/lib/molecule/brand-tabs/index.d.ts +4 -3
  1015. package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
  1016. package/lib/molecule/brand-upload-box/index.d.ts +1 -1
  1017. package/lib/molecule/brand-upload-box/index.d.ts.map +1 -1
  1018. package/lib/molecule/breadcrumbs/index.d.ts +6 -5
  1019. package/lib/molecule/breadcrumbs/index.d.ts.map +1 -1
  1020. package/lib/molecule/bulk-infos/index.d.ts +2 -2
  1021. package/lib/molecule/bulk-infos/index.d.ts.map +1 -1
  1022. package/lib/molecule/bulk-progress-bar/index.d.ts +2 -2
  1023. package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  1024. package/lib/molecule/bullet-point-menu-button/index.d.ts +5 -5
  1025. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  1026. package/lib/molecule/bullet-point-menu-button/types.d.ts +3 -3
  1027. package/lib/molecule/button-menu-action/index.d.ts +8 -8
  1028. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  1029. package/lib/molecule/button-menu-action/types.d.ts +6 -6
  1030. package/lib/molecule/card/customer.d.ts +3 -2
  1031. package/lib/molecule/card/customer.d.ts.map +1 -1
  1032. package/lib/molecule/card/favorite.d.ts +4 -3
  1033. package/lib/molecule/card/favorite.d.ts.map +1 -1
  1034. package/lib/molecule/card/index.d.ts +1 -1
  1035. package/lib/molecule/card/notification.d.ts +2 -1
  1036. package/lib/molecule/card/notification.d.ts.map +1 -1
  1037. package/lib/molecule/card/selectable.d.ts +2 -1
  1038. package/lib/molecule/card/selectable.d.ts.map +1 -1
  1039. package/lib/molecule/card-congrats/index.native.d.ts +2 -2
  1040. package/lib/molecule/card-congrats/index.native.d.ts.map +1 -1
  1041. package/lib/molecule/card-content/index.d.ts +8 -7
  1042. package/lib/molecule/card-content/index.d.ts.map +1 -1
  1043. package/lib/molecule/card-with-button/index.d.ts +3 -2
  1044. package/lib/molecule/card-with-button/index.d.ts.map +1 -1
  1045. package/lib/molecule/certification-card/index.d.ts +2 -1
  1046. package/lib/molecule/certification-card/index.d.ts.map +1 -1
  1047. package/lib/molecule/cm-popin/index.d.ts +2 -1
  1048. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  1049. package/lib/molecule/cm-popin/index.native.d.ts +2 -2
  1050. package/lib/molecule/cm-popin/index.native.d.ts.map +1 -1
  1051. package/lib/molecule/cm-popin/types.d.ts +81 -81
  1052. package/lib/molecule/cookie-banner/index.d.ts +2 -1
  1053. package/lib/molecule/cookie-banner/index.d.ts.map +1 -1
  1054. package/lib/molecule/coorp-manager-roles/index.d.ts +4 -3
  1055. package/lib/molecule/coorp-manager-roles/index.d.ts.map +1 -1
  1056. package/lib/molecule/coorpmanager-base-banner/index.d.ts +2 -1
  1057. package/lib/molecule/coorpmanager-base-banner/index.d.ts.map +1 -1
  1058. package/lib/molecule/course-section/index.d.ts +4 -3
  1059. package/lib/molecule/course-section/index.d.ts.map +1 -1
  1060. package/lib/molecule/course-sections/index.d.ts +6 -5
  1061. package/lib/molecule/course-sections/index.d.ts.map +1 -1
  1062. package/lib/molecule/dashboard/cards-list/index.d.ts +8 -8
  1063. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  1064. package/lib/molecule/discipline-associated-skills/index.d.ts +4 -3
  1065. package/lib/molecule/discipline-associated-skills/index.d.ts.map +1 -1
  1066. package/lib/molecule/discipline-cta/index.d.ts +2 -1
  1067. package/lib/molecule/discipline-cta/index.d.ts.map +1 -1
  1068. package/lib/molecule/discipline-header/index.d.ts +3 -3
  1069. package/lib/molecule/discipline-header/index.d.ts.map +1 -1
  1070. package/lib/molecule/discipline-partners/index.d.ts +6 -5
  1071. package/lib/molecule/discipline-partners/index.d.ts.map +1 -1
  1072. package/lib/molecule/discipline-scope/index.d.ts +10 -9
  1073. package/lib/molecule/discipline-scope/index.d.ts.map +1 -1
  1074. package/lib/molecule/drag-and-drop/index.d.ts +6 -5
  1075. package/lib/molecule/drag-and-drop/index.d.ts.map +1 -1
  1076. package/lib/molecule/drag-and-drop/overlay.d.ts +2 -1
  1077. package/lib/molecule/drag-and-drop/overlay.d.ts.map +1 -1
  1078. package/lib/molecule/drag-and-drop/placeholder.d.ts +2 -1
  1079. package/lib/molecule/drag-and-drop/placeholder.d.ts.map +1 -1
  1080. package/lib/molecule/drag-and-drop/upload-report.d.ts +5 -4
  1081. package/lib/molecule/drag-and-drop/upload-report.d.ts.map +1 -1
  1082. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +5 -4
  1083. package/lib/molecule/drag-and-drop-wrapper/index.d.ts.map +1 -1
  1084. package/lib/molecule/draggable/index.d.ts +2 -1
  1085. package/lib/molecule/draggable/index.d.ts.map +1 -1
  1086. package/lib/molecule/draggable-list/index.d.ts +15 -14
  1087. package/lib/molecule/draggable-list/index.d.ts.map +1 -1
  1088. package/lib/molecule/errors-table/index.d.ts +7 -7
  1089. package/lib/molecule/errors-table/index.d.ts.map +1 -1
  1090. package/lib/molecule/errors-table/types.d.ts +5 -5
  1091. package/lib/molecule/expandable-item/index.d.ts +2 -2
  1092. package/lib/molecule/expandable-item/index.d.ts.map +1 -1
  1093. package/lib/molecule/expandable-list/index.d.ts +4 -4
  1094. package/lib/molecule/expandable-list/index.d.ts.map +1 -1
  1095. package/lib/molecule/expandable-list/types.d.ts +2 -2
  1096. package/lib/molecule/expandible-actionable-table/index.d.ts +18 -18
  1097. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  1098. package/lib/molecule/expandible-actionable-table/types.d.ts +16 -16
  1099. package/lib/molecule/external-content-button/index.d.ts +1 -1
  1100. package/lib/molecule/external-content-button/index.d.ts.map +1 -1
  1101. package/lib/molecule/external-content-viewer/index.d.ts +2 -1
  1102. package/lib/molecule/external-content-viewer/index.d.ts.map +1 -1
  1103. package/lib/molecule/feedback/index.d.ts +2 -1
  1104. package/lib/molecule/feedback/index.d.ts.map +1 -1
  1105. package/lib/molecule/filters/filters-wrapper.d.ts +4 -3
  1106. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  1107. package/lib/molecule/filters/index.d.ts +11 -11
  1108. package/lib/molecule/filters/index.d.ts.map +1 -1
  1109. package/lib/molecule/forum/forum-comment/index.d.ts +2 -1
  1110. package/lib/molecule/forum/forum-comment/index.d.ts.map +1 -1
  1111. package/lib/molecule/forum/forum-post/index.d.ts +2 -1
  1112. package/lib/molecule/forum/forum-post/index.d.ts.map +1 -1
  1113. package/lib/molecule/forum/forum-thread/index.d.ts +2 -1
  1114. package/lib/molecule/forum/forum-thread/index.d.ts.map +1 -1
  1115. package/lib/molecule/go1-banner/index.d.ts +2 -1
  1116. package/lib/molecule/go1-banner/index.d.ts.map +1 -1
  1117. package/lib/molecule/hero/index.d.ts +2 -2
  1118. package/lib/molecule/hero/index.d.ts.map +1 -1
  1119. package/lib/molecule/icon-picker-modal/index.d.ts +2 -1
  1120. package/lib/molecule/icon-picker-modal/index.d.ts.map +1 -1
  1121. package/lib/molecule/icon-picker-modal/index.js +2 -2
  1122. package/lib/molecule/icon-picker-modal/index.js.map +1 -1
  1123. package/lib/molecule/icon-preview/index.d.ts +1 -1
  1124. package/lib/molecule/input-text-with-titled-checkbox/index.d.ts +2 -1
  1125. package/lib/molecule/input-text-with-titled-checkbox/index.d.ts.map +1 -1
  1126. package/lib/molecule/learner-skill-card/index.d.ts +2 -1
  1127. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
  1128. package/lib/molecule/learning-priority-card/index.d.ts +2 -2
  1129. package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
  1130. package/lib/molecule/learning-priority-modal/index.d.ts +8 -7
  1131. package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -1
  1132. package/lib/molecule/learning-priority-setup-item/index.d.ts +2 -1
  1133. package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -1
  1134. package/lib/molecule/learning-profile-radar-chart/index.d.ts +13 -13
  1135. package/lib/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  1136. package/lib/molecule/learning-profile-radar-chart/types.d.ts +8 -8
  1137. package/lib/molecule/list-badges/index.d.ts +4 -3
  1138. package/lib/molecule/list-badges/index.d.ts.map +1 -1
  1139. package/lib/molecule/login-alert/index.d.ts +2 -1
  1140. package/lib/molecule/login-alert/index.d.ts.map +1 -1
  1141. package/lib/molecule/menu-links/index.d.ts +4 -4
  1142. package/lib/molecule/menu-links/index.d.ts.map +1 -1
  1143. package/lib/molecule/menu-links/types.d.ts +2 -2
  1144. package/lib/molecule/menu-list/index.d.ts +4 -3
  1145. package/lib/molecule/menu-list/index.d.ts.map +1 -1
  1146. package/lib/molecule/message-popin/index.d.ts +2 -1
  1147. package/lib/molecule/message-popin/index.d.ts.map +1 -1
  1148. package/lib/molecule/modal/index.d.ts +2 -1
  1149. package/lib/molecule/modal/index.d.ts.map +1 -1
  1150. package/lib/molecule/module-bubble/index.d.ts +2 -1
  1151. package/lib/molecule/module-bubble/index.d.ts.map +1 -1
  1152. package/lib/molecule/module-card/index.d.ts +2 -1
  1153. package/lib/molecule/module-card/index.d.ts.map +1 -1
  1154. package/lib/molecule/multi-filter-panel/index.d.ts +10 -51
  1155. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  1156. package/lib/molecule/multi-filter-panel/index.js +13 -28
  1157. package/lib/molecule/multi-filter-panel/index.js.map +1 -1
  1158. package/lib/molecule/multi-filter-panel/prop-types.d.ts +13 -39
  1159. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  1160. package/lib/molecule/multi-filter-panel/prop-types.js +0 -4
  1161. package/lib/molecule/multi-filter-panel/prop-types.js.map +1 -1
  1162. package/lib/molecule/news/index.d.ts +2 -1
  1163. package/lib/molecule/news/index.d.ts.map +1 -1
  1164. package/lib/molecule/notification-banner/index.d.ts +2 -1
  1165. package/lib/molecule/notification-banner/index.d.ts.map +1 -1
  1166. package/lib/molecule/pagination/index.d.ts +2 -1
  1167. package/lib/molecule/pagination/index.d.ts.map +1 -1
  1168. package/lib/molecule/payment-form/index.d.ts +1 -1
  1169. package/lib/molecule/payment-form/index.d.ts.map +1 -1
  1170. package/lib/molecule/pdf/index.d.ts +2 -1
  1171. package/lib/molecule/pdf/index.d.ts.map +1 -1
  1172. package/lib/molecule/playlist-card/index.d.ts +4 -3
  1173. package/lib/molecule/playlist-card/index.d.ts.map +1 -1
  1174. package/lib/molecule/playlist-detail-cover/index.d.ts +4 -3
  1175. package/lib/molecule/playlist-detail-cover/index.d.ts.map +1 -1
  1176. package/lib/molecule/popin/index.d.ts +2 -1
  1177. package/lib/molecule/popin/index.d.ts.map +1 -1
  1178. package/lib/molecule/privacy-policy-contact/index.d.ts +2 -2
  1179. package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -1
  1180. package/lib/molecule/product-card/index.d.ts +2 -1
  1181. package/lib/molecule/product-card/index.d.ts.map +1 -1
  1182. package/lib/molecule/progress-bar/index.d.ts +3 -2
  1183. package/lib/molecule/progress-bar/index.d.ts.map +1 -1
  1184. package/lib/molecule/progress-wrapper/index.d.ts +4 -3
  1185. package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
  1186. package/lib/molecule/questions/drop-down/index.d.ts +5 -4
  1187. package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
  1188. package/lib/molecule/questions/free-text/index.d.ts +2 -1
  1189. package/lib/molecule/questions/free-text/index.d.ts.map +1 -1
  1190. package/lib/molecule/questions/free-text/index.native.d.ts +2 -2
  1191. package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
  1192. package/lib/molecule/questions/free-text/index.native.js.map +1 -1
  1193. package/lib/molecule/questions/mobile/draggable/index.native.d.ts +2 -2
  1194. package/lib/molecule/questions/mobile/draggable/index.native.d.ts.map +1 -1
  1195. package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
  1196. package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
  1197. package/lib/molecule/questions/mobile/slider/index.native.js +2 -2
  1198. package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
  1199. package/lib/molecule/questions/mobile/switch/index.native.d.ts +2 -2
  1200. package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
  1201. package/lib/molecule/questions/mobile/template/index.native.d.ts +2 -2
  1202. package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
  1203. package/lib/molecule/questions/qcm/index.d.ts +4 -3
  1204. package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
  1205. package/lib/molecule/questions/qcm-drag/index.d.ts +6 -5
  1206. package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  1207. package/lib/molecule/questions/qcm-graphic/index.d.ts +4 -3
  1208. package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  1209. package/lib/molecule/questions/question-range/index.d.ts +3 -5
  1210. package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
  1211. package/lib/molecule/questions/template/index.d.ts +7 -17
  1212. package/lib/molecule/questions/template/index.d.ts.map +1 -1
  1213. package/lib/molecule/questions/types.d.ts +1 -1
  1214. package/lib/molecule/questions/types.d.ts.map +1 -1
  1215. package/lib/molecule/questions/types.js.map +1 -1
  1216. package/lib/molecule/quick-access-card/index.d.ts +2 -1
  1217. package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
  1218. package/lib/molecule/quick-access-cards-group/index.d.ts +4 -3
  1219. package/lib/molecule/quick-access-cards-group/index.d.ts.map +1 -1
  1220. package/lib/molecule/quick-filters/index.d.ts +5 -5
  1221. package/lib/molecule/quick-filters/index.js +1 -3
  1222. package/lib/molecule/quick-filters/index.js.map +1 -1
  1223. package/lib/molecule/quick-filters/style.css +0 -2
  1224. package/lib/molecule/quick-filters/types.d.ts +4 -4
  1225. package/lib/molecule/resource-player/index.d.ts +4 -4
  1226. package/lib/molecule/resource-player/index.d.ts.map +1 -1
  1227. package/lib/molecule/review-card-congrats/index.d.ts +2 -1
  1228. package/lib/molecule/review-card-congrats/index.d.ts.map +1 -1
  1229. package/lib/molecule/review-correction-popin/index.d.ts +2 -1
  1230. package/lib/molecule/review-correction-popin/index.d.ts.map +1 -1
  1231. package/lib/molecule/review-correction-popin/index.native.d.ts +2 -2
  1232. package/lib/molecule/review-correction-popin/index.native.d.ts.map +1 -1
  1233. package/lib/molecule/review-header-steps/index.d.ts +2 -1
  1234. package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
  1235. package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
  1236. package/lib/molecule/scope-content/index.d.ts +9 -8
  1237. package/lib/molecule/scope-content/index.d.ts.map +1 -1
  1238. package/lib/molecule/scope-tabs/index.d.ts +3 -2
  1239. package/lib/molecule/scope-tabs/index.d.ts.map +1 -1
  1240. package/lib/molecule/search-form/index.d.ts +2 -1
  1241. package/lib/molecule/search-form/index.d.ts.map +1 -1
  1242. package/lib/molecule/select-multiple/index.d.ts +5 -4
  1243. package/lib/molecule/select-multiple/index.d.ts.map +1 -1
  1244. package/lib/molecule/setup-cohort-item/index.d.ts +6 -5
  1245. package/lib/molecule/setup-cohort-item/index.d.ts.map +1 -1
  1246. package/lib/molecule/setup-section/index.d.ts +5 -4
  1247. package/lib/molecule/setup-section/index.d.ts.map +1 -1
  1248. package/lib/molecule/setup-sections/index.d.ts +6 -5
  1249. package/lib/molecule/setup-sections/index.d.ts.map +1 -1
  1250. package/lib/molecule/setup-slider/index.d.ts +2 -1
  1251. package/lib/molecule/setup-slider/index.d.ts.map +1 -1
  1252. package/lib/molecule/share/index.d.ts +4 -3
  1253. package/lib/molecule/share/index.d.ts.map +1 -1
  1254. package/lib/molecule/skill-card/index.d.ts +2 -1
  1255. package/lib/molecule/skill-card/index.d.ts.map +1 -1
  1256. package/lib/molecule/skill-card/index.native.d.ts +2 -2
  1257. package/lib/molecule/skill-card/index.native.d.ts.map +1 -1
  1258. package/lib/molecule/skill-picker-modal/index.d.ts +6 -5
  1259. package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -1
  1260. package/lib/molecule/skills-chart-side-information-item/index.d.ts +3 -2
  1261. package/lib/molecule/skills-chart-side-information-item/index.d.ts.map +1 -1
  1262. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +6 -5
  1263. package/lib/molecule/skills-chart-side-information-panel/index.d.ts.map +1 -1
  1264. package/lib/molecule/ssmenu-list/index.d.ts +4 -3
  1265. package/lib/molecule/ssmenu-list/index.d.ts.map +1 -1
  1266. package/lib/molecule/subscription-freemium/index.d.ts +2 -1
  1267. package/lib/molecule/subscription-freemium/index.d.ts.map +1 -1
  1268. package/lib/molecule/subscription-premium/index.d.ts +2 -1
  1269. package/lib/molecule/subscription-premium/index.d.ts.map +1 -1
  1270. package/lib/molecule/table/index.d.ts +10 -9
  1271. package/lib/molecule/table/index.d.ts.map +1 -1
  1272. package/lib/molecule/teams-popin/index.d.ts +2 -1
  1273. package/lib/molecule/teams-popin/index.d.ts.map +1 -1
  1274. package/lib/molecule/theme-image/index.d.ts +2 -1
  1275. package/lib/molecule/theme-image/index.d.ts.map +1 -1
  1276. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +20 -20
  1277. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  1278. package/lib/molecule/title-radio-wrapper/index.d.ts +15 -15
  1279. package/lib/molecule/title-radio-wrapper/types.d.ts +14 -14
  1280. package/lib/molecule/titled-checkbox/index.d.ts +2 -1
  1281. package/lib/molecule/titled-checkbox/index.d.ts.map +1 -1
  1282. package/lib/molecule/translation-modal/index.d.ts +2 -1
  1283. package/lib/molecule/translation-modal/index.d.ts.map +1 -1
  1284. package/lib/molecule/unsubscribe/index.d.ts +2 -1
  1285. package/lib/molecule/unsubscribe/index.d.ts.map +1 -1
  1286. package/lib/molecule/vertical-tabs/index.d.ts +4 -3
  1287. package/lib/molecule/vertical-tabs/index.d.ts.map +1 -1
  1288. package/lib/molecule/video-iframe/index.d.ts +1 -1
  1289. package/lib/molecule/video-iframe/index.d.ts.map +1 -1
  1290. package/lib/molecule/video-player/index.d.ts +5 -5
  1291. package/lib/molecule/video-player/index.d.ts.map +1 -1
  1292. package/lib/molecule/video-player/jwplayer-prop-types.d.ts +2 -2
  1293. package/lib/molecule/video-player/jwplayer.d.ts +3 -3
  1294. package/lib/molecule/video-player/jwplayer.d.ts.map +1 -1
  1295. package/lib/molecule/video-player/prop-types.d.ts +2 -2
  1296. package/lib/molecule/video-player/vimeo.d.ts +5 -5
  1297. package/lib/molecule/video-player/vimeo.d.ts.map +1 -1
  1298. package/lib/molecule/video-player-mobile/index.native.d.ts +2 -2
  1299. package/lib/molecule/video-player-mobile/index.native.d.ts.map +1 -1
  1300. package/lib/molecule/video-player-mobile/index.native.js +10 -9
  1301. package/lib/molecule/video-player-mobile/index.native.js.map +1 -1
  1302. package/lib/molecule/wizard-summary/index.d.ts +9 -8
  1303. package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
  1304. package/lib/organism/accordion/container/index.d.ts +6 -5
  1305. package/lib/organism/accordion/container/index.d.ts.map +1 -1
  1306. package/lib/organism/accordion/coorp-manager/index.d.ts +6 -5
  1307. package/lib/organism/accordion/coorp-manager/index.d.ts.map +1 -1
  1308. package/lib/organism/accordion/coorp-manager/part/index.d.ts +2 -1
  1309. package/lib/organism/accordion/coorp-manager/part/index.d.ts.map +1 -1
  1310. package/lib/organism/accordion/part/index.d.ts +2 -1
  1311. package/lib/organism/accordion/part/index.d.ts.map +1 -1
  1312. package/lib/organism/accordion/toggler/index.d.ts +8 -8
  1313. package/lib/organism/accordion/toggler/index.d.ts.map +1 -1
  1314. package/lib/organism/brand-analytics/analytics-popin.d.ts +2 -1
  1315. package/lib/organism/brand-analytics/analytics-popin.d.ts.map +1 -1
  1316. package/lib/organism/brand-analytics/index.d.ts +7 -12
  1317. package/lib/organism/brand-analytics/index.d.ts.map +1 -1
  1318. package/lib/organism/brand-dashboard/index.d.ts +4 -3
  1319. package/lib/organism/brand-dashboard/index.d.ts.map +1 -1
  1320. package/lib/organism/brand-form/index.d.ts +5 -4
  1321. package/lib/organism/brand-form/index.d.ts.map +1 -1
  1322. package/lib/organism/brand-learning-priorities/index.d.ts +20 -19
  1323. package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -1
  1324. package/lib/organism/brand-table/index.d.ts +10 -9
  1325. package/lib/organism/brand-table/index.d.ts.map +1 -1
  1326. package/lib/organism/brand-upload/index.d.ts +4 -3
  1327. package/lib/organism/brand-upload/index.d.ts.map +1 -1
  1328. package/lib/organism/cards-grid/index.d.ts +3 -3
  1329. package/lib/organism/cart/index.d.ts +2 -1
  1330. package/lib/organism/cart/index.d.ts.map +1 -1
  1331. package/lib/organism/content-skill-modal/index.d.ts +71 -91
  1332. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  1333. package/lib/organism/content-skill-modal/types.d.ts +70 -90
  1334. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  1335. package/lib/organism/content-translation/index.d.ts +4 -3
  1336. package/lib/organism/content-translation/index.d.ts.map +1 -1
  1337. package/lib/organism/course-selection/index.d.ts +3 -2
  1338. package/lib/organism/course-selection/index.d.ts.map +1 -1
  1339. package/lib/organism/discussion/index.d.ts +4 -3
  1340. package/lib/organism/discussion/index.d.ts.map +1 -1
  1341. package/lib/organism/filter-checkbox-and-search/index.d.ts +4 -25
  1342. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  1343. package/lib/organism/filter-checkbox-and-search/index.js +2 -13
  1344. package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
  1345. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -2
  1346. package/lib/organism/filter-chip/index.d.ts +4 -25
  1347. package/lib/organism/filter-chip/index.d.ts.map +1 -1
  1348. package/lib/organism/filter-chip/index.js +2 -14
  1349. package/lib/organism/filter-chip/index.js.map +1 -1
  1350. package/lib/organism/filter-chip/prop-types.d.ts +2 -2
  1351. package/lib/organism/filter-switch/index.d.ts +4 -26
  1352. package/lib/organism/filter-switch/index.d.ts.map +1 -1
  1353. package/lib/organism/filter-switch/index.js +3 -18
  1354. package/lib/organism/filter-switch/index.js.map +1 -1
  1355. package/lib/organism/filter-switch/prop-types.d.ts +2 -4
  1356. package/lib/organism/filter-switch/prop-types.d.ts.map +1 -1
  1357. package/lib/organism/filter-switch/prop-types.js +1 -2
  1358. package/lib/organism/filter-switch/prop-types.js.map +1 -1
  1359. package/lib/organism/get-the-app/index.d.ts +2 -1
  1360. package/lib/organism/get-the-app/index.d.ts.map +1 -1
  1361. package/lib/organism/grid-list/index.d.ts +2 -1
  1362. package/lib/organism/grid-list/index.d.ts.map +1 -1
  1363. package/lib/organism/header/index.d.ts +4 -3
  1364. package/lib/organism/header/index.d.ts.map +1 -1
  1365. package/lib/organism/header-v2/index.native.d.ts +2 -2
  1366. package/lib/organism/header-v2/index.native.d.ts.map +1 -1
  1367. package/lib/organism/header-with-actions/index.d.ts +6 -6
  1368. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  1369. package/lib/organism/header-with-actions/types.d.ts +4 -4
  1370. package/lib/organism/hero/index.d.ts +2 -1
  1371. package/lib/organism/hero/index.d.ts.map +1 -1
  1372. package/lib/organism/icon-editor/index.d.ts +4 -4
  1373. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  1374. package/lib/organism/icon-editor/types.d.ts +2 -2
  1375. package/lib/organism/list-item/index.d.ts +13 -12
  1376. package/lib/organism/list-item/index.d.ts.map +1 -1
  1377. package/lib/organism/list-items/index.d.ts +64 -64
  1378. package/lib/organism/list-items/index.d.ts.map +1 -1
  1379. package/lib/organism/mobile-intro-popin/index.native.d.ts +2 -2
  1380. package/lib/organism/mobile-intro-popin/index.native.d.ts.map +1 -1
  1381. package/lib/organism/mobile-intro-popin/index.native.js.map +1 -1
  1382. package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
  1383. package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
  1384. package/lib/organism/mooc/image-slider/index.d.ts +5 -4
  1385. package/lib/organism/mooc/image-slider/index.d.ts.map +1 -1
  1386. package/lib/organism/mooc-footer/index.d.ts +8 -7
  1387. package/lib/organism/mooc-footer/index.d.ts.map +1 -1
  1388. package/lib/organism/mooc-header/index.d.ts +11 -11
  1389. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  1390. package/lib/organism/popin/index.d.ts +2 -1
  1391. package/lib/organism/popin/index.d.ts.map +1 -1
  1392. package/lib/organism/resource-browser/index.d.ts +5 -4
  1393. package/lib/organism/resource-browser/index.d.ts.map +1 -1
  1394. package/lib/organism/review-congrats/index.d.ts +2 -1
  1395. package/lib/organism/review-congrats/index.d.ts.map +1 -1
  1396. package/lib/organism/review-congrats/index.native.d.ts +2 -2
  1397. package/lib/organism/review-congrats/index.native.d.ts.map +1 -1
  1398. package/lib/organism/review-header/index.d.ts +2 -1
  1399. package/lib/organism/review-header/index.d.ts.map +1 -1
  1400. package/lib/organism/review-header/index.native.d.ts +2 -2
  1401. package/lib/organism/review-header/index.native.d.ts.map +1 -1
  1402. package/lib/organism/review-header/types.d.ts +2 -2
  1403. package/lib/organism/review-no-skills/index.d.ts +3 -2
  1404. package/lib/organism/review-no-skills/index.d.ts.map +1 -1
  1405. package/lib/organism/review-no-skills/index.native.d.ts +2 -2
  1406. package/lib/organism/review-no-skills/index.native.d.ts.map +1 -1
  1407. package/lib/organism/review-skills/index.d.ts +2 -1
  1408. package/lib/organism/review-skills/index.d.ts.map +1 -1
  1409. package/lib/organism/review-skills/index.native.d.ts +2 -2
  1410. package/lib/organism/review-skills/index.native.d.ts.map +1 -1
  1411. package/lib/organism/review-skills/prop-types.d.ts +2 -2
  1412. package/lib/organism/review-slide/index.d.ts +2 -1
  1413. package/lib/organism/review-slide/index.d.ts.map +1 -1
  1414. package/lib/organism/review-slide/index.native.d.ts +2 -2
  1415. package/lib/organism/review-slide/index.native.d.ts.map +1 -1
  1416. package/lib/organism/review-slide/index.native.js.map +1 -1
  1417. package/lib/organism/review-slide/prop-types.d.ts +14 -14
  1418. package/lib/organism/review-stacked-slides/index.d.ts +2 -1
  1419. package/lib/organism/review-stacked-slides/index.d.ts.map +1 -1
  1420. package/lib/organism/review-stacked-slides/index.native.d.ts +2 -2
  1421. package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
  1422. package/lib/organism/review-stacked-slides/prop-types.d.ts +35 -35
  1423. package/lib/organism/rewards-form/index.d.ts +22 -22
  1424. package/lib/organism/rewards-form/index.d.ts.map +1 -1
  1425. package/lib/organism/search-and-chips-results/index.d.ts +4 -3
  1426. package/lib/organism/search-and-chips-results/index.d.ts.map +1 -1
  1427. package/lib/organism/select-opponents/index.d.ts +21 -21
  1428. package/lib/organism/select-opponents/types.d.ts +20 -20
  1429. package/lib/organism/settings/index.d.ts +10 -9
  1430. package/lib/organism/settings/index.d.ts.map +1 -1
  1431. package/lib/organism/setup-header/index.d.ts +10 -9
  1432. package/lib/organism/setup-header/index.d.ts.map +1 -1
  1433. package/lib/organism/sidebar/index.d.ts +24 -47
  1434. package/lib/organism/sidebar/index.d.ts.map +1 -1
  1435. package/lib/organism/skill-edition/index.d.ts +8 -8
  1436. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  1437. package/lib/organism/skill-edition/types.d.ts +6 -6
  1438. package/lib/organism/slider/index.d.ts +2 -2
  1439. package/lib/organism/slider/index.d.ts.map +1 -1
  1440. package/lib/organism/title-and-input/index.d.ts +47 -47
  1441. package/lib/organism/title-and-input/types.d.ts +46 -46
  1442. package/lib/organism/user-preferences/index.d.ts +4 -3
  1443. package/lib/organism/user-preferences/index.d.ts.map +1 -1
  1444. package/lib/organism/wizard-contents/index.d.ts +67 -67
  1445. package/lib/organism/wizard-contents/index.d.ts.map +1 -1
  1446. package/lib/template/activity/engine-stars.d.ts +2 -1
  1447. package/lib/template/activity/engine-stars.d.ts.map +1 -1
  1448. package/lib/template/activity/index.d.ts +9 -8
  1449. package/lib/template/activity/index.d.ts.map +1 -1
  1450. package/lib/template/activity/progression-item.d.ts +2 -1
  1451. package/lib/template/activity/progression-item.d.ts.map +1 -1
  1452. package/lib/template/activity/stars-summary.d.ts +4 -3
  1453. package/lib/template/activity/stars-summary.d.ts.map +1 -1
  1454. package/lib/template/app-player/loading/index.d.ts +83 -83
  1455. package/lib/template/app-player/loading/index.d.ts.map +1 -1
  1456. package/lib/template/app-player/player/index.d.ts +168 -168
  1457. package/lib/template/app-player/player/index.d.ts.map +1 -1
  1458. package/lib/template/app-player/player/slides/footer/index.d.ts +4 -3
  1459. package/lib/template/app-player/player/slides/footer/index.d.ts.map +1 -1
  1460. package/lib/template/app-player/player/slides/header/index.d.ts +4 -3
  1461. package/lib/template/app-player/player/slides/header/learner.d.ts +2 -1
  1462. package/lib/template/app-player/player/slides/header/learner.d.ts.map +1 -1
  1463. package/lib/template/app-player/player/slides/header/lives.d.ts +2 -1
  1464. package/lib/template/app-player/player/slides/header/lives.d.ts.map +1 -1
  1465. package/lib/template/app-player/player/slides/header/microlearning.d.ts +2 -1
  1466. package/lib/template/app-player/player/slides/header/microlearning.d.ts.map +1 -1
  1467. package/lib/template/app-player/player/slides/index.d.ts +110 -110
  1468. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  1469. package/lib/template/app-player/popin-correction/index.d.ts +87 -87
  1470. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  1471. package/lib/template/app-player/popin-end/index.d.ts +92 -92
  1472. package/lib/template/app-player/popin-end/index.d.ts.map +1 -1
  1473. package/lib/template/app-player/popin-end/summary.d.ts +9 -8
  1474. package/lib/template/app-player/popin-end/summary.d.ts.map +1 -1
  1475. package/lib/template/app-player/popin-header/index.d.ts +8 -7
  1476. package/lib/template/app-player/popin-header/index.d.ts.map +1 -1
  1477. package/lib/template/app-player/popin-no-access/index.d.ts +2 -1
  1478. package/lib/template/app-player/popin-no-access/index.d.ts.map +1 -1
  1479. package/lib/template/app-review/demo-ts/index.native.d.ts +2 -2
  1480. package/lib/template/app-review/demo-ts/index.native.d.ts.map +1 -1
  1481. package/lib/template/app-review/index.d.ts +119 -119
  1482. package/lib/template/app-review/index.native.d.ts +2 -2
  1483. package/lib/template/app-review/index.native.d.ts.map +1 -1
  1484. package/lib/template/app-review/player/background-review.d.ts +2 -1
  1485. package/lib/template/app-review/player/background-review.d.ts.map +1 -1
  1486. package/lib/template/app-review/player/index.d.ts +2 -1
  1487. package/lib/template/app-review/player/index.d.ts.map +1 -1
  1488. package/lib/template/app-review/player/index.native.d.ts +2 -2
  1489. package/lib/template/app-review/player/index.native.d.ts.map +1 -1
  1490. package/lib/template/app-review/player/prop-types.d.ts +118 -118
  1491. package/lib/template/app-review/prop-types.d.ts +118 -118
  1492. package/lib/template/app-review/skills/index.d.ts +2 -1
  1493. package/lib/template/app-review/skills/index.d.ts.map +1 -1
  1494. package/lib/template/app-review/skills/index.native.d.ts +2 -2
  1495. package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
  1496. package/lib/template/app-review/skills/prop-types.d.ts +2 -2
  1497. package/lib/template/app-review/template-context.d.ts +2 -2
  1498. package/lib/template/app-review/template-context.d.ts.map +1 -1
  1499. package/lib/template/back-office/brand-create/index.d.ts +10 -9
  1500. package/lib/template/back-office/brand-list/index.d.ts +10 -9
  1501. package/lib/template/back-office/brand-update/index.d.ts +337 -363
  1502. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  1503. package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts +2 -1
  1504. package/lib/template/back-office/dashboard-preview/dashboard-popin.d.ts.map +1 -1
  1505. package/lib/template/back-office/dashboard-preview/index.d.ts +10 -9
  1506. package/lib/template/back-office/layout/index.d.ts +10 -9
  1507. package/lib/template/battle-requests/index.d.ts +4 -3
  1508. package/lib/template/battle-requests/index.d.ts.map +1 -1
  1509. package/lib/template/certification-detail/index.d.ts +7 -6
  1510. package/lib/template/certification-detail/index.d.ts.map +1 -1
  1511. package/lib/template/certifications/index.d.ts +12 -11
  1512. package/lib/template/certifications/index.d.ts.map +1 -1
  1513. package/lib/template/cockpit/jw-uploader/index.d.ts +2 -1
  1514. package/lib/template/cockpit/jw-uploader/index.d.ts.map +1 -1
  1515. package/lib/template/common/authors/index.d.ts +5 -5
  1516. package/lib/template/common/authors/index.d.ts.map +1 -1
  1517. package/lib/template/common/coorp-header/index.d.ts +2 -1
  1518. package/lib/template/common/coorp-header/index.d.ts.map +1 -1
  1519. package/lib/template/common/dashboard/index.d.ts +165 -165
  1520. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  1521. package/lib/template/common/discipline/index.d.ts +25 -24
  1522. package/lib/template/common/discipline/index.d.ts.map +1 -1
  1523. package/lib/template/common/faq-article-page/index.d.ts +4 -4
  1524. package/lib/template/common/faq-article-page/index.d.ts.map +1 -1
  1525. package/lib/template/common/faq-article-page/types.d.ts +2 -2
  1526. package/lib/template/common/faq-cards-page/index.d.ts +4 -4
  1527. package/lib/template/common/faq-cards-page/index.d.ts.map +1 -1
  1528. package/lib/template/common/faq-cards-page/types.d.ts +2 -2
  1529. package/lib/template/common/faq-page/index.d.ts +6 -6
  1530. package/lib/template/common/faq-page/index.d.ts.map +1 -1
  1531. package/lib/template/common/faq-page/types.d.ts +4 -4
  1532. package/lib/template/common/privacy-policy-page/index.d.ts +6 -6
  1533. package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
  1534. package/lib/template/common/privacy-policy-page/types.d.ts +4 -4
  1535. package/lib/template/common/search-page/index.d.ts +107 -143
  1536. package/lib/template/common/search-page/index.d.ts.map +1 -1
  1537. package/lib/template/common/search-page/index.js +6 -45
  1538. package/lib/template/common/search-page/index.js.map +1 -1
  1539. package/lib/template/common/search-page/style.css +1 -27
  1540. package/lib/template/external-course/index.d.ts +83 -83
  1541. package/lib/template/external-course/index.d.ts.map +1 -1
  1542. package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts +2 -2
  1543. package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -1
  1544. package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -1
  1545. package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts +2 -2
  1546. package/lib/template/mobile-login/qr-code-scanner/index.native.d.ts.map +1 -1
  1547. package/lib/template/mobile-login/qr-code-scanner/index.native.js.map +1 -1
  1548. package/lib/template/mobile-login/receive-email/index.native.d.ts +2 -2
  1549. package/lib/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
  1550. package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
  1551. package/lib/template/mobile-login/welcome/index.native.d.ts +2 -2
  1552. package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  1553. package/lib/template/mobile-login/welcome/index.native.js +1 -1
  1554. package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
  1555. package/lib/template/my-learning/index.d.ts +9 -8
  1556. package/lib/template/my-learning/index.d.ts.map +1 -1
  1557. package/lib/template/playlist-detail/index.d.ts +17 -16
  1558. package/lib/template/playlist-detail/index.d.ts.map +1 -1
  1559. package/lib/template/review-dashboard-skills/index.d.ts +4 -3
  1560. package/lib/template/review-dashboard-skills/index.d.ts.map +1 -1
  1561. package/lib/template/skill-detail/all-courses.d.ts +11 -11
  1562. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  1563. package/lib/template/skill-detail/continue-learning.d.ts +4 -4
  1564. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  1565. package/lib/template/skill-detail/index.d.ts +8 -8
  1566. package/lib/template/skill-detail/index.d.ts.map +1 -1
  1567. package/lib/template/teams-dashboard/index.d.ts +9 -8
  1568. package/lib/template/teams-dashboard/index.d.ts.map +1 -1
  1569. package/lib/util/button-icons.d.ts +2 -2
  1570. package/lib/util/get-resized-image.d.ts +2 -2
  1571. package/lib/util/get-resized-image.d.ts.map +1 -1
  1572. package/lib/util/image.d.ts +1 -1
  1573. package/lib/util/image.d.ts.map +1 -1
  1574. package/lib/util/proptypes.d.ts +1 -1
  1575. package/lib/util/proptypes.d.ts.map +1 -1
  1576. package/lib/variables/colors.css +0 -1
  1577. package/locales/bs/global.json +4 -1
  1578. package/locales/cs/global.json +4 -1
  1579. package/locales/de/global.json +4 -1
  1580. package/locales/en/global.json +3 -0
  1581. package/locales/es/global.json +4 -1
  1582. package/locales/et/global.json +4 -1
  1583. package/locales/fi/global.json +4 -1
  1584. package/locales/fr/global.json +4 -1
  1585. package/locales/hr/global.json +4 -1
  1586. package/locales/hu/global.json +4 -1
  1587. package/locales/hy/global.json +4 -1
  1588. package/locales/it/global.json +4 -1
  1589. package/locales/ja/global.json +4 -1
  1590. package/locales/ko/global.json +4 -1
  1591. package/locales/lt/global.json +4 -1
  1592. package/locales/nl/global.json +4 -1
  1593. package/locales/pl/global.json +4 -1
  1594. package/locales/pt/global.json +4 -1
  1595. package/locales/ro/global.json +4 -1
  1596. package/locales/ru/global.json +4 -1
  1597. package/locales/sk/global.json +4 -1
  1598. package/locales/sl/global.json +4 -1
  1599. package/locales/sv/global.json +3 -0
  1600. package/locales/tl/global.json +4 -1
  1601. package/locales/tr/global.json +3 -0
  1602. package/locales/uk/global.json +4 -1
  1603. package/locales/vi/global.json +4 -1
  1604. package/locales/zh/global.json +3 -0
  1605. package/locales/zh_TW/global.json +3 -0
  1606. package/package.json +23 -20
  1607. package/es/organism/filter-range/index.d.ts +0 -28
  1608. package/es/organism/filter-range/index.d.ts.map +0 -1
  1609. package/es/organism/filter-range/index.js +0 -69
  1610. package/es/organism/filter-range/index.js.map +0 -1
  1611. package/es/organism/filter-range/prop-types.d.ts +0 -38
  1612. package/es/organism/filter-range/prop-types.d.ts.map +0 -1
  1613. package/es/organism/filter-range/prop-types.js +0 -20
  1614. package/es/organism/filter-range/prop-types.js.map +0 -1
  1615. package/es/organism/filter-range/style.css +0 -15
  1616. package/lib/organism/filter-range/index.d.ts +0 -28
  1617. package/lib/organism/filter-range/index.d.ts.map +0 -1
  1618. package/lib/organism/filter-range/index.js +0 -76
  1619. package/lib/organism/filter-range/index.js.map +0 -1
  1620. package/lib/organism/filter-range/prop-types.d.ts +0 -38
  1621. package/lib/organism/filter-range/prop-types.d.ts.map +0 -1
  1622. package/lib/organism/filter-range/prop-types.js +0 -25
  1623. package/lib/organism/filter-range/prop-types.js.map +0 -1
  1624. package/lib/organism/filter-range/style.css +0 -15
@@ -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;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CAACvE,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,M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AA,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,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AK,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,Q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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;AAiLlE,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,sBAuI5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- import React, { useEffect, useRef, useState } from 'react';
1
+ import React, { useEffect, useMemo, useState } from 'react';
2
2
  import { Animated, StyleSheet, View } from 'react-native';
3
3
  import LinearGradient from 'react-native-linear-gradient';
4
4
  import { NovaCompositionCoorpacademyLogoCoorp as LogoCoorp, NovaCompositionCoorpacademyQrCode as QrCodeIcon, NovaCompositionCoorpacademyEmail as MailIcon } from '@coorpacademy/nova-icons';
@@ -191,7 +191,7 @@ const Welcome = props => {
191
191
  duration: 250,
192
192
  delay: 900
193
193
  });
194
- const scaleAnim = useRef(new Animated.Value(0)).current;
194
+ const scaleAnim = useMemo(() => new Animated.Value(0), []);
195
195
  const interpolateScale = scaleAnim.interpolate({
196
196
  inputRange: [0, 0.4, 0.5, 0.6, 1],
197
197
  outputRange: [1, 1.7, 1.7, 1.7, 1]
@@ -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;AA4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G,aAAA,CAACjG,UAAU;IAACkG,KAAK,EAAEzB,UAAU,CAAChB;EAAW,CAAE,CAAC,eAC5CpE,KAAA,CAAA4G,aAAA,CAAC1F,IAAI;IAAC2F,KAAK,EAAEzB,UAAU,CAAClB;EAAc,GAAEa,OAAO,CAAChB,SAAgB,CACvD,CAAC,eACZ/D,KAAA,CAAA4G,aAAA,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","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","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, useMemo, 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 & {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 <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,OAAO,EAAUC,QAAQ,QAAO,OAAO;AACjE,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,CAAiB;EAChCC,OAAO,EAAE;IACPC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;I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AgB,CACvD,CAAC,eACZ/D,KAAA,CAAA2G,aAAA,CAAC3F,SAAS;IACR4F,KAAK,EAAE,CAACxB,UAAU,CAAC1B,MAAM,EAAE0B,UAAU,CAACd,cAAc,CAAE;IACtD4C,OAAO,EAAE/B,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;IAACkG,OAAO,EAAEhC,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,9 +108,9 @@ 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
  customStyle: PropTypes.Requireable<{
113
- [x: string]: string | null | undefined;
113
+ [x: string]: string;
114
114
  }>;
115
115
  onScroll: PropTypes.Requireable<(...args: any[]) => any>;
116
116
  onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
@@ -123,5 +123,6 @@ declare namespace MyLearning {
123
123
  }>>;
124
124
  }
125
125
  }
126
+ import React from "react";
126
127
  import PropTypes from "prop-types";
127
128
  //# 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,mEA0ZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,yEA0ZC"}
@@ -1,5 +1,5 @@
1
1
  export default PlaylistDetail;
2
- declare function PlaylistDetail(props: any, context: any): JSX.Element;
2
+ declare function PlaylistDetail(props: any, context: any): React.JSX.Element;
3
3
  declare namespace PlaylistDetail {
4
4
  namespace contextTypes {
5
5
  const skin: PropTypes.Requireable<PropTypes.InferProps<{
@@ -27,28 +27,28 @@ declare namespace PlaylistDetail {
27
27
  }
28
28
  namespace propTypes {
29
29
  const title: PropTypes.Validator<string>;
30
- const coverImages: PropTypes.Validator<(PropTypes.InferProps<{
30
+ const coverImages: PropTypes.Validator<PropTypes.InferProps<{
31
31
  type: PropTypes.Requireable<string>;
32
32
  image: PropTypes.Requireable<string>;
33
- }> | null | undefined)[]>;
33
+ }>[]>;
34
34
  const playlistRef: PropTypes.Validator<string>;
35
35
  const description: PropTypes.Requireable<string>;
36
36
  const ongoingCoursesAvailable: PropTypes.Requireable<boolean>;
37
37
  const playlistCourses: PropTypes.Requireable<PropTypes.InferProps<{
38
- list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
38
+ list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<any>>[]>;
39
39
  customStyle: PropTypes.Requireable<{
40
- [x: string]: string | null | undefined;
40
+ [x: string]: string;
41
41
  }>;
42
42
  loading: PropTypes.Requireable<boolean>;
43
43
  }>>;
44
44
  const filters: PropTypes.Requireable<PropTypes.InferProps<{
45
45
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
46
- options: PropTypes.Requireable<(PropTypes.InferProps<{
46
+ options: PropTypes.Requireable<PropTypes.InferProps<{
47
47
  name: PropTypes.Validator<string>;
48
- value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
48
+ value: PropTypes.Requireable<NonNullable<string | number>>;
49
49
  selected: PropTypes.Requireable<boolean>;
50
50
  validOption: PropTypes.Requireable<boolean>;
51
- }> | null | undefined)[]>;
51
+ }>[]>;
52
52
  }>>;
53
53
  const metrics: PropTypes.Requireable<PropTypes.InferProps<{
54
54
  totalContents: PropTypes.Requireable<number>;
@@ -65,21 +65,21 @@ declare namespace PlaylistDetail {
65
65
  required: PropTypes.Requireable<boolean>;
66
66
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
67
67
  theme: PropTypes.Requireable<string>;
68
- options: PropTypes.Requireable<(PropTypes.InferProps<{
68
+ options: PropTypes.Requireable<PropTypes.InferProps<{
69
69
  name: PropTypes.Validator<string>;
70
- value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
70
+ value: PropTypes.Requireable<NonNullable<string | number>>;
71
71
  selected: PropTypes.Requireable<boolean>;
72
72
  validOption: PropTypes.Requireable<boolean>;
73
- }> | null | undefined)[]>;
74
- optgroups: PropTypes.Requireable<(PropTypes.InferProps<{
73
+ }>[]>;
74
+ optgroups: PropTypes.Requireable<PropTypes.InferProps<{
75
75
  label: PropTypes.Validator<string>;
76
- options: PropTypes.Requireable<(PropTypes.InferProps<{
76
+ options: PropTypes.Requireable<PropTypes.InferProps<{
77
77
  name: PropTypes.Validator<string>;
78
- value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
78
+ value: PropTypes.Requireable<NonNullable<string | number>>;
79
79
  selected: PropTypes.Requireable<boolean>;
80
80
  validOption: PropTypes.Requireable<boolean>;
81
- }> | null | undefined)[]>;
82
- }> | null | undefined)[]>;
81
+ }>[]>;
82
+ }>[]>;
83
83
  modified: PropTypes.Requireable<boolean>;
84
84
  error: PropTypes.Requireable<boolean>;
85
85
  'aria-label': PropTypes.Requireable<string>;
@@ -97,5 +97,6 @@ declare namespace PlaylistDetail {
97
97
  }>>;
98
98
  }
99
99
  }
100
+ import React from "react";
100
101
  import PropTypes from "prop-types";
101
102
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAgBA,uEAyGC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAgBA,6EAyGC"}
@@ -1,5 +1,5 @@
1
1
  export default ReviewDashboardSkills;
2
- declare function ReviewDashboardSkills(props: any): JSX.Element;
2
+ declare function ReviewDashboardSkills(props: any): React.JSX.Element;
3
3
  declare namespace ReviewDashboardSkills {
4
4
  const propTypes: {
5
5
  'aria-label': PropTypes.Requireable<string>;
@@ -39,7 +39,7 @@ declare namespace ReviewDashboardSkills {
39
39
  title: PropTypes.Requireable<string>;
40
40
  isLoading: PropTypes.Requireable<boolean>;
41
41
  isLoadingAriaLabel: PropTypes.Requireable<string>;
42
- listSkills: PropTypes.Requireable<(PropTypes.InferProps<{
42
+ listSkills: PropTypes.Requireable<PropTypes.InferProps<{
43
43
  'aria-label': PropTypes.Requireable<string>;
44
44
  skillTitle: PropTypes.Requireable<string>;
45
45
  skillAriaLabel: PropTypes.Requireable<string>;
@@ -49,12 +49,13 @@ declare namespace ReviewDashboardSkills {
49
49
  reviseAriaLabel: PropTypes.Requireable<string>;
50
50
  isCustom: PropTypes.Requireable<boolean>;
51
51
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
52
- }> | null | undefined)[]>;
52
+ }>[]>;
53
53
  titleNoSkills: PropTypes.Requireable<string>;
54
54
  textNoSkills: PropTypes.Requireable<string>;
55
55
  iconSkillAriaLabel: PropTypes.Requireable<string>;
56
56
  }>>;
57
57
  };
58
58
  }
59
+ import React from "react";
59
60
  import PropTypes from "prop-types";
60
61
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/review-dashboard-skills/index.js"],"names":[],"mappings":";AAMA,gEAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/review-dashboard-skills/index.js"],"names":[],"mappings":";AAMA,sEAaC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { CardsGridProps } from '../../organism/cards-grid';
4
4
  interface ProviderContext {
@@ -16,7 +16,7 @@ declare const AllCourses: {
16
16
  list: CardsGridProps['list'];
17
17
  loading?: boolean;
18
18
  };
19
- totalContents?: number | undefined;
19
+ totalContents?: number;
20
20
  search: {
21
21
  oldValue: string;
22
22
  onChange: (value: string) => void;
@@ -25,12 +25,12 @@ declare const AllCourses: {
25
25
  type: 'skill' | 'playlist';
26
26
  action: () => void;
27
27
  oldSwitchValue: boolean;
28
- } | undefined;
28
+ };
29
29
  filters: {
30
- onChange?: ((value: string) => void) | undefined;
31
- options?: unknown[] | undefined;
30
+ onChange?: (value: string) => void;
31
+ options?: unknown[];
32
32
  };
33
- }, context: ProviderContext): JSX.Element;
33
+ }, context: ProviderContext): React.JSX.Element;
34
34
  contextTypes: {
35
35
  skin: PropTypes.Requireable<PropTypes.InferProps<{
36
36
  common: PropTypes.Requireable<{
@@ -57,21 +57,21 @@ declare const AllCourses: {
57
57
  };
58
58
  propTypes: {
59
59
  content: PropTypes.Requireable<PropTypes.InferProps<{
60
- list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
60
+ list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<any>>[]>;
61
61
  customStyle: PropTypes.Requireable<{
62
- [x: string]: string | null | undefined;
62
+ [x: string]: string;
63
63
  }>;
64
64
  loading: PropTypes.Requireable<boolean>;
65
65
  }>>;
66
66
  totalContents: PropTypes.Requireable<number>;
67
67
  filters: PropTypes.Requireable<PropTypes.InferProps<{
68
68
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
69
- options: PropTypes.Requireable<(PropTypes.InferProps<{
69
+ options: PropTypes.Requireable<PropTypes.InferProps<{
70
70
  name: PropTypes.Validator<string>;
71
- value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
71
+ value: PropTypes.Requireable<NonNullable<string | number>>;
72
72
  selected: PropTypes.Requireable<boolean>;
73
73
  validOption: PropTypes.Requireable<boolean>;
74
- }> | null | undefined)[]>;
74
+ }>[]>;
75
75
  }>>;
76
76
  bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
77
77
  type: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAMnC,OAAkB,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAQpE,UAAU,eAAe;IACvB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAgDD,QAAA,MAAM,UAAU;;iBAEH;YACP,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;YAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;;;sBAGW,MAAM;8BACE,MAAM,KAAK,IAAI;;;kBAG3B,OAAO,GAAG,UAAU;oBAClB,MAAM,IAAI;4BACF,OAAO;;;gCAGJ,MAAM,KAAK,IAAI;;;gBAI7B,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJzB,CAAC;AAyBF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.tsx"],"names":[],"mappings":"AAAA,O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