@coorpacademy/components 10.4.6 → 10.5.2

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 (303) hide show
  1. package/es/atom/autocomplete/style.css +4 -4
  2. package/es/atom/button/style.css +1 -1
  3. package/es/atom/card-image-preview/test/fixtures.js +15 -0
  4. package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
  5. package/es/atom/catalog-section/style.css +1 -1
  6. package/es/atom/clue/style.css +2 -2
  7. package/es/atom/cta/style.css +1 -1
  8. package/es/atom/difficulty-level/style.css +1 -1
  9. package/es/atom/drag-and-drop/style.css +6 -5
  10. package/es/atom/input-checkbox/style.css +1 -1
  11. package/es/atom/input-doublestep/style.css +5 -5
  12. package/es/atom/input-html/input-preview.css +2 -2
  13. package/es/atom/input-html/style.css +2 -2
  14. package/es/atom/input-readonly/style.css +3 -3
  15. package/es/atom/input-search/style.css +1 -1
  16. package/es/atom/input-switch/style.css +2 -2
  17. package/es/atom/input-text/style.css +5 -5
  18. package/es/atom/input-textarea/style.css +5 -5
  19. package/es/atom/life/style.css +1 -1
  20. package/es/atom/notification/style.css +1 -1
  21. package/es/atom/radio-group/item.css +1 -1
  22. package/es/atom/resource-miniature/style.css +1 -1
  23. package/es/atom/select/style.css +7 -7
  24. package/es/atom/slide/style.css +1 -1
  25. package/es/molecule/add-to-my-list/style.css +3 -3
  26. package/es/molecule/audio/style.css +1 -1
  27. package/es/molecule/battle-request/style.css +4 -4
  28. package/es/molecule/brand-card/description.css +1 -1
  29. package/es/molecule/brand-card/style.css +2 -2
  30. package/es/molecule/brand-card-create/style.css +1 -1
  31. package/es/molecule/brand-create-form/style.css +6 -6
  32. package/es/molecule/brand-download-box/style.css +2 -2
  33. package/es/molecule/brand-tabs/style.css +1 -1
  34. package/es/molecule/brand-upload-box/style.css +2 -2
  35. package/es/molecule/breadcrumbs/style.css +3 -3
  36. package/es/molecule/card/customer.css +1 -1
  37. package/es/molecule/card/favorite.css +1 -1
  38. package/es/molecule/card/notification.css +1 -1
  39. package/es/molecule/card/style.css +1 -1
  40. package/es/molecule/card/test/fixtures.js +2 -0
  41. package/es/molecule/card/test/fixtures.js.map +1 -1
  42. package/es/molecule/card-content/style.css +4 -4
  43. package/es/molecule/card-with-button/style.css +2 -2
  44. package/es/molecule/cookie-banner/style.css +2 -2
  45. package/es/molecule/course-section/index.js +60 -0
  46. package/es/molecule/course-section/index.js.map +1 -0
  47. package/es/molecule/course-section/style.css +65 -0
  48. package/es/molecule/course-section/test/fixtures/chapter.js +17 -0
  49. package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -0
  50. package/es/molecule/course-section/test/fixtures/course.js +17 -0
  51. package/es/molecule/course-section/test/fixtures/course.js.map +1 -0
  52. package/es/molecule/dashboard/cards-list/style.css +2 -2
  53. package/es/molecule/dashboard/news-list/style.css +2 -2
  54. package/es/molecule/dashboard/start-battle/style.css +4 -4
  55. package/es/molecule/discipline-cta/style.css +2 -2
  56. package/es/molecule/discipline-header/style.css +4 -4
  57. package/es/molecule/discipline-partners/style.css +2 -2
  58. package/es/molecule/drag-and-drop/common.css +1 -1
  59. package/es/molecule/drag-and-drop/overlay.css +1 -1
  60. package/es/molecule/drag-and-drop/style.css +1 -1
  61. package/es/molecule/drag-and-drop/upload-report.css +4 -4
  62. package/es/molecule/draggable/index.js +56 -0
  63. package/es/molecule/draggable/index.js.map +1 -0
  64. package/es/molecule/draggable/style.css +77 -0
  65. package/es/molecule/draggable/test/fixtures/default.js +12 -0
  66. package/es/molecule/draggable/test/fixtures/default.js.map +1 -0
  67. package/es/molecule/draggable/test/fixtures.js +13 -0
  68. package/es/molecule/draggable/test/fixtures.js.map +1 -0
  69. package/es/molecule/external-content-button/style.css +2 -2
  70. package/es/molecule/feedback/style.css +3 -3
  71. package/es/molecule/filters/filters-wapper.css +2 -2
  72. package/es/molecule/filters/style.css +2 -2
  73. package/es/molecule/forum/forum-comment/style.css +1 -1
  74. package/es/molecule/forum/forum-post/style.css +5 -5
  75. package/es/molecule/menu-list/style.css +1 -1
  76. package/es/molecule/message-popin/style.css +2 -2
  77. package/es/molecule/modal/style.css +2 -2
  78. package/es/molecule/module-card/style.css +2 -2
  79. package/es/molecule/news/style.css +3 -3
  80. package/es/molecule/notification-banner/style.css +3 -3
  81. package/es/molecule/pagination/style.css +1 -1
  82. package/es/molecule/payment-form/index.js +2 -2
  83. package/es/molecule/payment-form/index.js.map +1 -1
  84. package/es/molecule/pdf/style.css +2 -2
  85. package/es/molecule/popin/style.css +2 -2
  86. package/es/molecule/progress-bar/style.css +1 -1
  87. package/es/molecule/questions/free-text/style.css +1 -1
  88. package/es/molecule/questions/qcm/style.css +1 -1
  89. package/es/molecule/questions/qcm-drag/style.css +2 -2
  90. package/es/molecule/questions/qcm-graphic/style.css +1 -1
  91. package/es/molecule/questions/question-range/style.css +2 -2
  92. package/es/molecule/questions/template/style.css +1 -1
  93. package/es/molecule/resource-player/style.css +1 -1
  94. package/es/molecule/scope-content/style.css +6 -6
  95. package/es/molecule/scope-tabs/style.css +1 -1
  96. package/es/molecule/select-multiple/style.css +2 -2
  97. package/es/molecule/setup-cohort-item/style.css +1 -1
  98. package/es/molecule/setup-section/index.js +2 -23
  99. package/es/molecule/setup-section/index.js.map +1 -1
  100. package/es/molecule/setup-section/style.css +3 -28
  101. package/es/molecule/setup-sections/index.js +3 -55
  102. package/es/molecule/setup-sections/index.js.map +1 -1
  103. package/es/molecule/setup-sections/style.css +0 -52
  104. package/es/molecule/setup-sections/test/on-drop.js +1 -1
  105. package/es/molecule/setup-sections/test/on-drop.js.map +1 -1
  106. package/es/molecule/share/style.css +3 -3
  107. package/es/molecule/ssmenu-list/style.css +1 -1
  108. package/es/molecule/table/style.css +5 -5
  109. package/es/molecule/teams-popin/style.css +2 -2
  110. package/es/molecule/titled-checkbox/style.css +1 -1
  111. package/es/molecule/video-player/jwplayer.css +1 -1
  112. package/es/molecule/wizard-summary/index.js +5 -5
  113. package/es/molecule/wizard-summary/index.js.map +1 -1
  114. package/es/organism/accordion/part/style.css +1 -1
  115. package/es/organism/brand-analytics/analytics-popin.css +1 -0
  116. package/es/organism/brand-analytics/style.css +1 -1
  117. package/es/organism/brand-table/style.css +2 -2
  118. package/es/organism/brand-upload/style.css +2 -2
  119. package/es/organism/discussion/style.css +1 -1
  120. package/es/organism/get-the-app/style.css +1 -1
  121. package/es/organism/hero/style.css +1 -1
  122. package/es/organism/mooc-footer/style.css +2 -2
  123. package/es/organism/mooc-header/style.css +8 -8
  124. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  125. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  126. package/es/organism/popin/style.css +1 -0
  127. package/es/organism/sidebar/style.css +2 -2
  128. package/es/organism/user-preferences/style.css +1 -1
  129. package/es/template/activity/engine-stars.css +3 -3
  130. package/es/template/activity/progression-item.css +5 -4
  131. package/es/template/activity/stars-summary.css +2 -2
  132. package/es/template/activity/style.css +3 -3
  133. package/es/template/app-player/player/slides/footer/style.css +1 -1
  134. package/es/template/app-player/player/slides/header/learner.css +4 -4
  135. package/es/template/app-player/player/slides/header/microlearning.css +1 -1
  136. package/es/template/app-player/player/slides/style.css +9 -8
  137. package/es/template/app-player/popin-correction/style.css +3 -3
  138. package/es/template/app-player/popin-end/summary.css +4 -4
  139. package/es/template/app-player/popin-end/test/fixtures.js +2 -0
  140. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  141. package/es/template/app-player/popin-header/style.css +5 -5
  142. package/es/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  143. package/es/template/back-office/dashboard-preview/style.css +1 -1
  144. package/es/template/cockpit/jw-uploader/style.css +1 -0
  145. package/es/template/common/authors/style.css +5 -4
  146. package/es/template/common/layout.css +1 -1
  147. package/es/template/common/search-page/style.css +2 -1
  148. package/es/template/external-course/style.css +1 -1
  149. package/es/variables/fonts.css +1 -1
  150. package/lib/atom/autocomplete/style.css +4 -4
  151. package/lib/atom/button/style.css +1 -1
  152. package/lib/atom/card-image-preview/test/fixtures.js +25 -0
  153. package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
  154. package/lib/atom/catalog-section/style.css +1 -1
  155. package/lib/atom/clue/style.css +2 -2
  156. package/lib/atom/cta/style.css +1 -1
  157. package/lib/atom/difficulty-level/style.css +1 -1
  158. package/lib/atom/drag-and-drop/style.css +6 -5
  159. package/lib/atom/input-checkbox/style.css +1 -1
  160. package/lib/atom/input-doublestep/style.css +5 -5
  161. package/lib/atom/input-html/input-preview.css +2 -2
  162. package/lib/atom/input-html/style.css +2 -2
  163. package/lib/atom/input-readonly/style.css +3 -3
  164. package/lib/atom/input-search/style.css +1 -1
  165. package/lib/atom/input-switch/style.css +2 -2
  166. package/lib/atom/input-text/style.css +5 -5
  167. package/lib/atom/input-textarea/style.css +5 -5
  168. package/lib/atom/life/style.css +1 -1
  169. package/lib/atom/notification/style.css +1 -1
  170. package/lib/atom/radio-group/item.css +1 -1
  171. package/lib/atom/resource-miniature/style.css +1 -1
  172. package/lib/atom/select/style.css +7 -7
  173. package/lib/atom/slide/style.css +1 -1
  174. package/lib/molecule/add-to-my-list/style.css +3 -3
  175. package/lib/molecule/audio/style.css +1 -1
  176. package/lib/molecule/battle-request/style.css +4 -4
  177. package/lib/molecule/brand-card/description.css +1 -1
  178. package/lib/molecule/brand-card/style.css +2 -2
  179. package/lib/molecule/brand-card-create/style.css +1 -1
  180. package/lib/molecule/brand-create-form/style.css +6 -6
  181. package/lib/molecule/brand-download-box/style.css +2 -2
  182. package/lib/molecule/brand-tabs/style.css +1 -1
  183. package/lib/molecule/brand-upload-box/style.css +2 -2
  184. package/lib/molecule/breadcrumbs/style.css +3 -3
  185. package/lib/molecule/card/customer.css +1 -1
  186. package/lib/molecule/card/favorite.css +1 -1
  187. package/lib/molecule/card/notification.css +1 -1
  188. package/lib/molecule/card/style.css +1 -1
  189. package/lib/molecule/card/test/fixtures.js +3 -0
  190. package/lib/molecule/card/test/fixtures.js.map +1 -1
  191. package/lib/molecule/card-content/style.css +4 -4
  192. package/lib/molecule/card-with-button/style.css +2 -2
  193. package/lib/molecule/cookie-banner/style.css +2 -2
  194. package/lib/molecule/course-section/index.js +72 -0
  195. package/lib/molecule/course-section/index.js.map +1 -0
  196. package/lib/molecule/course-section/style.css +65 -0
  197. package/lib/molecule/course-section/test/fixtures/chapter.js +22 -0
  198. package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -0
  199. package/lib/molecule/course-section/test/fixtures/course.js +22 -0
  200. package/lib/molecule/course-section/test/fixtures/course.js.map +1 -0
  201. package/lib/molecule/dashboard/cards-list/style.css +2 -2
  202. package/lib/molecule/dashboard/news-list/style.css +2 -2
  203. package/lib/molecule/dashboard/start-battle/style.css +4 -4
  204. package/lib/molecule/discipline-cta/style.css +2 -2
  205. package/lib/molecule/discipline-header/style.css +4 -4
  206. package/lib/molecule/discipline-partners/style.css +2 -2
  207. package/lib/molecule/drag-and-drop/common.css +1 -1
  208. package/lib/molecule/drag-and-drop/overlay.css +1 -1
  209. package/lib/molecule/drag-and-drop/style.css +1 -1
  210. package/lib/molecule/drag-and-drop/upload-report.css +4 -4
  211. package/lib/molecule/draggable/index.js +71 -0
  212. package/lib/molecule/draggable/index.js.map +1 -0
  213. package/lib/molecule/draggable/style.css +77 -0
  214. package/lib/molecule/draggable/test/fixtures/default.js +17 -0
  215. package/lib/molecule/draggable/test/fixtures/default.js.map +1 -0
  216. package/lib/molecule/draggable/test/fixtures.js +22 -0
  217. package/lib/molecule/draggable/test/fixtures.js.map +1 -0
  218. package/lib/molecule/external-content-button/style.css +2 -2
  219. package/lib/molecule/feedback/style.css +3 -3
  220. package/lib/molecule/filters/filters-wapper.css +2 -2
  221. package/lib/molecule/filters/style.css +2 -2
  222. package/lib/molecule/forum/forum-comment/style.css +1 -1
  223. package/lib/molecule/forum/forum-post/style.css +5 -5
  224. package/lib/molecule/menu-list/style.css +1 -1
  225. package/lib/molecule/message-popin/style.css +2 -2
  226. package/lib/molecule/modal/style.css +2 -2
  227. package/lib/molecule/module-card/style.css +2 -2
  228. package/lib/molecule/news/style.css +3 -3
  229. package/lib/molecule/notification-banner/style.css +3 -3
  230. package/lib/molecule/pagination/style.css +1 -1
  231. package/lib/molecule/payment-form/index.js +2 -2
  232. package/lib/molecule/payment-form/index.js.map +1 -1
  233. package/lib/molecule/pdf/style.css +2 -2
  234. package/lib/molecule/popin/style.css +2 -2
  235. package/lib/molecule/progress-bar/style.css +1 -1
  236. package/lib/molecule/questions/free-text/style.css +1 -1
  237. package/lib/molecule/questions/qcm/style.css +1 -1
  238. package/lib/molecule/questions/qcm-drag/style.css +2 -2
  239. package/lib/molecule/questions/qcm-graphic/style.css +1 -1
  240. package/lib/molecule/questions/question-range/style.css +2 -2
  241. package/lib/molecule/questions/template/style.css +1 -1
  242. package/lib/molecule/resource-player/style.css +1 -1
  243. package/lib/molecule/scope-content/style.css +6 -6
  244. package/lib/molecule/scope-tabs/style.css +1 -1
  245. package/lib/molecule/select-multiple/style.css +2 -2
  246. package/lib/molecule/setup-cohort-item/style.css +1 -1
  247. package/lib/molecule/setup-section/index.js +2 -21
  248. package/lib/molecule/setup-section/index.js.map +1 -1
  249. package/lib/molecule/setup-section/style.css +3 -28
  250. package/lib/molecule/setup-sections/index.js +3 -55
  251. package/lib/molecule/setup-sections/index.js.map +1 -1
  252. package/lib/molecule/setup-sections/style.css +0 -52
  253. package/lib/molecule/setup-sections/test/on-drop.js +1 -1
  254. package/lib/molecule/setup-sections/test/on-drop.js.map +1 -1
  255. package/lib/molecule/share/style.css +3 -3
  256. package/lib/molecule/ssmenu-list/style.css +1 -1
  257. package/lib/molecule/table/style.css +5 -5
  258. package/lib/molecule/teams-popin/style.css +2 -2
  259. package/lib/molecule/titled-checkbox/style.css +1 -1
  260. package/lib/molecule/video-player/jwplayer.css +1 -1
  261. package/lib/molecule/wizard-summary/index.js +5 -5
  262. package/lib/molecule/wizard-summary/index.js.map +1 -1
  263. package/lib/organism/accordion/part/style.css +1 -1
  264. package/lib/organism/brand-analytics/analytics-popin.css +1 -0
  265. package/lib/organism/brand-analytics/style.css +1 -1
  266. package/lib/organism/brand-table/style.css +2 -2
  267. package/lib/organism/brand-upload/style.css +2 -2
  268. package/lib/organism/discussion/style.css +1 -1
  269. package/lib/organism/get-the-app/style.css +1 -1
  270. package/lib/organism/hero/style.css +1 -1
  271. package/lib/organism/mooc-footer/style.css +2 -2
  272. package/lib/organism/mooc-header/style.css +8 -8
  273. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  274. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  275. package/lib/organism/popin/style.css +1 -0
  276. package/lib/organism/sidebar/style.css +2 -2
  277. package/lib/organism/user-preferences/style.css +1 -1
  278. package/lib/template/activity/engine-stars.css +3 -3
  279. package/lib/template/activity/progression-item.css +5 -4
  280. package/lib/template/activity/stars-summary.css +2 -2
  281. package/lib/template/activity/style.css +3 -3
  282. package/lib/template/app-player/player/slides/footer/style.css +1 -1
  283. package/lib/template/app-player/player/slides/header/learner.css +4 -4
  284. package/lib/template/app-player/player/slides/header/microlearning.css +1 -1
  285. package/lib/template/app-player/player/slides/style.css +9 -8
  286. package/lib/template/app-player/popin-correction/style.css +3 -3
  287. package/lib/template/app-player/popin-end/summary.css +4 -4
  288. package/lib/template/app-player/popin-end/test/fixtures.js +3 -0
  289. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  290. package/lib/template/app-player/popin-header/style.css +5 -5
  291. package/lib/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  292. package/lib/template/back-office/dashboard-preview/style.css +1 -1
  293. package/lib/template/cockpit/jw-uploader/style.css +1 -0
  294. package/lib/template/common/authors/style.css +5 -4
  295. package/lib/template/common/layout.css +1 -1
  296. package/lib/template/common/search-page/style.css +2 -1
  297. package/lib/template/external-course/style.css +1 -1
  298. package/lib/variables/fonts.css +1 -1
  299. package/package.json +2 -2
  300. package/es/molecule/cockpit-popin/test/fixtures.js +0 -17
  301. package/es/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  302. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -28
  303. package/lib/molecule/cockpit-popin/test/fixtures.js.map +0 -1
