@coorpacademy/components 10.0.37-alpha.3 → 10.0.40

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 (988) 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/cta/test/fixtures/certification.js +1 -1
  9. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  10. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  11. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  12. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  13. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  14. package/es/atom/cta/test/fixtures/light.js +1 -1
  15. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  16. package/es/atom/cta/test/fixtures/logout.js +1 -1
  17. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  18. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  19. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  20. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  21. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  23. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  25. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  27. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  29. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  30. package/es/atom/drag-and-drop/index.js +1 -1
  31. package/es/atom/drag-and-drop/index.js.map +1 -1
  32. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  33. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  34. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  35. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  36. package/es/atom/image-upload/index.js +1 -1
  37. package/es/atom/image-upload/index.js.map +1 -1
  38. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  39. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  40. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  41. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  42. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  43. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  44. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  45. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  46. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  47. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  48. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  49. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  50. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  51. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  52. package/es/atom/input-html/index.js.map +1 -1
  53. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  54. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  55. package/es/atom/link/index.js +2 -3
  56. package/es/atom/link/index.js.map +1 -1
  57. package/es/atom/promo-code/index.js.map +1 -1
  58. package/es/atom/provider/index.js.map +1 -1
  59. package/es/atom/provider/test/index.js +1 -1
  60. package/es/atom/provider/test/index.js.map +1 -1
  61. package/es/atom/range/index.js +1 -1
  62. package/es/atom/range/index.js.map +1 -1
  63. package/es/atom/range/test/fixtures/multi.js +1 -1
  64. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  65. package/es/atom/range/test/index.js +9 -9
  66. package/es/atom/range/test/index.js.map +1 -1
  67. package/es/atom/title/index.js +14 -5
  68. package/es/atom/title/index.js.map +1 -1
  69. package/es/atom/title/style.css +21 -0
  70. package/es/atom/title/test/fixtures/fixture.js +4 -1
  71. package/es/atom/title/test/fixtures/fixture.js.map +1 -1
  72. package/es/atom/video-upload/index.js +1 -1
  73. package/es/atom/video-upload/index.js.map +1 -1
  74. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  75. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  76. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  77. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  78. package/es/hoc/animation-scheduler/index.js +3 -3
  79. package/es/hoc/animation-scheduler/index.js.map +1 -1
  80. package/es/hoc/swapper/index.js +2 -4
  81. package/es/hoc/swapper/index.js.map +1 -1
  82. package/es/hoc/transition/index.js +1 -1
  83. package/es/hoc/transition/index.js.map +1 -1
  84. package/es/molecule/add-to-my-list/index.js +1 -1
  85. package/es/molecule/add-to-my-list/index.js.map +1 -1
  86. package/es/molecule/answer/index.js +2 -3
  87. package/es/molecule/answer/index.js.map +1 -1
  88. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  89. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  90. package/es/molecule/answer/test/fixtures/default.js +1 -1
  91. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  92. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  93. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  94. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  95. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  96. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  97. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  98. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  99. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  100. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  101. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  102. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  103. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  104. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  105. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  106. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  107. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  108. package/es/molecule/answer/test/fixtures/range.js +1 -1
  109. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  110. package/es/molecule/answer/test/fixtures/template.js +1 -1
  111. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  112. package/es/molecule/brand-form-group/index.js +17 -17
  113. package/es/molecule/brand-form-group/index.js.map +1 -1
  114. package/es/molecule/brand-form-group/style.css +14 -11
  115. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  116. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  117. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  118. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  119. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  120. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  121. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  122. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  123. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  124. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  125. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  126. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  127. package/es/molecule/brand-tabs/style.css +5 -5
  128. package/es/molecule/brand-tabs/test/fixtures.js +0 -2
  129. package/es/molecule/brand-tabs/test/fixtures.js.map +1 -1
  130. package/es/molecule/card/index.js +1 -1
  131. package/es/molecule/card/index.js.map +1 -1
  132. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  133. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  134. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  135. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  136. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  137. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  138. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  139. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  140. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  141. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  142. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  143. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  144. package/es/molecule/card-with-button/index.js.map +1 -1
  145. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  146. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  147. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  148. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  149. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  150. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  151. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  152. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  153. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  154. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  155. package/es/molecule/dashboard/news-list/index.js +1 -1
  156. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  157. package/es/molecule/dashboard/start-battle/index.js +1 -1
  158. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  159. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  160. package/es/molecule/discipline-scope/test/fixtures.js +0 -6
  161. package/es/molecule/discipline-scope/test/fixtures.js.map +1 -1
  162. package/es/molecule/drag-and-drop/index.js +1 -1
  163. package/es/molecule/drag-and-drop/index.js.map +1 -1
  164. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  165. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  166. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  167. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  168. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  169. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  170. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  171. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  172. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  173. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  174. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  175. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  176. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  177. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  178. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  179. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  180. package/es/molecule/external-content-viewer/index.js +3 -1
  181. package/es/molecule/external-content-viewer/index.js.map +1 -1
  182. package/es/molecule/feedback/index.js +1 -1
  183. package/es/molecule/feedback/index.js.map +1 -1
  184. package/es/molecule/filters/test/fixtures/default.js +4 -4
  185. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  186. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  187. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  188. package/es/molecule/filters/test/fixtures/one.js +2 -2
  189. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  190. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  191. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  192. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  193. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  194. package/es/molecule/filters/test/fixtures/three.js +3 -3
  195. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  196. package/es/molecule/filters/test/fixtures/two.js +3 -3
  197. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  198. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  199. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  200. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  201. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  202. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  203. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  204. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  205. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  206. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  207. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  208. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  209. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  210. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  211. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  212. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  213. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  214. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  215. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  216. package/es/molecule/popin/index.js +13 -2
  217. package/es/molecule/popin/index.js.map +1 -1
  218. package/es/molecule/popin/test/fixtures/background-no-second-button.js +13 -0
  219. package/es/molecule/popin/test/fixtures/background-no-second-button.js.map +1 -0
  220. package/es/molecule/popin/test/on-change.js +17 -5
  221. package/es/molecule/popin/test/on-change.js.map +1 -1
  222. package/es/molecule/progress-bar/index.js +1 -1
  223. package/es/molecule/progress-bar/index.js.map +1 -1
  224. package/es/molecule/questions/drop-down/index.js +1 -1
  225. package/es/molecule/questions/drop-down/index.js.map +1 -1
  226. package/es/molecule/questions/question-range/index.js +2 -3
  227. package/es/molecule/questions/question-range/index.js.map +1 -1
  228. package/es/molecule/questions/template/index.js +2 -2
  229. package/es/molecule/questions/template/index.js.map +1 -1
  230. package/es/molecule/questions/template/test/index.js +1 -1
  231. package/es/molecule/questions/template/test/index.js.map +1 -1
  232. package/es/molecule/quick-access-card/index.js +151 -0
  233. package/es/molecule/quick-access-card/index.js.map +1 -0
  234. package/es/molecule/quick-access-card/style.css +103 -0
  235. package/es/molecule/quick-access-card/test/fixtures/analytics.js +10 -0
  236. package/es/molecule/quick-access-card/test/fixtures/analytics.js.map +1 -0
  237. package/es/molecule/quick-access-card/test/fixtures/default.js +10 -0
  238. package/es/molecule/quick-access-card/test/fixtures/default.js.map +1 -0
  239. package/es/molecule/quick-access-card/test/fixtures/look-and-feel.js +9 -0
  240. package/es/molecule/quick-access-card/test/fixtures/look-and-feel.js.map +1 -0
  241. package/es/molecule/quick-access-card/test/fixtures/manage-email.js +9 -0
  242. package/es/molecule/quick-access-card/test/fixtures/manage-email.js.map +1 -0
  243. package/es/molecule/quick-access-card/test/fixtures/upload-users.js +9 -0
  244. package/es/molecule/quick-access-card/test/fixtures/upload-users.js.map +1 -0
  245. package/es/molecule/resource-player/index.js +1 -2
  246. package/es/molecule/resource-player/index.js.map +1 -1
  247. package/es/molecule/scope-content/test/fixtures.js +0 -6
  248. package/es/molecule/scope-content/test/fixtures.js.map +1 -1
  249. package/es/molecule/select-multiple/index.js +1 -1
  250. package/es/molecule/select-multiple/index.js.map +1 -1
  251. package/es/molecule/select-multiple/test/index.js +3 -3
  252. package/es/molecule/select-multiple/test/index.js.map +1 -1
  253. package/es/molecule/setup-section/index.js +1 -1
  254. package/es/molecule/setup-section/index.js.map +1 -1
  255. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  256. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  257. package/es/molecule/setup-slide/index.js +8 -8
  258. package/es/molecule/setup-slide/index.js.map +1 -1
  259. package/es/molecule/share/index.js +1 -1
  260. package/es/molecule/share/index.js.map +1 -1
  261. package/es/molecule/video-iframe/index.js +1 -1
  262. package/es/molecule/video-iframe/index.js.map +1 -1
  263. package/es/molecule/video-player/index.js +1 -3
  264. package/es/molecule/video-player/index.js.map +1 -1
  265. package/es/molecule/video-player/jwplayer.js +2 -2
  266. package/es/molecule/video-player/jwplayer.js.map +1 -1
  267. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  268. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  269. package/es/molecule/video-player/vimeo.js +1 -1
  270. package/es/molecule/video-player/vimeo.js.map +1 -1
  271. package/es/organism/accordion/coorp-manager/index.js +1 -1
  272. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  273. package/es/organism/accordion/coorp-manager/part/style.css +22 -22
  274. package/es/organism/accordion/toggler/index.js +1 -1
  275. package/es/organism/accordion/toggler/index.js.map +1 -1
  276. package/es/organism/accordion/toggler/test/render.js +2 -2
  277. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  278. package/es/organism/brand-form/index.js +0 -1
  279. package/es/organism/brand-form/index.js.map +1 -1
  280. package/es/organism/brand-form/style.css +2 -11
  281. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  282. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  283. package/es/organism/discussion/test/fixtures/default.js +1 -1
  284. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  285. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  286. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  287. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  288. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  289. package/es/organism/get-the-app/index.js +2 -2
  290. package/es/organism/get-the-app/index.js.map +1 -1
  291. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  292. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  293. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  294. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  295. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  296. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  297. package/es/organism/mooc-header/test/fixtures.js +0 -6
  298. package/es/organism/mooc-header/test/fixtures.js.map +1 -1
  299. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  300. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  301. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  302. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  303. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  304. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  305. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  306. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  307. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  308. package/es/organism/settings/index.js +2 -3
  309. package/es/organism/settings/index.js.map +1 -1
  310. package/es/organism/setup-header/style.css +15 -15
  311. package/es/organism/sidebar/index.js +10 -11
  312. package/es/organism/sidebar/index.js.map +1 -1
  313. package/es/organism/sidebar/style.css +4 -4
  314. package/es/organism/user-preferences/index.js +2 -3
  315. package/es/organism/user-preferences/index.js.map +1 -1
  316. package/es/template/activity/index.js +1 -1
  317. package/es/template/activity/index.js.map +1 -1
  318. package/es/template/activity/test/progression-item-test.js +1 -1
  319. package/es/template/activity/test/progression-item-test.js.map +1 -1
  320. package/es/template/app-player/player/slides/footer/index.js +1 -1
  321. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  322. package/es/template/app-player/player/slides/index.js +11 -14
  323. package/es/template/app-player/player/slides/index.js.map +1 -1
  324. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  325. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  326. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  327. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  328. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  329. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  330. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  331. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  332. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  333. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  334. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  335. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  336. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  337. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  338. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  339. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  340. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  341. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  342. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  343. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  344. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  345. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  346. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  347. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  348. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  349. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  350. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  351. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  352. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  353. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  354. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  355. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  356. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  357. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  358. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  359. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  360. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  361. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  362. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  363. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  364. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  365. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  366. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  367. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  368. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  369. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  370. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  371. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  372. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  373. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  374. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  375. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  376. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  377. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  378. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  379. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  380. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  381. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  382. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  385. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  386. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  387. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  388. package/es/template/app-player/player/test/fixtures.js +0 -2
  389. package/es/template/app-player/player/test/fixtures.js.map +1 -1
  390. package/es/template/app-player/popin-correction/index.js +2 -3
  391. package/es/template/app-player/popin-correction/index.js.map +1 -1
  392. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  393. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  394. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  395. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  396. package/es/template/app-player/popin-end/summary.js +7 -11
  397. package/es/template/app-player/popin-end/summary.js.map +1 -1
  398. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  399. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  400. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  401. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  402. package/es/template/app-player/popin-header/index.js +3 -4
  403. package/es/template/app-player/popin-header/index.js.map +1 -1
  404. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  405. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  406. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  407. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  408. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  409. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  410. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  411. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  412. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  413. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  414. package/es/template/back-office/brand-update/index.js +6 -6
  415. package/es/template/back-office/brand-update/index.js.map +1 -1
  416. package/es/template/back-office/brand-update/style.css +5 -5
  417. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  418. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  419. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  420. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  421. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  422. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  423. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  424. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  425. package/es/template/back-office/brand-update/test/fixtures.js +0 -4
  426. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  427. package/es/template/cockpit/jw-uploader/index.js +2 -3
  428. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  429. package/es/template/common/dashboard/index.js +1 -1
  430. package/es/template/common/dashboard/index.js.map +1 -1
  431. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  432. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  433. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  434. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  435. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  436. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  437. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  438. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  439. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  440. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  441. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  442. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  443. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  444. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  445. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  446. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  447. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  448. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  449. package/es/template/common/discipline/test/fixtures.js +0 -10
  450. package/es/template/common/discipline/test/fixtures.js.map +1 -1
  451. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  452. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  453. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  454. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  455. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  456. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  457. package/es/template/teams-dashboard/test/fixtures.js +0 -2
  458. package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
  459. package/es/util/shallow-compare.js.map +1 -1
  460. package/es/util/test/navigation.js +3 -4
  461. package/es/util/test/navigation.js.map +1 -1
  462. package/es/variables/colors.css +9 -9
  463. package/lib/atom/autocomplete/index.js +2 -2
  464. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  465. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  466. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  467. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  468. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  469. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  470. package/lib/atom/clue/index.js.map +1 -1
  471. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  472. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  473. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  474. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  475. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  476. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  477. package/lib/atom/cta/test/fixtures/light.js +1 -1
  478. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  479. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  480. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  481. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  482. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  483. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  484. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  485. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  486. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  487. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  488. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  489. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  490. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  491. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  492. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  493. package/lib/atom/drag-and-drop/index.js +1 -1
  494. package/lib/atom/drag-and-drop/index.js.map +1 -1
  495. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  496. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  497. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  498. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  499. package/lib/atom/image-upload/index.js +3 -3
  500. package/lib/atom/image-upload/index.js.map +1 -1
  501. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  502. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  503. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  504. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  505. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  506. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  507. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  508. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  509. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  510. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  511. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  512. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  513. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  514. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  515. package/lib/atom/input-checkbox/index.js +2 -2
  516. package/lib/atom/input-color/index.js +2 -2
  517. package/lib/atom/input-doublestep/index.js +2 -2
  518. package/lib/atom/input-html/index.js.map +1 -1
  519. package/lib/atom/input-switch/index.js +2 -2
  520. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  521. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  522. package/lib/atom/input-text/index.js +2 -2
  523. package/lib/atom/input-textarea/index.js +2 -2
  524. package/lib/atom/link/index.js +2 -4
  525. package/lib/atom/link/index.js.map +1 -1
  526. package/lib/atom/promo-code/index.js.map +1 -1
  527. package/lib/atom/provider/index.js.map +1 -1
  528. package/lib/atom/provider/test/index.js +1 -1
  529. package/lib/atom/provider/test/index.js.map +1 -1
  530. package/lib/atom/range/index.js +1 -1
  531. package/lib/atom/range/index.js.map +1 -1
  532. package/lib/atom/range/test/fixtures/multi.js +1 -1
  533. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  534. package/lib/atom/range/test/index.js +9 -9
  535. package/lib/atom/range/test/index.js.map +1 -1
  536. package/lib/atom/select/index.js +2 -2
  537. package/lib/atom/tab/index.js +2 -2
  538. package/lib/atom/title/index.js +15 -5
  539. package/lib/atom/title/index.js.map +1 -1
  540. package/lib/atom/title/style.css +21 -0
  541. package/lib/atom/title/test/fixtures/fixture.js +4 -1
  542. package/lib/atom/title/test/fixtures/fixture.js.map +1 -1
  543. package/lib/atom/video-upload/index.js +1 -1
  544. package/lib/atom/video-upload/index.js.map +1 -1
  545. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  546. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  547. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  548. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  549. package/lib/hoc/animation/test/on-mount.js +2 -2
  550. package/lib/hoc/animation-scheduler/index.js +3 -3
  551. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  552. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +2 -2
  553. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  554. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  555. package/lib/hoc/swapper/index.js +2 -4
  556. package/lib/hoc/swapper/index.js.map +1 -1
  557. package/lib/hoc/swapper/test/on-mount.js +2 -2
  558. package/lib/hoc/transition/index.js +3 -3
  559. package/lib/hoc/transition/index.js.map +1 -1
  560. package/lib/molecule/add-to-my-list/index.js +3 -3
  561. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  562. package/lib/molecule/answer/index.js +2 -4
  563. package/lib/molecule/answer/index.js.map +1 -1
  564. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  565. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  566. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  567. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  568. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  569. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  570. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  571. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  572. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  573. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  574. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  575. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  576. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  577. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  578. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  579. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  580. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  581. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  582. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  583. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  584. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  585. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  586. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  587. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  588. package/lib/molecule/brand-create-form/index.js +2 -2
  589. package/lib/molecule/brand-form-group/index.js +17 -17
  590. package/lib/molecule/brand-form-group/index.js.map +1 -1
  591. package/lib/molecule/brand-form-group/style.css +14 -11
  592. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  593. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  594. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  595. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  596. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  597. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  598. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  599. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  600. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  601. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  602. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  603. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  604. package/lib/molecule/brand-tabs/style.css +5 -5
  605. package/lib/molecule/brand-tabs/test/fixtures.js +0 -3
  606. package/lib/molecule/brand-tabs/test/fixtures.js.map +1 -1
  607. package/lib/molecule/card/index.js +3 -3
  608. package/lib/molecule/card/index.js.map +1 -1
  609. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  610. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  611. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  612. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  613. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  614. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  615. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  616. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  617. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  618. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  619. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  620. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  621. package/lib/molecule/card-with-button/index.js.map +1 -1
  622. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  623. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  624. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  625. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  626. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  627. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  628. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  629. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  630. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  631. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  632. package/lib/molecule/dashboard/news-list/index.js +1 -1
  633. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  634. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  635. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  636. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  637. package/lib/molecule/discipline-scope/test/fixtures.js +0 -9
  638. package/lib/molecule/discipline-scope/test/fixtures.js.map +1 -1
  639. package/lib/molecule/drag-and-drop/index.js +3 -3
  640. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  641. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  642. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  643. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  644. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  645. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  646. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  647. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  648. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  649. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  650. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  651. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  652. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  653. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  654. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  655. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  656. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  657. package/lib/molecule/external-content-viewer/index.js +3 -1
  658. package/lib/molecule/external-content-viewer/index.js.map +1 -1
  659. package/lib/molecule/feedback/index.js +3 -3
  660. package/lib/molecule/feedback/index.js.map +1 -1
  661. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  662. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  663. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  664. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  665. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  666. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  667. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  668. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  669. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  670. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  671. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  672. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  673. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  674. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  675. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  676. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  677. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  678. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  679. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  680. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  681. package/lib/molecule/hero/index.js +2 -2
  682. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  683. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  684. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  685. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  686. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  687. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  688. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  689. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  690. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  691. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  692. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  693. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  694. package/lib/molecule/popin/index.js +15 -4
  695. package/lib/molecule/popin/index.js.map +1 -1
  696. package/lib/molecule/popin/test/fixtures/background-no-second-button.js +18 -0
  697. package/lib/molecule/popin/test/fixtures/background-no-second-button.js.map +1 -0
  698. package/lib/molecule/popin/test/on-change.js +17 -5
  699. package/lib/molecule/popin/test/on-change.js.map +1 -1
  700. package/lib/molecule/progress-bar/index.js +1 -1
  701. package/lib/molecule/progress-bar/index.js.map +1 -1
  702. package/lib/molecule/questions/drop-down/index.js +3 -3
  703. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  704. package/lib/molecule/questions/free-text/index.js +2 -2
  705. package/lib/molecule/questions/question-range/index.js +2 -4
  706. package/lib/molecule/questions/question-range/index.js.map +1 -1
  707. package/lib/molecule/questions/template/index.js +2 -2
  708. package/lib/molecule/questions/template/index.js.map +1 -1
  709. package/lib/molecule/questions/template/test/index.js +1 -1
  710. package/lib/molecule/questions/template/test/index.js.map +1 -1
  711. package/lib/molecule/quick-access-card/index.js +166 -0
  712. package/lib/molecule/quick-access-card/index.js.map +1 -0
  713. package/lib/molecule/quick-access-card/style.css +103 -0
  714. package/lib/molecule/quick-access-card/test/fixtures/analytics.js +15 -0
  715. package/lib/molecule/quick-access-card/test/fixtures/analytics.js.map +1 -0
  716. package/lib/molecule/quick-access-card/test/fixtures/default.js +15 -0
  717. package/lib/molecule/quick-access-card/test/fixtures/default.js.map +1 -0
  718. package/lib/molecule/quick-access-card/test/fixtures/look-and-feel.js +14 -0
  719. package/lib/molecule/quick-access-card/test/fixtures/look-and-feel.js.map +1 -0
  720. package/lib/molecule/quick-access-card/test/fixtures/manage-email.js +14 -0
  721. package/lib/molecule/quick-access-card/test/fixtures/manage-email.js.map +1 -0
  722. package/lib/molecule/quick-access-card/test/fixtures/upload-users.js +14 -0
  723. package/lib/molecule/quick-access-card/test/fixtures/upload-users.js.map +1 -0
  724. package/lib/molecule/resource-player/index.js +1 -3
  725. package/lib/molecule/resource-player/index.js.map +1 -1
  726. package/lib/molecule/scope-content/test/fixtures.js +0 -9
  727. package/lib/molecule/scope-content/test/fixtures.js.map +1 -1
  728. package/lib/molecule/scope-tabs/index.js +2 -2
  729. package/lib/molecule/search/index.js +2 -2
  730. package/lib/molecule/search-form/index.js +2 -2
  731. package/lib/molecule/select-multiple/index.js +1 -1
  732. package/lib/molecule/select-multiple/index.js.map +1 -1
  733. package/lib/molecule/select-multiple/test/index.js +3 -3
  734. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  735. package/lib/molecule/setup-section/index.js +1 -1
  736. package/lib/molecule/setup-section/index.js.map +1 -1
  737. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  738. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  739. package/lib/molecule/setup-sections/index.js +2 -2
  740. package/lib/molecule/setup-slide/index.js +8 -8
  741. package/lib/molecule/setup-slide/index.js.map +1 -1
  742. package/lib/molecule/share/index.js +3 -3
  743. package/lib/molecule/share/index.js.map +1 -1
  744. package/lib/molecule/titled-checkbox/index.js +2 -2
  745. package/lib/molecule/video-iframe/index.js +1 -1
  746. package/lib/molecule/video-iframe/index.js.map +1 -1
  747. package/lib/molecule/video-player/index.js +1 -3
  748. package/lib/molecule/video-player/index.js.map +1 -1
  749. package/lib/molecule/video-player/jwplayer.js +2 -2
  750. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  751. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  752. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  753. package/lib/molecule/video-player/vimeo.js +1 -1
  754. package/lib/molecule/video-player/vimeo.js.map +1 -1
  755. package/lib/organism/accordion/container/index.js +2 -2
  756. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  757. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  758. package/lib/organism/accordion/coorp-manager/part/style.css +22 -22
  759. package/lib/organism/accordion/toggler/index.js +1 -1
  760. package/lib/organism/accordion/toggler/index.js.map +1 -1
  761. package/lib/organism/accordion/toggler/test/render.js +2 -2
  762. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  763. package/lib/organism/brand-form/index.js +2 -3
  764. package/lib/organism/brand-form/index.js.map +1 -1
  765. package/lib/organism/brand-form/style.css +2 -11
  766. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  767. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  768. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  769. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  770. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  771. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  772. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  773. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  774. package/lib/organism/get-the-app/index.js +2 -2
  775. package/lib/organism/get-the-app/index.js.map +1 -1
  776. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  777. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  778. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  779. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  780. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  781. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  782. package/lib/organism/mooc-header/test/fixtures.js +0 -9
  783. package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
  784. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  785. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  786. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  787. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  788. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  789. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  790. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  791. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  792. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  793. package/lib/organism/settings/index.js +2 -4
  794. package/lib/organism/settings/index.js.map +1 -1
  795. package/lib/organism/setup-header/style.css +15 -15
  796. package/lib/organism/sidebar/index.js +12 -14
  797. package/lib/organism/sidebar/index.js.map +1 -1
  798. package/lib/organism/sidebar/style.css +4 -4
  799. package/lib/organism/user-preferences/index.js +2 -4
  800. package/lib/organism/user-preferences/index.js.map +1 -1
  801. package/lib/template/activity/index.js +1 -1
  802. package/lib/template/activity/index.js.map +1 -1
  803. package/lib/template/activity/progression-item.js +2 -2
  804. package/lib/template/activity/test/progression-item-test.js +1 -1
  805. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  806. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  807. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  808. package/lib/template/app-player/player/slides/index.js +11 -15
  809. package/lib/template/app-player/player/slides/index.js.map +1 -1
  810. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  811. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  812. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  813. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  814. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  815. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  816. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  817. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  818. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  819. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  820. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  821. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  822. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  823. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  824. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  825. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  826. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  827. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  828. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  829. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  830. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  831. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  832. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  833. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  834. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  835. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  836. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  837. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  838. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  839. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  840. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  841. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  842. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  843. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  844. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  845. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  846. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  847. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  848. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  849. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  850. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  851. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  852. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  853. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  854. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  855. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  856. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  857. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  858. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  859. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  860. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  861. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  862. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  863. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  864. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  865. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  866. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  867. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  868. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  869. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  870. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  871. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  872. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  873. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  874. package/lib/template/app-player/player/test/fixtures.js +0 -3
  875. package/lib/template/app-player/player/test/fixtures.js.map +1 -1
  876. package/lib/template/app-player/popin-correction/index.js +4 -6
  877. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  878. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  879. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  880. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  881. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  882. package/lib/template/app-player/popin-end/summary.js +7 -12
  883. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  884. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  885. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  886. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  887. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  888. package/lib/template/app-player/popin-header/index.js +5 -7
  889. package/lib/template/app-player/popin-header/index.js.map +1 -1
  890. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  891. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  892. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  893. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  894. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  895. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  896. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  897. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  898. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  899. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  900. package/lib/template/back-office/brand-update/index.js +6 -6
  901. package/lib/template/back-office/brand-update/index.js.map +1 -1
  902. package/lib/template/back-office/brand-update/style.css +5 -5
  903. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  904. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  905. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  906. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  907. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  908. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  909. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  910. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  911. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  912. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  913. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  914. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  915. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  916. package/lib/template/back-office/brand-update/test/fixtures/manageusers.js +2 -2
  917. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  918. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  919. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  920. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  921. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  922. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  923. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  924. package/lib/template/back-office/brand-update/test/fixtures.js +0 -6
  925. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  926. package/lib/template/cockpit/jw-uploader/index.js +2 -4
  927. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  928. package/lib/template/common/dashboard/index.js +1 -1
  929. package/lib/template/common/dashboard/index.js.map +1 -1
  930. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  931. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  932. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  933. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  934. package/lib/template/common/discipline/index.js +2 -2
  935. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  936. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  937. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  938. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  939. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  940. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  941. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  942. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  943. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  944. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  945. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  946. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  947. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  948. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  949. package/lib/template/common/discipline/test/fixtures.js +0 -15
  950. package/lib/template/common/discipline/test/fixtures.js.map +1 -1
  951. package/lib/template/teams-dashboard/index.js +2 -2
  952. package/lib/template/teams-dashboard/test/fixtures/default.js +1 -1
  953. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  954. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  955. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  956. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  957. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  958. package/lib/template/teams-dashboard/test/fixtures.js +0 -3
  959. package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
  960. package/lib/util/shallow-compare.js.map +1 -1
  961. package/lib/util/test/navigation.js +3 -5
  962. package/lib/util/test/navigation.js.map +1 -1
  963. package/lib/variables/colors.css +9 -9
  964. package/package.json +3 -3
  965. package/es/molecule/add-to-my-list/test/fixtures.js +0 -15
  966. package/es/molecule/add-to-my-list/test/fixtures.js.map +0 -1
  967. package/es/molecule/popin/test/fixtures.js +0 -19
  968. package/es/molecule/popin/test/fixtures.js.map +0 -1
  969. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -13
  970. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  971. package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
  972. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  973. package/es/organism/brand-analytics/test/fixtures.js +0 -23
  974. package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
  975. package/es/organism/brand-dashboard/test/fixtures.js +0 -13
  976. package/es/organism/brand-dashboard/test/fixtures.js.map +0 -1
  977. package/lib/molecule/add-to-my-list/test/fixtures.js +0 -25
  978. package/lib/molecule/add-to-my-list/test/fixtures.js.map +0 -1
  979. package/lib/molecule/popin/test/fixtures.js +0 -31
  980. package/lib/molecule/popin/test/fixtures.js.map +0 -1
  981. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -22
  982. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
  983. package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
  984. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
  985. package/lib/organism/brand-analytics/test/fixtures.js +0 -37
  986. package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
  987. package/lib/organism/brand-dashboard/test/fixtures.js +0 -22
  988. package/lib/organism/brand-dashboard/test/fixtures.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ header: '',
