@coorpacademy/components 10.13.10 → 10.13.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (973) hide show
  1. package/es/atom/checkbox-with-title/style.css +2 -4
  2. package/es/molecule/course-section/index.js +19 -16
  3. package/es/molecule/course-section/index.js.map +1 -1
  4. package/es/molecule/course-section/style.css +12 -15
  5. package/es/molecule/course-section/test/fixtures/advanced-level.js +22 -0
  6. package/es/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  7. package/es/molecule/course-section/test/fixtures/base-level.js +18 -0
  8. package/es/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  9. package/es/molecule/course-section/test/fixtures/chapter.js +2 -2
  10. package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  11. package/es/molecule/course-section/test/fixtures/coach-level.js +24 -0
  12. package/es/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  13. package/es/molecule/course-section/test/fixtures/course.js +2 -2
  14. package/es/molecule/course-section/test/fixtures/course.js.map +1 -1
  15. package/es/molecule/course-sections/test/fixtures/default.js +20 -20
  16. package/es/molecule/course-sections/test/fixtures/default.js.map +1 -1
  17. package/es/molecule/drag-and-drop-wrapper/style.css +5 -2
  18. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  19. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  20. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  21. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  22. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  23. package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  24. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  25. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  26. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  27. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  28. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  29. package/es/molecule/list-badges/index.js +38 -0
  30. package/es/molecule/list-badges/index.js.map +1 -0
  31. package/es/molecule/list-badges/style.css +15 -0
  32. package/es/molecule/list-badges/test/fixtures/advanced.js +9 -0
  33. package/es/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  34. package/es/molecule/list-badges/test/fixtures/base.js +8 -0
  35. package/es/molecule/list-badges/test/fixtures/base.js.map +1 -0
  36. package/es/molecule/list-badges/test/fixtures/coach.js +10 -0
  37. package/es/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  38. package/es/molecule/list-badges/test/fixtures/course.js +8 -0
  39. package/es/molecule/list-badges/test/fixtures/course.js.map +1 -0
  40. package/es/molecule/skill-card/index.js +87 -0
  41. package/es/molecule/skill-card/index.js.map +1 -0
  42. package/es/molecule/skill-card/style.css +60 -0
  43. package/es/molecule/skill-card/test/fixtures/custom-skill.js +10 -0
  44. package/es/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
  45. package/es/molecule/skill-card/test/fixtures/default.js +15 -0
  46. package/es/molecule/skill-card/test/fixtures/default.js.map +1 -0
  47. package/es/molecule/skill-card/test/fixtures/no-aria-labels.js +12 -0
  48. package/es/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
  49. package/es/molecule/skill-card/test/fixtures/short-skill-title.js +10 -0
  50. package/es/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
  51. package/es/molecule/skill-card/test/skill-card.js +90 -0
  52. package/es/molecule/skill-card/test/skill-card.js.map +1 -0
  53. package/es/organism/rewards-form/index.js +41 -0
  54. package/es/organism/rewards-form/index.js.map +1 -0
  55. package/es/organism/rewards-form/style.css +12 -0
  56. package/es/organism/rewards-form/test/fixtures/default.js +17 -0
  57. package/es/organism/rewards-form/test/fixtures/default.js.map +1 -0
  58. package/es/organism/rewards-form/test/fixtures/no-rewards.js +6 -0
  59. package/es/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  60. package/es/organism/rewards-form/test/fixtures/one-reward.js +11 -0
  61. package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  62. package/es/organism/rewards-form/test/fixtures/two-rewards.js +14 -0
  63. package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  64. package/es/organism/wizard-contents/index.js +6 -0
  65. package/es/organism/wizard-contents/index.js.map +1 -1
  66. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +45 -0
  67. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  68. package/es/template/app-player/popin-correction/index.js +3 -3
  69. package/es/template/app-player/popin-correction/index.js.map +1 -1
  70. package/es/template/app-player/popin-correction/style.css +0 -4
  71. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +22 -0
  72. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  73. package/es/variables/colors.css +1 -0
  74. package/lib/atom/checkbox-with-title/style.css +2 -4
  75. package/lib/molecule/course-section/index.js +20 -16
  76. package/lib/molecule/course-section/index.js.map +1 -1
  77. package/lib/molecule/course-section/style.css +12 -15
  78. package/lib/molecule/course-section/test/fixtures/advanced-level.js +27 -0
  79. package/lib/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  80. package/lib/molecule/course-section/test/fixtures/base-level.js +23 -0
  81. package/lib/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  82. package/lib/molecule/course-section/test/fixtures/chapter.js +2 -2
  83. package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  84. package/lib/molecule/course-section/test/fixtures/coach-level.js +29 -0
  85. package/lib/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  86. package/lib/molecule/course-section/test/fixtures/course.js +2 -2
  87. package/lib/molecule/course-section/test/fixtures/course.js.map +1 -1
  88. package/lib/molecule/course-sections/test/fixtures/default.js +20 -20
  89. package/lib/molecule/course-sections/test/fixtures/default.js.map +1 -1
  90. package/lib/molecule/drag-and-drop-wrapper/style.css +5 -2
  91. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  92. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  93. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  94. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  95. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  96. package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  97. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  98. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  99. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  100. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  101. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  102. package/lib/molecule/list-badges/index.js +50 -0
  103. package/lib/molecule/list-badges/index.js.map +1 -0
  104. package/lib/molecule/list-badges/style.css +15 -0
  105. package/lib/molecule/list-badges/test/fixtures/advanced.js +19 -0
  106. package/lib/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  107. package/lib/molecule/list-badges/test/fixtures/base.js +17 -0
  108. package/lib/molecule/list-badges/test/fixtures/base.js.map +1 -0
  109. package/lib/molecule/list-badges/test/fixtures/coach.js +21 -0
  110. package/lib/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  111. package/lib/molecule/list-badges/test/fixtures/course.js +17 -0
  112. package/lib/molecule/list-badges/test/fixtures/course.js.map +1 -0
  113. package/lib/molecule/skill-card/index.js +105 -0
  114. package/lib/molecule/skill-card/index.js.map +1 -0
  115. package/lib/molecule/skill-card/style.css +60 -0
  116. package/lib/molecule/skill-card/test/fixtures/custom-skill.js +17 -0
  117. package/lib/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
  118. package/lib/molecule/skill-card/test/fixtures/default.js +21 -0
  119. package/lib/molecule/skill-card/test/fixtures/default.js.map +1 -0
  120. package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js +18 -0
  121. package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
  122. package/lib/molecule/skill-card/test/fixtures/short-skill-title.js +17 -0
  123. package/lib/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
  124. package/lib/molecule/skill-card/test/skill-card.js +102 -0
  125. package/lib/molecule/skill-card/test/skill-card.js.map +1 -0
  126. package/lib/organism/rewards-form/index.js +55 -0
  127. package/lib/organism/rewards-form/index.js.map +1 -0
  128. package/lib/organism/rewards-form/style.css +12 -0
  129. package/lib/organism/rewards-form/test/fixtures/default.js +28 -0
  130. package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -0
  131. package/lib/organism/rewards-form/test/fixtures/no-rewards.js +11 -0
  132. package/lib/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  133. package/lib/organism/rewards-form/test/fixtures/one-reward.js +20 -0
  134. package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  135. package/lib/organism/rewards-form/test/fixtures/two-rewards.js +24 -0
  136. package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  137. package/lib/organism/wizard-contents/index.js +7 -0
  138. package/lib/organism/wizard-contents/index.js.map +1 -1
  139. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js +54 -0
  140. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  141. package/lib/template/app-player/popin-correction/index.js +3 -3
  142. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  143. package/lib/template/app-player/popin-correction/style.css +0 -4
  144. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +32 -0
  145. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  146. package/lib/variables/colors.css +1 -0
  147. package/package.json +2 -2
  148. package/es/atom/autocomplete/test/fixtures.js +0 -19
  149. package/es/atom/autocomplete/test/fixtures.js.map +0 -1
  150. package/es/atom/avatar/test/fixtures.js +0 -13
  151. package/es/atom/avatar/test/fixtures.js.map +0 -1
  152. package/es/atom/button/test/fixtures.js +0 -27
  153. package/es/atom/button/test/fixtures.js.map +0 -1
  154. package/es/atom/button-link/test/fixtures.js +0 -31
  155. package/es/atom/button-link/test/fixtures.js.map +0 -1
  156. package/es/atom/button-link-icon-only/test/fixtures.js +0 -21
  157. package/es/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  158. package/es/atom/button-menu/test/fixtures.js +0 -15
  159. package/es/atom/button-menu/test/fixtures.js.map +0 -1
  160. package/es/atom/card-image-preview/test/fixtures.js +0 -15
  161. package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
  162. package/es/atom/catalog-section/test/fixtures.js +0 -15
  163. package/es/atom/catalog-section/test/fixtures.js.map +0 -1
  164. package/es/atom/centered-text/test/fixtures.js +0 -13
  165. package/es/atom/centered-text/test/fixtures.js.map +0 -1
  166. package/es/atom/checkbox/test/fixtures.js +0 -19
  167. package/es/atom/checkbox/test/fixtures.js.map +0 -1
  168. package/es/atom/checkbox-with-title/test/fixtures.js +0 -15
  169. package/es/atom/checkbox-with-title/test/fixtures.js.map +0 -1
  170. package/es/atom/chips/test/fixtures.js +0 -17
  171. package/es/atom/chips/test/fixtures.js.map +0 -1
  172. package/es/atom/clue/test/fixtures.js +0 -17
  173. package/es/atom/clue/test/fixtures.js.map +0 -1
  174. package/es/atom/content-badge/test/fixtures.js +0 -29
  175. package/es/atom/content-badge/test/fixtures.js.map +0 -1
  176. package/es/atom/cta/test/fixtures.js +0 -37
  177. package/es/atom/cta/test/fixtures.js.map +0 -1
  178. package/es/atom/difficulty-level/test/fixtures.js +0 -19
  179. package/es/atom/difficulty-level/test/fixtures.js.map +0 -1
  180. package/es/atom/drag-and-drop/test/fixtures.js +0 -31
  181. package/es/atom/drag-and-drop/test/fixtures.js.map +0 -1
  182. package/es/atom/empty-search-result/test/fixtures.js +0 -13
  183. package/es/atom/empty-search-result/test/fixtures.js.map +0 -1
  184. package/es/atom/image-upload/test/fixtures.js +0 -31
  185. package/es/atom/image-upload/test/fixtures.js.map +0 -1
  186. package/es/atom/input-checkbox/test/fixtures.js +0 -25
  187. package/es/atom/input-checkbox/test/fixtures.js.map +0 -1
  188. package/es/atom/input-color/test/fixtures.js +0 -19
  189. package/es/atom/input-color/test/fixtures.js.map +0 -1
  190. package/es/atom/input-doublestep/test/fixtures.js +0 -21
  191. package/es/atom/input-doublestep/test/fixtures.js.map +0 -1
  192. package/es/atom/input-html/test/fixtures.js +0 -17
  193. package/es/atom/input-html/test/fixtures.js.map +0 -1
  194. package/es/atom/input-readonly/test/fixtures.js +0 -13
  195. package/es/atom/input-readonly/test/fixtures.js.map +0 -1
  196. package/es/atom/input-search/test/fixtures.js +0 -19
  197. package/es/atom/input-search/test/fixtures.js.map +0 -1
  198. package/es/atom/input-switch/test/fixtures.js +0 -33
  199. package/es/atom/input-switch/test/fixtures.js.map +0 -1
  200. package/es/atom/input-text/test/fixtures.js +0 -27
  201. package/es/atom/input-text/test/fixtures.js.map +0 -1
  202. package/es/atom/input-text-with-title/test/fixtures.js +0 -15
  203. package/es/atom/input-text-with-title/test/fixtures.js.map +0 -1
  204. package/es/atom/input-textarea/test/fixtures.js +0 -21
  205. package/es/atom/input-textarea/test/fixtures.js.map +0 -1
  206. package/es/atom/label/test/fixtures.js +0 -15
  207. package/es/atom/label/test/fixtures.js.map +0 -1
  208. package/es/atom/life/test/fixtures.js +0 -25
  209. package/es/atom/life/test/fixtures.js.map +0 -1
  210. package/es/atom/link/test/fixtures.js +0 -17
  211. package/es/atom/link/test/fixtures.js.map +0 -1
  212. package/es/atom/loader/test/fixtures.js +0 -15
  213. package/es/atom/loader/test/fixtures.js.map +0 -1
  214. package/es/atom/notification/test/fixtures.js +0 -17
  215. package/es/atom/notification/test/fixtures.js.map +0 -1
  216. package/es/atom/picture/test/fixtures.js +0 -19
  217. package/es/atom/picture/test/fixtures.js.map +0 -1
  218. package/es/atom/picture-background/test/fixtures.js +0 -19
  219. package/es/atom/picture-background/test/fixtures.js.map +0 -1
  220. package/es/atom/promo-code/test/fixtures.js +0 -17
  221. package/es/atom/promo-code/test/fixtures.js.map +0 -1
  222. package/es/atom/provider/test/fixtures.js +0 -13
  223. package/es/atom/provider/test/fixtures.js.map +0 -1
  224. package/es/atom/radio-group/test/fixtures.js +0 -17
  225. package/es/atom/radio-group/test/fixtures.js.map +0 -1
  226. package/es/atom/range/test/fixtures.js +0 -15
  227. package/es/atom/range/test/fixtures.js.map +0 -1
  228. package/es/atom/resource-miniature/test/fixtures.js +0 -21
  229. package/es/atom/resource-miniature/test/fixtures.js.map +0 -1
  230. package/es/atom/review-header-step-item/test/fixtures.js +0 -19
  231. package/es/atom/review-header-step-item/test/fixtures.js.map +0 -1
  232. package/es/atom/select/test/fixtures.js +0 -47
  233. package/es/atom/select/test/fixtures.js.map +0 -1
  234. package/es/atom/slide/test/fixtures.js +0 -21
  235. package/es/atom/slide/test/fixtures.js.map +0 -1
  236. package/es/atom/social-link/test/fixtures.js +0 -17
  237. package/es/atom/social-link/test/fixtures.js.map +0 -1
  238. package/es/atom/spinner/test/fixtures.js +0 -13
  239. package/es/atom/spinner/test/fixtures.js.map +0 -1
  240. package/es/atom/tab/test/fixtures.js +0 -13
  241. package/es/atom/tab/test/fixtures.js.map +0 -1
  242. package/es/atom/tab-content/test/fixtures.js +0 -15
  243. package/es/atom/tab-content/test/fixtures.js.map +0 -1
  244. package/es/atom/tag/test/fixtures.js +0 -21
  245. package/es/atom/tag/test/fixtures.js.map +0 -1
  246. package/es/atom/title/test/fixtures.js +0 -17
  247. package/es/atom/title/test/fixtures.js.map +0 -1
  248. package/es/atom/video-upload/test/fixtures.js +0 -21
  249. package/es/atom/video-upload/test/fixtures.js.map +0 -1
  250. package/es/atom/wizard-steps/test/fixtures.js +0 -17
  251. package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
  252. package/es/hoc/animation/test/fixtures.js +0 -15
  253. package/es/hoc/animation/test/fixtures.js.map +0 -1
  254. package/es/hoc/animation-scheduler/test/fixtures.js +0 -15
  255. package/es/hoc/animation-scheduler/test/fixtures.js.map +0 -1
  256. package/es/hoc/swapper/test/fixtures.js +0 -13
  257. package/es/hoc/swapper/test/fixtures.js.map +0 -1
  258. package/es/hoc/transition/test/fixtures.js +0 -13
  259. package/es/hoc/transition/test/fixtures.js.map +0 -1
  260. package/es/molecule/add-to-my-list/test/fixtures.js +0 -15
  261. package/es/molecule/add-to-my-list/test/fixtures.js.map +0 -1
  262. package/es/molecule/answer/test/fixtures.js +0 -35
  263. package/es/molecule/answer/test/fixtures.js.map +0 -1
  264. package/es/molecule/audio/test/fixtures.js +0 -15
  265. package/es/molecule/audio/test/fixtures.js.map +0 -1
  266. package/es/molecule/banner/test/fixtures.js +0 -23
  267. package/es/molecule/banner/test/fixtures.js.map +0 -1
  268. package/es/molecule/battle-request/test/fixtures.js +0 -15
  269. package/es/molecule/battle-request/test/fixtures.js.map +0 -1
  270. package/es/molecule/brand-card/test/fixtures.js +0 -15
  271. package/es/molecule/brand-card/test/fixtures.js.map +0 -1
  272. package/es/molecule/brand-card-create/test/fixtures.js +0 -13
  273. package/es/molecule/brand-card-create/test/fixtures.js.map +0 -1
  274. package/es/molecule/brand-create-form/test/fixtures.js +0 -19
  275. package/es/molecule/brand-create-form/test/fixtures.js.map +0 -1
  276. package/es/molecule/brand-download-box/test/fixtures.js +0 -17
  277. package/es/molecule/brand-download-box/test/fixtures.js.map +0 -1
  278. package/es/molecule/brand-form-group/test/fixtures.js +0 -35
  279. package/es/molecule/brand-form-group/test/fixtures.js.map +0 -1
  280. package/es/molecule/brand-tabs/test/fixtures.js +0 -29
  281. package/es/molecule/brand-tabs/test/fixtures.js.map +0 -1
  282. package/es/molecule/brand-upload-box/test/fixtures.js +0 -17
  283. package/es/molecule/brand-upload-box/test/fixtures.js.map +0 -1
  284. package/es/molecule/breadcrumbs/test/fixtures.js +0 -13
  285. package/es/molecule/breadcrumbs/test/fixtures.js.map +0 -1
  286. package/es/molecule/bullet-point-menu-button/test/fixtures.js +0 -15
  287. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  288. package/es/molecule/card/test/fixtures.js +0 -45
  289. package/es/molecule/card/test/fixtures.js.map +0 -1
  290. package/es/molecule/card-content/test/fixtures.js +0 -27
  291. package/es/molecule/card-content/test/fixtures.js.map +0 -1
  292. package/es/molecule/card-with-button/test/fixtures.js +0 -17
  293. package/es/molecule/card-with-button/test/fixtures.js.map +0 -1
  294. package/es/molecule/cm-popin/test/fixtures.js +0 -17
  295. package/es/molecule/cm-popin/test/fixtures.js.map +0 -1
  296. package/es/molecule/cookie-banner/test/fixtures.js +0 -13
  297. package/es/molecule/cookie-banner/test/fixtures.js.map +0 -1
  298. package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
  299. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  300. package/es/molecule/course-section/test/fixtures.js +0 -15
  301. package/es/molecule/course-section/test/fixtures.js.map +0 -1
  302. package/es/molecule/course-sections/test/fixtures.js +0 -17
  303. package/es/molecule/course-sections/test/fixtures.js.map +0 -1
  304. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -15
  305. package/es/molecule/dashboard/battle-request-list/test/fixtures.js.map +0 -1
  306. package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -23
  307. package/es/molecule/dashboard/cards-list/test/fixtures.js.map +0 -1
  308. package/es/molecule/dashboard/news-list/test/fixtures.js +0 -17
  309. package/es/molecule/dashboard/news-list/test/fixtures.js.map +0 -1
  310. package/es/molecule/dashboard/review-banner/test/fixtures.js +0 -13
  311. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
  312. package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -15
  313. package/es/molecule/dashboard/start-battle/test/fixtures.js.map +0 -1
  314. package/es/molecule/discipline-cta/test/fixtures.js +0 -15
  315. package/es/molecule/discipline-cta/test/fixtures.js.map +0 -1
  316. package/es/molecule/discipline-header/test/fixtures.js +0 -27
  317. package/es/molecule/discipline-header/test/fixtures.js.map +0 -1
  318. package/es/molecule/discipline-partners/test/fixtures.js +0 -21
  319. package/es/molecule/discipline-partners/test/fixtures.js.map +0 -1
  320. package/es/molecule/discipline-scope/test/fixtures.js +0 -27
  321. package/es/molecule/discipline-scope/test/fixtures.js.map +0 -1
  322. package/es/molecule/drag-and-drop/test/fixtures.js +0 -25
  323. package/es/molecule/drag-and-drop/test/fixtures.js.map +0 -1
  324. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -15
  325. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
  326. package/es/molecule/draggable/test/fixtures.js +0 -13
  327. package/es/molecule/draggable/test/fixtures.js.map +0 -1
  328. package/es/molecule/draggable-list/test/fixtures.js +0 -15
  329. package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
  330. package/es/molecule/external-content-button/test/fixtures.js +0 -19
  331. package/es/molecule/external-content-button/test/fixtures.js.map +0 -1
  332. package/es/molecule/external-content-viewer/test/fixtures.js +0 -27
  333. package/es/molecule/external-content-viewer/test/fixtures.js.map +0 -1
  334. package/es/molecule/feedback/test/fixtures.js +0 -27
  335. package/es/molecule/feedback/test/fixtures.js.map +0 -1
  336. package/es/molecule/filters/test/fixtures.js +0 -33
  337. package/es/molecule/filters/test/fixtures.js.map +0 -1
  338. package/es/molecule/forum/forum-comment/test/fixtures.js +0 -17
  339. package/es/molecule/forum/forum-comment/test/fixtures.js.map +0 -1
  340. package/es/molecule/forum/forum-post/test/fixtures.js +0 -31
  341. package/es/molecule/forum/forum-post/test/fixtures.js.map +0 -1
  342. package/es/molecule/forum/forum-thread/test/fixtures.js +0 -17
  343. package/es/molecule/forum/forum-thread/test/fixtures.js.map +0 -1
  344. package/es/molecule/hero/test/fixtures.js +0 -15
  345. package/es/molecule/hero/test/fixtures.js.map +0 -1
  346. package/es/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  347. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  348. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  349. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
  350. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  351. package/es/molecule/login-alert/test/fixtures.js +0 -13
  352. package/es/molecule/login-alert/test/fixtures.js.map +0 -1
  353. package/es/molecule/menu-list/test/fixtures.js +0 -13
  354. package/es/molecule/menu-list/test/fixtures.js.map +0 -1
  355. package/es/molecule/message-popin/test/fixtures.js +0 -13
  356. package/es/molecule/message-popin/test/fixtures.js.map +0 -1
  357. package/es/molecule/modal/test/fixtures.js +0 -13
  358. package/es/molecule/modal/test/fixtures.js.map +0 -1
  359. package/es/molecule/module-bubble/test/fixtures.js +0 -17
  360. package/es/molecule/module-bubble/test/fixtures.js.map +0 -1
  361. package/es/molecule/module-card/test/fixtures.js +0 -17
  362. package/es/molecule/module-card/test/fixtures.js.map +0 -1
  363. package/es/molecule/news/test/fixtures.js +0 -23
  364. package/es/molecule/news/test/fixtures.js.map +0 -1
  365. package/es/molecule/notification-banner/test/fixtures.js +0 -17
  366. package/es/molecule/notification-banner/test/fixtures.js.map +0 -1
  367. package/es/molecule/pagination/test/fixtures.js +0 -15
  368. package/es/molecule/pagination/test/fixtures.js.map +0 -1
  369. package/es/molecule/payment-form/test/fixtures.js +0 -17
  370. package/es/molecule/payment-form/test/fixtures.js.map +0 -1
  371. package/es/molecule/pdf/test/fixtures.js +0 -13
  372. package/es/molecule/pdf/test/fixtures.js.map +0 -1
  373. package/es/molecule/popin/test/fixtures.js +0 -21
  374. package/es/molecule/popin/test/fixtures.js.map +0 -1
  375. package/es/molecule/product-card/test/fixtures.js +0 -13
  376. package/es/molecule/product-card/test/fixtures.js.map +0 -1
  377. package/es/molecule/progress-bar/test/fixtures.js +0 -15
  378. package/es/molecule/progress-bar/test/fixtures.js.map +0 -1
  379. package/es/molecule/questions/drop-down/test/fixtures.js +0 -15
  380. package/es/molecule/questions/drop-down/test/fixtures.js.map +0 -1
  381. package/es/molecule/questions/free-text/test/fixtures.js +0 -17
  382. package/es/molecule/questions/free-text/test/fixtures.js.map +0 -1
  383. package/es/molecule/questions/qcm/test/fixtures.js +0 -19
  384. package/es/molecule/questions/qcm/test/fixtures.js.map +0 -1
  385. package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -15
  386. package/es/molecule/questions/qcm-drag/test/fixtures.js.map +0 -1
  387. package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -15
  388. package/es/molecule/questions/qcm-graphic/test/fixtures.js.map +0 -1
  389. package/es/molecule/questions/question-range/test/fixtures.js +0 -13
  390. package/es/molecule/questions/question-range/test/fixtures.js.map +0 -1
  391. package/es/molecule/questions/template/test/fixtures.js +0 -15
  392. package/es/molecule/questions/template/test/fixtures.js.map +0 -1
  393. package/es/molecule/quick-access-card/test/fixtures.js +0 -21
  394. package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
  395. package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
  396. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  397. package/es/molecule/resource-player/test/fixtures.js +0 -25
  398. package/es/molecule/resource-player/test/fixtures.js.map +0 -1
  399. package/es/molecule/review-correction-popin/test/fixtures.js +0 -15
  400. package/es/molecule/review-correction-popin/test/fixtures.js.map +0 -1
  401. package/es/molecule/review-header-steps/test/fixtures.js +0 -23
  402. package/es/molecule/review-header-steps/test/fixtures.js.map +0 -1
  403. package/es/molecule/scope-content/test/fixtures.js +0 -27
  404. package/es/molecule/scope-content/test/fixtures.js.map +0 -1
  405. package/es/molecule/scope-tabs/test/fixtures.js +0 -17
  406. package/es/molecule/scope-tabs/test/fixtures.js.map +0 -1
  407. package/es/molecule/search/test/fixtures.js +0 -15
  408. package/es/molecule/search/test/fixtures.js.map +0 -1
  409. package/es/molecule/search-form/test/fixtures.js +0 -13
  410. package/es/molecule/search-form/test/fixtures.js.map +0 -1
  411. package/es/molecule/select-multiple/test/fixtures.js +0 -31
  412. package/es/molecule/select-multiple/test/fixtures.js.map +0 -1
  413. package/es/molecule/setup-cohort-item/test/fixtures.js +0 -19
  414. package/es/molecule/setup-cohort-item/test/fixtures.js.map +0 -1
  415. package/es/molecule/setup-section/test/fixtures.js +0 -25
  416. package/es/molecule/setup-section/test/fixtures.js.map +0 -1
  417. package/es/molecule/setup-sections/test/fixtures.js +0 -19
  418. package/es/molecule/setup-sections/test/fixtures.js.map +0 -1
  419. package/es/molecule/setup-slide/test/fixtures.js +0 -25
  420. package/es/molecule/setup-slide/test/fixtures.js.map +0 -1
  421. package/es/molecule/setup-slider/test/fixtures.js +0 -15
  422. package/es/molecule/setup-slider/test/fixtures.js.map +0 -1
  423. package/es/molecule/share/test/fixtures.js +0 -13
  424. package/es/molecule/share/test/fixtures.js.map +0 -1
  425. package/es/molecule/ssmenu-list/test/fixtures.js +0 -19
  426. package/es/molecule/ssmenu-list/test/fixtures.js.map +0 -1
  427. package/es/molecule/subscription-freemium/test/fixtures.js +0 -13
  428. package/es/molecule/subscription-freemium/test/fixtures.js.map +0 -1
  429. package/es/molecule/subscription-premium/test/fixtures.js +0 -15
  430. package/es/molecule/subscription-premium/test/fixtures.js.map +0 -1
  431. package/es/molecule/table/test/fixtures.js +0 -19
  432. package/es/molecule/table/test/fixtures.js.map +0 -1
  433. package/es/molecule/teams-popin/test/fixtures.js +0 -29
  434. package/es/molecule/teams-popin/test/fixtures.js.map +0 -1
  435. package/es/molecule/theme-image/test/fixtures.js +0 -13
  436. package/es/molecule/theme-image/test/fixtures.js.map +0 -1
  437. package/es/molecule/titled-checkbox/test/fixtures.js +0 -17
  438. package/es/molecule/titled-checkbox/test/fixtures.js.map +0 -1
  439. package/es/molecule/unsubscribe/test/fixtures.js +0 -15
  440. package/es/molecule/unsubscribe/test/fixtures.js.map +0 -1
  441. package/es/molecule/vertical-tabs/test/fixtures.js +0 -17
  442. package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  443. package/es/molecule/video-iframe/test/fixtures.js +0 -25
  444. package/es/molecule/video-iframe/test/fixtures.js.map +0 -1
  445. package/es/molecule/video-player/test/fixtures.js +0 -29
  446. package/es/molecule/video-player/test/fixtures.js.map +0 -1
  447. package/es/molecule/wizard-summary/test/fixtures.js +0 -23
  448. package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
  449. package/es/organism/accordion/container/test/fixtures.js +0 -17
  450. package/es/organism/accordion/container/test/fixtures.js.map +0 -1
  451. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -17
  452. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  453. package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
  454. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  455. package/es/organism/accordion/part/test/fixtures.js +0 -15
  456. package/es/organism/accordion/part/test/fixtures.js.map +0 -1
  457. package/es/organism/accordion/toggler/test/fixtures.js +0 -17
  458. package/es/organism/accordion/toggler/test/fixtures.js.map +0 -1
  459. package/es/organism/brand-analytics/test/fixtures.js +0 -23
  460. package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
  461. package/es/organism/brand-dashboard/test/fixtures.js +0 -15
  462. package/es/organism/brand-dashboard/test/fixtures.js.map +0 -1
  463. package/es/organism/brand-form/test/fixtures.js +0 -33
  464. package/es/organism/brand-form/test/fixtures.js.map +0 -1
  465. package/es/organism/brand-table/test/fixtures.js +0 -19
  466. package/es/organism/brand-table/test/fixtures.js.map +0 -1
  467. package/es/organism/brand-upload/test/fixtures.js +0 -15
  468. package/es/organism/brand-upload/test/fixtures.js.map +0 -1
  469. package/es/organism/cards-grid/test/fixtures.js +0 -19
  470. package/es/organism/cards-grid/test/fixtures.js.map +0 -1
  471. package/es/organism/cart/test/fixtures.js +0 -13
  472. package/es/organism/cart/test/fixtures.js.map +0 -1
  473. package/es/organism/content-translation/test/fixtures.js +0 -15
  474. package/es/organism/content-translation/test/fixtures.js.map +0 -1
  475. package/es/organism/course-selection/test/fixtures.js +0 -25
  476. package/es/organism/course-selection/test/fixtures.js.map +0 -1
  477. package/es/organism/discussion/test/fixtures.js +0 -19
  478. package/es/organism/discussion/test/fixtures.js.map +0 -1
  479. package/es/organism/get-the-app/test/fixtures.js +0 -13
  480. package/es/organism/get-the-app/test/fixtures.js.map +0 -1
  481. package/es/organism/grid-list/test/fixtures.js +0 -13
  482. package/es/organism/grid-list/test/fixtures.js.map +0 -1
  483. package/es/organism/header/test/fixtures.js +0 -13
  484. package/es/organism/header/test/fixtures.js.map +0 -1
  485. package/es/organism/hero/test/fixtures.js +0 -17
  486. package/es/organism/hero/test/fixtures.js.map +0 -1
  487. package/es/organism/list-item/test/fixtures.js +0 -19
  488. package/es/organism/list-item/test/fixtures.js.map +0 -1
  489. package/es/organism/list-items/test/fixtures.js +0 -17
  490. package/es/organism/list-items/test/fixtures.js.map +0 -1
  491. package/es/organism/mooc/image-slider/test/fixtures.js +0 -15
  492. package/es/organism/mooc/image-slider/test/fixtures.js.map +0 -1
  493. package/es/organism/mooc-footer/test/fixtures.js +0 -23
  494. package/es/organism/mooc-footer/test/fixtures.js.map +0 -1
  495. package/es/organism/mooc-header/test/fixtures.js +0 -31
  496. package/es/organism/mooc-header/test/fixtures.js.map +0 -1
  497. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  498. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  499. package/es/organism/popin/test/fixtures.js +0 -13
  500. package/es/organism/popin/test/fixtures.js.map +0 -1
  501. package/es/organism/resource-browser/test/fixtures.js +0 -37
  502. package/es/organism/resource-browser/test/fixtures.js.map +0 -1
  503. package/es/organism/search-and-chips-results/test/fixtures.js +0 -23
  504. package/es/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  505. package/es/organism/settings/test/fixtures.js +0 -19
  506. package/es/organism/settings/test/fixtures.js.map +0 -1
  507. package/es/organism/setup-header/test/fixtures.js +0 -15
  508. package/es/organism/setup-header/test/fixtures.js.map +0 -1
  509. package/es/organism/sidebar/test/fixtures.js +0 -23
  510. package/es/organism/sidebar/test/fixtures.js.map +0 -1
  511. package/es/organism/slider/test/fixtures.js +0 -15
  512. package/es/organism/slider/test/fixtures.js.map +0 -1
  513. package/es/organism/user-preferences/test/fixtures.js +0 -13
  514. package/es/organism/user-preferences/test/fixtures.js.map +0 -1
  515. package/es/organism/wizard-contents/test/fixtures.js +0 -23
  516. package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
  517. package/es/template/activity/test/fixtures.js +0 -21
  518. package/es/template/activity/test/fixtures.js.map +0 -1
  519. package/es/template/app-player/loading/test/fixtures.js +0 -13
  520. package/es/template/app-player/loading/test/fixtures.js.map +0 -1
  521. package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -29
  522. package/es/template/app-player/player/slides/footer/test/fixtures.js.map +0 -1
  523. package/es/template/app-player/player/slides/header/test/fixtures.js +0 -23
  524. package/es/template/app-player/player/slides/header/test/fixtures.js.map +0 -1
  525. package/es/template/app-player/player/slides/test/fixtures.js +0 -79
  526. package/es/template/app-player/player/slides/test/fixtures.js.map +0 -1
  527. package/es/template/app-player/player/test/fixtures.js +0 -55
  528. package/es/template/app-player/player/test/fixtures.js.map +0 -1
  529. package/es/template/app-player/popin-correction/test/fixtures.js +0 -47
  530. package/es/template/app-player/popin-correction/test/fixtures.js.map +0 -1
  531. package/es/template/app-player/popin-end/test/fixtures.js +0 -51
  532. package/es/template/app-player/popin-end/test/fixtures.js.map +0 -1
  533. package/es/template/app-player/popin-header/test/fixtures.js +0 -29
  534. package/es/template/app-player/popin-header/test/fixtures.js.map +0 -1
  535. package/es/template/back-office/brand-create/test/fixtures.js +0 -19
  536. package/es/template/back-office/brand-create/test/fixtures.js.map +0 -1
  537. package/es/template/back-office/brand-list/test/fixtures.js +0 -17
  538. package/es/template/back-office/brand-list/test/fixtures.js.map +0 -1
  539. package/es/template/back-office/brand-update/test/fixtures.js +0 -87
  540. package/es/template/back-office/brand-update/test/fixtures.js.map +0 -1
  541. package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -23
  542. package/es/template/back-office/dashboard-preview/test/fixtures.js.map +0 -1
  543. package/es/template/battle-requests/test/fixtures.js +0 -13
  544. package/es/template/battle-requests/test/fixtures.js.map +0 -1
  545. package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -13
  546. package/es/template/cockpit/jw-uploader/test/fixtures.js.map +0 -1
  547. package/es/template/common/authors/test/fixtures.js +0 -15
  548. package/es/template/common/authors/test/fixtures.js.map +0 -1
  549. package/es/template/common/coorp-header/test/fixtures.js +0 -15
  550. package/es/template/common/coorp-header/test/fixtures.js.map +0 -1
  551. package/es/template/common/dashboard/test/fixtures.js +0 -17
  552. package/es/template/common/dashboard/test/fixtures.js.map +0 -1
  553. package/es/template/common/discipline/test/fixtures.js +0 -47
  554. package/es/template/common/discipline/test/fixtures.js.map +0 -1
  555. package/es/template/common/search-page/test/fixtures.js +0 -17
  556. package/es/template/common/search-page/test/fixtures.js.map +0 -1
  557. package/es/template/external-course/test/fixtures.js +0 -31
  558. package/es/template/external-course/test/fixtures.js.map +0 -1
  559. package/es/template/teams-dashboard/test/fixtures.js +0 -17
  560. package/es/template/teams-dashboard/test/fixtures.js.map +0 -1
  561. package/lib/atom/autocomplete/test/fixtures.js +0 -31
  562. package/lib/atom/autocomplete/test/fixtures.js.map +0 -1
  563. package/lib/atom/avatar/test/fixtures.js +0 -22
  564. package/lib/atom/avatar/test/fixtures.js.map +0 -1
  565. package/lib/atom/button/test/fixtures.js +0 -43
  566. package/lib/atom/button/test/fixtures.js.map +0 -1
  567. package/lib/atom/button-link/test/fixtures.js +0 -49
  568. package/lib/atom/button-link/test/fixtures.js.map +0 -1
  569. package/lib/atom/button-link-icon-only/test/fixtures.js +0 -34
  570. package/lib/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  571. package/lib/atom/button-menu/test/fixtures.js +0 -25
  572. package/lib/atom/button-menu/test/fixtures.js.map +0 -1
  573. package/lib/atom/card-image-preview/test/fixtures.js +0 -25
  574. package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
  575. package/lib/atom/catalog-section/test/fixtures.js +0 -25
  576. package/lib/atom/catalog-section/test/fixtures.js.map +0 -1
  577. package/lib/atom/centered-text/test/fixtures.js +0 -22
  578. package/lib/atom/centered-text/test/fixtures.js.map +0 -1
  579. package/lib/atom/checkbox/test/fixtures.js +0 -31
  580. package/lib/atom/checkbox/test/fixtures.js.map +0 -1
  581. package/lib/atom/checkbox-with-title/test/fixtures.js +0 -25
  582. package/lib/atom/checkbox-with-title/test/fixtures.js.map +0 -1
  583. package/lib/atom/chips/test/fixtures.js +0 -28
  584. package/lib/atom/chips/test/fixtures.js.map +0 -1
  585. package/lib/atom/clue/test/fixtures.js +0 -28
  586. package/lib/atom/clue/test/fixtures.js.map +0 -1
  587. package/lib/atom/content-badge/test/fixtures.js +0 -46
  588. package/lib/atom/content-badge/test/fixtures.js.map +0 -1
  589. package/lib/atom/cta/test/fixtures.js +0 -58
  590. package/lib/atom/cta/test/fixtures.js.map +0 -1
  591. package/lib/atom/difficulty-level/test/fixtures.js +0 -31
  592. package/lib/atom/difficulty-level/test/fixtures.js.map +0 -1
  593. package/lib/atom/drag-and-drop/test/fixtures.js +0 -49
  594. package/lib/atom/drag-and-drop/test/fixtures.js.map +0 -1
  595. package/lib/atom/empty-search-result/test/fixtures.js +0 -22
  596. package/lib/atom/empty-search-result/test/fixtures.js.map +0 -1
  597. package/lib/atom/image-upload/test/fixtures.js +0 -49
  598. package/lib/atom/image-upload/test/fixtures.js.map +0 -1
  599. package/lib/atom/input-checkbox/test/fixtures.js +0 -40
  600. package/lib/atom/input-checkbox/test/fixtures.js.map +0 -1
  601. package/lib/atom/input-color/test/fixtures.js +0 -31
  602. package/lib/atom/input-color/test/fixtures.js.map +0 -1
  603. package/lib/atom/input-doublestep/test/fixtures.js +0 -34
  604. package/lib/atom/input-doublestep/test/fixtures.js.map +0 -1
  605. package/lib/atom/input-html/test/fixtures.js +0 -28
  606. package/lib/atom/input-html/test/fixtures.js.map +0 -1
  607. package/lib/atom/input-readonly/test/fixtures.js +0 -22
  608. package/lib/atom/input-readonly/test/fixtures.js.map +0 -1
  609. package/lib/atom/input-search/test/fixtures.js +0 -31
  610. package/lib/atom/input-search/test/fixtures.js.map +0 -1
  611. package/lib/atom/input-switch/test/fixtures.js +0 -52
  612. package/lib/atom/input-switch/test/fixtures.js.map +0 -1
  613. package/lib/atom/input-text/test/fixtures.js +0 -43
  614. package/lib/atom/input-text/test/fixtures.js.map +0 -1
  615. package/lib/atom/input-text-with-title/test/fixtures.js +0 -25
  616. package/lib/atom/input-text-with-title/test/fixtures.js.map +0 -1
  617. package/lib/atom/input-textarea/test/fixtures.js +0 -34
  618. package/lib/atom/input-textarea/test/fixtures.js.map +0 -1
  619. package/lib/atom/label/test/fixtures.js +0 -25
  620. package/lib/atom/label/test/fixtures.js.map +0 -1
  621. package/lib/atom/life/test/fixtures.js +0 -40
  622. package/lib/atom/life/test/fixtures.js.map +0 -1
  623. package/lib/atom/link/test/fixtures.js +0 -28
  624. package/lib/atom/link/test/fixtures.js.map +0 -1
  625. package/lib/atom/loader/test/fixtures.js +0 -25
  626. package/lib/atom/loader/test/fixtures.js.map +0 -1
  627. package/lib/atom/notification/test/fixtures.js +0 -28
  628. package/lib/atom/notification/test/fixtures.js.map +0 -1
  629. package/lib/atom/picture/test/fixtures.js +0 -31
  630. package/lib/atom/picture/test/fixtures.js.map +0 -1
  631. package/lib/atom/picture-background/test/fixtures.js +0 -31
  632. package/lib/atom/picture-background/test/fixtures.js.map +0 -1
  633. package/lib/atom/promo-code/test/fixtures.js +0 -28
  634. package/lib/atom/promo-code/test/fixtures.js.map +0 -1
  635. package/lib/atom/provider/test/fixtures.js +0 -22
  636. package/lib/atom/provider/test/fixtures.js.map +0 -1
  637. package/lib/atom/radio-group/test/fixtures.js +0 -28
  638. package/lib/atom/radio-group/test/fixtures.js.map +0 -1
  639. package/lib/atom/range/test/fixtures.js +0 -25
  640. package/lib/atom/range/test/fixtures.js.map +0 -1
  641. package/lib/atom/resource-miniature/test/fixtures.js +0 -34
  642. package/lib/atom/resource-miniature/test/fixtures.js.map +0 -1
  643. package/lib/atom/review-header-step-item/test/fixtures.js +0 -31
  644. package/lib/atom/review-header-step-item/test/fixtures.js.map +0 -1
  645. package/lib/atom/select/test/fixtures.js +0 -73
  646. package/lib/atom/select/test/fixtures.js.map +0 -1
  647. package/lib/atom/slide/test/fixtures.js +0 -34
  648. package/lib/atom/slide/test/fixtures.js.map +0 -1
  649. package/lib/atom/social-link/test/fixtures.js +0 -28
  650. package/lib/atom/social-link/test/fixtures.js.map +0 -1
  651. package/lib/atom/spinner/test/fixtures.js +0 -22
  652. package/lib/atom/spinner/test/fixtures.js.map +0 -1
  653. package/lib/atom/tab/test/fixtures.js +0 -22
  654. package/lib/atom/tab/test/fixtures.js.map +0 -1
  655. package/lib/atom/tab-content/test/fixtures.js +0 -25
  656. package/lib/atom/tab-content/test/fixtures.js.map +0 -1
  657. package/lib/atom/tag/test/fixtures.js +0 -34
  658. package/lib/atom/tag/test/fixtures.js.map +0 -1
  659. package/lib/atom/title/test/fixtures.js +0 -28
  660. package/lib/atom/title/test/fixtures.js.map +0 -1
  661. package/lib/atom/video-upload/test/fixtures.js +0 -34
  662. package/lib/atom/video-upload/test/fixtures.js.map +0 -1
  663. package/lib/atom/wizard-steps/test/fixtures.js +0 -28
  664. package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
  665. package/lib/hoc/animation/test/fixtures.js +0 -25
  666. package/lib/hoc/animation/test/fixtures.js.map +0 -1
  667. package/lib/hoc/animation-scheduler/test/fixtures.js +0 -25
  668. package/lib/hoc/animation-scheduler/test/fixtures.js.map +0 -1
  669. package/lib/hoc/swapper/test/fixtures.js +0 -22
  670. package/lib/hoc/swapper/test/fixtures.js.map +0 -1
  671. package/lib/hoc/transition/test/fixtures.js +0 -22
  672. package/lib/hoc/transition/test/fixtures.js.map +0 -1
  673. package/lib/molecule/add-to-my-list/test/fixtures.js +0 -25
  674. package/lib/molecule/add-to-my-list/test/fixtures.js.map +0 -1
  675. package/lib/molecule/answer/test/fixtures.js +0 -55
  676. package/lib/molecule/answer/test/fixtures.js.map +0 -1
  677. package/lib/molecule/audio/test/fixtures.js +0 -25
  678. package/lib/molecule/audio/test/fixtures.js.map +0 -1
  679. package/lib/molecule/banner/test/fixtures.js +0 -37
  680. package/lib/molecule/banner/test/fixtures.js.map +0 -1
  681. package/lib/molecule/battle-request/test/fixtures.js +0 -25
  682. package/lib/molecule/battle-request/test/fixtures.js.map +0 -1
  683. package/lib/molecule/brand-card/test/fixtures.js +0 -25
  684. package/lib/molecule/brand-card/test/fixtures.js.map +0 -1
  685. package/lib/molecule/brand-card-create/test/fixtures.js +0 -22
  686. package/lib/molecule/brand-card-create/test/fixtures.js.map +0 -1
  687. package/lib/molecule/brand-create-form/test/fixtures.js +0 -31
  688. package/lib/molecule/brand-create-form/test/fixtures.js.map +0 -1
  689. package/lib/molecule/brand-download-box/test/fixtures.js +0 -28
  690. package/lib/molecule/brand-download-box/test/fixtures.js.map +0 -1
  691. package/lib/molecule/brand-form-group/test/fixtures.js +0 -55
  692. package/lib/molecule/brand-form-group/test/fixtures.js.map +0 -1
  693. package/lib/molecule/brand-tabs/test/fixtures.js +0 -46
  694. package/lib/molecule/brand-tabs/test/fixtures.js.map +0 -1
  695. package/lib/molecule/brand-upload-box/test/fixtures.js +0 -28
  696. package/lib/molecule/brand-upload-box/test/fixtures.js.map +0 -1
  697. package/lib/molecule/breadcrumbs/test/fixtures.js +0 -22
  698. package/lib/molecule/breadcrumbs/test/fixtures.js.map +0 -1
  699. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +0 -25
  700. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  701. package/lib/molecule/card/test/fixtures.js +0 -70
  702. package/lib/molecule/card/test/fixtures.js.map +0 -1
  703. package/lib/molecule/card-content/test/fixtures.js +0 -43
  704. package/lib/molecule/card-content/test/fixtures.js.map +0 -1
  705. package/lib/molecule/card-with-button/test/fixtures.js +0 -28
  706. package/lib/molecule/card-with-button/test/fixtures.js.map +0 -1
  707. package/lib/molecule/cm-popin/test/fixtures.js +0 -28
  708. package/lib/molecule/cm-popin/test/fixtures.js.map +0 -1
  709. package/lib/molecule/cookie-banner/test/fixtures.js +0 -22
  710. package/lib/molecule/cookie-banner/test/fixtures.js.map +0 -1
  711. package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
  712. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  713. package/lib/molecule/course-section/test/fixtures.js +0 -25
  714. package/lib/molecule/course-section/test/fixtures.js.map +0 -1
  715. package/lib/molecule/course-sections/test/fixtures.js +0 -28
  716. package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
  717. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -25
  718. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js.map +0 -1
  719. package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -37
  720. package/lib/molecule/dashboard/cards-list/test/fixtures.js.map +0 -1
  721. package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -28
  722. package/lib/molecule/dashboard/news-list/test/fixtures.js.map +0 -1
  723. package/lib/molecule/dashboard/review-banner/test/fixtures.js +0 -22
  724. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
  725. package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -25
  726. package/lib/molecule/dashboard/start-battle/test/fixtures.js.map +0 -1
  727. package/lib/molecule/discipline-cta/test/fixtures.js +0 -25
  728. package/lib/molecule/discipline-cta/test/fixtures.js.map +0 -1
  729. package/lib/molecule/discipline-header/test/fixtures.js +0 -43
  730. package/lib/molecule/discipline-header/test/fixtures.js.map +0 -1
  731. package/lib/molecule/discipline-partners/test/fixtures.js +0 -34
  732. package/lib/molecule/discipline-partners/test/fixtures.js.map +0 -1
  733. package/lib/molecule/discipline-scope/test/fixtures.js +0 -43
  734. package/lib/molecule/discipline-scope/test/fixtures.js.map +0 -1
  735. package/lib/molecule/drag-and-drop/test/fixtures.js +0 -40
  736. package/lib/molecule/drag-and-drop/test/fixtures.js.map +0 -1
  737. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -25
  738. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
  739. package/lib/molecule/draggable/test/fixtures.js +0 -22
  740. package/lib/molecule/draggable/test/fixtures.js.map +0 -1
  741. package/lib/molecule/draggable-list/test/fixtures.js +0 -25
  742. package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
  743. package/lib/molecule/external-content-button/test/fixtures.js +0 -31
  744. package/lib/molecule/external-content-button/test/fixtures.js.map +0 -1
  745. package/lib/molecule/external-content-viewer/test/fixtures.js +0 -43
  746. package/lib/molecule/external-content-viewer/test/fixtures.js.map +0 -1
  747. package/lib/molecule/feedback/test/fixtures.js +0 -43
  748. package/lib/molecule/feedback/test/fixtures.js.map +0 -1
  749. package/lib/molecule/filters/test/fixtures.js +0 -52
  750. package/lib/molecule/filters/test/fixtures.js.map +0 -1
  751. package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -28
  752. package/lib/molecule/forum/forum-comment/test/fixtures.js.map +0 -1
  753. package/lib/molecule/forum/forum-post/test/fixtures.js +0 -49
  754. package/lib/molecule/forum/forum-post/test/fixtures.js.map +0 -1
  755. package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -28
  756. package/lib/molecule/forum/forum-thread/test/fixtures.js.map +0 -1
  757. package/lib/molecule/hero/test/fixtures.js +0 -25
  758. package/lib/molecule/hero/test/fixtures.js.map +0 -1
  759. package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  760. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  761. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  762. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -25
  763. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  764. package/lib/molecule/login-alert/test/fixtures.js +0 -22
  765. package/lib/molecule/login-alert/test/fixtures.js.map +0 -1
  766. package/lib/molecule/menu-list/test/fixtures.js +0 -22
  767. package/lib/molecule/menu-list/test/fixtures.js.map +0 -1
  768. package/lib/molecule/message-popin/test/fixtures.js +0 -22
  769. package/lib/molecule/message-popin/test/fixtures.js.map +0 -1
  770. package/lib/molecule/modal/test/fixtures.js +0 -22
  771. package/lib/molecule/modal/test/fixtures.js.map +0 -1
  772. package/lib/molecule/module-bubble/test/fixtures.js +0 -28
  773. package/lib/molecule/module-bubble/test/fixtures.js.map +0 -1
  774. package/lib/molecule/module-card/test/fixtures.js +0 -28
  775. package/lib/molecule/module-card/test/fixtures.js.map +0 -1
  776. package/lib/molecule/news/test/fixtures.js +0 -37
  777. package/lib/molecule/news/test/fixtures.js.map +0 -1
  778. package/lib/molecule/notification-banner/test/fixtures.js +0 -28
  779. package/lib/molecule/notification-banner/test/fixtures.js.map +0 -1
  780. package/lib/molecule/pagination/test/fixtures.js +0 -25
  781. package/lib/molecule/pagination/test/fixtures.js.map +0 -1
  782. package/lib/molecule/payment-form/test/fixtures.js +0 -28
  783. package/lib/molecule/payment-form/test/fixtures.js.map +0 -1
  784. package/lib/molecule/pdf/test/fixtures.js +0 -22
  785. package/lib/molecule/pdf/test/fixtures.js.map +0 -1
  786. package/lib/molecule/popin/test/fixtures.js +0 -34
  787. package/lib/molecule/popin/test/fixtures.js.map +0 -1
  788. package/lib/molecule/product-card/test/fixtures.js +0 -22
  789. package/lib/molecule/product-card/test/fixtures.js.map +0 -1
  790. package/lib/molecule/progress-bar/test/fixtures.js +0 -25
  791. package/lib/molecule/progress-bar/test/fixtures.js.map +0 -1
  792. package/lib/molecule/questions/drop-down/test/fixtures.js +0 -25
  793. package/lib/molecule/questions/drop-down/test/fixtures.js.map +0 -1
  794. package/lib/molecule/questions/free-text/test/fixtures.js +0 -28
  795. package/lib/molecule/questions/free-text/test/fixtures.js.map +0 -1
  796. package/lib/molecule/questions/qcm/test/fixtures.js +0 -31
  797. package/lib/molecule/questions/qcm/test/fixtures.js.map +0 -1
  798. package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -25
  799. package/lib/molecule/questions/qcm-drag/test/fixtures.js.map +0 -1
  800. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -25
  801. package/lib/molecule/questions/qcm-graphic/test/fixtures.js.map +0 -1
  802. package/lib/molecule/questions/question-range/test/fixtures.js +0 -22
  803. package/lib/molecule/questions/question-range/test/fixtures.js.map +0 -1
  804. package/lib/molecule/questions/template/test/fixtures.js +0 -25
  805. package/lib/molecule/questions/template/test/fixtures.js.map +0 -1
  806. package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
  807. package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
  808. package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
  809. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  810. package/lib/molecule/resource-player/test/fixtures.js +0 -40
  811. package/lib/molecule/resource-player/test/fixtures.js.map +0 -1
  812. package/lib/molecule/review-correction-popin/test/fixtures.js +0 -25
  813. package/lib/molecule/review-correction-popin/test/fixtures.js.map +0 -1
  814. package/lib/molecule/review-header-steps/test/fixtures.js +0 -37
  815. package/lib/molecule/review-header-steps/test/fixtures.js.map +0 -1
  816. package/lib/molecule/scope-content/test/fixtures.js +0 -43
  817. package/lib/molecule/scope-content/test/fixtures.js.map +0 -1
  818. package/lib/molecule/scope-tabs/test/fixtures.js +0 -28
  819. package/lib/molecule/scope-tabs/test/fixtures.js.map +0 -1
  820. package/lib/molecule/search/test/fixtures.js +0 -25
  821. package/lib/molecule/search/test/fixtures.js.map +0 -1
  822. package/lib/molecule/search-form/test/fixtures.js +0 -22
  823. package/lib/molecule/search-form/test/fixtures.js.map +0 -1
  824. package/lib/molecule/select-multiple/test/fixtures.js +0 -49
  825. package/lib/molecule/select-multiple/test/fixtures.js.map +0 -1
  826. package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -31
  827. package/lib/molecule/setup-cohort-item/test/fixtures.js.map +0 -1
  828. package/lib/molecule/setup-section/test/fixtures.js +0 -40
  829. package/lib/molecule/setup-section/test/fixtures.js.map +0 -1
  830. package/lib/molecule/setup-sections/test/fixtures.js +0 -31
  831. package/lib/molecule/setup-sections/test/fixtures.js.map +0 -1
  832. package/lib/molecule/setup-slide/test/fixtures.js +0 -40
  833. package/lib/molecule/setup-slide/test/fixtures.js.map +0 -1
  834. package/lib/molecule/setup-slider/test/fixtures.js +0 -25
  835. package/lib/molecule/setup-slider/test/fixtures.js.map +0 -1
  836. package/lib/molecule/share/test/fixtures.js +0 -22
  837. package/lib/molecule/share/test/fixtures.js.map +0 -1
  838. package/lib/molecule/ssmenu-list/test/fixtures.js +0 -31
  839. package/lib/molecule/ssmenu-list/test/fixtures.js.map +0 -1
  840. package/lib/molecule/subscription-freemium/test/fixtures.js +0 -22
  841. package/lib/molecule/subscription-freemium/test/fixtures.js.map +0 -1
  842. package/lib/molecule/subscription-premium/test/fixtures.js +0 -25
  843. package/lib/molecule/subscription-premium/test/fixtures.js.map +0 -1
  844. package/lib/molecule/table/test/fixtures.js +0 -31
  845. package/lib/molecule/table/test/fixtures.js.map +0 -1
  846. package/lib/molecule/teams-popin/test/fixtures.js +0 -46
  847. package/lib/molecule/teams-popin/test/fixtures.js.map +0 -1
  848. package/lib/molecule/theme-image/test/fixtures.js +0 -22
  849. package/lib/molecule/theme-image/test/fixtures.js.map +0 -1
  850. package/lib/molecule/titled-checkbox/test/fixtures.js +0 -28
  851. package/lib/molecule/titled-checkbox/test/fixtures.js.map +0 -1
  852. package/lib/molecule/unsubscribe/test/fixtures.js +0 -25
  853. package/lib/molecule/unsubscribe/test/fixtures.js.map +0 -1
  854. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -28
  855. package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  856. package/lib/molecule/video-iframe/test/fixtures.js +0 -40
  857. package/lib/molecule/video-iframe/test/fixtures.js.map +0 -1
  858. package/lib/molecule/video-player/test/fixtures.js +0 -46
  859. package/lib/molecule/video-player/test/fixtures.js.map +0 -1
  860. package/lib/molecule/wizard-summary/test/fixtures.js +0 -37
  861. package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
  862. package/lib/organism/accordion/container/test/fixtures.js +0 -28
  863. package/lib/organism/accordion/container/test/fixtures.js.map +0 -1
  864. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -28
  865. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  866. package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
  867. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  868. package/lib/organism/accordion/part/test/fixtures.js +0 -25
  869. package/lib/organism/accordion/part/test/fixtures.js.map +0 -1
  870. package/lib/organism/accordion/toggler/test/fixtures.js +0 -28
  871. package/lib/organism/accordion/toggler/test/fixtures.js.map +0 -1
  872. package/lib/organism/brand-analytics/test/fixtures.js +0 -37
  873. package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
  874. package/lib/organism/brand-dashboard/test/fixtures.js +0 -25
  875. package/lib/organism/brand-dashboard/test/fixtures.js.map +0 -1
  876. package/lib/organism/brand-form/test/fixtures.js +0 -52
  877. package/lib/organism/brand-form/test/fixtures.js.map +0 -1
  878. package/lib/organism/brand-table/test/fixtures.js +0 -31
  879. package/lib/organism/brand-table/test/fixtures.js.map +0 -1
  880. package/lib/organism/brand-upload/test/fixtures.js +0 -25
  881. package/lib/organism/brand-upload/test/fixtures.js.map +0 -1
  882. package/lib/organism/cards-grid/test/fixtures.js +0 -31
  883. package/lib/organism/cards-grid/test/fixtures.js.map +0 -1
  884. package/lib/organism/cart/test/fixtures.js +0 -22
  885. package/lib/organism/cart/test/fixtures.js.map +0 -1
  886. package/lib/organism/content-translation/test/fixtures.js +0 -25
  887. package/lib/organism/content-translation/test/fixtures.js.map +0 -1
  888. package/lib/organism/course-selection/test/fixtures.js +0 -40
  889. package/lib/organism/course-selection/test/fixtures.js.map +0 -1
  890. package/lib/organism/discussion/test/fixtures.js +0 -31
  891. package/lib/organism/discussion/test/fixtures.js.map +0 -1
  892. package/lib/organism/get-the-app/test/fixtures.js +0 -22
  893. package/lib/organism/get-the-app/test/fixtures.js.map +0 -1
  894. package/lib/organism/grid-list/test/fixtures.js +0 -22
  895. package/lib/organism/grid-list/test/fixtures.js.map +0 -1
  896. package/lib/organism/header/test/fixtures.js +0 -22
  897. package/lib/organism/header/test/fixtures.js.map +0 -1
  898. package/lib/organism/hero/test/fixtures.js +0 -28
  899. package/lib/organism/hero/test/fixtures.js.map +0 -1
  900. package/lib/organism/list-item/test/fixtures.js +0 -31
  901. package/lib/organism/list-item/test/fixtures.js.map +0 -1
  902. package/lib/organism/list-items/test/fixtures.js +0 -28
  903. package/lib/organism/list-items/test/fixtures.js.map +0 -1
  904. package/lib/organism/mooc/image-slider/test/fixtures.js +0 -25
  905. package/lib/organism/mooc/image-slider/test/fixtures.js.map +0 -1
  906. package/lib/organism/mooc-footer/test/fixtures.js +0 -37
  907. package/lib/organism/mooc-footer/test/fixtures.js.map +0 -1
  908. package/lib/organism/mooc-header/test/fixtures.js +0 -49
  909. package/lib/organism/mooc-header/test/fixtures.js.map +0 -1
  910. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  911. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
  912. package/lib/organism/popin/test/fixtures.js +0 -22
  913. package/lib/organism/popin/test/fixtures.js.map +0 -1
  914. package/lib/organism/resource-browser/test/fixtures.js +0 -58
  915. package/lib/organism/resource-browser/test/fixtures.js.map +0 -1
  916. package/lib/organism/search-and-chips-results/test/fixtures.js +0 -37
  917. package/lib/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  918. package/lib/organism/settings/test/fixtures.js +0 -31
  919. package/lib/organism/settings/test/fixtures.js.map +0 -1
  920. package/lib/organism/setup-header/test/fixtures.js +0 -25
  921. package/lib/organism/setup-header/test/fixtures.js.map +0 -1
  922. package/lib/organism/sidebar/test/fixtures.js +0 -37
  923. package/lib/organism/sidebar/test/fixtures.js.map +0 -1
  924. package/lib/organism/slider/test/fixtures.js +0 -25
  925. package/lib/organism/slider/test/fixtures.js.map +0 -1
  926. package/lib/organism/user-preferences/test/fixtures.js +0 -22
  927. package/lib/organism/user-preferences/test/fixtures.js.map +0 -1
  928. package/lib/organism/wizard-contents/test/fixtures.js +0 -37
  929. package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
  930. package/lib/template/activity/test/fixtures.js +0 -34
  931. package/lib/template/activity/test/fixtures.js.map +0 -1
  932. package/lib/template/app-player/loading/test/fixtures.js +0 -22
  933. package/lib/template/app-player/loading/test/fixtures.js.map +0 -1
  934. package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -46
  935. package/lib/template/app-player/player/slides/footer/test/fixtures.js.map +0 -1
  936. package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -37
  937. package/lib/template/app-player/player/slides/header/test/fixtures.js.map +0 -1
  938. package/lib/template/app-player/player/slides/test/fixtures.js +0 -121
  939. package/lib/template/app-player/player/slides/test/fixtures.js.map +0 -1
  940. package/lib/template/app-player/player/test/fixtures.js +0 -85
  941. package/lib/template/app-player/player/test/fixtures.js.map +0 -1
  942. package/lib/template/app-player/popin-correction/test/fixtures.js +0 -73
  943. package/lib/template/app-player/popin-correction/test/fixtures.js.map +0 -1
  944. package/lib/template/app-player/popin-end/test/fixtures.js +0 -79
  945. package/lib/template/app-player/popin-end/test/fixtures.js.map +0 -1
  946. package/lib/template/app-player/popin-header/test/fixtures.js +0 -46
  947. package/lib/template/app-player/popin-header/test/fixtures.js.map +0 -1
  948. package/lib/template/back-office/brand-create/test/fixtures.js +0 -31
  949. package/lib/template/back-office/brand-create/test/fixtures.js.map +0 -1
  950. package/lib/template/back-office/brand-list/test/fixtures.js +0 -28
  951. package/lib/template/back-office/brand-list/test/fixtures.js.map +0 -1
  952. package/lib/template/back-office/brand-update/test/fixtures.js +0 -133
  953. package/lib/template/back-office/brand-update/test/fixtures.js.map +0 -1
  954. package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -37
  955. package/lib/template/back-office/dashboard-preview/test/fixtures.js.map +0 -1
  956. package/lib/template/battle-requests/test/fixtures.js +0 -22
  957. package/lib/template/battle-requests/test/fixtures.js.map +0 -1
  958. package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -22
  959. package/lib/template/cockpit/jw-uploader/test/fixtures.js.map +0 -1
  960. package/lib/template/common/authors/test/fixtures.js +0 -25
  961. package/lib/template/common/authors/test/fixtures.js.map +0 -1
  962. package/lib/template/common/coorp-header/test/fixtures.js +0 -25
  963. package/lib/template/common/coorp-header/test/fixtures.js.map +0 -1
  964. package/lib/template/common/dashboard/test/fixtures.js +0 -28
  965. package/lib/template/common/dashboard/test/fixtures.js.map +0 -1
  966. package/lib/template/common/discipline/test/fixtures.js +0 -73
  967. package/lib/template/common/discipline/test/fixtures.js.map +0 -1
  968. package/lib/template/common/search-page/test/fixtures.js +0 -28
  969. package/lib/template/common/search-page/test/fixtures.js.map +0 -1
  970. package/lib/template/external-course/test/fixtures.js +0 -49
  971. package/lib/template/external-course/test/fixtures.js.map +0 -1
  972. package/lib/template/teams-dashboard/test/fixtures.js +0 -28
  973. package/lib/template/teams-dashboard/test/fixtures.js.map +0 -1
