@coorpacademy/components 10.4.3 → 10.4.6-alpha.2

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 (1260) hide show
  1. package/es/atom/autocomplete/style.css +4 -4
  2. package/es/atom/autocomplete/test/fixtures/error.js +1 -1
  3. package/es/atom/autocomplete/test/fixtures/error.js.map +1 -1
  4. package/es/atom/autocomplete/test/fixtures/filled.js +1 -1
  5. package/es/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  6. package/es/atom/autocomplete/test/fixtures/modified.js +1 -1
  7. package/es/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  8. package/es/atom/button/style.css +1 -1
  9. package/es/atom/card-image-preview/index.js +35 -0
  10. package/es/atom/card-image-preview/index.js.map +1 -0
  11. package/es/atom/card-image-preview/style.css +34 -0
  12. package/es/atom/card-image-preview/test/fixtures/default.js +6 -0
  13. package/es/atom/card-image-preview/test/fixtures/default.js.map +1 -0
  14. package/es/atom/card-image-preview/test/fixtures/empty.js +4 -0
  15. package/es/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
  16. package/es/atom/catalog-section/style.css +1 -1
  17. package/es/atom/clue/index.js.map +1 -1
  18. package/es/atom/clue/style.css +2 -2
  19. package/es/atom/cta/style.css +1 -1
  20. package/es/atom/cta/test/fixtures/certification.js +1 -1
  21. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  23. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  25. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/light.js +1 -1
  27. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/logout.js +1 -1
  29. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  30. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  31. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  32. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  33. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  34. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  35. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  36. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  37. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  38. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  39. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  40. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  41. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  42. package/es/atom/difficulty-level/style.css +1 -1
  43. package/es/atom/drag-and-drop/index.js +1 -1
  44. package/es/atom/drag-and-drop/index.js.map +1 -1
  45. package/es/atom/drag-and-drop/style.css +6 -5
  46. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  47. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  48. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  49. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  50. package/es/atom/image-upload/index.js +1 -1
  51. package/es/atom/image-upload/index.js.map +1 -1
  52. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  53. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  54. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  55. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  56. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  57. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  58. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  59. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  60. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  61. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  62. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  63. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  64. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  65. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  66. package/es/atom/input-checkbox/style.css +1 -1
  67. package/es/atom/input-doublestep/style.css +5 -5
  68. package/es/atom/input-html/index.js.map +1 -1
  69. package/es/atom/input-html/input-preview.css +2 -2
  70. package/es/atom/input-html/style.css +2 -2
  71. package/es/atom/input-readonly/style.css +3 -3
  72. package/es/atom/input-search/style.css +1 -1
  73. package/es/atom/input-switch/style.css +2 -2
  74. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  75. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  76. package/es/atom/input-text/style.css +5 -5
  77. package/es/atom/input-textarea/style.css +5 -5
  78. package/es/atom/life/style.css +1 -1
  79. package/es/atom/link/index.js +2 -3
  80. package/es/atom/link/index.js.map +1 -1
  81. package/es/atom/loader/test/fixtures.js +2 -0
  82. package/es/atom/loader/test/fixtures.js.map +1 -1
  83. package/es/atom/notification/style.css +1 -1
  84. package/es/atom/promo-code/index.js.map +1 -1
  85. package/es/atom/provider/index.js.map +1 -1
  86. package/es/atom/provider/test/index.js +1 -1
  87. package/es/atom/provider/test/index.js.map +1 -1
  88. package/es/atom/radio-group/item.css +1 -1
  89. package/es/atom/range/index.js +1 -1
  90. package/es/atom/range/index.js.map +1 -1
  91. package/es/atom/range/test/fixtures/multi.js +1 -1
  92. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  93. package/es/atom/range/test/index.js +9 -9
  94. package/es/atom/range/test/index.js.map +1 -1
  95. package/es/atom/resource-miniature/style.css +1 -1
  96. package/es/atom/select/style.css +7 -7
  97. package/es/atom/slide/style.css +1 -1
  98. package/es/atom/video-upload/index.js +1 -1
  99. package/es/atom/video-upload/index.js.map +1 -1
  100. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  101. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  102. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  103. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  104. package/es/hoc/animation-scheduler/index.js +3 -3
  105. package/es/hoc/animation-scheduler/index.js.map +1 -1
  106. package/es/hoc/swapper/index.js +2 -4
  107. package/es/hoc/swapper/index.js.map +1 -1
  108. package/es/hoc/transition/index.js +1 -1
  109. package/es/hoc/transition/index.js.map +1 -1
  110. package/es/molecule/add-to-my-list/index.js +1 -1
  111. package/es/molecule/add-to-my-list/index.js.map +1 -1
  112. package/es/molecule/add-to-my-list/style.css +3 -3
  113. package/es/molecule/answer/index.js +2 -3
  114. package/es/molecule/answer/index.js.map +1 -1
  115. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  116. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  117. package/es/molecule/answer/test/fixtures/default.js +1 -1
  118. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  119. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  120. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  121. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  122. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  123. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  124. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  125. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  126. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  127. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  128. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  129. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  130. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  131. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  132. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  133. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  134. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  135. package/es/molecule/answer/test/fixtures/range.js +1 -1
  136. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  137. package/es/molecule/answer/test/fixtures/template.js +1 -1
  138. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  139. package/es/molecule/audio/style.css +1 -1
  140. package/es/molecule/battle-request/style.css +4 -4
  141. package/es/molecule/brand-card/description.css +1 -1
  142. package/es/molecule/brand-card/style.css +2 -2
  143. package/es/molecule/brand-card-create/style.css +1 -1
  144. package/es/molecule/brand-create-form/style.css +6 -6
  145. package/es/molecule/brand-download-box/style.css +2 -2
  146. package/es/molecule/brand-form-group/index.js +18 -18
  147. package/es/molecule/brand-form-group/index.js.map +1 -1
  148. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  149. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  150. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  151. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  152. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  153. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  154. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  155. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  156. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  157. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  158. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  159. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  160. package/es/molecule/brand-tabs/style.css +1 -1
  161. package/es/molecule/brand-upload-box/style.css +2 -2
  162. package/es/molecule/breadcrumbs/style.css +3 -3
  163. package/es/molecule/card/customer.css +1 -1
  164. package/es/molecule/card/favorite.css +1 -1
  165. package/es/molecule/card/index.js +1 -1
  166. package/es/molecule/card/index.js.map +1 -1
  167. package/es/molecule/card/notification.css +1 -1
  168. package/es/molecule/card/style.css +1 -1
  169. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  170. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  171. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  172. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  173. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  174. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  175. package/es/molecule/card/test/fixtures.js +2 -0
  176. package/es/molecule/card/test/fixtures.js.map +1 -1
  177. package/es/molecule/card-content/style.css +4 -4
  178. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  179. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  180. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  181. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  182. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  183. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  184. package/es/molecule/card-with-button/index.js.map +1 -1
  185. package/es/molecule/card-with-button/style.css +2 -2
  186. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  187. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  188. package/es/molecule/cookie-banner/style.css +2 -2
  189. package/es/molecule/coorp-manager-roles/index.js +1 -1
  190. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  191. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  192. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  193. package/es/molecule/dashboard/cards-list/style.css +2 -2
  194. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  195. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  196. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  197. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  198. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  199. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  200. package/es/molecule/dashboard/news-list/index.js +1 -1
  201. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  202. package/es/molecule/dashboard/news-list/style.css +2 -2
  203. package/es/molecule/dashboard/start-battle/index.js +1 -1
  204. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  205. package/es/molecule/dashboard/start-battle/style.css +4 -4
  206. package/es/molecule/discipline-cta/style.css +2 -2
  207. package/es/molecule/discipline-header/style.css +4 -4
  208. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  209. package/es/molecule/discipline-partners/style.css +2 -2
  210. package/es/molecule/drag-and-drop/common.css +1 -1
  211. package/es/molecule/drag-and-drop/index.js +1 -1
  212. package/es/molecule/drag-and-drop/index.js.map +1 -1
  213. package/es/molecule/drag-and-drop/overlay.css +1 -1
  214. package/es/molecule/drag-and-drop/style.css +1 -1
  215. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  216. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  217. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  218. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  219. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  220. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  221. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  222. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  223. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  224. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  225. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  226. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  227. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  228. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  229. package/es/molecule/drag-and-drop/upload-report.css +4 -4
  230. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  231. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  232. package/es/molecule/external-content-button/style.css +2 -2
  233. package/es/molecule/feedback/index.js +1 -1
  234. package/es/molecule/feedback/index.js.map +1 -1
  235. package/es/molecule/feedback/style.css +3 -3
  236. package/es/molecule/filters/filters-wapper.css +2 -2
  237. package/es/molecule/filters/style.css +2 -2
  238. package/es/molecule/filters/test/fixtures/default.js +4 -4
  239. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  240. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  241. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  242. package/es/molecule/filters/test/fixtures/one.js +2 -2
  243. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  244. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  245. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  246. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  247. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  248. package/es/molecule/filters/test/fixtures/three.js +3 -3
  249. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  250. package/es/molecule/filters/test/fixtures/two.js +3 -3
  251. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  252. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  253. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  254. package/es/molecule/forum/forum-comment/style.css +1 -1
  255. package/es/molecule/forum/forum-post/style.css +5 -5
  256. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  257. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  258. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  259. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  260. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  261. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  262. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  263. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  264. package/es/molecule/menu-list/style.css +1 -1
  265. package/es/molecule/message-popin/style.css +2 -2
  266. package/es/molecule/modal/style.css +2 -2
  267. package/es/molecule/module-card/style.css +2 -2
  268. package/es/molecule/news/style.css +3 -3
  269. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  270. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  271. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  272. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  273. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  274. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  275. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  276. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  277. package/es/molecule/notification-banner/style.css +3 -3
  278. package/es/molecule/pagination/style.css +1 -1
  279. package/es/molecule/payment-form/index.js +2 -2
  280. package/es/molecule/payment-form/index.js.map +1 -1
  281. package/es/molecule/pdf/style.css +2 -2
  282. package/es/molecule/popin/index.js +1 -1
  283. package/es/molecule/popin/index.js.map +1 -1
  284. package/es/molecule/popin/style.css +2 -2
  285. package/es/molecule/progress-bar/index.js +1 -1
  286. package/es/molecule/progress-bar/index.js.map +1 -1
  287. package/es/molecule/progress-bar/style.css +1 -1
  288. package/es/molecule/questions/drop-down/index.js +1 -1
  289. package/es/molecule/questions/drop-down/index.js.map +1 -1
  290. package/es/molecule/questions/free-text/style.css +1 -1
  291. package/es/molecule/questions/qcm/style.css +1 -1
  292. package/es/molecule/questions/qcm-drag/style.css +2 -2
  293. package/es/molecule/questions/qcm-graphic/style.css +1 -1
  294. package/es/molecule/questions/question-range/index.js +2 -3
  295. package/es/molecule/questions/question-range/index.js.map +1 -1
  296. package/es/molecule/questions/question-range/style.css +2 -2
  297. package/es/molecule/questions/template/index.js +2 -2
  298. package/es/molecule/questions/template/index.js.map +1 -1
  299. package/es/molecule/questions/template/style.css +1 -1
  300. package/es/molecule/questions/template/test/index.js +1 -1
  301. package/es/molecule/questions/template/test/index.js.map +1 -1
  302. package/es/molecule/quick-access-card/index.js.map +1 -1
  303. package/es/molecule/resource-player/index.js +1 -2
  304. package/es/molecule/resource-player/index.js.map +1 -1
  305. package/es/molecule/resource-player/style.css +1 -1
  306. package/es/molecule/scope-content/style.css +6 -6
  307. package/es/molecule/scope-tabs/style.css +1 -1
  308. package/es/molecule/select-multiple/index.js +3 -3
  309. package/es/molecule/select-multiple/index.js.map +1 -1
  310. package/es/molecule/select-multiple/style.css +2 -2
  311. package/es/molecule/select-multiple/test/index.js +2 -2
  312. package/es/molecule/select-multiple/test/index.js.map +1 -1
  313. package/es/molecule/setup-cohort-item/style.css +1 -1
  314. package/es/molecule/setup-section/index.js +1 -1
  315. package/es/molecule/setup-section/index.js.map +1 -1
  316. package/es/molecule/setup-section/style.css +2 -2
  317. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  318. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  319. package/es/molecule/setup-sections/style.css +1 -1
  320. package/es/molecule/setup-slide/index.js +8 -8
  321. package/es/molecule/setup-slide/index.js.map +1 -1
  322. package/es/molecule/share/index.js +1 -1
  323. package/es/molecule/share/index.js.map +1 -1
  324. package/es/molecule/share/style.css +3 -3
  325. package/es/molecule/ssmenu-list/style.css +1 -1
  326. package/es/molecule/table/style.css +5 -5
  327. package/es/molecule/teams-popin/style.css +2 -2
  328. package/es/molecule/titled-checkbox/style.css +1 -1
  329. package/es/molecule/vertical-tabs/test/fixtures.js +2 -0
  330. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -1
  331. package/es/molecule/video-iframe/index.js +1 -1
  332. package/es/molecule/video-iframe/index.js.map +1 -1
  333. package/es/molecule/video-player/index.js +1 -3
  334. package/es/molecule/video-player/index.js.map +1 -1
  335. package/es/molecule/video-player/jwplayer.css +1 -1
  336. package/es/molecule/video-player/jwplayer.js +2 -2
  337. package/es/molecule/video-player/jwplayer.js.map +1 -1
  338. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  339. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  340. package/es/molecule/video-player/vimeo.js +1 -1
  341. package/es/molecule/video-player/vimeo.js.map +1 -1
  342. package/es/organism/accordion/coorp-manager/index.js +1 -1
  343. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  344. package/es/organism/accordion/part/style.css +1 -1
  345. package/es/organism/accordion/toggler/index.js +1 -1
  346. package/es/organism/accordion/toggler/index.js.map +1 -1
  347. package/es/organism/accordion/toggler/test/render.js +2 -2
  348. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  349. package/es/organism/brand-analytics/analytics-popin.css +1 -0
  350. package/es/organism/brand-analytics/style.css +1 -1
  351. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  352. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  353. package/es/organism/brand-table/style.css +2 -2
  354. package/es/organism/brand-upload/style.css +2 -2
  355. package/es/organism/content-translation/index.js +2 -2
  356. package/es/organism/content-translation/index.js.map +1 -1
  357. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  358. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  359. package/es/organism/course-selection/test/fixtures/default.js +8 -8
  360. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  361. package/es/organism/course-selection/test/fixtures/filtered.js +2 -2
  362. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  363. package/es/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  364. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  365. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  366. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  367. package/es/organism/discussion/style.css +1 -1
  368. package/es/organism/discussion/test/fixtures/default.js +1 -1
  369. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  370. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  371. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  372. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  373. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  374. package/es/organism/get-the-app/index.js +2 -2
  375. package/es/organism/get-the-app/index.js.map +1 -1
  376. package/es/organism/get-the-app/style.css +1 -1
  377. package/es/organism/hero/style.css +1 -1
  378. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  379. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  380. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  381. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  382. package/es/organism/list-items/test/fixtures/published.js +1 -1
  383. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  384. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  385. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  386. package/es/organism/mooc-footer/style.css +3 -3
  387. package/es/organism/mooc-header/style.css +8 -8
  388. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  389. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  390. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  391. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  392. package/es/organism/popin/style.css +1 -0
  393. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  394. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  395. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  396. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  397. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  398. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  399. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  400. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  401. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  402. package/es/organism/settings/index.js +2 -3
  403. package/es/organism/settings/index.js.map +1 -1
  404. package/es/organism/setup-header/index.js +6 -17
  405. package/es/organism/setup-header/index.js.map +1 -1
  406. package/es/organism/setup-header/test/fixtures/default.js +4 -1
  407. package/es/organism/setup-header/test/fixtures/default.js.map +1 -1
  408. package/es/organism/sidebar/index.js +10 -11
  409. package/es/organism/sidebar/index.js.map +1 -1
  410. package/es/organism/sidebar/style.css +2 -2
  411. package/es/organism/user-preferences/index.js +2 -3
  412. package/es/organism/user-preferences/index.js.map +1 -1
  413. package/es/organism/user-preferences/style.css +1 -1
  414. package/es/organism/wizard-contents/index.js +5 -5
  415. package/es/organism/wizard-contents/index.js.map +1 -1
  416. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  417. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  418. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  419. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  420. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  421. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  422. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  423. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  424. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  425. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  426. package/es/template/activity/engine-stars.css +3 -3
  427. package/es/template/activity/index.js +1 -1
  428. package/es/template/activity/index.js.map +1 -1
  429. package/es/template/activity/progression-item.css +5 -4
  430. package/es/template/activity/stars-summary.css +2 -2
  431. package/es/template/activity/style.css +3 -3
  432. package/es/template/activity/test/progression-item-test.js +1 -1
  433. package/es/template/activity/test/progression-item-test.js.map +1 -1
  434. package/es/template/app-player/player/slides/footer/index.js +1 -1
  435. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  436. package/es/template/app-player/player/slides/footer/style.css +1 -1
  437. package/es/template/app-player/player/slides/header/learner.css +4 -4
  438. package/es/template/app-player/player/slides/header/microlearning.css +1 -1
  439. package/es/template/app-player/player/slides/index.js +11 -14
  440. package/es/template/app-player/player/slides/index.js.map +1 -1
  441. package/es/template/app-player/player/slides/style.css +9 -8
  442. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  443. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  444. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  445. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  446. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  447. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  448. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  449. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  450. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  451. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  452. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  453. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  454. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  455. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  456. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  457. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  458. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  459. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  460. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  461. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  462. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  463. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  464. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  465. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  466. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  467. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  468. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  469. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  470. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  471. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  472. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  473. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  474. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  475. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  476. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  477. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  478. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  479. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  480. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  481. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  482. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  483. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  484. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  485. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  486. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  487. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  488. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  489. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  490. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  491. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  492. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  493. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  494. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  495. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  496. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  497. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  498. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  499. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  500. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  501. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  502. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  503. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  504. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  505. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  506. package/es/template/app-player/popin-correction/index.js +2 -3
  507. package/es/template/app-player/popin-correction/index.js.map +1 -1
  508. package/es/template/app-player/popin-correction/style.css +3 -3
  509. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  510. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  511. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  512. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  513. package/es/template/app-player/popin-end/summary.css +4 -4
  514. package/es/template/app-player/popin-end/summary.js +7 -11
  515. package/es/template/app-player/popin-end/summary.js.map +1 -1
  516. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  517. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  518. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  519. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  520. package/es/template/app-player/popin-header/index.js +3 -4
  521. package/es/template/app-player/popin-header/index.js.map +1 -1
  522. package/es/template/app-player/popin-header/style.css +5 -5
  523. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  524. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  525. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  526. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  527. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  528. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  529. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  530. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  531. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  532. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  533. package/es/template/back-office/brand-update/index.js +8 -8
  534. package/es/template/back-office/brand-update/index.js.map +1 -1
  535. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  536. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  537. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  538. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  539. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  540. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  541. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  542. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  543. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  544. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  545. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  546. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  547. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  548. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  549. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  550. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  551. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  552. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  553. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  554. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  555. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  556. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  557. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  558. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  559. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  560. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  561. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  562. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  563. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  564. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  565. package/es/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  566. package/es/template/back-office/dashboard-preview/style.css +1 -1
  567. package/es/template/cockpit/jw-uploader/index.js +1 -1
  568. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  569. package/es/template/cockpit/jw-uploader/style.css +1 -0
  570. package/es/template/common/authors/style.css +5 -4
  571. package/es/template/common/dashboard/index.js +1 -1
  572. package/es/template/common/dashboard/index.js.map +1 -1
  573. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  574. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  575. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  576. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  577. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  578. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  579. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  580. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  581. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  582. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  583. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  584. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  585. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  586. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  587. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  588. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  589. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  590. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  591. package/es/template/common/layout.css +1 -1
  592. package/es/template/common/search-page/style.css +2 -1
  593. package/es/template/external-course/style.css +1 -1
  594. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  595. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  596. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  597. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  598. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  599. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  600. package/es/util/shallow-compare.js.map +1 -1
  601. package/es/util/test/navigation.js +3 -4
  602. package/es/util/test/navigation.js.map +1 -1
  603. package/es/variables/fonts.css +1 -1
  604. package/lib/atom/autocomplete/index.js +2 -2
  605. package/lib/atom/autocomplete/style.css +4 -4
  606. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  607. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  608. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  609. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  610. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  611. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  612. package/lib/atom/button/style.css +1 -1
  613. package/lib/atom/button-link/index.js +2 -2
  614. package/lib/atom/button-link-icon-only/index.js +2 -2
  615. package/lib/atom/button-menu/index.js +2 -2
  616. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  617. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  618. package/lib/atom/card-image-preview/index.js +47 -0
  619. package/lib/atom/card-image-preview/index.js.map +1 -0
  620. package/lib/atom/card-image-preview/style.css +34 -0
  621. package/lib/atom/card-image-preview/test/fixtures/default.js +11 -0
  622. package/lib/atom/card-image-preview/test/fixtures/default.js.map +1 -0
  623. package/lib/atom/card-image-preview/test/fixtures/empty.js +9 -0
  624. package/lib/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
  625. package/lib/atom/catalog-section/style.css +1 -1
  626. package/lib/atom/chips/index.js +2 -2
  627. package/lib/atom/clue/index.js.map +1 -1
  628. package/lib/atom/clue/style.css +2 -2
  629. package/lib/atom/cta/style.css +1 -1
  630. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  631. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  632. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  633. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  634. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  635. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  636. package/lib/atom/cta/test/fixtures/light.js +1 -1
  637. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  638. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  639. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  640. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  641. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  642. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  643. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  644. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  645. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  646. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  647. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  648. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  649. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  650. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  651. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  652. package/lib/atom/difficulty-level/style.css +1 -1
  653. package/lib/atom/drag-and-drop/index.js +1 -1
  654. package/lib/atom/drag-and-drop/index.js.map +1 -1
  655. package/lib/atom/drag-and-drop/style.css +6 -5
  656. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  657. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  658. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  659. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  660. package/lib/atom/image-upload/index.js +3 -3
  661. package/lib/atom/image-upload/index.js.map +1 -1
  662. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  663. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  664. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  665. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  666. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  667. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  668. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  669. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  670. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  671. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  672. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  673. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  674. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  675. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  676. package/lib/atom/input-checkbox/index.js +2 -2
  677. package/lib/atom/input-checkbox/style.css +1 -1
  678. package/lib/atom/input-color/index.js +2 -2
  679. package/lib/atom/input-doublestep/index.js +2 -2
  680. package/lib/atom/input-doublestep/style.css +5 -5
  681. package/lib/atom/input-html/index.js.map +1 -1
  682. package/lib/atom/input-html/input-preview.css +2 -2
  683. package/lib/atom/input-html/style.css +2 -2
  684. package/lib/atom/input-readonly/style.css +3 -3
  685. package/lib/atom/input-search/index.js +2 -2
  686. package/lib/atom/input-search/style.css +1 -1
  687. package/lib/atom/input-switch/index.js +2 -2
  688. package/lib/atom/input-switch/style.css +2 -2
  689. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  690. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  691. package/lib/atom/input-text/index.js +2 -2
  692. package/lib/atom/input-text/style.css +5 -5
  693. package/lib/atom/input-textarea/index.js +2 -2
  694. package/lib/atom/input-textarea/style.css +5 -5
  695. package/lib/atom/life/style.css +1 -1
  696. package/lib/atom/link/index.js +2 -4
  697. package/lib/atom/link/index.js.map +1 -1
  698. package/lib/atom/loader/test/fixtures.js +3 -0
  699. package/lib/atom/loader/test/fixtures.js.map +1 -1
  700. package/lib/atom/notification/style.css +1 -1
  701. package/lib/atom/promo-code/index.js.map +1 -1
  702. package/lib/atom/provider/index.js.map +1 -1
  703. package/lib/atom/provider/test/index.js +1 -1
  704. package/lib/atom/provider/test/index.js.map +1 -1
  705. package/lib/atom/radio-group/item.css +1 -1
  706. package/lib/atom/range/index.js +1 -1
  707. package/lib/atom/range/index.js.map +1 -1
  708. package/lib/atom/range/test/fixtures/multi.js +1 -1
  709. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  710. package/lib/atom/range/test/index.js +9 -9
  711. package/lib/atom/range/test/index.js.map +1 -1
  712. package/lib/atom/resource-miniature/style.css +1 -1
  713. package/lib/atom/select/index.js +2 -2
  714. package/lib/atom/select/style.css +7 -7
  715. package/lib/atom/slide/style.css +1 -1
  716. package/lib/atom/tab/index.js +2 -2
  717. package/lib/atom/video-upload/index.js +1 -1
  718. package/lib/atom/video-upload/index.js.map +1 -1
  719. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  720. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  721. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  722. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  723. package/lib/hoc/animation/index.js +1 -1
  724. package/lib/hoc/animation/test/on-mount.js +2 -2
  725. package/lib/hoc/animation-scheduler/index.js +4 -4
  726. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  727. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  728. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  729. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  730. package/lib/hoc/swapper/index.js +3 -5
  731. package/lib/hoc/swapper/index.js.map +1 -1
  732. package/lib/hoc/swapper/test/on-mount.js +2 -2
  733. package/lib/hoc/transition/index.js +3 -3
  734. package/lib/hoc/transition/index.js.map +1 -1
  735. package/lib/molecule/add-to-my-list/index.js +4 -4
  736. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  737. package/lib/molecule/add-to-my-list/style.css +3 -3
  738. package/lib/molecule/answer/index.js +3 -5
  739. package/lib/molecule/answer/index.js.map +1 -1
  740. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  741. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  742. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  743. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  744. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  745. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  746. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  747. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  748. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  749. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  750. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  751. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  752. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  753. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  754. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  755. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  756. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  757. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  758. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  759. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  760. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  761. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  762. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  763. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  764. package/lib/molecule/audio/style.css +1 -1
  765. package/lib/molecule/battle-request/style.css +4 -4
  766. package/lib/molecule/brand-card/description.css +1 -1
  767. package/lib/molecule/brand-card/style.css +2 -2
  768. package/lib/molecule/brand-card-create/style.css +1 -1
  769. package/lib/molecule/brand-create-form/index.js +2 -2
  770. package/lib/molecule/brand-create-form/style.css +6 -6
  771. package/lib/molecule/brand-download-box/style.css +2 -2
  772. package/lib/molecule/brand-form-group/index.js +18 -18
  773. package/lib/molecule/brand-form-group/index.js.map +1 -1
  774. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  775. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  776. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  777. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  778. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  779. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  780. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  781. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  782. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  783. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  784. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  785. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  786. package/lib/molecule/brand-tabs/style.css +1 -1
  787. package/lib/molecule/brand-upload-box/style.css +2 -2
  788. package/lib/molecule/breadcrumbs/style.css +3 -3
  789. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  790. package/lib/molecule/card/customer.css +1 -1
  791. package/lib/molecule/card/favorite.css +1 -1
  792. package/lib/molecule/card/index.js +3 -3
  793. package/lib/molecule/card/index.js.map +1 -1
  794. package/lib/molecule/card/notification.css +1 -1
  795. package/lib/molecule/card/style.css +1 -1
  796. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  797. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  798. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  799. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  800. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  801. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  802. package/lib/molecule/card/test/fixtures.js +3 -0
  803. package/lib/molecule/card/test/fixtures.js.map +1 -1
  804. package/lib/molecule/card-content/style.css +4 -4
  805. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  806. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  807. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  808. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  809. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  810. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  811. package/lib/molecule/card-with-button/index.js.map +1 -1
  812. package/lib/molecule/card-with-button/style.css +2 -2
  813. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  814. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  815. package/lib/molecule/cookie-banner/style.css +2 -2
  816. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  817. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  818. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  819. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  820. package/lib/molecule/dashboard/cards-list/style.css +2 -2
  821. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  822. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  823. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  824. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  825. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  826. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  827. package/lib/molecule/dashboard/news-list/index.js +1 -1
  828. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  829. package/lib/molecule/dashboard/news-list/style.css +2 -2
  830. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  831. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  832. package/lib/molecule/dashboard/start-battle/style.css +4 -4
  833. package/lib/molecule/discipline-cta/style.css +2 -2
  834. package/lib/molecule/discipline-header/style.css +4 -4
  835. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  836. package/lib/molecule/discipline-partners/style.css +2 -2
  837. package/lib/molecule/drag-and-drop/common.css +1 -1
  838. package/lib/molecule/drag-and-drop/index.js +3 -3
  839. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  840. package/lib/molecule/drag-and-drop/overlay.css +1 -1
  841. package/lib/molecule/drag-and-drop/style.css +1 -1
  842. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  843. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  844. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  845. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  846. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  847. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  848. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  849. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  850. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  851. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  852. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  853. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  854. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  855. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  856. package/lib/molecule/drag-and-drop/upload-report.css +4 -4
  857. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  858. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  859. package/lib/molecule/external-content-button/style.css +2 -2
  860. package/lib/molecule/feedback/index.js +3 -3
  861. package/lib/molecule/feedback/index.js.map +1 -1
  862. package/lib/molecule/feedback/style.css +3 -3
  863. package/lib/molecule/filters/filters-wapper.css +2 -2
  864. package/lib/molecule/filters/style.css +2 -2
  865. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  866. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  867. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  868. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  869. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  870. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  871. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  872. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  873. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  874. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  875. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  876. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  877. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  878. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  879. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  880. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  881. package/lib/molecule/forum/forum-comment/style.css +1 -1
  882. package/lib/molecule/forum/forum-post/style.css +5 -5
  883. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  884. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  885. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  886. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  887. package/lib/molecule/hero/index.js +2 -2
  888. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  889. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  890. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  891. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  892. package/lib/molecule/menu-list/style.css +1 -1
  893. package/lib/molecule/message-popin/style.css +2 -2
  894. package/lib/molecule/modal/style.css +2 -2
  895. package/lib/molecule/module-card/style.css +2 -2
  896. package/lib/molecule/news/style.css +3 -3
  897. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  898. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  899. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  900. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  901. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  902. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  903. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  904. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  905. package/lib/molecule/notification-banner/style.css +3 -3
  906. package/lib/molecule/pagination/style.css +1 -1
  907. package/lib/molecule/payment-form/index.js +2 -2
  908. package/lib/molecule/payment-form/index.js.map +1 -1
  909. package/lib/molecule/pdf/style.css +2 -2
  910. package/lib/molecule/popin/index.js +3 -3
  911. package/lib/molecule/popin/index.js.map +1 -1
  912. package/lib/molecule/popin/style.css +2 -2
  913. package/lib/molecule/progress-bar/index.js +1 -1
  914. package/lib/molecule/progress-bar/index.js.map +1 -1
  915. package/lib/molecule/progress-bar/style.css +1 -1
  916. package/lib/molecule/questions/drop-down/index.js +3 -3
  917. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  918. package/lib/molecule/questions/free-text/index.js +2 -2
  919. package/lib/molecule/questions/free-text/style.css +1 -1
  920. package/lib/molecule/questions/qcm/style.css +1 -1
  921. package/lib/molecule/questions/qcm-drag/style.css +2 -2
  922. package/lib/molecule/questions/qcm-graphic/style.css +1 -1
  923. package/lib/molecule/questions/question-range/index.js +2 -4
  924. package/lib/molecule/questions/question-range/index.js.map +1 -1
  925. package/lib/molecule/questions/question-range/style.css +2 -2
  926. package/lib/molecule/questions/template/index.js +2 -2
  927. package/lib/molecule/questions/template/index.js.map +1 -1
  928. package/lib/molecule/questions/template/style.css +1 -1
  929. package/lib/molecule/questions/template/test/index.js +1 -1
  930. package/lib/molecule/questions/template/test/index.js.map +1 -1
  931. package/lib/molecule/quick-access-card/index.js.map +1 -1
  932. package/lib/molecule/resource-player/index.js +2 -4
  933. package/lib/molecule/resource-player/index.js.map +1 -1
  934. package/lib/molecule/resource-player/style.css +1 -1
  935. package/lib/molecule/scope-content/style.css +6 -6
  936. package/lib/molecule/scope-tabs/index.js +2 -2
  937. package/lib/molecule/scope-tabs/style.css +1 -1
  938. package/lib/molecule/search-form/index.js +2 -2
  939. package/lib/molecule/select-multiple/index.js +6 -6
  940. package/lib/molecule/select-multiple/index.js.map +1 -1
  941. package/lib/molecule/select-multiple/style.css +2 -2
  942. package/lib/molecule/select-multiple/test/index.js +4 -4
  943. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  944. package/lib/molecule/setup-cohort-item/style.css +1 -1
  945. package/lib/molecule/setup-section/index.js +1 -1
  946. package/lib/molecule/setup-section/index.js.map +1 -1
  947. package/lib/molecule/setup-section/style.css +2 -2
  948. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  949. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  950. package/lib/molecule/setup-sections/index.js +2 -2
  951. package/lib/molecule/setup-sections/style.css +1 -1
  952. package/lib/molecule/setup-slide/index.js +8 -8
  953. package/lib/molecule/setup-slide/index.js.map +1 -1
  954. package/lib/molecule/share/index.js +4 -4
  955. package/lib/molecule/share/index.js.map +1 -1
  956. package/lib/molecule/share/style.css +3 -3
  957. package/lib/molecule/ssmenu-list/style.css +1 -1
  958. package/lib/molecule/table/style.css +5 -5
  959. package/lib/molecule/teams-popin/style.css +2 -2
  960. package/lib/molecule/titled-checkbox/index.js +2 -2
  961. package/lib/molecule/titled-checkbox/style.css +1 -1
  962. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  963. package/lib/molecule/vertical-tabs/test/fixtures.js +3 -0
  964. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -1
  965. package/lib/molecule/video-iframe/index.js +1 -1
  966. package/lib/molecule/video-iframe/index.js.map +1 -1
  967. package/lib/molecule/video-player/index.js +1 -3
  968. package/lib/molecule/video-player/index.js.map +1 -1
  969. package/lib/molecule/video-player/jwplayer.css +1 -1
  970. package/lib/molecule/video-player/jwplayer.js +2 -2
  971. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  972. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  973. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  974. package/lib/molecule/video-player/vimeo.js +1 -1
  975. package/lib/molecule/video-player/vimeo.js.map +1 -1
  976. package/lib/molecule/wizard-summary/index.js +2 -2
  977. package/lib/organism/accordion/container/index.js +2 -2
  978. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  979. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  980. package/lib/organism/accordion/part/style.css +1 -1
  981. package/lib/organism/accordion/toggler/index.js +1 -1
  982. package/lib/organism/accordion/toggler/index.js.map +1 -1
  983. package/lib/organism/accordion/toggler/test/render.js +2 -2
  984. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  985. package/lib/organism/brand-analytics/analytics-popin.css +1 -0
  986. package/lib/organism/brand-analytics/style.css +1 -1
  987. package/lib/organism/brand-form/index.js +2 -2
  988. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  989. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  990. package/lib/organism/brand-table/style.css +2 -2
  991. package/lib/organism/brand-upload/style.css +2 -2
  992. package/lib/organism/content-translation/index.js +2 -2
  993. package/lib/organism/content-translation/index.js.map +1 -1
  994. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  995. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  996. package/lib/organism/course-selection/test/fixtures/default.js +8 -8
  997. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  998. package/lib/organism/course-selection/test/fixtures/filtered.js +2 -2
  999. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  1000. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  1001. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  1002. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  1003. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  1004. package/lib/organism/discussion/style.css +1 -1
  1005. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  1006. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  1007. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  1008. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  1009. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  1010. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  1011. package/lib/organism/get-the-app/index.js +2 -2
  1012. package/lib/organism/get-the-app/index.js.map +1 -1
  1013. package/lib/organism/get-the-app/style.css +1 -1
  1014. package/lib/organism/hero/style.css +1 -1
  1015. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  1016. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  1017. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  1018. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  1019. package/lib/organism/list-items/test/fixtures/published.js +1 -1
  1020. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  1021. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  1022. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  1023. package/lib/organism/mooc-footer/style.css +3 -3
  1024. package/lib/organism/mooc-header/style.css +8 -8
  1025. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  1026. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  1027. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  1028. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  1029. package/lib/organism/popin/style.css +1 -0
  1030. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  1031. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  1032. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  1033. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  1034. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  1035. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  1036. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  1037. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  1038. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  1039. package/lib/organism/settings/index.js +2 -4
  1040. package/lib/organism/settings/index.js.map +1 -1
  1041. package/lib/organism/setup-header/index.js +6 -17
  1042. package/lib/organism/setup-header/index.js.map +1 -1
  1043. package/lib/organism/setup-header/test/fixtures/default.js +4 -1
  1044. package/lib/organism/setup-header/test/fixtures/default.js.map +1 -1
  1045. package/lib/organism/sidebar/index.js +13 -15
  1046. package/lib/organism/sidebar/index.js.map +1 -1
  1047. package/lib/organism/sidebar/style.css +2 -2
  1048. package/lib/organism/user-preferences/index.js +2 -4
  1049. package/lib/organism/user-preferences/index.js.map +1 -1
  1050. package/lib/organism/user-preferences/style.css +1 -1
  1051. package/lib/organism/wizard-contents/index.js +5 -5
  1052. package/lib/organism/wizard-contents/index.js.map +1 -1
  1053. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  1054. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  1055. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  1056. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  1057. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  1058. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  1059. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  1060. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  1061. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  1062. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  1063. package/lib/template/activity/engine-stars.css +3 -3
  1064. package/lib/template/activity/index.js +1 -1
  1065. package/lib/template/activity/index.js.map +1 -1
  1066. package/lib/template/activity/progression-item.css +5 -4
  1067. package/lib/template/activity/progression-item.js +2 -2
  1068. package/lib/template/activity/stars-summary.css +2 -2
  1069. package/lib/template/activity/style.css +3 -3
  1070. package/lib/template/activity/test/progression-item-test.js +1 -1
  1071. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  1072. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  1073. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  1074. package/lib/template/app-player/player/slides/footer/style.css +1 -1
  1075. package/lib/template/app-player/player/slides/header/learner.css +4 -4
  1076. package/lib/template/app-player/player/slides/header/microlearning.css +1 -1
  1077. package/lib/template/app-player/player/slides/index.js +11 -15
  1078. package/lib/template/app-player/player/slides/index.js.map +1 -1
  1079. package/lib/template/app-player/player/slides/style.css +9 -8
  1080. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  1081. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  1082. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  1083. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  1084. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  1085. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  1086. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  1087. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  1088. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  1089. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  1090. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  1091. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  1092. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  1093. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  1094. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  1095. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  1096. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  1097. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  1098. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  1099. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  1100. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  1101. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  1102. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  1103. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  1104. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  1105. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  1106. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  1107. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  1108. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  1109. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  1110. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  1111. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  1112. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  1113. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  1114. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  1115. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  1116. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  1117. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  1118. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  1119. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  1120. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  1121. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  1122. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  1123. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  1124. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  1125. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  1126. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  1127. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  1128. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  1129. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  1130. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  1131. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  1132. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  1133. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  1134. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  1135. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  1136. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  1137. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  1138. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  1139. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  1140. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  1141. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  1142. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  1143. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  1144. package/lib/template/app-player/popin-correction/index.js +4 -6
  1145. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  1146. package/lib/template/app-player/popin-correction/style.css +3 -3
  1147. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  1148. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  1149. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  1150. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  1151. package/lib/template/app-player/popin-end/summary.css +4 -4
  1152. package/lib/template/app-player/popin-end/summary.js +7 -12
  1153. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  1154. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  1155. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  1156. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  1157. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  1158. package/lib/template/app-player/popin-header/index.js +5 -7
  1159. package/lib/template/app-player/popin-header/index.js.map +1 -1
  1160. package/lib/template/app-player/popin-header/style.css +5 -5
  1161. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  1162. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  1163. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  1164. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  1165. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  1166. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  1167. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  1168. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  1169. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  1170. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  1171. package/lib/template/back-office/brand-update/index.js +8 -8
  1172. package/lib/template/back-office/brand-update/index.js.map +1 -1
  1173. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  1174. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  1175. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  1176. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  1177. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  1178. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  1179. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  1180. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  1181. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  1182. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  1183. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  1184. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  1185. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  1186. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  1187. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  1188. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  1189. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  1190. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  1191. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  1192. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  1193. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  1194. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  1195. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  1196. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  1197. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  1198. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  1199. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  1200. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  1201. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  1202. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  1203. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  1204. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  1205. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  1206. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  1207. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  1208. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  1209. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  1210. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  1211. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  1212. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  1213. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  1214. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  1215. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  1216. package/lib/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  1217. package/lib/template/back-office/dashboard-preview/style.css +1 -1
  1218. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  1219. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  1220. package/lib/template/cockpit/jw-uploader/style.css +1 -0
  1221. package/lib/template/common/authors/style.css +5 -4
  1222. package/lib/template/common/dashboard/index.js +1 -1
  1223. package/lib/template/common/dashboard/index.js.map +1 -1
  1224. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  1225. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  1226. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  1227. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  1228. package/lib/template/common/discipline/index.js +2 -2
  1229. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  1230. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  1231. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  1232. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  1233. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  1234. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  1235. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1236. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1237. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1238. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1239. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1240. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1241. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1242. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1243. package/lib/template/common/layout.css +1 -1
  1244. package/lib/template/common/search-page/style.css +2 -1
  1245. package/lib/template/external-course/style.css +1 -1
  1246. package/lib/template/teams-dashboard/index.js +2 -2
  1247. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1248. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1249. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1250. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1251. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1252. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1253. package/lib/test/helpers/render-component.js +1 -1
  1254. package/lib/util/external-content.js +1 -1
  1255. package/lib/util/proptypes.js +1 -1
  1256. package/lib/util/shallow-compare.js.map +1 -1
  1257. package/lib/util/test/navigation.js +3 -5
  1258. package/lib/util/test/navigation.js.map +1 -1
  1259. package/lib/variables/fonts.css +1 -1
  1260. package/package.json +2 -2
