@coorpacademy/components 10.4.3-alpha.0 → 10.4.6-alpha.1

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 (295) 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/index.js +35 -0
  4. package/es/atom/card-image-preview/index.js.map +1 -0
  5. package/es/atom/card-image-preview/style.css +34 -0
  6. package/es/atom/card-image-preview/test/fixtures/default.js +6 -0
  7. package/es/atom/card-image-preview/test/fixtures/default.js.map +1 -0
  8. package/es/atom/card-image-preview/test/fixtures/empty.js +4 -0
  9. package/es/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
  10. package/es/atom/catalog-section/style.css +1 -1
  11. package/es/atom/clue/style.css +2 -2
  12. package/es/atom/cta/style.css +1 -1
  13. package/es/atom/difficulty-level/style.css +1 -1
  14. package/es/atom/drag-and-drop/style.css +6 -5
  15. package/es/atom/input-checkbox/style.css +1 -1
  16. package/es/atom/input-doublestep/style.css +5 -5
  17. package/es/atom/input-html/input-preview.css +2 -2
  18. package/es/atom/input-html/style.css +2 -2
  19. package/es/atom/input-readonly/style.css +3 -3
  20. package/es/atom/input-search/style.css +1 -1
  21. package/es/atom/input-switch/style.css +6 -5
  22. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -5
  23. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  24. package/es/atom/input-text/style.css +5 -5
  25. package/es/atom/input-textarea/style.css +5 -5
  26. package/es/atom/life/style.css +1 -1
  27. package/es/atom/notification/style.css +1 -1
  28. package/es/atom/radio-group/item.css +1 -1
  29. package/es/atom/resource-miniature/style.css +1 -1
  30. package/es/atom/select/style.css +7 -7
  31. package/es/atom/slide/style.css +1 -1
  32. package/es/molecule/add-to-my-list/style.css +3 -3
  33. package/es/molecule/audio/style.css +1 -1
  34. package/es/molecule/battle-request/style.css +4 -4
  35. package/es/molecule/brand-card/description.css +1 -1
  36. package/es/molecule/brand-card/style.css +2 -2
  37. package/es/molecule/brand-card-create/style.css +1 -1
  38. package/es/molecule/brand-create-form/style.css +6 -6
  39. package/es/molecule/brand-download-box/style.css +2 -2
  40. package/es/molecule/brand-tabs/style.css +1 -1
  41. package/es/molecule/brand-upload-box/style.css +2 -2
  42. package/es/molecule/breadcrumbs/style.css +3 -3
  43. package/es/molecule/card/customer.css +1 -1
  44. package/es/molecule/card/favorite.css +1 -1
  45. package/es/molecule/card/notification.css +1 -1
  46. package/es/molecule/card/style.css +1 -1
  47. package/es/molecule/card-content/style.css +4 -4
  48. package/es/molecule/card-with-button/style.css +2 -2
  49. package/es/molecule/cookie-banner/style.css +2 -2
  50. package/es/molecule/dashboard/cards-list/style.css +2 -2
  51. package/es/molecule/dashboard/news-list/style.css +2 -2
  52. package/es/molecule/dashboard/start-battle/style.css +4 -4
  53. package/es/molecule/discipline-cta/style.css +2 -2
  54. package/es/molecule/discipline-header/style.css +4 -4
  55. package/es/molecule/discipline-partners/style.css +2 -2
  56. package/es/molecule/drag-and-drop/common.css +1 -1
  57. package/es/molecule/drag-and-drop/overlay.css +1 -1
  58. package/es/molecule/drag-and-drop/style.css +1 -1
  59. package/es/molecule/drag-and-drop/upload-report.css +4 -4
  60. package/es/molecule/external-content-button/style.css +2 -2
  61. package/es/molecule/feedback/style.css +3 -3
  62. package/es/molecule/filters/filters-wapper.css +2 -2
  63. package/es/molecule/filters/style.css +2 -2
  64. package/es/molecule/forum/forum-comment/style.css +1 -1
  65. package/es/molecule/forum/forum-post/style.css +5 -5
  66. package/es/molecule/menu-list/style.css +1 -1
  67. package/es/molecule/message-popin/style.css +2 -2
  68. package/es/molecule/modal/style.css +2 -2
  69. package/es/molecule/module-card/style.css +2 -2
  70. package/es/molecule/news/style.css +3 -3
  71. package/es/molecule/notification-banner/style.css +3 -3
  72. package/es/molecule/pagination/style.css +1 -1
  73. package/es/molecule/payment-form/index.js +2 -2
  74. package/es/molecule/payment-form/index.js.map +1 -1
  75. package/es/molecule/pdf/style.css +2 -2
  76. package/es/molecule/popin/style.css +2 -2
  77. package/es/molecule/progress-bar/style.css +1 -1
  78. package/es/molecule/questions/free-text/style.css +1 -1
  79. package/es/molecule/questions/qcm/style.css +1 -1
  80. package/es/molecule/questions/qcm-drag/style.css +2 -2
  81. package/es/molecule/questions/qcm-graphic/style.css +1 -1
  82. package/es/molecule/questions/question-range/style.css +2 -2
  83. package/es/molecule/questions/template/style.css +1 -1
  84. package/es/molecule/resource-player/style.css +1 -1
  85. package/es/molecule/scope-content/style.css +6 -6
  86. package/es/molecule/scope-tabs/style.css +1 -1
  87. package/es/molecule/select-multiple/style.css +3 -3
  88. package/es/molecule/setup-cohort-item/style.css +1 -1
  89. package/es/molecule/setup-section/style.css +2 -2
  90. package/es/molecule/setup-sections/style.css +1 -1
  91. package/es/molecule/share/style.css +3 -3
  92. package/es/molecule/ssmenu-list/style.css +1 -1
  93. package/es/molecule/table/style.css +5 -5
  94. package/es/molecule/teams-popin/style.css +2 -2
  95. package/es/molecule/titled-checkbox/style.css +1 -1
  96. package/es/molecule/video-player/jwplayer.css +1 -1
  97. package/es/organism/accordion/part/style.css +1 -1
  98. package/es/organism/brand-analytics/analytics-popin.css +1 -0
  99. package/es/organism/brand-analytics/style.css +1 -1
  100. package/es/organism/brand-table/style.css +2 -2
  101. package/es/organism/brand-upload/style.css +2 -2
  102. package/es/organism/content-translation/style.css +2 -2
  103. package/es/organism/course-selection/index.js +9 -2
  104. package/es/organism/course-selection/index.js.map +1 -1
  105. package/es/organism/course-selection/style.css +2 -1
  106. package/es/organism/course-selection/test/fixtures/default.js +2 -2
  107. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  108. package/es/organism/course-selection/test/fixtures/filtered.js +1 -1
  109. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  110. package/es/organism/course-selection/test/fixtures/sorted-selected.js +1 -1
  111. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  112. package/es/organism/course-selection/test/fixtures/switch-activated.js +1 -1
  113. package/es/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
  114. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +1 -1
  115. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  116. package/es/organism/discussion/style.css +1 -1
  117. package/es/organism/get-the-app/style.css +1 -1
  118. package/es/organism/hero/style.css +1 -1
  119. package/es/organism/mooc-footer/style.css +3 -3
  120. package/es/organism/mooc-header/style.css +8 -8
  121. package/es/organism/popin/style.css +1 -0
  122. package/es/organism/sidebar/style.css +2 -2
  123. package/es/organism/user-preferences/style.css +1 -1
  124. package/es/organism/wizard-contents/style.css +1 -1
  125. package/es/template/activity/engine-stars.css +3 -3
  126. package/es/template/activity/progression-item.css +5 -4
  127. package/es/template/activity/stars-summary.css +2 -2
  128. package/es/template/activity/style.css +3 -3
  129. package/es/template/app-player/player/slides/footer/style.css +1 -1
  130. package/es/template/app-player/player/slides/header/learner.css +4 -4
  131. package/es/template/app-player/player/slides/header/microlearning.css +1 -1
  132. package/es/template/app-player/player/slides/style.css +9 -8
  133. package/es/template/app-player/popin-correction/style.css +3 -3
  134. package/es/template/app-player/popin-end/summary.css +4 -4
  135. package/es/template/app-player/popin-end/summary.js +3 -2
  136. package/es/template/app-player/popin-end/summary.js.map +1 -1
  137. package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js +13 -0
  138. package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
  139. package/es/template/app-player/popin-header/style.css +5 -5
  140. package/es/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  141. package/es/template/back-office/dashboard-preview/style.css +1 -1
  142. package/es/template/cockpit/jw-uploader/style.css +1 -0
  143. package/es/template/common/authors/style.css +5 -4
  144. package/es/template/common/layout.css +1 -1
  145. package/es/template/common/search-page/style.css +2 -1
  146. package/es/template/external-course/style.css +1 -1
  147. package/es/variables/fonts.css +1 -1
  148. package/lib/atom/autocomplete/style.css +4 -4
  149. package/lib/atom/button/style.css +1 -1
  150. package/lib/atom/card-image-preview/index.js +47 -0
  151. package/lib/atom/card-image-preview/index.js.map +1 -0
  152. package/lib/atom/card-image-preview/style.css +34 -0
  153. package/lib/atom/card-image-preview/test/fixtures/default.js +11 -0
  154. package/lib/atom/card-image-preview/test/fixtures/default.js.map +1 -0
  155. package/lib/atom/card-image-preview/test/fixtures/empty.js +9 -0
  156. package/lib/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
  157. package/lib/atom/catalog-section/style.css +1 -1
  158. package/lib/atom/clue/style.css +2 -2
  159. package/lib/atom/cta/style.css +1 -1
  160. package/lib/atom/difficulty-level/style.css +1 -1
  161. package/lib/atom/drag-and-drop/style.css +6 -5
  162. package/lib/atom/input-checkbox/style.css +1 -1
  163. package/lib/atom/input-doublestep/style.css +5 -5
  164. package/lib/atom/input-html/input-preview.css +2 -2
  165. package/lib/atom/input-html/style.css +2 -2
  166. package/lib/atom/input-readonly/style.css +3 -3
  167. package/lib/atom/input-search/style.css +1 -1
  168. package/lib/atom/input-switch/style.css +6 -5
  169. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -9
  170. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  171. package/lib/atom/input-text/style.css +5 -5
  172. package/lib/atom/input-textarea/style.css +5 -5
  173. package/lib/atom/life/style.css +1 -1
  174. package/lib/atom/notification/style.css +1 -1
  175. package/lib/atom/radio-group/item.css +1 -1
  176. package/lib/atom/resource-miniature/style.css +1 -1
  177. package/lib/atom/select/style.css +7 -7
  178. package/lib/atom/slide/style.css +1 -1
  179. package/lib/molecule/add-to-my-list/style.css +3 -3
  180. package/lib/molecule/audio/style.css +1 -1
  181. package/lib/molecule/battle-request/style.css +4 -4
  182. package/lib/molecule/brand-card/description.css +1 -1
  183. package/lib/molecule/brand-card/style.css +2 -2
  184. package/lib/molecule/brand-card-create/style.css +1 -1
  185. package/lib/molecule/brand-create-form/style.css +6 -6
  186. package/lib/molecule/brand-download-box/style.css +2 -2
  187. package/lib/molecule/brand-tabs/style.css +1 -1
  188. package/lib/molecule/brand-upload-box/style.css +2 -2
  189. package/lib/molecule/breadcrumbs/style.css +3 -3
  190. package/lib/molecule/card/customer.css +1 -1
  191. package/lib/molecule/card/favorite.css +1 -1
  192. package/lib/molecule/card/notification.css +1 -1
  193. package/lib/molecule/card/style.css +1 -1
  194. package/lib/molecule/card-content/style.css +4 -4
  195. package/lib/molecule/card-with-button/style.css +2 -2
  196. package/lib/molecule/cookie-banner/style.css +2 -2
  197. package/lib/molecule/dashboard/cards-list/style.css +2 -2
  198. package/lib/molecule/dashboard/news-list/style.css +2 -2
  199. package/lib/molecule/dashboard/start-battle/style.css +4 -4
  200. package/lib/molecule/discipline-cta/style.css +2 -2
  201. package/lib/molecule/discipline-header/style.css +4 -4
  202. package/lib/molecule/discipline-partners/style.css +2 -2
  203. package/lib/molecule/drag-and-drop/common.css +1 -1
  204. package/lib/molecule/drag-and-drop/overlay.css +1 -1
  205. package/lib/molecule/drag-and-drop/style.css +1 -1
  206. package/lib/molecule/drag-and-drop/upload-report.css +4 -4
  207. package/lib/molecule/external-content-button/style.css +2 -2
  208. package/lib/molecule/feedback/style.css +3 -3
  209. package/lib/molecule/filters/filters-wapper.css +2 -2
  210. package/lib/molecule/filters/style.css +2 -2
  211. package/lib/molecule/forum/forum-comment/style.css +1 -1
  212. package/lib/molecule/forum/forum-post/style.css +5 -5
  213. package/lib/molecule/menu-list/style.css +1 -1
  214. package/lib/molecule/message-popin/style.css +2 -2
  215. package/lib/molecule/modal/style.css +2 -2
  216. package/lib/molecule/module-card/style.css +2 -2
  217. package/lib/molecule/news/style.css +3 -3
  218. package/lib/molecule/notification-banner/style.css +3 -3
  219. package/lib/molecule/pagination/style.css +1 -1
  220. package/lib/molecule/payment-form/index.js +2 -2
  221. package/lib/molecule/payment-form/index.js.map +1 -1
  222. package/lib/molecule/pdf/style.css +2 -2
  223. package/lib/molecule/popin/style.css +2 -2
  224. package/lib/molecule/progress-bar/style.css +1 -1
  225. package/lib/molecule/questions/free-text/style.css +1 -1
  226. package/lib/molecule/questions/qcm/style.css +1 -1
  227. package/lib/molecule/questions/qcm-drag/style.css +2 -2
  228. package/lib/molecule/questions/qcm-graphic/style.css +1 -1
  229. package/lib/molecule/questions/question-range/style.css +2 -2
  230. package/lib/molecule/questions/template/style.css +1 -1
  231. package/lib/molecule/resource-player/style.css +1 -1
  232. package/lib/molecule/scope-content/style.css +6 -6
  233. package/lib/molecule/scope-tabs/style.css +1 -1
  234. package/lib/molecule/select-multiple/style.css +3 -3
  235. package/lib/molecule/setup-cohort-item/style.css +1 -1
  236. package/lib/molecule/setup-section/style.css +2 -2
  237. package/lib/molecule/setup-sections/style.css +1 -1
  238. package/lib/molecule/share/style.css +3 -3
  239. package/lib/molecule/ssmenu-list/style.css +1 -1
  240. package/lib/molecule/table/style.css +5 -5
  241. package/lib/molecule/teams-popin/style.css +2 -2
  242. package/lib/molecule/titled-checkbox/style.css +1 -1
  243. package/lib/molecule/video-player/jwplayer.css +1 -1
  244. package/lib/organism/accordion/part/style.css +1 -1
  245. package/lib/organism/brand-analytics/analytics-popin.css +1 -0
  246. package/lib/organism/brand-analytics/style.css +1 -1
  247. package/lib/organism/brand-table/style.css +2 -2
  248. package/lib/organism/brand-upload/style.css +2 -2
  249. package/lib/organism/content-translation/style.css +2 -2
  250. package/lib/organism/course-selection/index.js +9 -2
  251. package/lib/organism/course-selection/index.js.map +1 -1
  252. package/lib/organism/course-selection/style.css +2 -1
  253. package/lib/organism/course-selection/test/fixtures/default.js +2 -2
  254. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  255. package/lib/organism/course-selection/test/fixtures/filtered.js +1 -1
  256. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  257. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +1 -1
  258. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  259. package/lib/organism/course-selection/test/fixtures/switch-activated.js +1 -1
  260. package/lib/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
  261. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +1 -1
  262. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  263. package/lib/organism/discussion/style.css +1 -1
  264. package/lib/organism/get-the-app/style.css +1 -1
  265. package/lib/organism/hero/style.css +1 -1
  266. package/lib/organism/mooc-footer/style.css +3 -3
  267. package/lib/organism/mooc-header/style.css +8 -8
  268. package/lib/organism/popin/style.css +1 -0
  269. package/lib/organism/sidebar/style.css +2 -2
  270. package/lib/organism/user-preferences/style.css +1 -1
  271. package/lib/organism/wizard-contents/style.css +1 -1
  272. package/lib/template/activity/engine-stars.css +3 -3
  273. package/lib/template/activity/progression-item.css +5 -4
  274. package/lib/template/activity/stars-summary.css +2 -2
  275. package/lib/template/activity/style.css +3 -3
  276. package/lib/template/app-player/player/slides/footer/style.css +1 -1
  277. package/lib/template/app-player/player/slides/header/learner.css +4 -4
  278. package/lib/template/app-player/player/slides/header/microlearning.css +1 -1
  279. package/lib/template/app-player/player/slides/style.css +9 -8
  280. package/lib/template/app-player/popin-correction/style.css +3 -3
  281. package/lib/template/app-player/popin-end/summary.css +4 -4
  282. package/lib/template/app-player/popin-end/summary.js +4 -2
  283. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  284. package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js +24 -0
  285. package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
  286. package/lib/template/app-player/popin-header/style.css +5 -5
  287. package/lib/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  288. package/lib/template/back-office/dashboard-preview/style.css +1 -1
  289. package/lib/template/cockpit/jw-uploader/style.css +1 -0
  290. package/lib/template/common/authors/style.css +5 -4
  291. package/lib/template/common/layout.css +1 -1
  292. package/lib/template/common/search-page/style.css +2 -1
  293. package/lib/template/external-course/style.css +1 -1
  294. package/lib/variables/fonts.css +1 -1
  295. package/package.json +2 -2