@@ -0,0 +1,60 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value cm_grey_400 from colors;
3
+ @value white from colors;
4
+ @value box_shadow_light_dark from colors;
5
+ @value box_shadow_medium_dark from colors;
6
+
7
+ .textBase {
8
+ font-family: "Gilroy";
9
+ font-style: normal;
10
+ }
11
+
12
+ .skillCardWrapper {
13
+ display: flex;
14
+ flex-direction: column;
15
+ max-width: 353px;
16
+ min-width: 245px;
17
+ height: 242px;
18
+ box-shadow: 0px 4px 16px box_shadow_light_dark;
19
+ transition: box-shadow 0.15s ease-in-out;
20
+ border-radius: 8px 8px 12px 12px;
21
+ }
22
+
23
+ .skillCardWrapper:hover {
24
+ box-shadow: 0px 4px 48px box_shadow_medium_dark;
25
+ }
26
+
27
+ .skillTitle {
28
+ composes: textBase;
29
+ font-weight: 600;
30
+ font-size: 20px;
31
+ line-height: 28px;
32
+ display: flex;
33
+ align-items: center;
34
+ height: 112px;
35
+ border-radius: 8px 8px 0px 0px;
36
+ color: white;
37
+ padding: 0px 24px;
38
+ user-select: none;
39
+ }
40
+
41
+ .questionReviseIcon {
42
+ padding-right : 8px;
43
+ }
44
+
45
+ .questionReviseText {
46
+ composes: textBase;
47
+ display: flex;
48
+ align-items : center;
49
+ font-weight: 400;
50
+ font-size: 16px;
51
+ line-height: 22px;
52
+ color: cm_grey_400;
53
+ padding: 16px 24px 24px;
54
+ user-select: none;
55
+
56
+ }
57
+
58
+ .buttonWrapper {
59
+ padding: 0px 24px;
60
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = require("./default");
7
+
8
+ 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); }
9
+
10
+ var _default = {
11
+ props: _extends(_extends({}, _default2.defaultProps), {}, {
12
+ skillTitle: 'This is a custom skill',
13
+ isCustom: true
14
+ })
15
+ };
16
+ exports.default = _default;
17
+ //# sourceMappingURL=custom-skill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/custom-skill.js"],"names":["props","defaultProps","skillTitle","isCustom"],"mappings":";;;;;AAAA;;;;eAEe;AACbA,EAAAA,KAAK,wBAAMC,sBAAN;AAAoBC,IAAAA,UAAU,EAAE,wBAAhC;AAA0DC,IAAAA,QAAQ,EAAE;AAApE;AADQ,C","sourcesContent":["import {defaultProps} from './default';\n\nexport default {\n props: {...defaultProps, skillTitle: 'This is a custom skill', isCustom: true}\n};\n"],"file":"custom-skill.js"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = exports.defaultProps = void 0;
5
+ const defaultProps = {
6
+ 'aria-label': 'Skill Card',
7
+ skillTitle: 'Critical thinking and analysis',
8
+ skillAriaLabel: 'Skill aria label',
9
+ buttonLabel: 'Revise this skill',
10
+ buttonAriaLabel: 'Button aria label',
11
+ reviseLabel: '75 questions to revise',
12
+ reviseAriaLabel: 'revise aria label',
13
+ isCustom: undefined,
14
+ onClick: () => console.log('revise')
15
+ };
16
+ exports.defaultProps = defaultProps;
17
+ var _default = {
18
+ props: defaultProps
19
+ };
20
+ exports.default = _default;
21
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/default.js"],"names":["defaultProps","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","undefined","onClick","console","log","props"],"mappings":";;;;AAAO,MAAMA,YAAY,GAAG;AAC1B,gBAAc,YADY;AAE1BC,EAAAA,UAAU,EAAE,gCAFc;AAG1BC,EAAAA,cAAc,EAAE,kBAHU;AAI1BC,EAAAA,WAAW,EAAE,mBAJa;AAK1BC,EAAAA,eAAe,EAAE,mBALS;AAM1BC,EAAAA,WAAW,EAAE,wBANa;AAO1BC,EAAAA,eAAe,EAAE,mBAPS;AAQ1BC,EAAAA,QAAQ,EAAEC,SARgB;AAS1BC,EAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ;AATW,CAArB;;eAYQ;AACbC,EAAAA,KAAK,EAAEZ;AADM,C","sourcesContent":["export const defaultProps = {\n 'aria-label': 'Skill Card',\n skillTitle: 'Critical thinking and analysis',\n skillAriaLabel: 'Skill aria label',\n buttonLabel: 'Revise this skill',\n buttonAriaLabel: 'Button aria label',\n reviseLabel: '75 questions to revise',\n reviseAriaLabel: 'revise aria label',\n isCustom: undefined,\n onClick: () => console.log('revise')\n};\n\nexport default {\n props: defaultProps\n};\n"],"file":"default.js"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = exports.defaultProps = void 0;
5
+ const defaultProps = {
6
+ 'aria-label': 'Skill Card',
7
+ skillTitle: 'Critical thinking and analysis',
8
+ buttonLabel: 'Revise this skill',
9
+ reviseLabel: '75 questions to revise',
10
+ isCustom: undefined,
11
+ onClick: () => console.log('revise - no aria')
12
+ };
13
+ exports.defaultProps = defaultProps;
14
+ var _default = {
15
+ props: defaultProps
16
+ };
17
+ exports.default = _default;
18
+ //# sourceMappingURL=no-aria-labels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/no-aria-labels.js"],"names":["defaultProps","skillTitle","buttonLabel","reviseLabel","isCustom","undefined","onClick","console","log","props"],"mappings":";;;;AAAO,MAAMA,YAAY,GAAG;AAC1B,gBAAc,YADY;AAE1BC,EAAAA,UAAU,EAAE,gCAFc;AAG1BC,EAAAA,WAAW,EAAE,mBAHa;AAI1BC,EAAAA,WAAW,EAAE,wBAJa;AAK1BC,EAAAA,QAAQ,EAAEC,SALgB;AAM1BC,EAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AANW,CAArB;;eASQ;AACbC,EAAAA,KAAK,EAAET;AADM,C","sourcesContent":["export const defaultProps = {\n 'aria-label': 'Skill Card',\n skillTitle: 'Critical thinking and analysis',\n buttonLabel: 'Revise this skill',\n reviseLabel: '75 questions to revise',\n isCustom: undefined,\n onClick: () => console.log('revise - no aria')\n};\n\nexport default {\n props: defaultProps\n};\n"],"file":"no-aria-labels.js"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = require("./default");
7
+
8
+ 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); }
9
+
10
+ var _default = {
11
+ props: _extends(_extends({}, _default2.defaultProps), {}, {
12
+ skillTitle: 'Agility',
13
+ isCustom: false
14
+ })
15
+ };
16
+ exports.default = _default;
17
+ //# sourceMappingURL=short-skill-title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/short-skill-title.js"],"names":["props","defaultProps","skillTitle","isCustom"],"mappings":";;;;;AAAA;;;;eAEe;AACbA,EAAAA,KAAK,wBAAMC,sBAAN;AAAoBC,IAAAA,UAAU,EAAE,SAAhC;AAA2CC,IAAAA,QAAQ,EAAE;AAArD;AADQ,C","sourcesContent":["import {defaultProps} from './default';\n\nexport default {\n props: {...defaultProps, skillTitle: 'Agility', isCustom: false}\n};\n"],"file":"short-skill-title.js"}
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+
3
+ var _browserEnv = _interopRequireDefault(require("browser-env"));
4
+
5
+ var _ava = _interopRequireDefault(require("ava"));
6
+
7
+ var _react = _interopRequireDefault(require("react"));
8
+
9
+ var _enzyme = require("enzyme");
10
+
11
+ var _enzymeAdapterReact = _interopRequireDefault(require("enzyme-adapter-react-16"));
12
+
13
+ var _ = _interopRequireDefault(require(".."));
14
+
15
+ var _customSkill = _interopRequireDefault(require("./fixtures/custom-skill"));
16
+
17
+ var _noAriaLabels = _interopRequireDefault(require("./fixtures/no-aria-labels"));
18
+
19
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
+
21
+ 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); }
22
+
23
+ (0, _browserEnv.default)();
24
+ (0, _enzyme.configure)({
25
+ adapter: new _enzymeAdapterReact.default()
26
+ });
27
+ (0, _ava.default)('onClick should be reachable, should match given aria-label', t => {
28
+ let buttonWasClicked = false;
29
+ _customSkill.default.props = _extends(_extends({}, _customSkill.default.props), {}, {
30
+ onClick: () => {
31
+ buttonWasClicked = true;
32
+ }
33
+ });
34
+ const wrapper = (0, _enzyme.mount)( /*#__PURE__*/_react.default.createElement(_.default, _customSkill.default.props));
35
+ const cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
36
+ t.true(cardWrapper.at(0).exists());
37
+ t.is(cardWrapper.at(0).props()['aria-label'], 'Skill Card');
38
+ const skillTitle = cardWrapper.find('[data-name="skill-title"]');
39
+ t.true(skillTitle.at(0).exists());
40
+ t.is(skillTitle.at(0).props()['aria-label'], 'Skill aria label');
41
+ const questionsLabel = cardWrapper.find('[data-name="questions-to-revise-label"]');
42
+ t.true(questionsLabel.at(0).exists());
43
+ t.is(questionsLabel.at(0).props()['aria-label'], 'revise aria label');
44
+ const buttonLink = cardWrapper.find('[data-name="skill-card-button"]');
45
+ t.true(buttonLink.at(0).exists());
46
+ t.is(buttonLink.at(0).props()['aria-label'], 'Button aria label');
47
+ buttonLink.at(0).simulate('click', {});
48
+ t.true(buttonWasClicked);
49
+ t.pass();
50
+ });
51
+ (0, _ava.default)('onHover should change button text color && backgroundColor', t => {
52
+ const wrapper = (0, _enzyme.mount)( /*#__PURE__*/_react.default.createElement(_.default, _customSkill.default.props));
53
+ const expectedStyleNoHover = {
54
+ backgroundColor: 'rgba(0, 176, 255, 0.07)',
55
+ color: '#00B0FF',
56
+ transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
57
+ };
58
+ const expectedStyleOnHover = {
59
+ backgroundColor: '#00B0FF',
60
+ color: '#FFFFFF',
61
+ transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
62
+ };
63
+ let cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
64
+ t.true(cardWrapper.at(0).exists());
65
+ let buttonWrapper = cardWrapper.find('[data-name="button-wrapper"]');
66
+ t.true(buttonWrapper.at(0).exists());
67
+ let buttonLink = buttonWrapper.find('[data-name="skill-card-button"] button');
68
+ t.true(buttonLink.at(0).exists());
69
+ t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover); // hover
70
+
71
+ buttonWrapper.simulate('mouseover');
72
+ wrapper.update();
73
+ cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
74
+ buttonWrapper = cardWrapper.find('[data-name="button-wrapper"]');
75
+ t.true(buttonWrapper.at(0).exists());
76
+ buttonLink = buttonWrapper.find('[data-name="skill-card-button"] button');
77
+ t.true(buttonLink.at(0).exists());
78
+ t.deepEqual(buttonLink.at(0).props().style, expectedStyleOnHover); // leave hover
79
+
80
+ buttonWrapper.simulate('mouseleave');
81
+ wrapper.update();
82
+ buttonLink = wrapper.find('[data-name="skill-card-button"] button');
83
+ t.true(buttonLink.at(0).exists());
84
+ t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);
85
+ t.pass();
86
+ });
87
+ (0, _ava.default)('should use default aria-labels if aria-label props are not provided', t => {
88
+ const wrapper = (0, _enzyme.mount)( /*#__PURE__*/_react.default.createElement(_.default, _noAriaLabels.default.props));
89
+ const cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
90
+ t.true(cardWrapper.at(0).exists());
91
+ const skillTitle = cardWrapper.find('[data-name="skill-title"]');
92
+ t.true(skillTitle.at(0).exists());
93
+ t.is(skillTitle.at(0).props()['aria-label'], 'Critical thinking and analysis');
94
+ const questionsLabel = cardWrapper.find('[data-name="questions-to-revise-label"]');
95
+ t.true(questionsLabel.at(0).exists());
96
+ t.is(questionsLabel.at(0).props()['aria-label'], '75 questions to revise');
97
+ const buttonLink = cardWrapper.find('[data-name="skill-card-button"] button');
98
+ t.true(buttonLink.at(0).exists());
99
+ t.is(buttonLink.at(0).props()['aria-label'], 'Revise this skill');
100
+ t.pass();
101
+ });
102
+ //# sourceMappingURL=skill-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/skill-card/test/skill-card.js"],"names":["adapter","Adapter","t","buttonWasClicked","customSkillFixture","props","onClick","wrapper","cardWrapper","find","true","at","exists","is","skillTitle","questionsLabel","buttonLink","simulate","pass","expectedStyleNoHover","backgroundColor","color","transition","expectedStyleOnHover","buttonWrapper","deepEqual","style","update","noAriaLabelsFixtures"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,4DAAL,EAAmEC,CAAC,IAAI;AACtE,MAAIC,gBAAgB,GAAG,KAAvB;AACAC,uBAAmBC,KAAnB,yBACKD,qBAAmBC,KADxB;AAEEC,IAAAA,OAAO,EAAE,MAAM;AACbH,MAAAA,gBAAgB,GAAG,IAAnB;AACD;AAJH;AAMA,QAAMI,OAAO,GAAG,iCAAM,6BAAC,SAAD,EAAeH,qBAAmBC,KAAlC,CAAN,CAAhB;AAEA,QAAMG,WAAW,GAAGD,OAAO,CAACE,IAAR,CAAa,kCAAb,CAApB;AACAP,EAAAA,CAAC,CAACQ,IAAF,CAAOF,WAAW,CAACG,EAAZ,CAAe,CAAf,EAAkBC,MAAlB,EAAP;AACAV,EAAAA,CAAC,CAACW,EAAF,CAAKL,WAAW,CAACG,EAAZ,CAAe,CAAf,EAAkBN,KAAlB,GAA0B,YAA1B,CAAL,EAA8C,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AC,CAACQ,IAAF,CAAOK,cAAc,CAACJ,EAAf,CAAkB,CAAlB,EAAqBC,MAArB,EAAP;AACAV,EAAAA,CAAC,CAACW,EAAF,CAAKE,cAAc,CAACJ,EAAf,CAAkB,CAAlB,EAAqBN,KAArB,GAA6B,YAA7B,CAAL,EAAiD,wBAAjD;AAEA,QAAMW,UAAU,GAAGR,WAAW,CAACC,IAAZ,CAAiB,wCAAjB,CAAnB;AACAP,EAAAA,CAAC,CAACQ,IAAF,CAAOM,UAAU,CAACL,EAAX,CAAc,CAAd,EAAiBC,MAAjB,EAAP;AACAV,EAAAA,CAAC,CAACW,EAAF,CAAKG,UAAU,CAACL,EAAX,CAAc,CAAd,EAAiBN,KAAjB,GAAyB,YAAzB,CAAL,EAA6C,mBAA7C;AAEAH,EAAAA,CAAC,CAACgB,IAAF;AACD,CAnBD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {mount, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport SkillCard from '..';\nimport customSkillFixture from './fixtures/custom-skill';\nimport noAriaLabelsFixtures from './fixtures/no-aria-labels';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('onClick should be reachable, should match given aria-label', t => {\n let buttonWasClicked = false;\n customSkillFixture.props = {\n ...customSkillFixture.props,\n onClick: () => {\n buttonWasClicked = true;\n }\n };\n const wrapper = mount(<SkillCard {...customSkillFixture.props} />);\n\n const cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n t.is(cardWrapper.at(0).props()['aria-label'], 'Skill Card');\n\n const skillTitle = cardWrapper.find('[data-name=\"skill-title\"]');\n t.true(skillTitle.at(0).exists());\n t.is(skillTitle.at(0).props()['aria-label'], 'Skill aria label');\n\n const questionsLabel = cardWrapper.find('[data-name=\"questions-to-revise-label\"]');\n t.true(questionsLabel.at(0).exists());\n t.is(questionsLabel.at(0).props()['aria-label'], 'revise aria label');\n\n const buttonLink = cardWrapper.find('[data-name=\"skill-card-button\"]');\n t.true(buttonLink.at(0).exists());\n t.is(buttonLink.at(0).props()['aria-label'], 'Button aria label');\n buttonLink.at(0).simulate('click', {});\n t.true(buttonWasClicked);\n\n t.pass();\n});\n\ntest('onHover should change button text color && backgroundColor', t => {\n const wrapper = mount(<SkillCard {...customSkillFixture.props} />);\n\n const expectedStyleNoHover = {\n backgroundColor: 'rgba(0, 176, 255, 0.07)',\n color: '#00B0FF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n };\n\n const expectedStyleOnHover = {\n backgroundColor: '#00B0FF',\n color: '#FFFFFF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n };\n\n let cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n\n let buttonWrapper = cardWrapper.find('[data-name=\"button-wrapper\"]');\n t.true(buttonWrapper.at(0).exists());\n let buttonLink = buttonWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);\n\n // hover\n buttonWrapper.simulate('mouseover');\n\n wrapper.update();\n cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n buttonWrapper = cardWrapper.find('[data-name=\"button-wrapper\"]');\n t.true(buttonWrapper.at(0).exists());\n buttonLink = buttonWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleOnHover);\n\n // leave hover\n buttonWrapper.simulate('mouseleave');\n\n wrapper.update();\n\n buttonLink = wrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);\n\n t.pass();\n});\n\ntest('should use default aria-labels if aria-label props are not provided', t => {\n const wrapper = mount(<SkillCard {...noAriaLabelsFixtures.props} />);\n\n const cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n\n const skillTitle = cardWrapper.find('[data-name=\"skill-title\"]');\n t.true(skillTitle.at(0).exists());\n t.is(skillTitle.at(0).props()['aria-label'], 'Critical thinking and analysis');\n\n const questionsLabel = cardWrapper.find('[data-name=\"questions-to-revise-label\"]');\n t.true(questionsLabel.at(0).exists());\n t.is(questionsLabel.at(0).props()['aria-label'], '75 questions to revise');\n\n const buttonLink = cardWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.is(buttonLink.at(0).props()['aria-label'], 'Revise this skill');\n\n t.pass();\n});\n"],"file":"skill-card.js"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _classnames = _interopRequireDefault(require("classnames"));
11
+
12
+ var _inputTextWithTitledCheckbox = _interopRequireDefault(require("../../molecule/input-text-with-titled-checkbox"));
13
+
14
+ var _dragAndDropWrapper = _interopRequireDefault(require("../../molecule/drag-and-drop-wrapper"));
15
+
16
+ var _style = _interopRequireDefault(require("./style.css"));
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
+
20
+ 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); }
21
+
22
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
23
+
24
+ const ITEM = {
25
+ 'input-text': _inputTextWithTitledCheckbox.default,
26
+ 'drag-and-drop': _dragAndDropWrapper.default
27
+ };
28
+
29
+ const RewardsForm = ({
30
+ items
31
+ }) => {
32
+ const itemsView = items.map((_ref, index) => {
33
+ let {
34
+ type
35
+ } = _ref,
36
+ item = _objectWithoutPropertiesLoose(_ref, ["type"]);
37
+
38
+ const Component = ITEM[type];
39
+ return /*#__PURE__*/_react.default.createElement("li", {
40
+ key: index,
41
+ className: (0, _classnames.default)(_style.default.item, type === 'input-text' && _style.default.inputText),
42
+ "data-name": `reward-${index}`
43
+ }, /*#__PURE__*/_react.default.createElement(Component, item));
44
+ });
45
+ return /*#__PURE__*/_react.default.createElement("ul", {
46
+ className: _style.default.list
47
+ }, itemsView);
48
+ };
49
+
50
+ RewardsForm.propTypes = process.env.NODE_ENV !== "production" ? {
51
+ items: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _inputTextWithTitledCheckbox.default.propTypes)), _propTypes.default.shape(_extends({}, _dragAndDropWrapper.default.propTypes))]))
52
+ } : {};
53
+ var _default = RewardsForm;
54
+ exports.default = _default;
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/organism/rewards-form/index.js"],"names":["ITEM","InputTextWithTitledCheckbox","DragAndDropWrapper","RewardsForm","items","itemsView","map","index","type","item","Component","style","inputText","list","propTypes","PropTypes","arrayOf","oneOfType","shape"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,IAAI,GAAG;AACX,gBAAcC,oCADH;AAEX,mBAAiBC;AAFN,CAAb;;AAKA,MAAMC,WAAW,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAa;AAC/B,QAAMC,SAAS,GAAGD,KAAK,CAACE,GAAN,CAAU,OAAkBC,KAAlB,KAA4B;AAAA,QAA3B;AAACC,MAAAA;AAAD,KAA2B;AAAA,QAAjBC,IAAiB;;AACtD,UAAMC,SAAS,GAAGV,IAAI,CAACQ,IAAD,CAAtB;AACA,wBACE;AACE,MAAA,GAAG,EAAED,KADP;AAEE,MAAA,SAAS,EAAE,yBAAWI,eAAMF,IAAjB,EAAuBD,IAAI,KAAK,YAAT,IAAyBG,eAAMC,SAAtD,CAFb;AAGE,mBAAY,UAASL,KAAM;AAH7B,oBAKE,6BAAC,SAAD,EAAeE,IAAf,CALF,CADF;AASD,GAXiB,CAAlB;AAYA,sBAAO;AAAI,IAAA,SAAS,EAAEE,eAAME;AAArB,KAA4BR,SAA5B,CAAP;AACD,CAdD;;AAgBAF,WAAW,CAACW,SAAZ,2CAAwB;AACtBV,EAAAA,KAAK,EAAEW,mBAAUC,OAAV,CACLD,mBAAUE,SAAV,CAAoB,CAClBF,mBAAUG,KAAV,cAAoBjB,qCAA4Ba,SAAhD,EADkB,EAElBC,mBAAUG,KAAV,cAAoBhB,4BAAmBY,SAAvC,EAFkB,CAApB,CADK;AADe,CAAxB;eASeX,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport InputTextWithTitledCheckbox from '../../molecule/input-text-with-titled-checkbox';\nimport DragAndDropWrapper from '../../molecule/drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst ITEM = {\n 'input-text': InputTextWithTitledCheckbox,\n 'drag-and-drop': DragAndDropWrapper\n};\n\nconst RewardsForm = ({items}) => {\n const itemsView = items.map(({type, ...item}, index) => {\n const Component = ITEM[type];\n return (\n <li\n key={index}\n className={classnames(style.item, type === 'input-text' && style.inputText)}\n data-name={`reward-${index}`}\n >\n <Component {...item} />\n </li>\n );\n });\n return <ul className={style.list}>{itemsView}</ul>;\n};\n\nRewardsForm.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({...InputTextWithTitledCheckbox.propTypes}),\n PropTypes.shape({...DragAndDropWrapper.propTypes})\n ])\n )\n};\n\nexport default RewardsForm;\n"],"file":"index.js"}
@@ -0,0 +1,12 @@
1
+ .item {
2
+ margin-bottom: 34px;
3
+ }
4
+ .inputText {
5
+ width: 175px;
6
+ }
7
+
8
+ .list {
9
+ list-style-type: none;
10
+ margin: 0;
11
+ padding: 0;
12
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _checked = _interopRequireDefault(require("../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked"));
7
+
8
+ var _default2 = _interopRequireDefault(require("../../../../molecule/drag-and-drop-wrapper/test/fixtures/default"));
9
+
10
+ var _twoDragAndDrops = _interopRequireDefault(require("../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ 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); }
15
+
16
+ var _default = {
17
+ props: {
18
+ items: [_extends(_extends({}, _checked.default.props), {}, {
19
+ type: 'input-text'
20
+ }), _extends(_extends({}, _default2.default.props), {}, {
21
+ type: 'drag-and-drop'
22
+ }), _extends(_extends({}, _twoDragAndDrops.default.props), {}, {
23
+ type: 'drag-and-drop'
24
+ })]
25
+ }
26
+ };
27
+ exports.default = _default;
28
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/default.js"],"names":["props","items","checkedInputText","type","singleDragAndDrop","doubleDragAndDrop"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBACDC,iBAAiBF,KADhB;AACuBG,MAAAA,IAAI,EAAE;AAD7B,8BAEDC,kBAAkBJ,KAFjB;AAEwBG,MAAAA,IAAI,EAAE;AAF9B,8BAGDE,yBAAkBL,KAHjB;AAGwBG,MAAAA,IAAI,EAAE;AAH9B;AADF;AADM,C","sourcesContent":["import checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked';\nimport singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';\nimport doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';\n\nexport default {\n props: {\n items: [\n {...checkedInputText.props, type: 'input-text'},\n {...singleDragAndDrop.props, type: 'drag-and-drop'},\n {...doubleDragAndDrop.props, type: 'drag-and-drop'}\n ]\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ items: []
8
+ }
9
+ };
10
+ exports.default = _default;
11
+ //# sourceMappingURL=no-rewards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/no-rewards.js"],"names":["props","items"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE;AADF;AADM,C","sourcesContent":["export default {\n props: {\n items: []\n }\n};\n"],"file":"no-rewards.js"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = _interopRequireDefault(require("../../../../molecule/drag-and-drop-wrapper/test/fixtures/default"));
7
+
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+
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
+
12
+ var _default = {
13
+ props: {
14
+ items: [_extends(_extends({}, _default2.default.props), {}, {
15
+ type: 'drag-and-drop'
16
+ })]
17
+ }
18
+ };
19
+ exports.default = _default;
20
+ //# sourceMappingURL=one-reward.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/one-reward.js"],"names":["props","items","singleDragAndDrop","type"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBAAKC,kBAAkBF,KAAvB;AAA8BG,MAAAA,IAAI,EAAE;AAApC;AADF;AADM,C","sourcesContent":["import singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';\n\nexport default {\n props: {\n items: [{...singleDragAndDrop.props, type: 'drag-and-drop'}]\n }\n};\n"],"file":"one-reward.js"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _checked = _interopRequireDefault(require("../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked"));
7
+
8
+ var _twoDragAndDrops = _interopRequireDefault(require("../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ 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); }
13
+
14
+ var _default = {
15
+ props: {
16
+ items: [_extends(_extends({}, _checked.default.props), {}, {
17
+ type: 'input-text'
18
+ }), _extends(_extends({}, _twoDragAndDrops.default.props), {}, {
19
+ type: 'drag-and-drop'
20
+ })]
21
+ }
22
+ };
23
+ exports.default = _default;
24
+ //# sourceMappingURL=two-rewards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/two-rewards.js"],"names":["props","items","checkedInputText","type","doubleDragAndDrop"],"mappings":";;;;;AAAA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBACDC,iBAAiBF,KADhB;AACuBG,MAAAA,IAAI,EAAE;AAD7B,8BAEDC,yBAAkBJ,KAFjB;AAEwBG,MAAAA,IAAI,EAAE;AAF9B;AADF;AADM,C","sourcesContent":["import checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked';\nimport doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';\n\nexport default {\n props: {\n items: [\n {...checkedInputText.props, type: 'input-text'},\n {...doubleDragAndDrop.props, type: 'drag-and-drop'}\n ]\n }\n};\n"],"file":"two-rewards.js"}
@@ -27,6 +27,8 @@ var _courseSelection = _interopRequireDefault(require("../course-selection"));
27
27
 
28
28
  var _courseSections = _interopRequireDefault(require("../../molecule/course-sections"));
29
29
 
30
+ var _rewardsForm = _interopRequireDefault(require("../rewards-form"));
31
+
30
32
  var _style = _interopRequireDefault(require("./style.css"));
31
33
 
32
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -75,6 +77,9 @@ const buildForm = content => {
75
77
 
76
78
  case 'organize-courses':
77
79
  return /*#__PURE__*/_react.default.createElement(_courseSections.default, content);
80
+
81
+ case 'rewards':
82
+ return /*#__PURE__*/_react.default.createElement(_rewardsForm.default, content);
78
83
  }
79
84
  };
80
85
 
@@ -184,6 +189,8 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
184
189
  type: _propTypes.default.oneOf(['courses'])
185
190
  })), _propTypes.default.shape(_extends(_extends({}, _courseSections.default.propTypes), {}, {
186
191
  type: _propTypes.default.oneOf(['organize-courses'])
192
+ })), _propTypes.default.shape(_extends(_extends({}, _rewardsForm.default.propTypes), {}, {
193
+ type: _propTypes.default.oneOf(['rewards'])
187
194
  }))]),
