@coorpacademy/components 10.7.0 → 10.9.0

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 (421) hide show
  1. package/es/atom/autocomplete/test/fixtures.js +0 -0
  2. package/es/atom/avatar/test/fixtures.js +0 -0
  3. package/es/atom/button/test/fixtures.js +0 -0
  4. package/es/atom/button-link/index.js +10 -3
  5. package/es/atom/button-link/index.js.map +1 -1
  6. package/es/atom/card-image-preview/test/fixtures.js +15 -0
  7. package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
  8. package/es/atom/catalog-section/test/fixtures.js +0 -0
  9. package/es/atom/centered-text/test/fixtures.js +0 -0
  10. package/es/atom/checkbox/test/fixtures.js +0 -0
  11. package/es/atom/clue/test/fixtures.js +0 -0
  12. package/es/atom/cta/test/fixtures.js +0 -0
  13. package/es/atom/difficulty-level/test/fixtures.js +0 -0
  14. package/es/atom/drag-and-drop/test/fixtures.js +0 -0
  15. package/es/atom/image-upload/test/fixtures.js +0 -0
  16. package/es/atom/input-checkbox/test/fixtures.js +0 -0
  17. package/es/atom/input-color/test/fixtures.js +0 -0
  18. package/es/atom/input-doublestep/test/fixtures.js +0 -0
  19. package/es/atom/input-html/test/fixtures.js +0 -0
  20. package/es/atom/input-readonly/test/fixtures.js +0 -0
  21. package/es/atom/input-switch/test/fixtures.js +0 -0
  22. package/es/atom/input-text/test/fixtures.js +0 -0
  23. package/es/atom/input-textarea/test/fixtures.js +0 -0
  24. package/es/atom/label/test/fixtures.js +0 -0
  25. package/es/atom/life/test/fixtures.js +0 -0
  26. package/es/atom/link/test/fixtures.js +0 -0
  27. package/es/atom/loader/test/fixtures.js +0 -0
  28. package/es/atom/notification/test/fixtures.js +0 -0
  29. package/es/atom/picture/test/fixtures.js +0 -0
  30. package/es/atom/picture-background/test/fixtures.js +0 -0
  31. package/es/atom/promo-code/test/fixtures.js +0 -0
  32. package/es/atom/provider/test/fixtures.js +0 -0
  33. package/es/atom/radio-group/test/fixtures.js +0 -0
  34. package/es/atom/range/test/fixtures.js +0 -0
  35. package/es/atom/resource-miniature/test/fixtures.js +0 -0
  36. package/es/atom/select/test/fixtures.js +4 -0
  37. package/es/atom/select/test/fixtures.js.map +1 -1
  38. package/es/atom/slide/test/fixtures.js +0 -0
  39. package/es/atom/social-link/test/fixtures.js +0 -0
  40. package/es/atom/spinner/test/fixtures.js +0 -0
  41. package/es/atom/tab/test/fixtures.js +0 -0
  42. package/es/atom/tab-content/test/fixtures.js +0 -0
  43. package/es/atom/tag/index.js +1 -1
  44. package/es/atom/tag/index.js.map +1 -1
  45. package/es/atom/title/test/fixtures.js +0 -0
  46. package/es/atom/video-upload/test/fixtures.js +0 -0
  47. package/es/hoc/animation/test/fixtures.js +0 -0
  48. package/es/hoc/animation-scheduler/test/fixtures.js +0 -0
  49. package/es/hoc/swapper/test/fixtures.js +0 -0
  50. package/es/hoc/transition/test/fixtures.js +0 -0
  51. package/es/molecule/add-to-my-list/test/fixtures.js +0 -0
  52. package/es/molecule/answer/test/fixtures.js +0 -0
  53. package/es/molecule/audio/test/fixtures.js +0 -0
  54. package/es/molecule/battle-request/test/fixtures.js +0 -0
  55. package/es/molecule/brand-card/test/fixtures.js +0 -0
  56. package/es/molecule/brand-card-create/test/fixtures.js +0 -0
  57. package/es/molecule/brand-create-form/test/fixtures.js +0 -0
  58. package/es/molecule/brand-download-box/test/fixtures.js +0 -0
  59. package/es/molecule/brand-form-group/test/fixtures.js +0 -0
  60. package/es/molecule/brand-tabs/test/fixtures.js +0 -0
  61. package/es/molecule/brand-upload-box/test/fixtures.js +0 -0
  62. package/es/molecule/breadcrumbs/test/fixtures.js +0 -0
  63. package/es/molecule/card/test/fixtures.js +0 -0
  64. package/es/molecule/card-content/test/fixtures.js +0 -0
  65. package/es/molecule/card-with-button/test/fixtures.js +0 -0
  66. package/es/molecule/cockpit-popin/test/fixtures.js +0 -0
  67. package/es/molecule/cookie-banner/test/fixtures.js +0 -0
  68. package/es/molecule/course-section/test/fixtures.js +15 -0
  69. package/es/molecule/course-section/test/fixtures.js.map +1 -0
  70. package/es/molecule/course-sections/test/fixtures.js +15 -0
  71. package/es/molecule/course-sections/test/fixtures.js.map +1 -0
  72. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  73. package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  74. package/es/molecule/dashboard/news-list/test/fixtures.js +0 -0
  75. package/es/molecule/dashboard/review-banner/index.js +79 -0
  76. package/es/molecule/dashboard/review-banner/index.js.map +1 -0
  77. package/es/molecule/dashboard/review-banner/style.css +186 -0
  78. package/es/molecule/dashboard/review-banner/test/fixtures/default.js +11 -0
  79. package/es/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
  80. package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
  81. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  82. package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  83. package/es/molecule/discipline-cta/test/fixtures.js +0 -0
  84. package/es/molecule/discipline-header/test/fixtures.js +0 -0
  85. package/es/molecule/discipline-partners/test/fixtures.js +0 -0
  86. package/es/molecule/discipline-scope/test/fixtures.js +0 -0
  87. package/es/molecule/drag-and-drop/test/fixtures.js +0 -0
  88. package/es/molecule/draggable/test/fixtures.js +13 -0
  89. package/es/molecule/draggable/test/fixtures.js.map +1 -0
  90. package/es/molecule/draggable-list/test/fixtures.js +15 -0
  91. package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
  92. package/es/molecule/external-content-button/test/fixtures.js +0 -0
  93. package/es/molecule/external-content-viewer/test/fixtures.js +0 -0
  94. package/es/molecule/feedback/test/fixtures.js +0 -0
  95. package/es/molecule/filters/test/fixtures.js +0 -0
  96. package/es/molecule/forum/forum-comment/test/fixtures.js +0 -0
  97. package/es/molecule/forum/forum-post/test/fixtures.js +0 -0
  98. package/es/molecule/forum/forum-thread/test/fixtures.js +0 -0
  99. package/es/molecule/hero/test/fixtures.js +0 -0
  100. package/es/molecule/login-alert/test/fixtures.js +0 -0
  101. package/es/molecule/menu-list/test/fixtures.js +0 -0
  102. package/es/molecule/message-popin/test/fixtures.js +0 -0
  103. package/es/molecule/modal/test/fixtures.js +0 -0
  104. package/es/molecule/module-bubble/test/fixtures.js +0 -0
  105. package/es/molecule/module-card/test/fixtures.js +0 -0
  106. package/es/molecule/news/test/fixtures.js +0 -0
  107. package/es/molecule/notification-banner/test/fixtures.js +0 -0
  108. package/es/molecule/pagination/test/fixtures.js +0 -0
  109. package/es/molecule/payment-form/test/fixtures.js +0 -0
  110. package/es/molecule/pdf/test/fixtures.js +0 -0
  111. package/es/molecule/product-card/test/fixtures.js +0 -0
  112. package/es/molecule/progress-bar/test/fixtures.js +0 -0
  113. package/es/molecule/questions/drop-down/test/fixtures.js +0 -0
  114. package/es/molecule/questions/free-text/test/fixtures.js +4 -2
  115. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  116. package/es/molecule/questions/qcm/test/fixtures.js +0 -0
  117. package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  118. package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  119. package/es/molecule/questions/question-range/test/fixtures.js +0 -0
  120. package/es/molecule/questions/template/test/fixtures.js +0 -0
  121. package/es/molecule/resource-player/test/fixtures.js +0 -0
  122. package/es/molecule/review-correction-popin/index.js +103 -0
  123. package/es/molecule/review-correction-popin/index.js.map +1 -0
  124. package/es/molecule/review-correction-popin/style.css +315 -0
  125. package/es/molecule/review-correction-popin/test/fixtures/right.js +17 -0
  126. package/es/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  127. package/es/molecule/review-correction-popin/test/fixtures/wrong.js +19 -0
  128. package/es/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  129. package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
  130. package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  131. package/es/molecule/scope-content/test/fixtures.js +0 -0
  132. package/es/molecule/scope-tabs/test/fixtures.js +0 -0
  133. package/es/molecule/search/test/fixtures.js +0 -0
  134. package/es/molecule/search-form/test/fixtures.js +0 -0
  135. package/es/molecule/select-multiple/test/fixtures.js +0 -0
  136. package/es/molecule/setup-cohort-item/test/fixtures.js +0 -0
  137. package/es/molecule/setup-section/test/fixtures.js +0 -0
  138. package/es/molecule/setup-sections/test/fixtures.js +0 -0
  139. package/es/molecule/setup-slide/test/fixtures.js +0 -0
  140. package/es/molecule/setup-slider/test/fixtures.js +0 -0
  141. package/es/molecule/share/test/fixtures.js +0 -0
  142. package/es/molecule/ssmenu-list/test/fixtures.js +0 -0
  143. package/es/molecule/subscription-freemium/test/fixtures.js +0 -0
  144. package/es/molecule/subscription-premium/test/fixtures.js +0 -0
  145. package/es/molecule/table/test/fixtures.js +0 -0
  146. package/es/molecule/teams-popin/test/fixtures.js +0 -0
  147. package/es/molecule/theme-image/test/fixtures.js +0 -0
  148. package/es/molecule/titled-checkbox/test/fixtures.js +0 -0
  149. package/es/molecule/unsubscribe/test/fixtures.js +0 -0
  150. package/es/molecule/video-iframe/test/fixtures.js +0 -0
  151. package/es/molecule/video-player/test/fixtures.js +0 -0
  152. package/es/molecule/wizard-summary/test/fixtures.js +2 -0
  153. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -1
  154. package/es/organism/accordion/container/test/fixtures.js +0 -0
  155. package/es/organism/accordion/part/test/fixtures.js +0 -0
  156. package/es/organism/accordion/toggler/test/fixtures.js +0 -0
  157. package/es/organism/brand-dashboard/test/fixtures.js +0 -0
  158. package/es/organism/brand-form/test/fixtures.js +0 -0
  159. package/es/organism/brand-table/test/fixtures.js +0 -0
  160. package/es/organism/brand-upload/test/fixtures.js +0 -0
  161. package/es/organism/cards-grid/test/fixtures.js +0 -0
  162. package/es/organism/cart/test/fixtures.js +0 -0
  163. package/es/organism/discussion/test/fixtures.js +0 -0
  164. package/es/organism/get-the-app/test/fixtures.js +0 -0
  165. package/es/organism/grid-list/test/fixtures.js +0 -0
  166. package/es/organism/header/test/fixtures.js +0 -0
  167. package/es/organism/hero/test/fixtures.js +0 -0
  168. package/es/organism/list-items/index.js +2 -2
  169. package/es/organism/list-items/index.js.map +1 -1
  170. package/es/organism/mooc/image-slider/test/fixtures.js +0 -0
  171. package/es/organism/mooc-footer/test/fixtures.js +0 -0
  172. package/es/organism/mooc-header/test/fixtures.js +0 -0
  173. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  174. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  175. package/es/organism/popin/test/fixtures.js +0 -0
  176. package/es/organism/resource-browser/test/fixtures.js +0 -0
  177. package/es/organism/settings/test/fixtures.js +0 -0
  178. package/es/organism/setup-header/test/fixtures.js +0 -0
  179. package/es/organism/sidebar/test/fixtures.js +0 -0
  180. package/es/organism/slider/test/fixtures.js +0 -0
  181. package/es/organism/user-preferences/test/fixtures.js +0 -0
  182. package/es/organism/wizard-contents/index.js +2 -2
  183. package/es/organism/wizard-contents/index.js.map +1 -1
  184. package/es/organism/wizard-contents/test/fixtures.js +2 -0
  185. package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
  186. package/es/template/activity/test/fixtures.js +0 -0
  187. package/es/template/app-player/loading/test/fixtures.js +0 -0
  188. package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  189. package/es/template/app-player/player/slides/header/test/fixtures.js +0 -0
  190. package/es/template/app-player/player/slides/test/fixtures.js +0 -0
  191. package/es/template/app-player/player/test/fixtures.js +0 -0
  192. package/es/template/app-player/popin-correction/test/fixtures.js +0 -0
  193. package/es/template/app-player/popin-end/test/fixtures.js +0 -0
  194. package/es/template/app-player/popin-header/test/fixtures.js +0 -0
  195. package/es/template/back-office/brand-create/test/fixtures.js +0 -0
  196. package/es/template/back-office/brand-list/test/fixtures.js +0 -0
  197. package/es/template/back-office/brand-update/test/fixtures.js +2 -0
  198. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  199. package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  200. package/es/template/battle-requests/test/fixtures.js +0 -0
  201. package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  202. package/es/template/common/authors/test/fixtures.js +0 -0
  203. package/es/template/common/coorp-header/test/fixtures.js +0 -0
  204. package/es/template/common/dashboard/test/fixtures.js +0 -0
  205. package/es/template/common/discipline/test/fixtures.js +0 -0
  206. package/es/template/common/search-page/test/fixtures.js +0 -0
  207. package/es/template/external-course/test/fixtures.js +0 -0
  208. package/es/template/teams-dashboard/test/fixtures.js +0 -0
  209. package/es/util/button-icons.js +2 -1
  210. package/es/util/button-icons.js.map +1 -1
  211. package/lib/atom/autocomplete/test/fixtures.js +0 -0
  212. package/lib/atom/avatar/test/fixtures.js +0 -0
  213. package/lib/atom/button/test/fixtures.js +0 -0
  214. package/lib/atom/button-link/index.js +11 -3
  215. package/lib/atom/button-link/index.js.map +1 -1
  216. package/lib/atom/card-image-preview/test/fixtures.js +25 -0
  217. package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
  218. package/lib/atom/catalog-section/test/fixtures.js +0 -0
  219. package/lib/atom/centered-text/test/fixtures.js +0 -0
  220. package/lib/atom/checkbox/test/fixtures.js +0 -0
  221. package/lib/atom/clue/test/fixtures.js +0 -0
  222. package/lib/atom/cta/test/fixtures.js +0 -0
  223. package/lib/atom/difficulty-level/test/fixtures.js +0 -0
  224. package/lib/atom/drag-and-drop/test/fixtures.js +0 -0
  225. package/lib/atom/image-upload/test/fixtures.js +0 -0
  226. package/lib/atom/input-checkbox/test/fixtures.js +0 -0
  227. package/lib/atom/input-color/test/fixtures.js +0 -0
  228. package/lib/atom/input-doublestep/test/fixtures.js +0 -0
  229. package/lib/atom/input-html/test/fixtures.js +0 -0
  230. package/lib/atom/input-readonly/test/fixtures.js +0 -0
  231. package/lib/atom/input-switch/test/fixtures.js +0 -0
  232. package/lib/atom/input-text/test/fixtures.js +0 -0
  233. package/lib/atom/input-textarea/test/fixtures.js +0 -0
  234. package/lib/atom/label/test/fixtures.js +0 -0
  235. package/lib/atom/life/test/fixtures.js +0 -0
  236. package/lib/atom/link/test/fixtures.js +0 -0
  237. package/lib/atom/loader/test/fixtures.js +0 -0
  238. package/lib/atom/notification/test/fixtures.js +0 -0
  239. package/lib/atom/picture/test/fixtures.js +0 -0
  240. package/lib/atom/picture-background/test/fixtures.js +0 -0
  241. package/lib/atom/promo-code/test/fixtures.js +0 -0
  242. package/lib/atom/provider/test/fixtures.js +0 -0
  243. package/lib/atom/radio-group/test/fixtures.js +0 -0
  244. package/lib/atom/range/test/fixtures.js +0 -0
  245. package/lib/atom/resource-miniature/test/fixtures.js +0 -0
  246. package/lib/atom/select/test/fixtures.js +6 -0
  247. package/lib/atom/select/test/fixtures.js.map +1 -1
  248. package/lib/atom/slide/test/fixtures.js +0 -0
  249. package/lib/atom/social-link/test/fixtures.js +0 -0
  250. package/lib/atom/spinner/test/fixtures.js +0 -0
  251. package/lib/atom/tab/test/fixtures.js +0 -0
  252. package/lib/atom/tab-content/test/fixtures.js +0 -0
  253. package/lib/atom/tag/index.js +1 -1
  254. package/lib/atom/tag/index.js.map +1 -1
  255. package/lib/atom/title/test/fixtures.js +0 -0
  256. package/lib/atom/video-upload/test/fixtures.js +0 -0
  257. package/lib/hoc/animation/test/fixtures.js +0 -0
  258. package/lib/hoc/animation-scheduler/test/fixtures.js +0 -0
  259. package/lib/hoc/swapper/test/fixtures.js +0 -0
  260. package/lib/hoc/transition/test/fixtures.js +0 -0
  261. package/lib/molecule/add-to-my-list/test/fixtures.js +0 -0
  262. package/lib/molecule/answer/test/fixtures.js +0 -0
  263. package/lib/molecule/audio/test/fixtures.js +0 -0
  264. package/lib/molecule/battle-request/test/fixtures.js +0 -0
  265. package/lib/molecule/brand-card/test/fixtures.js +0 -0
  266. package/lib/molecule/brand-card-create/test/fixtures.js +0 -0
  267. package/lib/molecule/brand-create-form/test/fixtures.js +0 -0
  268. package/lib/molecule/brand-download-box/test/fixtures.js +0 -0
  269. package/lib/molecule/brand-form-group/test/fixtures.js +0 -0
  270. package/lib/molecule/brand-tabs/test/fixtures.js +0 -0
  271. package/lib/molecule/brand-upload-box/test/fixtures.js +0 -0
  272. package/lib/molecule/breadcrumbs/test/fixtures.js +0 -0
  273. package/lib/molecule/card/test/fixtures.js +0 -0
  274. package/lib/molecule/card-content/test/fixtures.js +0 -0
  275. package/lib/molecule/card-with-button/test/fixtures.js +0 -0
  276. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -0
  277. package/lib/molecule/cookie-banner/test/fixtures.js +0 -0
  278. package/lib/molecule/course-section/test/fixtures.js +25 -0
  279. package/lib/molecule/course-section/test/fixtures.js.map +1 -0
  280. package/lib/molecule/course-sections/test/fixtures.js +25 -0
  281. package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
  282. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  283. package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  284. package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -0
  285. package/lib/molecule/dashboard/review-banner/index.js +94 -0
  286. package/lib/molecule/dashboard/review-banner/index.js.map +1 -0
  287. package/lib/molecule/dashboard/review-banner/style.css +186 -0
  288. package/lib/molecule/dashboard/review-banner/test/fixtures/default.js +16 -0
  289. package/lib/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
  290. package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
  291. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  292. package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  293. package/lib/molecule/discipline-cta/test/fixtures.js +0 -0
  294. package/lib/molecule/discipline-header/test/fixtures.js +0 -0
  295. package/lib/molecule/discipline-partners/test/fixtures.js +0 -0
  296. package/lib/molecule/discipline-scope/test/fixtures.js +0 -0
  297. package/lib/molecule/drag-and-drop/test/fixtures.js +0 -0
  298. package/lib/molecule/draggable/test/fixtures.js +22 -0
  299. package/lib/molecule/draggable/test/fixtures.js.map +1 -0
  300. package/lib/molecule/draggable-list/test/fixtures.js +25 -0
  301. package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
  302. package/lib/molecule/external-content-button/test/fixtures.js +0 -0
  303. package/lib/molecule/external-content-viewer/test/fixtures.js +0 -0
  304. package/lib/molecule/feedback/test/fixtures.js +0 -0
  305. package/lib/molecule/filters/test/fixtures.js +0 -0
  306. package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -0
  307. package/lib/molecule/forum/forum-post/test/fixtures.js +0 -0
  308. package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -0
  309. package/lib/molecule/hero/test/fixtures.js +0 -0
  310. package/lib/molecule/login-alert/test/fixtures.js +0 -0
  311. package/lib/molecule/menu-list/test/fixtures.js +0 -0
  312. package/lib/molecule/message-popin/test/fixtures.js +0 -0
  313. package/lib/molecule/modal/test/fixtures.js +0 -0
  314. package/lib/molecule/module-bubble/test/fixtures.js +0 -0
  315. package/lib/molecule/module-card/test/fixtures.js +0 -0
  316. package/lib/molecule/news/test/fixtures.js +0 -0
  317. package/lib/molecule/notification-banner/test/fixtures.js +0 -0
  318. package/lib/molecule/pagination/test/fixtures.js +0 -0
  319. package/lib/molecule/payment-form/test/fixtures.js +0 -0
  320. package/lib/molecule/pdf/test/fixtures.js +0 -0
  321. package/lib/molecule/product-card/test/fixtures.js +0 -0
  322. package/lib/molecule/progress-bar/test/fixtures.js +0 -0
  323. package/lib/molecule/questions/drop-down/test/fixtures.js +0 -0
  324. package/lib/molecule/questions/free-text/test/fixtures.js +5 -2
  325. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  326. package/lib/molecule/questions/qcm/test/fixtures.js +0 -0
  327. package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  328. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  329. package/lib/molecule/questions/question-range/test/fixtures.js +0 -0
  330. package/lib/molecule/questions/template/test/fixtures.js +0 -0
  331. package/lib/molecule/resource-player/test/fixtures.js +0 -0
  332. package/lib/molecule/review-correction-popin/index.js +116 -0
  333. package/lib/molecule/review-correction-popin/index.js.map +1 -0
  334. package/lib/molecule/review-correction-popin/style.css +315 -0
  335. package/lib/molecule/review-correction-popin/test/fixtures/right.js +22 -0
  336. package/lib/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  337. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js +24 -0
  338. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  339. package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
  340. package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  341. package/lib/molecule/scope-content/test/fixtures.js +0 -0
  342. package/lib/molecule/scope-tabs/test/fixtures.js +0 -0
  343. package/lib/molecule/search/test/fixtures.js +0 -0
  344. package/lib/molecule/search-form/test/fixtures.js +0 -0
  345. package/lib/molecule/select-multiple/test/fixtures.js +0 -0
  346. package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -0
  347. package/lib/molecule/setup-section/test/fixtures.js +0 -0
  348. package/lib/molecule/setup-sections/test/fixtures.js +0 -0
  349. package/lib/molecule/setup-slide/test/fixtures.js +0 -0
  350. package/lib/molecule/setup-slider/test/fixtures.js +0 -0
  351. package/lib/molecule/share/test/fixtures.js +0 -0
  352. package/lib/molecule/ssmenu-list/test/fixtures.js +0 -0
  353. package/lib/molecule/subscription-freemium/test/fixtures.js +0 -0
  354. package/lib/molecule/subscription-premium/test/fixtures.js +0 -0
  355. package/lib/molecule/table/test/fixtures.js +0 -0
  356. package/lib/molecule/teams-popin/test/fixtures.js +0 -0
  357. package/lib/molecule/theme-image/test/fixtures.js +0 -0
  358. package/lib/molecule/titled-checkbox/test/fixtures.js +0 -0
  359. package/lib/molecule/unsubscribe/test/fixtures.js +0 -0
  360. package/lib/molecule/video-iframe/test/fixtures.js +0 -0
  361. package/lib/molecule/video-player/test/fixtures.js +0 -0
  362. package/lib/molecule/wizard-summary/test/fixtures.js +3 -0
  363. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -1
  364. package/lib/organism/accordion/container/test/fixtures.js +0 -0
  365. package/lib/organism/accordion/part/test/fixtures.js +0 -0
  366. package/lib/organism/accordion/toggler/test/fixtures.js +0 -0
  367. package/lib/organism/brand-dashboard/test/fixtures.js +0 -0
  368. package/lib/organism/brand-form/test/fixtures.js +0 -0
  369. package/lib/organism/brand-table/test/fixtures.js +0 -0
  370. package/lib/organism/brand-upload/test/fixtures.js +0 -0
  371. package/lib/organism/cards-grid/test/fixtures.js +0 -0
  372. package/lib/organism/cart/test/fixtures.js +0 -0
  373. package/lib/organism/discussion/test/fixtures.js +0 -0
  374. package/lib/organism/get-the-app/test/fixtures.js +0 -0
  375. package/lib/organism/grid-list/test/fixtures.js +0 -0
  376. package/lib/organism/header/test/fixtures.js +0 -0
  377. package/lib/organism/hero/test/fixtures.js +0 -0
  378. package/lib/organism/list-items/index.js +2 -2
  379. package/lib/organism/list-items/index.js.map +1 -1
  380. package/lib/organism/mooc/image-slider/test/fixtures.js +0 -0
  381. package/lib/organism/mooc-footer/test/fixtures.js +0 -0
  382. package/lib/organism/mooc-header/test/fixtures.js +0 -0
  383. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  384. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  385. package/lib/organism/popin/test/fixtures.js +0 -0
  386. package/lib/organism/resource-browser/test/fixtures.js +0 -0
  387. package/lib/organism/settings/test/fixtures.js +0 -0
  388. package/lib/organism/setup-header/test/fixtures.js +0 -0
  389. package/lib/organism/sidebar/test/fixtures.js +0 -0
  390. package/lib/organism/slider/test/fixtures.js +0 -0
  391. package/lib/organism/user-preferences/test/fixtures.js +0 -0
  392. package/lib/organism/wizard-contents/index.js +2 -2
  393. package/lib/organism/wizard-contents/index.js.map +1 -1
  394. package/lib/organism/wizard-contents/test/fixtures.js +3 -0
  395. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
  396. package/lib/template/activity/test/fixtures.js +0 -0
  397. package/lib/template/app-player/loading/test/fixtures.js +0 -0
  398. package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  399. package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -0
  400. package/lib/template/app-player/player/slides/test/fixtures.js +0 -0
  401. package/lib/template/app-player/player/test/fixtures.js +0 -0
  402. package/lib/template/app-player/popin-correction/test/fixtures.js +0 -0
  403. package/lib/template/app-player/popin-end/test/fixtures.js +0 -0
  404. package/lib/template/app-player/popin-header/test/fixtures.js +0 -0
  405. package/lib/template/back-office/brand-create/test/fixtures.js +0 -0
  406. package/lib/template/back-office/brand-list/test/fixtures.js +0 -0
  407. package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
  408. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  409. package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  410. package/lib/template/battle-requests/test/fixtures.js +0 -0
  411. package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  412. package/lib/template/common/authors/test/fixtures.js +0 -0
  413. package/lib/template/common/coorp-header/test/fixtures.js +0 -0
  414. package/lib/template/common/dashboard/test/fixtures.js +0 -0
  415. package/lib/template/common/discipline/test/fixtures.js +0 -0
  416. package/lib/template/common/search-page/test/fixtures.js +0 -0
  417. package/lib/template/external-course/test/fixtures.js +0 -0
  418. package/lib/template/teams-dashboard/test/fixtures.js +0 -0
  419. package/lib/util/button-icons.js +1 -0
  420. package/lib/util/button-icons.js.map +1 -1
  421. package/package.json +2 -2