@@ -20,7 +20,7 @@ var _default = {
20
20
  courses: [_selectableTrue.default.props, _selectableTrue.default.props],
21
21
  switchButton: {
22
22
  type: 'switch',
23
- title: 'Show selected courses only',
23
+ title: 'Show selected only',
24
24
  value: true,
25
25
  onChange: value => console.log(value),
26
26
  titlePosition: 'right',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/switch-activated.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,wBAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CAACC,wBAAaV,KAAd,EAAqBU,wBAAaV,KAAlC,CATJ;AAULW,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZV,MAAAA,KAAK,EAAE,4BAFK;AAGZE,MAAAA,KAAK,EAAE,IAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZS,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAVT;AADM,C","sourcesContent":["import SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'from mass maket to one',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [SelectedCard.props, SelectedCard.props],\n switchButton: {\n type: 'switch',\n title: 'Show selected courses only',\n value: true,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"switch-activated.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/switch-activated.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,wBAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CAACC,wBAAaV,KAAd,EAAqBU,wBAAaV,KAAlC,CATJ;AAULW,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZV,MAAAA,KAAK,EAAE,oBAFK;AAGZE,MAAAA,KAAK,EAAE,IAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZS,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAVT;AADM,C","sourcesContent":["import SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'from mass maket to one',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [SelectedCard.props, SelectedCard.props],\n switchButton: {\n type: 'switch',\n title: 'Show selected only',\n value: true,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"switch-activated.js"}
@@ -40,7 +40,7 @@ var _default = {
40
40
  })],
41
41
  switchButton: {
42
42
  type: 'switch',
43
- title: 'Show selected courses only',
43
+ title: 'Show selected only',
44
44
  value: false,
45
45
  onChange: value => console.log(value),
46
46
  titlePosition: 'right',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/unsorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","UnSelectedCard","Article","isSelected","Scorm","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,EAEPW,yBAAeX,KAFR,wBAGHY,iBAAQZ,KAHL;AAGYa,MAAAA,UAAU,EAAE;AAHxB,QAIPH,wBAAaV,KAJN,wBAKHc,eAAMd,KALH;AAKUa,MAAAA,UAAU,EAAE;AALtB,8BAMHF,yBAAeX,KANZ;AAMmBa,MAAAA,UAAU,EAAE;AAN/B,8BAOHE,yBAAgBf,KAPb;AAOoBa,MAAAA,UAAU,EAAE;AAPhC,8BAQHC,eAAMd,KARH;AAQUa,MAAAA,UAAU,EAAE;AARtB,OATJ;AAmBLG,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZf,MAAAA,KAAK,EAAE,4BAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZc,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAnBT;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\nimport ExternalContent from '../../../../molecule/card/test/fixtures/external-content';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n SelectedCard.props,\n UnSelectedCard.props,\n {...Article.props, isSelected: false},\n SelectedCard.props,\n {...Scorm.props, isSelected: true},\n {...UnSelectedCard.props, isSelected: false},\n {...ExternalContent.props, isSelected: false},\n {...Scorm.props, isSelected: false}\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected courses only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"unsorted-selected.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/unsorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","UnSelectedCard","Article","isSelected","Scorm","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,EAEPW,yBAAeX,KAFR,wBAGHY,iBAAQZ,KAHL;AAGYa,MAAAA,UAAU,EAAE;AAHxB,QAIPH,wBAAaV,KAJN,wBAKHc,eAAMd,KALH;AAKUa,MAAAA,UAAU,EAAE;AALtB,8BAMHF,yBAAeX,KANZ;AAMmBa,MAAAA,UAAU,EAAE;AAN/B,8BAOHE,yBAAgBf,KAPb;AAOoBa,MAAAA,UAAU,EAAE;AAPhC,8BAQHC,eAAMd,KARH;AAQUa,MAAAA,UAAU,EAAE;AARtB,OATJ;AAmBLG,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZf,MAAAA,KAAK,EAAE,oBAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZc,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAnBT;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\nimport ExternalContent from '../../../../molecule/card/test/fixtures/external-content';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n SelectedCard.props,\n UnSelectedCard.props,\n {...Article.props, isSelected: false},\n SelectedCard.props,\n {...Scorm.props, isSelected: true},\n {...UnSelectedCard.props, isSelected: false},\n {...ExternalContent.props, isSelected: false},\n {...Scorm.props, isSelected: false}\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"unsorted-selected.js"}
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .thread h1 {
23
- font-family: 'Open Sans';
23
+ font-family: 'Gilroy';
24
24
  font-size: 20px;
25
25
  font-weight: bold;
26
26
  text-align: left;
@@ -14,7 +14,7 @@
14
14
  flex-direction: column;
15
15
  justify-items: center;
16
16
  align-items: center;
17
- font-family: "Open Sans";
17
+ font-family: "Gilroy";
18
18
  background-color: white;
19
19
  margin-bottom: 10px;
20
20
  border-radius: 8px;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .label {
26
- font-family: 'Open Sans';
26
+ font-family: 'Gilroy';
27
27
  font-weight: 700;
28
28
  font-size: 17px;
29
29
  color: white;
@@ -47,7 +47,7 @@
47
47
  line-height: normal;
48
48
  letter-spacing: 1px;
49
49
  color: white;
50
- font-family: "Open Sans";
50
+ font-family: "Gilroy";
51
51
  font-size: 14px;
52
52
  text-transform: uppercase;
53
53
  }
@@ -68,7 +68,7 @@
68
68
  display: flex;
69
69
  flex-wrap: nowrap;
70
70
  flex-direction: row;
71
- font-family: "Open Sans";
71
+ font-family: "Gilroy";
72
72
  background-color: black;
73
73
  }
74
74
 
@@ -137,7 +137,7 @@
137
137
  padding-top: 24px;
138
138
  display: flex;
139
139
  flex-wrap: nowrap;
140
- list-style: non;
140
+ list-style: none;
141
141
  }
142
142
 
143
143
  .socialLink {
@@ -89,7 +89,7 @@
89
89
  padding: 0 20px;
90
90
  cursor: pointer;
91
91
  color: dark;
92
- font-family: 'Open Sans';
92
+ font-family: 'Gilroy';
93
93
  font-size: 13px;
94
94
  font-weight: 600;
95
95
  display: flex;
@@ -130,7 +130,7 @@
130
130
  padding: 0 10px;
131
131
  font-size: 13px;
132
132
  color: dark;
133
- font-family: 'Open Sans';
133
+ font-family: 'Gilroy';
134
134
  line-height: 40px;
135
135
  font-weight: 600;
136
136
  align-items: center;
@@ -169,7 +169,7 @@
169
169
  padding: 0 15px;
170
170
  cursor: pointer;
171
171
  color: dark;
172
- font-family: 'Open Sans';
172
+ font-family: 'Gilroy';
173
173
  font-size: 13px;
174
174
  font-weight: 600;
175
175
  display: flex;
@@ -285,7 +285,7 @@
285
285
  position: absolute;
286
286
  top: -5px;
287
287
  right: -5px;
288
- font-family: 'Open Sans';
288
+ font-family: 'Gilroy';
289
289
  font-weight: 700;
290
290
  font-size: 10px;
291
291
  line-height: 16px;
@@ -357,7 +357,7 @@
357
357
  }
358
358
 
359
359
  .stat .label {
360
- font-family: 'Open Sans';
360
+ font-family: 'Gilroy';
361
361
  font-size: 10px;
362
362
  font-weight: 700;
363
363
  color: dark;
@@ -446,7 +446,7 @@
446
446
  }
447
447
 
448
448
  .setting .label {
449
- font-family: 'Open Sans';
449
+ font-family: 'Gilroy';
450
450
  font-size: 13px;
451
451
  font-weight: 600;
452
452
  color: dark;
@@ -457,7 +457,7 @@
457
457
  }
458
458
 
459
459
  .setting .link {
460
- font-family: 'Open Sans';
460
+ font-family: 'Gilroy';
461
461
  font-size: 13px;
462
462
  font-weight: 600;
463
463
  color: dark;
@@ -465,7 +465,7 @@
465
465
  }
466
466
 
467
467
  .closeSettings {
468
- font-family: 'Open Sans';
468
+ font-family: 'Gilroy';
469
469
  font-size: 13px;
470
470
  font-weight: 600;
471
471
  color: medium;
@@ -7,6 +7,7 @@
7
7
  @value white from colors;
8
8
 
9
9
  .default {
10
+ font-family: Gilroy;
10
11
  position: fixed;
11
12
  z-index: 20;
12
13
  top: 0;
@@ -16,7 +16,7 @@
16
16
  .sidebar {
17
17
  color: dark;
18
18
  width: 100%;
19
- font-family: 'Open Sans';
19
+ font-family: 'Gilroy';
20
20
  }
21
21
 
22
22
  .sidebarPart {
@@ -89,7 +89,7 @@
89
89
  }
90
90
 
91
91
  .input {
92
- font-family: "Open Sans";
92
+ font-family: "Gilroy";
93
93
  text-transform: none;
94
94
  padding: 0 15px;
95
95
  border: solid 1px light;
@@ -19,7 +19,7 @@
19
19
  }
20
20
 
21
21
  .fontBase {
22
- font-family: 'Open Sans';
22
+ font-family: 'Gilroy';
23
23
  font-size: 12px;
24
24
  }
25
25
 
@@ -97,7 +97,7 @@
97
97
 
98
98
  .footer {
99
99
  display: flex;
100
- align-items: end;
100
+ align-items: flex-end;
101
101
  bottom: 10px;
102
102
  position: sticky;
103
103
  z-index: 1;
@@ -89,7 +89,7 @@
89
89
  }
90
90
  .score {
91
91
  display: flex;
92
- font-family: 'Open Sans';
92
+ font-family: 'Gilroy';
93
93
  font-size: 22px;
94
94
  font-weight: bold;
95
95
  text-align: left;
@@ -114,7 +114,7 @@
114
114
  .scoreTitle {
115
115
  display: block;
116
116
  height: auto;
117
- font-family: 'Open Sans';
117
+ font-family: 'Gilroy';
118
118
  font-size: 13px;
119
119
  text-align: left;
120
120
  color: dark;
@@ -171,7 +171,7 @@
171
171
  padding: 10px;
172
172
  margin: 0;
173
173
  border-radius: 3px;
174
- font-family: 'Open Sans';
174
+ font-family: 'Gilroy';
175
175
  font-size: 12px;
176
176
  width: 270px;
177
177
  background-color: white;
@@ -72,9 +72,10 @@
72
72
  }
73
73
 
74
74
  .label {
75
+ display: flex;
75
76
  width: 80%;
76
77
  height: 23px;
77
- font-family: 'Open Sans';
78
+ font-family: 'Gilroy';
78
79
  font-size: 17px;
79
80
  font-weight: 600;
80
81
  text-align: left;
@@ -87,7 +88,7 @@
87
88
  .stars {
88
89
  width: 20%;
89
90
  height: 23px;
90
- font-family: 'Open Sans';
91
+ font-family: 'Gilroy';
91
92
  font-size: 17px;
92
93
  font-weight: bold;
93
94
  text-align: right;
@@ -113,7 +114,7 @@
113
114
  flex-direction: row;
114
115
  width: auto;
115
116
  height: 17px;
116
- font-family: 'Open Sans';
117
+ font-family: 'Gilroy';
117
118
  font-size: 12px;
118
119
  font-weight: bold;
119
120
  text-align: left;
@@ -147,7 +148,7 @@
147
148
 
148
149
  .level {
149
150
  height: 17px;
150
- font-family: 'Open Sans';
151
+ font-family: 'Gilroy';
151
152
  font-size: 12px;
152
153
  font-weight: 100;
153
154
  text-align: right;
@@ -57,7 +57,7 @@
57
57
  padding: 0 0 0 10px;
58
58
  margin: 0;
59
59
  height: auto;
60
- font-family: 'Open Sans';
60
+ font-family: 'Gilroy';
61
61
  font-size: 24px;
62
62
  font-weight: bold;
63
63
  color: white;
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  .totalStars span {
69
- font-family: 'Open Sans';
69
+ font-family: 'Gilroy';
70
70
  font-size: 13px;
71
71
  text-align: left;
72
72
  color: white;
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .mainTitle {
20
- font-family: 'Open Sans';
20
+ font-family: 'Gilroy';
21
21
  font-size: 17px;
22
22
  font-weight: 300;
23
23
  color: black;
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  .recommendationSection {
68
- font-family: 'Open Sans';
68
+ font-family: 'Gilroy';
69
69
  font-size: 15px;
70
70
  font-weight: 300;
71
71
  text-align: left;
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  .recommendationSection .course {
79
- font-family: 'Open Sans';
79
+ font-family: 'Gilroy';
80
80
  font-size: 15px;
81
81
  font-weight: bold;
82
82
  text-align: left;
@@ -97,7 +97,7 @@
97
97
 
98
98
  .title {
99
99
  margin-top: 4px;
100
- font-family: "Open Sans";
100
+ font-family: "Gilroy";
101
101
  font-weight: 700;
102
102
  font-size: 13px;
103
103
  color: black;
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .contentTitle {
46
- font-family: 'Open Sans';
46
+ font-family: 'Gilroy';
47
47
  font-size: 16px;
48
48
  color: inherit;
49
49
  font-weight: 700;
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  .contentDetails {
58
- font-family: 'Open Sans';
58
+ font-family: 'Gilroy';
59
59
  font-size: 10px;
60
60
  font-weight: 700;
61
61
  }
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  .subcontentTitle {
74
- font-family: 'Open Sans';
74
+ font-family: 'Gilroy';
75
75
  font-size: 13px;
76
76
  font-weight: 500;
77
77
  color: dark;
@@ -81,7 +81,7 @@
81
81
  }
82
82
 
83
83
  .subcontentDetails {
84
- font-family: 'Open Sans';
84
+ font-family: 'Gilroy';
85
85
  font-size: 15px;
86
86
  font-weight: 700;
87
87
  color: dark;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .contentTitle {
29
- font-family: 'Open Sans';
29
+ font-family: 'Gilroy';
30
30
  font-size: 13px;
31
31
  color: inherit;
32
32
  font-weight: 500;
@@ -12,6 +12,7 @@
12
12
  @value white from colors;
13
13
 
14
14
  .wrapper {
15
+ font-family: Gilroy;
15
16
  position: relative;
16
17
  box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0.04);
17
18
  display: flex;
@@ -92,7 +93,7 @@
92
93
  z-index: 1;
93
94
  background-color: light;
94
95
  color: dark;
95
- font-family: "Open Sans";
96
+ font-family: "Gilroy";
96
97
  font-weight: 700;
97
98
  font-size: 15px;
98
99
  line-height: 17px;
@@ -150,7 +151,7 @@
150
151
  }
151
152
 
152
153
  .question {
153
- font-family: "Open Sans";
154
+ font-family: "Gilroy";
154
155
  font-size: 20px;
155
156
  font-weight: 600;
156
157
  color: black;
@@ -163,7 +164,7 @@
163
164
  }
164
165
 
165
166
  .contextTitle {
166
- font-family: "Open Sans";
167
+ font-family: "Gilroy";
167
168
  font-size: 20px;
168
169
  font-weight: 600;
169
170
  color: black;
@@ -175,7 +176,7 @@
175
176
  }
176
177
 
177
178
  .helpView {
178
- font-family: "Open Sans";
179
+ font-family: "Gilroy";
179
180
  font-size: 15px;
180
181
  font-weight: 500;
181
182
  color: medium;
@@ -190,7 +191,7 @@
190
191
  padding-left: 25px;
191
192
  padding-right: 25px;
192
193
  font-size: 16px;
193
- font-family: "Open Sans";
194
+ font-family: "Gilroy";
194
195
  min-width: 160px;
195
196
  text-align: center;
196
197
  }
@@ -204,7 +205,7 @@
204
205
  flex-grow: 0.1;
205
206
  padding-top: 15px;
206
207
  align-items: flex-end;
207
- font-family: "Open Sans";
208
+ font-family: "Gilroy";
208
209
  }
209
210
 
210
211
  .resourcesWrapper {
@@ -222,7 +223,7 @@
222
223
  }
223
224
 
224
225
  .stars {
225
- font-family: "Open Sans";
226
+ font-family: "Gilroy";
226
227
  font-weight: 700;
227
228
  font-size: 15px;
228
229
  color: grey;
@@ -239,7 +240,7 @@
239
240
  }
240
241
 
241
242
  .contextDescription {
242
- font-family: "Open Sans";
243
+ font-family: "Gilroy";
243
244
  font-size: 14px;
244
245
  color: grey;
245
246
  width: 100%;
@@ -29,7 +29,7 @@
29
29
 
30
30
  .titleLink {
31
31
  color: white;
32
- font-family: 'Open Sans';
32
+ font-family: 'Gilroy';
33
33
  font-size: 13px;
34
34
  }
35
35
 
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .text {
97
- font-family: 'Open Sans';
97
+ font-family: 'Gilroy';
98
98
  font-size: 15px;
99
99
  margin: 0;
100
100
  }
@@ -239,7 +239,7 @@
239
239
 
240
240
  .quitCta {
241
241
  composes: hoverFill from '../../../atom/button/hover-fill.css';
242
- font-family: 'Open Sans';
242
+ font-family: 'Gilroy';
243
243
  font-size: 16px;
244
244
  font-weight: 700;
245
245
  background-color: white;
@@ -29,7 +29,7 @@
29
29
 
30
30
  .footer {
31
31
  composes: hoverFill from '../../../atom/button/hover-fill.css';
32
- font-family: 'Open Sans';
32
+ font-family: 'Gilroy';
33
33
  font-size: 16px;
34
34
  font-weight: 700;
35
35
  background-color: white;
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  .text {
62
- font-family: 'Open Sans';
62
+ font-family: 'Gilroy';
63
63
  color: dark;
64
64
  }
65
65
 
@@ -243,7 +243,7 @@
243
243
  }
244
244
 
245
245
  .commentSectionTexts p {
246
- font-family: Open Sans;
246
+ font-family: Gilroy;
247
247
  color: dark;
248
248
  font-size: 19px;
249
249
  font-weight: 700;
@@ -267,7 +267,7 @@
267
267
  }
268
268
 
269
269
  .commentSectionLink {
270
- font-family: Open Sans;
270
+ font-family: Gilroy;
271
271
  font-size: 12px;
272
272
  color: dark;
273
273
  text-decoration: underline;
@@ -3,6 +3,8 @@
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
5
 
6
+ var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
7
+
6
8
  var _keys2 = _interopRequireDefault(require("lodash/fp/keys"));
7
9
 
8
10
  var _getOr2 = _interopRequireDefault(require("lodash/fp/getOr"));
@@ -247,11 +249,11 @@ const Cards = props => {
247
249
  const {
248
250
  cards
249
251
  } = props;
250
- return (0, _get2.default)('cards', props) === null ? /*#__PURE__*/_react.default.createElement(CardsLoader, null) : (cards ? /*#__PURE__*/_react.default.createElement("div", {
252
+ return (0, _get2.default)('cards', props) === null ? /*#__PURE__*/_react.default.createElement(CardsLoader, null) : ((0, _isEmpty2.default)(cards) ? null : /*#__PURE__*/_react.default.createElement("div", {
251
253
  className: _summary.default.cardsWrapper
252
254
  }, /*#__PURE__*/_react.default.createElement(_cardsList.default, _extends({}, props, {
253
255
  dataName: 'popin-end-recommendation'
254
- }))) : null) || null;
256
+ })))) || null;
255
257
  };
256
258
 
257
259
  Cards.propTypes = process.env.NODE_ENV !== "production" ? _cardsList.default.propTypes : {};
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-player/popin-end/summary.js"],"names":["Header","props","SimpleAction","color","prefix","title","button","buttonTitle","linkProps","style","simpleWrapper","simpleTexts","simplePrefix","simpleTitle","innerHTML","__html","backgroundColor","simpleButton","propTypes","PropTypes","string","shape","Button","NextCourse","card","nextCourseWrapper","nextCourseTexts","nextCoursePrefix","nextCourseTitle","nextCourseCard","CardsList","Subscribe","description","subscribeWrapper","subscribeTexts","subscribeDescription","subscribeTitle","subscribeButtonWrapper","subscribeButton","submitValue","actions","simple","subscribe","nextCourse","Action","type","actionProps","Type","oneOf","CardsLoader","loaderWrapper","CommentConfirmation","context","onClick","commentSectionTitle","confirmationLinkText","skin","dark","commentSection","commentSectionIconWrapper","commentSectionIcon","commentSectionTexts","commentSectionLink","node","Link","children","contextTypes","Provider","childContextTypes","CommentSection","isSent","edition","confirmation","bool","Discussion","Cards","cards","cardsWrapper","Footer","footer","Summary","header","recommendation","comment","action","feedback","primary","commentView","discussionWrapper","footerView","feedbackView","summaryWrapper","PopinHeader","href","url","func","isRequired","Feedback"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,iBAAI,6BAAC,oBAAD,EAAiBA,KAAjB,CAAxB;;AAEA,MAAMC,YAAY,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,MAAR;AAAgBC,EAAAA,KAAhB;AAAuBC,EAAAA;AAAvB,CAAD,KAAoC;AACvD,QAAM;AAACD,IAAAA,KAAK,EAAEE;AAAR,MAAqCD,MAA3C;AAAA,QAA8BE,SAA9B,iCAA2CF,MAA3C;;AACA,sBACE;AAAK,iBAAU,cAAf;AAA8B,IAAA,SAAS,EAAEG,iBAAMC;AAA/C,kBACE;AAAK,IAAA,SAAS,EAAED,iBAAME;AAAtB,kBACE;AAAM,iBAAU,cAAhB;AAA+B,IAAA,SAAS,EAAEF,iBAAMG;AAAhD,KACGR,MADH,CADF,eAIE;AACE,iBAAU,aADZ;AAEE,IAAA,SAAS,EAAE,yBAAWK,iBAAMI,WAAjB,EAA8BC,gBAA9B,CAFb,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEV;AAAT;AAJ3B,IAJF,CADF,eAYE,6BAAC,eAAD,eACMG,SADN;AAEE,IAAA,IAAI,EAAC,MAFP;AAGE,IAAA,KAAK,EAAE;AACLQ,MAAAA,eAAe,EAAEb;AADZ,KAHT;AAME,IAAA,SAAS,EAAEM,iBAAMQ,YANnB;AAOE,IAAA,WAAW,EAAEV;AAPf,KAZF,CADF;AAwBD,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AAA3B,KAHF,eAIE,6BAAC,KAAD,EAAWJ,cAAX,CAJF,EAKGK,WALH,EAMGE,UANH,CADF;AAUD,CAvBD;;AAyBAT,OAAO,CAACd,YAAR,GAAuB;AACrBV,EAAAA,IAAI,EAAEW,kBAASC,iBAAT,CAA2BZ;AADZ,CAAvB;AAIAwB,OAAO,CAAC9D,SAAR,2CAAoB;AAClB+D,EAAAA,MAAM,EAAE9D,mBAAUE,KAAV,CAAgBuE,qBAAY1E,SAA5B,CADU;AAElB6D,EAAAA,MAAM,EAAE5D,mBAAUE,KAAV,CAAgB;AACtBhB,IAAAA,KAAK,EAAEc,mBAAUC,MADK;AAEtByE,IAAAA,IAAI,EAAE1E,mBAAU2E,GAFM;AAGtBzC,IAAAA,OAAO,EAAElC,mBAAU4E;AAHG,GAAhB,CAFU;AAOlBZ,EAAAA,OAAO,EAAEhE,mBAAUE,KAAV,CAAgBgD,cAAc,CAACnD,SAA/B,CAPS;AAQlBkE,EAAAA,MAAM,EAAEjE,mBAAUE,KAAV,CAAgB;AACtBwB,IAAAA,IAAI,EAAE1B,mBAAU6B,KAAV,CAAgB,oBAAKR,OAAL,CAAhB,EAA+BwD;AADf,GAAhB,CARU;AAWlBd,EAAAA,cAAc,EAAE/D,mBAAUE,KAAV,CAAgBS,mBAAUZ,SAA1B,CAXE;AAYlBmE,EAAAA,QAAQ,EAAElE,mBAAUE,KAAV,CAAgB4E,kBAAS/E,SAAzB;AAZQ,CAApB;eAee8D,O","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {NovaSolidStatusCheckCircle2 as CheckIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Link from '../../../atom/link';\nimport Discussion from '../../../organism/discussion';\nimport Loader from '../../../atom/loader';\nimport Card from '../../../molecule/card';\nimport Feedback from '../../../molecule/feedback';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport PopinHeader from '../popin-header';\nimport style from './summary.css';\n\nconst Header = props => <PopinHeader {...props} />;\n\nconst SimpleAction = ({color, prefix, title, button}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div data-name=\"simpleAction\" className={style.simpleWrapper}>\n <div className={style.simpleTexts}>\n <span data-name=\"simplePrefix\" className={style.simplePrefix}>\n {prefix}\n </span>\n <span\n data-name=\"simpleTitle\"\n className={classnames(style.simpleTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <Button\n {...linkProps}\n type=\"link\"\n style={{\n backgroundColor: color\n }}\n className={style.simpleButton}\n submitValue={buttonTitle}\n />\n </div>\n );\n};\nSimpleAction.propTypes = {\n color: PropTypes.string,\n prefix: PropTypes.string,\n title: PropTypes.string,\n button: PropTypes.shape(Button.propTypes)\n};\n\nconst NextCourse = ({title, prefix, card}) => (\n <div data-name=\"nextCourse\" className={style.nextCourseWrapper}>\n <div className={style.nextCourseTexts}>\n <div className={style.nextCoursePrefix}>{prefix}</div>\n <div\n className={classnames(style.nextCourseTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <div className={style.nextCourseCard}>\n <Card {...card} dataName={'popin-end-next-course'} />\n </div>\n </div>\n);\nNextCourse.propTypes = {\n title: PropTypes.string,\n prefix: PropTypes.string,\n card: PropTypes.shape(CardsList.propTypes)\n};\n\nconst Subscribe = ({title, description, button, card}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div className={style.subscribeWrapper}>\n <div className={style.subscribeTexts}>\n <div className={style.subscribeDescription}>{description}</div>\n <div\n className={classnames(style.subscribeTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.subscribeButtonWrapper}>\n <Button\n {...linkProps}\n type=\"link\"\n className={style.subscribeButton}\n submitValue={buttonTitle}\n />\n </div>\n </div>\n <div>\n <Card {...card} dataName={'popin-end-subscribe'} />\n </div>\n </div>\n );\n};\n\nSubscribe.propTypes = {\n ...Button.propTypes.propTypes,\n title: Button.propTypes.submitValue\n};\n\nconst actions = {\n simple: SimpleAction,\n subscribe: Subscribe,\n nextCourse: NextCourse\n};\n\nconst Action = props => {\n const {type, ...actionProps} = props;\n const Type = get(type, actions);\n\n return Type ? <Type {...actionProps} /> : null;\n};\n\nAction.propTypes = {\n type: PropTypes.oneOf(keys(actions))\n};\n\nconst CardsLoader = () => (\n <div className={style.loaderWrapper}>\n <Loader />\n </div>\n);\n\nconst CommentConfirmation = (props, context) => {\n const {onClick, commentSectionTitle, confirmationLinkText} = props;\n const {skin} = context;\n const dark = get('common.dark', skin);\n\n return (\n <div className={style.commentSection}>\n <div className={style.commentSectionIconWrapper}>\n <CheckIcon className={style.commentSectionIcon} color={dark} />\n </div>\n <div className={style.commentSectionTexts}>\n <p>{commentSectionTitle}</p>\n <Link onClick={onClick} className={style.commentSectionLink}>\n {confirmationLinkText}\n </Link>\n </div>\n </div>\n );\n};\n\nCommentConfirmation.propTypes = {\n commentSectionTitle: PropTypes.node,\n confirmationLinkText: Link.propTypes.children,\n onClick: Link.propTypes.onClick\n};\n\nCommentConfirmation.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst CommentSection = props => {\n const {isSent, edition, confirmation} = props;\n if (isSent) {\n const {onClick, commentSectionTitle, confirmationLinkText} = confirmation;\n return (\n <CommentConfirmation\n onClick={onClick}\n commentSectionTitle={commentSectionTitle}\n confirmationLinkText={confirmationLinkText}\n />\n );\n }\n\n return <Discussion {...edition} />;\n};\n\nCommentSection.propTypes = {\n isSent: PropTypes.bool,\n edition: PropTypes.shape(Discussion.propTypes),\n confirmation: PropTypes.shape(CommentConfirmation.propTypes)\n};\n\nconst Cards = props => {\n const {cards} = props;\n\n return get('cards', props) === null ? (\n <CardsLoader />\n ) : (\n (cards ? (\n <div className={style.cardsWrapper}>\n <CardsList {...props} dataName={'popin-end-recommendation'} />\n </div>\n ) : null) || null\n );\n};\n\nCards.propTypes = CardsList.propTypes;\n\nconst Footer = ({title, color, ...linkProps}) => (\n <Link\n {...linkProps}\n style={{\n color\n }}\n className={style.footer}\n data-name=\"nextLink\"\n data-popin=\"popinEnd\"\n data-next=\"home\"\n >\n {title}\n </Link>\n);\n\nFooter.propTypes = {\n ...Link.propTypes,\n title: Link.propTypes.children,\n color: PropTypes.string\n};\n\nconst Summary = (props, context) => {\n const {header, recommendation, comment, footer, action, feedback} = props;\n const {skin} = context;\n const primary = getOr('#f0f', 'common.primary', skin);\n const commentView =\n comment && header ? (\n <div className={style.discussionWrapper}>\n <CommentSection {...comment} />\n </div>\n ) : null;\n const footerView = footer && header ? <Footer {...footer} color={primary} /> : null;\n const feedbackView = feedback ? <Feedback {...feedback} /> : null;\n\n return (\n <div className={style.summaryWrapper}>\n <Header {...header} />\n {feedbackView}\n <Action {...action} color={primary} />\n <Cards {...recommendation} />\n {commentView}\n {footerView}\n </div>\n );\n};\n\nSummary.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSummary.propTypes = {\n header: PropTypes.shape(PopinHeader.propTypes),\n footer: PropTypes.shape({\n title: PropTypes.string,\n href: PropTypes.url,\n onClick: PropTypes.func\n }),\n comment: PropTypes.shape(CommentSection.propTypes),\n action: PropTypes.shape({\n type: PropTypes.oneOf(keys(actions)).isRequired\n }),\n recommendation: PropTypes.shape(CardsList.propTypes),\n feedback: PropTypes.shape(Feedback.propTypes)\n};\n\nexport default Summary;\n"],"file":"summary.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-player/popin-end/summary.js"],"names":["Header","props","SimpleAction","color","prefix","title","button","buttonTitle","linkProps","style","simpleWrapper","simpleTexts","simplePrefix","simpleTitle","innerHTML","__html","backgroundColor","simpleButton","propTypes","PropTypes","string","shape","Button","NextCourse","card","nextCourseWrapper","nextCourseTexts","nextCoursePrefix","nextCourseTitle","nextCourseCard","CardsList","Subscribe","description","subscribeWrapper","subscribeTexts","subscribeDescription","subscribeTitle","subscribeButtonWrapper","subscribeButton","submitValue","actions","simple","subscribe","nextCourse","Action","type","actionProps","Type","oneOf","CardsLoader","loaderWrapper","CommentConfirmation","context","onClick","commentSectionTitle","confirmationLinkText","skin","dark","commentSection","commentSectionIconWrapper","commentSectionIcon","commentSectionTexts","commentSectionLink","node","Link","children","contextTypes","Provider","childContextTypes","CommentSection","isSent","edition","confirmation","bool","Discussion","Cards","cards","cardsWrapper","Footer","footer","Summary","header","recommendation","comment","action","feedback","primary","commentView","discussionWrapper","footerView","feedbackView","summaryWrapper","PopinHeader","href","url","func","isRequired","Feedback"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,iBAAI,6BAAC,oBAAD,EAAiBA,KAAjB,CAAxB;;AAEA,MAAMC,YAAY,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,MAAR;AAAgBC,EAAAA,KAAhB;AAAuBC,EAAAA;AAAvB,CAAD,KAAoC;AACvD,QAAM;AAACD,IAAAA,KAAK,EAAEE;AAAR,MAAqCD,MAA3C;AAAA,QAA8BE,SAA9B,iCAA2CF,MAA3C;;AACA,sBACE;AAAK,iBAAU,cAAf;AAA8B,IAAA,SAAS,EAAEG,iBAAMC;AAA/C,kBACE;AAAK,IAAA,SAAS,EAAED,iBAAME;AAAtB,kBACE;AAAM,iBAAU,cAAhB;AAA+B,IAAA,SAAS,EAAEF,iBAAMG;AAAhD,KACGR,MADH,CADF,eAIE;AACE,iBAAU,aADZ;AAEE,IAAA,SAAS,EAAE,yBAAWK,iBAAMI,WAAjB,EAA8BC,gBAA9B,CAFb,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACC,MAAAA,MAAM,EAAEV;AAAT;AAJ3B,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L,QAAQ,gBAAG,6BAAC,iBAAD,EAAcA,QAAd,CAAH,GAAgC,IAA7D;AAEA,sBACE;AAAK,IAAA,SAAS,EAAE5E,iBAAMkF;AAAtB,kBACE,6BAAC,MAAD,EAAYV,MAAZ,CADF,EAEGS,YAFH,eAGE,6BAAC,MAAD,eAAYN,MAAZ;AAAoB,IAAA,KAAK,EAAEE;AAA3B,KAHF,eAIE,6BAAC,KAAD,EAAWJ,cAAX,CAJF,EAKGK,WALH,EAMGE,UANH,CADF;AAUD,CAvBD;;AAyBAT,OAAO,CAACd,YAAR,GAAuB;AACrBV,EAAAA,IAAI,EAAEW,kBAASC,iBAAT,CAA2BZ;AADZ,CAAvB;AAIAwB,OAAO,CAAC9D,SAAR,2CAAoB;AAClB+D,EAAAA,MAAM,EAAE9D,mBAAUE,KAAV,CAAgBuE,qBAAY1E,SAA5B,CADU;AAElB6D,EAAAA,MAAM,EAAE5D,mBAAUE,KAAV,CAAgB;AACtBhB,IAAAA,KAAK,EAAEc,mBAAUC,MADK;AAEtByE,IAAAA,IAAI,EAAE1E,mBAAU2E,GAFM;AAGtBzC,IAAAA,OAAO,EAAElC,mBAAU4E;AAHG,GAAhB,CAFU;AAOlBZ,EAAAA,OAAO,EAAEhE,mBAAUE,KAAV,CAAgBgD,cAAc,CAACnD,SAA/B,CAPS;AAQlBkE,EAAAA,MAAM,EAAEjE,mBAAUE,KAAV,CAAgB;AACtBwB,IAAAA,IAAI,EAAE1B,mBAAU6B,KAAV,CAAgB,oBAAKR,OAAL,CAAhB,EAA+BwD;AADf,GAAhB,CARU;AAWlBd,EAAAA,cAAc,EAAE/D,mBAAUE,KAAV,CAAgBS,mBAAUZ,SAA1B,CAXE;AAYlBmE,EAAAA,QAAQ,EAAElE,mBAAUE,KAAV,CAAgB4E,kBAAS/E,SAAzB;AAZQ,CAApB;eAee8D,O","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, getOr, keys, isEmpty} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {NovaSolidStatusCheckCircle2 as CheckIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Link from '../../../atom/link';\nimport Discussion from '../../../organism/discussion';\nimport Loader from '../../../atom/loader';\nimport Card from '../../../molecule/card';\nimport Feedback from '../../../molecule/feedback';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport PopinHeader from '../popin-header';\nimport style from './summary.css';\n\nconst Header = props => <PopinHeader {...props} />;\n\nconst SimpleAction = ({color, prefix, title, button}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div data-name=\"simpleAction\" className={style.simpleWrapper}>\n <div className={style.simpleTexts}>\n <span data-name=\"simplePrefix\" className={style.simplePrefix}>\n {prefix}\n </span>\n <span\n data-name=\"simpleTitle\"\n className={classnames(style.simpleTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <Button\n {...linkProps}\n type=\"link\"\n style={{\n backgroundColor: color\n }}\n className={style.simpleButton}\n submitValue={buttonTitle}\n />\n </div>\n );\n};\nSimpleAction.propTypes = {\n color: PropTypes.string,\n prefix: PropTypes.string,\n title: PropTypes.string,\n button: PropTypes.shape(Button.propTypes)\n};\n\nconst NextCourse = ({title, prefix, card}) => (\n <div data-name=\"nextCourse\" className={style.nextCourseWrapper}>\n <div className={style.nextCourseTexts}>\n <div className={style.nextCoursePrefix}>{prefix}</div>\n <div\n className={classnames(style.nextCourseTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <div className={style.nextCourseCard}>\n <Card {...card} dataName={'popin-end-next-course'} />\n </div>\n </div>\n);\nNextCourse.propTypes = {\n title: PropTypes.string,\n prefix: PropTypes.string,\n card: PropTypes.shape(CardsList.propTypes)\n};\n\nconst Subscribe = ({title, description, button, card}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div className={style.subscribeWrapper}>\n <div className={style.subscribeTexts}>\n <div className={style.subscribeDescription}>{description}</div>\n <div\n className={classnames(style.subscribeTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.subscribeButtonWrapper}>\n <Button\n {...linkProps}\n type=\"link\"\n className={style.subscribeButton}\n submitValue={buttonTitle}\n />\n </div>\n </div>\n <div>\n <Card {...card} dataName={'popin-end-subscribe'} />\n </div>\n </div>\n );\n};\n\nSubscribe.propTypes = {\n ...Button.propTypes.propTypes,\n title: Button.propTypes.submitValue\n};\n\nconst actions = {\n simple: SimpleAction,\n subscribe: Subscribe,\n nextCourse: NextCourse\n};\n\nconst Action = props => {\n const {type, ...actionProps} = props;\n const Type = get(type, actions);\n\n return Type ? <Type {...actionProps} /> : null;\n};\n\nAction.propTypes = {\n type: PropTypes.oneOf(keys(actions))\n};\n\nconst CardsLoader = () => (\n <div className={style.loaderWrapper}>\n <Loader />\n </div>\n);\n\nconst CommentConfirmation = (props, context) => {\n const {onClick, commentSectionTitle, confirmationLinkText} = props;\n const {skin} = context;\n const dark = get('common.dark', skin);\n\n return (\n <div className={style.commentSection}>\n <div className={style.commentSectionIconWrapper}>\n <CheckIcon className={style.commentSectionIcon} color={dark} />\n </div>\n <div className={style.commentSectionTexts}>\n <p>{commentSectionTitle}</p>\n <Link onClick={onClick} className={style.commentSectionLink}>\n {confirmationLinkText}\n </Link>\n </div>\n </div>\n );\n};\n\nCommentConfirmation.propTypes = {\n commentSectionTitle: PropTypes.node,\n confirmationLinkText: Link.propTypes.children,\n onClick: Link.propTypes.onClick\n};\n\nCommentConfirmation.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst CommentSection = props => {\n const {isSent, edition, confirmation} = props;\n if (isSent) {\n const {onClick, commentSectionTitle, confirmationLinkText} = confirmation;\n return (\n <CommentConfirmation\n onClick={onClick}\n commentSectionTitle={commentSectionTitle}\n confirmationLinkText={confirmationLinkText}\n />\n );\n }\n\n return <Discussion {...edition} />;\n};\n\nCommentSection.propTypes = {\n isSent: PropTypes.bool,\n edition: PropTypes.shape(Discussion.propTypes),\n confirmation: PropTypes.shape(CommentConfirmation.propTypes)\n};\n\nconst Cards = props => {\n const {cards} = props;\n\n return get('cards', props) === null ? (\n <CardsLoader />\n ) : (\n (isEmpty(cards) ? null : (\n <div className={style.cardsWrapper}>\n <CardsList {...props} dataName={'popin-end-recommendation'} />\n </div>\n )) || null\n );\n};\n\nCards.propTypes = CardsList.propTypes;\n\nconst Footer = ({title, color, ...linkProps}) => (\n <Link\n {...linkProps}\n style={{\n color\n }}\n className={style.footer}\n data-name=\"nextLink\"\n data-popin=\"popinEnd\"\n data-next=\"home\"\n >\n {title}\n </Link>\n);\n\nFooter.propTypes = {\n ...Link.propTypes,\n title: Link.propTypes.children,\n color: PropTypes.string\n};\n\nconst Summary = (props, context) => {\n const {header, recommendation, comment, footer, action, feedback} = props;\n const {skin} = context;\n const primary = getOr('#f0f', 'common.primary', skin);\n const commentView =\n comment && header ? (\n <div className={style.discussionWrapper}>\n <CommentSection {...comment} />\n </div>\n ) : null;\n const footerView = footer && header ? <Footer {...footer} color={primary} /> : null;\n const feedbackView = feedback ? <Feedback {...feedback} /> : null;\n\n return (\n <div className={style.summaryWrapper}>\n <Header {...header} />\n {feedbackView}\n <Action {...action} color={primary} />\n <Cards {...recommendation} />\n {commentView}\n {footerView}\n </div>\n );\n};\n\nSummary.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSummary.propTypes = {\n header: PropTypes.shape(PopinHeader.propTypes),\n footer: PropTypes.shape({\n title: PropTypes.string,\n href: PropTypes.url,\n onClick: PropTypes.func\n }),\n comment: PropTypes.shape(CommentSection.propTypes),\n action: PropTypes.shape({\n type: PropTypes.oneOf(keys(actions)).isRequired\n }),\n recommendation: PropTypes.shape(CardsList.propTypes),\n feedback: PropTypes.shape(Feedback.propTypes)\n};\n\nexport default Summary;\n"],"file":"summary.js"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _defaultsDeep2 = _interopRequireDefault(require("lodash/fp/defaultsDeep"));
7
+
8
+ var _correct = _interopRequireDefault(require("./correct"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var _default = (0, _defaultsDeep2.default)(_correct.default, {
13
+ props: {
14
+ summary: {
15
+ recommendation: {
16
+ title: 'You should try:',
17
+ cards: []
18
+ }
19
+ }
20
+ }
21
+ });
22
+
23
+ exports.default = _default;
24
+ //# sourceMappingURL=without-recommendation.js.map