188
195
  previousStep: _propTypes.default.shape({
189
196
  label: _propTypes.default.string,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;AAAK,IAAA,SAAS,EAAEG,eAAME,WAAtB;AAAmC,iBAAW;AAA9C,KACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;AAAa,IAAA,KAAK,EAAED;AAApB,IAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMS,SAAS,GAAGC,OAAO,IAAI;AAC3B,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,UAAQC,IAAR;AACE,SAAK,MAAL;AACE,0BAAO,6BAAC,kBAAD,EAAeD,OAAf,CAAP;;AACF,SAAK,WAAL;AACE,0BAAO,6BAAC,2BAAD,EAAsBA,OAAtB,CAAP;;AACF,SAAK,aA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D,CAAhB;AAFR,KAT2B,EAa3BV,mBAAUE,KAAV,uBACKW,yBAAgBd,SADrB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,EAiB3BV,mBAAUE,KAAV,uBACKY,wBAAef,SADpB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;AAFR,KAjB2B,CAApB,CAVgB;AAgCzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CAhCW;AAoCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AApCe,CAA3B;eA2CetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"content-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm"],"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AhB;AAFR,KAjB2B,EAqB3BV,mBAAUE,KAAV,uBACKa,qBAAYhB,SADjB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KArB2B,CAApB,CAVgB;AAoCzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CApCW;AAwCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AAxCe,CAA3B;eA+CetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"content-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _threeSections = _interopRequireDefault(require("../../../../molecule/wizard-summary/test/fixtures/three-sections"));
7
+
8
+ var _default2 = _interopRequireDefault(require("../../../rewards-form/test/fixtures/default"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ 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); }
13
+
14
+ var _default = {
15
+ props: {
16
+ isLoading: false,
17
+ wizardHeader: {
18
+ title: 'Create a new certification',
19
+ onClick: () => console.log('Close')
20
+ },
21
+ steps: [{
22
+ title: 'General Informations',
23
+ done: true
24
+ }, {
25
+ title: 'Translations',
26
+ done: true
27
+ }, {
28
+ title: 'Assign populations',
29
+ done: true
30
+ }, {
31
+ title: 'Courses settings',
32
+ done: true
33
+ }, {
34
+ title: 'Rewards',
35
+ done: false,
36
+ current: true
37
+ }],
38
+ summary: _threeSections.default.props,
39
+ content: _extends(_extends({}, _default2.default.props), {}, {
40
+ type: 'rewards'
41
+ }),
42
+ previousStep: {
43
+ label: 'Previous Step',
44
+ onClick: () => console.log('Previous Step')
45
+ },
46
+ nextStep: {
47
+ type: 'publish',
48
+ label: 'Publish',
49
+ onClick: () => console.log('Next Step')
50
+ }
51
+ }
52
+ };
53
+ exports.default = _default;
54
+ //# sourceMappingURL=certification-rewards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/certification-rewards.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","rewardsForm","type","previousStep","label","nextStep"],"mappings":";;;;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,4BADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KALK,EASL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KATK,EAaL;AACEL,MAAAA,KAAK,EAAE,kBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAbK,EAiBL;AACEL,MAAAA,KAAK,EAAE,SADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KAjBK,CANF;AA6BLC,IAAAA,OAAO,EAAEC,uBAAcX,KA7BlB;AA8BLY,IAAAA,OAAO,wBACFC,kBAAYb,KADV;AAELc,MAAAA,IAAI,EAAE;AAFD,MA9BF;AAkCLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KAlCT;AAsCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,KAAK,EAAE,SAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAtCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport rewardsForm from '../../../rewards-form/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create a new certification',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: true\n },\n {\n title: 'Assign populations',\n done: true\n },\n {\n title: 'Courses settings',\n done: true\n },\n {\n title: 'Rewards',\n done: false,\n current: true\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...rewardsForm.props,\n type: 'rewards'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'publish',\n label: 'Publish',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"certification-rewards.js"}
@@ -258,9 +258,9 @@ class PopinCorrection extends _react.Component {
258
258
  text: klf.value
259
259
  }) : null, tips.value ? /*#__PURE__*/_react.default.createElement(SimpleText, {
260
260
  text: tips.value
261
- }) : null)), quitCta, /*#__PURE__*/_react.default.createElement(AssistanceLink, assistanceLink)), /*#__PURE__*/_react.default.createElement(_loader.default, {
262
- className: isLoading ? _style2.default.activeLoader : _style2.default.inactiveLoader
263
- })));
261
+ }) : null)), quitCta, /*#__PURE__*/_react.default.createElement(AssistanceLink, assistanceLink)), isLoading ? /*#__PURE__*/_react.default.createElement(_loader.default, {
262
+ className: _style2.default.activeLoader
263
+ }) : null));
264
264
  }
265
265
 
266
266
  }