@@ -0,0 +1,315 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value tablet from breakpoints;
4
+ @value mobile from breakpoints;
5
+ @value white from colors;
6
+ @value cm_positive_100 from colors;
7
+ @value cm_negative_100 from colors;
8
+ @value cm_primary_blue from colors;
9
+ @value cm_blue_900 from colors;
10
+
11
+ .wrapper {
12
+ width: 100%;
13
+ height: auto;
14
+ font-family: Gilroy;
15
+ color: white;
16
+ display: flex;
17
+ justify-content: center;
18
+ overflow: visible;
19
+ padding: 0px;
20
+ }
21
+
22
+ .popin {
23
+ width: 100%;
24
+ padding: 40px;
25
+ border-radius: 16px;
26
+ display: flex;
27
+ flex-direction: row;
28
+ align-items: center;
29
+ }
30
+
31
+ .right {
32
+ background-color: cm_positive_100;
33
+ box-shadow: 0px 0px 68px rgba(cm_positive_100, 0.4);
34
+ }
35
+
36
+ .wrong {
37
+ background-color: cm_negative_100;
38
+ box-shadow: 0px 0px 68px rgba(cm_negative_100, 0.4);
39
+ }
40
+
41
+ .correctionSection {
42
+ flex: 0 1 auto;
43
+ min-width: 187px;
44
+ display: flex;
45
+ align-content: center;
46
+ align-items: center;
47
+ }
48
+
49
+ .feedbackSection {
50
+ display: flex;
51
+ margin: 0 23px;
52
+ flex-direction: row;
53
+ align-items: center;
54
+ justify-content: left;
55
+ flex: 1 1 100%;
56
+ }
57
+
58
+ .iconCircle {
59
+ width: 52px;
60
+ min-width: 52px;
61
+ height: 52px;
62
+ min-height: 52px;
63
+ background: white;
64
+ opacity: 0.7;
65
+ border-radius: 50%;
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ .icon {
70
+ width: 24px;
71
+ height: 24px;
72
+ padding: 14px 0 0 14px;
73
+ }
74
+
75
+ .iconRight {
76
+ composes: icon;
77
+ color: cm_positive_100;
78
+ }
79
+
80
+ .iconWrong {
81
+ composes: icon;
82
+ color: cm_negative_100;
83
+ }
84
+
85
+ .resultLabel {
86
+ margin-left: 12px;
87
+ font-weight: 900;
88
+ font-size: 24px;
89
+ line-height: 24px;
90
+ hyphens: auto;
91
+ -ms-word-break: break-word;
92
+ word-break: break-word;
93
+ }
94
+
95
+ .information {
96
+ display: block;
97
+ flex-direction: column;
98
+ }
99
+
100
+ .information .label {
101
+ width: 140px;
102
+ height: 25px;
103
+ padding: 4px 8px;
104
+ background: rgba(255, 255, 255, 0.3);
105
+ border-radius: 56px;
106
+ font-style: normal;
107
+ font-weight: 900;
108
+ font-size: 14px;
109
+ line-height: 17px;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ hyphens: auto;
114
+ -ms-word-break: break-word;
115
+ word-break: break-word;
116
+ }
117
+
118
+ .information .message {
119
+ display: block;
120
+ margin-top: 4px;
121
+ }
122
+
123
+ .actions {
124
+ flex: 0 1 auto;
125
+ min-width: 138px;
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: flex-end;
129
+ }
130
+
131
+ .actionsWrong {
132
+ composes: actions;
133
+ min-width: 345px;
134
+ flex: 0 1 auto;
135
+ }
136
+
137
+ .toolTip {
138
+ visibility: hidden;
139
+ opacity: 0;
140
+ transition: opacity 0.8s;
141
+ position: absolute;
142
+ width: 273px;
143
+ border-radius: 15px;
144
+ background-color: white;
145
+ right: 17.5%;
146
+ top: -64px;
147
+ }
148
+
149
+ .toolTip::before {
150
+ content: '';
151
+ display: inline-block;
152
+ visibility: hidden;
153
+ opacity: 0;
154
+ width: 15px;
155
+ height: 15px;
156
+ transform: rotate(-45deg);
157
+ transition: opacity 0.8s;
158
+ background-color: white;
159
+ position: inherit;
160
+ bottom: -7px;
161
+ left: 129px;
162
+ }
163
+
164
+ .tooltipText {
165
+ display: inline-block;
166
+ margin: 16px;
167
+ border-radius: 3px;
168
+ word-wrap: break-word;
169
+ color: cm_blue_900;
170
+ max-width: 241px;
171
+ overflow: hidden;
172
+ text-align: center;
173
+ font-size: 16px;
174
+ }
175
+
176
+ .klfContainer {
177
+ overflow: visible;
178
+ width: calc(55% - 16px);
179
+ margin-right: 16px;
180
+ }
181
+
182
+ .klfButtonContainer:hover ~ .toolTip {
183
+ visibility: visible;
184
+ opacity: 1;
185
+ }
186
+
187
+ .klfButtonContainer:hover ~ .toolTip::before {
188
+ visibility: visible;
189
+ opacity: 1;
190
+ }
191
+
192
+ .klfButtonContainer {
193
+ width: 100%;
194
+ margin-right: 16px;
195
+ }
196
+
197
+ .klfButton {
198
+ background: rgba(255, 255, 255, 0.1);
199
+ color: white;
200
+ }
201
+
202
+ .klfButton:hover {
203
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(255, 255, 255, 0.1)
204
+ }
205
+
206
+ .nextQuestionContainer {
207
+ width: 100%;
208
+ }
209
+
210
+ .actionsWrong .nextQuestionContainer {
211
+ width: 45%;
212
+ }
213
+
214
+ .nextQuestionButton {
215
+ background: white;
216
+ color: cm_primary_blue;
217
+ }
218
+
219
+ .nextQuestionButton:hover {
220
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07)), #FFFFFF;
221
+ }
222
+
223
+ @media tablet {
224
+ .resultLabel {
225
+ display: none;
226
+ }
227
+
228
+ .correctionSection {
229
+ min-width: 60px;
230
+ }
231
+
232
+ .actions {
233
+ width: 25%;
234
+ }
235
+
236
+ .actionsWrong {
237
+ width: 47%;
238
+ }
239
+
240
+ .toolTip {
241
+ width: 250px;
242
+ right: 25%;
243
+ }
244
+ }
245
+
246
+ @media mobile {
247
+ .popin {
248
+ width: 100%;
249
+ min-height: 100px;
250
+ padding: 32px;
251
+ flex-direction: column;
252
+ display: block;
253
+ }
254
+
255
+ .popin > div {
256
+ min-width: auto;
257
+ width: 100%;
258
+ }
259
+
260
+ .correctionSection {
261
+ justify-content: center;
262
+ margin-bottom: 32px;
263
+ }
264
+
265
+ .resultLabel {
266
+ display: block;
267
+ text-align: left;
268
+ width: calc(100% - 52px);
269
+ }
270
+
271
+ .feedbackSection {
272
+ margin: 0;
273
+ width: 100%;
274
+ display: block;
275
+ }
276
+
277
+ .information .message {
278
+ margin: 8px 0 32px 0;
279
+ }
280
+
281
+ .actions {
282
+ width: 100%;
283
+ }
284
+
285
+ .actionsWrong {
286
+ width: 100%;
287
+ flex-direction: column;
288
+ align-items: center;
289
+ }
290
+
291
+ .actionsWrong .nextQuestionContainer {
292
+ width: 100%;
293
+ }
294
+
295
+ .klfContainer {
296
+ width: 100%;
297
+ margin: 0 0 8px 0;
298
+ position: relative;
299
+ }
300
+
301
+ .klfButtonContainer {
302
+ margin: 0;
303
+ }
304
+
305
+ .toolTip {
306
+ width: 106%;
307
+ right: -3%;
308
+ top: auto;
309
+ bottom: 52px;
310
+ }
311
+
312
+ .tooltipText {
313
+ max-width: none;
314
+ }
315
+ }
@@ -0,0 +1,17 @@
1
+ export default {
2
+ props: {
3
+ type: 'right',
4
+ resultLabel: 'CORRECT ANSWER',
5
+ information: {
6
+ label: 'Key learning factor',
7
+ message: '17 frustrated software engineers grappling with the complexities of software development.'
8
+ },
9
+ next: {
10
+ label: 'Next Question',
11
+ 'aria-label': 'next question button',
12
+ 'data-name': 'next-question-button',
13
+ onClick: () => console.log('Next Question')
14
+ }
15
+ }
16
+ };
17
+ //# sourceMappingURL=right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/right.js"],"names":["props","type","resultLabel","information","label","message","next","onClick","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,gBAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,qBADI;AAEXC,MAAAA,OAAO,EACL;AAHS,KAHR;AAQLC,IAAAA,IAAI,EAAE;AACJF,MAAAA,KAAK,EAAE,eADH;AAEJ,oBAAc,sBAFV;AAGJ,mBAAa,sBAHT;AAIJG,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAJX;AARD;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'right',\n resultLabel: 'CORRECT ANSWER',\n information: {\n label: 'Key learning factor',\n message:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n 'aria-label': 'next question button',\n 'data-name': 'next-question-button',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"right.js"}
@@ -0,0 +1,19 @@
1
+ export default {
2
+ props: {
3
+ type: 'wrong',
4
+ resultLabel: 'WRONG ANSWER',
5
+ information: {
6
+ label: 'Correct Answer',
7
+ message: 'Corporate lawyers trying to understand software.'
8
+ },
9
+ klf: {
10
+ label: 'Key learning factor',
11
+ tooltip: '17 frustrated software engineers grappling with the complexities of software development.'
12
+ },
13
+ next: {
14
+ label: 'Next Question',
15
+ onClick: () => console.log('Next Question')
16
+ }
17
+ }
18
+ };
19
+ //# sourceMappingURL=wrong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/wrong.js"],"names":["props","type","resultLabel","information","label","message","klf","tooltip","next","onClick","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,cAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,gBADI;AAEXC,MAAAA,OAAO,EAAE;AAFE,KAHR;AAOLC,IAAAA,GAAG,EAAE;AACHF,MAAAA,KAAK,EAAE,qBADJ;AAEHG,MAAAA,OAAO,EACL;AAHC,KAPA;AAYLC,IAAAA,IAAI,EAAE;AACJJ,MAAAA,KAAK,EAAE,eADH;AAEJK,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFX;AAZD;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'wrong',\n resultLabel: 'WRONG ANSWER',\n information: {\n label: 'Correct Answer',\n message: 'Corporate lawyers trying to understand software.'\n },\n klf: {\n label: 'Key learning factor',\n tooltip:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"wrong.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeReviewCorrectionPopin from '..';
5
+ import fixtureRight from './fixtures/right';
6
+ import fixtureWrong from './fixtures/wrong';
7
+ test('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(MoleculeReviewCorrectionPopin.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureRight);
14
+ test('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureWrong);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/review-correction-popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeReviewCorrectionPopin","fixtureRight","fixtureWrong","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,6BAAP,MAA0C,IAA1C;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAL,IAAI,CAAC,wEAAD,EAA2EM,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,6BAA6B,CAACK,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,6BAAhG,EAA+HC,YAA/H,CAAJ;AACAJ,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,6BAAhG,EAA+HE,YAA/H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeReviewCorrectionPopin from '..';\nimport fixtureRight from './fixtures/right';\nimport fixtureWrong from './fixtures/wrong';\n\ntest('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeReviewCorrectionPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureRight);\ntest('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureWrong);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -4,6 +4,7 @@ import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import MoleculeWizardSummary from '..';
5
5
  import fixtureDefault from './fixtures/default';
6
6
  import fixtureOneSection from './fixtures/one-section';
7
+ import fixtureOrganizeCourses from './fixtures/organize-courses';
7
8
  import fixtureTabletClosed from './fixtures/tablet-closed';
8
9
  import fixtureThreeSections from './fixtures/three-sections';
9
10
  import fixtureTwoSections from './fixtures/two-sections';
@@ -15,6 +16,7 @@ test('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {
15
16
  });
16
17
  test('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);
17
18
  test('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);
19
+ test('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOrganizeCourses);
18
20
  test('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);
19
21
  test('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);
20
22
  test('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeWizardSummary","fixtureDefault","fixtureOneSection","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections","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,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAR,IAAI,CAAC,gEAAD,EAAmES,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,qBAAqB,CAACQ,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHE,iBAApH,CAAJ;AACAL,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,qBAA/F,EAAsHG,mBAAtH,CAAJ;AACAN,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHI,oBAAvH,CAAJ;AACAP,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,qBAA9F,EAAqHK,kBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeWizardSummary from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureOneSection from './fixtures/one-section';\nimport fixtureTabletClosed from './fixtures/tablet-closed';\nimport fixtureThreeSections from './fixtures/three-sections';\nimport fixtureTwoSections from './fixtures/two-sections';\n\ntest('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeWizardSummary.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeWizardSummary.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);\ntest('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);\ntest('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);\ntest('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);\ntest('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeWizardSummary","fixtureDefault","fixtureOneSection","fixtureOrganizeCourses","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections","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,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAT,IAAI,CAAC,gEAAD,EAAmEU,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,qBAAqB,CAACS,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHE,iBAApH,CAAJ;AACAL,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,qBAAlG,EAAyHG,sBAAzH,CAAJ;AACAN,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,qBAA/F,EAAsHI,mBAAtH,CAAJ;AACAP,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHK,oBAAvH,CAAJ;AACAR,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,qBAA9F,EAAqHM,kBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeWizardSummary from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureOneSection from './fixtures/one-section';\nimport fixtureOrganizeCourses from './fixtures/organize-courses';\nimport fixtureTabletClosed from './fixtures/tablet-closed';\nimport fixtureThreeSections from './fixtures/three-sections';\nimport fixtureTwoSections from './fixtures/two-sections';\n\ntest('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeWizardSummary.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeWizardSummary.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);\ntest('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);\ntest('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOrganizeCourses);\ntest('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);\ntest('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);\ntest('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -14,7 +14,7 @@ const ListItems = ({
14
14
  const itemsView = items.map((item, index) => /*#__PURE__*/React.createElement("li", {
15
15
  key: item.id,
16
16
  className: style.item,
17
- "data-name": `custom-playlist-${index}`
17
+ "data-name": `content-${index}`
18
18
  }, /*#__PURE__*/React.createElement(ListItem, item)));
19
19
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
20
20
  className: style.header
@@ -29,7 +29,7 @@ const ListItems = ({
29
29
  }, /*#__PURE__*/React.createElement(ButtonLink, buttonLink))), /*#__PURE__*/React.createElement("ul", {
30
30
  className: style.list,
31
31
  "aria-label": ariaLabel,
32
- "data-name": 'custom-playlist-list'
32
+ "data-name": 'content-list'
33
33
  }, itemsView));
34
34
  };
35
35
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["React","PropTypes","ListItem","Title","ButtonLink","style","ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","header","buttonCreate","list","propTypes","string","shape","arrayOf"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEV,KAAK,CAACQ,IAAnC;AAAyC,iBAAY,mBAAkBC,KAAM;AAA7E,kBACE,oBAAC,QAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,8CACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACW;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACE;AAAtB,kBACE,oBAAC,KAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACY;AAAtB,kBACE,oBAAC,UAAD,EAAgBT,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEH,KAAK,CAACa,IAArB;AAA2B,kBAAYR,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACa,SAAV,2CAAsB;AACpB,gBAAclB,SAAS,CAACmB,MADJ;AAEpBZ,EAAAA,UAAU,EAAEP,SAAS,CAACoB,KAAV,CAAgBjB,UAAU,CAACe,SAA3B,CAFQ;AAGpBV,EAAAA,KAAK,EAAER,SAAS,CAACqB,OAAV,CAAkBrB,SAAS,CAACoB,KAAV,CAAgBnB,QAAQ,CAACiB,SAAzB,CAAlB,CAHa;AAIpBZ,EAAAA,KAAK,EAAEN,SAAS,CAACmB;AAJG,CAAtB;AAOA,eAAed,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`custom-playlist-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'custom-playlist-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["React","PropTypes","ListItem","Title","ButtonLink","style","ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","header","buttonCreate","list","propTypes","string","shape","arrayOf"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEV,KAAK,CAACQ,IAAnC;AAAyC,iBAAY,WAAUC,KAAM;AAArE,kBACE,oBAAC,QAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,8CACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACW;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACE;AAAtB,kBACE,oBAAC,KAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACY;AAAtB,kBACE,oBAAC,UAAD,EAAgBT,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEH,KAAK,CAACa,IAArB;AAA2B,kBAAYR,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACa,SAAV,2CAAsB;AACpB,gBAAclB,SAAS,CAACmB,MADJ;AAEpBZ,EAAAA,UAAU,EAAEP,SAAS,CAACoB,KAAV,CAAgBjB,UAAU,CAACe,SAA3B,CAFQ;AAGpBV,EAAAA,KAAK,EAAER,SAAS,CAACqB,OAAV,CAAkBrB,SAAS,CAACoB,KAAV,CAAgBnB,QAAQ,CAACiB,SAAzB,CAAlB,CAHa;AAIpBZ,EAAAA,KAAK,EAAEN,SAAS,CAACmB;AAJG,CAAtB;AAOA,eAAed,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import OrganismPlaylistTranslation from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureDelete from './fixtures/delete';
7
+ test('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);
14
+ test('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismPlaylistTranslation","fixtureDefault","fixtureDelete","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,2BAAP,MAAwC,IAAxC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAL,IAAI,CAAC,sEAAD,EAAyEM,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,2BAA2B,CAACK,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,2BAAhG,EAA6HC,cAA7H,CAAJ;AACAJ,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,2BAA/F,EAA4HE,aAA5H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -30,7 +30,7 @@ const buildHeader = (wizardHeader, steps) => {
30
30
  className: style.header
31
31
  }, /*#__PURE__*/React.createElement(ButtonLinkIconOnly, buttonCloseIcon), /*#__PURE__*/React.createElement("div", {
32
32
  className: style.headerTitle,
33
- "data-name": 'custom-playlist-title'
33
+ "data-name": 'content-title'
34
34
  }, title)), /*#__PURE__*/React.createElement(WizardSteps, {
35
35
  steps: steps
36
36
  }));
@@ -120,7 +120,7 @@ const WizardContents = props => {
120
120
  const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
121
121
  return /*#__PURE__*/React.createElement("div", {
122
122
  className: style.container,
123
- "data-name": "custom-playlist-summary"
123
+ "data-name": "content-summary"
124
124
  }, /*#__PURE__*/React.createElement("div", {
125
125
  className: style.leftSection
126
126
  }, headerView, /*#__PURE__*/React.createElement("div", {