@coorpacademy/components 10.13.10-alpha.1 → 10.13.12

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 (373) hide show
  1. package/es/atom/checkbox-with-title/style.css +2 -4
  2. package/es/atom/drag-and-drop/test/fixtures.js +0 -8
  3. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
  4. package/es/atom/image-upload/test/fixtures.js +2 -4
  5. package/es/atom/image-upload/test/fixtures.js.map +1 -1
  6. package/es/atom/input-checkbox/test/fixtures.js +0 -2
  7. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  8. package/es/atom/input-switch/test/fixtures.js +0 -10
  9. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  10. package/es/atom/input-text/test/fixtures.js +0 -2
  11. package/es/atom/input-text/test/fixtures.js.map +1 -1
  12. package/es/atom/input-textarea/test/fixtures.js +0 -4
  13. package/es/atom/input-textarea/test/fixtures.js.map +1 -1
  14. package/es/atom/loader/test/fixtures.js +0 -2
  15. package/es/atom/loader/test/fixtures.js.map +1 -1
  16. package/es/atom/select/test/fixtures.js +0 -4
  17. package/es/atom/select/test/fixtures.js.map +1 -1
  18. package/es/atom/title/test/fixtures.js +2 -6
  19. package/es/atom/title/test/fixtures.js.map +1 -1
  20. package/es/molecule/brand-form-group/test/fixtures.js +0 -2
  21. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
  22. package/es/molecule/card/test/fixtures.js +0 -6
  23. package/es/molecule/card/test/fixtures.js.map +1 -1
  24. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  25. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  26. package/es/molecule/course-section/index.js +19 -16
  27. package/es/molecule/course-section/index.js.map +1 -1
  28. package/es/molecule/course-section/style.css +12 -15
  29. package/es/molecule/course-section/test/fixtures/advanced-level.js +22 -0
  30. package/es/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  31. package/es/molecule/course-section/test/fixtures/base-level.js +18 -0
  32. package/es/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  33. package/es/molecule/course-section/test/fixtures/chapter.js +2 -2
  34. package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  35. package/es/molecule/course-section/test/fixtures/coach-level.js +24 -0
  36. package/es/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  37. package/es/molecule/course-section/test/fixtures/course.js +2 -2
  38. package/es/molecule/course-section/test/fixtures/course.js.map +1 -1
  39. package/es/molecule/course-sections/test/fixtures/default.js +20 -20
  40. package/es/molecule/course-sections/test/fixtures/default.js.map +1 -1
  41. package/es/molecule/drag-and-drop-wrapper/style.css +5 -2
  42. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  43. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  44. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  45. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  46. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  47. package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  48. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  49. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  50. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  51. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  52. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  53. package/es/molecule/list-badges/index.js +38 -0
  54. package/es/molecule/list-badges/index.js.map +1 -0
  55. package/es/molecule/list-badges/style.css +15 -0
  56. package/es/molecule/list-badges/test/fixtures/advanced.js +9 -0
  57. package/es/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  58. package/es/molecule/list-badges/test/fixtures/base.js +8 -0
  59. package/es/molecule/list-badges/test/fixtures/base.js.map +1 -0
  60. package/es/molecule/list-badges/test/fixtures/coach.js +10 -0
  61. package/es/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  62. package/es/molecule/list-badges/test/fixtures/course.js +8 -0
  63. package/es/molecule/list-badges/test/fixtures/course.js.map +1 -0
  64. package/es/molecule/questions/free-text/test/fixtures.js +2 -4
  65. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  66. package/es/molecule/select-multiple/test/fixtures.js +0 -8
  67. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  68. package/es/molecule/setup-slide/test/fixtures.js +0 -2
  69. package/es/molecule/setup-slide/test/fixtures.js.map +1 -1
  70. package/es/organism/brand-dashboard/test/fixtures.js +10 -2
  71. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  72. package/es/organism/brand-form/test/fixtures.js +0 -2
  73. package/es/organism/brand-form/test/fixtures.js.map +1 -1
  74. package/es/organism/mooc-header/test/fixtures.js +0 -6
  75. package/es/organism/mooc-header/test/fixtures.js.map +1 -1
  76. package/es/organism/rewards-form/index.js +41 -0
  77. package/es/organism/rewards-form/index.js.map +1 -0
  78. package/es/organism/rewards-form/style.css +12 -0
  79. package/es/organism/rewards-form/test/fixtures/default.js +17 -0
  80. package/es/organism/rewards-form/test/fixtures/default.js.map +1 -0
  81. package/es/organism/rewards-form/test/fixtures/no-rewards.js +6 -0
  82. package/es/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  83. package/es/organism/rewards-form/test/fixtures/one-reward.js +11 -0
  84. package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  85. package/es/organism/rewards-form/test/fixtures/two-rewards.js +14 -0
  86. package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  87. package/es/organism/wizard-contents/index.js +6 -0
  88. package/es/organism/wizard-contents/index.js.map +1 -1
  89. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +45 -0
  90. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  91. package/es/template/app-player/popin-correction/index.js +3 -3
  92. package/es/template/app-player/popin-correction/index.js.map +1 -1
  93. package/es/template/app-player/popin-correction/style.css +0 -4
  94. package/es/template/app-player/popin-end/test/fixtures.js +0 -2
  95. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  96. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +22 -0
  97. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  98. package/es/template/back-office/brand-update/test/fixtures.js +2 -24
  99. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  100. package/es/template/teams-dashboard/test/fixtures.js +0 -2
  101. package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
  102. package/lib/atom/checkbox-with-title/style.css +2 -4
  103. package/lib/atom/drag-and-drop/test/fixtures.js +0 -12
  104. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
  105. package/lib/atom/image-upload/test/fixtures.js +3 -6
  106. package/lib/atom/image-upload/test/fixtures.js.map +1 -1
  107. package/lib/atom/input-checkbox/test/fixtures.js +0 -3
  108. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  109. package/lib/atom/input-switch/test/fixtures.js +0 -15
  110. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  111. package/lib/atom/input-text/test/fixtures.js +0 -3
  112. package/lib/atom/input-text/test/fixtures.js.map +1 -1
  113. package/lib/atom/input-textarea/test/fixtures.js +0 -6
  114. package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
  115. package/lib/atom/loader/test/fixtures.js +0 -3
  116. package/lib/atom/loader/test/fixtures.js.map +1 -1
  117. package/lib/atom/select/test/fixtures.js +0 -6
  118. package/lib/atom/select/test/fixtures.js.map +1 -1
  119. package/lib/atom/title/test/fixtures.js +2 -8
  120. package/lib/atom/title/test/fixtures.js.map +1 -1
  121. package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
  122. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
  123. package/lib/molecule/card/test/fixtures.js +0 -9
  124. package/lib/molecule/card/test/fixtures.js.map +1 -1
  125. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  126. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  127. package/lib/molecule/course-section/index.js +20 -16
  128. package/lib/molecule/course-section/index.js.map +1 -1
  129. package/lib/molecule/course-section/style.css +12 -15
  130. package/lib/molecule/course-section/test/fixtures/advanced-level.js +27 -0
  131. package/lib/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  132. package/lib/molecule/course-section/test/fixtures/base-level.js +23 -0
  133. package/lib/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  134. package/lib/molecule/course-section/test/fixtures/chapter.js +2 -2
  135. package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  136. package/lib/molecule/course-section/test/fixtures/coach-level.js +29 -0
  137. package/lib/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  138. package/lib/molecule/course-section/test/fixtures/course.js +2 -2
  139. package/lib/molecule/course-section/test/fixtures/course.js.map +1 -1
  140. package/lib/molecule/course-sections/test/fixtures/default.js +20 -20
  141. package/lib/molecule/course-sections/test/fixtures/default.js.map +1 -1
  142. package/lib/molecule/drag-and-drop-wrapper/style.css +5 -2
  143. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  144. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  145. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  146. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  147. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  148. package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  149. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  150. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  151. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  152. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  153. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  154. package/lib/molecule/list-badges/index.js +50 -0
  155. package/lib/molecule/list-badges/index.js.map +1 -0
  156. package/lib/molecule/list-badges/style.css +15 -0
  157. package/lib/molecule/list-badges/test/fixtures/advanced.js +19 -0
  158. package/lib/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  159. package/lib/molecule/list-badges/test/fixtures/base.js +17 -0
  160. package/lib/molecule/list-badges/test/fixtures/base.js.map +1 -0
  161. package/lib/molecule/list-badges/test/fixtures/coach.js +21 -0
  162. package/lib/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  163. package/lib/molecule/list-badges/test/fixtures/course.js +17 -0
  164. package/lib/molecule/list-badges/test/fixtures/course.js.map +1 -0
  165. package/lib/molecule/questions/free-text/test/fixtures.js +2 -5
  166. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  167. package/lib/molecule/select-multiple/test/fixtures.js +0 -12
  168. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  169. package/lib/molecule/setup-slide/test/fixtures.js +0 -3
  170. package/lib/molecule/setup-slide/test/fixtures.js.map +1 -1
  171. package/lib/organism/brand-dashboard/test/fixtures.js +14 -2
  172. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  173. package/lib/organism/brand-form/test/fixtures.js +0 -3
  174. package/lib/organism/brand-form/test/fixtures.js.map +1 -1
  175. package/lib/organism/mooc-header/test/fixtures.js +0 -9
  176. package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
  177. package/lib/organism/rewards-form/index.js +55 -0
  178. package/lib/organism/rewards-form/index.js.map +1 -0
  179. package/lib/organism/rewards-form/style.css +12 -0
  180. package/lib/organism/rewards-form/test/fixtures/default.js +28 -0
  181. package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -0
  182. package/lib/organism/rewards-form/test/fixtures/no-rewards.js +11 -0
  183. package/lib/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  184. package/lib/organism/rewards-form/test/fixtures/one-reward.js +20 -0
  185. package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  186. package/lib/organism/rewards-form/test/fixtures/two-rewards.js +24 -0
  187. package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  188. package/lib/organism/wizard-contents/index.js +7 -0
  189. package/lib/organism/wizard-contents/index.js.map +1 -1
  190. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js +54 -0
  191. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  192. package/lib/template/app-player/popin-correction/index.js +3 -3
  193. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  194. package/lib/template/app-player/popin-correction/style.css +0 -4
  195. package/lib/template/app-player/popin-end/test/fixtures.js +0 -3
  196. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  197. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +32 -0
  198. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  199. package/lib/template/back-office/brand-update/test/fixtures.js +2 -35
  200. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  201. package/lib/template/teams-dashboard/test/fixtures.js +0 -3
  202. package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
  203. package/package.json +2 -2
  204. package/es/atom/button-link/test/fixtures.js +0 -31
  205. package/es/atom/button-link/test/fixtures.js.map +0 -1
  206. package/es/atom/button-link-icon-only/test/fixtures.js +0 -21
  207. package/es/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  208. package/es/atom/button-menu/test/fixtures.js +0 -15
  209. package/es/atom/button-menu/test/fixtures.js.map +0 -1
  210. package/es/atom/card-image-preview/test/fixtures.js +0 -15
  211. package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
  212. package/es/atom/checkbox-with-title/test/fixtures.js +0 -15
  213. package/es/atom/checkbox-with-title/test/fixtures.js.map +0 -1
  214. package/es/atom/chips/test/fixtures.js +0 -17
  215. package/es/atom/chips/test/fixtures.js.map +0 -1
  216. package/es/atom/content-badge/test/fixtures.js +0 -29
  217. package/es/atom/content-badge/test/fixtures.js.map +0 -1
  218. package/es/atom/empty-search-result/test/fixtures.js +0 -13
  219. package/es/atom/empty-search-result/test/fixtures.js.map +0 -1
  220. package/es/atom/input-search/test/fixtures.js +0 -19
  221. package/es/atom/input-search/test/fixtures.js.map +0 -1
  222. package/es/atom/input-text-with-title/test/fixtures.js +0 -15
  223. package/es/atom/input-text-with-title/test/fixtures.js.map +0 -1
  224. package/es/atom/review-header-step-item/test/fixtures.js +0 -19
  225. package/es/atom/review-header-step-item/test/fixtures.js.map +0 -1
  226. package/es/atom/tag/test/fixtures.js +0 -21
  227. package/es/atom/tag/test/fixtures.js.map +0 -1
  228. package/es/atom/wizard-steps/test/fixtures.js +0 -17
  229. package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
  230. package/es/molecule/banner/test/fixtures.js +0 -23
  231. package/es/molecule/banner/test/fixtures.js.map +0 -1
  232. package/es/molecule/bullet-point-menu-button/test/fixtures.js +0 -15
  233. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  234. package/es/molecule/cm-popin/test/fixtures.js +0 -17
  235. package/es/molecule/cm-popin/test/fixtures.js.map +0 -1
  236. package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
  237. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  238. package/es/molecule/course-section/test/fixtures.js +0 -15
  239. package/es/molecule/course-section/test/fixtures.js.map +0 -1
  240. package/es/molecule/course-sections/test/fixtures.js +0 -17
  241. package/es/molecule/course-sections/test/fixtures.js.map +0 -1
  242. package/es/molecule/dashboard/review-banner/test/fixtures.js +0 -13
  243. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
  244. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -15
  245. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
  246. package/es/molecule/draggable/test/fixtures.js +0 -13
  247. package/es/molecule/draggable/test/fixtures.js.map +0 -1
  248. package/es/molecule/draggable-list/test/fixtures.js +0 -15
  249. package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
  250. package/es/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  251. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  252. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  253. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
  254. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  255. package/es/molecule/popin/test/fixtures.js +0 -21
  256. package/es/molecule/popin/test/fixtures.js.map +0 -1
  257. package/es/molecule/quick-access-card/test/fixtures.js +0 -21
  258. package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
  259. package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
  260. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  261. package/es/molecule/review-correction-popin/test/fixtures.js +0 -15
  262. package/es/molecule/review-correction-popin/test/fixtures.js.map +0 -1
  263. package/es/molecule/review-header-steps/test/fixtures.js +0 -23
  264. package/es/molecule/review-header-steps/test/fixtures.js.map +0 -1
  265. package/es/molecule/vertical-tabs/test/fixtures.js +0 -17
  266. package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  267. package/es/molecule/wizard-summary/test/fixtures.js +0 -23
  268. package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
  269. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -17
  270. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  271. package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
  272. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  273. package/es/organism/brand-analytics/test/fixtures.js +0 -23
  274. package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
  275. package/es/organism/content-translation/test/fixtures.js +0 -15
  276. package/es/organism/content-translation/test/fixtures.js.map +0 -1
  277. package/es/organism/course-selection/test/fixtures.js +0 -25
  278. package/es/organism/course-selection/test/fixtures.js.map +0 -1
  279. package/es/organism/list-item/test/fixtures.js +0 -19
  280. package/es/organism/list-item/test/fixtures.js.map +0 -1
  281. package/es/organism/list-items/test/fixtures.js +0 -17
  282. package/es/organism/list-items/test/fixtures.js.map +0 -1
  283. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  284. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  285. package/es/organism/search-and-chips-results/test/fixtures.js +0 -23
  286. package/es/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  287. package/es/organism/wizard-contents/test/fixtures.js +0 -23
  288. package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
  289. package/lib/atom/button-link/test/fixtures.js +0 -49
  290. package/lib/atom/button-link/test/fixtures.js.map +0 -1
  291. package/lib/atom/button-link-icon-only/test/fixtures.js +0 -34
  292. package/lib/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  293. package/lib/atom/button-menu/test/fixtures.js +0 -25
  294. package/lib/atom/button-menu/test/fixtures.js.map +0 -1
  295. package/lib/atom/card-image-preview/test/fixtures.js +0 -25
  296. package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
  297. package/lib/atom/checkbox-with-title/test/fixtures.js +0 -25
  298. package/lib/atom/checkbox-with-title/test/fixtures.js.map +0 -1
  299. package/lib/atom/chips/test/fixtures.js +0 -28
  300. package/lib/atom/chips/test/fixtures.js.map +0 -1
  301. package/lib/atom/content-badge/test/fixtures.js +0 -46
  302. package/lib/atom/content-badge/test/fixtures.js.map +0 -1
  303. package/lib/atom/empty-search-result/test/fixtures.js +0 -22
  304. package/lib/atom/empty-search-result/test/fixtures.js.map +0 -1
  305. package/lib/atom/input-search/test/fixtures.js +0 -31
  306. package/lib/atom/input-search/test/fixtures.js.map +0 -1
  307. package/lib/atom/input-text-with-title/test/fixtures.js +0 -25
  308. package/lib/atom/input-text-with-title/test/fixtures.js.map +0 -1
  309. package/lib/atom/review-header-step-item/test/fixtures.js +0 -31
  310. package/lib/atom/review-header-step-item/test/fixtures.js.map +0 -1
  311. package/lib/atom/tag/test/fixtures.js +0 -34
  312. package/lib/atom/tag/test/fixtures.js.map +0 -1
  313. package/lib/atom/wizard-steps/test/fixtures.js +0 -28
  314. package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
  315. package/lib/molecule/banner/test/fixtures.js +0 -37
  316. package/lib/molecule/banner/test/fixtures.js.map +0 -1
  317. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +0 -25
  318. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  319. package/lib/molecule/cm-popin/test/fixtures.js +0 -28
  320. package/lib/molecule/cm-popin/test/fixtures.js.map +0 -1
  321. package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
  322. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  323. package/lib/molecule/course-section/test/fixtures.js +0 -25
  324. package/lib/molecule/course-section/test/fixtures.js.map +0 -1
  325. package/lib/molecule/course-sections/test/fixtures.js +0 -28
  326. package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
  327. package/lib/molecule/dashboard/review-banner/test/fixtures.js +0 -22
  328. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
  329. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -25
  330. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
  331. package/lib/molecule/draggable/test/fixtures.js +0 -22
  332. package/lib/molecule/draggable/test/fixtures.js.map +0 -1
  333. package/lib/molecule/draggable-list/test/fixtures.js +0 -25
  334. package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
  335. package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  336. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  337. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  338. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -25
  339. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  340. package/lib/molecule/popin/test/fixtures.js +0 -34
  341. package/lib/molecule/popin/test/fixtures.js.map +0 -1
  342. package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
  343. package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
  344. package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
  345. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  346. package/lib/molecule/review-correction-popin/test/fixtures.js +0 -25
  347. package/lib/molecule/review-correction-popin/test/fixtures.js.map +0 -1
  348. package/lib/molecule/review-header-steps/test/fixtures.js +0 -37
  349. package/lib/molecule/review-header-steps/test/fixtures.js.map +0 -1
  350. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -28
  351. package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  352. package/lib/molecule/wizard-summary/test/fixtures.js +0 -37
  353. package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
  354. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -28
  355. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  356. package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
  357. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  358. package/lib/organism/brand-analytics/test/fixtures.js +0 -37
  359. package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
  360. package/lib/organism/content-translation/test/fixtures.js +0 -25
  361. package/lib/organism/content-translation/test/fixtures.js.map +0 -1
  362. package/lib/organism/course-selection/test/fixtures.js +0 -40
  363. package/lib/organism/course-selection/test/fixtures.js.map +0 -1
  364. package/lib/organism/list-item/test/fixtures.js +0 -31
  365. package/lib/organism/list-item/test/fixtures.js.map +0 -1
  366. package/lib/organism/list-items/test/fixtures.js +0 -28
  367. package/lib/organism/list-items/test/fixtures.js.map +0 -1
  368. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  369. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
  370. package/lib/organism/search-and-chips-results/test/fixtures.js +0 -37
  371. package/lib/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  372. package/lib/organism/wizard-contents/test/fixtures.js +0 -37
  373. package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
