@coorpacademy/components 10.3.24 → 10.3.27-alpha.25

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 (1129) hide show
  1. package/es/atom/autocomplete/test/fixtures/error.js +1 -1
  2. package/es/atom/autocomplete/test/fixtures/error.js.map +1 -1
  3. package/es/atom/autocomplete/test/fixtures/filled.js +1 -1
  4. package/es/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  5. package/es/atom/autocomplete/test/fixtures/modified.js +1 -1
  6. package/es/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  7. package/es/atom/clue/index.js.map +1 -1
  8. package/es/atom/clue/test/see-clue.js +33 -0
  9. package/es/atom/clue/test/see-clue.js.map +1 -1
  10. package/es/atom/content-badge/test/fixtures.js +2 -0
  11. package/es/atom/content-badge/test/fixtures.js.map +1 -1
  12. package/es/atom/cta/test/fixtures/certification.js +1 -1
  13. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  14. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  15. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  16. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  17. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  18. package/es/atom/cta/test/fixtures/light.js +1 -1
  19. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  20. package/es/atom/cta/test/fixtures/logout.js +1 -1
  21. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  23. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  25. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  27. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  29. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  30. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  31. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  32. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  33. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  34. package/es/atom/drag-and-drop/index.js +1 -1
  35. package/es/atom/drag-and-drop/index.js.map +1 -1
  36. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  37. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  38. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  39. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  40. package/es/atom/image-upload/index.js +1 -1
  41. package/es/atom/image-upload/index.js.map +1 -1
  42. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  43. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  44. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  45. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  46. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  47. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  48. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  49. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  50. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  51. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  52. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  53. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  54. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  55. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  56. package/es/atom/input-html/index.js.map +1 -1
  57. package/es/atom/input-switch/index.js +13 -6
  58. package/es/atom/input-switch/index.js.map +1 -1
  59. package/es/atom/input-switch/style.css +46 -0
  60. package/es/atom/input-switch/test/fixtures/cm-left.js +11 -0
  61. package/es/atom/input-switch/test/fixtures/cm-left.js.map +1 -0
  62. package/es/atom/input-switch/test/fixtures/cm-right-checked.js +11 -0
  63. package/es/atom/input-switch/test/fixtures/cm-right-checked.js.map +1 -0
  64. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +11 -0
  65. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -0
  66. package/es/atom/input-switch/test/fixtures/cm-right-modified.js +12 -0
  67. package/es/atom/input-switch/test/fixtures/cm-right-modified.js.map +1 -0
  68. package/es/atom/input-switch/test/fixtures/cm-right.js +11 -0
  69. package/es/atom/input-switch/test/fixtures/cm-right.js.map +1 -0
  70. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  71. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  72. package/es/atom/input-switch/test/fixtures.js +10 -0
  73. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  74. package/es/atom/link/index.js +3 -2
  75. package/es/atom/link/index.js.map +1 -1
  76. package/es/atom/promo-code/index.js.map +1 -1
  77. package/es/atom/provider/index.js +1 -1
  78. package/es/atom/provider/index.js.map +1 -1
  79. package/es/atom/provider/test/index.js +1 -1
  80. package/es/atom/provider/test/index.js.map +1 -1
  81. package/es/atom/range/index.js +1 -1
  82. package/es/atom/range/index.js.map +1 -1
  83. package/es/atom/range/test/fixtures/multi.js +1 -1
  84. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  85. package/es/atom/range/test/index.js +9 -9
  86. package/es/atom/range/test/index.js.map +1 -1
  87. package/es/atom/video-upload/index.js +1 -1
  88. package/es/atom/video-upload/index.js.map +1 -1
  89. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  90. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  91. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  92. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  93. package/es/hoc/animation-scheduler/index.js +3 -3
  94. package/es/hoc/animation-scheduler/index.js.map +1 -1
  95. package/es/hoc/swapper/index.js +4 -2
  96. package/es/hoc/swapper/index.js.map +1 -1
  97. package/es/hoc/transition/index.js +1 -1
  98. package/es/hoc/transition/index.js.map +1 -1
  99. package/es/molecule/add-to-my-list/index.js +1 -1
  100. package/es/molecule/add-to-my-list/index.js.map +1 -1
  101. package/es/molecule/answer/index.js +3 -2
  102. package/es/molecule/answer/index.js.map +1 -1
  103. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  104. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  105. package/es/molecule/answer/test/fixtures/default.js +1 -1
  106. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  107. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  108. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  109. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  110. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  111. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  112. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  113. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  114. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  115. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  116. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  117. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  118. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  119. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  120. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  121. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  122. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  123. package/es/molecule/answer/test/fixtures/range.js +1 -1
  124. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  125. package/es/molecule/answer/test/fixtures/template.js +1 -1
  126. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  127. package/es/molecule/banner/style.css +1 -0
  128. package/es/molecule/banner/test/fixtures/default.js +1 -1
  129. package/es/molecule/banner/test/fixtures/default.js.map +1 -1
  130. package/es/molecule/banner/test/fixtures.js +8 -0
  131. package/es/molecule/banner/test/fixtures.js.map +1 -1
  132. package/es/molecule/brand-form-group/index.js +18 -18
  133. package/es/molecule/brand-form-group/index.js.map +1 -1
  134. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  135. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  136. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  137. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  138. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  139. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  140. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  141. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  142. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  143. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  144. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  145. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  146. package/es/molecule/card/customer.css +61 -3
  147. package/es/molecule/card/customer.js +17 -5
  148. package/es/molecule/card/customer.js.map +1 -1
  149. package/es/molecule/card/index.js +16 -6
  150. package/es/molecule/card/index.js.map +1 -1
  151. package/es/molecule/card/style.css +86 -24
  152. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  153. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  154. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  155. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  156. package/es/molecule/card/test/fixtures/coorpmanager.js +18 -0
  157. package/es/molecule/card/test/fixtures/coorpmanager.js.map +1 -0
  158. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  159. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  160. package/es/molecule/card-content/index.js +11 -5
  161. package/es/molecule/card-content/index.js.map +1 -1
  162. package/es/molecule/card-content/style.css +52 -0
  163. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  164. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  165. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  166. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  167. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  168. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  169. package/es/molecule/card-with-button/index.js.map +1 -1
  170. package/es/molecule/cm-popin/style.css +1 -0
  171. package/es/molecule/coorp-manager-roles/index.js +1 -1
  172. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  173. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  174. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  175. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  176. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  177. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  178. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  179. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  180. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  181. package/es/molecule/dashboard/news-list/index.js +1 -1
  182. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  183. package/es/molecule/dashboard/start-battle/index.js +1 -1
  184. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  185. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  186. package/es/molecule/drag-and-drop/index.js +1 -1
  187. package/es/molecule/drag-and-drop/index.js.map +1 -1
  188. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  189. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  190. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  191. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  192. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  193. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  194. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  195. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  196. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  197. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  198. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  199. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  200. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  201. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  202. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  203. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  204. package/es/molecule/feedback/index.js +1 -1
  205. package/es/molecule/feedback/index.js.map +1 -1
  206. package/es/molecule/filters/test/fixtures/default.js +4 -4
  207. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  208. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  209. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  210. package/es/molecule/filters/test/fixtures/one.js +2 -2
  211. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  212. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  213. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  214. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  215. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  216. package/es/molecule/filters/test/fixtures/three.js +3 -3
  217. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  218. package/es/molecule/filters/test/fixtures/two.js +3 -3
  219. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  220. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  221. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  222. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  223. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  224. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  225. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  226. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  227. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  228. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  229. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  230. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  231. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  232. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  233. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  234. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  235. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  236. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  237. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  238. package/es/molecule/popin/index.js +1 -1
  239. package/es/molecule/popin/index.js.map +1 -1
  240. package/es/molecule/progress-bar/index.js +1 -1
  241. package/es/molecule/progress-bar/index.js.map +1 -1
  242. package/es/molecule/questions/drop-down/index.js +1 -1
  243. package/es/molecule/questions/drop-down/index.js.map +1 -1
  244. package/es/molecule/questions/question-range/index.js +3 -2
  245. package/es/molecule/questions/question-range/index.js.map +1 -1
  246. package/es/molecule/questions/template/index.js +2 -2
  247. package/es/molecule/questions/template/index.js.map +1 -1
  248. package/es/molecule/questions/template/test/index.js +1 -1
  249. package/es/molecule/questions/template/test/index.js.map +1 -1
  250. package/es/molecule/quick-access-card/index.js.map +1 -1
  251. package/es/molecule/resource-player/index.js +2 -1
  252. package/es/molecule/resource-player/index.js.map +1 -1
  253. package/es/molecule/select-multiple/index.js +3 -3
  254. package/es/molecule/select-multiple/index.js.map +1 -1
  255. package/es/molecule/select-multiple/style.css +2 -1
  256. package/es/molecule/select-multiple/test/fixtures.js +8 -0
  257. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  258. package/es/molecule/select-multiple/test/index.js +2 -2
  259. package/es/molecule/select-multiple/test/index.js.map +1 -1
  260. package/es/molecule/setup-section/index.js +1 -1
  261. package/es/molecule/setup-section/index.js.map +1 -1
  262. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  263. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  264. package/es/molecule/setup-slide/index.js +8 -8
  265. package/es/molecule/setup-slide/index.js.map +1 -1
  266. package/es/molecule/share/index.js +1 -1
  267. package/es/molecule/share/index.js.map +1 -1
  268. package/es/molecule/video-iframe/index.js +1 -1
  269. package/es/molecule/video-iframe/index.js.map +1 -1
  270. package/es/molecule/video-player/index.js +3 -1
  271. package/es/molecule/video-player/index.js.map +1 -1
  272. package/es/molecule/video-player/jwplayer.js +2 -2
  273. package/es/molecule/video-player/jwplayer.js.map +1 -1
  274. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  275. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  276. package/es/molecule/video-player/vimeo.js +1 -1
  277. package/es/molecule/video-player/vimeo.js.map +1 -1
  278. package/es/molecule/wizard-summary/index.js +30 -3
  279. package/es/molecule/wizard-summary/index.js.map +1 -1
  280. package/es/molecule/wizard-summary/style.css +1 -1
  281. package/es/organism/accordion/coorp-manager/index.js +1 -1
  282. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  283. package/es/organism/accordion/toggler/index.js +1 -1
  284. package/es/organism/accordion/toggler/index.js.map +1 -1
  285. package/es/organism/accordion/toggler/test/render.js +2 -2
  286. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  287. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  288. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  289. package/es/organism/content-translation/index.js +2 -2
  290. package/es/organism/content-translation/index.js.map +1 -1
  291. package/es/organism/content-translation/style.css +1 -0
  292. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  293. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  294. package/es/organism/content-translation/test/fixtures.js +15 -0
  295. package/es/organism/content-translation/test/fixtures.js.map +1 -0
  296. package/es/organism/course-selection/index.js +26 -9
  297. package/es/organism/course-selection/index.js.map +1 -1
  298. package/es/organism/course-selection/style.css +11 -3
  299. package/es/organism/course-selection/test/fixtures/default.js +44 -13
  300. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  301. package/es/organism/course-selection/test/fixtures/empty.js +9 -0
  302. package/es/organism/course-selection/test/fixtures/empty.js.map +1 -1
  303. package/es/organism/course-selection/test/fixtures/filtered.js +11 -3
  304. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  305. package/es/organism/course-selection/test/fixtures/sorted-selected.js +14 -6
  306. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  307. package/es/organism/course-selection/test/fixtures/switch-activated.js +23 -0
  308. package/es/organism/course-selection/test/fixtures/switch-activated.js.map +1 -0
  309. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +14 -6
  310. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  311. package/es/organism/course-selection/test/fixtures.js +2 -0
  312. package/es/organism/course-selection/test/fixtures.js.map +1 -1
  313. package/es/organism/discussion/test/fixtures/default.js +1 -1
  314. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  315. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  316. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  317. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  318. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  319. package/es/organism/get-the-app/index.js +2 -2
  320. package/es/organism/get-the-app/index.js.map +1 -1
  321. package/es/organism/list-item/test/fixtures.js +19 -0
  322. package/es/organism/list-item/test/fixtures.js.map +1 -0
  323. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  324. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  325. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  326. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  327. package/es/organism/list-items/test/fixtures/published.js +2 -2
  328. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  329. package/es/organism/list-items/test/fixtures.js +17 -0
  330. package/es/organism/list-items/test/fixtures.js.map +1 -0
  331. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  332. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  333. package/es/organism/mooc-footer/style.css +1 -0
  334. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  335. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  336. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  337. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  338. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  339. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  340. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  341. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  342. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  343. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  344. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  345. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  346. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  347. package/es/organism/search-and-chips-results/index.js +11 -4
  348. package/es/organism/search-and-chips-results/index.js.map +1 -1
  349. package/es/organism/search-and-chips-results/style.css +7 -1
  350. package/es/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  351. package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  352. package/es/organism/settings/index.js +3 -2
  353. package/es/organism/settings/index.js.map +1 -1
  354. package/es/organism/sidebar/index.js +11 -10
  355. package/es/organism/sidebar/index.js.map +1 -1
  356. package/es/organism/user-preferences/index.js +3 -2
  357. package/es/organism/user-preferences/index.js.map +1 -1
  358. package/es/organism/wizard-contents/index.js +8 -9
  359. package/es/organism/wizard-contents/index.js.map +1 -1
  360. package/es/organism/wizard-contents/style.css +11 -15
  361. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  362. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  363. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  364. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  365. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  366. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  367. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  368. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  369. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  370. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  371. package/es/organism/wizard-contents/test/fixtures.js +21 -0
  372. package/es/organism/wizard-contents/test/fixtures.js.map +1 -0
  373. package/es/template/activity/index.js +1 -1
  374. package/es/template/activity/index.js.map +1 -1
  375. package/es/template/activity/test/progression-item-test.js +1 -1
  376. package/es/template/activity/test/progression-item-test.js.map +1 -1
  377. package/es/template/app-player/player/slides/footer/index.js +1 -1
  378. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  379. package/es/template/app-player/player/slides/index.js +14 -11
  380. package/es/template/app-player/player/slides/index.js.map +1 -1
  381. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  382. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  385. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  386. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  387. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  388. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  389. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  390. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  391. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  392. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  393. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  394. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  395. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  396. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  397. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  398. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  399. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  400. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  401. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  402. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  403. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  404. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  405. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  406. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  407. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  408. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  409. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  410. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  411. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  412. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  413. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  414. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  415. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  416. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  417. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  418. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  419. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  420. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  421. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  422. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  423. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  424. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  425. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  426. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  427. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  428. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  429. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  430. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  431. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  432. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  433. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  434. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  435. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  436. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  437. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  438. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  439. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  440. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  441. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  442. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  443. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  444. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  445. package/es/template/app-player/popin-correction/index.js +3 -2
  446. package/es/template/app-player/popin-correction/index.js.map +1 -1
  447. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  448. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  449. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  450. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  451. package/es/template/app-player/popin-end/summary.js +11 -7
  452. package/es/template/app-player/popin-end/summary.js.map +1 -1
  453. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  454. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  455. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  456. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  457. package/es/template/app-player/popin-header/index.js +4 -3
  458. package/es/template/app-player/popin-header/index.js.map +1 -1
  459. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  460. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  461. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  462. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  463. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  464. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  465. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  466. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  467. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  468. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  469. package/es/template/back-office/brand-update/index.js +13 -11
  470. package/es/template/back-office/brand-update/index.js.map +1 -1
  471. package/es/template/back-office/brand-update/style.css +4 -0
  472. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  473. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  474. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  475. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  476. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  477. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  478. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  479. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  480. package/es/template/back-office/brand-update/test/fixtures/loader.js +6 -2
  481. package/es/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  482. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  483. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  484. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js +1 -1
  485. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  486. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  487. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  488. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  489. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  490. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  491. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  492. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +2 -2
  493. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  494. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  495. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  496. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  497. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  498. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  499. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  500. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  501. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  502. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  503. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  504. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  505. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  506. package/es/template/back-office/brand-update/test/fixtures.js +20 -2
  507. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  508. package/es/template/cockpit/jw-uploader/index.js +1 -1
  509. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  510. package/es/template/common/dashboard/index.js +1 -1
  511. package/es/template/common/dashboard/index.js.map +1 -1
  512. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  513. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  514. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  515. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  516. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  517. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  518. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  519. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  520. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  521. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  522. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  523. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  524. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  525. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  526. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  527. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  528. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  529. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  530. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  531. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  532. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  533. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  534. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  535. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  536. package/es/util/shallow-compare.js.map +1 -1
  537. package/es/util/test/navigation.js +4 -3
  538. package/es/util/test/navigation.js.map +1 -1
  539. package/lib/atom/autocomplete/index.js +2 -2
  540. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  541. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  542. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  543. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  544. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  545. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  546. package/lib/atom/button-link/index.js +2 -2
  547. package/lib/atom/button-link-icon-only/index.js +2 -2
  548. package/lib/atom/button-menu/index.js +2 -2
  549. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  550. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  551. package/lib/atom/chips/index.js +2 -2
  552. package/lib/atom/clue/index.js.map +1 -1
  553. package/lib/atom/clue/test/see-clue.js +34 -0
  554. package/lib/atom/clue/test/see-clue.js.map +1 -1
  555. package/lib/atom/content-badge/test/fixtures.js +3 -0
  556. package/lib/atom/content-badge/test/fixtures.js.map +1 -1
  557. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  558. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  559. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  560. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  561. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  562. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  563. package/lib/atom/cta/test/fixtures/light.js +1 -1
  564. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  565. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  566. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  567. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  568. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  569. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  570. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  571. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  572. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  573. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  574. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  575. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  576. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  577. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  578. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  579. package/lib/atom/drag-and-drop/index.js +1 -1
  580. package/lib/atom/drag-and-drop/index.js.map +1 -1
  581. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  582. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  583. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  584. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  585. package/lib/atom/image-upload/index.js +3 -3
  586. package/lib/atom/image-upload/index.js.map +1 -1
  587. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  588. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  589. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  590. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  591. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  592. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  593. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  594. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  595. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  596. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  597. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  598. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  599. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  600. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  601. package/lib/atom/input-checkbox/index.js +2 -2
  602. package/lib/atom/input-color/index.js +2 -2
  603. package/lib/atom/input-doublestep/index.js +2 -2
  604. package/lib/atom/input-html/index.js.map +1 -1
  605. package/lib/atom/input-search/index.js +2 -2
  606. package/lib/atom/input-switch/index.js +15 -8
  607. package/lib/atom/input-switch/index.js.map +1 -1
  608. package/lib/atom/input-switch/style.css +46 -0
  609. package/lib/atom/input-switch/test/fixtures/cm-left.js +16 -0
  610. package/lib/atom/input-switch/test/fixtures/cm-left.js.map +1 -0
  611. package/lib/atom/input-switch/test/fixtures/cm-right-checked.js +16 -0
  612. package/lib/atom/input-switch/test/fixtures/cm-right-checked.js.map +1 -0
  613. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +20 -0
  614. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -0
  615. package/lib/atom/input-switch/test/fixtures/cm-right-modified.js +17 -0
  616. package/lib/atom/input-switch/test/fixtures/cm-right-modified.js.map +1 -0
  617. package/lib/atom/input-switch/test/fixtures/cm-right.js +16 -0
  618. package/lib/atom/input-switch/test/fixtures/cm-right.js.map +1 -0
  619. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  620. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  621. package/lib/atom/input-switch/test/fixtures.js +15 -0
  622. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  623. package/lib/atom/input-text/index.js +2 -2
  624. package/lib/atom/input-textarea/index.js +2 -2
  625. package/lib/atom/link/index.js +4 -2
  626. package/lib/atom/link/index.js.map +1 -1
  627. package/lib/atom/promo-code/index.js.map +1 -1
  628. package/lib/atom/provider/index.js +1 -1
  629. package/lib/atom/provider/index.js.map +1 -1
  630. package/lib/atom/provider/test/index.js +1 -1
  631. package/lib/atom/provider/test/index.js.map +1 -1
  632. package/lib/atom/range/index.js +1 -1
  633. package/lib/atom/range/index.js.map +1 -1
  634. package/lib/atom/range/test/fixtures/multi.js +1 -1
  635. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  636. package/lib/atom/range/test/index.js +9 -9
  637. package/lib/atom/range/test/index.js.map +1 -1
  638. package/lib/atom/select/index.js +2 -2
  639. package/lib/atom/tab/index.js +2 -2
  640. package/lib/atom/video-upload/index.js +1 -1
  641. package/lib/atom/video-upload/index.js.map +1 -1
  642. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  643. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  644. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  645. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  646. package/lib/hoc/animation/index.js +1 -1
  647. package/lib/hoc/animation/test/on-mount.js +2 -2
  648. package/lib/hoc/animation-scheduler/index.js +4 -4
  649. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  650. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  651. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  652. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  653. package/lib/hoc/swapper/index.js +5 -3
  654. package/lib/hoc/swapper/index.js.map +1 -1
  655. package/lib/hoc/swapper/test/on-mount.js +2 -2
  656. package/lib/hoc/transition/index.js +3 -3
  657. package/lib/hoc/transition/index.js.map +1 -1
  658. package/lib/molecule/add-to-my-list/index.js +4 -4
  659. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  660. package/lib/molecule/answer/index.js +5 -3
  661. package/lib/molecule/answer/index.js.map +1 -1
  662. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  663. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  664. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  665. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  666. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  667. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  668. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  669. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  670. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  671. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  672. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  673. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  674. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  675. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  676. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  677. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  678. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  679. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  680. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  681. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  682. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  683. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  684. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  685. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  686. package/lib/molecule/banner/style.css +1 -0
  687. package/lib/molecule/banner/test/fixtures/default.js +1 -1
  688. package/lib/molecule/banner/test/fixtures/default.js.map +1 -1
  689. package/lib/molecule/banner/test/fixtures.js +12 -0
  690. package/lib/molecule/banner/test/fixtures.js.map +1 -1
  691. package/lib/molecule/brand-create-form/index.js +2 -2
  692. package/lib/molecule/brand-form-group/index.js +18 -18
  693. package/lib/molecule/brand-form-group/index.js.map +1 -1
  694. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  695. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  696. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  697. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  698. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  699. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  700. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  701. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  702. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  703. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  704. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  705. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  706. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  707. package/lib/molecule/card/customer.css +61 -3
  708. package/lib/molecule/card/customer.js +22 -6
  709. package/lib/molecule/card/customer.js.map +1 -1
  710. package/lib/molecule/card/index.js +22 -9
  711. package/lib/molecule/card/index.js.map +1 -1
  712. package/lib/molecule/card/style.css +86 -24
  713. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  714. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  715. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  716. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  717. package/lib/molecule/card/test/fixtures/coorpmanager.js +28 -0
  718. package/lib/molecule/card/test/fixtures/coorpmanager.js.map +1 -0
  719. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  720. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  721. package/lib/molecule/card-content/index.js +14 -6
  722. package/lib/molecule/card-content/index.js.map +1 -1
  723. package/lib/molecule/card-content/style.css +52 -0
  724. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  725. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  726. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  727. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  728. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  729. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  730. package/lib/molecule/card-with-button/index.js.map +1 -1
  731. package/lib/molecule/cm-popin/style.css +1 -0
  732. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  733. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  734. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  735. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  736. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  737. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  738. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  739. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  740. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  741. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  742. package/lib/molecule/dashboard/news-list/index.js +1 -1
  743. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  744. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  745. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  746. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  747. package/lib/molecule/drag-and-drop/index.js +3 -3
  748. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  749. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  750. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  751. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  752. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  753. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  754. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  755. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  756. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  757. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  758. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  759. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  760. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  761. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  762. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  763. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  764. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  765. package/lib/molecule/feedback/index.js +3 -3
  766. package/lib/molecule/feedback/index.js.map +1 -1
  767. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  768. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  769. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  770. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  771. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  772. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  773. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  774. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  775. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  776. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  777. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  778. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  779. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  780. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  781. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  782. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  783. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  784. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  785. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  786. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  787. package/lib/molecule/hero/index.js +2 -2
  788. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  789. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  790. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  791. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  792. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  793. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  794. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  795. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  796. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  797. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  798. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  799. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  800. package/lib/molecule/popin/index.js +3 -3
  801. package/lib/molecule/popin/index.js.map +1 -1
  802. package/lib/molecule/progress-bar/index.js +1 -1
  803. package/lib/molecule/progress-bar/index.js.map +1 -1
  804. package/lib/molecule/questions/drop-down/index.js +3 -3
  805. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  806. package/lib/molecule/questions/free-text/index.js +2 -2
  807. package/lib/molecule/questions/question-range/index.js +4 -2
  808. package/lib/molecule/questions/question-range/index.js.map +1 -1
  809. package/lib/molecule/questions/template/index.js +2 -2
  810. package/lib/molecule/questions/template/index.js.map +1 -1
  811. package/lib/molecule/questions/template/test/index.js +1 -1
  812. package/lib/molecule/questions/template/test/index.js.map +1 -1
  813. package/lib/molecule/quick-access-card/index.js.map +1 -1
  814. package/lib/molecule/resource-player/index.js +4 -2
  815. package/lib/molecule/resource-player/index.js.map +1 -1
  816. package/lib/molecule/scope-tabs/index.js +2 -2
  817. package/lib/molecule/search-form/index.js +2 -2
  818. package/lib/molecule/select-multiple/index.js +6 -6
  819. package/lib/molecule/select-multiple/index.js.map +1 -1
  820. package/lib/molecule/select-multiple/style.css +2 -1
  821. package/lib/molecule/select-multiple/test/fixtures.js +12 -0
  822. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  823. package/lib/molecule/select-multiple/test/index.js +4 -4
  824. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  825. package/lib/molecule/setup-section/index.js +1 -1
  826. package/lib/molecule/setup-section/index.js.map +1 -1
  827. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  828. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  829. package/lib/molecule/setup-sections/index.js +2 -2
  830. package/lib/molecule/setup-slide/index.js +8 -8
  831. package/lib/molecule/setup-slide/index.js.map +1 -1
  832. package/lib/molecule/share/index.js +4 -4
  833. package/lib/molecule/share/index.js.map +1 -1
  834. package/lib/molecule/titled-checkbox/index.js +2 -2
  835. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  836. package/lib/molecule/video-iframe/index.js +1 -1
  837. package/lib/molecule/video-iframe/index.js.map +1 -1
  838. package/lib/molecule/video-player/index.js +3 -1
  839. package/lib/molecule/video-player/index.js.map +1 -1
  840. package/lib/molecule/video-player/jwplayer.js +2 -2
  841. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  842. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  843. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  844. package/lib/molecule/video-player/vimeo.js +1 -1
  845. package/lib/molecule/video-player/vimeo.js.map +1 -1
  846. package/lib/molecule/wizard-summary/index.js +31 -4
  847. package/lib/molecule/wizard-summary/index.js.map +1 -1
  848. package/lib/molecule/wizard-summary/style.css +1 -1
  849. package/lib/organism/accordion/container/index.js +2 -2
  850. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  851. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  852. package/lib/organism/accordion/toggler/index.js +1 -1
  853. package/lib/organism/accordion/toggler/index.js.map +1 -1
  854. package/lib/organism/accordion/toggler/test/render.js +2 -2
  855. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  856. package/lib/organism/brand-form/index.js +2 -2
  857. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  858. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  859. package/lib/organism/content-translation/index.js +2 -2
  860. package/lib/organism/content-translation/index.js.map +1 -1
  861. package/lib/organism/content-translation/style.css +1 -0
  862. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  863. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  864. package/lib/organism/content-translation/test/fixtures.js +25 -0
  865. package/lib/organism/content-translation/test/fixtures.js.map +1 -0
  866. package/lib/organism/course-selection/index.js +28 -9
  867. package/lib/organism/course-selection/index.js.map +1 -1
  868. package/lib/organism/course-selection/style.css +11 -3
  869. package/lib/organism/course-selection/test/fixtures/default.js +45 -13
  870. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  871. package/lib/organism/course-selection/test/fixtures/empty.js +9 -0
  872. package/lib/organism/course-selection/test/fixtures/empty.js.map +1 -1
  873. package/lib/organism/course-selection/test/fixtures/filtered.js +11 -3
  874. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  875. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +14 -6
  876. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  877. package/lib/organism/course-selection/test/fixtures/switch-activated.js +32 -0
  878. package/lib/organism/course-selection/test/fixtures/switch-activated.js.map +1 -0
  879. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +14 -6
  880. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  881. package/lib/organism/course-selection/test/fixtures.js +3 -0
  882. package/lib/organism/course-selection/test/fixtures.js.map +1 -1
  883. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  884. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  885. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  886. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  887. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  888. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  889. package/lib/organism/get-the-app/index.js +2 -2
  890. package/lib/organism/get-the-app/index.js.map +1 -1
  891. package/lib/organism/list-item/test/fixtures.js +31 -0
  892. package/lib/organism/list-item/test/fixtures.js.map +1 -0
  893. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  894. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  895. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  896. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  897. package/lib/organism/list-items/test/fixtures/published.js +2 -2
  898. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  899. package/lib/organism/list-items/test/fixtures.js +28 -0
  900. package/lib/organism/list-items/test/fixtures.js.map +1 -0
  901. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  902. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  903. package/lib/organism/mooc-footer/style.css +1 -0
  904. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  905. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  906. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  907. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  908. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  909. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  910. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  911. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  912. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  913. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  914. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  915. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  916. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  917. package/lib/organism/search-and-chips-results/index.js +12 -4
  918. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  919. package/lib/organism/search-and-chips-results/style.css +7 -1
  920. package/lib/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  921. package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  922. package/lib/organism/settings/index.js +4 -2
  923. package/lib/organism/settings/index.js.map +1 -1
  924. package/lib/organism/sidebar/index.js +15 -13
  925. package/lib/organism/sidebar/index.js.map +1 -1
  926. package/lib/organism/user-preferences/index.js +4 -2
  927. package/lib/organism/user-preferences/index.js.map +1 -1
  928. package/lib/organism/wizard-contents/index.js +8 -10
  929. package/lib/organism/wizard-contents/index.js.map +1 -1
  930. package/lib/organism/wizard-contents/style.css +11 -15
  931. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  932. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  933. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  934. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  935. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  936. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  937. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  938. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  939. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  940. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  941. package/lib/organism/wizard-contents/test/fixtures.js +34 -0
  942. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -0
  943. package/lib/template/activity/index.js +1 -1
  944. package/lib/template/activity/index.js.map +1 -1
  945. package/lib/template/activity/progression-item.js +2 -2
  946. package/lib/template/activity/test/progression-item-test.js +1 -1
  947. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  948. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  949. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  950. package/lib/template/app-player/player/slides/index.js +15 -11
  951. package/lib/template/app-player/player/slides/index.js.map +1 -1
  952. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  953. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  954. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  955. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  956. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  957. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  958. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  959. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  960. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  961. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  962. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  963. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  964. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  965. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  966. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  967. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  968. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  969. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  970. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  971. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  972. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  973. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  974. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  975. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  976. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  977. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  978. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  979. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  980. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  981. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  982. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  983. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  984. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  985. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  986. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  987. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  988. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  989. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  990. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  991. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  992. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  993. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  994. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  995. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  996. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  997. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  998. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  999. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  1000. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  1001. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  1002. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  1003. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  1004. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  1005. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  1006. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  1007. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  1008. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  1009. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  1010. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  1011. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  1012. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  1013. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  1014. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  1015. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  1016. package/lib/template/app-player/popin-correction/index.js +6 -4
  1017. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  1018. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  1019. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  1020. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  1021. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  1022. package/lib/template/app-player/popin-end/summary.js +12 -7
  1023. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  1024. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  1025. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  1026. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  1027. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  1028. package/lib/template/app-player/popin-header/index.js +7 -5
  1029. package/lib/template/app-player/popin-header/index.js.map +1 -1
  1030. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  1031. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  1032. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  1033. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  1034. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  1035. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  1036. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  1037. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  1038. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  1039. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  1040. package/lib/template/back-office/brand-update/index.js +13 -11
  1041. package/lib/template/back-office/brand-update/index.js.map +1 -1
  1042. package/lib/template/back-office/brand-update/style.css +4 -0
  1043. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  1044. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  1045. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  1046. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  1047. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  1048. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  1049. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  1050. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  1051. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  1052. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  1053. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  1054. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  1055. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  1056. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  1057. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  1058. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  1059. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  1060. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  1061. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  1062. package/lib/template/back-office/brand-update/test/fixtures/loader.js +7 -3
  1063. package/lib/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  1064. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  1065. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  1066. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  1067. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js +2 -2
  1068. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  1069. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  1070. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  1071. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  1072. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  1073. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  1074. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  1075. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  1076. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +3 -3
  1077. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  1078. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  1079. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  1080. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  1081. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  1082. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  1083. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  1084. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  1085. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  1086. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  1087. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  1088. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  1089. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  1090. package/lib/template/back-office/brand-update/test/fixtures.js +30 -3
  1091. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  1092. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  1093. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  1094. package/lib/template/common/dashboard/index.js +1 -1
  1095. package/lib/template/common/dashboard/index.js.map +1 -1
  1096. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  1097. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  1098. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  1099. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  1100. package/lib/template/common/discipline/index.js +2 -2
  1101. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  1102. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  1103. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  1104. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  1105. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  1106. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  1107. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1108. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1109. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1110. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1111. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1112. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1113. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1114. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1115. package/lib/template/teams-dashboard/index.js +2 -2
  1116. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1117. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1118. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1119. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1120. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1121. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1122. package/lib/test/helpers/render-component.js +1 -1
  1123. package/lib/util/external-content.js +1 -1
  1124. package/lib/util/proptypes.js +1 -1
  1125. package/lib/util/shallow-compare.js.map +1 -1
  1126. package/lib/util/test/navigation.js +5 -3
  1127. package/lib/util/test/navigation.js.map +1 -1
  1128. package/locales/hy/global.json +80 -0
  1129. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.default = exports.InfoItem = exports.ButtonItem = exports.TitleItem = exports.IconLinkItem = exports.LinkItem = exports.MultiSelectItem = exports.SelectItem = exports.InputTextItem = void 0;