8
+ content: 'Do you accept the terms and policies?',
9
+ type: 'hiddenStateManagment',
10
+ firstButtonLabel: 'Yes',
11
+ onFirstButtonClick: () => {},
12
+ onSecondeButtonClick: () => {},
13
+ backgroundImageUrl: 'https://static.coorpacademy.com/content/up/raw/logo-generique-teams-mobile.png',
14
+ onClose: () => {}
15
+ }
16
+ };
17
+ exports.default = _default;
18
+ //# sourceMappingURL=background-no-second-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/popin/test/fixtures/background-no-second-button.js"],"names":["props","header","content","type","firstButtonLabel","onFirstButtonClick","onSecondeButtonClick","backgroundImageUrl","onClose"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,EADH;AAELC,IAAAA,OAAO,EAAE,uCAFJ;AAGLC,IAAAA,IAAI,EAAE,sBAHD;AAILC,IAAAA,gBAAgB,EAAE,KAJb;AAKLC,IAAAA,kBAAkB,EAAE,MAAM,CAAE,CALvB;AAMLC,IAAAA,oBAAoB,EAAE,MAAM,CAAE,CANzB;AAOLC,IAAAA,kBAAkB,EAChB,gFARG;AASLC,IAAAA,OAAO,EAAE,MAAM,CAAE;AATZ;AADM,C","sourcesContent":["export default {\n props: {\n header: '',\n content: 'Do you accept the terms and policies?',\n type: 'hiddenStateManagment',\n firstButtonLabel: 'Yes',\n onFirstButtonClick: () => {},\n onSecondeButtonClick: () => {},\n backgroundImageUrl:\n 'https://static.coorpacademy.com/content/up/raw/logo-generique-teams-mobile.png',\n onClose: () => {}\n }\n};\n"],"file":"background-no-second-button.js"}
@@ -21,21 +21,33 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
21
21
  adapter: new _enzymeAdapterReact.default()