@@ -30,11 +30,11 @@
30
30
  position: relative;
31
31
  flex-grow: 0;
32
32
  margin-right: 20px;
33
- font-family: "Open Sans";
33
+ font-family: "Gilroy";
34
34
  }
35
35
 
36
36
  .title {
37
- font-family: "Open Sans";
37
+ font-family: "Gilroy";
38
38
  font-size: 15px;
39
39
  text-transform: none;
40
40
  color: dark;
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  .default select {
58
- font-family: "Open Sans";
58
+ font-family: "Gilroy";
59
59
  text-transform: none;
60
60
  padding: 0 15px;
61
61
  border: solid 2px light;
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  .modified select {
74
- font-family: "Open Sans";
74
+ font-family: "Gilroy";
75
75
  text-transform: none;
76
76
  padding: 0 15px;
77
77
  border: solid 2px orange;
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  .description {
94
- font-family: 'Open Sans';
94
+ font-family: 'Gilroy';
95
95
  font-weight: 500;
96
96
  font-size: 12px;
97
97
  color: medium;
@@ -209,7 +209,7 @@
209
209
  }
210
210
 
211
211
  .no-label select {
212
- font-family: "Open Sans";
212
+ font-family: "Gilroy";
213
213
  text-transform: none;
214
214
  padding: 0 15px;
215
215
  height: 44px;
@@ -392,7 +392,7 @@
392
392
  background-color: light;
393
393
  border: 0;
394
394
  font-weight: 700;
395
- font-family: 'Open Sans';
395
+ font-family: 'Gilroy';
396
396
  color: dark;
397
397
  padding: 0 30px 0 15px;
398
398
  width: 150px;
@@ -47,7 +47,7 @@
47
47
 
48
48
  .subtitle,
49
49
  .title {
50
- font-family: 'Open Sans';
50
+ font-family: 'Gilroy';
51
51
  text-shadow: 0 0 4px rgba(61, 61, 61, 0.37);
52
52
  }
53
53
 
@@ -14,7 +14,7 @@
14
14
  display: flex;
15
15
  align-items: center;
16
16
  margin: 15px 0;
17
- font-family: Open Sans, sans-serif;
17
+ font-family: Gilroy;
18
18
  font-weight: bold;
19
19
  font-size: 13px;
20
20
  overflow: inherit;
@@ -28,7 +28,7 @@
28
28
  text-transform: inherit;
29
29
  background-color: xtraLightGrey;
30
30
  color: dark;
31
- font-family: Open Sans, sans-serif;
31
+ font-family: Gilroy;
32
32
  font-weight: 600;
33
33
  font-size: 13px;
34
34
  text-decoration: none;
@@ -74,7 +74,7 @@
74
74
  align-items: center;
75
75
  color: white;
76
76
  text-align: center;
77
- font-family: Open Sans, sans-serif;
77
+ font-family: Gilroy;
78
78
  font-weight: bold;
79
79
  font-size: 13px;
80
80
  box-shadow: 0 -1px 20px 0 rgba(0, 0, 0, 0.25);
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  .description {
48
- font-family: 'Open Sans';
48
+ font-family: 'Gilroy';
49
49
  font-weight: 600;
50
50
  text-align: center;
51
51
  font-size: 12px;
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  .name {
44
- font-family: 'Open Sans';
44
+ font-family: 'Gilroy';
45
45
  font-size: 14px;
46
46
  font-weight: 700;
47
47
  text-align: left;
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  .disciplineName {
68
- font-family: 'Open Sans';
68
+ font-family: 'Gilroy';
69
69
  font-size: 12px;
70
70
  font-weight: 700;
71
71
  text-align: left;
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .level {
79
- font-family: 'Open Sans';
79
+ font-family: 'Gilroy';
80
80
  color: white;
81
81
  background-color: dark;
82
82
  text-transform: uppercase;
@@ -90,7 +90,7 @@
90
90
  margin-left: 20px;
91
91
  font-size: 14px;
92
92
  line-height: 20px;
93
- font-family: 'Open Sans';
93
+ font-family: 'Gilroy';
94
94
  font-weight: 600;
95
95
  color: dark;
96
96
  }
@@ -19,7 +19,7 @@
19
19
 
20
20
  .description {
21
21
  text-align: center;
22
- font-family: 'Open Sans';
22
+ font-family: 'Gilroy';
23
23
  font-weight: 100;
24
24
  font-size: 15px;
25
25
  display: block;
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  .information h3 {
68
- font-family: 'Open Sans';
68
+ font-family: 'Gilroy';
69
69
  font-weight: 700;
70
70
  font-size: 15px;
71
71
  color: dark;
@@ -89,7 +89,7 @@
89
89
  }
90
90
 
91
91
  .link a {
92
- font-family: 'Open Sans';
92
+ font-family: 'Gilroy';
93
93
  color: medium;
94
94
  font-weight: 600;
95
95
  font-size: 15px;
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
  .edit a {
88
- font-family: 'Open Sans';
88
+ font-family: 'Gilroy';
89
89
  font-weight: 700;
90
90
  font-size: 15px;
91
91
  text-decoration: none;
@@ -44,7 +44,7 @@
44
44
  }
45
45
 
46
46
  .header h1 {
47
- font-family: 'Open Sans';
47
+ font-family: 'Gilroy';
48
48
  font-weight: 700;
49
49
  font-size: 17px;
50
50
  color: dark;
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .content h2 {
61
- font-family: 'Open Sans';
61
+ font-family: 'Gilroy';
62
62
  font-weight: 700;
63
63
  font-size: 17px;
64
64
  color: dark;
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  .description {
69
- font-family: 'Open Sans';
69
+ font-family: 'Gilroy';
70
70
  font-weight: 500;
71
71
  font-size: 15px;
72
72
  color: medium;
@@ -82,14 +82,14 @@
82
82
  }
83
83
 
84
84
  .default label {
85
- font-family: 'Open Sans';
85
+ font-family: 'Gilroy';
86
86
  font-weight: 600;
87
87
  font-size: 18px;
88
88
  color: medium;
89
89
  }
90
90
 
91
91
  .default input {
92
- font-family: "Open Sans";
92
+ font-family: "Gilroy";
93
93
  text-transform: none;
94
94
  padding: 0 15px;
95
95
  border: solid 2px light;
@@ -112,7 +112,7 @@
112
112
  }
113
113
 
114
114
  .wait {
115
- font-family: 'Open Sans';
115
+ font-family: 'Gilroy';
116
116
  font-size: 14px;
117
117
  color: medium;
118
118
  margin-bottom: 40px;
@@ -31,7 +31,7 @@
31
31
  .warning,
32
32
  .title {
33
33
  margin-left: 10px;
34
- font-family: 'Open Sans';
34
+ font-family: 'Gilroy';
35
35
  font-weight: 600;
36
36
  font-size: 13px;
37
37
  }
@@ -42,7 +42,7 @@
42
42
 
43
43
  .description {
44
44
  font-style: italic;
45
- font-family: 'Open Sans';
45
+ font-family: 'Gilroy';
46
46
  font-weight: 400;
47
47
  font-size: 13px;
48
48
  }
@@ -48,7 +48,7 @@
48
48
  .tab a {
49
49
  display: block;
50
50
  line-height: 72px;
51
- font-family: 'Open Sans';
51
+ font-family: 'Gilroy';
52
52
  font-size: 17px;
53
53
  font-weight: 700;
54
54
  color: medium;
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  .desc {
58
- font-family: 'Open Sans';
58
+ font-family: 'Gilroy';
59
59
  font-weight: 600;
60
60
  font-size: 17px;
61
61
  color: dark;
@@ -63,7 +63,7 @@
63
63
 
64
64
  .browse {
65
65
  margin-top: 10px;
66
- font-family: 'Open Sans';
66
+ font-family: 'Gilroy';
67
67
  font-weight: 600;
68
68
  font-size: 17px;
69
69
  color: brand;
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  .breadcrumb a {
30
- font-family: 'Open Sans';
30
+ font-family: 'Gilroy';
31
31
  font-weight: 700;
32
32
  font-size: 17px;
33
33
  color: medium;
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .breadcrumb span {
38
- font-family: 'Open Sans';
38
+ font-family: 'Gilroy';
39
39
  font-weight: 700;
40
40
  font-size: 17px;
41
41
  color: dark;
@@ -61,7 +61,7 @@
61
61
  }
62
62
 
63
63
  .link > * {
64
- font-family: 'Open Sans';
64
+ font-family: 'Gilroy';
65
65
  font-size: 15px;
66
66
  line-height: 52px;
67
67
  color: white;
@@ -8,7 +8,7 @@
8
8
  flex-wrap: wrap;
9
9
  justify-content: center;
10
10
  width: 100%;
11
- font-family: 'Open Sans';
11
+ font-family: 'Gilroy';
12
12
  box-sizing: border-box;
13
13
  text-align: center;
14
14
  color: white;
@@ -80,7 +80,7 @@
80
80
  display: block;
81
81
  word-wrap: break-word;
82
82
  padding: 3px 10px 5px;
83
- font-family: "Open Sans";
83
+ font-family: "Gilroy";
84
84
  font-size: 12px;
85
85
  font-weight: bold;
86
86
  }
@@ -58,7 +58,7 @@
58
58
  user-select: none;
59
59
  line-height: 16px;
60
60
  font-size: 14px;
61
- font-family: 'Open Sans';
61
+ font-family: 'Gilroy';
62
62
  text-align: center;
63
63
  }
64
64
 
@@ -224,7 +224,7 @@
224
224
  padding: 3px 11px;
225
225
  top: 0;
226
226
  left: 0;
227
- font-family: 'Open Sans';
227
+ font-family: 'Gilroy';
228
228
  text-transform: uppercase;
229
229
  font-size: 8px;
230
230
  font-weight: bold;
@@ -16,6 +16,8 @@ var _arabic = _interopRequireDefault(require("./fixtures/arabic"));
16
16
 
17
17
  var _article = _interopRequireDefault(require("./fixtures/article"));
18
18
 
19
+ var _coorpmanager = _interopRequireDefault(require("./fixtures/coorpmanager"));
20
+
19
21
  var _default = _interopRequireDefault(require("./fixtures/default"));
20
22
 
21
23
  var _disabled = _interopRequireDefault(require("./fixtures/disabled"));
@@ -52,6 +54,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
52
54
  (0, _ava.default)('Molecule › MoleculeCard › Adaptiv › should be rendered', _renderComponent.default, _.default, _adaptiv.default);
53
55
  (0, _ava.default)('Molecule › MoleculeCard › Arabic › should be rendered', _renderComponent.default, _.default, _arabic.default);
54
56
  (0, _ava.default)('Molecule › MoleculeCard › Article › should be rendered', _renderComponent.default, _.default, _article.default);
57
+ (0, _ava.default)('Molecule › MoleculeCard › Coorpmanager › should be rendered', _renderComponent.default, _.default, _coorpmanager.default);
55
58
  (0, _ava.default)('Molecule › MoleculeCard › Default › should be rendered', _renderComponent.default, _.default, _default.default);
56
59
  (0, _ava.default)('Molecule › MoleculeCard › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
57
60
  (0, _ava.default)('Molecule › MoleculeCard › Empty › should be rendered', _renderComponent.default, _.default, _empty.default);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["t","pass","MoleculeCard","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureSelectableFalse","fixtureSelectableTrue","fixtureVideo"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,uDAAL,EAA8DA,CAAC,IAAI;AACjEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAaC,SAArB,EAAgC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC9CL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iDAAgDF,GAAI,mEAA7E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,mEAAL,EAA0EG,wBAA1E,EAAgGN,SAAhG,EAA8GO,2BAA9G;AACA,kBAAK,wDAAL,EAA+DD,wBAA/D,EAAqFN,SAArF,EAAmGQ,gBAAnG;AACA,kBAAK,uDAAL,EAA8DF,wBAA9D,EAAoFN,SAApF,EAAkGS,eAAlG;AACA,kBAAK,wDAAL,EAA+DH,wBAA/D,EAAqFN,SAArF,EAAmGU,gBAAnG;AACA,kBAAK,wDAAL,EAA+DJ,wBAA/D,EAAqFN,SAArF,EAAmGW,gBAAnG;AACA,kBAAK,yDAAL,EAAgEL,wBAAhE,EAAsFN,SAAtF,EAAoGY,iBAApG;AACA,kBAAK,sDAAL,EAA6DN,wBAA7D,EAAmFN,SAAnF,EAAiGa,cAAjG;AACA,kBAAK,gEAAL,EAAuEP,wBAAvE,EAA6FN,SAA7F,EAA2Gc,wBAA3G;AACA,kBAAK,yDAAL,EAAgER,wBAAhE,EAAsFN,SAAtF,EAAoGe,iBAApG;AACA,kBAAK,mEAAL,EAA0ET,wBAA1E,EAAgGN,SAAhG,EAA8GgB,2BAA9G;AACA,kBAAK,wDAAL,EAA+DV,wBAA/D,EAAqFN,SAArF,EAAmGiB,gBAAnG;AACA,kBAAK,wDAAL,EAA+DX,wBAA/D,EAAqFN,SAArF,EAAmGkB,gBAAnG;AACA,kBAAK,sDAAL,EAA6DZ,wBAA7D,EAAmFN,SAAnF,EAAiGmB,cAAjG;AACA,kBAAK,gEAAL,EAAuEb,wBAAvE,EAA6FN,SAA7F,EAA2GoB,wBAA3G;AACA,kBAAK,+DAAL,EAAsEd,wBAAtE,EAA4FN,SAA5F,EAA0GqB,uBAA1G;AACA,kBAAK,sDAAL,EAA6Df,wBAA7D,EAAmFN,SAAnF,EAAiGsB,cAAjG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCard from '..';\nimport fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';\nimport fixtureAdaptiv from './fixtures/adaptiv';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalContent from './fixtures/external-content';\nimport fixtureFavorite from './fixtures/favorite';\nimport fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';\nimport fixtureFreerun from './fixtures/freerun';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureScorm from './fixtures/scorm';\nimport fixtureSelectableFalse from './fixtures/selectable-false';\nimport fixtureSelectableTrue from './fixtures/selectable-true';\nimport fixtureVideo from './fixtures/video';\n\ntest('Molecule › MoleculeCard > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptivAndDisabled);\ntest('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);\ntest('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);\ntest('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);\ntest('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);\ntest('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);\ntest('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);\ntest('Molecule › MoleculeCard › ExternalContent › should be rendered', renderComponentMacro, MoleculeCard, fixtureExternalContent);\ntest('Molecule › MoleculeCard › Favorite › should be rendered', renderComponentMacro, MoleculeCard, fixtureFavorite);\ntest('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerunAndDisabled);\ntest('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);\ntest('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);\ntest('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);\ntest('Molecule › MoleculeCard › SelectableFalse › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableFalse);\ntest('Molecule › MoleculeCard › SelectableTrue › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableTrue);\ntest('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["t","pass","MoleculeCard","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureCoorpmanager","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureSelectableFalse","fixtureSelectableTrue","fixtureVideo"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,uDAAL,EAA8DA,CAAC,IAAI;AACjEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAaC,SAArB,EAAgC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC9CL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iDAAgDF,GAAI,mEAA7E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,mEAAL,EAA0EG,wBAA1E,EAAgGN,SAAhG,EAA8GO,2BAA9G;AACA,kBAAK,wDAAL,EAA+DD,wBAA/D,EAAqFN,SAArF,EAAmGQ,gBAAnG;AACA,kBAAK,uDAAL,EAA8DF,wBAA9D,EAAoFN,SAApF,EAAkGS,eAAlG;AACA,kBAAK,wDAAL,EAA+DH,wBAA/D,EAAqFN,SAArF,EAAmGU,gBAAnG;AACA,kBAAK,6DAAL,EAAoEJ,wBAApE,EAA0FN,SAA1F,EAAwGW,qBAAxG;AACA,kBAAK,wDAAL,EAA+DL,wBAA/D,EAAqFN,SAArF,EAAmGY,gBAAnG;AACA,kBAAK,yDAAL,EAAgEN,wBAAhE,EAAsFN,SAAtF,EAAoGa,iBAApG;AACA,kBAAK,sDAAL,EAA6DP,wBAA7D,EAAmFN,SAAnF,EAAiGc,cAAjG;AACA,kBAAK,gEAAL,EAAuER,wBAAvE,EAA6FN,SAA7F,EAA2Ge,wBAA3G;AACA,kBAAK,yDAAL,EAAgET,wBAAhE,EAAsFN,SAAtF,EAAoGgB,iBAApG;AACA,kBAAK,mEAAL,EAA0EV,wBAA1E,EAAgGN,SAAhG,EAA8GiB,2BAA9G;AACA,kBAAK,wDAAL,EAA+DX,wBAA/D,EAAqFN,SAArF,EAAmGkB,gBAAnG;AACA,kBAAK,wDAAL,EAA+DZ,wBAA/D,EAAqFN,SAArF,EAAmGmB,gBAAnG;AACA,kBAAK,sDAAL,EAA6Db,wBAA7D,EAAmFN,SAAnF,EAAiGoB,cAAjG;AACA,kBAAK,gEAAL,EAAuEd,wBAAvE,EAA6FN,SAA7F,EAA2GqB,wBAA3G;AACA,kBAAK,+DAAL,EAAsEf,wBAAtE,EAA4FN,SAA5F,EAA0GsB,uBAA1G;AACA,kBAAK,sDAAL,EAA6DhB,wBAA7D,EAAmFN,SAAnF,EAAiGuB,cAAjG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCard from '..';\nimport fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';\nimport fixtureAdaptiv from './fixtures/adaptiv';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureCoorpmanager from './fixtures/coorpmanager';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalContent from './fixtures/external-content';\nimport fixtureFavorite from './fixtures/favorite';\nimport fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';\nimport fixtureFreerun from './fixtures/freerun';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureScorm from './fixtures/scorm';\nimport fixtureSelectableFalse from './fixtures/selectable-false';\nimport fixtureSelectableTrue from './fixtures/selectable-true';\nimport fixtureVideo from './fixtures/video';\n\ntest('Molecule › MoleculeCard > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptivAndDisabled);\ntest('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);\ntest('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);\ntest('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);\ntest('Molecule › MoleculeCard › Coorpmanager › should be rendered', renderComponentMacro, MoleculeCard, fixtureCoorpmanager);\ntest('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);\ntest('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);\ntest('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);\ntest('Molecule › MoleculeCard › ExternalContent › should be rendered', renderComponentMacro, MoleculeCard, fixtureExternalContent);\ntest('Molecule › MoleculeCard › Favorite › should be rendered', renderComponentMacro, MoleculeCard, fixtureFavorite);\ntest('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerunAndDisabled);\ntest('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);\ntest('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);\ntest('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);\ntest('Molecule › MoleculeCard › SelectableFalse › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableFalse);\ntest('Molecule › MoleculeCard › SelectableTrue › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableTrue);\ntest('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);\n"],"file":"fixtures.js"}
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .microLearninglabel {
51
- font-family: 'Open Sans';
51
+ font-family: 'Gilroy';
52
52
  font-size: 10px;
53
53
  font-weight: 800;
54
54
  color: lightBlack;
@@ -74,7 +74,7 @@
74
74
  margin-top: 5px;
75
75
  font-size: 17px;
76
76
  letter-spacing: 0;
77
- font-family: 'Open Sans';
77
+ font-family: 'Gilroy';
78
78
  overflow: hidden;
79
79
  user-select: none;
80
80
  }
@@ -103,7 +103,7 @@
103
103
  align-items: center;
104
104
  font-size: 12px;
105
105
  width: 100%;
106
- font-family: 'Open Sans';
106
+ font-family: 'Gilroy';
107
107
  white-space: nowrap;
108
108
  overflow: hidden;
109
109
  text-overflow: ellipsis;
@@ -231,7 +231,7 @@
231
231
  }
232
232
 
233
233
  .contentTypeInfo {
234
- font-family: 'Open Sans';
234
+ font-family: 'Gilroy';
235
235
  font-size: 10px;
236
236
  font-weight: 700;
237
237
  }
@@ -105,7 +105,7 @@
105
105
  .lightButton{
106
106
  display: inline-block;
107
107
  box-sizing: border-box;
108
- font-family: 'Open Sans';
108
+ font-family: 'Gilroy';
109
109
  font-size: 13px;
110
110
  font-weight: 600;
111
111
  text-decoration: none;
@@ -129,7 +129,7 @@
129
129
 
130
130
  .level {
131
131
  text-align: center;
132
- font-family: 'Open Sans';
132
+ font-family: 'Gilroy';
133
133
  border: solid 1px #ffffff;
134
134
  color: white;
135
135
  padding: 0px 15px;
@@ -25,7 +25,7 @@
25
25
  display: flex;
26
26
  align-items: center;
27
27
  position: fixed;
28
- font-family: 'Open Sans';
28
+ font-family: 'Gilroy';
29
29
  top: 0;
30
30
  left: 0;
31
31
  right: 0;
@@ -49,7 +49,7 @@
49
49
  }
50
50
 
51
51
  .link {
52
- font-family: 'Open Sans';
52
+ font-family: 'Gilroy';
53
53
  font-weight: 600;
54
54
  font-size: 15px;
55
55
  text-decoration: none;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _cardImagePreview = _interopRequireDefault(require("../../atom/card-image-preview"));
11
+
12
+ var _contentBadge = _interopRequireDefault(require("../../atom/content-badge"));
13
+
14
+ var _style = _interopRequireDefault(require("./style.css"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+
18
+ const CourseSection = props => {
19
+ const {
20
+ image,
21
+ contentBadge: {
22
+ category,
23
+ label
24
+ },
25
+ title,
26
+ author,
27
+ position,
28
+ 'aria-label': {
29
+ title: ariaLabelTitle,
30
+ author: ariaLabelAuthor
31
+ }
32
+ } = props;
33
+ return /*#__PURE__*/_react.default.createElement("div", {
34
+ className: _style.default.container,
35
+ "aria-label": ariaLabelTitle,
36
+ "data-name": `course-section-${position}`
37
+ }, /*#__PURE__*/_react.default.createElement("span", {
38
+ className: _style.default.position
39
+ }, position), /*#__PURE__*/_react.default.createElement("div", {
40
+ className: _style.default.containerImage
41
+ }, /*#__PURE__*/_react.default.createElement(_cardImagePreview.default, {
42
+ image: image
43
+ })), /*#__PURE__*/_react.default.createElement("div", {
44
+ className: _style.default.containerInfos
45
+ }, /*#__PURE__*/_react.default.createElement("div", {
46
+ className: _style.default.containerMainInfos
47
+ }, /*#__PURE__*/_react.default.createElement(_contentBadge.default, {
48
+ className: _style.default.contentBadge,
49
+ category: category,
50
+ label: label
51
+ }), /*#__PURE__*/_react.default.createElement("div", {
52
+ className: _style.default.title
53
+ }, title)), /*#__PURE__*/_react.default.createElement("span", {
54
+ className: _style.default.author,
55
+ "aria-label": ariaLabelAuthor
56
+ }, author)));
57
+ };
58
+
59
+ CourseSection.propTypes = process.env.NODE_ENV !== "production" ? {
60
+ 'aria-label': _propTypes.default.shape({
61
+ title: _propTypes.default.string,
62
+ author: _propTypes.default.string
63
+ }),
64
+ image: _propTypes.default.string,
65
+ contentBadge: _propTypes.default.shape(_contentBadge.default.propTypes),
66
+ title: _propTypes.default.string,
67
+ author: _propTypes.default.string,
68
+ position: _propTypes.default.number
69
+ } : {};
70
+ var _default = CourseSection;
71
+ exports.default = _default;
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/course-section/index.js"],"names":["CourseSection","props","image","contentBadge","category","label","title","author","position","ariaLabelTitle","ariaLabelAuthor","style","container","containerImage","containerInfos","containerMainInfos","propTypes","PropTypes","shape","string","ContentBadge","number"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,aAAa,GAAGC,KAAK,IAAI;AAC7B,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,YAAY,EAAE;AAACC,MAAAA,QAAD;AAAWC,MAAAA;AAAX,KAFV;AAGJC,IAAAA,KAHI;AAIJC,IAAAA,MAJI;AAKJC,IAAAA,QALI;AAMJ,kBAAc;AAACF,MAAAA,KAAK,EAAEG,cAAR;AAAwBF,MAAAA,MAAM,EAAEG;AAAhC;AANV,MAOFT,KAPJ;AAQA,sBACE;AACE,IAAA,SAAS,EAAEU,eAAMC,SADnB;AAEE,kBAAYH,cAFd;AAGE,iBAAY,kBAAiBD,QAAS;AAHxC,kBAKE;AAAM,IAAA,SAAS,EAAEG,eAAMH;AAAvB,KAAkCA,QAAlC,CALF,eAME;AAAK,IAAA,SAAS,EAAEG,eAAME;AAAtB,kBACE,6BAAC,yBAAD;AAAkB,IAAA,KAAK,EAAEX;AAAzB,IADF,CANF,eASE;AAAK,IAAA,SAAS,EAAES,eAAMG;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEH,eAAMI;AAAtB,kBACE,6BAAC,qBAAD;AAAc,IAAA,SAAS,EAAEJ,eAAMR,YAA/B;AAA6C,IAAA,QAAQ,EAAEC,QAAvD;AAAiE,IAAA,KAAK,EAAEC;AAAxE,IADF,eAEE;AAAK,IAAA,SAAS,EAAEM,eAAML;AAAtB,KAA8BA,KAA9B,CAFF,CADF,eAKE;AAAM,IAAA,SAAS,EAAEK,eAAMJ,MAAvB;AAA+B,kBAAYG;AAA3C,KACGH,MADH,CALF,CATF,CADF;AAqBD,CA9BD;;AAgCAP,aAAa,CAACgB,SAAd,2CAA0B;AACxB,gBAAcC,mBAAUC,KAAV,CAAgB;AAC5BZ,IAAAA,KAAK,EAAEW,mBAAUE,MADW;AAE5BZ,IAAAA,MAAM,EAAEU,mBAAUE;AAFU,GAAhB,CADU;AAKxBjB,EAAAA,KAAK,EAAEe,mBAAUE,MALO;AAMxBhB,EAAAA,YAAY,EAAEc,mBAAUC,KAAV,CAAgBE,sBAAaJ,SAA7B,CANU;AAOxBV,EAAAA,KAAK,EAAEW,mBAAUE,MAPO;AAQxBZ,EAAAA,MAAM,EAAEU,mBAAUE,MARM;AASxBX,EAAAA,QAAQ,EAAES,mBAAUI;AATI,CAA1B;eAYerB,a","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport ContentBadge from '../../atom/content-badge';\nimport style from './style.css';\n\nconst CourseSection = props => {\n const {\n image,\n contentBadge: {category, label},\n title,\n author,\n position,\n 'aria-label': {title: ariaLabelTitle, author: ariaLabelAuthor}\n } = props;\n return (\n <div\n className={style.container}\n aria-label={ariaLabelTitle}\n data-name={`course-section-${position}`}\n >\n <span className={style.position}>{position}</span>\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n <div className={style.containerInfos}>\n <div className={style.containerMainInfos}>\n <ContentBadge className={style.contentBadge} category={category} label={label} />\n <div className={style.title}>{title}</div>\n </div>\n <span className={style.author} aria-label={ariaLabelAuthor}>\n {author}\n </span>\n </div>\n </div>\n );\n};\n\nCourseSection.propTypes = {\n 'aria-label': PropTypes.shape({\n title: PropTypes.string,\n author: PropTypes.string\n }),\n image: PropTypes.string,\n contentBadge: PropTypes.shape(ContentBadge.propTypes),\n title: PropTypes.string,\n author: PropTypes.string,\n position: PropTypes.number\n};\n\nexport default CourseSection;\n"],"file":"index.js"}
@@ -0,0 +1,65 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value cm_grey_50 from colors;
3
+ @value cm_grey_900 from colors;
4
+ @value cm_grey_500 from colors;
5
+ @value cm_grey_400 from colors;
6
+
7
+ .container {
8
+ align-items: center;
9
+ background-color: cm_grey_50;
10
+ border-radius: 7px;
11
+ display: flex;
12
+ font-size: 14px;
13
+ justify-content: start;
14
+ margin-top: 8px;
15
+ padding: 8px 16px;
16
+ }
17
+
18
+ .containerInfos {
19
+ margin-left: 16px;
20
+ overflow: hidden;
21
+ }
22
+
23
+ .containerMainInfos {
24
+ display: flex;
25
+ align-items: center;
26
+ }
27
+
28
+ .title {
29
+ color: cm_grey_900;
30
+ line-height: 22px;
31
+ font-family: Gilroy;
32
+ font-size: 16px;
33
+ font-weight: bold;
34
+ margin-left: 4px;
35
+ overflow:hidden;
36
+ white-space:nowrap;
37
+ display:inline-block;
38
+ text-overflow:ellipsis;
39
+ }
40
+
41
+ .author {
42
+ color: cm_grey_500;
43
+ display: block;
44
+ font-family: Gilroy;
45
+ line-height: 20px;
46
+ }
47
+
48
+ .position {
49
+ color: cm_grey_400;
50
+ font-family: Gilroy;
51
+ font-weight: 600;
52
+ line-height: 20px;
53
+ margin: 0 12px 0 14px;
54
+ }
55
+
56
+ .contentBadge {
57
+ font-size: 8px;
58
+ font-weight: bold;
59
+ line-height: 10px;;
60
+ }
61
+
62
+ .containerImage {
63
+ min-height: 56px;
64
+ min-width: 56px;
65
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ 'aria-label': {
8
+ title: 'aria label title',
9
+ author: 'aria label author'
10
+ },
11
+ title: 'Social networks',
12
+ author: 'Author',
13
+ image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
14
+ contentBadge: {
15
+ label: 'chapter',
16
+ category: 'chapter'
17
+ },
18
+ position: 2
19
+ }
20
+ };
21
+ exports.default = _default;
22
+ //# sourceMappingURL=chapter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/chapter.js"],"names":["props","title","author","image","contentBadge","label","category","position"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EAAE,iBALF;AAMLC,IAAAA,MAAM,EAAE,QANH;AAOLC,IAAAA,KAAK,EACH,4LARG;AASLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,SADK;AAEZC,MAAAA,QAAQ,EAAE;AAFE,KATT;AAaLC,IAAAA,QAAQ,EAAE;AAbL;AADM,C","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'chapter',\n category: 'chapter'\n },\n position: 2\n }\n};\n"],"file":"chapter.js"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ 'aria-label': {
8
+ title: 'aria label title',
9
+ author: 'aria label author'
10
+ },
11
+ title: 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',
12
+ author: 'Author',
13
+ image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
14
+ contentBadge: {
15
+ label: 'course',
16
+ category: 'course'
17
+ },
18
+ position: 1
19
+ }
20
+ };
21
+ exports.default = _default;
22
+ //# sourceMappingURL=course.js.map