4
+ exports.default = exports.TitleItem = exports.SelectItem = exports.MultiSelectItem = exports.LinkItem = exports.InputTextItem = exports.InfoItem = exports.IconLinkItem = exports.ButtonItem = void 0;
5
5
 
6
6
  var _defaults2 = _interopRequireDefault(require("lodash/fp/defaults"));
7
7
 
@@ -33,9 +33,11 @@ var _style = require("../../atom/label/style.css");
33
33
 
34
34
  var _style2 = _interopRequireDefault(require("./style.css"));
35
35
 
36
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
36
+ const _excluded = ["index", "name", "onClick", "uppercase"];
37
37
 
38
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
38
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
39
+
40
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
39
41
 
40
42
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
41
43
 
@@ -209,14 +211,14 @@ LinkItem.propTypes = process.env.NODE_ENV !== "production" ? {
209
211
  target: _propTypes.default.string
210
212
  } : {};
211
213
 
212
- const IconLinkItem = (_ref) => {
214
+ const IconLinkItem = _ref => {
213
215
  let {
214
216
  index,
215
217
  name = `button-link-item-${index}`,
216
218
  onClick,
217
219
  uppercase = true
218
220
  } = _ref,
219
- props = _objectWithoutPropertiesLoose(_ref, ["index", "name", "onClick", "uppercase"]);
221
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
220
222
 
221
223
  const handleOnClick = (0, _react.useMemo)(() => e => {
222
224
  onClick && onClick(e);
@@ -412,21 +414,21 @@ const SidebarItem = ({
412
414
  };
413
415
 
414
416
  SidebarItem.propTypes = process.env.NODE_ENV !== "production" ? {
415
- item: _propTypes.default.oneOfType([_propTypes.default.shape(_extends(_extends({}, TitleItem.propTypes), {}, {
417
+ item: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, TitleItem.propTypes, {
416
418
  type: _propTypes.default.oneOf(['title']).isRequired
417
- })), _propTypes.default.shape(_extends(_extends({}, IconLinkItem.propTypes), {}, {
419
+ })), _propTypes.default.shape(_extends({}, IconLinkItem.propTypes, {
418
420
  type: _propTypes.default.oneOf(['iconLink']).isRequired
419
- })), _propTypes.default.shape(_extends(_extends({}, ButtonItem.propTypes), {}, {
421
+ })), _propTypes.default.shape(_extends({}, ButtonItem.propTypes, {
420
422
  type: _propTypes.default.oneOf(['button']).isRequired
421
- })), _propTypes.default.shape(_extends(_extends({}, InfoItem.propTypes), {}, {
423
+ })), _propTypes.default.shape(_extends({}, InfoItem.propTypes, {
422
424
  type: _propTypes.default.oneOf(['info']).isRequired
423
- })), _propTypes.default.shape(_extends(_extends({}, LinkItem.propTypes), {}, {
425
+ })), _propTypes.default.shape(_extends({}, LinkItem.propTypes, {
424
426
  type: _propTypes.default.oneOf(['link']).isRequired
425
- })), _propTypes.default.shape(_extends(_extends({}, InputTextItem.propTypes), {}, {
427
+ })), _propTypes.default.shape(_extends({}, InputTextItem.propTypes, {
426
428
  type: _propTypes.default.oneOf(['inputtext']).isRequired
427
- })), _propTypes.default.shape(_extends(_extends({}, SelectItem.propTypes), {}, {
429
+ })), _propTypes.default.shape(_extends({}, SelectItem.propTypes, {
428
430
  type: _propTypes.default.oneOf(['select']).isRequired
429
- })), _propTypes.default.shape(_extends(_extends({}, SelectItem.propTypes), {}, {
431
+ })), _propTypes.default.shape(_extends({}, SelectItem.propTypes, {
430
432
  type: _propTypes.default.oneOf(['multi-select']).isRequired
431
433
  }))]),
432
434
  index: _propTypes.default.number,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/sidebar/index.js"],"names":["NEUTRAL_COLOR","InputTextItem","props","title","placeholder","value","onChange","disabled","name","index","uppercase","handleOnChange","e","target","style","selectItem","selectTitle","input","propTypes","PropTypes","number","string","isRequired","bool","func","SelectItem","options","arrayOf","shape","selected","MultiSelectItem","LinkItem","href","color","onClick","styles","children","setChildrenAsHtml","handleOnClick","classNames","linkItem","innerHTML","borderStyle","borderLeftColor","textDecoration","__html","IconLinkItem","icon","TitleItem","titleItem","titleItemTitle","ButtonItem","neutralColor","cta","backgroundColor","button","rectangular","fullWidth","secondary","submitValue","buttonItem","oneOfType","Cta","InfoItem","color_","infoItem","infoItemTitle","infoItemContent","SidebarItem","item","type","oneOf","SidebarItems","items","sectionItems","map","Sidebar","context","sections","Array","isArray","skin","defaultColor","sidebar","sidebarSection","idx","sidebarPart","contextTypes","Provider","childContextTypes"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;AAEA,MAAMA,aAAa,GAAG,SAAtB;;AAEO,MAAMC,aAAa,GAAGC,KAAK,IAAI;AACpC,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,WAAW,GAAG,EAFV;AAGJC,IAAAA,KAHI;AAIJC,IAAAA,QAAQ,i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import PropTypes from 'prop-types';\nimport {noop, getOr, defaults} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyOpenInNewTab} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport Button from '../../atom/button';\nimport Provider from '../../atom/provider';\nimport Select from '../../atom/select';\nimport Cta from '../../atom/cta';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport {innerHTML} from '../../atom/label/style.css';\nimport style from './style.css';\n\nconst NEUTRAL_COLOR = '#607D8B';\n\nexport const InputTextItem = props => {\n const {\n title,\n placeholder = '',\n value,\n onChange = noop,\n disabled,\n name,\n index,\n uppercase = true\n } = props;\n const handleOnChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n return (\n <li data-name={name || `inputtext-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <input\n type=\"text\"\n name={title}\n className={style.input}\n placeholder={placeholder}\n value={value}\n disabled={disabled}\n onChange={handleOnChange}\n />\n </li>\n );\n};\n\nInputTextItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n disabled: PropTypes.bool,\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const SelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <Select title={title} onChange={onChange} theme=\"header\" options={options} />\n </li>\n );\n};\n\nSelectItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired\n })\n ).isRequired,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const MultiSelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <SelectMultiple theme=\"sidebar\" onChange={onChange} options={options} />\n </li>\n );\n};\n\nMultiSelectItem.propTypes = SelectItem.propTypes;\n\nexport const LinkItem = ({\n href,\n index,\n name,\n selected,\n color,\n title,\n onClick,\n uppercase = true,\n styles,\n children,\n setChildrenAsHtml = true,\n target = '_self'\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n\n const classNames = classnames(style.linkItem, innerHTML, {[style.uppercase]: uppercase}, styles);\n const borderStyle = {borderLeftColor: selected ? color : null};\n\n return (\n <Link\n target={target}\n onClick={handleOnClick}\n skinHover\n href={href}\n data-name={name || `link-item-${index}`}\n style={{\n textDecoration: 'none',\n color: selected ? color : NEUTRAL_COLOR\n }}\n >\n {setChildrenAsHtml ? (\n <li\n className={classNames}\n style={borderStyle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : (\n <li className={classNames} style={borderStyle}>\n {title}\n {children}\n </li>\n )}\n </Link>\n );\n};\n\nLinkItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n selected: PropTypes.bool,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool,\n setChildrenAsHtml: PropTypes.bool,\n target: PropTypes.string\n};\n\nexport const IconLinkItem = ({\n index,\n name = `button-link-item-${index}`,\n onClick,\n uppercase = true,\n ...props\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n return (\n <LinkItem\n {...props}\n setChildrenAsHtml={false}\n onClick={handleOnClick}\n name={name}\n uppercase={uppercase}\n index={index}\n >\n <NovaCompositionCoorpacademyOpenInNewTab className={style.icon} />\n </LinkItem>\n );\n};\n\nIconLinkItem.propTypes = LinkItem.propTypes;\n\nexport const TitleItem = ({name, index, title, uppercase}) => {\n return (\n <ul data-name={name || `item-title-${index}`} className={style.titleItem}>\n <li className={classnames(style.titleItemTitle, {[style.uppercase]: uppercase})}>{title}</li>\n </ul>\n );\n};\n\nTitleItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nexport const ButtonItem = ({\n index,\n onClick,\n color,\n neutralColor,\n name,\n href,\n title,\n cta,\n uppercase\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const backgroundColor = neutralColor === true ? NEUTRAL_COLOR : color;\n const button = cta ? (\n <Cta\n {...defaults(\n {\n onClick: handleOnClick,\n href,\n rectangular: true,\n fullWidth: true,\n secondary: true,\n submitValue: title\n },\n cta\n )}\n />\n ) : (\n <Button type=\"link\" href={href} onClick={handleOnClick} style={{backgroundColor}}>\n {title}\n </Button>\n );\n return (\n <li\n data-name={name || `button-item-${index}`}\n className={classnames(style.buttonItem, {[style.uppercase]: uppercase})}\n >\n {button}\n </li>\n );\n};\n\nButtonItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n onClick: PropTypes.func,\n cta: PropTypes.oneOfType([PropTypes.shape(Cta.propTypes), PropTypes.bool]),\n uppercase: PropTypes.bool\n};\n\nexport const InfoItem = ({onClick, index, name, color, neutralColor, title, value, uppercase}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const color_ = neutralColor === true ? NEUTRAL_COLOR : color;\n return (\n <ul data-name={name || `item-info-${index}`} className={style.infoItem}>\n <li className={style.infoItemTitle}>{title}</li>\n <li\n className={classnames(style.infoItemContent, {[style.uppercase]: uppercase})}\n onClick={handleOnClick}\n style={{\n borderLeftColor: color_,\n color: color_\n }}\n >\n {value}\n </li>\n </ul>\n );\n};\n\nInfoItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItem = ({item, color, index}) => {\n switch (item.type) {\n case 'select': {\n return <SelectItem {...item} color={color} index={index} />;\n }\n case 'multi-select':\n return <MultiSelectItem {...item} color={color} index={index} />;\n case 'link':\n return <LinkItem {...item} color={color} index={index} />;\n case 'iconLink':\n return <IconLinkItem {...item} color={color} index={index} />;\n case 'title':\n return <TitleItem {...item} color={color} index={index} />;\n case 'button':\n return <ButtonItem {...item} color={color} index={index} />;\n case 'info':\n return <InfoItem {...item} color={color} index={index} />;\n case 'inputtext':\n return <InputTextItem {...item} color={color} index={index} />;\n }\n};\n\nSidebarItem.propTypes = {\n item: PropTypes.oneOfType([\n PropTypes.shape({...TitleItem.propTypes, type: PropTypes.oneOf(['title']).isRequired}),\n PropTypes.shape({...IconLinkItem.propTypes, type: PropTypes.oneOf(['iconLink']).isRequired}),\n PropTypes.shape({...ButtonItem.propTypes, type: PropTypes.oneOf(['button']).isRequired}),\n PropTypes.shape({...InfoItem.propTypes, type: PropTypes.oneOf(['info']).isRequired}),\n PropTypes.shape({...LinkItem.propTypes, type: PropTypes.oneOf(['link']).isRequired}),\n PropTypes.shape({...InputTextItem.propTypes, type: PropTypes.oneOf(['inputtext']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['select']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['multi-select']).isRequired})\n ]),\n index: PropTypes.number,\n color: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItems = ({items, color}) => {\n return (\n <ul className={style.sectionItems}>\n {items.map((item, index) => (\n <SidebarItem item={item} key={index} index={index} color={color} />\n ))}\n </ul>\n );\n};\n\nSidebarItems.propTypes = {\n color: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.shape(SidebarItem.propTypes))\n};\n\nconst Sidebar = ({items}, context) => {\n const sections = Array.isArray(items[0]) ? items : [items];\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n return (\n <div data-name=\"sidebar\" className={style.sidebar}>\n {sections.map((sidebarSection, idx) => (\n <div data-name={`sidebarpart-${idx + 1}`} className={style.sidebarPart} key={idx}>\n <SidebarItems items={sidebarSection} color={defaultColor} />\n </div>\n ))}\n </div>\n );\n};\n\nSidebar.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n SidebarItem.propTypes.item,\n PropTypes.arrayOf(SidebarItem.propTypes.item).isRequired\n ])\n ).isRequired\n};\n\nSidebar.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default Sidebar;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/sidebar/index.js"],"names":["NEUTRAL_COLOR","InputTextItem","props","title","placeholder","value","onChange","disabled","name","index","uppercase","handleOnChange","e","target","style","selectItem","selectTitle","input","propTypes","PropTypes","number","string","isRequired","bool","func","SelectItem","options","arrayOf","shape","selected","MultiSelectItem","LinkItem","href","color","onClick","styles","children","setChildrenAsHtml","handleOnClick","classNames","linkItem","innerHTML","borderStyle","borderLeftColor","textDecoration","__html","IconLinkItem","icon","TitleItem","titleItem","titleItemTitle","ButtonItem","neutralColor","cta","backgroundColor","button","rectangular","fullWidth","secondary","submitValue","buttonItem","oneOfType","Cta","InfoItem","color_","infoItem","infoItemTitle","infoItemContent","SidebarItem","item","type","oneOf","SidebarItems","items","sectionItems","map","Sidebar","context","sections","Array","isArray","skin","defaultColor","sidebar","sidebarSection","idx","sidebarPart","contextTypes","Provider","childContextTypes"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,aAAa,GAAG,SAAtB;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ACW,YAAR,GAAuB;AACrBN,EAAAA,IAAI,EAAEO,kBAASC,iBAAT,CAA2BR;AADZ,CAAvB;eAIeL,O","sourcesContent":["import React, {useMemo} from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {noop, getOr, defaults} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyOpenInNewTab} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport Button from '../../atom/button';\nimport Provider from '../../atom/provider';\nimport Select from '../../atom/select';\nimport Cta from '../../atom/cta';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport {innerHTML} from '../../atom/label/style.css';\nimport style from './style.css';\n\nconst NEUTRAL_COLOR = '#607D8B';\n\nexport const InputTextItem = props => {\n const {\n title,\n placeholder = '',\n value,\n onChange = noop,\n disabled,\n name,\n index,\n uppercase = true\n } = props;\n const handleOnChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n return (\n <li data-name={name || `inputtext-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <input\n type=\"text\"\n name={title}\n className={style.input}\n placeholder={placeholder}\n value={value}\n disabled={disabled}\n onChange={handleOnChange}\n />\n </li>\n );\n};\n\nInputTextItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n disabled: PropTypes.bool,\n value: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const SelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <Select title={title} onChange={onChange} theme=\"header\" options={options} />\n </li>\n );\n};\n\nSelectItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired\n })\n ).isRequired,\n onChange: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nexport const MultiSelectItem = ({name, index, onChange, title, options, uppercase = true}) => {\n return (\n <li data-name={name || `select-item-${index}`} className={style.selectItem}>\n <div className={classnames(style.selectTitle, {[style.uppercase]: uppercase})}>{title}</div>\n <SelectMultiple theme=\"sidebar\" onChange={onChange} options={options} />\n </li>\n );\n};\n\nMultiSelectItem.propTypes = SelectItem.propTypes;\n\nexport const LinkItem = ({\n href,\n index,\n name,\n selected,\n color,\n title,\n onClick,\n uppercase = true,\n styles,\n children,\n setChildrenAsHtml = true,\n target = '_self'\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n\n const classNames = classnames(style.linkItem, innerHTML, {[style.uppercase]: uppercase}, styles);\n const borderStyle = {borderLeftColor: selected ? color : null};\n\n return (\n <Link\n target={target}\n onClick={handleOnClick}\n skinHover\n href={href}\n data-name={name || `link-item-${index}`}\n style={{\n textDecoration: 'none',\n color: selected ? color : NEUTRAL_COLOR\n }}\n >\n {setChildrenAsHtml ? (\n <li\n className={classNames}\n style={borderStyle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : (\n <li className={classNames} style={borderStyle}>\n {title}\n {children}\n </li>\n )}\n </Link>\n );\n};\n\nLinkItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n selected: PropTypes.bool,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool,\n setChildrenAsHtml: PropTypes.bool,\n target: PropTypes.string\n};\n\nexport const IconLinkItem = ({\n index,\n name = `button-link-item-${index}`,\n onClick,\n uppercase = true,\n ...props\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n return (\n <LinkItem\n {...props}\n setChildrenAsHtml={false}\n onClick={handleOnClick}\n name={name}\n uppercase={uppercase}\n index={index}\n >\n <NovaCompositionCoorpacademyOpenInNewTab className={style.icon} />\n </LinkItem>\n );\n};\n\nIconLinkItem.propTypes = LinkItem.propTypes;\n\nexport const TitleItem = ({name, index, title, uppercase}) => {\n return (\n <ul data-name={name || `item-title-${index}`} className={style.titleItem}>\n <li className={classnames(style.titleItemTitle, {[style.uppercase]: uppercase})}>{title}</li>\n </ul>\n );\n};\n\nTitleItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nexport const ButtonItem = ({\n index,\n onClick,\n color,\n neutralColor,\n name,\n href,\n title,\n cta,\n uppercase\n}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const backgroundColor = neutralColor === true ? NEUTRAL_COLOR : color;\n const button = cta ? (\n <Cta\n {...defaults(\n {\n onClick: handleOnClick,\n href,\n rectangular: true,\n fullWidth: true,\n secondary: true,\n submitValue: title\n },\n cta\n )}\n />\n ) : (\n <Button type=\"link\" href={href} onClick={handleOnClick} style={{backgroundColor}}>\n {title}\n </Button>\n );\n return (\n <li\n data-name={name || `button-item-${index}`}\n className={classnames(style.buttonItem, {[style.uppercase]: uppercase})}\n >\n {button}\n </li>\n );\n};\n\nButtonItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n href: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n onClick: PropTypes.func,\n cta: PropTypes.oneOfType([PropTypes.shape(Cta.propTypes), PropTypes.bool]),\n uppercase: PropTypes.bool\n};\n\nexport const InfoItem = ({onClick, index, name, color, neutralColor, title, value, uppercase}) => {\n const handleOnClick = useMemo(\n () => e => {\n onClick && onClick(e);\n },\n [onClick]\n );\n const color_ = neutralColor === true ? NEUTRAL_COLOR : color;\n return (\n <ul data-name={name || `item-info-${index}`} className={style.infoItem}>\n <li className={style.infoItemTitle}>{title}</li>\n <li\n className={classnames(style.infoItemContent, {[style.uppercase]: uppercase})}\n onClick={handleOnClick}\n style={{\n borderLeftColor: color_,\n color: color_\n }}\n >\n {value}\n </li>\n </ul>\n );\n};\n\nInfoItem.propTypes = {\n index: PropTypes.number,\n title: PropTypes.string.isRequired,\n name: PropTypes.string,\n color: PropTypes.string,\n neutralColor: PropTypes.bool,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItem = ({item, color, index}) => {\n switch (item.type) {\n case 'select': {\n return <SelectItem {...item} color={color} index={index} />;\n }\n case 'multi-select':\n return <MultiSelectItem {...item} color={color} index={index} />;\n case 'link':\n return <LinkItem {...item} color={color} index={index} />;\n case 'iconLink':\n return <IconLinkItem {...item} color={color} index={index} />;\n case 'title':\n return <TitleItem {...item} color={color} index={index} />;\n case 'button':\n return <ButtonItem {...item} color={color} index={index} />;\n case 'info':\n return <InfoItem {...item} color={color} index={index} />;\n case 'inputtext':\n return <InputTextItem {...item} color={color} index={index} />;\n }\n};\n\nSidebarItem.propTypes = {\n item: PropTypes.oneOfType([\n PropTypes.shape({...TitleItem.propTypes, type: PropTypes.oneOf(['title']).isRequired}),\n PropTypes.shape({...IconLinkItem.propTypes, type: PropTypes.oneOf(['iconLink']).isRequired}),\n PropTypes.shape({...ButtonItem.propTypes, type: PropTypes.oneOf(['button']).isRequired}),\n PropTypes.shape({...InfoItem.propTypes, type: PropTypes.oneOf(['info']).isRequired}),\n PropTypes.shape({...LinkItem.propTypes, type: PropTypes.oneOf(['link']).isRequired}),\n PropTypes.shape({...InputTextItem.propTypes, type: PropTypes.oneOf(['inputtext']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['select']).isRequired}),\n PropTypes.shape({...SelectItem.propTypes, type: PropTypes.oneOf(['multi-select']).isRequired})\n ]),\n index: PropTypes.number,\n color: PropTypes.string,\n uppercase: PropTypes.bool\n};\n\nconst SidebarItems = ({items, color}) => {\n return (\n <ul className={style.sectionItems}>\n {items.map((item, index) => (\n <SidebarItem item={item} key={index} index={index} color={color} />\n ))}\n </ul>\n );\n};\n\nSidebarItems.propTypes = {\n color: PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.shape(SidebarItem.propTypes))\n};\n\nconst Sidebar = ({items}, context) => {\n const sections = Array.isArray(items[0]) ? items : [items];\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n return (\n <div data-name=\"sidebar\" className={style.sidebar}>\n {sections.map((sidebarSection, idx) => (\n <div data-name={`sidebarpart-${idx + 1}`} className={style.sidebarPart} key={idx}>\n <SidebarItems items={sidebarSection} color={defaultColor} />\n </div>\n ))}\n </div>\n );\n};\n\nSidebar.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n SidebarItem.propTypes.item,\n PropTypes.arrayOf(SidebarItem.propTypes.item).isRequired\n ])\n ).isRequired\n};\n\nSidebar.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default Sidebar;\n"],"file":"index.js"}
@@ -17,6 +17,8 @@ var _inputSwitch = _interopRequireDefault(require("../../atom/input-switch"));
17
17
 
18
18
  var _style = _interopRequireDefault(require("./style.css"));
19
19
 
20
+ const _excluded = ["label", "description"];
21
+
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
23
 
22
24
  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); }
@@ -28,7 +30,7 @@ const Settings = props => {
28
30
  label,
29
31
  description
30
32
  } = props,
31
- settings = _objectWithoutPropertiesLoose(props, ["label", "description"]);
33
+ settings = _objectWithoutPropertiesLoose(props, _excluded);
32
34
 
33
35
  return /*#__PURE__*/_react.default.createElement("div", {
34
36
  className: _style.default.settings
@@ -47,7 +49,7 @@ const Settings = props => {
47
49
  }, description))));
48
50
  };
49
51
 
50
- Settings.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _inputSwitch.default.propTypes), {}, {
52
+ Settings.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, _inputSwitch.default.propTypes, {
51
53
  label: _propTypes.default.string.isRequired,
52
54
  description: _propTypes.default.string
53
55
  }) : {};
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/user-preferences/index.js"],"names":["Settings","props","label","description","settings","style","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","InputSwitch","PropTypes","string","isRequired","UserPreferences","preferences","arrayOf","shape"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAoCF,KAA1C;AAAA,QAA8BG,QAA9B,iCAA0CH,KAA1C;;AACA,sBACE;AAAK,IAAA,SAAS,EAAEI,eAAMD;AAAtB,kBACE,6BAAC,oBAAD,EAAiBA,QAAjB,CADF,eAEE;AAAM,IAAA,SAAS,EAAEC,eAAMH;AAAvB,KAA+BA,KAA/B,CAFF,EAGG,uBAAQC,WAAR,IAAuB,IAAvB,gBACC;AAAK,IAAA,SAAS,EAAEE,eAAMC;AAAtB,kBACE,6BAAC,qDAAD;AAAU,IAAA,MAAM,EAAE,EAAlB;AAAsB,IAAA,KAAK,EAAE,EAA7B;AAAiC,IAAA,SAAS,EAAED,eAAME;AAAlD,IADF,eAEE;AAAK,IAAA,SAAS,EAAEF,eAAMG;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEH,eAAMI;AAAtB,KAAyCN,WAAzC,CADF,CAFF,CAJJ,CADF;AAcD,CAhBD;;AAkBAH,QAAQ,CAACU,SAAT,iEACKC,qBAAYD,SADjB;AAEER,EAAAA,KAAK,EAAEU,mBAAUC,MAAV,CAAiBC,UAF1B;AAGEX,EAAAA,WAAW,EAAES,mBAAUC;AAHzB;;AAMA,MAAME,eAAe,GAAGd,KAAK,IAAI;AAC/B,QAAM;AAACe,IAAAA,WAAW,GAAG;AAAf,MAAqBf,KAA3B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEI,eAAMW;AAAtB,KACG,mBACCZ,QAAQ,iBACN,6BAAC,QAAD,eAAcA,QAAd;AAAwB,IAAA,GAAG,EAAEA,QAAQ,CAACF;AAAtC,KAFH,EAICc,WAJD,CADH,CADF;AAUD,CAbD;;AAeAD,eAAe,CAACL,SAAhB,2CAA4B;AAC1BM,EAAAA,WAAW,EAAEJ,mBAAUK,OAAV,CAAkBL,mBAAUM,KAAV,CAAgBlB,QAAQ,CAACU,SAAzB,CAAlB;AADa,CAA5B;eAIeK,e","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon height={16} width={16} className={style.infoIcon} />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = []} = props;\n\n return (\n <div className={style.preferences}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} />\n ),\n preferences\n )}\n </div>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes))\n};\n\nexport default UserPreferences;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/user-preferences/index.js"],"names":["Settings","props","label","description","settings","style","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","InputSwitch","PropTypes","string","isRequired","UserPreferences","preferences","arrayOf","shape"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAoCF,KAA1C;AAAA,QAA8BG,QAA9B,iCAA0CH,KAA1C;;AACA,sBACE;AAAK,IAAA,SAAS,EAAEI,eAAMD;AAAtB,kBACE,6BAAC,oBAAD,EAAiBA,QAAjB,CADF,eAEE;AAAM,IAAA,SAAS,EAAEC,eAAMH;AAAvB,KAA+BA,KAA/B,CAFF,EAGG,uBAAQC,WAAR,IAAuB,IAAvB,gBACC;AAAK,IAAA,SAAS,EAAEE,eAAMC;AAAtB,kBACE,6BAAC,qDAAD;AAAU,IAAA,MAAM,EAAE,EAAlB;AAAsB,IAAA,KAAK,EAAE,EAA7B;AAAiC,IAAA,SAAS,EAAED,eAAME;AAAlD,IADF,eAEE;AAAK,IAAA,SAAS,EAAEF,eAAMG;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEH,eAAMI;AAAtB,KAAyCN,WAAzC,CADF,CAFF,CAJJ,CADF;AAcD,CAhBD;;AAkBAH,QAAQ,CAACU,SAAT,wDACKC,qBAAYD,SADjB;AAEER,EAAAA,KAAK,EAAEU,mBAAUC,MAAV,CAAiBC,UAF1B;AAGEX,EAAAA,WAAW,EAAES,mBAAUC;AAHzB;;AAMA,MAAME,eAAe,GAAGd,KAAK,IAAI;AAC/B,QAAM;AAACe,IAAAA,WAAW,GAAG;AAAf,MAAqBf,KAA3B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEI,eAAMW;AAAtB,KACG,mBACCZ,QAAQ,iBACN,6BAAC,QAAD,eAAcA,QAAd;AAAwB,IAAA,GAAG,EAAEA,QAAQ,CAACF;AAAtC,KAFH,EAICc,WAJD,CADH,CADF;AAUD,CAbD;;AAeAD,eAAe,CAACL,SAAhB,2CAA4B;AAC1BM,EAAAA,WAAW,EAAEJ,mBAAUK,OAAV,CAAkBL,mBAAUM,KAAV,CAAgBlB,QAAQ,CAACU,SAAzB,CAAlB;AADa,CAA5B;eAIeK,e","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon height={16} width={16} className={style.infoIcon} />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = []} = props;\n\n return (\n <div className={style.preferences}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} />\n ),\n preferences\n )}\n </div>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes))\n};\n\nexport default UserPreferences;\n"],"file":"index.js"}
@@ -25,8 +25,6 @@ var _searchAndChipsResults = _interopRequireDefault(require("../search-and-chips
25
25
 
26
26
  var _courseSelection = _interopRequireDefault(require("../course-selection"));
27
27
 
28
- var _loader = _interopRequireDefault(require("../../atom/loader"));
29
-
30
28
  var _style = _interopRequireDefault(require("./style.css"));
31
29
 
32
30
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -129,7 +127,9 @@ const WizardContents = props => {
129
127
  previousStep
130
128
  } = props;
131
129
  const headerView = buildHeader(wizardHeader, steps);
132
- const formView = buildForm(content);
130
+ const formView = buildForm(_extends({}, content, {
131
+ isLoading
132
+ }));
133
133
  const rightActionView = buildActionZone(previousStep, nextStep, 'right');
134
134
  const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
135
135
  return /*#__PURE__*/_react.default.createElement("div", {
@@ -139,9 +139,7 @@ const WizardContents = props => {
139
139
  className: _style.default.leftSection
140
140
  }, headerView, /*#__PURE__*/_react.default.createElement("div", {
141
141
  className: _style.default.form
142
- }, isLoading ? /*#__PURE__*/_react.default.createElement(_loader.default, {
143
- theme: "coorpmanager"
144
- }) : formView)), /*#__PURE__*/_react.default.createElement("div", {
142
+ }, formView)), /*#__PURE__*/_react.default.createElement("div", {
145
143
  className: _style.default.rightSection,
146
144
  "data-name": "summary-right-section"
147
145
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -171,13 +169,13 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
171
169
  }).isRequired,
172
170
  steps: _wizardSteps.default.propTypes.steps,
173
171
  summary: _propTypes.default.shape(_extends({}, _wizardSummary.default.propTypes)).isRequired,
174
- content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends(_extends({}, _brandForm.default.propTypes), {}, {
172
+ content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _brandForm.default.propTypes, {
175
173
  type: _propTypes.default.oneOf(['form'])
176
- })), _propTypes.default.shape(_extends(_extends({}, _contentTranslation.default.propTypes), {}, {
174
+ })), _propTypes.default.shape(_extends({}, _contentTranslation.default.propTypes, {
177
175
  type: _propTypes.default.oneOf(['translate'])
178
- })), _propTypes.default.shape(_extends(_extends({}, _searchAndChipsResults.default.propTypes), {}, {
176
+ })), _propTypes.default.shape(_extends({}, _searchAndChipsResults.default.propTypes, {
179
177
  type: _propTypes.default.oneOf(['populations'])
180
- })), _propTypes.default.shape(_extends(_extends({}, _courseSelection.default.propTypes), {}, {
178
+ })), _propTypes.default.shape(_extends({}, _courseSelection.default.propTypes, {
181
179
  type: _propTypes.default.oneOf(['courses'])
182
180
  }))]),
183
181
  previousStep: _propTypes.default.shape({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;AAAK,IAAA,SAAS,EAAEG,eAAME,WAAtB;AAAmC,iBAAW;AAA9C,KACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;AAAa,IAAA,KAAK,EAAED;AAApB,IAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMS,SAAS,GAAGC,OAAO,IAAI;AAC3B,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,UAAQC,IA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AAhB;AAFR,KAL2B,EAS3BV,mBAAUE,KAAV,uBACKU,+BAA8Bb,SADnC;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,aAAD,CAAhB;AAFR,KAT2B,EAa3BV,mBAAUE,KAAV,uBACKW,yBAAgBd,SADrB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,CAApB,CAVgB;AA4BzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CA5BW;AAgCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AAhCe,CAA3B;eAuCetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm(content);\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{isLoading ? <Loader theme=\"coorpmanager\" /> : formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;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AAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AAhCe,CAA3B;eAuCetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
@@ -8,36 +8,34 @@
8
8
  align-items: stretch;
9
9
  justify-content: flex-start;
10
10
  flex-wrap: wrap;
11
- height: 100%;
11
+ overflow: auto;
12
+ height: calc(100vh - 124px);
13
+ width: 100%;
12
14
  }
13
15
 
14
16
  .leftSection {
15
17
  display: block;
16
- overflow: hidden;
18
+ overflow: auto;
17
19
  box-sizing: border-box;
18
- width: 68%;
20
+ width: calc(100% - 320px);
21
+ height: 100%;
19
22
  position: relative;
20
23
  }
21
24
 
22
25
  .rightSection {
26
+ height: 100%;
27
+ padding-bottom: 58px;
23
28
  box-sizing: border-box;
24
- position: relative;
29
+ position: sticky;
30
+ top: 0;
25
31
  display: flex;
26
32
  flex-direction: column;
27
33
  flex: 0 1 320px;
28
- height: 100%;
29
34
  }
30
35
 
31
36
  .stickySection {
32
- box-sizing: border-box;
33
- position: fixed;
34
- z-index: 1;
35
- bottom: 0;
36
- right: 64px;
37
- width: 320px;
38
- height: 82%;
37
+ height: 100%;
39
38
  border-radius: 7px;
40
- height: 86%;
41
39
  display: flex;
42
40
  flex-direction: column;
43
41
  }
@@ -82,7 +80,6 @@
82
80
 
83
81
  .footer {
84
82
  width: 100%;
85
- height: 100%;
86
83
  bottom: 0px;
87
84
  display: none;
88
85
  position: inherit;
@@ -104,7 +101,6 @@
104
101
  bottom: 10px;
105
102
  position: sticky;
106
103
  z-index: 1;
107
- min-height: 600px;
108
104
  }
109
105
  .footer::before {
110
106
  content: '';
@@ -33,7 +33,7 @@ var _default = {
33
33
  current: true
34
34
  }],
35
35
  summary: _threeSections.default.props,
36
- content: _extends(_extends({}, _default2.default.props), {}, {
36
+ content: _extends({}, _default2.default.props, {
37
37
  type: 'courses'
38
38
  }),
39
39
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","addCoursesForm","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,sBADK;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,aADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KAbK,CANF;AAyBLC,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,wBACFC,kBAAeb,KADb;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,KAAK,EAAE,SAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport addCoursesForm from '../../../course-selection/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\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: 'Add courses',\n done: false,\n current: true\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...addCoursesForm.props,\n type: 'courses'\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":"playlist-add-courses-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","addCoursesForm","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,sBADK;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,aADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KAbK,CANF;AAyBLC,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,eACFC,kBAAeb,KADb;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,KAAK,EAAE,SAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport addCoursesForm from '../../../course-selection/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\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: 'Add courses',\n done: false,\n current: true\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...addCoursesForm.props,\n type: 'courses'\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":"playlist-add-courses-create.js"}
@@ -33,7 +33,7 @@ var _default = {
33
33
  done: false
34
34
  }],
35
35
  summary: _threeSections.default.props,
36
- content: _extends(_extends({}, _wizardPlaylists.default.props), {}, {
36
+ content: _extends({}, _wizardPlaylists.default.props, {
37
37
  type: 'form'
38
38
  }),
39
39
  nextStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","generalInformation","type","nextStep","label"],"mappings":";;;;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,wBACFC,yBAAmBb,KADjB;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRD,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AA9BL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n type: 'next',\n label: 'Next step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","generalInformation","type","nextStep","label"],"mappings":";;;;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,eACFC,yBAAmBb,KADjB;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRD,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AA9BL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n type: 'next',\n label: 'Next step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-create.js"}
@@ -33,7 +33,7 @@ var _default = {
33
33
  done: false
34
34
  }],
35
35
  summary: _oneSection.default.props,
36
- content: _extends(_extends({}, _wizardPlaylists.default.props), {}, {
36
+ content: _extends({}, _wizardPlaylists.default.props, {
37
37
  type: 'form'
38
38
  }),
39
39
  nextStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","generalInformation","type","nextStep","label"],"mappings":";;;;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,oBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,wBACFC,yBAAmBb,KADjB;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,WADC;AAERZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAFP;AA9BL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/one-section';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-edit.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","generalInformation","type","nextStep","label"],"mappings":";;;;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,oBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,eACFC,yBAAmBb,KADjB;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,WADC;AAERZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAFP;AA9BL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/one-section';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-edit.js"}
@@ -33,7 +33,7 @@ var _default = {
33
33
  done: false
34
34
  }],
35
35
  summary: _threeSections.default.props,
36
- content: _extends(_extends({}, _sortedSelected.default.props), {}, {
36
+ content: _extends({}, _sortedSelected.default.props, {
37
37
  type: 'populations'
38
38
  }),
39
39
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-populations-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","populationsForm","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,wBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KATK,EAcL;AACEN,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,wBACFC,wBAAgBb,KADd;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport populationsForm from '../../../search-and-chips-results/test/fixtures/sorted-selected';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\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: false,\n current: true\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...populationsForm.props,\n type: 'populations'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-populations-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-populations-create.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","populationsForm","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,wBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KATK,EAcL;AACEN,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,eACFC,wBAAgBb,KADd;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport populationsForm from '../../../search-and-chips-results/test/fixtures/sorted-selected';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\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: false,\n current: true\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...populationsForm.props,\n type: 'populations'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-populations-create.js"}
@@ -33,7 +33,7 @@ var _default = {
33
33
  done: false
34
34
  }],
35
35
  summary: _threeSections.default.props,
36
- content: _extends(_extends({}, _default2.default.props), {}, {
36
+ content: _extends({}, _default2.default.props, {
37
37
  type: 'translate'
38
38
  }),
39
39
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-translate-edit.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","translateForm","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,sBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KALK,EAUL;AACEN,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,wBACFC,kBAAcb,KADZ;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport translateForm from '../../../content-translation/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: false,\n current: true\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...translateForm.props,\n type: 'translate'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-translate-edit.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-translate-edit.js"],"names":["props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","wizardSummary","content","translateForm","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,sBADK;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,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KALK,EAUL;AACEN,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEC,uBAAcX,KAzBlB;AA0BLY,IAAAA,OAAO,eACFC,kBAAcb,KADZ;AAELc,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLW,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRZ,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,C","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport translateForm from '../../../content-translation/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: false,\n current: true\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...translateForm.props,\n type: 'translate'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-translate-edit.js"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _playlistAddCoursesCreate = _interopRequireDefault(require("./fixtures/playlist-add-courses-create"));
12
+
13
+ var _playlistGeneralSettingsCreate = _interopRequireDefault(require("./fixtures/playlist-general-settings-create"));
14
+
15
+ var _playlistGeneralSettingsEdit = _interopRequireDefault(require("./fixtures/playlist-general-settings-edit"));
16
+
17
+ var _playlistPopulationsCreate = _interopRequireDefault(require("./fixtures/playlist-populations-create"));
18
+
19
+ var _playlistTranslateEdit = _interopRequireDefault(require("./fixtures/playlist-translate-edit"));
20
+
21
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22
+
23
+ (0, _ava.default)('Organism › OrganismWizardContents > should have valid propTypes', t => {
24
+ t.pass();
25
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
26
+ t.not(value, undefined, `PropType for "Organism.OrganismWizardContents.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
27
+ });
28
+ });
29
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', _renderComponent.default, _.default, _playlistAddCoursesCreate.default);
30
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsCreate.default);
31
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsEdit.default);
32
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', _renderComponent.default, _.default, _playlistPopulationsCreate.default);
33
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', _renderComponent.default, _.default, _playlistTranslateEdit.default);
34
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["t","pass","OrganismWizardContents","propTypes","value","key","not","undefined","renderComponentMacro","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit"],"mappings":";;AAAA;;AACA;;AACA;;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,mFAAL,EAA0FG,wBAA1F,EAAgHN,SAAhH,EAAwIO,iCAAxI;AACA,kBAAK,wFAAL,EAA+FD,wBAA/F,EAAqHN,SAArH,EAA6IQ,sCAA7I;AACA,kBAAK,sFAAL,EAA6FF,wBAA7F,EAAmHN,SAAnH,EAA2IS,oCAA3I;AACA,kBAAK,oFAAL,EAA2FH,wBAA3F,EAAiHN,SAAjH,EAAyIU,kCAAzI;AACA,kBAAK,gFAAL,EAAuFJ,wBAAvF,EAA6GN,SAA7G,EAAqIW,8BAArI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
@@ -157,7 +157,7 @@ Progression.propTypes = process.env.NODE_ENV !== "production" ? {
157
157
  }).isRequired,
158
158
  engines: _propTypes.default.arrayOf(_propTypes.default.shape(_engineStars.default.propTypes)),
159
159
  loading: _propTypes.default.bool.isRequired,
160
- progressions: _propTypes.default.arrayOf(_propTypes.default.shape(_extends(_extends({}, _progressionItem.default.propTypes), {}, {
160
+ progressions: _propTypes.default.arrayOf(_propTypes.default.shape(_extends({}, _progressionItem.default.propTypes, {
161
161
  ref: _propTypes.default.string.isRequired
162
162
  }))),
163
163
  themeFilter: _propTypes.default.shape({