@@ -38,7 +38,7 @@
38
38
 
39
39
  .title {
40
40
  display: block;
41
- font-family: "Open Sans";
41
+ font-family: "Gilroy";
42
42
  font-weight: 700;
43
43
  font-size: 20px;
44
44
  margin-bottom: 16px;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .desc {
49
- font-family: "Open Sans";
49
+ font-family: "Gilroy";
50
50
  font-size: 15px;
51
51
  color: black;
52
52
  letter-spacing: 0;
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  .desc a {
57
- font-family: Open Sans;
57
+ font-family: Gilroy;
58
58
  font-weight: 600;
59
59
  color: brand;
60
60
  text-decoration: none;
@@ -75,7 +75,7 @@
75
75
  transition: all time ease-in-out;
76
76
  cursor: pointer;
77
77
  order: 1;
78
- font-family: Open Sans;
78
+ font-family: Gilroy;
79
79
  font-weight: bold;
80
80
  text-align: left;
81
81
  color: brand;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/discipline-header/test/fixtures/long-description.js"],"names":["props","title","description","image"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBADF;AAELC,IAAAA,WAAW,EAAG;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oFAlBS;AAmBLC,IAAAA,KAAK,EACH;AApBG;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Les nouveaux business',\n description: `La révolution numérique a tout accéléré : les communications, la récupération des données, \n la propagation de l’information et des innovations… On peut presque tout savoir instantanément : \n les bonnes pratiques d’une entreprise comme les mauvaises ; les goûts et les comportements de ses \n clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique \n a tout accéléré : les communications, la récupération des données,la propagation de l’information et des innovations… \n On peut presque tout savoir instantanément : les bonnes pratiques d’une entreprise comme les mauvaises ; \n les goûts et les comportements de ses clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique a tout accéléré : les communications, \n la récupération des données, la propagation de l’information et des innovations… On peut presque tout savoir instantanément : \n les bonnes pratiques d’une entreprise comme les mauvaises ; les goûts et les comportements de ses \n clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique \n a tout accéléré : les communications, la récupération des données, la propagation de l’information et des innovations… \n On peut presque tout savoir instantanément : les bonnes pratiques d’une entreprise comme les mauvaises ; \n les goûts et les comportements de ses clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets.`,\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/CoorpAcademy/content-digital-core/cockpit-digital-2016/default/shutterstock_777835606-1616609267419.jpg&h=500&w=500&q=90&m=contain'\n }\n};\n"],"file":"long-description.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/discipline-header/test/fixtures/long-description.js"],"names":["props","title","description","image"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBADF;AAELC,IAAAA,WAAW,EAAG;;;;;;;;;;;;;;;;oFAFT;AAmBLC,IAAAA,KAAK,EACH;AApBG;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Les nouveaux business',\n description: `La révolution numérique a tout accéléré : les communications, la récupération des données, \n la propagation de l’information et des innovations… On peut presque tout savoir instantanément : \n les bonnes pratiques d’une entreprise comme les mauvaises ; les goûts et les comportements de ses \n clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique \n a tout accéléré : les communications, la récupération des données,la propagation de l’information et des innovations… \n On peut presque tout savoir instantanément : les bonnes pratiques d’une entreprise comme les mauvaises ; \n les goûts et les comportements de ses clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique a tout accéléré : les communications, \n la récupération des données, la propagation de l’information et des innovations… On peut presque tout savoir instantanément : \n les bonnes pratiques d’une entreprise comme les mauvaises ; les goûts et les comportements de ses \n clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets. La révolution numérique \n a tout accéléré : les communications, la récupération des données, la propagation de l’information et des innovations… \n On peut presque tout savoir instantanément : les bonnes pratiques d’une entreprise comme les mauvaises ; \n les goûts et les comportements de ses clients… Pour ne pas rater le coche, il faut être au fait des tendances et des changements qui se \n profilent. C’est ce que propose cette discipline nourrie d’exemples concrets.`,\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/CoorpAcademy/content-digital-core/cockpit-digital-2016/default/shutterstock_777835606-1616609267419.jpg&h=500&w=500&q=90&m=contain'\n }\n};\n"],"file":"long-description.js"}
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .authorLink a {
17
- font-family: 'Open Sans';
17
+ font-family: 'Gilroy';
18
18
  font-weight: 600;
19
19
  text-decoration: none;
20
20
  font-size: 12px;
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .authorName {
43
- font-family: 'Open Sans';
43
+ font-family: 'Gilroy';
44
44
  font-size: 14px;
45
45
  font-weight: 600;
46
46
  color: dark;
@@ -17,5 +17,5 @@
17
17
  .baseText {
18
18
  text-transform: none;
19
19
  color: dark;
20
- font-family: 'Open Sans';
20
+ font-family: 'Gilroy';
21
21
  }
@@ -29,9 +29,9 @@ var _style = _interopRequireDefault(require("./style.css"));
29
29
 
30
30
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31
31
 
32
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
32
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
33
33
 
34
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
34
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
35
35
 
36
36
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
37
37
 
@@ -135,7 +135,7 @@ DragAndDrop.propTypes = process.env.NODE_ENV !== "production" ? {
135
135
  orLabel: _propTypes.default.string,
136
136
  onBack: _propTypes.default.func,
137
137
  accept: _propTypes.default.string,
138
- fields: _propTypes.default.arrayOf(_propTypes.default.shape(_extends({}, _inputText.default.propTypes, {
138
+ fields: _propTypes.default.arrayOf(_propTypes.default.shape(_extends(_extends({}, _inputText.default.propTypes), {}, {
139
139
  type: _propTypes.default.oneOf(['text'])
140
140
  }))),
141
141
  onDrop: _propTypes.default.func,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/drag-and-drop/index.js"],"names":["DragAndDrop","props","context","skin","primaryColor","state","title","message","warningMessage","mode","dragAndDropMessage","buttonTitle","backLabel","orLabel","accept","type","contentType","fields","onDrop","onDelete","onBack","handleBack","e","stopPropagation","preventDefault","loading","style","back","arrow","getRootProps","getInputProps","isDragActive","getView","disableFileInput","wrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","oneOf","isRequired","string","func","arrayOf","shape","InputText","actions","label","onClick"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEO,MAAMA,WAAW,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AAC7C,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;AACA,QAAME,YAAY,GAAG,oBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;AAEA,QAAM;AACJE,IAAAA,KADI;AAEJC,IAAAA,KAFI;AAGJC,IAAAA,OAHI;AAIJC,IAAAA,cAJI;AAKJC,IAAAA,IALI;AAMJC,IAAAA,kBANI;AAOJC,IAAAA,WAPI;AAQJC,IAAAA,SARI;AASJC,IAAAA,OATI;AAUJC,IAAAA,MAVI;AAWJC,IAAAA,IAAI,EAAEC,WAAW,GAAG,OAXhB;AAYJC,IAAAA,MAZI;AAaJC,IAAAA,MAbI;AAcJC,IAAAA,QAdI;AAeJC,IAAAA;AAfI,MAgBFnB,KAhBJ;AAkBA,QAAMoB,UAAU,GAAG,wBACjBC,CAAC,IAAI;AACHA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACAJ,IAAAA,MAAM,IAAIA,MAAM,CAACE,CAAD,CAAhB;AACD,GALgB,EAMjB,CAACF,MAAD,CANiB,CAAnB;AASA,QAAMK,OAAO,GAAGpB,KAAK,KAAK,SAA1B;AACA,sBACE,uDACE;AAAM,IAAA,OAAO,EAAEgB,UAAf;AAA2B,IAAA,SAAS,EAAEK,eAAMC;AAA5C,kBACE,6BAAC,6CAAD;AAAW,IAAA,KAAK,EAAE,EAAlB;AAAsB,IAAA,MAA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IAnBI;AAoBtBxB,EAAAA,QAAQ,EAAEoB,mBAAUI,IApBE;AAqBtBI,EAAAA,OAAO,EAAER,mBAAUK,OAAV,CACPL,mBAAUM,KAAV,CAAgB;AACd9B,IAAAA,IAAI,EAAEwB,mBAAUC,KAAV,CAAgB,CAAC,MAAD,EAAS,QAAT,EAAmB,QAAnB,CAAhB,CADQ;AAEdQ,IAAAA,KAAK,EAAET,mBAAUG,MAFH;AAGdO,IAAAA,OAAO,EAAEV,mBAAUI;AAHL,GAAhB,CADO;AArBa,CAAxB;eA8Be3C,W","sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport includes from 'lodash/fp/includes';\nimport Dropzone from 'react-dropzone';\nimport {NovaCompositionNavigationArrowLeft as ArrowLeft} from '@coorpacademy/nova-icons';\nimport Provider from '../../atom/provider';\nimport InputText from '../../atom/input-text';\nimport {Overlay} from './overlay';\nimport {UploadReport} from './upload-report';\nimport {PlaceHolder} from './placeholder';\nimport style from './style.css';\n\nexport const DragAndDrop = (props, context) => {\n const {skin} = context;\n const primaryColor = getOr('#00B0FF', 'common.primary', skin);\n\n const {\n state,\n title,\n message,\n warningMessage,\n mode,\n dragAndDropMessage,\n buttonTitle,\n backLabel,\n orLabel,\n accept,\n type: contentType = 'scorm',\n fields,\n onDrop,\n onDelete,\n onBack\n } = props;\n\n const handleBack = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onBack && onBack(e);\n },\n [onBack]\n );\n\n const loading = state === 'loading';\n return (\n <div>\n <span onClick={handleBack} className={style.back}>\n <ArrowLeft width={12} height={12} className={style.arrow} />\n {backLabel}\n </span>\n <Dropzone accept={accept} disabled={loading} onDrop={onDrop}>\n {({getRootProps, getInputProps, isDragActive}) => {\n const getView = () => {\n if (contentType !== 'scorm' || includes(state, ['success', 'error', 'ready'])) {\n return (\n <UploadReport\n state={state}\n message={message}\n warningMessage={warningMessage}\n fields={fields}\n type={contentType}\n onDelete={onDelete}\n mode={mode}\n orLabel={orLabel}\n onClick={onDrop}\n buttonTitle={buttonTitle}\n primaryColor={primaryColor}\n />\n );\n }\n return (\n <PlaceHolder\n title={title}\n buttonTitle={buttonTitle}\n uploadLabel={message}\n primaryColor={primaryColor}\n onClick={onDrop}\n />\n );\n };\n\n const disableFileInput = state === 'success';\n\n return (\n <div {...getRootProps()} className={style.wrapper}>\n <input {...getInputProps()} disabled={disableFileInput} />\n {getView()}\n {isDragActive || loading ? (\n <Overlay\n iconColor={primaryColor}\n description={dragAndDropMessage}\n isLoading={loading}\n />\n ) : null}\n </div>\n );\n }}\n </Dropzone>\n </div>\n );\n};\n\nDragAndDrop.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nDragAndDrop.propTypes = {\n state: PropTypes.oneOf(['default', 'ready', 'loading', 'success', 'error']).isRequired,\n mode: PropTypes.oneOf(['edit', 'upload']),\n title: PropTypes.string,\n type: PropTypes.string,\n message: PropTypes.string,\n warningMessage: PropTypes.string,\n dragAndDropMessage: PropTypes.string,\n buttonTitle: PropTypes.string,\n backLabel: PropTypes.string,\n orLabel: PropTypes.string,\n onBack: PropTypes.func,\n accept: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text'])\n })\n ),\n onDrop: PropTypes.func,\n onDelete: PropTypes.func,\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.oneOf(['edit', 'upload', 'delete']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n )\n};\n\nexport default DragAndDrop;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/drag-and-drop/index.js"],"names":["DragAndDrop","props","context","skin","primaryColor","state","title","message","warningMessage","mode","dragAndDropMessage","buttonTitle","backLabel","orLabel","accept","type","contentType","fields","onDrop","onDelete","onBack","handleBack","e","stopPropagation","preventDefault","loading","style","back","arrow","getRootProps","getInputProps","isDragActive","getView","disableFileInput","wrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","oneOf","isRequired","string","func","arrayOf","shape","InputText","actions","label","onClick"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEO,MAAMA,WAAW,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AAC7C,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;AACA,QAAME,YAAY,GAAG,oBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;AAEA,QAAM;AACJE,IAAAA,KADI;AAEJC,IAAAA,KAFI;AAGJC,IAAAA,OAHI;AAIJC,IAAAA,cAJI;AAKJC,IAAAA,IALI;AAMJC,IAAAA,kBANI;AAOJC,IAAAA,WAPI;AAQJC,IAAAA,SARI;AASJC,IAAAA,OATI;AAUJC,IAAAA,MAVI;AAWJC,IAAAA,IAAI,EAAEC,WAAW,GAAG,OAXhB;AAYJC,IAAAA,MAZI;AAaJC,IAAAA,MAbI;AAcJC,IAAAA,QAdI;AAeJC,IAAAA;AAfI,MAgBFnB,KAhBJ;AAkBA,QAAMoB,UAAU,GAAG,wBACjBC,CAAC,IAAI;AACHA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACAJ,IAAAA,MAAM,IAAIA,MAAM,CAACE,CAAD,CAAhB;AACD,GALgB,EAMjB,CAACF,MAAD,CANiB,CAAnB;AASA,QAAMK,OAAO,GAAGpB,KAAK,KAAK,SAA1B;AACA,sBACE,uDACE;AAAM,IAAA,OAAO,EAAEgB,UAAf;AAA2B,IAAA,SAAS,EAAEK,eAAMC;AAA5C,kBACE,6BAAC,6CAAD;AAAW,IAAA,KAAK,EAAE,EAAlB;AAAsB,IAAA,MAAM,EAAE,EAA9B;AAAkC,IAAA,SAAS,EAAED,eAAME;AAAnD,IADF,EAEGhB,SAFH,CADF,eAKE,6BAAC,sBAAD;AAAU,IAAA,MAAM,E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V,CAAgB;AACd9B,IAAAA,IAAI,EAAEwB,mBAAUC,KAAV,CAAgB,CAAC,MAAD,EAAS,QAAT,EAAmB,QAAnB,CAAhB,CADQ;AAEdQ,IAAAA,KAAK,EAAET,mBAAUG,MAFH;AAGdO,IAAAA,OAAO,EAAEV,mBAAUI;AAHL,GAAhB,CADO;AArBa,CAAxB;eA8Be3C,W","sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport includes from 'lodash/fp/includes';\nimport Dropzone from 'react-dropzone';\nimport {NovaCompositionNavigationArrowLeft as ArrowLeft} from '@coorpacademy/nova-icons';\nimport Provider from '../../atom/provider';\nimport InputText from '../../atom/input-text';\nimport {Overlay} from './overlay';\nimport {UploadReport} from './upload-report';\nimport {PlaceHolder} from './placeholder';\nimport style from './style.css';\n\nexport const DragAndDrop = (props, context) => {\n const {skin} = context;\n const primaryColor = getOr('#00B0FF', 'common.primary', skin);\n\n const {\n state,\n title,\n message,\n warningMessage,\n mode,\n dragAndDropMessage,\n buttonTitle,\n backLabel,\n orLabel,\n accept,\n type: contentType = 'scorm',\n fields,\n onDrop,\n onDelete,\n onBack\n } = props;\n\n const handleBack = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onBack && onBack(e);\n },\n [onBack]\n );\n\n const loading = state === 'loading';\n return (\n <div>\n <span onClick={handleBack} className={style.back}>\n <ArrowLeft width={12} height={12} className={style.arrow} />\n {backLabel}\n </span>\n <Dropzone accept={accept} disabled={loading} onDrop={onDrop}>\n {({getRootProps, getInputProps, isDragActive}) => {\n const getView = () => {\n if (contentType !== 'scorm' || includes(state, ['success', 'error', 'ready'])) {\n return (\n <UploadReport\n state={state}\n message={message}\n warningMessage={warningMessage}\n fields={fields}\n type={contentType}\n onDelete={onDelete}\n mode={mode}\n orLabel={orLabel}\n onClick={onDrop}\n buttonTitle={buttonTitle}\n primaryColor={primaryColor}\n />\n );\n }\n return (\n <PlaceHolder\n title={title}\n buttonTitle={buttonTitle}\n uploadLabel={message}\n primaryColor={primaryColor}\n onClick={onDrop}\n />\n );\n };\n\n const disableFileInput = state === 'success';\n\n return (\n <div {...getRootProps()} className={style.wrapper}>\n <input {...getInputProps()} disabled={disableFileInput} />\n {getView()}\n {isDragActive || loading ? (\n <Overlay\n iconColor={primaryColor}\n description={dragAndDropMessage}\n isLoading={loading}\n />\n ) : null}\n </div>\n );\n }}\n </Dropzone>\n </div>\n );\n};\n\nDragAndDrop.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nDragAndDrop.propTypes = {\n state: PropTypes.oneOf(['default', 'ready', 'loading', 'success', 'error']).isRequired,\n mode: PropTypes.oneOf(['edit', 'upload']),\n title: PropTypes.string,\n type: PropTypes.string,\n message: PropTypes.string,\n warningMessage: PropTypes.string,\n dragAndDropMessage: PropTypes.string,\n buttonTitle: PropTypes.string,\n backLabel: PropTypes.string,\n orLabel: PropTypes.string,\n onBack: PropTypes.func,\n accept: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text'])\n })\n ),\n onDrop: PropTypes.func,\n onDelete: PropTypes.func,\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n type: PropTypes.oneOf(['edit', 'upload', 'delete']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n )\n};\n\nexport default DragAndDrop;\n"],"file":"index.js"}
@@ -18,7 +18,7 @@
18
18
  justify-content: center;
19
19
  text-transform: none;
20
20
  color: dark;
21
- font-family: 'Open Sans';
21
+ font-family: 'Gilroy';
22
22
  font-size: 16px;
23
23
  font-weight: bold;
24
24
  }
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .back {
20
- font-family: 'Open Sans';
20
+ font-family: 'Gilroy';
21
21
  font-size: 16px;
22
22
  color: dark;
23
23
  cursor: pointer;
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _default2.default.props, {
13
+ props: _extends(_extends({}, _default2.default.props), {}, {
14
14
  state: 'error',
15
15
  buttonTitle: 'Try Again',
16
16
  message: "Sorry we couldn't upload your file."
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/error.js"],"names":["props","Default","state","buttonTitle","message"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,OAFJ;AAGHC,IAAAA,WAAW,EAAE,WAHV;AAIHC,IAAAA,OAAO,EAAE;AAJN;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'error',\n buttonTitle: 'Try Again',\n message: \"Sorry we couldn't upload your file.\"\n }\n};\n"],"file":"error.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/error.js"],"names":["props","Default","state","buttonTitle","message"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,OAFJ;AAGHC,IAAAA,WAAW,EAAE,WAHV;AAIHC,IAAAA,OAAO,EAAE;AAJN;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'error',\n buttonTitle: 'Try Again',\n message: \"Sorry we couldn't upload your file.\"\n }\n};\n"],"file":"error.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _default2.default.props, {
13
+ props: _extends(_extends({}, _default2.default.props), {}, {
14
14
  state: 'loading'
15
15
  })
16
16
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/loading.js"],"names":["props","Default","state"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE;AAFJ;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'loading'\n }\n};\n"],"file":"loading.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/loading.js"],"names":["props","Default","state"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE;AAFJ;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'loading'\n }\n};\n"],"file":"loading.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _ready.default.props, {
13
+ props: _extends(_extends({}, _ready.default.props), {}, {
14
14
  type: 'podcast',
15
15
  warningMessage: 'We can’t verify this url. Please check its authenticity before saving.'
16
16
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/ready-invalid.js"],"names":["props","Default","type","warningMessage"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,eAAQD,KADR;AAEHE,IAAAA,IAAI,EAAE,SAFH;AAGHC,IAAAA,cAAc,EAAE;AAHb;AADQ,C","sourcesContent":["import Default from './ready';\n\nexport default {\n props: {\n ...Default.props,\n type: 'podcast',\n warningMessage: 'We can’t verify this url. Please check its authenticity before saving.'\n }\n};\n"],"file":"ready-invalid.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/ready-invalid.js"],"names":["props","Default","type","warningMessage"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,eAAQD,KADR;AAEHE,IAAAA,IAAI,EAAE,SAFH;AAGHC,IAAAA,cAAc,EAAE;AAHb;AADQ,C","sourcesContent":["import Default from './ready';\n\nexport default {\n props: {\n ...Default.props,\n type: 'podcast',\n warningMessage: 'We can’t verify this url. Please check its authenticity before saving.'\n }\n};\n"],"file":"ready-invalid.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _default2.default.props, {
13
+ props: _extends(_extends({}, _default2.default.props), {}, {
14
14
  state: 'ready',
15
15
  message: 'Drag & Drop your file here',
16
16
  type: 'scorm',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/ready.js"],"names":["props","Default","state","message","type","fields","title","value","required","placeholder","description","onChange","onDelete","console","log","mode"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,OAFJ;AAGHC,IAAAA,OAAO,EAAE,4BAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEC,MAAAA,QAAQ,EAAE,IAHZ;AAIEJ,MAAAA,IAAI,EAAE,MAJR;AAKEK,MAAAA,WAAW,EAAE,UALf;AAMEC,MAAAA,WAAW,EAAE,6BANf;AAOEC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAPpB,KADM,CALL;AAgBHC,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ,CAhBb;AAiBHC,IAAAA,IAAI,EAAE;AAjBH;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'ready',\n message: 'Drag & Drop your file here',\n type: 'scorm',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n required: true,\n type: 'text',\n placeholder: 'Your url',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n }\n ],\n onDelete: () => console.log('Delete'),\n mode: 'edit'\n }\n};\n"],"file":"ready.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/ready.js"],"names":["props","Default","state","message","type","fields","title","value","required","placeholder","description","onChange","onDelete","console","log","mode"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,OAFJ;AAGHC,IAAAA,OAAO,EAAE,4BAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEC,MAAAA,QAAQ,EAAE,IAHZ;AAIEJ,MAAAA,IAAI,EAAE,MAJR;AAKEK,MAAAA,WAAW,EAAE,UALf;AAMEC,MAAAA,WAAW,EAAE,6BANf;AAOEC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAPpB,KADM,CALL;AAgBHC,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ,CAhBb;AAiBHC,IAAAA,IAAI,EAAE;AAjBH;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'ready',\n message: 'Drag & Drop your file here',\n type: 'scorm',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n required: true,\n type: 'text',\n placeholder: 'Your url',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n }\n ],\n onDelete: () => console.log('Delete'),\n mode: 'edit'\n }\n};\n"],"file":"ready.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _default2.default.props, {
13
+ props: _extends(_extends({}, _default2.default.props), {}, {
14
14
  state: 'success',
15
15
  message: 'Your file is successfully imported!',
16
16
  type: 'video',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/success-video.js"],"names":["props","Default","state","message","type","fields","title","value","onDelete","console","log"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,SAFJ;AAGHC,IAAAA,OAAO,EAAE,qCAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEH,MAAAA,IAAI,EAAE;AAHR,KADM,CALL;AAYHI,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ;AAZb;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'success',\n message: 'Your file is successfully imported!',\n type: 'video',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n type: 'text'\n }\n ],\n onDelete: () => console.log('Delete')\n }\n};\n"],"file":"success-video.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/success-video.js"],"names":["props","Default","state","message","type","fields","title","value","onDelete","console","log"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,SAFJ;AAGHC,IAAAA,OAAO,EAAE,qCAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEH,MAAAA,IAAI,EAAE;AAHR,KADM,CALL;AAYHI,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ;AAZb;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'success',\n message: 'Your file is successfully imported!',\n type: 'video',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n type: 'text'\n }\n ],\n onDelete: () => console.log('Delete')\n }\n};\n"],"file":"success-video.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
11
11
 
12
12
  var _default = {
13
- props: _extends({}, _default2.default.props, {
13
+ props: _extends(_extends({}, _default2.default.props), {}, {
14
14
  state: 'success',
15
15
  message: 'Your file is successfully imported!',
16
16
  type: 'scorm',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/success.js"],"names":["props","Default","state","message","type","fields","title","value","onDelete","console","log","mode"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,SAFJ;AAGHC,IAAAA,OAAO,EAAE,qCAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEH,MAAAA,IAAI,EAAE;AAHR,KADM,CALL;AAYHI,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ,CAZb;AAaHC,IAAAA,IAAI,EAAE;AAbH;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'success',\n message: 'Your file is successfully imported!',\n type: 'scorm',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n type: 'text'\n }\n ],\n onDelete: () => console.log('Delete'),\n mode: 'edit'\n }\n};\n"],"file":"success.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop/test/fixtures/success.js"],"names":["props","Default","state","message","type","fields","title","value","onDelete","console","log","mode"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,KAAK,EAAE,SAFJ;AAGHC,IAAAA,OAAO,EAAE,qCAHN;AAIHC,IAAAA,IAAI,EAAE,OAJH;AAKHC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,KADT;AAEEC,MAAAA,KAAK,EAAE,8EAFT;AAGEH,MAAAA,IAAI,EAAE;AAHR,KADM,CALL;AAYHI,IAAAA,QAAQ,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ,CAZb;AAaHC,IAAAA,IAAI,EAAE;AAbH;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n state: 'success',\n message: 'Your file is successfully imported!',\n type: 'scorm',\n fields: [\n {\n title: 'Url',\n value: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg',\n type: 'text'\n }\n ],\n onDelete: () => console.log('Delete'),\n mode: 'edit'\n }\n};\n"],"file":"success.js"}
@@ -37,7 +37,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
37
37
  stopPropagation: () => t.pass()
38
38
  };
39
39
 
40
- const props = _extends({}, _ready.default.props, {
40
+ const props = _extends(_extends({}, _ready.default.props), {}, {
41
41
  onBack: () => t.pass()
42
42
  });
43
43
 
@@ -55,7 +55,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
55
55
  stopPropagation: () => t.pass()
56
56
  };
57
57
 
58
- const props = _extends({}, _ready.default.props, {
58
+ const props = _extends(_extends({}, _ready.default.props), {}, {
59
59
  onDelete: () => t.pass()
60
60
  });
61
61
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/drag-and-drop/test/on-click.js"],"names":["adapter","Adapter","t","plan","clickEvent","preventDefault","pass","stopPropagation","props","readyFixture","onBack","backStyle","style","back","wrapper","wrappingComponent","is","find","exists","simulate","onDelete","deleteButtonStyle","uploadReportStyle","trashIcon"],"mappings":";;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,iCAAL,EAAwCC,CAAC,IAAI;AAC3CA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;AAEA,QAAMC,UAAU,GAAG;AAACC,IAAAA,cAAc,EAAE,MAAMH,CAAC,CAACI,IAAF,EAAvB;AA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H,MAAhC,EAAL,EAA+C,IAA/C;AAEAJ,EAAAA,OAAO,CAACG,IAAR,CAAaI,iBAAb,EAAgCF,QAAhC,CAAyC,OAAzC,EAAkDf,UAAlD;AACD,CAdD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {replace} from 'lodash/fp';\nimport {mount, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport {wrappingComponent} from '../../../test/helpers/render-component';\nimport style from '../style.css'; // eslint-disable-line css-modules/no-unused-class\nimport uploadReportStyle from '../upload-report.css'; // eslint-disable-line css-modules/no-unused-class\nimport DragDrop from '..';\nimport readyFixture from './fixtures/ready';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call the onBack function', t => {\n t.plan(4);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {\n ...readyFixture.props,\n onBack: () => t.pass()\n };\n const backStyle = `.${replace(' ', '.', style.back)}`;\n const wrapper = mount(<DragDrop {...props} />, {wrappingComponent});\n\n t.is(wrapper.find(backStyle).exists(), true);\n\n wrapper.find(backStyle).simulate('click', clickEvent);\n});\n\ntest('should call the onDelete function', t => {\n t.plan(7);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {\n ...readyFixture.props,\n onDelete: () => t.pass()\n };\n const deleteButtonStyle = `.${replace(' ', '.', uploadReportStyle.trashIcon)}`;\n const wrapper = mount(<DragDrop {...props} />, {wrappingComponent});\n\n t.is(wrapper.find(deleteButtonStyle).exists(), true);\n\n wrapper.find(deleteButtonStyle).simulate('click', clickEvent);\n});\n"],"file":"on-click.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/drag-and-drop/test/on-click.js"],"names":["adapter","Adapter","t","plan","clickEvent","preventDefault","pass","stopPropagation","props","readyFixture","onBack","backStyle","style","back","wrapper","wrappingComponent","is","find","exists","simulate","onDelete","deleteButtonStyle","uploadReportStyle","trashIcon"],"mappings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AAF;AAFP,IAAX;;AAIA,QAAMe,iBAAiB,GAAI,IAAG,uBAAQ,GAAR,EAAa,GAAb,EAAkBC,sBAAkBC,SAApC,CAA+C,EAA7E;AACA,QAAMT,OAAO,GAAG,iCAAM,6BAAC,SAAD,EAAcN,KAAd,CAAN,EAA+B;AAACO,IAAAA,iBAAiB,EAAjBA;AAAD,GAA/B,CAAhB;AAEAb,EAAAA,CAAC,CAACc,EAAF,CAAKF,OAAO,CAACG,IAAR,CAAaI,iBAAb,EAAgCH,MAAhC,EAAL,EAA+C,IAA/C;AAEAJ,EAAAA,OAAO,CAACG,IAAR,CAAaI,iBAAb,EAAgCF,QAAhC,CAAyC,OAAzC,EAAkDf,UAAlD;AACD,CAdD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {replace} from 'lodash/fp';\nimport {mount, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport {wrappingComponent} from '../../../test/helpers/render-component';\nimport style from '../style.css'; // eslint-disable-line css-modules/no-unused-class\nimport uploadReportStyle from '../upload-report.css'; // eslint-disable-line css-modules/no-unused-class\nimport DragDrop from '..';\nimport readyFixture from './fixtures/ready';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call the onBack function', t => {\n t.plan(4);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {\n ...readyFixture.props,\n onBack: () => t.pass()\n };\n const backStyle = `.${replace(' ', '.', style.back)}`;\n const wrapper = mount(<DragDrop {...props} />, {wrappingComponent});\n\n t.is(wrapper.find(backStyle).exists(), true);\n\n wrapper.find(backStyle).simulate('click', clickEvent);\n});\n\ntest('should call the onDelete function', t => {\n t.plan(7);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {\n ...readyFixture.props,\n onDelete: () => t.pass()\n };\n const deleteButtonStyle = `.${replace(' ', '.', uploadReportStyle.trashIcon)}`;\n const wrapper = mount(<DragDrop {...props} />, {wrappingComponent});\n\n t.is(wrapper.find(deleteButtonStyle).exists(), true);\n\n wrapper.find(deleteButtonStyle).simulate('click', clickEvent);\n});\n"],"file":"on-click.js"}
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .or {
54
- font-family: 'Open Sans';
54
+ font-family: 'Gilroy';
55
55
  color: #797979;
56
56
  }
57
57
 
@@ -75,7 +75,7 @@
75
75
 
76
76
  .fileName {
77
77
  margin-left: 15px;
78
- font-family: 'Open Sans';
78
+ font-family: 'Gilroy';
79
79
  font-size: 16px;
80
80
  font-weight: bold;
81
81
  color: dark;
@@ -160,7 +160,7 @@
160
160
  }
161
161
 
162
162
  .message {
163
- font-family: 'Open Sans';
163
+ font-family: 'Gilroy';
164
164
  font-size: 16px;
165
165
  font-weight: bold;
166
166
  color: dark;
@@ -205,7 +205,7 @@
205
205
  display: block;
206
206
  word-wrap: break-word;
207
207
  padding: 3px 10px 5px;
208
- font-family: "Open Sans";
208
+ font-family: "Gilroy";
209
209
  font-size: 12px;
210
210
  font-weight: bold;
211
211
  }
@@ -35,9 +35,9 @@ var _button = _interopRequireDefault(require("../../atom/button"));
35
35
 
36
36
  var _uploadReport = _interopRequireDefault(require("./upload-report.css"));
37
37
 
38
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
38
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
39
39
 
40
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
40
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
41
41
 
42
42
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
43
43
 
@@ -170,7 +170,7 @@ UploadReport.propTypes = process.env.NODE_ENV !== "production" ? {
170
170
  warningMessage: _propTypes.default.string,
171
171
  orLabel: _propTypes.default.string,
172
172
  type: _propTypes.default.string,
173
- fields: _propTypes.default.arrayOf(_propTypes.default.shape(_extends({}, _inputText.default.propTypes, {
173
+ fields: _propTypes.default.arrayOf(_propTypes.default.shape(_extends(_extends({}, _inputText.default.propTypes), {}, {
174
174
  type: _propTypes.default.oneOf(['text'])
175
175
  }))),
176
176
  mode: _propTypes.default.oneOf(['edit', 'upload']),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/drag-and-drop/upload-report.js"],"names":["UploadReport","state","message","warningMessage","type","contentType","fields","mode","orLabel","buttonTitle","primaryColor","onDelete","handleDelete","e","stopPropagation","preventDefault","stopPropagationHandler","SuccessMessage","style","emoticon","ErrorMessage","selectButton","backgroundColor","showMessage","fileName","fileView","fileWrapper","validateIcon","warning","showToolTip","warningIcon","emptyFileWrapper","IconType","EXTERNAL_CONTENT_ICONS","icon","iconColor","color","buildField","field","index","deleteView","actionIcon","trashIcon","fieldsList","convert","cap","reportingContainer","reportHeader","iconContainer","oval","iconHeader","reportContainer","or","drop","propTypes","PropTypes","string","isRequired","arrayOf","shape","InputText","oneOf","func"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAKA;;AAEA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEO,MAAMA,YAAY,GAAG,CAAC;AAC3BC,EAAAA,KAD2B;AAE3BC,EAAAA,OAF2B;AAG3BC,EAAAA,cAH2B;AAI3BC,EAAAA,IAAI,EAAEC,WAJqB;AAK3BC,EAAAA,MAL2B;AAM3BC,EAAAA,IAAI,GAAG,QANoB;AAO3BC,EAAAA,OAP2B;AAQ3BC,EAAAA,WAR2B;AAS3BC,EAAAA,YAT2B;AAU3BC,EAAAA;AAV2B,CAAD,KAWtB;AACJ,QAAMC,YAAY,GAAG,wBACnBC,CAAC,IAAI;AACHA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACAJ,IAAAA,QAAQ,IAAIA,QAAQ,CAACE,CAAD,CAApB;AACD,GALkB,EAMnB,CAACF,QAAD,CANmB,CAArB;AASA,QAAMK,sBAAsB,GAAG,wBAAYH,CAAC,IAAI;AAC9CA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACD,GAH8B,EAG5B,EAH4B,CAA/B;;AAKA,QAAME,cAAc,GAAG,mBACrB,uDACE;AAAM,IAAA,SAAS,EAAEC,sBAAMC;AAAvB,oBADF,eAEE;AAAG,IAAA,SAAS,EAAED,sBAAMhB;AAApB,KAA8BA,OAA9B,CAFF,CADF;;AAMA,QAAMkB,YAAY,GAAG,mBACnB,uDACE,uDACE;AAAM,IAAA,S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UC,MAbA;AAcvB9C,EAAAA,YAAY,EAAE6C,mBAAUC,MAdD;AAevB7C,EAAAA,QAAQ,EAAE4C,mBAAUO;AAfG,CAAzB","sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyValidate as Validated,\n NovaLineContentEditionBin as TrashIcon,\n NovaCompositionCoorpacademyWarn as WarnIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport {pipe, split, last, map, head, getOr, isEmpty, includes} from 'lodash/fp';\nimport {EXTERNAL_CONTENT_ICONS} from '../../util/external-content';\nimport InputText from '../../atom/input-text';\n\nimport Button from '../../atom/button';\nimport style from './upload-report.css';\n\nexport const UploadReport = ({\n state,\n message,\n warningMessage,\n type: contentType,\n fields,\n mode = 'upload',\n orLabel,\n buttonTitle,\n primaryColor,\n onDelete\n}) => {\n const handleDelete = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onDelete && onDelete(e);\n },\n [onDelete]\n );\n\n const stopPropagationHandler = useCallback(e => {\n e.stopPropagation();\n e.preventDefault();\n }, []);\n\n const SuccessMessage = () => (\n <div>\n <span className={style.emoticon}>🎉</span>\n <p className={style.message}>{message}</p>\n </div>\n );\n const ErrorMessage = () => (\n <div>\n <div>\n <span className={style.emoticon}>🥺</span>\n <p className={style.message}>{message}</p>\n </div>\n <div>\n <Button\n data-name=\"cta\"\n type=\"link\"\n submitValue={buttonTitle}\n className={style.selectButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n </div>\n );\n const showMessage = includes(state, ['success', 'error']);\n\n const fileName = pipe(head, getOr('', 'value'), split('/'), last)(fields);\n const fileView = fileName ? (\n <div className={style.fileWrapper}>\n <div className={style.fileName} title={fileName}>\n {fileName}\n </div>\n {isEmpty(warningMessage) ? (\n <Validated className={style.validateIcon} />\n ) : (\n <div className={style.warning}>\n <div className={style.showToolTip}>\n <span>{warningMessage}</span>\n </div>\n <div className={style.warningIcon}>\n <WarnIcon width={11} height={11} />\n </div>\n </div>\n )}\n </div>\n ) : (\n <div className={style.emptyFileWrapper} />\n );\n const IconType = EXTERNAL_CONTENT_ICONS[contentType].icon;\n const iconColor = EXTERNAL_CONTENT_ICONS[contentType].color;\n const buildField = (field, index) => <InputText {...field} key={index} theme={'cockpit'} />;\n const deleteView = onDelete ? (\n <div onClick={handleDelete} className={classnames(style.actionIcon, style.trashIcon)}>\n <TrashIcon width={20} height={20} />\n </div>\n ) : null;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n return (\n <div className={style.reportingContainer}>\n <div className={style.reportHeader} onClick={stopPropagationHandler}>\n <div className={style.iconContainer} style={{backgroundColor: iconColor}}>\n <div className={style.oval}>\n <IconType className={style.iconHeader} color={iconColor} />\n </div>\n </div>\n {fileView}\n {deleteView}\n </div>\n <div className={style.reportContainer} onClick={stopPropagationHandler}>\n {state === 'success' ? <SuccessMessage /> : null}\n {state === 'error' ? <ErrorMessage /> : null}\n {mode === 'edit' && !showMessage ? <div>{fieldsList}</div> : null}\n {mode === 'edit' && !showMessage ? <span className={style.or}>{orLabel}</span> : null}\n </div>\n {!showMessage ? (\n <div className={style.drop}>\n <p className={style.message}>{message}</p>\n <Button\n data-name=\"cta\"\n type=\"link\"\n submitValue={buttonTitle}\n className={style.selectButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nexport default UploadReport;\n\nUploadReport.propTypes = {\n state: PropTypes.string.isRequired,\n message: PropTypes.string.isRequired,\n warningMessage: PropTypes.string,\n orLabel: PropTypes.string,\n type: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text'])\n })\n ),\n mode: PropTypes.oneOf(['edit', 'upload']),\n buttonTitle: PropTypes.string,\n primaryColor: PropTypes.string,\n onDelete: PropTypes.func\n};\n"],"file":"upload-report.js"}
1
+ {"version":3,"sources":["../../../src/molecule/drag-and-drop/upload-report.js"],"names":["UploadReport","state","message","warningMessage","type","contentType","fields","mode","orLabel","buttonTitle","primaryColor","onDelete","handleDelete","e","stopPropagation","preventDefault","stopPropagationHandler","SuccessMessage","style","emoticon","ErrorMessage","selectButton","backgroundColor","showMessage","fileName","fileView","fileWrapper","validateIcon","warning","showToolTip","warningIcon","emptyFileWrapper","IconType","EXTERNAL_CONTENT_ICONS","icon","iconColor","color","buildField","field","index","deleteView","actionIcon","trashIcon","fieldsList","convert","cap","reportingContainer","reportHeader","iconContainer","oval","iconHeader","reportContainer","or","drop","propTypes","PropTypes","string","isRequired","arrayOf","shape","InputText","oneOf","func"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAKA;;AAEA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEO,MAAMA,YAAY,GAAG,CAAC;AAC3BC,EAAAA,KAD2B;AAE3BC,EAAAA,OAF2B;AAG3BC,EAAAA,cAH2B;AAI3BC,EAAAA,IAAI,EAAEC,WAJqB;AAK3BC,EAAAA,MAL2B;AAM3BC,EAAAA,IAAI,GAAG,QANoB;AAO3BC,EAAAA,OAP2B;AAQ3BC,EAAAA,WAR2B;AAS3BC,EAAAA,YAT2B;AAU3BC,EAAAA;AAV2B,CAAD,KAWtB;AACJ,QAAMC,YAAY,GAAG,wBACnBC,CAAC,IAAI;AACHA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACAJ,IAAAA,QAAQ,IAAIA,QAAQ,CAACE,CAAD,CAApB;AACD,GALkB,EAMnB,CAACF,QAAD,CANmB,CAArB;AASA,QAAMK,sBAAsB,GAAG,wBAAYH,CAAC,IAAI;AAC9CA,IAAAA,CAAC,CAACC,eAAF;AACAD,IAAAA,CAAC,CAACE,cAAF;AACD,GAH8B,EAG5B,EAH4B,CAA/B;;AAKA,QAAME,cAAc,GAAG,mBACrB,uDACE;AAAM,IAAA,SAAS,EAAEC,sBAAMC;AAAvB,oBADF,eAEE;AAAG,IAAA,SAAS,EAAED,sB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AEgD,mBAAUM,KAAV,CAAgB,CAAC,MAAD,EAAS,QAAT,CAAhB,CAZiB;AAavBpD,EAAAA,WAAW,EAAE8C,mBAAUC,MAbA;AAcvB9C,EAAAA,YAAY,EAAE6C,mBAAUC,MAdD;AAevB7C,EAAAA,QAAQ,EAAE4C,mBAAUO;AAfG,CAAzB","sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyValidate as Validated,\n NovaLineContentEditionBin as TrashIcon,\n NovaCompositionCoorpacademyWarn as WarnIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport {pipe, split, last, map, head, getOr, isEmpty, includes} from 'lodash/fp';\nimport {EXTERNAL_CONTENT_ICONS} from '../../util/external-content';\nimport InputText from '../../atom/input-text';\n\nimport Button from '../../atom/button';\nimport style from './upload-report.css';\n\nexport const UploadReport = ({\n state,\n message,\n warningMessage,\n type: contentType,\n fields,\n mode = 'upload',\n orLabel,\n buttonTitle,\n primaryColor,\n onDelete\n}) => {\n const handleDelete = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n onDelete && onDelete(e);\n },\n [onDelete]\n );\n\n const stopPropagationHandler = useCallback(e => {\n e.stopPropagation();\n e.preventDefault();\n }, []);\n\n const SuccessMessage = () => (\n <div>\n <span className={style.emoticon}>🎉</span>\n <p className={style.message}>{message}</p>\n </div>\n );\n const ErrorMessage = () => (\n <div>\n <div>\n <span className={style.emoticon}>🥺</span>\n <p className={style.message}>{message}</p>\n </div>\n <div>\n <Button\n data-name=\"cta\"\n type=\"link\"\n submitValue={buttonTitle}\n className={style.selectButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n </div>\n );\n const showMessage = includes(state, ['success', 'error']);\n\n const fileName = pipe(head, getOr('', 'value'), split('/'), last)(fields);\n const fileView = fileName ? (\n <div className={style.fileWrapper}>\n <div className={style.fileName} title={fileName}>\n {fileName}\n </div>\n {isEmpty(warningMessage) ? (\n <Validated className={style.validateIcon} />\n ) : (\n <div className={style.warning}>\n <div className={style.showToolTip}>\n <span>{warningMessage}</span>\n </div>\n <div className={style.warningIcon}>\n <WarnIcon width={11} height={11} />\n </div>\n </div>\n )}\n </div>\n ) : (\n <div className={style.emptyFileWrapper} />\n );\n const IconType = EXTERNAL_CONTENT_ICONS[contentType].icon;\n const iconColor = EXTERNAL_CONTENT_ICONS[contentType].color;\n const buildField = (field, index) => <InputText {...field} key={index} theme={'cockpit'} />;\n const deleteView = onDelete ? (\n <div onClick={handleDelete} className={classnames(style.actionIcon, style.trashIcon)}>\n <TrashIcon width={20} height={20} />\n </div>\n ) : null;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n return (\n <div className={style.reportingContainer}>\n <div className={style.reportHeader} onClick={stopPropagationHandler}>\n <div className={style.iconContainer} style={{backgroundColor: iconColor}}>\n <div className={style.oval}>\n <IconType className={style.iconHeader} color={iconColor} />\n </div>\n </div>\n {fileView}\n {deleteView}\n </div>\n <div className={style.reportContainer} onClick={stopPropagationHandler}>\n {state === 'success' ? <SuccessMessage /> : null}\n {state === 'error' ? <ErrorMessage /> : null}\n {mode === 'edit' && !showMessage ? <div>{fieldsList}</div> : null}\n {mode === 'edit' && !showMessage ? <span className={style.or}>{orLabel}</span> : null}\n </div>\n {!showMessage ? (\n <div className={style.drop}>\n <p className={style.message}>{message}</p>\n <Button\n data-name=\"cta\"\n type=\"link\"\n submitValue={buttonTitle}\n className={style.selectButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nexport default UploadReport;\n\nUploadReport.propTypes = {\n state: PropTypes.string.isRequired,\n message: PropTypes.string.isRequired,\n warningMessage: PropTypes.string,\n orLabel: PropTypes.string,\n type: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text'])\n })\n ),\n mode: PropTypes.oneOf(['edit', 'upload']),\n buttonTitle: PropTypes.string,\n primaryColor: PropTypes.string,\n onDelete: PropTypes.func\n};\n"],"file":"upload-report.js"}
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .title {
45
- font-family: 'Open Sans';
45
+ font-family: 'Gilroy';
46
46
  font-size: 17px;
47
47
  font-weight: bold;
48
48
  color: black;
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .description {
53
- font-family: 'Open Sans';
53
+ font-family: 'Gilroy';
54
54
  font-size: 14px;
55
55
  color: dark;
56
56
  padding: 0 16px 0 16px;
@@ -21,9 +21,9 @@ var _resourcePlayer = _interopRequireWildcard(require("../resource-player"));
21
21
 
22
22
  var _style2 = _interopRequireDefault(require("./style.css"));
23
23
 
24
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
25
25
 
26
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
27
 
28
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29
29
 
@@ -37,7 +37,7 @@ const Feedback = (props, context) => {
37
37
  description
38
38
  } = props;
39
39
 
40
- const resource = media && media.type && _extends({}, media, (0, _pipe2.default)((0, _get2.default)('src.0'), (0, _extend2.default)({
40
+ const resource = media && media.type && _extends(_extends({}, media), (0, _pipe2.default)((0, _get2.default)('src.0'), (0, _extend2.default)({
41
41
  description: mediaDescription
42
42
  }))(media));
43
43
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/feedback/index.js"],"names":["Feedback","props","context","media","mediaDescription","title","description","resource","type","style","feedback","innerHTML","__html","descWrapper","resourcePlayer","propTypes","PropTypes","string","shape","oneOf","TYPE_IMAGE","TYPE_PDF","TYPE_VIDEO","TYPE_AUDIO","src","array"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AAEA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AACnC,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,gBAAR;AAA0BC,IAAAA,KAA1B;AAAiCC,IAAAA;AAAjC,MAAgDL,KAAtD;;AACA,QAAMM,QAAQ,GAAGJ,KAAK,IACpBA,KAAK,CAACK,IADS,iBAEVL,KAFU,EAGV,oBAAK,mBAAI,OAAJ,CAAL,EAAmB,sBAAO;AAACG,IAAAA,WAAW,EAAEF;AAAd,GAAP,CAAnB,EAA4D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AErBC,IAAAA,GAAG,EAAER,mBAAUS;AAFM,GAAhB,CAHY;AAOnBrB,EAAAA,gBAAgB,EAAEY,mBAAUC;AAPT,CAArB;eAUejB,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {pipe, get, extend} from 'lodash/fp';\nimport classnames from 'classnames';\n\nimport {innerHTML} from '../../atom/label/style.css';\nimport ResourcePlayer, {TYPE_IMAGE, TYPE_VIDEO, TYPE_PDF, TYPE_AUDIO} from '../resource-player';\nimport style from './style.css';\n\nconst Feedback = (props, context) => {\n const {media, mediaDescription, title, description} = props;\n const resource = media &&\n media.type && {\n ...media,\n ...pipe(get('src.0'), extend({description: mediaDescription}))(media)\n };\n\n return (\n (resource || title || description ? (\n <div className={style.feedback} data-name=\"feedback\">\n <div\n className={classnames(style.title, innerHTML)}\n data-name=\"title\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.descWrapper}>\n <div\n className={classnames(style.description, innerHTML)}\n data-name=\"description\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n {resource ? (\n <div>\n <ResourcePlayer className={style.resourcePlayer} resource={resource} />\n <div\n data-name=\"mediaDescription\"\n className={classnames(style.mediaDescription, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: mediaDescription}}\n />\n </div>\n ) : null}\n </div>\n </div>\n ) : null) || ''\n );\n};\n\nFeedback.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n media: PropTypes.shape({\n type: PropTypes.oneOf([TYPE_IMAGE, TYPE_PDF, TYPE_VIDEO, TYPE_AUDIO]),\n src: PropTypes.array\n }),\n mediaDescription: PropTypes.string\n};\n\nexport default Feedback;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/feedback/index.js"],"names":["Feedback","props","context","media","mediaDescription","title","description","resource","type","style","feedback","innerHTML","__html","descWrapper","resourcePlayer","propTypes","PropTypes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B,EAAmCO,gBAAnC,CAFb,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAER;AAAT;AAJ3B,IAFF,CADO,GAUL,IAjBN,CAPF,CADD,GA4BG,IA5BJ,KA4Ba,EA7Bf;AA+BD,CAvCD;;AAyCAJ,QAAQ,CAACe,SAAT,2CAAqB;AACnBV,EAAAA,KAAK,EAAEW,mBAAUC,MADE;AAEnBX,EAAAA,WAAW,EAAEU,mBAAUC,MAFJ;AAGnBd,EAAAA,KAAK,EAAEa,mBAAUE,KAAV,CAAgB;AACrBV,IAAAA,IAAI,EAAEQ,mBAAUG,KAAV,CAAgB,CAACC,0BAAD,EAAaC,wBAAb,EAAuBC,0BAAvB,EAAmCC,0BAAnC,CAAhB,CADe;AAErBC,IAAAA,GAAG,EAAER,mBAAUS;AAFM,GAAhB,CAHY;AAOnBrB,EAAAA,gBAAgB,EAAEY,mBAAUC;AAPT,CAArB;eAUejB,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {pipe, get, extend} from 'lodash/fp';\nimport classnames from 'classnames';\n\nimport {innerHTML} from '../../atom/label/style.css';\nimport ResourcePlayer, {TYPE_IMAGE, TYPE_VIDEO, TYPE_PDF, TYPE_AUDIO} from '../resource-player';\nimport style from './style.css';\n\nconst Feedback = (props, context) => {\n const {media, mediaDescription, title, description} = props;\n const resource = media &&\n media.type && {\n ...media,\n ...pipe(get('src.0'), extend({description: mediaDescription}))(media)\n };\n\n return (\n (resource || title || description ? (\n <div className={style.feedback} data-name=\"feedback\">\n <div\n className={classnames(style.title, innerHTML)}\n data-name=\"title\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.descWrapper}>\n <div\n className={classnames(style.description, innerHTML)}\n data-name=\"description\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n {resource ? (\n <div>\n <ResourcePlayer className={style.resourcePlayer} resource={resource} />\n <div\n data-name=\"mediaDescription\"\n className={classnames(style.mediaDescription, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: mediaDescription}}\n />\n </div>\n ) : null}\n </div>\n </div>\n ) : null) || ''\n );\n};\n\nFeedback.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n media: PropTypes.shape({\n type: PropTypes.oneOf([TYPE_IMAGE, TYPE_PDF, TYPE_VIDEO, TYPE_AUDIO]),\n src: PropTypes.array\n }),\n mediaDescription: PropTypes.string\n};\n\nexport default Feedback;\n"],"file":"index.js"}
@@ -22,7 +22,7 @@
22
22
  .title {
23
23
  width: 100%;
24
24
  margin-bottom: 20px;
25
- font-family: 'Open Sans';
25
+ font-family: 'Gilroy';
26
26
  font-size: 25px;
27
27
  font-weight: bold;
28
28
  text-align: left;
@@ -38,7 +38,7 @@
38
38
  .description {
39
39
  width: 476px;
40
40
  margin-right: 32px;
41
- font-family: 'Open Sans';
41
+ font-family: 'Gilroy';
42
42
  font-size: 13px;
43
43
  font-weight: bold;
44
44
  letter-spacing: -0.1px;
@@ -48,7 +48,7 @@
48
48
 
49
49
  .mediaDescription {
50
50
  width: 341px;
51
- font-family: 'Open Sans';
51
+ font-family: 'Gilroy';
52
52
  font-size: 12px;
53
53
  padding-top: 4px;
54
54
  color: medium;
@@ -41,7 +41,7 @@
41
41
  margin: 0;
42
42
  margin-bottom: 10px;
43
43
  display: block;
44
- font-family: "Open Sans";
44
+ font-family: "Gilroy";
45
45
  font-size: 15px;
46
46
  font-weight: 700;
47
47
  text-transform: none;
@@ -53,7 +53,7 @@
53
53
  border-radius: 25px;
54
54
  color: dark;
55
55
  display: table;
56
- font-family: "Open Sans";
56
+ font-family: "Gilroy";
57
57
  font-size: 14px;
58
58
  font-weight: 400;
59
59
  margin: 0 auto;
@@ -14,7 +14,7 @@
14
14
  width: 100%;
15
15
  position: relative;
16
16
  z-index: 4;
17
- font-family: "Open Sans";
17
+ font-family: "Gilroy";
18
18
  background: xtraLightGrey;
19
19
  min-height: 50px;
20
20
  box-sizing: border-box;
@@ -58,7 +58,7 @@
58
58
  font-weight: 600;
59
59
  line-height: 50px;
60
60
  text-align: center;
61
- font-family: Open Sans;
61
+ font-family: Gilroy;
62
62
  position: relative;
63
63
  cursor: pointer;
64
64
  }
@@ -22,7 +22,7 @@ var _default = {
22
22
  filterCTALabel: 'Filter',
23
23
  sortTabLabel: 'Sort by',
24
24
  sortCTALabel: 'Sort',
25
- filters: [_extends({}, selectFilter, {
25
+ filters: [_extends(_extends({}, selectFilter), {}, {
26
26
  type: 'select',
27
27
  fieldName: 'Thematic',
28
28
  title: 'Thematic:',
@@ -40,7 +40,7 @@ var _default = {
40
40
  selected: false
41
41
  }],
42
42
  onChange: value => console.log(value)
43
- }), _extends({}, selectFilter, {
43
+ }), _extends(_extends({}, selectFilter), {}, {
44
44
  type: 'select',
45
45
  fieldName: 'Courses',
46
46
  title: 'Learning Paths:',
@@ -62,13 +62,13 @@ var _default = {
62
62
  selected: false
63
63
  }],
64
64
  onChange: value => console.log(value)
65
- }), _extends({}, types, {
65
+ }), _extends(_extends({}, types), {}, {
66
66
  type: 'radio',
67
67
  fieldName: 'contentType',
68
68
  title: 'Type:',
69
69
  onChange: value => console.log(value)
70
70
  })],
71
- sorting: _extends({}, selectSort, {
71
+ sorting: _extends(_extends({}, selectSort), {}, {
72
72
  title: 'Sort by:',
73
73
  options: [{
74
74
  name: 'Position',