22
22
  });
23
23
  (0, _ava.default)('should call the onChange function and check the input value', t => {
24
- t.plan(2);
25
24
  const wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_.default, _assistance.default.props));
26
- wrapper.find('input').simulate('change', {
25
+ const contactObjectInput = wrapper.find('[data-name="contact-object"]');
26
+ t.truthy(contactObjectInput);
27
+ contactObjectInput.simulate('change', {
27
28
  target: {
28
29
  name: 'object',
29
30
  value: 'test'
30
31
  }
31
32
  });
32
- t.is(wrapper.find('input').props().value, 'test');
33
- wrapper.find('textarea').simulate('change', {
33
+ t.is(wrapper.find('[data-name="contact-object"]').props().value, 'test');
34
+ const contactMessageInput = wrapper.find('[data-name="contact-message"]');
35
+ t.truthy(contactMessageInput);
36
+ contactMessageInput.simulate('change', {
34
37
  target: {
35
38
  name: 'message',
36
39
  value: 'test textarea'
37
40
  }
38
41
  });
39
- t.is(wrapper.find('textarea').props().value, 'test textarea');
42
+ t.is(wrapper.find('[data-name="contact-message"]').props().value, 'test textarea');
43
+ const contactEmailInput = wrapper.find('[data-name="contact-email"]');
44
+ t.truthy(contactEmailInput);
45
+ contactEmailInput.simulate('change', {
46
+ target: {
47
+ name: 'email',
48
+ value: 'test contact email'
49
+ }
50
+ });
51
+ t.is(wrapper.find('[data-name="contact-email"]').props().value, 'test contact email');
40
52
  });
41
53
  //# sourceMappingURL=on-change.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/popin/test/on-change.js"],"names":["adapter","Adapter","t","plan","wrapper","props","find","simulate","target","name","value","is"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,6DAAL,EAAoEC,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;AACA,QAAMC,OAAO,GAAG,mCAAQ,6BAAC,SAAD,EAAWC,oBAAMA,KAAjB,CAAR,CAAhB;AAEAD,EAAAA,OAAO,CAACE,IAAR,CAAa,OAAb,EAAsBC,QAAtB,CAA+B,QAA/B,EAAyC;AAACC,IAAAA,MAAM,EAAE;AAACC,MAAAA,IAAI,EAAE,QAAP;AAAiBC,MAAAA,KAAK,EAAE;AAAxB;AAAT,GAAzC;AACAR,EAAAA,CAAC,CAACS,EAAF,CAAKP,OAAO,CAACE,IAAR,CAAa,OAAb,EAAsBD,KAAtB,GAA8BK,KAAnC,EAA0C,MAA1C;AAEAN,EAAAA,OAAO,CAACE,IAAR,CAAa,UAAb,EAAyBC,QAAzB,CAAkC,QAAlC,EAA4C;AAACC,IAAAA,MAAM,EAAE;AAACC,MAAAA,IAAI,EAAE,SAAP;AAAkBC,MAAAA,KAAK,EAAE;AAAzB;AAAT,GAA5C;AACAR,EAAAA,CAAC,CAACS,EAAF,CAAKP,OAAO,CAACE,IAAR,CAAa,UAAb,EAAyBD,KAAzB,GAAiCK,KAAtC,EAA6C,eAA7C;AACD,CATD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Popin from '..';\nimport props from './fixtures/assistance';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call the onChange function and check the input value', t => {\n t.plan(2);\n const wrapper = shallow(<Popin {...props.props} />);\n\n wrapper.find('input').simulate('change', {target: {name: 'object', value: 'test'}});\n t.is(wrapper.find('input').props().value, 'test');\n\n wrapper.find('textarea').simulate('change', {target: {name: 'message', value: 'test textarea'}});\n t.is(wrapper.find('textarea').props().value, 'test textarea');\n});\n"],"file":"on-change.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/popin/test/on-change.js"],"names":["adapter","Adapter","t","wrapper","props","contactObjectInput","find","truthy","simulate","target","name","value","is","contactMessageInput","contactEmailInput"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,6DAAL,EAAoEC,CAAC,IAAI;AACvE,QAAMC,OAAO,GAAG,mCAAQ,6BAAC,SAAD,EAAWC,oBAAMA,KAAjB,CAAR,CAAhB;AAEA,QAAMC,kBAAkB,GAAGF,OAAO,CAACG,IAAR,CAAa,8BAAb,CAA3B;AACAJ,EAAAA,CAAC,CAACK,MAAF,CAASF,kBAAT;AACAA,EAAAA,kBAAkB,CAACG,QAAnB,CAA4B,QAA5B,EAAsC;AAACC,IAAAA,MAAM,EAAE;AAACC,MAAAA,IAAI,EAAE,QAAP;AAAiBC,MAAAA,KAAK,EAAE;AAAxB;AAAT,GAAtC;AACAT,EAAAA,CAAC,CAACU,EAAF,CAAKT,OAAO,CAACG,IAAR,CAAa,8BAAb,EAA6CF,KAA7C,GAAqDO,KAA1D,EAAiE,MAAjE;AAEA,QAAME,mBAAmB,GAAGV,OAAO,CAACG,IAAR,CAAa,+BAAb,CAA5B;AACAJ,EAAAA,CAAC,CAACK,MAAF,CAASM,mBAAT;AACAA,EAAAA,mBAAmB,CAACL,QAApB,CAA6B,QAA7B,EAAuC;AAACC,IAAAA,MAAM,EAAE;AAACC,MAAAA,IAAI,EAAE,SAAP;AAAkBC,MAAAA,KAAK,EAAE;AAAzB;AAAT,GAAvC;AACAT,EAAAA,CAAC,CAACU,EAAF,CAAKT,OAAO,CAACG,IAAR,CAAa,+BAAb,EAA8CF,KAA9C,GAAsDO,KAA3D,EAAkE,eAAlE;AAEA,QAAMG,iBAAiB,GAAGX,OAAO,CAACG,IAAR,CAAa,6BAAb,CAA1B;AACAJ,EAAAA,CAAC,CAACK,MAAF,CAASO,iBAAT;AACAA,EAAAA,iBAAiB,CAACN,QAAlB,CAA2B,QAA3B,EAAqC;AAACC,IAAAA,MAAM,EAAE;AAACC,MAAAA,IAAI,EAAE,OAAP;AAAgBC,MAAAA,KAAK,EAAE;AAAvB;AAAT,GAArC;AACAT,EAAAA,CAAC,CAACU,EAAF,CAAKT,OAAO,CAACG,IAAR,CAAa,6BAAb,EAA4CF,KAA5C,GAAoDO,KAAzD,EAAgE,oBAAhE;AACD,CAjBD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Popin from '..';\nimport props from './fixtures/assistance';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call the onChange function and check the input value', t => {\n const wrapper = shallow(<Popin {...props.props} />);\n\n const contactObjectInput = wrapper.find('[data-name=\"contact-object\"]');\n t.truthy(contactObjectInput);\n contactObjectInput.simulate('change', {target: {name: 'object', value: 'test'}});\n t.is(wrapper.find('[data-name=\"contact-object\"]').props().value, 'test');\n\n const contactMessageInput = wrapper.find('[data-name=\"contact-message\"]');\n t.truthy(contactMessageInput);\n contactMessageInput.simulate('change', {target: {name: 'message', value: 'test textarea'}});\n t.is(wrapper.find('[data-name=\"contact-message\"]').props().value, 'test textarea');\n\n const contactEmailInput = wrapper.find('[data-name=\"contact-email\"]');\n t.truthy(contactEmailInput);\n contactEmailInput.simulate('change', {target: {name: 'email', value: 'test contact email'}});\n t.is(wrapper.find('[data-name=\"contact-email\"]').props().value, 'test contact email');\n});\n"],"file":"on-change.js"}
@@ -37,7 +37,7 @@ const ProgressBar = props => {
37
37
  className: (0, _classnames.default)(_style.default.background, className)
38
38
  }, /*#__PURE__*/_react.default.createElement("div", {
39
39
  className: _style.default.progress,
40
- style: _extends({}, propsStyle, {
40
+ style: _extends(_extends({}, propsStyle), {}, {
41
41
  width: `${ratio * 100}%`
42
42
  })
43
43
  }), /*#__PURE__*/_react.default.createElement("p", {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/progress-bar/index.js"],"names":["ProgressBar","props","className","value","max","desc","steps","style","propsStyle","ratio","percentage","Math","floor","text","stepList","index","step","background","progress","width","texts","description","propTypes","PropTypes","string","number","isRequired","objectOf","oneOfType"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;AAC3B,QAAM;AAACC,IAAAA,SAAD;AAAYC,IAAAA,KAAZ;AAAmBC,IAAAA,GAAnB;AAAwBC,IAAAA,IAAI,GAAG,EAA/B;AAAmCC,IAAAA,KAAK,GAAG,CAA3C;AAA8CC,IAAAA,KAAK,EAAEC;AAArD,MAAmEP,KAAzE;AAEA,QAAMQ,KAAK,GAAGN,KAAK,GAAGC,GAAtB;AACA,QAAMM,UAAU,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,GAAG,GAAnB,CAAnB;AACA,QAAMI,IAAI,GAAI,GAAEH,UAAW,GAA3B;AACA,QAAMI,QAAQ,GAAG,qBAAMC,KAAK,iBAAI;AAAK,IAAA,SAAS,EAAER,eAAMS,IAAtB;AAA4B,IAAA,GAAG,EAAED;AAAjC,IAAf,EAA2DT,KAA3D,CAAjB;AACA,sBACE;AAAK,IAAA,SAAS,EAAE,yBAAWC,eAAMU,UAAjB,EAA6Bf,SAA7B;AAAhB,kBACE;AACE,IAAA,SAAS,EAAEK,eAAMW,QADnB;AAEE,IAAA,KAAK,eACAV,UADA;AAEHW,MAAAA,KAAK,EAAG,GAAEV,KAAK,GAAG,GAAI;AAFnB;AAFP,IADF,eAQE;AAAG,IAAA,SAAS,EAAEF,eAAMa;AAApB,kBACE;AAAM,IAAA,SAAS,EAAEb,eAAMc;AAAvB,KAAsC,GAAElB,KAAM,IAAGC,GAAI,IAAGC,IAAK,EAA7D,CADF,eAEE;AAAM,IAAA,SAAS,EAAEE,eAAMG;AAAvB,KAAoCG,IAApC,CAFF,CARF,eAYE;AAAK,IAAA,SAAS,EAAEN,eAAMD;AAAtB,KAA8BQ,QAA9B,CAZF,CADF;AAgBD,CAvBD;;AAyBAd,WAAW,CAACsB,SAAZ,2CAAwB;AACtBpB,EAAAA,SAAS,EAAEqB,mBAAUC,MADC;AAEtBrB,EAAAA,KAAK,EAAEoB,mBAAUE,MAAV,CAAiBC,UAFF;AAGtBtB,EAAAA,GAAG,EAAEmB,mBAAUE,MAAV,CAAiBC,UAHA;AAItBrB,EAAAA,IAAI,EAAEkB,mBAAUC,MAJM;AAKtBlB,EAAAA,KAAK,EAAEiB,mBAAUE,MALK;AAMtBlB,EAAAA,KAAK,EAAEgB,mBAAUI,QAAV,CAAmBJ,mBAAUK,SAAV,CAAoB,CAACL,mBAAUC,MAAX,EAAmBD,mBAAUE,MAA7B,CAApB,CAAnB;AANe,CAAxB;eASezB,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {className, value, max, desc = '', steps = 0, style: propsStyle} = props;\n\n const ratio = value / max;\n const percentage = Math.floor(ratio * 100);\n const text = `${percentage}%`;\n const stepList = times(index => <div className={style.step} key={index} />, steps);\n return (\n <div className={classnames(style.background, className)}>\n <div\n className={style.progress}\n style={{\n ...propsStyle,\n width: `${ratio * 100}%`\n }}\n />\n <p className={style.texts}>\n <span className={style.description}>{`${value}/${max} ${desc}`}</span>\n <span className={style.percentage}>{text}</span>\n </p>\n <div className={style.steps}>{stepList}</div>\n </div>\n );\n};\n\nProgressBar.propTypes = {\n className: PropTypes.string,\n value: PropTypes.number.isRequired,\n max: PropTypes.number.isRequired,\n desc: PropTypes.string,\n steps: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nexport default ProgressBar;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/progress-bar/index.js"],"names":["ProgressBar","props","className","value","max","desc","steps","style","propsStyle","ratio","percentage","Math","floor","text","stepList","index","step","background","progress","width","texts","description","propTypes","PropTypes","string","number","isRequired","objectOf","oneOfType"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;AAC3B,QAAM;AAACC,IAAAA,SAAD;AAAYC,IAAAA,KAAZ;AAAmBC,IAAAA,GAAnB;AAAwBC,IAAAA,IAAI,GAAG,EAA/B;AAAmCC,IAAAA,KAAK,GAAG,CAA3C;AAA8CC,IAAAA,KAAK,EAAEC;AAArD,MAAmEP,KAAzE;AAEA,QAAMQ,KAAK,GAAGN,KAAK,GAAGC,GAAtB;AACA,QAAMM,UAAU,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,GAAG,GAAnB,CAAnB;AACA,QAAMI,IAAI,GAAI,GAAEH,UAAW,GAA3B;AACA,QAAMI,QAAQ,GAAG,qBAAMC,KAAK,iBAAI;AAAK,IAAA,SAAS,EAAER,eAAMS,IAAtB;AAA4B,IAAA,GAAG,EAAED;AAAjC,IAAf,EAA2DT,KAA3D,CAAjB;AACA,sBACE;AAAK,IAAA,SAAS,EAAE,yBAAWC,eAAMU,UAAjB,EAA6Bf,SAA7B;AAAhB,kBACE;AACE,IAAA,SAAS,EAAEK,eAAMW,QADnB;AAEE,IAAA,KAAK,wBACAV,UADA;AAEHW,MAAAA,KAAK,EAAG,GAAEV,KAAK,GAAG,GAAI;AAFnB;AAFP,IADF,eAQE;AAAG,IAAA,SAAS,EAAEF,eAAMa;AAApB,kBACE;AAAM,IAAA,SAAS,EAAEb,eAAMc;AAAvB,KAAsC,GAAElB,KAAM,IAAGC,GAAI,IAAGC,IAAK,EAA7D,CADF,eAEE;AAAM,IAAA,SAAS,EAAEE,eAAMG;AAAvB,KAAoCG,IAApC,CAFF,CARF,eAYE;AAAK,IAAA,SAAS,EAAEN,eAAMD;AAAtB,KAA8BQ,QAA9B,CAZF,CADF;AAgBD,CAvBD;;AAyBAd,WAAW,CAACsB,SAAZ,2CAAwB;AACtBpB,EAAAA,SAAS,EAAEqB,mBAAUC,MADC;AAEtBrB,EAAAA,KAAK,EAAEoB,mBAAUE,MAAV,CAAiBC,UAFF;AAGtBtB,EAAAA,GAAG,EAAEmB,mBAAUE,MAAV,CAAiBC,UAHA;AAItBrB,EAAAA,IAAI,EAAEkB,mBAAUC,MAJM;AAKtBlB,EAAAA,KAAK,EAAEiB,mBAAUE,MALK;AAMtBlB,EAAAA,KAAK,EAAEgB,mBAAUI,QAAV,CAAmBJ,mBAAUK,SAAV,CAAoB,CAACL,mBAAUC,MAAX,EAAmBD,mBAAUE,MAA7B,CAApB,CAAnB;AANe,CAAxB;eASezB,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {className, value, max, desc = '', steps = 0, style: propsStyle} = props;\n\n const ratio = value / max;\n const percentage = Math.floor(ratio * 100);\n const text = `${percentage}%`;\n const stepList = times(index => <div className={style.step} key={index} />, steps);\n return (\n <div className={classnames(style.background, className)}>\n <div\n className={style.progress}\n style={{\n ...propsStyle,\n width: `${ratio * 100}%`\n }}\n />\n <p className={style.texts}>\n <span className={style.description}>{`${value}/${max} ${desc}`}</span>\n <span className={style.percentage}>{text}</span>\n </p>\n <div className={style.steps}>{stepList}</div>\n </div>\n );\n};\n\nProgressBar.propTypes = {\n className: PropTypes.string,\n value: PropTypes.number.isRequired,\n max: PropTypes.number.isRequired,\n desc: PropTypes.string,\n steps: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nexport default ProgressBar;\n"],"file":"index.js"}
@@ -13,9 +13,9 @@ var _select = _interopRequireWildcard(require("../../../atom/select"));
13
13
 
14
14
  var _style = _interopRequireDefault(require("./style.css"));
15
15
 
16
- 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); }
16
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
17
17
 
18
- 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; }
18
+ 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; }
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
21
 
@@ -41,7 +41,7 @@ const DropDown = props => {
41
41
 
42
42
  DropDown.propTypes = process.env.NODE_ENV !== "production" ? {
43
43
  onChange: _select.default.propTypes.onChange,
44
- options: _propTypes.default.arrayOf(_propTypes.default.shape(_extends({}, _select.SelectOptionPropTypes, {
44
+ options: _propTypes.default.arrayOf(_propTypes.default.shape(_extends(_extends({}, _select.SelectOptionPropTypes), {}, {
45
45
  validOption: _propTypes.default.bool
46
46
  }))),
47
47
  theme: _select.default.propTypes.theme
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/drop-down/index.js"],"names":["DropDown","props","options","onChange","theme","propsTheme","currentSelection","defaultTheme","validOption","style","wrapper","propTypes","Select","PropTypes","arrayOf","shape","SelectOptionPropTypes","bool"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,OAAD;AAAUC,IAAAA,QAAV;AAAoBC,IAAAA,KAAK,EAAEC;AAA3B,MAAyCJ,KAA/C;AAEA,QAAMK,gBAAgB,GAAG,oBAAK,UAAL,EAAiBJ,OAAjB,CAAzB;AACA,QAAMK,YAAY,GAChB,CAACD,gBAAD,IAAqBA,gBAAgB,CAACE,WAAjB,KAAiC,KAAtD,GAA8D,SAA9D,GAA0E,UAD5E;AAGA,QAAMJ,KAAK,GAAGC,UAAU,IAAIE,YAA5B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEE,eAAMC;AAAtB,kBACE,6BAAC,eAAD;AAAQ,IAAA,KAAK,EAAEN,KAAf;AAAsB,IAAA,OAAO,EAAEF,OAA/B;AAAwC,IAAA,QAAQ,EAAEC;AAAlD,IADF,CADF;AAKD,CAdD;;AAgBAH,QAAQ,CAACW,SAAT,2CAAqB;AACnBR,EAAAA,QAAQ,EAAES,gBAAOD,SAAP,CAAiBR,QADR;AAEnBD,EAAAA,OAAO,EAAEW,mBAAUC,OAAV,CACPD,mBAAUE,KAAV,cAAoBC,6BAApB;AAA2CR,IAAAA,WAAW,EAAEK,mBAAUI;AAAlE,KADO,CAFU;AAKnBb,EAAAA,KAAK,EAAEQ,gBAAOD,SAAP,CAAiBP;AALL,CAArB;eAQeJ,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {find} from 'lodash/fp';\nimport Select, {SelectOptionPropTypes} from '../../../atom/select';\nimport style from './style.css';\n\nconst DropDown = props => {\n const {options, onChange, theme: propsTheme} = props;\n\n const currentSelection = find('selected', options);\n const defaultTheme =\n !currentSelection || currentSelection.validOption === false ? 'invalid' : 'question';\n\n const theme = propsTheme || defaultTheme;\n\n return (\n <div className={style.wrapper}>\n <Select theme={theme} options={options} onChange={onChange} />\n </div>\n );\n};\n\nDropDown.propTypes = {\n onChange: Select.propTypes.onChange,\n options: PropTypes.arrayOf(\n PropTypes.shape({...SelectOptionPropTypes, validOption: PropTypes.bool})\n ),\n theme: Select.propTypes.theme\n};\n\nexport default DropDown;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/drop-down/index.js"],"names":["DropDown","props","options","onChange","theme","propsTheme","currentSelection","defaultTheme","validOption","style","wrapper","propTypes","Select","PropTypes","arrayOf","shape","SelectOptionPropTypes","bool"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,OAAD;AAAUC,IAAAA,QAAV;AAAoBC,IAAAA,KAAK,EAAEC;AAA3B,MAAyCJ,KAA/C;AAEA,QAAMK,gBAAgB,GAAG,oBAAK,UAAL,EAAiBJ,OAAjB,CAAzB;AACA,QAAMK,YAAY,GAChB,CAACD,gBAAD,IAAqBA,gBAAgB,CAACE,WAAjB,KAAiC,KAAtD,GAA8D,SAA9D,GAA0E,UAD5E;AAGA,QAAMJ,KAAK,GAAGC,UAAU,IAAIE,YAA5B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEE,eAAMC;AAAtB,kBACE,6BAAC,eAAD;AAAQ,IAAA,KAAK,EAAEN,KAAf;AAAsB,IAAA,OAAO,EAAEF,OAA/B;AAAwC,IAAA,QAAQ,EAAEC;AAAlD,IADF,CADF;AAKD,CAdD;;AAgBAH,QAAQ,CAACW,SAAT,2CAAqB;AACnBR,EAAAA,QAAQ,EAAES,gBAAOD,SAAP,CAAiBR,QADR;AAEnBD,EAAAA,OAAO,EAAEW,mBAAUC,OAAV,CACPD,mBAAUE,KAAV,uBAAoBC,6BAApB;AAA2CR,IAAAA,WAAW,EAAEK,mBAAUI;AAAlE,KADO,CAFU;AAKnBb,EAAAA,KAAK,EAAEQ,gBAAOD,SAAP,CAAiBP;AALL,CAArB;eAQeJ,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {find} from 'lodash/fp';\nimport Select, {SelectOptionPropTypes} from '../../../atom/select';\nimport style from './style.css';\n\nconst DropDown = props => {\n const {options, onChange, theme: propsTheme} = props;\n\n const currentSelection = find('selected', options);\n const defaultTheme =\n !currentSelection || currentSelection.validOption === false ? 'invalid' : 'question';\n\n const theme = propsTheme || defaultTheme;\n\n return (\n <div className={style.wrapper}>\n <Select theme={theme} options={options} onChange={onChange} />\n </div>\n );\n};\n\nDropDown.propTypes = {\n onChange: Select.propTypes.onChange,\n options: PropTypes.arrayOf(\n PropTypes.shape({...SelectOptionPropTypes, validOption: PropTypes.bool})\n ),\n theme: Select.propTypes.theme\n};\n\nexport default DropDown;\n"],"file":"index.js"}
@@ -15,9 +15,9 @@ var _provider = _interopRequireDefault(require("../../../atom/provider"));
15
15
 
16
16
  var _style = _interopRequireDefault(require("./style.css"));
17
17
 
18
- 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); }
18
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
19
19
 
20
- 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; }
20
+ 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; }
21
21
 
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
23
 
@@ -19,8 +19,6 @@ var _style = require("../../../atom/label/style.css");
19
19
 
20
20
  var _style2 = _interopRequireDefault(require("./style.css"));
21
21
 
22
- const _excluded = ["title", "minLabel", "maxLabel"];
23
-
24
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
23
 
26
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); }
@@ -33,7 +31,7 @@ const QuestionRange = (props, context) => {
33
31
  minLabel,
34
32
  maxLabel
35
33
  } = props,
36
- rangeProps = _objectWithoutPropertiesLoose(props, _excluded);
34
+ rangeProps = _objectWithoutPropertiesLoose(props, ["title", "minLabel", "maxLabel"]);
37
35
 
38
36
  const {
39
37
  skin
@@ -71,7 +69,7 @@ const QuestionRange = (props, context) => {
71
69
  QuestionRange.contextTypes = {
72
70
  skin: _provider.default.childContextTypes.skin
73
71
  };
74
- QuestionRange.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, _range.default.propTypes, {
72
+ QuestionRange.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _range.default.propTypes), {}, {
75
73
  title: _propTypes.default.string,
76
74
  minLabel: _propTypes.default.string,
77
75
  maxLabel: _propTypes.default.string
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/question-range/index.js"],"names":["QuestionRange","props","context","title","minLabel","maxLabel","rangeProps","skin","defaultColor","titleStyle","color","style","wrapper","innerHTML","__html","labelWrapper","label","contextTypes","Provider","childContextTypes","propTypes","Range","PropTypes","string"],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,aAAa,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AACxC,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,QAAR;AAAkBC,IAAAA;AAAlB,MAA6CJ,KAAnD;AAAA,QAAqCK,UAArC,iCAAmDL,KAAnD;;AAEA,QAAM;AAACM,IAAAA;AAAD,MAASL,OAAf;AACA,QAAMM,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;AAEA,QAAME,UAAU,GAAG;AACjBC,IAAAA,KAAK,EAAEF;AADU,GAAnB;AAIA,sBACE;AAAK,IAAA,SAAS,EAAEG,gBAAMC;AAAtB,kBACE;AACE,IAAA,KAAK,EAAEH,UADT;AAEE,IAAA,SAAS,EAAE,yBAAWE,gBAAMR,KAAjB,EAAwBU,gBAAxB,CAFb,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEX;AAAT;AAJ3B,IADF,eAOE,6BAAC,cAAD,EAAWG,UAAX,CAPF,eAQE;AAAK,IAAA,SAAS,EAAEK,gBAAMI;AAAtB,kBACE;AACE,IAAA,SAAS,EAAE,yBAAWJ,gBAAMK,KAAjB,EAAwBH,gBAAxB,CADb,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEV;AAAT;AAH3B,IADF,eAME;AACE,IAAA,SAAS,EAAE,yBAAWO,gBAAMK,KAAjB,EAAwBH,gBAAxB,CADb,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAET;AAAT;AAH3B,IANF,CARF,CADF;AAuBD,CAjCD;;AAmCAL,aAAa,CAACiB,YAAd,GAA6B;AAC3BV,EAAAA,IAAI,EAAEW,kBAASC,iBAAT,CAA2BZ;AADN,CAA7B;AAIAP,aAAa,CAACoB,SAAd,wDACKC,eAAMD,SADX;AAEEjB,EAAAA,KAAK,EAAEmB,mBAAUC,MAFnB;AAGEnB,EAAAA,QAAQ,EAAEkB,mBAAUC,MAHtB;AAIElB,EAAAA,QAAQ,EAAEiB,mBAAUC;AAJtB;eAOevB,a","sourcesContent":["import React from 'react';\nimport {getOr} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../../atom/provider';\nimport Range from '../../../atom/range';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst QuestionRange = (props, context) => {\n const {title, minLabel, maxLabel, ...rangeProps} = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const titleStyle = {\n color: defaultColor\n };\n\n return (\n <div className={style.wrapper}>\n <span\n style={titleStyle}\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <Range {...rangeProps} />\n <div className={style.labelWrapper}>\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: minLabel}}\n />\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: maxLabel}}\n />\n </div>\n </div>\n );\n};\n\nQuestionRange.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nQuestionRange.propTypes = {\n ...Range.propTypes,\n title: PropTypes.string,\n minLabel: PropTypes.string,\n maxLabel: PropTypes.string\n};\n\nexport default QuestionRange;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/question-range/index.js"],"names":["QuestionRange","props","context","title","minLabel","maxLabel","rangeProps","skin","defaultColor","titleStyle","color","style","wrapper","innerHTML","__html","labelWrapper","label","contextTypes","Provider","childContextTypes","propTypes","Range","PropTypes","string"],"mappings":";;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,aAAa,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AACxC,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,QAAR;AAAkBC,IAAAA;AAAlB,MAA6CJ,KAAnD;AAAA,QAAqCK,UAArC,iCAAmDL,KAAnD;;AAEA,QAAM;AAACM,IAAAA;AAAD,MAASL,OAAf;AACA,QAAMM,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;AAEA,QAAME,UAAU,GAAG;AACjBC,IAAAA,KAAK,EAAEF;AADU,GAAnB;AAIA,sBACE;AAAK,IAAA,SAAS,EAAEG,gBAAMC;AAAtB,kBACE;AACE,IAAA,KAAK,EAAEH,UADT;AAEE,IAAA,SAAS,EAAE,yBAAWE,gBAAMR,KAAjB,EAAwBU,gBAAxB,CAFb,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEX;AAAT;AAJ3B,IADF,eAOE,6BAAC,cAAD,EAAWG,UAAX,CAPF,eAQE;AAAK,IAAA,SAAS,EAAEK,gBAAMI;AAAtB,kBACE;AACE,IAAA,SAAS,EAAE,yBAAWJ,gBAAMK,KAAjB,EAAwBH,gBAAxB,CADb,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEV;AAAT;AAH3B,IADF,eAME;AACE,IAAA,SAAS,EAAE,yBAAWO,gBAAMK,KAAjB,EAAwBH,gBAAxB,CADb,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAET;AAAT;AAH3B,IANF,CARF,CADF;AAuBD,CAjCD;;AAmCAL,aAAa,CAACiB,YAAd,GAA6B;AAC3BV,EAAAA,IAAI,EAAEW,kBAASC,iBAAT,CAA2BZ;AADN,CAA7B;AAIAP,aAAa,CAACoB,SAAd,iEACKC,eAAMD,SADX;AAEEjB,EAAAA,KAAK,EAAEmB,mBAAUC,MAFnB;AAGEnB,EAAAA,QAAQ,EAAEkB,mBAAUC,MAHtB;AAIElB,EAAAA,QAAQ,EAAEiB,mBAAUC;AAJtB;eAOevB,a","sourcesContent":["import React from 'react';\nimport {getOr} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../../atom/provider';\nimport Range from '../../../atom/range';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst QuestionRange = (props, context) => {\n const {title, minLabel, maxLabel, ...rangeProps} = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const titleStyle = {\n color: defaultColor\n };\n\n return (\n <div className={style.wrapper}>\n <span\n style={titleStyle}\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <Range {...rangeProps} />\n <div className={style.labelWrapper}>\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: minLabel}}\n />\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: maxLabel}}\n />\n </div>\n </div>\n );\n};\n\nQuestionRange.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nQuestionRange.propTypes = {\n ...Range.propTypes,\n title: PropTypes.string,\n minLabel: PropTypes.string,\n maxLabel: PropTypes.string\n};\n\nexport default QuestionRange;\n"],"file":"index.js"}
@@ -67,11 +67,11 @@ const Template = ({
67
67
  }, templateCompose);
68
68
  };
69
69
 
70
- const TextPropTypes = process.env.NODE_ENV !== "production" ? _extends({}, _dropDown.default.propTypes, {
70
+ const TextPropTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _dropDown.default.propTypes), {}, {
71
71
  type: _propTypes.default.string,
72
72
  name: _propTypes.default.string
73
73
  }) : {};
74
- const DropDownPropTypes = process.env.NODE_ENV !== "production" ? _extends({}, _dropDown.default.propTypes, {
74
+ const DropDownPropTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _dropDown.default.propTypes), {}, {
75
75
  type: _propTypes.default.string,
76
76
  name: _propTypes.default.string
77
77
  }) : {};
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","__html","value","field","name","fieldView","style","text","answerType","wrapper","TextPropTypes","DropDown","propTypes","PropTypes","string","DropDownPropTypes","arrayOf","oneOfType","shape"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,QAAQ,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAAyB;AACxC,QAAMC,aAAa,GAAG,kCAAoBF,QAApB,CAAtB;;AACA,QAAMG,eAAe,GAAG,cAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,IAAD,EAAOC,GAAP,KAAe;AAC/D,UAAMC,IAAI,GAAGF,IAAI,CAACE,IAAlB;;AACA,QAAIA,IAAI,KAAK,QAAb,EAAuB;AACrB,0BACE;AACE,QAAA,GAAG,EAAED,GADP,CAEE;AAFF;AAGE,QAAA,uBAAuB,EAAE;AAACE,UAAAA,MAAM,EAAEH,IAAI,CAACI;AAAd;AAH3B,QADF;AAOD;;AACD,QAAIF,IAAI,KAAK,aAAb,EAA4B;AAC1B,YAAMG,KAAK,GAAG,oBAAK;AAACC,QAAAA,IAAI,EAAEN,IAAI,CAACI;AAAZ,OAAL,EAAyBT,OAAzB,CAAd;AACA,UAAI,CAACU,KAAL,EAAY,OAAO,IAAP;AACZ,YAAME,SAAS,GACbF,KAAK,CAACH,IAAN,KAAe,MAAf,gBACE,6BAAC,iBAAD,eAAcG,KAAd;AAAqB,QAAA,SAAS,EAAEG,eAAMC;AAAtC,SADF,gBAGE,6BAAC,iBAAD,eAAcJ,KAAd;AAAqB,QAAA,KAAK,EAAC;AAA3B,SAJJ;AAOA,0BACE;AAAK,QAAA,SAAS,EAAEG,eAAME,UAAtB;AAAkC,QAAA,GAAG,EAAEV,IAAI,CAACI;AAA5C,SACGG,SADH,CADF;AAKD;AACF,GA3BuB,EA2BrBX,aA3BqB,CAAxB;;AA6BA,sBACE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEY,eAAMG;AAAnD,KACGd,eADH,CADF;AAKD,CApCD;;AAsCA,MAAMe,aAAN,wDACKC,kBAASC,SADd;AAEEZ,EAAAA,IAAI,EAAEa,mBAAUC,MAFlB;AAGEV,EAAAA,IAAI,EAAES,mBAAUC;AAHlB;AAMA,MAAMC,iBAAN,wDACKJ,kBAASC,SADd;AAEEZ,EAAAA,IAAI,EAAEa,mBAAUC,MAFlB;AAGEV,EAAAA,IAAI,EAAES,mBAAUC;AAHlB;AAMAvB,QAAQ,CAACqB,SAAT,2CAAqB;AACnBpB,EAAAA,QAAQ,EAAEqB,mBAAUC,MADD;AAEnBrB,EAAAA,OAAO,EAAEoB,mBAAUG,OAAV,CACPH,mBAAUI,SAAV,CAAoB,CAACJ,mBAAUK,KAAV,CAAgBH,iBAAhB,CAAD,EAAqCF,mBAAUK,KAAV,CAAgBR,aAAhB,CAArC,CAApB,CADO;AAFU,CAArB;eAOenB,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const fieldView =\n field.type === 'text' ? (\n <FreeText {...field} className={style.text} />\n ) : (\n <DropDown {...field} theme=\"template\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nconst DropDownPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDownPropTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","__html","value","field","name","fieldView","style","text","answerType","wrapper","TextPropTypes","DropDown","propTypes","PropTypes","string","DropDownPropTypes","arrayOf","oneOfType","shape"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,QAAQ,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAAyB;AACxC,QAAMC,aAAa,GAAG,kCAAoBF,QAApB,CAAtB;;AACA,QAAMG,eAAe,GAAG,cAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,IAAD,EAAOC,GAAP,KAAe;AAC/D,UAAMC,IAAI,GAAGF,IAAI,CAACE,IAAlB;;AACA,QAAIA,IAAI,KAAK,QAAb,EAAuB;AACrB,0BACE;AACE,QAAA,GAAG,EAAED,GADP,CAEE;AAFF;AAGE,QAAA,uBAAuB,EAAE;AAACE,UAAAA,MAAM,EAAEH,IAAI,CAACI;AAAd;AAH3B,QADF;AAOD;;AACD,QAAIF,IAAI,KAAK,aAAb,EAA4B;AAC1B,YAAMG,KAAK,GAAG,oBAAK;AAACC,QAAAA,IAAI,EAAEN,IAAI,CAACI;AAAZ,OAAL,EAAyBT,OAAzB,CAAd;AACA,UAAI,CAACU,KAAL,EAAY,OAAO,IAAP;AACZ,YAAME,SAAS,GACbF,KAAK,CAACH,IAAN,KAAe,MAAf,gBACE,6BAAC,iBAAD,eAAcG,KAAd;AAAqB,QAAA,SAAS,EAAEG,eAAMC;AAAtC,SADF,gBAGE,6BAAC,iBAAD,eAAcJ,KAAd;AAAqB,QAAA,KAAK,EAAC;AAA3B,SAJJ;AAOA,0BACE;AAAK,QAAA,SAAS,EAAEG,eAAME,UAAtB;AAAkC,QAAA,GAAG,EAAEV,IAAI,CAACI;AAA5C,SACGG,SADH,CADF;AAKD;AACF,GA3BuB,EA2BrBX,aA3BqB,CAAxB;;AA6BA,sBACE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEY,eAAMG;AAAnD,KACGd,eADH,CADF;AAKD,CApCD;;AAsCA,MAAMe,aAAN,iEACKC,kBAASC,SADd;AAEEZ,EAAAA,IAAI,EAAEa,mBAAUC,MAFlB;AAGEV,EAAAA,IAAI,EAAES,mBAAUC;AAHlB;AAMA,MAAMC,iBAAN,iEACKJ,kBAASC,SADd;AAEEZ,EAAAA,IAAI,EAAEa,mBAAUC,MAFlB;AAGEV,EAAAA,IAAI,EAAES,mBAAUC;AAHlB;AAMAvB,QAAQ,CAACqB,SAAT,2CAAqB;AACnBpB,EAAAA,QAAQ,EAAEqB,mBAAUC,MADD;AAEnBrB,EAAAA,OAAO,EAAEoB,mBAAUG,OAAV,CACPH,mBAAUI,SAAV,CAAoB,CAACJ,mBAAUK,KAAV,CAAgBH,iBAAhB,CAAD,EAAqCF,mBAAUK,KAAV,CAAgBR,aAAhB,CAArC,CAApB,CADO;AAFU,CAArB;eAOenB,Q","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const fieldView =\n field.type === 'text' ? (\n <FreeText {...field} className={style.text} />\n ) : (\n <DropDown {...field} theme=\"template\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nconst DropDownPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDownPropTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
@@ -24,7 +24,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
24
24
  });
25
25
  (0, _ava.default)('should instanciate Range without props', t => {
26
26
  const expected = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_.default, _default.default.props));
27
- const actual = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_.default, _extends({}, _default.default.props, {
27
+ const actual = (0, _enzyme.shallow)( /*#__PURE__*/_react.default.createElement(_.default, _extends(_extends({}, _default.default.props), {}, {
28
28
  template: `${_default.default.props.template}{{wrongInput}}`
29
29
  })));
30
30
  t.deepEqual(actual.html(), expected.html());
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/questions/template/test/index.js"],"names":["adapter","Adapter","t","expected","fixture","props","actual","template","deepEqual","html"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,wCAAL,EAA+CC,CAAC,IAAI;AAClD,QAAMC,QAAQ,GAAG,mCAAQ,6BAAC,SAAD,EAAcC,iBAAQC,KAAtB,CAAR,CAAjB;AACA,QAAMC,MAAM,GAAG,mCACb,6BAAC,SAAD,eAAkBF,iBAAQC,KAA1B;AAAiCE,IAAAA,QAAQ,EAAG,GAAEH,iBAAQC,KAAR,CAAcE,QAAS;AAArE,KADa,CAAf;AAGAL,EAAAA,CAAC,CAACM,SAAF,CAAYF,MAAM,CAACG,IAAP,EAAZ,EAA2BN,QAAQ,CAACM,IAAT,EAA3B;AACD,CAND","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {configure, shallow} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Template from '..';\nimport fixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should instanciate Range without props', t => {\n const expected = shallow(<Template {...fixture.props} />);\n const actual = shallow(\n <Template {...{...fixture.props, template: `${fixture.props.template}{{wrongInput}}`}} />\n );\n t.deepEqual(actual.html(), expected.html());\n});\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/questions/template/test/index.js"],"names":["adapter","Adapter","t","expected","fixture","props","actual","template","deepEqual","html"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,wCAAL,EAA+CC,CAAC,IAAI;AAClD,QAAMC,QAAQ,GAAG,mCAAQ,6BAAC,SAAD,EAAcC,iBAAQC,KAAtB,CAAR,CAAjB;AACA,QAAMC,MAAM,GAAG,mCACb,6BAAC,SAAD,wBAAkBF,iBAAQC,KAA1B;AAAiCE,IAAAA,QAAQ,EAAG,GAAEH,iBAAQC,KAAR,CAAcE,QAAS;AAArE,KADa,CAAf;AAGAL,EAAAA,CAAC,CAACM,SAAF,CAAYF,MAAM,CAACG,IAAP,EAAZ,EAA2BN,QAAQ,CAACM,IAAT,EAA3B;AACD,CAND","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {configure, shallow} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Template from '..';\nimport fixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should instanciate Range without props', t => {\n const expected = shallow(<Template {...fixture.props} />);\n const actual = shallow(\n <Template {...{...fixture.props, template: `${fixture.props.template}{{wrongInput}}`}} />\n );\n t.deepEqual(actual.html(), expected.html());\n});\n"],"file":"index.js"}
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireWildcard(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _novaIcons = require("@coorpacademy/nova-icons");
11
+
12
+ var _style = _interopRequireDefault(require("./style.css"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
17
+
18
+ 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; }
19
+
20
+ const getIcon = feature => {
21
+ switch (feature) {
22
+ case 'manage_users':
23
+ return _novaIcons.NovaSolidUsersActionsUser;
24
+
25
+ case 'upload_users':
26
+ return _novaIcons.NovaSolidFilesBasicFileUpload2;
27
+
28
+ case 'manage_email':
29
+ return _novaIcons.NovaSolidEmailAtSign;
30
+
31
+ case 'massive_battle':
32
+ return _novaIcons.NovaSolidContentEditionFlash;
33
+
34
+ case 'cms':
35
+ return _novaIcons.NovaSolidApplicationsWindowApplication5;
36
+
37
+ case 'look_and_feel':
38
+ return _novaIcons.NovaSolidDesignPaintBrush2;
39
+
40
+ case 'dashboard':
41
+ return _novaIcons.NovaSolidContentContentViewList;
42
+
43
+ case 'cockpit':
44
+ return _novaIcons.NovaSolidContentContentBookAdd;
45
+
46
+ case 'analytics':
47
+ return _novaIcons.NovaSolidBusinessBusinessGraphLine2;
48
+
49
+ default:
50
+ return _novaIcons.NovaSolidContentContentBookAdd;
51
+ }
52
+ };
53
+
54
+ const getBackgroudRadialColors = feature => {
55
+ switch (feature) {
56
+ case 'manage_users':
57
+ case 'upload_users':
58
+ return {
59
+ iconColor: '#2EC1D6',
60
+ degrees: '187'
61
+ };
62
+
63
+ case 'look_and_feel':
64
+ case 'dashboard':
65
+ return {
66
+ iconColor: '#18BB98',
67
+ degrees: '167'
68
+ };
69
+
70
+ case 'cockpit':
71
+ return {
72
+ iconColor: '#FF7043',
73
+ degrees: '14'
74
+ };
75
+
76
+ case 'manage_email':
77
+ case 'massive_battle':
78
+ case 'cms':
79
+ return {
80
+ iconColor: '#7340FF',
81
+ degrees: '256'
82
+ };
83
+
84
+ case 'analytics':
85
+ return {
86
+ iconColor: '#FF4040',
87
+ degrees: '0'
88
+ };
89
+
90
+ default:
91
+ return null;
92
+ }
93
+ };
94
+
95
+ const QuickAccessCard = (props, context) => {
96
+ const {
97
+ title,
98
+ description,
99
+ feature,
100
+ onClick,
101
+ _blank
102
+ } = props;
103
+ const {
104
+ iconColor,
105
+ degrees
106
+ } = getBackgroudRadialColors(feature);
107
+ const Icon = getIcon(feature);
108
+ const handleClick = (0, _react.useMemo)(() => e => onClick(e), [onClick]);
109
+ const newTabOnClick = _blank ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyOpenInNewTab, {
110
+ className: _style.default.newTabIcon
111
+ }) : null;
112
+ return /*#__PURE__*/_react.default.createElement("div", {
113
+ "data-name": "card",
114
+ "data-type": feature,
115
+ className: _style.default.quickAccess,
116
+ onClick: handleClick
117
+ }, /*#__PURE__*/_react.default.createElement("div", {
118
+ style: {
119
+ background: `radial-gradient(62.12% 56.45% at 0% 77.29%,
120
+ hsl(${degrees}deg 68% 40% / 20%) 0%,
121
+ hsl(${degrees}deg 68% 40% / 0%) 100%),
122
+ radial-gradient(113.85% 103.46% at 93.27% 7.88%,
123
+ hsl(${degrees}deg 67% 51% / 15%) 0%,
124
+ hsl(${degrees}deg 67% 51% / 0%) 100%),
125
+ radial-gradient(49.66% 49.63% at 78.65% 86.26%,
126
+ hsl(${degrees}deg 87% 91%) 0%,
127
+ hsl(${degrees}deg 87% 91% / 0%) 100%),
128
+ #FAFAFA`
129
+ },
130
+ className: _style.default.content
131
+ }, /*#__PURE__*/_react.default.createElement("div", {
132
+ className: _style.default.iconFeatureWrapper,
133
+ style: {
134
+ backgroundColor: iconColor
135
+ }
136
+ }, /*#__PURE__*/_react.default.createElement(Icon, {
137
+ className: _style.default.iconFeature
138
+ })), /*#__PURE__*/_react.default.createElement("div", {
139
+ className: _style.default.title
140
+ }, title, newTabOnClick), /*#__PURE__*/_react.default.createElement("div", {
141
+ className: _style.default.description
142
+ }, description), /*#__PURE__*/_react.default.createElement("div", {
143
+ className: _style.default.iconGotoWrapper,
144
+ style: {
145
+ backgroundColor: iconColor
146
+ }
147
+ }, /*#__PURE__*/_react.default.createElement("div", {
148
+ className: _style.default.hover,
149
+ style: {
150
+ color: iconColor
151
+ }
152
+ }, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionNavigationArrowRight, {
153
+ className: _style.default.iconGoto
154
+ })))));
155
+ };
156
+
157
+ QuickAccessCard.propTypes = process.env.NODE_ENV !== "production" ? {
158
+ title: _propTypes.default.string,
159
+ description: _propTypes.default.string,
160
+ onClick: _propTypes.default.func,
161
+ _blank: _propTypes.default.bool,
162
+ feature: _propTypes.default.oneOf(['analytics', 'cms', 'cockpit', 'massive_battle', 'manage_email', 'dashboard', 'look_and_feel', 'manage_users', 'upload_users'])
163
+ } : {};
164
+ var _default = QuickAccessCard;
165
+ exports.default = _default;
166
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/quick-access-card/index.js"],"names":["getIcon","feature","ManageUserIcon","UploadUserIcon","ManageEmailIcon","MassiveBattleIcon","CmsIcon","LookAndFeelIcon","DashboardIcon","CockpitIcon","AnalyticsIcon","getBackgroudRadialColors","iconColor","degrees","QuickAccessCard","props","context","title","description","onClick","_blank","Icon","handleClick","e","newTabOnClick","style","newTabIcon","quickAccess","background","content","iconFeatureWrapper","backgroundColor","iconFeature","iconGotoWrapper","hover","color","iconGoto","propTypes","PropTypes","string","func","bool","oneOf"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAaA;;;;;;;;AAEA,MAAMA,OAAO,GAAGC,OAAO,IAAI;AACzB,UAAQA,OAAR;AACE,SAAK,cAAL;AACE,aAAOC,oCAAP;;AACF,SAAK,cAAL;AACE,aAAOC,yCAAP;;AACF,SAAK,cAAL;AACE,aAAOC,+BAAP;;AACF,SAAK,gBAAL;AACE,aAAOC,uCAAP;;AACF,SAAK,KAAL;AACE,aAAOC,kDAAP;;AACF,SAAK,eAAL;AACE,aAAOC,qCAAP;;AACF,SAAK,WAAL;AACE,aAAOC,0CAAP;;AACF,SAAK,SAAL;AACE,aAAOC,yCAAP;;AACF,SAAK,WAAL;AACE,aAAOC,8CAAP;;AACF;AACE,aAAOD,yCAAP;AApBJ;AAsBD,CAvBD;;AAyBA,MAAME,wBAAwB,GAAGV,OAAO,IAAI;AAC1C,UAAQA,OAAR;AACE,SAAK,cAAL;AACA,SAAK,cAAL;AACE,aAAO;AACLW,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,eAAL;AACA,SAAK,WAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,SAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,cAAL;AACA,SAAK,gBAAL;AACA,SAAK,KAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,WAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF;AACE,aAAO,IAAP;AA/BJ;AAiCD,CAlCD;;AAoCA,MAAMC,eAAe,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AAC1C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,WAAR;AAAqBjB,IAAAA,OAArB;AAA8BkB,IAAAA,OAA9B;AAAuCC,IAAAA;AAAvC,MAAiDL,KAAvD;AACA,QAAM;AAACH,IAAAA,SAAD;AAAYC,IAAAA;AAAZ,MAAuBF,wBAAwB,CAACV,OAAD,CAArD;AACA,QAAMoB,IAAI,GAAGrB,OAAO,CAACC,OAAD,CAApB;AACA,QAAMqB,WAAW,GAAG,oBAAQ,MAAMC,CAAC,IAAIJ,OAAO,CAACI,CAAD,CAA1B,EAA+B,CAACJ,OAAD,CAA/B,CAApB;AACA,QAAMK,aAAa,GAAGJ,MAAM,gBAAG,6BAAC,kDAAD;AAAY,IAAA,SAAS,EAAEK,eAAMC;AAA7B,IAAH,GAAiD,IAA7E;AAEA,sBACE;AAAK,iBAAU,MAAf;AAAsB,iBAAWzB,OAAjC;AAA0C,IAAA,SAAS,EAAEwB,eAAME,WAA3D;AAAwE,IAAA,OAAO,EAAEL;AAAjF,kBACE;AACE,IAAA,KAAK,EAAE;AACLM,MAAAA,UAAU,EAAG;kBACLf,OAAQ;kBACRA,OAAQ;;kBAERA,OAAQ;kBACRA,OAAQ;;kBAERA,OAAQ;kBACRA,OAAQ;;AATX,KADT;AAaE,IAAA,SAAS,EAAEY,eAAMI;AAbnB,kBAeE;AACE,IAAA,SAAS,EAAEJ,eAAMK,kBADnB;AAEE,IAAA,KAAK,EAAE;AACLC,MAAAA,eAAe,EAAEnB;AADZ;AAFT,kBAME,6BAAC,IAAD;AAAM,IAAA,SAAS,EAAEa,eAAMO;AAAvB,IANF,CAfF,eAuBE;AAAK,IAAA,SAAS,EAAEP,eAAMR;AAAtB,KACGA,KADH,EAEGO,aAFH,CAvBF,eA2BE;AAAK,IAAA,SAAS,EAAEC,eAAMP;AAAtB,KAAoCA,WAApC,CA3BF,eA4BE;AACE,IAAA,SAAS,EAAEO,eAAMQ,eADnB;AAEE,IAAA,KAAK,EAAE;AACLF,MAAAA,eAAe,EAAEnB;AADZ;AAFT,kBAME;AACE,IAAA,SAAS,EAAEa,eAAMS,KADnB;AAEE,IAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAEvB;AADF;AAFT,kBAME,6BAAC,8CAAD;AAAY,IAAA,SAAS,EAAEa,eAAMW;AAA7B,IANF,CANF,CA5BF,CADF,CADF;AAgDD,CAvDD;;AAyDAtB,eAAe,CAACuB,SAAhB,2CAA4B;AAC1BpB,EAAAA,KAAK,EAAEqB,mBAAUC,MADS;AAE1BrB,EAAAA,WAAW,EAAEoB,mBAAUC,MAFG;AAG1BpB,EAAAA,OAAO,EAAEmB,mBAAUE,IAHO;AAI1BpB,EAAAA,MAAM,EAAEkB,mBAAUG,IAJQ;AAK1BxC,EAAAA,OAAO,EAAEqC,mBAAUI,KAAV,CAAgB,CACvB,WADuB,EAEvB,KAFuB,EAGvB,SAHuB,EAIvB,gBAJuB,EAKvB,cALuB,EAMvB,WANuB,EAOvB,eAPuB,EAQvB,cARuB,EASvB,cATuB,CAAhB;AALiB,CAA5B;eAkBe5B,e","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaSolidContentContentBookAdd as CockpitIcon,\n NovaSolidUsersActionsUser as ManageUserIcon,\n NovaSolidFilesBasicFileUpload2 as UploadUserIcon,\n NovaSolidEmailAtSign as ManageEmailIcon,\n NovaSolidDesignPaintBrush2 as LookAndFeelIcon,\n NovaSolidContentContentViewList as DashboardIcon,\n NovaSolidContentEditionFlash as MassiveBattleIcon,\n NovaSolidApplicationsWindowApplication5 as CmsIcon,\n NovaSolidBusinessBusinessGraphLine2 as AnalyticsIcon,\n NovaCompositionNavigationArrowRight as ActionIcon,\n NovaCompositionCoorpacademyOpenInNewTab as NewTabIcon\n} from '@coorpacademy/nova-icons';\nimport style from './style.css';\n\nconst getIcon = feature => {\n switch (feature) {\n case 'manage_users':\n return ManageUserIcon;\n case 'upload_users':\n return UploadUserIcon;\n case 'manage_email':\n return ManageEmailIcon;\n case 'massive_battle':\n return MassiveBattleIcon;\n case 'cms':\n return CmsIcon;\n case 'look_and_feel':\n return LookAndFeelIcon;\n case 'dashboard':\n return DashboardIcon;\n case 'cockpit':\n return CockpitIcon;\n case 'analytics':\n return AnalyticsIcon;\n default:\n return CockpitIcon;\n }\n};\n\nconst getBackgroudRadialColors = feature => {\n switch (feature) {\n case 'manage_users':\n case 'upload_users':\n return {\n iconColor: '#2EC1D6',\n degrees: '187'\n };\n case 'look_and_feel':\n case 'dashboard':\n return {\n iconColor: '#18BB98',\n degrees: '167'\n };\n case 'cockpit':\n return {\n iconColor: '#FF7043',\n degrees: '14'\n };\n case 'manage_email':\n case 'massive_battle':\n case 'cms':\n return {\n iconColor: '#7340FF',\n degrees: '256'\n };\n case 'analytics':\n return {\n iconColor: '#FF4040',\n degrees: '0'\n };\n default:\n return null;\n }\n};\n\nconst QuickAccessCard = (props, context) => {\n const {title, description, feature, onClick, _blank} = props;\n const {iconColor, degrees} = getBackgroudRadialColors(feature);\n const Icon = getIcon(feature);\n const handleClick = useMemo(() => e => onClick(e), [onClick]);\n const newTabOnClick = _blank ? <NewTabIcon className={style.newTabIcon} /> : null;\n\n return (\n <div data-name=\"card\" data-type={feature} className={style.quickAccess} onClick={handleClick}>\n <div\n style={{\n background: `radial-gradient(62.12% 56.45% at 0% 77.29%, \n hsl(${degrees}deg 68% 40% / 20%) 0%, \n hsl(${degrees}deg 68% 40% / 0%) 100%), \n radial-gradient(113.85% 103.46% at 93.27% 7.88%,\n hsl(${degrees}deg 67% 51% / 15%) 0%, \n hsl(${degrees}deg 67% 51% / 0%) 100%),\n radial-gradient(49.66% 49.63% at 78.65% 86.26%, \n hsl(${degrees}deg 87% 91%) 0%, \n hsl(${degrees}deg 87% 91% / 0%) 100%), \n #FAFAFA`\n }}\n className={style.content}\n >\n <div\n className={style.iconFeatureWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <Icon className={style.iconFeature} />\n </div>\n <div className={style.title}>\n {title}\n {newTabOnClick}\n </div>\n <div className={style.description}>{description}</div>\n <div\n className={style.iconGotoWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <div\n className={style.hover}\n style={{\n color: iconColor\n }}\n >\n <ActionIcon className={style.iconGoto} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nQuickAccessCard.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n onClick: PropTypes.func,\n _blank: PropTypes.bool,\n feature: PropTypes.oneOf([\n 'analytics',\n 'cms',\n 'cockpit',\n 'massive_battle',\n 'manage_email',\n 'dashboard',\n 'look_and_feel',\n 'manage_users',\n 'upload_users'\n ])\n};\n\nexport default QuickAccessCard;\n"],"file":"index.js"}
@@ -0,0 +1,103 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value white from colors;
3
+
4
+ .quickAccess {
5
+ width: 268px;
6
+ height: 281px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .content {
11
+ height: 100%;
12
+ width: 100%;
13
+ border-radius: 8px;
14
+ }
15
+
16
+ .content:hover {
17
+ box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
18
+ }
19
+
20
+ .title {
21
+ font-family: 'Gilroy';
22
+ font-weight: 600;
23
+ font-style: normal;
24
+ font-size: 20px;
25
+ line-height: 28px;
26
+ top: 84px;
27
+ left: 24px;
28
+ position: absolute;
29
+ }
30
+
31
+ .description {
32
+ font-family: 'Gilroy';
33
+ font-weight: 500;
34
+ font-style: normal;
35
+ font-size: 16px;
36
+ line-height: 22px;
37
+ position: absolute;
38
+ top: 120px;
39
+ left: 24px;
40
+ max-width: 212px;
41
+ }
42
+
43
+ .iconWrapper {
44
+ width: 44px;
45
+ height: 44px;
46
+ position: absolute;
47
+ border-radius: 8px;
48
+ }
49
+
50
+ .iconFeatureWrapper {
51
+ composes: iconWrapper;
52
+ top: 24px;
53
+ left: 24px;
54
+ }
55
+
56
+ .iconFeature {
57
+ color: white;
58
+ width: 20px;
59
+ height: 20px;
60
+ position: relative;
61
+ top: 12px;
62
+ left: 12px;
63
+ }
64
+
65
+ .iconGotoWrapper {
66
+ composes: iconWrapper;
67
+ top: 213px;
68
+ left: 200px;
69
+ background-color: white;
70
+ }
71
+
72
+ .hover {
73
+ composes: iconWrapper;
74
+ }
75
+
76
+ .iconGotoWrapper:hover .hover{
77
+ background: inherit;
78
+ transition: all 0.5s linear;
79
+ }
80
+
81
+ .iconGotoWrapper .hover{
82
+ background: white;
83
+ }
84
+
85
+ .iconGoto {
86
+ width: 14px;
87
+ height: 14px;
88
+ position: relative;
89
+ top: 15px;
90
+ left: 15px;
91
+ color: inherit;
92
+ transition: all 0.5s linear;
93
+ }
94
+
95
+ .iconGotoWrapper:hover .iconGoto{
96
+ color: white;
97
+ }
98
+
99
+ .newTabIcon {
100
+ padding-left: 8px;
101
+ width: 20px;
102
+ height: 20px;
103
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ title: 'See analytics',
8
+ description: 'Access to the analytics page on your platform',
9
+ _blank: true,
10
+ feature: 'analytics',
11
+ onClick: () => console.log('click everywhere')
12
+ }
13
+ };
14
+ exports.default = _default;
15
+ //# sourceMappingURL=analytics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/analytics.js"],"names":["props","title","description","_blank","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,WAAW,EAAE,+CAFR;AAGLC,IAAAA,MAAM,EAAE,IAHH;AAILC,IAAAA,OAAO,EAAE,WAJJ;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'See analytics',\n description: 'Access to the analytics page on your platform',\n _blank: true,\n feature: 'analytics',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"analytics.js"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ title: 'Create course',
8
+ description: 'Access to cockpit to create courses',
9
+ _blank: true,
10
+ feature: 'cockpit',
11
+ onClick: () => console.log('click everywhere')
12
+ }
13
+ };
14
+ exports.default = _default;
15
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/default.js"],"names":["props","title","description","_blank","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,WAAW,EAAE,qCAFR;AAGLC,IAAAA,MAAM,EAAE,IAHH;AAILC,IAAAA,OAAO,EAAE,SAJJ;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Create course',\n description: 'Access to cockpit to create courses',\n _blank: true,\n feature: 'cockpit',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ title: 'Edit look & feel',
8
+ description: 'Edit logos and colors of your platform',
9
+ feature: 'look_and_feel',
10
+ onClick: () => console.log('click everywhere')
11
+ }
12
+ };
13
+ exports.default = _default;
14
+ //# sourceMappingURL=look-and-feel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/look-and-feel.js"],"names":["props","title","description","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,kBADF;AAELC,IAAAA,WAAW,EAAE,wCAFR;AAGLC,IAAAA,OAAO,EAAE,eAHJ;AAILC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AAJV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Edit look & feel',\n description: 'Edit logos and colors of your platform',\n feature: 'look_and_feel',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"look-and-feel.js"}