@@ -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
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":["extractTabs","items","map","type","item","iconType","title","isOpen","open","Resources","resources","overlay","style","browserWrapper","value","browser","propTypes","PropTypes","shape","ResourceBrowser","SimpleText","text","simpleTextWrapper","simpleText","innerHTML","__html","string","AssistanceLink","props","context","onClick","skin","white","wrapperAssistance","alertIcon","titleLink","contextTypes","Provider","childContextTypes","func","Question","header","answer","answerPrefix","question","questionHeader","answerWrapper","checkIcon","PopinCorrection","Component","constructor","state","initWrapper","bind","componentDidMount","deferOpen","clearTimeout","deferedOpen","onOpen","setState","wrapper","render","extraLifeGranted","gameOver","klf","tips","quit","assistanceLink","primary","tabs","isLoading","failed","className","finalBackground","initialBackground","cta","linkProps","quitCta","color","hideQuitCta","scrollWrapper","loadingWrapper","loadingContent","content","activeLoader","inactiveLoader","Header","Accordion","Link"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AAIA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IACvB,oBAAKA,KAAL,EAAYC,GAAZ,CAAgBC,IAAI,IAAI;AACtB,QAAMC,IAAI,GAAGH,KAAK,CAACE,IAAD,CAAlB;AACA,SAAO;AAACE,IAAAA,QAAQ,EAAEF,IAAX;AAAiBG,IAAAA,KAAK,EAAEF,IAAI,CAACE,KAA7B;AAAoCC,IAAAA,MAAM,EAAEH,IAAI,CAACI;AAAjD,GAAP;AACD,CAHD,CADF;;AAMA,MAAMC,SAAS,GAAG,CAAC;AAACC,EAAAA,SAAD;AAAYC,EAAAA;AAAZ,CAAD,kBAChB;AAAK,EAAA,SAAS,EAAEC,gBAAMC;AAAtB,gBACE,6BAAC,wBAAD;AAAiB,EAAA,SAAS,EAAEH,SAAS,CAACI,KAAtC;AAA6C,EAAA,OAAO,EAAEH,OAAtD;AAA+D,EAAA,SAAS,EAAEC,gBAAMG;AAAhF,EADF,CADF;;AAMAN,SAAS,CA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ACJ,SAA3B,CATW;AAUjBc,EAAAA,OAAO,EAAEyD,mBAAUvE,SAAV,CAAoBc,OAVZ;AAWjBoC,EAAAA,IAAI,EAAEjD,mBAAUC,KAAV,CAAgB;AACpByD,IAAAA,GAAG,EAAE1D,mBAAUC,KAAV,uBACAsE,cAAKxE,SADL;AAEHV,MAAAA,KAAK,EAAEW,mBAAUS;AAFd;AADe,GAAhB,CAXW;AAiBjBgC,EAAAA,MAAM,EAAEzC,mBAAUsB;AAjBD,C;eAuHNS,e","sourcesContent":["import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {defer, isNil, isEmpty, get, getOr, keys, omit} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaLineInterfaceFeedbackInterfaceAlertCircle as AlertIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Loader from '../../../atom/loader';\nimport Link from '../../../atom/link';\nimport Provider from '../../../atom/provider';\nimport ResourceBrowser from '../../../organism/resource-browser';\nimport Accordion from '../../../organism/accordion/container';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport Header from '../popin-header';\nimport style from './style.css';\n\nconst extractTabs = items =>\n keys(items).map(type => {\n const item = items[type];\n return {iconType: type, title: item.title, isOpen: item.open};\n });\n\nconst Resources = ({resources, overlay}) => (\n <div className={style.browserWrapper}>\n <ResourceBrowser resources={resources.value} overlay={overlay} className={style.browser} />\n </div>\n);\n\nResources.propTypes = {\n resources: PropTypes.shape({\n value: ResourceBrowser.propTypes.resources\n }),\n overlay: ResourceBrowser.propTypes.overlay\n};\n\nconst SimpleText = ({text}) => (\n <div data-name=\"simpleText\" className={style.simpleTextWrapper}>\n <p\n className={classnames(style.simpleText, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: text}}\n />\n </div>\n);\n\nSimpleText.propTypes = {\n text: PropTypes.string\n};\n\nconst AssistanceLink = (props, context) => {\n if (isEmpty(props)) return null;\n const {title, onClick} = props;\n const {skin} = context;\n const white = get('common.white', skin);\n\n return (\n <div className={style.wrapperAssistance} onClick={onClick}>\n <AlertIcon className={style.alertIcon} color={white} />\n <span className={style.titleLink}> {title} </span>\n </div>\n );\n};\n\nAssistanceLink.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nAssistanceLink.propTypes = {\n title: PropTypes.string,\n onClick: PropTypes.func\n};\n\nconst Question = ({header, answer, answerPrefix}) => (\n <div className={style.question}>\n <p\n className={classnames(style.questionHeader, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: header}}\n />\n <div className={style.answerWrapper}>\n <CheckIcon className={style.checkIcon} color=\"inherit\" />\n {answerPrefix ? <span className={style.answerPrefix}>{answerPrefix}</span> : null}\n <span\n className={classnames(style.answer, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: answer}}\n />\n </div>\n </div>\n);\n\nQuestion.propTypes = {\n header: PropTypes.string,\n answerPrefix: PropTypes.string,\n answer: PropTypes.string\n};\n\nclass PopinCorrection extends Component {\n static propTypes = {\n resources: Resources.propTypes.resources,\n overlay: ResourceBrowser.propTypes.overlay,\n assistanceLink: PropTypes.shape(AssistanceLink.propTypes),\n header: PropTypes.shape(omit(['animated'], Header.propTypes)),\n extraLifeGranted: Header.propTypes.extraLifeGranted,\n gameOver: Header.propTypes.gameOver,\n question: PropTypes.shape(Question.propTypes),\n klf: PropTypes.shape(SimpleText.propTypes),\n tips: PropTypes.shape(SimpleText.propTypes),\n onClick: Accordion.propTypes.onClick,\n quit: PropTypes.shape({\n cta: PropTypes.shape({\n ...Link.propTypes,\n title: PropTypes.string\n })\n }),\n onOpen: PropTypes.func\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props) {\n super(props);\n this.state = {open: false};\n this.initWrapper = this.initWrapper.bind(this);\n }\n\n componentDidMount() {\n this.deferOpen();\n }\n\n deferOpen() {\n clearTimeout(this.deferedOpen);\n\n this.deferedOpen = defer(() => {\n const {onOpen} = this.props;\n this.setState({open: true});\n onOpen && onOpen();\n });\n }\n\n initWrapper(wrapper) {\n this.wrapper = wrapper;\n }\n\n render() {\n const {\n header = {},\n extraLifeGranted,\n gameOver,\n question,\n overlay,\n resources,\n klf,\n tips,\n onClick,\n quit = {},\n assistanceLink = {}\n } = this.props;\n\n const {open} = this.state;\n\n const {skin} = this.context;\n const primary = getOr('#f0f', 'common.primary', skin);\n\n const tabs = extractTabs({resources, klf, tips});\n const isLoading = isNil(header.failed);\n const className = open ? style.finalBackground : style.initialBackground;\n const {title, ...linkProps} = quit.cta || {};\n\n const quitCta =\n title || extraLifeGranted ? (\n <Link\n {...linkProps}\n style={{\n color: primary\n }}\n className={extraLifeGranted ? style.hideQuitCta : style.quitCta}\n data-name=\"nextLink\"\n data-popin=\"popinCorrection\"\n data-next=\"quit-with-extra-life\"\n >\n {title}\n </Link>\n ) : null;\n\n return (\n <div ref={this.initWrapper} className={className} data-name=\"popinCorrection\">\n <div className={style.scrollWrapper}>\n <div className={isLoading ? style.loadingWrapper : style.wrapper}>\n <div className={isLoading ? style.loadingContent : style.content}>\n <Header\n {...header}\n gameOver={gameOver}\n extraLifeGranted={extraLifeGranted}\n animated\n />\n <Question {...question} />\n <Accordion tabProps={tabs} onClick={onClick} oneTabOnly>\n {isEmpty(getOr([], 'value', resources)) ? null : (\n <Resources resources={resources} overlay={overlay} />\n )}\n {klf.value ? <SimpleText text={klf.value} /> : null}\n {tips.value ? <SimpleText text={tips.value} /> : null}\n </Accordion>\n </div>\n {quitCta}\n <AssistanceLink {...assistanceLink} />\n </div>\n <Loader className={isLoading ? style.activeLoader : style.inactiveLoader} />\n </div>\n </div>\n );\n }\n}\n\nexport default PopinCorrection;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":["extractTabs","items","map","type","item","iconType","title","isOpen","open","Resources","resources","overlay","style","browserWrapper","value","browser","propTypes","PropTypes","shape","ResourceBrowser","SimpleText","text","simpleTextWrapper","simpleText","innerHTML","__html","string","AssistanceLink","props","context","onClick","skin","white","wrapperAssistance","alertIcon","titleLink","contextTypes","Provider","childContextTypes","func","Question","header","answer","answerPrefix","question","questionHeader","answerWrapper","checkIcon","PopinCorrection","Component","constructor","state","initWrapper","bind","componentDidMount","deferOpen","clearTimeout","deferedOpen","onOpen","setState","wrapper","render","extraLifeGranted","gameOver","klf","tips","quit","assistanceLink","primary","tabs","isLoading","failed","className","finalBackground","initialBackground","cta","linkProps","quitCta","color","hideQuitCta","scrollWrapper","loadingWrapper","loadingContent","content","activeLoader","Header","Accordion","Link"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AAIA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IACvB,oBAAKA,KAAL,EAAYC,GAAZ,CAAgBC,IAAI,IAAI;AACtB,QAAMC,IAAI,GAAGH,KAAK,CAACE,IAAD,CAAlB;AACA,SAAO;AAACE,IAAAA,QAAQ,EAAEF,IAAX;AAAiBG,IAAAA,KAAK,EAAEF,IAAI,CAACE,KAA7B;AAAoCC,IAAAA,MAAM,EAAEH,IAAI,CAACI;AAAjD,GAAP;AACD,CAHD,CADF;;AAMA,MAAMC,SAAS,GAAG,CAAC;AAACC,EAAAA,SAAD;AAAYC,EAAAA;AAAZ,CAAD,kBAChB;AAAK,EAAA,SAAS,EAAEC,gBAAMC;AAAtB,gBACE,6BAAC,wBAAD;AAAiB,EAAA,SAAS,EAAEH,SAAS,CAACI,KAAtC;AAA6C,EAAA,OAAO,EAAEH,OAAtD;AAA+D,EAAA,SAAS,EAAEC,gBAAMG;AAAhF,EADF,CADF;;AAMAN,SAAS,CAACO,SAAV,2CAAsB;AACpBN,EAAAA,SAAS,EAAEO,mBAAUC,KAAV,CAAgB;AACzBJ,IAAAA,KAAK,EAAEK,yBAAgBH,SAAhB,CAA0BN;AADR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ByD,IAAAA,GAAG,EAAE1D,mBAAUC,KAAV,uBACAqE,cAAKvE,SADL;AAEHV,MAAAA,KAAK,EAAEW,mBAAUS;AAFd;AADe,GAAhB,CAXW;AAiBjBgC,EAAAA,MAAM,EAAEzC,mBAAUsB;AAjBD,C;eAuHNS,e","sourcesContent":["import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {defer, isNil, isEmpty, get, getOr, keys, omit} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaLineInterfaceFeedbackInterfaceAlertCircle as AlertIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Loader from '../../../atom/loader';\nimport Link from '../../../atom/link';\nimport Provider from '../../../atom/provider';\nimport ResourceBrowser from '../../../organism/resource-browser';\nimport Accordion from '../../../organism/accordion/container';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport Header from '../popin-header';\nimport style from './style.css';\n\nconst extractTabs = items =>\n keys(items).map(type => {\n const item = items[type];\n return {iconType: type, title: item.title, isOpen: item.open};\n });\n\nconst Resources = ({resources, overlay}) => (\n <div className={style.browserWrapper}>\n <ResourceBrowser resources={resources.value} overlay={overlay} className={style.browser} />\n </div>\n);\n\nResources.propTypes = {\n resources: PropTypes.shape({\n value: ResourceBrowser.propTypes.resources\n }),\n overlay: ResourceBrowser.propTypes.overlay\n};\n\nconst SimpleText = ({text}) => (\n <div data-name=\"simpleText\" className={style.simpleTextWrapper}>\n <p\n className={classnames(style.simpleText, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: text}}\n />\n </div>\n);\n\nSimpleText.propTypes = {\n text: PropTypes.string\n};\n\nconst AssistanceLink = (props, context) => {\n if (isEmpty(props)) return null;\n const {title, onClick} = props;\n const {skin} = context;\n const white = get('common.white', skin);\n\n return (\n <div className={style.wrapperAssistance} onClick={onClick}>\n <AlertIcon className={style.alertIcon} color={white} />\n <span className={style.titleLink}> {title} </span>\n </div>\n );\n};\n\nAssistanceLink.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nAssistanceLink.propTypes = {\n title: PropTypes.string,\n onClick: PropTypes.func\n};\n\nconst Question = ({header, answer, answerPrefix}) => (\n <div className={style.question}>\n <p\n className={classnames(style.questionHeader, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: header}}\n />\n <div className={style.answerWrapper}>\n <CheckIcon className={style.checkIcon} color=\"inherit\" />\n {answerPrefix ? <span className={style.answerPrefix}>{answerPrefix}</span> : null}\n <span\n className={classnames(style.answer, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: answer}}\n />\n </div>\n </div>\n);\n\nQuestion.propTypes = {\n header: PropTypes.string,\n answerPrefix: PropTypes.string,\n answer: PropTypes.string\n};\n\nclass PopinCorrection extends Component {\n static propTypes = {\n resources: Resources.propTypes.resources,\n overlay: ResourceBrowser.propTypes.overlay,\n assistanceLink: PropTypes.shape(AssistanceLink.propTypes),\n header: PropTypes.shape(omit(['animated'], Header.propTypes)),\n extraLifeGranted: Header.propTypes.extraLifeGranted,\n gameOver: Header.propTypes.gameOver,\n question: PropTypes.shape(Question.propTypes),\n klf: PropTypes.shape(SimpleText.propTypes),\n tips: PropTypes.shape(SimpleText.propTypes),\n onClick: Accordion.propTypes.onClick,\n quit: PropTypes.shape({\n cta: PropTypes.shape({\n ...Link.propTypes,\n title: PropTypes.string\n })\n }),\n onOpen: PropTypes.func\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props) {\n super(props);\n this.state = {open: false};\n this.initWrapper = this.initWrapper.bind(this);\n }\n\n componentDidMount() {\n this.deferOpen();\n }\n\n deferOpen() {\n clearTimeout(this.deferedOpen);\n\n this.deferedOpen = defer(() => {\n const {onOpen} = this.props;\n this.setState({open: true});\n onOpen && onOpen();\n });\n }\n\n initWrapper(wrapper) {\n this.wrapper = wrapper;\n }\n\n render() {\n const {\n header = {},\n extraLifeGranted,\n gameOver,\n question,\n overlay,\n resources,\n klf,\n tips,\n onClick,\n quit = {},\n assistanceLink = {}\n } = this.props;\n\n const {open} = this.state;\n\n const {skin} = this.context;\n const primary = getOr('#f0f', 'common.primary', skin);\n\n const tabs = extractTabs({resources, klf, tips});\n const isLoading = isNil(header.failed);\n const className = open ? style.finalBackground : style.initialBackground;\n const {title, ...linkProps} = quit.cta || {};\n\n const quitCta =\n title || extraLifeGranted ? (\n <Link\n {...linkProps}\n style={{\n color: primary\n }}\n className={extraLifeGranted ? style.hideQuitCta : style.quitCta}\n data-name=\"nextLink\"\n data-popin=\"popinCorrection\"\n data-next=\"quit-with-extra-life\"\n >\n {title}\n </Link>\n ) : null;\n\n return (\n <div ref={this.initWrapper} className={className} data-name=\"popinCorrection\">\n <div className={style.scrollWrapper}>\n <div className={isLoading ? style.loadingWrapper : style.wrapper}>\n <div className={isLoading ? style.loadingContent : style.content}>\n <Header\n {...header}\n gameOver={gameOver}\n extraLifeGranted={extraLifeGranted}\n animated\n />\n <Question {...question} />\n <Accordion tabProps={tabs} onClick={onClick} oneTabOnly>\n {isEmpty(getOr([], 'value', resources)) ? null : (\n <Resources resources={resources} overlay={overlay} />\n )}\n {klf.value ? <SimpleText text={klf.value} /> : null}\n {tips.value ? <SimpleText text={tips.value} /> : null}\n </Accordion>\n </div>\n {quitCta}\n <AssistanceLink {...assistanceLink} />\n </div>\n {isLoading ? <Loader className={style.activeLoader} /> : null}\n </div>\n </div>\n );\n }\n}\n\nexport default PopinCorrection;\n"],"file":"index.js"}
@@ -104,10 +104,6 @@
104
104
  transition: opacity 0.3s;
105
105
  }
106
106
 
107
- .inactiveLoader {
108
- opacity: 0;
109
- }
110
-
111
107
  /* Question -------------- */
112
108
 
113
109
  .question {
@@ -46,8 +46,6 @@ var _withLoadingRecommendations = _interopRequireDefault(require("./fixtures/wit
46
46
 
47
47
  var _withRecommendations = _interopRequireDefault(require("./fixtures/with-recommendations"));
48
48
 
49
- var _withoutRecommendation = _interopRequireDefault(require("./fixtures/without-recommendation"));
50
-
51
49
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
52
50
 
53
51
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {
@@ -75,5 +73,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
75
73
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', _renderComponent.default, _.default, _subscribe.default);
76
74
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', _renderComponent.default, _.default, _withLoadingRecommendations.default);
77
75
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', _renderComponent.default, _.default, _withRecommendations.default);
78
- (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithoutRecommendation › should be rendered', _renderComponent.default, _.default, _withoutRecommendation.default);
79
76
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations","fixtureWithoutRecommendation"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,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AlG,EAAwHN,SAAxH,EAAmJqB,6BAAnJ;AACA,kBAAK,mFAAL,EAA0Ff,wBAA1F,EAAgHN,SAAhH,EAA2IsB,qBAA3I;AACA,kBAAK,gFAAL,EAAuFhB,wBAAvF,EAA6GN,SAA7G,EAAwIuB,kBAAxI;AACA,kBAAK,iGAAL,EAAwGjB,wBAAxG,EAA8HN,SAA9H,EAAyJwB,mCAAzJ;AACA,kBAAK,0FAAL,EAAiGlB,wBAAjG,EAAuHN,SAAvH,EAAkJyB,4BAAlJ;AACA,kBAAK,4FAAL,EAAmGnB,wBAAnG,EAAyHN,SAAzH,EAAoJ0B,8BAApJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\nimport fixtureWithoutRecommendation from './fixtures/without-recommendation';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithoutRecommendation › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithoutRecommendation);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+EAAL,EAAsFG,wBAAtF,EAA4GN,SAA5G,EAAuIO,iBAAvI;AACA,kBAAK,oFAAL,EAA2FD,wBAA3F,EAAiHN,SAAjH,EAA4IQ,sBAA5I;AACA,kBAAK,iGAAL,EAAwGF,wBAAxG,EAA8HN,SAA9H,EAAyJS,mCAAzJ;AACA,kBAAK,gGAAL,EAAuGH,wBAAvG,EAA6HN,SAA7H,EAAwJU,kCAAxJ;AACA,kBAAK,uFAAL,EAA8FJ,wBAA9F,EAAoHN,SAApH,EAA+IW,yBAA/I;AACA,kBAAK,kFAAL,EAAyFL,wBAAzF,EAA+GN,SAA/G,EAA0IY,oBAA1I;AACA,kBAAK,8EAAL,EAAqFN,wBAArF,EAA2GN,SAA3G,EAAsIa,gBAAtI;AACA,kBAAK,8EAAL,EAAqFP,wBAArF,EAA2GN,SAA3G,EAAsIc,gBAAtI;AACA,kBAAK,8EAAL,EAAqFR,wBAArF,EAA2GN,SAA3G,EAAsIe,gBAAtI;AACA,kBAAK,2EAAL,EAAkFT,wBAAlF,EAAwGN,SAAxG,EAAmIgB,aAAnI;AACA,kBAAK,oFAAL,EAA2FV,wBAA3F,EAAiHN,SAAjH,EAA4IiB,sBAA5I;AACA,kBAAK,8EAAL,EAAqFX,wBAArF,EAA2GN,SAA3G,EAAsIkB,gBAAtI;AACA,kBAAK,mFAAL,EAA0FZ,wBAA1F,EAAgHN,SAAhH,EAA2ImB,qBAA3I;AACA,kBAAK,iFAAL,EAAwFb,wBAAxF,EAA8GN,SAA9G,EAAyIoB,mBAAzI;AACA,kBAAK,2FAAL,EAAkGd,wBAAlG,EAAwHN,SAAxH,EAAmJqB,6BAAnJ;AACA,kBAAK,mFAAL,EAA0Ff,wBAA1F,EAAgHN,SAAhH,EAA2IsB,qBAA3I;AACA,kBAAK,gFAAL,EAAuFhB,wBAAvF,EAA6GN,SAA7G,EAAwIuB,kBAAxI;AACA,kBAAK,iGAAL,EAAwGjB,wBAAxG,EAA8HN,SAA9H,EAAyJwB,mCAAzJ;AACA,kBAAK,0FAAL,EAAiGlB,wBAAjG,EAAuHN,SAAvH,EAAkJyB,4BAAlJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _certificationRewards = _interopRequireDefault(require("../../../../../organism/wizard-contents/test/fixtures/certification-rewards"));
7
+
8
+ var _default2 = _interopRequireDefault(require("./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
+ const {
15
+ header,
16
+ items
17
+ } = _default2.default.props;
18
+ const form = _certificationRewards.default.props;
19
+ var _default = {
20
+ props: {
21
+ header,
22
+ items,
23
+ notifications: [],
24
+ content: _extends(_extends({}, form), {}, {
25
+ isLoading: false,
26
+ key: 'rewards',
27
+ type: 'wizard'
28
+ })
29
+ }
30
+ };
31
+ exports.default = _default;
32
+ //# sourceMappingURL=wizard-rewards-certification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js"],"names":["header","items","headerAndMenu","props","form","WizardForm","notifications","content","isLoading","key","type"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAkBC,kBAAcC,KAAtC;AACA,MAAMC,IAAI,GAAGC,8BAAWF,KAAxB;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLH,IAAAA,MADK;AAELC,IAAAA,KAFK;AAGLK,IAAAA,aAAa,EAAE,EAHV;AAILC,IAAAA,OAAO,wBACFH,IADE;AAELI,MAAAA,SAAS,EAAE,KAFN;AAGLC,MAAAA,GAAG,EAAE,SAHA;AAILC,MAAAA,IAAI,EAAE;AAJD;AAJF;AADM,C","sourcesContent":["import WizardForm from '../../../../../organism/wizard-contents/test/fixtures/certification-rewards';\nimport headerAndMenu from './default';\n\nconst {header, items} = headerAndMenu.props;\nconst form = WizardForm.props;\n\nexport default {\n props: {\n header,\n items,\n notifications: [],\n content: {\n ...form,\n isLoading: false,\n key: 'rewards',\n type: 'wizard'\n }\n }\n};\n"],"file":"wizard-rewards-certification.js"}
@@ -26,14 +26,6 @@ var _generalSettingsSuccess = _interopRequireDefault(require("./fixtures/general
26
26
 
27
27
  var _generalSettings = _interopRequireDefault(require("./fixtures/general-settings"));
28
28
 
29
- var _listItemsArchived = _interopRequireDefault(require("./fixtures/list-items-archived"));
30
-
31
- var _listItemsDraft = _interopRequireDefault(require("./fixtures/list-items-draft"));
32
-
33
- var _listItemsPublishedWithPopin = _interopRequireDefault(require("./fixtures/list-items-published-with-popin"));
34
-
35
- var _listItemsPublished = _interopRequireDefault(require("./fixtures/list-items-published"));
36
-
37
29
  var _lmsError = _interopRequireDefault(require("./fixtures/lms-error"));
38
30
 
39
31
  var _lmsModified = _interopRequireDefault(require("./fixtures/lms-modified"));
@@ -58,7 +50,7 @@ var _manageusersEdit = _interopRequireDefault(require("./fixtures/manageusers-ed
58
50
 
59
51
  var _manageusersList = _interopRequireDefault(require("./fixtures/manageusers-list"));
60
52
 
61
- var _quickAccess = _interopRequireDefault(require("./fixtures/quick-access"));
53
+ var _manageusers = _interopRequireDefault(require("./fixtures/manageusers"));
62
54
 
63
55
  var _ssoActivate = _interopRequireDefault(require("./fixtures/sso-activate"));
64
56
 
@@ -70,20 +62,6 @@ var _uploadusersSuccessful = _interopRequireDefault(require("./fixtures/uploadus
70
62
 
71
63
  var _uploadusers = _interopRequireDefault(require("./fixtures/uploadusers"));
72
64
 
73
- var _wizardAddCoursesPlaylist = _interopRequireDefault(require("./fixtures/wizard-add-courses-playlist"));
74
-
75
- var _wizardFormCreatePlaylist = _interopRequireDefault(require("./fixtures/wizard-form-create-playlist"));
76
-
77
- var _wizardFormEditPlaylist = _interopRequireDefault(require("./fixtures/wizard-form-edit-playlist"));
78
-
79
- var _wizardOrganizeCoursesPlaylist = _interopRequireDefault(require("./fixtures/wizard-organize-courses-playlist"));
80
-
81
- var _wizardPopulationsPlaylistWithPopin = _interopRequireDefault(require("./fixtures/wizard-populations-playlist-with-popin"));
82
-
83
- var _wizardPopulationsPlaylist = _interopRequireDefault(require("./fixtures/wizard-populations-playlist"));
84
-
85
- var _wizardTranslatePlaylist = _interopRequireDefault(require("./fixtures/wizard-translate-playlist"));
86
-
87
65
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
88
66
 
89
67
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {
@@ -101,10 +79,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
101
79
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', _renderComponent.default, _.default, _default.default);
102
80
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', _renderComponent.default, _.default, _generalSettingsSuccess.default);
103
81
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', _renderComponent.default, _.default, _generalSettings.default);
104
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', _renderComponent.default, _.default, _listItemsArchived.default);
105
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', _renderComponent.default, _.default, _listItemsDraft.default);
106
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', _renderComponent.default, _.default, _listItemsPublishedWithPopin.default);
107
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', _renderComponent.default, _.default, _listItemsPublished.default);
108
82
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', _renderComponent.default, _.default, _lmsError.default);
109
83
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', _renderComponent.default, _.default, _lmsModified.default);
110
84
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', _renderComponent.default, _.default, _lmsSuccess.default);
@@ -117,17 +91,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
117
91
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', _renderComponent.default, _.default, _lookandfeel.default);
118
92
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', _renderComponent.default, _.default, _manageusersEdit.default);
119
93
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', _renderComponent.default, _.default, _manageusersList.default);
120
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', _renderComponent.default, _.default, _quickAccess.default);
94
+ (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', _renderComponent.default, _.default, _manageusers.default);
121
95
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', _renderComponent.default, _.default, _ssoActivate.default);
122
96
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', _renderComponent.default, _.default, _sso.default);
123
97
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', _renderComponent.default, _.default, _uploadusersLoading.default);
124
98
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', _renderComponent.default, _.default, _uploadusersSuccessful.default);
125
99
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', _renderComponent.default, _.default, _uploadusers.default);
126
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', _renderComponent.default, _.default, _wizardAddCoursesPlaylist.default);
127
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', _renderComponent.default, _.default, _wizardFormCreatePlaylist.default);
128
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', _renderComponent.default, _.default, _wizardFormEditPlaylist.default);
129
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', _renderComponent.default, _.default, _wizardOrganizeCoursesPlaylist.default);
130
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', _renderComponent.default, _.default, _wizardPopulationsPlaylistWithPopin.default);
131
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', _renderComponent.default, _.default, _wizardPopulationsPlaylist.default);
132
- (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', _renderComponent.default, _.default, _wizardTranslatePlaylist.default);
133
100
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["t","pass","TemplateBackOfficeBrandUpdate","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureListItemsArchived","fixtureListItemsDraft","fixtureListItemsPublishedWithPopin","fixtureListItemsPublished","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","fixtureWizardAddCoursesPlaylist","fixtureWizardFormCreatePlaylist","fixtureWizardFormEditPlaylist","fixtureWizardOrganizeCoursesPlaylist","fixtureWizardPopulationsPlaylistWithPopin","fixtureWizardPopulationsPlaylist","fixtureWizardTranslatePlaylist"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,kFAAL,EAAyFA,CAAC,IAAI;AAC5FA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4EAA2EF,GAAI,mEAAxG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,qFAAL,EAA4FG,wBAA5F,EAAkHN,SAAlH,EAAiJO,kBAAjJ;AACA,kBAAK,sFAAL,EAA6FD,wBAA7F,EAAmHN,SAAnH,EAAkJQ,mBAAlJ;AACA,kBAAK,uFAAL,EAA8FF,wBAA9F,EAAoHN,SAApH,EAAmJS,oBAAnJ;AACA,kBAAK,kFAAL,EAAyFH,wBAAzF,EAA+GN,SAA/G,EAA8IU,eAA9I;AACA,kBAAK,qFAAL,EAA4FJ,wBAA5F,EAAkHN,SAAlH,EAAiJW,kBAAjJ;AACA,kBAAK,+FAAL,EAAsGL,wBAAtG,EAA4HN,SAA5H,EAA2JY,4BAA3J;AACA,kBAAK,mFAAL,EAA0FN,wBAA1F,EAAgHN,SAAhH,EAA+Ia,gBAA/I;AACA,kBAAK,kGAAL,EAAyGP,wBAAzG,EAA+HN,SAA/H,EAA8Jc,+BAA9J;AACA,kBAAK,2FAAL,EAA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H,EAAmJgC,oBAAnJ;AACA,kBAAK,uFAAL,EAA8F1B,wBAA9F,EAAoHN,SAApH,EAAmJiC,oBAAnJ;AACA,kBAAK,+EAAL,EAAsF3B,wBAAtF,EAA4GN,SAA5G,EAA2IkC,YAA3I;AACA,kBAAK,8FAAL,EAAqG5B,wBAArG,EAA2HN,SAA3H,EAA0JmC,2BAA1J;AACA,kBAAK,iGAAL,EAAwG7B,wBAAxG,EAA8HN,SAA9H,EAA6JoC,8BAA7J;AACA,kBAAK,uFAAL,EAA8F9B,wBAA9F,EAAoHN,SAApH,EAAmJqC,oBAAnJ;AACA,kBAAK,oGAAL,EAA2G/B,wBAA3G,EAAiIN,SAAjI,EAAgKsC,iCAAhK;AACA,kBAAK,oGAAL,EAA2GhC,wBAA3G,EAAiIN,SAAjI,EAAgKuC,iCAAhK;AACA,kBAAK,kGAAL,EAAyGjC,wBAAzG,EAA+HN,SAA/H,EAA8JwC,+BAA9J;AACA,kBAAK,yGAAL,EAAgHlC,wBAAhH,EAAsIN,SAAtI,EAAqKyC,sCAArK;AACA,kBAAK,8GAAL,EAAqHnC,wBAArH,EAA2IN,SAA3I,EAA0K0C,2CAA1K;AACA,kBAAK,qGAAL,EAA4GpC,wBAA5G,EAAkIN,SAAlI,EAAiK2C,kCAAjK;AACA,kBAAK,mGAAL,EAA0GrC,wBAA1G,EAAgIN,SAAhI,EAA+J4C,gCAA/J","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureListItemsArchived from './fixtures/list-items-archived';\nimport fixtureListItemsDraft from './fixtures/list-items-draft';\nimport fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';\nimport fixtureListItemsPublished from './fixtures/list-items-published';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\nimport fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';\nimport fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';\nimport fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';\nimport fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';\nimport fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';\nimport fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';\nimport fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["t","pass","TemplateBackOfficeBrandUpdate","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,kFAAL,EAAyFA,CAAC,IAAI;AAC5FA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,E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EAA2JsB,4BAA3J;AACA,kBAAK,8FAAL,EAAqGhB,wBAArG,EAA2HN,SAA3H,EAA0JuB,2BAA1J;AACA,kBAAK,8FAAL,EAAqGjB,wBAArG,EAA2HN,SAA3H,EAA0JwB,2BAA1J;AACA,kBAAK,uFAAL,EAA8FlB,wBAA9F,EAAoHN,SAApH,EAAmJyB,oBAAnJ;AACA,kBAAK,2FAAL,EAAkGnB,wBAAlG,EAAwHN,SAAxH,EAAuJ0B,wBAAvJ;AACA,kBAAK,2FAAL,EAAkGpB,wBAAlG,EAAwHN,SAAxH,EAAuJ2B,wBAAvJ;AACA,kBAAK,uFAAL,EAA8FrB,wBAA9F,EAAoHN,SAApH,EAAmJ4B,oBAAnJ;AACA,kBAAK,uFAAL,EAA8FtB,wBAA9F,EAAoHN,SAApH,EAAmJ6B,oBAAnJ;AACA,kBAAK,+EAAL,EAAsFvB,wBAAtF,EAA4GN,SAA5G,EAA2I8B,YAA3I;AACA,kBAAK,8FAAL,EAAqGxB,wBAArG,EAA2HN,SAA3H,EAA0J+B,2BAA1J;AACA,kBAAK,iGAAL,EAAwGzB,wBAAxG,EAA8HN,SAA9H,EAA6JgC,8BAA7J;AACA,kBAAK,uFAAL,EAA8F1B,wBAA9F,EAAoHN,SAApH,EAAmJiC,oBAAnJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\n"],"file":"fixtures.js"}
@@ -12,8 +12,6 @@ var _default = _interopRequireDefault(require("./fixtures/default"));
12
12
 
13
13
  var _isLoading = _interopRequireDefault(require("./fixtures/is-loading"));
14
14
 
15
- var _mobile = _interopRequireDefault(require("./fixtures/mobile"));
16
-
17
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
16
 
19
17
  (0, _ava.default)('Template › TemplateTeamsDashboard > should have valid propTypes', t => {
@@ -24,5 +22,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
24
22
  });
25
23
  (0, _ava.default)('Template › TemplateTeamsDashboard › Default › should be rendered', _renderComponent.default, _.default, _default.default);
26
24
  (0, _ava.default)('Template › TemplateTeamsDashboard › IsLoading › should be rendered', _renderComponent.default, _.default, _isLoading.default);
27
- (0, _ava.default)('Template › TemplateTeamsDashboard › Mobile › should be rendered', _renderComponent.default, _.default, _mobile.default);
28
25
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["t","pass","TemplateTeamsDashboard","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureIsLoading","fixtureMobile"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,kEAAL,EAAyEG,wBAAzE,EAA+FN,SAA/F,EAAuHO,gBAAvH;AACA,kBAAK,oEAAL,EAA2ED,wBAA3E,EAAiGN,SAAjG,EAAyHQ,kBAAzH;AACA,kBAAK,iEAAL,EAAwEF,wBAAxE,EAA8FN,SAA9F,EAAsHS,eAAtH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateTeamsDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureIsLoading from './fixtures/is-loading';\nimport fixtureMobile from './fixtures/mobile';\n\ntest('Template › TemplateTeamsDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateTeamsDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateTeamsDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);\ntest('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);\ntest('Template › TemplateTeamsDashboard › Mobile › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureMobile);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["t","pass","TemplateTeamsDashboard","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureIsLoading"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,kEAAL,EAAyEG,wBAAzE,EAA+FN,SAA/F,EAAuHO,gBAAvH;AACA,kBAAK,oEAAL,EAA2ED,wBAA3E,EAAiGN,SAAjG,EAAyHQ,kBAAzH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateTeamsDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureIsLoading from './fixtures/is-loading';\n\ntest('Template › TemplateTeamsDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateTeamsDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateTeamsDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);\ntest('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);\n"],"file":"fixtures.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.13.10-alpha.1+a18566f4d",
3
+ "version": "10.13.12",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -119,5 +119,5 @@
119
119
  "webpack-hot-middleware": "^2.25.0"
120
120
  },
121
121
  "author": "CoorpAcademy",
122
- "gitHead": "a18566f4db930df6991ce06e2306fa749cf181ff"
122
+ "gitHead": "2f6fa89156e1b4381d4ea6daf30ee7eceacaba78"
123
123
  }
@@ -1,31 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import AtomButtonLink from '..';
5
- import fixtureButtonDangerousNoIcon from './fixtures/button-dangerous-no-icon';
6
- import fixtureButtonPrimaryIconLeft from './fixtures/button-primary-icon-left';
7
- import fixtureButtonPrimaryNoIcon from './fixtures/button-primary-no-icon';
8
- import fixtureButtonSecondaryNoIconDisabled from './fixtures/button-secondary-no-icon-disabled';
9
- import fixtureButtonTertiaryIconLeft from './fixtures/button-tertiary-icon-left';
10
- import fixtureLinkPrimaryDisabledIconRight from './fixtures/link-primary-disabled-icon-right';
11
- import fixtureLinkSecondaryIconRight from './fixtures/link-secondary-icon-right';
12
- import fixtureLinkTertiaryNoIcon from './fixtures/link-tertiary-no-icon';
13
- import fixtureLinkTextIconRightTargetBlank from './fixtures/link-text-icon-right-target-blank';
14
- import fixtureLinkTextNoIconDownload from './fixtures/link-text-no-icon-download';
15
- test('Atom › AtomButtonLink > should have valid propTypes', t => {
16
- t.pass();
17
- forEach(AtomButtonLink.propTypes, (value, key) => {
18
- t.not(value, undefined, `PropType for "Atom.AtomButtonLink.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
19
- });
20
- });
21
- test('Atom › AtomButtonLink › ButtonDangerousNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonDangerousNoIcon);
22
- test('Atom › AtomButtonLink › ButtonPrimaryIconLeft › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonPrimaryIconLeft);
23
- test('Atom › AtomButtonLink › ButtonPrimaryNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonPrimaryNoIcon);
24
- test('Atom › AtomButtonLink › ButtonSecondaryNoIconDisabled › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonSecondaryNoIconDisabled);
25
- test('Atom › AtomButtonLink › ButtonTertiaryIconLeft › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonTertiaryIconLeft);
26
- test('Atom › AtomButtonLink › LinkPrimaryDisabledIconRight › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkPrimaryDisabledIconRight);
27
- test('Atom › AtomButtonLink › LinkSecondaryIconRight › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkSecondaryIconRight);
28
- test('Atom › AtomButtonLink › LinkTertiaryNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTertiaryNoIcon);
29
- test('Atom › AtomButtonLink › LinkTextIconRightTargetBlank › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTextIconRightTargetBlank);
30
- test('Atom › AtomButtonLink › LinkTextNoIconDownload › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTextNoIconDownload);
31
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/atom/button-link/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLink","fixtureButtonDangerousNoIcon","fixtureButtonPrimaryIconLeft","fixtureButtonPrimaryNoIcon","fixtureButtonSecondaryNoIconDisabled","fixtureButtonTertiaryIconLeft","fixtureLinkPrimaryDisabledIconRight","fixtureLinkSecondaryIconRight","fixtureLinkTertiaryNoIcon","fixtureLinkTextIconRightTargetBlank","fixtureLinkTextNoIconDownload","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,cAAP,MAA2B,IAA3B;AACA,OAAOC,4BAAP,MAAyC,qCAAzC;AACA,OAAOC,4BAAP,MAAyC,qCAAzC;AACA,OAAOC,0BAAP,MAAuC,mCAAvC;AACA,OAAOC,oCAAP,MAAiD,8CAAjD;AACA,OAAOC,6BAAP,MAA0C,sCAA1C;AACA,OAAOC,mCAAP,MAAgD,6CAAhD;AACA,OAAOC,6BAAP,MAA0C,sCAA1C;AACA,OAAOC,yBAAP,MAAsC,kCAAtC;AACA,OAAOC,mCAAP,MAAgD,8CAAhD;AACA,OAAOC,6BAAP,MAA0C,uCAA1C;AAEAb,IAAI,CAAC,qDAAD,EAAwDc,CAAC,IAAI;AAC/DA,EAAAA,CAAC,CAACC,IAAF;AACAd,EAAAA,OAAO,CAACE,cAAc,CAACa,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,+CAA8CF,GAAI,mEAA3E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAlB,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,cAA7F,EAA6GC,4BAA7G,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,cAA7F,EAA6GE,4BAA7G,CAAJ;AACAL,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,cAA3F,EAA2GG,0BAA3G,CAAJ;AACAN,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,cAArG,EAAqHI,oCAArH,CAAJ;AACAP,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,cAA9F,EAA8GK,6BAA9G,CAAJ;AACAR,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,cAApG,EAAoHM,mCAApH,CAAJ;AACAT,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,cAA9F,EAA8GO,6BAA9G,CAAJ;AACAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,cAA1F,EAA0GQ,yBAA1G,CAAJ;AACAX,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,cAApG,EAAoHS,mCAApH,CAAJ;AACAZ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,cAA9F,EAA8GU,6BAA9G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLink from '..';\nimport fixtureButtonDangerousNoIcon from './fixtures/button-dangerous-no-icon';\nimport fixtureButtonPrimaryIconLeft from './fixtures/button-primary-icon-left';\nimport fixtureButtonPrimaryNoIcon from './fixtures/button-primary-no-icon';\nimport fixtureButtonSecondaryNoIconDisabled from './fixtures/button-secondary-no-icon-disabled';\nimport fixtureButtonTertiaryIconLeft from './fixtures/button-tertiary-icon-left';\nimport fixtureLinkPrimaryDisabledIconRight from './fixtures/link-primary-disabled-icon-right';\nimport fixtureLinkSecondaryIconRight from './fixtures/link-secondary-icon-right';\nimport fixtureLinkTertiaryNoIcon from './fixtures/link-tertiary-no-icon';\nimport fixtureLinkTextIconRightTargetBlank from './fixtures/link-text-icon-right-target-blank';\nimport fixtureLinkTextNoIconDownload from './fixtures/link-text-no-icon-download';\n\ntest('Atom › AtomButtonLink > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLink.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLink.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLink › ButtonDangerousNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonDangerousNoIcon);\ntest('Atom › AtomButtonLink › ButtonPrimaryIconLeft › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonPrimaryIconLeft);\ntest('Atom › AtomButtonLink › ButtonPrimaryNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonPrimaryNoIcon);\ntest('Atom › AtomButtonLink › ButtonSecondaryNoIconDisabled › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonSecondaryNoIconDisabled);\ntest('Atom › AtomButtonLink › ButtonTertiaryIconLeft › should be rendered', renderComponentMacro, AtomButtonLink, fixtureButtonTertiaryIconLeft);\ntest('Atom › AtomButtonLink › LinkPrimaryDisabledIconRight › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkPrimaryDisabledIconRight);\ntest('Atom › AtomButtonLink › LinkSecondaryIconRight › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkSecondaryIconRight);\ntest('Atom › AtomButtonLink › LinkTertiaryNoIcon › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTertiaryNoIcon);\ntest('Atom › AtomButtonLink › LinkTextIconRightTargetBlank › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTextIconRightTargetBlank);\ntest('Atom › AtomButtonLink › LinkTextNoIconDownload › should be rendered', renderComponentMacro, AtomButtonLink, fixtureLinkTextNoIconDownload);\n"],"file":"fixtures.js"}
@@ -1,21 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import AtomButtonLinkIconOnly from '..';
5
- import fixtureButtonIconBullet from './fixtures/button-icon-bullet';
6
- import fixtureDefault from './fixtures/default';
7
- import fixtureNoIcon from './fixtures/no-icon';
8
- import fixtureSmallButtonDisabled from './fixtures/small-button-disabled';
9
- import fixtureSmallLinkDownload from './fixtures/small-link-download';
10
- test('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {
11
- t.pass();
12
- forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {
13
- t.not(value, undefined, `PropType for "Atom.AtomButtonLinkIconOnly.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
14
- });
15
- });
16
- test('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);
17
- test('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);
18
- test('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);
19
- test('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);
20
- test('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);
21
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLinkIconOnly","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","fixtureSmallButtonDisabled","fixtureSmallLinkDownload","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AAEAR,IAAI,CAAC,6DAAD,EAAgES,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,sBAAsB,CAACQ,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,sBAAhG,EAAwHC,uBAAxH,CAAJ;AACAJ,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,sBAAtF,EAA8GG,aAA9G,CAAJ;AACAN,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HI,0BAA3H,CAAJ;AACAP,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHK,wBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLinkIconOnly from '..';\nimport fixtureButtonIconBullet from './fixtures/button-icon-bullet';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixtureSmallButtonDisabled from './fixtures/small-button-disabled';\nimport fixtureSmallLinkDownload from './fixtures/small-link-download';\n\ntest('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLinkIconOnly.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);\ntest('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);\ntest('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);\ntest('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);\ntest('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import AtomButtonMenu from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureMultipleButtons from './fixtures/multiple-buttons';
7
- test('Atom › AtomButtonMenu > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(AtomButtonMenu.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Atom.AtomButtonMenu.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Atom › AtomButtonMenu › Default › should be rendered', renderComponentMacro, AtomButtonMenu, fixtureDefault);
14
- test('Atom › AtomButtonMenu › MultipleButtons › should be rendered', renderComponentMacro, AtomButtonMenu, fixtureMultipleButtons);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/atom/button-menu/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonMenu","fixtureDefault","fixtureMultipleButtons","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,cAAP,MAA2B,IAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AAEAL,IAAI,CAAC,qDAAD,EAAwDM,CAAC,IAAI;AAC/DA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,cAAc,CAACK,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,+CAA8CF,GAAI,mEAA3E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,cAA/E,EAA+FC,cAA/F,CAAJ;AACAJ,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,cAAvF,EAAuGE,sBAAvG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonMenu from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureMultipleButtons from './fixtures/multiple-buttons';\n\ntest('Atom › AtomButtonMenu > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonMenu.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonMenu.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonMenu › Default › should be rendered', renderComponentMacro, AtomButtonMenu, fixtureDefault);\ntest('Atom › AtomButtonMenu › MultipleButtons › should be rendered', renderComponentMacro, AtomButtonMenu, fixtureMultipleButtons);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import AtomCardImagePreview from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureEmpty from './fixtures/empty';
7
- test('Atom › AtomCardImagePreview > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(AtomCardImagePreview.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Atom.AtomCardImagePreview.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Atom › AtomCardImagePreview › Default › should be rendered', renderComponentMacro, AtomCardImagePreview, fixtureDefault);
14
- test('Atom › AtomCardImagePreview › Empty › should be rendered', renderComponentMacro, AtomCardImagePreview, fixtureEmpty);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/atom/card-image-preview/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomCardImagePreview","fixtureDefault","fixtureEmpty","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAL,IAAI,CAAC,2DAAD,EAA8DM,CAAC,IAAI;AACrEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,oBAAoB,CAACK,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,qDAAoDF,GAAI,mEAAjF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,oBAArF,EAA2GC,cAA3G,CAAJ;AACAJ,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,oBAAnF,EAAyGE,YAAzG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomCardImagePreview from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\n\ntest('Atom › AtomCardImagePreview > should have valid propTypes', t => {\n t.pass();\n forEach(AtomCardImagePreview.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomCardImagePreview.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomCardImagePreview › Default › should be rendered', renderComponentMacro, AtomCardImagePreview, fixtureDefault);\ntest('Atom › AtomCardImagePreview › Empty › should be rendered', renderComponentMacro, AtomCardImagePreview, fixtureEmpty);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import AtomCheckboxWithTitle from '..';
5
- import fixtureChecked from './fixtures/checked';
6
- import fixtureUnchecked from './fixtures/unchecked';
7
- test('Atom › AtomCheckboxWithTitle > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(AtomCheckboxWithTitle.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Atom.AtomCheckboxWithTitle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Atom › AtomCheckboxWithTitle › Checked › should be rendered', renderComponentMacro, AtomCheckboxWithTitle, fixtureChecked);
14
- test('Atom › AtomCheckboxWithTitle › Unchecked › should be rendered', renderComponentMacro, AtomCheckboxWithTitle, fixtureUnchecked);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/atom/checkbox-with-title/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomCheckboxWithTitle","fixtureChecked","fixtureUnchecked","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAL,IAAI,CAAC,4DAAD,EAA+DM,CAAC,IAAI;AACtEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,qBAAqB,CAACK,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,sDAAqDF,GAAI,mEAAlF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,qBAAtF,EAA6GC,cAA7G,CAAJ;AACAJ,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,qBAAxF,EAA+GE,gBAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomCheckboxWithTitle from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Atom › AtomCheckboxWithTitle > should have valid propTypes', t => {\n t.pass();\n forEach(AtomCheckboxWithTitle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomCheckboxWithTitle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomCheckboxWithTitle › Checked › should be rendered', renderComponentMacro, AtomCheckboxWithTitle, fixtureChecked);\ntest('Atom › AtomCheckboxWithTitle › Unchecked › should be rendered', renderComponentMacro, AtomCheckboxWithTitle, fixtureUnchecked);\n"],"file":"fixtures.js"}