@coorpacademy/components 10.13.12 → 10.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/es/atom/button-link/test/fixtures.js +31 -0
  2. package/es/atom/button-link/test/fixtures.js.map +1 -0
  3. package/es/atom/button-link-icon-only/test/fixtures.js +23 -0
  4. package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  5. package/es/atom/button-menu/test/fixtures.js +15 -0
  6. package/es/atom/button-menu/test/fixtures.js.map +1 -0
  7. package/es/atom/card-image-preview/test/fixtures.js +15 -0
  8. package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
  9. package/es/atom/checkbox-with-title/test/fixtures.js +15 -0
  10. package/es/atom/checkbox-with-title/test/fixtures.js.map +1 -0
  11. package/es/atom/chips/test/fixtures.js +17 -0
  12. package/es/atom/chips/test/fixtures.js.map +1 -0
  13. package/es/atom/content-badge/test/fixtures.js +29 -0
  14. package/es/atom/content-badge/test/fixtures.js.map +1 -0
  15. package/es/atom/drag-and-drop/test/fixtures.js +8 -0
  16. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
  17. package/es/atom/empty-search-result/test/fixtures.js +13 -0
  18. package/es/atom/empty-search-result/test/fixtures.js.map +1 -0
  19. package/es/atom/image-upload/test/fixtures.js +4 -2
  20. package/es/atom/image-upload/test/fixtures.js.map +1 -1
  21. package/es/atom/input-checkbox/test/fixtures.js +2 -0
  22. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  23. package/es/atom/input-search/test/fixtures.js +19 -0
  24. package/es/atom/input-search/test/fixtures.js.map +1 -0
  25. package/es/atom/input-switch/test/fixtures.js +10 -0
  26. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  27. package/es/atom/input-text/test/fixtures.js +2 -0
  28. package/es/atom/input-text/test/fixtures.js.map +1 -1
  29. package/es/atom/input-text-with-title/index.js +2 -2
  30. package/es/atom/input-text-with-title/index.js.map +1 -1
  31. package/es/atom/input-text-with-title/test/fixtures.js +15 -0
  32. package/es/atom/input-text-with-title/test/fixtures.js.map +1 -0
  33. package/es/atom/input-textarea/test/fixtures.js +4 -0
  34. package/es/atom/input-textarea/test/fixtures.js.map +1 -1
  35. package/es/atom/loader/test/fixtures.js +2 -0
  36. package/es/atom/loader/test/fixtures.js.map +1 -1
  37. package/es/atom/review-header-step-item/test/fixtures.js +19 -0
  38. package/es/atom/review-header-step-item/test/fixtures.js.map +1 -0
  39. package/es/atom/review-presentation/index.js +98 -0
  40. package/es/atom/review-presentation/index.js.map +1 -0
  41. package/es/atom/review-presentation/style.css +152 -0
  42. package/es/atom/review-presentation/test/fixtures/default.js +27 -0
  43. package/es/atom/review-presentation/test/fixtures/default.js.map +1 -0
  44. package/es/atom/review-presentation/test/fixtures.js +13 -0
  45. package/es/atom/review-presentation/test/fixtures.js.map +1 -0
  46. package/es/atom/select/test/fixtures.js +4 -0
  47. package/es/atom/select/test/fixtures.js.map +1 -1
  48. package/es/atom/tag/test/fixtures.js +21 -0
  49. package/es/atom/tag/test/fixtures.js.map +1 -0
  50. package/es/atom/title/test/fixtures.js +6 -2
  51. package/es/atom/title/test/fixtures.js.map +1 -1
  52. package/es/atom/wizard-steps/test/fixtures.js +17 -0
  53. package/es/atom/wizard-steps/test/fixtures.js.map +1 -0
  54. package/es/molecule/banner/test/fixtures.js +23 -0
  55. package/es/molecule/banner/test/fixtures.js.map +1 -0
  56. package/es/molecule/brand-form-group/index.js +4 -0
  57. package/es/molecule/brand-form-group/index.js.map +1 -1
  58. package/es/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js +16 -0
  59. package/es/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js.map +1 -0
  60. package/es/molecule/brand-form-group/test/fixtures.js +2 -0
  61. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
  62. package/es/molecule/bullet-point-menu-button/test/fixtures.js +15 -0
  63. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  64. package/es/molecule/card/test/fixtures.js +6 -0
  65. package/es/molecule/card/test/fixtures.js.map +1 -1
  66. package/es/molecule/cm-popin/test/fixtures.js +17 -0
  67. package/es/molecule/cm-popin/test/fixtures.js.map +1 -0
  68. package/es/molecule/coorp-manager-roles/test/fixtures.js +13 -0
  69. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  70. package/es/molecule/course-section/test/fixtures.js +21 -0
  71. package/es/molecule/course-section/test/fixtures.js.map +1 -0
  72. package/es/molecule/course-sections/index.js +15 -8
  73. package/es/molecule/course-sections/index.js.map +1 -1
  74. package/es/molecule/course-sections/style.css +0 -4
  75. package/es/molecule/course-sections/test/fixtures.js +17 -0
  76. package/es/molecule/course-sections/test/fixtures.js.map +1 -0
  77. package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
  78. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  79. package/es/molecule/drag-and-drop-wrapper/index.js +1 -4
  80. package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
  81. package/es/molecule/drag-and-drop-wrapper/style.css +0 -4
  82. package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +11 -0
  83. package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -0
  84. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +15 -0
  85. package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -0
  86. package/es/molecule/draggable/test/fixtures.js +13 -0
  87. package/es/molecule/draggable/test/fixtures.js.map +1 -0
  88. package/es/molecule/draggable-list/test/fixtures.js +15 -0
  89. package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
  90. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +15 -0
  91. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  92. package/es/molecule/list-badges/test/fixtures.js +19 -0
  93. package/es/molecule/list-badges/test/fixtures.js.map +1 -0
  94. package/es/molecule/popin/test/fixtures.js +21 -0
  95. package/es/molecule/popin/test/fixtures.js.map +1 -0
  96. package/es/molecule/questions/free-text/test/fixtures.js +4 -2
  97. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  98. package/es/molecule/quick-access-card/test/fixtures.js +21 -0
  99. package/es/molecule/quick-access-card/test/fixtures.js.map +1 -0
  100. package/es/molecule/quick-access-cards-group/test/fixtures.js +21 -0
  101. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  102. package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
  103. package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  104. package/es/molecule/review-header-steps/test/fixtures.js +23 -0
  105. package/es/molecule/review-header-steps/test/fixtures.js.map +1 -0
  106. package/es/molecule/select-multiple/test/fixtures.js +8 -0
  107. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  108. package/es/molecule/setup-slide/test/fixtures.js +2 -0
  109. package/es/molecule/setup-slide/test/fixtures.js.map +1 -1
  110. package/es/molecule/skill-card/index.js +87 -0
  111. package/es/molecule/skill-card/index.js.map +1 -0
  112. package/es/molecule/skill-card/style.css +60 -0
  113. package/es/molecule/skill-card/test/fixtures/custom-skill.js +10 -0
  114. package/es/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
  115. package/es/molecule/skill-card/test/fixtures/default.js +15 -0
  116. package/es/molecule/skill-card/test/fixtures/default.js.map +1 -0
  117. package/es/molecule/skill-card/test/fixtures/no-aria-labels.js +12 -0
  118. package/es/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
  119. package/es/molecule/skill-card/test/fixtures/short-skill-title.js +10 -0
  120. package/es/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
  121. package/es/molecule/skill-card/test/fixtures.js +19 -0
  122. package/es/molecule/skill-card/test/fixtures.js.map +1 -0
  123. package/es/molecule/skill-card/test/skill-card.js +90 -0
  124. package/es/molecule/skill-card/test/skill-card.js.map +1 -0
  125. package/es/molecule/title-and-checkbox-wrapper/index.js +41 -0
  126. package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -0
  127. package/es/molecule/title-and-checkbox-wrapper/style.css +6 -0
  128. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/default.js +11 -0
  129. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/default.js.map +1 -0
  130. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js +13 -0
  131. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js.map +1 -0
  132. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js +11 -0
  133. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js.map +1 -0
  134. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js +14 -0
  135. package/es/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js.map +1 -0
  136. package/es/molecule/vertical-tabs/test/fixtures.js +17 -0
  137. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  138. package/es/molecule/wizard-summary/test/fixtures.js +23 -0
  139. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -0
  140. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +17 -0
  141. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  142. package/es/organism/accordion/coorp-manager/test/fixtures.js +13 -0
  143. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  144. package/es/organism/brand-analytics/test/fixtures.js +23 -0
  145. package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
  146. package/es/organism/brand-dashboard/test/fixtures.js +2 -10
  147. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  148. package/es/organism/brand-form/test/fixtures/wizard-certification.js +57 -0
  149. package/es/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -0
  150. package/es/organism/brand-form/test/fixtures.js +2 -0
  151. package/es/organism/brand-form/test/fixtures.js.map +1 -1
  152. package/es/organism/content-translation/test/fixtures.js +15 -0
  153. package/es/organism/content-translation/test/fixtures.js.map +1 -0
  154. package/es/organism/course-selection/test/fixtures.js +25 -0
  155. package/es/organism/course-selection/test/fixtures.js.map +1 -0
  156. package/es/organism/list-item/test/fixtures.js +19 -0
  157. package/es/organism/list-item/test/fixtures.js.map +1 -0
  158. package/es/organism/list-items/test/fixtures.js +17 -0
  159. package/es/organism/list-items/test/fixtures.js.map +1 -0
  160. package/es/organism/mooc-header/test/fixtures.js +6 -0
  161. package/es/organism/mooc-header/test/fixtures.js.map +1 -1
  162. package/es/organism/review-header/test/fixtures.js +23 -0
  163. package/es/organism/review-header/test/fixtures.js.map +1 -0
  164. package/es/organism/rewards-form/index.js +6 -14
  165. package/es/organism/rewards-form/index.js.map +1 -1
  166. package/es/organism/rewards-form/test/fixtures/default.js +24 -8
  167. package/es/organism/rewards-form/test/fixtures/default.js.map +1 -1
  168. package/es/organism/rewards-form/test/fixtures/one-reward.js +5 -3
  169. package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -1
  170. package/es/organism/rewards-form/test/fixtures/two-rewards.js +10 -6
  171. package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -1
  172. package/es/organism/rewards-form/test/fixtures.js +19 -0
  173. package/es/organism/rewards-form/test/fixtures.js.map +1 -0
  174. package/es/organism/search-and-chips-results/test/fixtures.js +23 -0
  175. package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  176. package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js +37 -0
  177. package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -0
  178. package/es/organism/wizard-contents/test/fixtures.js +25 -0
  179. package/es/organism/wizard-contents/test/fixtures.js.map +1 -0
  180. package/es/template/app-player/popin-end/test/fixtures.js +2 -0
  181. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  182. package/es/template/back-office/brand-update/test/fixtures.js +26 -2
  183. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  184. package/es/template/teams-dashboard/test/fixtures.js +2 -0
  185. package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
  186. package/es/variables/colors.css +1 -0
  187. package/lib/atom/button-link/test/fixtures.js +49 -0
  188. package/lib/atom/button-link/test/fixtures.js.map +1 -0
  189. package/lib/atom/button-link-icon-only/test/fixtures.js +37 -0
  190. package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  191. package/lib/atom/button-menu/test/fixtures.js +25 -0
  192. package/lib/atom/button-menu/test/fixtures.js.map +1 -0
  193. package/lib/atom/card-image-preview/test/fixtures.js +25 -0
  194. package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
  195. package/lib/atom/checkbox-with-title/test/fixtures.js +25 -0
  196. package/lib/atom/checkbox-with-title/test/fixtures.js.map +1 -0
  197. package/lib/atom/chips/test/fixtures.js +28 -0
  198. package/lib/atom/chips/test/fixtures.js.map +1 -0
  199. package/lib/atom/content-badge/test/fixtures.js +46 -0
  200. package/lib/atom/content-badge/test/fixtures.js.map +1 -0
  201. package/lib/atom/drag-and-drop/test/fixtures.js +12 -0
  202. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
  203. package/lib/atom/empty-search-result/test/fixtures.js +22 -0
  204. package/lib/atom/empty-search-result/test/fixtures.js.map +1 -0
  205. package/lib/atom/image-upload/test/fixtures.js +6 -3
  206. package/lib/atom/image-upload/test/fixtures.js.map +1 -1
  207. package/lib/atom/input-checkbox/test/fixtures.js +3 -0
  208. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  209. package/lib/atom/input-search/test/fixtures.js +31 -0
  210. package/lib/atom/input-search/test/fixtures.js.map +1 -0
  211. package/lib/atom/input-switch/test/fixtures.js +15 -0
  212. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  213. package/lib/atom/input-text/test/fixtures.js +3 -0
  214. package/lib/atom/input-text/test/fixtures.js.map +1 -1
  215. package/lib/atom/input-text-with-title/index.js +2 -2
  216. package/lib/atom/input-text-with-title/index.js.map +1 -1
  217. package/lib/atom/input-text-with-title/test/fixtures.js +25 -0
  218. package/lib/atom/input-text-with-title/test/fixtures.js.map +1 -0
  219. package/lib/atom/input-textarea/test/fixtures.js +6 -0
  220. package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
  221. package/lib/atom/loader/test/fixtures.js +3 -0
  222. package/lib/atom/loader/test/fixtures.js.map +1 -1
  223. package/lib/atom/review-header-step-item/test/fixtures.js +31 -0
  224. package/lib/atom/review-header-step-item/test/fixtures.js.map +1 -0
  225. package/lib/atom/review-presentation/index.js +112 -0
  226. package/lib/atom/review-presentation/index.js.map +1 -0
  227. package/lib/atom/review-presentation/style.css +152 -0
  228. package/lib/atom/review-presentation/test/fixtures/default.js +33 -0
  229. package/lib/atom/review-presentation/test/fixtures/default.js.map +1 -0
  230. package/lib/atom/review-presentation/test/fixtures.js +22 -0
  231. package/lib/atom/review-presentation/test/fixtures.js.map +1 -0
  232. package/lib/atom/select/test/fixtures.js +6 -0
  233. package/lib/atom/select/test/fixtures.js.map +1 -1
  234. package/lib/atom/tag/test/fixtures.js +34 -0
  235. package/lib/atom/tag/test/fixtures.js.map +1 -0
  236. package/lib/atom/title/test/fixtures.js +8 -2
  237. package/lib/atom/title/test/fixtures.js.map +1 -1
  238. package/lib/atom/wizard-steps/test/fixtures.js +28 -0
  239. package/lib/atom/wizard-steps/test/fixtures.js.map +1 -0
  240. package/lib/molecule/banner/test/fixtures.js +37 -0
  241. package/lib/molecule/banner/test/fixtures.js.map +1 -0
  242. package/lib/molecule/brand-form-group/index.js +5 -0
  243. package/lib/molecule/brand-form-group/index.js.map +1 -1
  244. package/lib/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js +25 -0
  245. package/lib/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js.map +1 -0
  246. package/lib/molecule/brand-form-group/test/fixtures.js +3 -0
  247. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
  248. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +25 -0
  249. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  250. package/lib/molecule/card/test/fixtures.js +9 -0
  251. package/lib/molecule/card/test/fixtures.js.map +1 -1
  252. package/lib/molecule/cm-popin/test/fixtures.js +28 -0
  253. package/lib/molecule/cm-popin/test/fixtures.js.map +1 -0
  254. package/lib/molecule/coorp-manager-roles/test/fixtures.js +22 -0
  255. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  256. package/lib/molecule/course-section/test/fixtures.js +34 -0
  257. package/lib/molecule/course-section/test/fixtures.js.map +1 -0
  258. package/lib/molecule/course-sections/index.js +16 -8
  259. package/lib/molecule/course-sections/index.js.map +1 -1
  260. package/lib/molecule/course-sections/style.css +0 -4
  261. package/lib/molecule/course-sections/test/fixtures.js +28 -0
  262. package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
  263. package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
  264. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  265. package/lib/molecule/drag-and-drop-wrapper/index.js +1 -4
  266. package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
  267. package/lib/molecule/drag-and-drop-wrapper/style.css +0 -4
  268. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +20 -0
  269. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -0
  270. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +25 -0
  271. package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -0
  272. package/lib/molecule/draggable/test/fixtures.js +22 -0
  273. package/lib/molecule/draggable/test/fixtures.js.map +1 -0
  274. package/lib/molecule/draggable-list/test/fixtures.js +25 -0
  275. package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
  276. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js +25 -0
  277. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  278. package/lib/molecule/list-badges/test/fixtures.js +31 -0
  279. package/lib/molecule/list-badges/test/fixtures.js.map +1 -0
  280. package/lib/molecule/popin/test/fixtures.js +34 -0
  281. package/lib/molecule/popin/test/fixtures.js.map +1 -0
  282. package/lib/molecule/questions/free-text/test/fixtures.js +5 -2
  283. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  284. package/lib/molecule/quick-access-card/test/fixtures.js +34 -0
  285. package/lib/molecule/quick-access-card/test/fixtures.js.map +1 -0
  286. package/lib/molecule/quick-access-cards-group/test/fixtures.js +34 -0
  287. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  288. package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
  289. package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  290. package/lib/molecule/review-header-steps/test/fixtures.js +37 -0
  291. package/lib/molecule/review-header-steps/test/fixtures.js.map +1 -0
  292. package/lib/molecule/select-multiple/test/fixtures.js +12 -0
  293. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  294. package/lib/molecule/setup-slide/test/fixtures.js +3 -0
  295. package/lib/molecule/setup-slide/test/fixtures.js.map +1 -1
  296. package/lib/molecule/skill-card/index.js +105 -0
  297. package/lib/molecule/skill-card/index.js.map +1 -0
  298. package/lib/molecule/skill-card/style.css +60 -0
  299. package/lib/molecule/skill-card/test/fixtures/custom-skill.js +17 -0
  300. package/lib/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
  301. package/lib/molecule/skill-card/test/fixtures/default.js +21 -0
  302. package/lib/molecule/skill-card/test/fixtures/default.js.map +1 -0
  303. package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js +18 -0
  304. package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
  305. package/lib/molecule/skill-card/test/fixtures/short-skill-title.js +17 -0
  306. package/lib/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
  307. package/lib/molecule/skill-card/test/fixtures.js +31 -0
  308. package/lib/molecule/skill-card/test/fixtures.js.map +1 -0
  309. package/lib/molecule/skill-card/test/skill-card.js +102 -0
  310. package/lib/molecule/skill-card/test/skill-card.js.map +1 -0
  311. package/lib/molecule/title-and-checkbox-wrapper/index.js +56 -0
  312. package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -0
  313. package/lib/molecule/title-and-checkbox-wrapper/style.css +6 -0
  314. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/default.js +20 -0
  315. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/default.js.map +1 -0
  316. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js +23 -0
  317. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js.map +1 -0
  318. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js +20 -0
  319. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js.map +1 -0
  320. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js +23 -0
  321. package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js.map +1 -0
  322. package/lib/molecule/vertical-tabs/test/fixtures.js +28 -0
  323. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  324. package/lib/molecule/wizard-summary/test/fixtures.js +37 -0
  325. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -0
  326. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +28 -0
  327. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  328. package/lib/organism/accordion/coorp-manager/test/fixtures.js +22 -0
  329. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  330. package/lib/organism/brand-analytics/test/fixtures.js +37 -0
  331. package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
  332. package/lib/organism/brand-dashboard/test/fixtures.js +2 -14
  333. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  334. package/lib/organism/brand-form/test/fixtures/wizard-certification.js +66 -0
  335. package/lib/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -0
  336. package/lib/organism/brand-form/test/fixtures.js +3 -0
  337. package/lib/organism/brand-form/test/fixtures.js.map +1 -1
  338. package/lib/organism/content-translation/test/fixtures.js +25 -0
  339. package/lib/organism/content-translation/test/fixtures.js.map +1 -0
  340. package/lib/organism/course-selection/test/fixtures.js +40 -0
  341. package/lib/organism/course-selection/test/fixtures.js.map +1 -0
  342. package/lib/organism/list-item/test/fixtures.js +31 -0
  343. package/lib/organism/list-item/test/fixtures.js.map +1 -0
  344. package/lib/organism/list-items/test/fixtures.js +28 -0
  345. package/lib/organism/list-items/test/fixtures.js.map +1 -0
  346. package/lib/organism/mooc-header/test/fixtures.js +9 -0
  347. package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
  348. package/lib/organism/review-header/test/fixtures.js +37 -0
  349. package/lib/organism/review-header/test/fixtures.js.map +1 -0
  350. package/lib/organism/rewards-form/index.js +6 -16
  351. package/lib/organism/rewards-form/index.js.map +1 -1
  352. package/lib/organism/rewards-form/test/fixtures/default.js +25 -8
  353. package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -1
  354. package/lib/organism/rewards-form/test/fixtures/one-reward.js +5 -3
  355. package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -1
  356. package/lib/organism/rewards-form/test/fixtures/two-rewards.js +10 -6
  357. package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -1
  358. package/lib/organism/rewards-form/test/fixtures.js +31 -0
  359. package/lib/organism/rewards-form/test/fixtures.js.map +1 -0
  360. package/lib/organism/search-and-chips-results/test/fixtures.js +37 -0
  361. package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  362. package/lib/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js +46 -0
  363. package/lib/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -0
  364. package/lib/organism/wizard-contents/test/fixtures.js +40 -0
  365. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -0
  366. package/lib/template/app-player/popin-end/test/fixtures.js +3 -0
  367. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  368. package/lib/template/back-office/brand-update/test/fixtures.js +38 -2
  369. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  370. package/lib/template/teams-dashboard/test/fixtures.js +3 -0
  371. package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
  372. package/lib/variables/colors.css +1 -0
  373. package/package.json +3 -3
  374. package/es/molecule/cockpit-popin/test/fixtures.js +0 -17
  375. package/es/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  376. package/es/molecule/search/test/fixtures.js +0 -15
  377. package/es/molecule/search/test/fixtures.js.map +0 -1
  378. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -28
  379. package/lib/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  380. package/lib/molecule/search/test/fixtures.js +0 -25
  381. package/lib/molecule/search/test/fixtures.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/brand-form-group/index.js"],"names":["React","PropTypes","classNames","Autocomplete","Select","SelectMultiple","InputText","InputColor","InputCheckbox","InputReadonly","InputSwitch","BrandUploadBox","BrandDownloadBox","Button","InputTextarea","InputHTML","InputDoublestep","ImageUpload","SetupSlider","SetupSections","Title","Roles","style","inputContainerStyle","default","defaultWidth","medium","mediumWidth","large","largeWidth","buildInput","field","type","imageUploadContainer","buildField","index","input","theme","size","styleInput","BrandFormGroup","props","title","subtitle","fieldsLayout","groupLayout","fields","fieldsList","convert","cap","wrapper","groupGrid","titleWrapper","grid","propTypes","string","arrayOf","oneOfType","shape","oneOf"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,YAAP,MAAyB,yBAAzB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,cAAP,MAA2B,oBAA3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D,CAAhB;AAFR,KAzDkB,EA6DlB1D,SAAS,CAACyD,KAAV,uBACK/C,cAAc,CAAC2C,SADpB;AAEEtB,IAAAA,IAAI,EAAE/B,SAAS,CAAC0D,KAAV,CAAgB,CAAC,WAAD,CAAhB;AAFR,KA7DkB,EAiElB1D,SAAS,CAACyD,KAAV,uBACK7C,MAAM,CAACyC,SADZ;AAEEtB,IAAAA,IAAI,EAAE/B,SAAS,CAAC0D,KAAV,CAAgB,CAAC,QAAD,CAAhB;AAFR,KAjEkB,EAqElB1D,SAAS,CAACyD,KAAV,uBACKrD,cAAc,CAACiD,SADpB;AAEEtB,IAAAA,IAAI,EAAE/B,SAAS,CAAC0D,KAAV,CAAgB,CAAC,gBAAD,CAAhB;AAFR,KArEkB,EAyElB1D,SAAS,CAACyD,KAAV,uBACKrC,KAAK,CAACiC,SADX;AAEEtB,IAAAA,IAAI,EAAE/B,SAAS,CAAC0D,KAAV,CAAgB,CAAC,OAAD,CAAhB;AAFR,KAzEkB,EA6ElB1D,SAAS,CAACyD,KAAV,CAAgBpD,SAAS,CAACgD,SAA1B,CA7EkB,CAApB,CADM;AALiB,CAA3B;AAuFA,eAAed,cAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys, map, snakeCase} from 'lodash/fp';\nimport classNames from 'classnames';\nimport Autocomplete from '../../atom/autocomplete';\nimport Select from '../../atom/select';\nimport SelectMultiple from '../select-multiple';\nimport InputText from '../../atom/input-text';\nimport InputColor from '../../atom/input-color';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputSwitch from '../../atom/input-switch';\nimport BrandUploadBox from '../brand-upload-box';\nimport BrandDownloadBox from '../brand-download-box';\nimport Button from '../../atom/button';\nimport InputTextarea from '../../atom/input-textarea';\nimport InputHTML from '../../atom/input-html';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupSlider from '../setup-slider';\nimport SetupSections from '../setup-sections';\nimport Title from '../../atom/title';\nimport Roles from '../coorp-manager-roles';\nimport style from './style.css';\n\nconst inputContainerStyle = {\n default: style.defaultWidth,\n medium: style.mediumWidth,\n large: style.largeWidth\n};\n\nconst buildInput = field => {\n const {type} = field;\n\n switch (type) {\n case 'autoComplete':\n return <Autocomplete {...field} />;\n case 'color':\n return <InputColor {...field} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'switch':\n return <InputSwitch {...field} />;\n case 'textarea':\n return <InputTextarea {...field} />;\n case 'html':\n return <InputHTML {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'selectMultiple':\n return <SelectMultiple {...field} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'slider':\n return <SetupSlider {...field} />;\n case 'sections':\n return <SetupSections {...field} />;\n case 'text':\n return <InputText {...field} />;\n case 'downloadbox':\n return <BrandDownloadBox {...field} />;\n case 'uploadbox':\n return <BrandUploadBox {...field} />;\n case 'button':\n case 'link':\n return <Button {...field} />;\n case 'roles':\n return <Roles {...field} />;\n default:\n return <InputText {...field} />;\n }\n};\n\nconst buildField = (field, index) => {\n const input = buildInput(field);\n const {theme, size = 'default'} = field;\n const styleInput = theme === 'coorpmanager' ? inputContainerStyle[size] : style.field;\n\n return (\n <div className={styleInput} key={index}>\n {input}\n </div>\n );\n};\n\nconst BrandFormGroup = props => {\n const {title, subtitle = '', fieldsLayout = '', groupLayout = '', fields = []} = props;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return (\n <div\n data-name={`brand_form_group_${snakeCase(title)}`}\n className={classNames(style.wrapper, groupLayout === 'grid' && style.groupGrid)}\n >\n <div className={style.titleWrapper}>\n <Title title={title} subtitle={subtitle} type={'form-group'} />\n </div>\n <div className={fieldsLayout === 'grid' ? style.grid : null}>{fieldsList}</div>\n </div>\n );\n};\n\nBrandFormGroup.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n fieldsLayout: PropTypes.string,\n groupLayout: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...Autocomplete.propTypes,\n type: PropTypes.oneOf(['autoComplete']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputColor.propTypes,\n type: PropTypes.oneOf(['color'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...InputTextarea.propTypes,\n type: PropTypes.oneOf(['textarea']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputHTML.propTypes,\n type: PropTypes.oneOf(['html'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...SetupSlider.propTypes,\n type: PropTypes.oneOf(['slider'])\n }),\n PropTypes.shape({\n ...SetupSections.propTypes,\n type: PropTypes.oneOf(['sections'])\n }),\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...BrandDownloadBox.propTypes,\n type: PropTypes.oneOf(['downloadbox'])\n }),\n PropTypes.shape({\n ...BrandUploadBox.propTypes,\n type: PropTypes.oneOf(['uploadbox'])\n }),\n PropTypes.shape({\n ...Button.propTypes,\n type: PropTypes.oneOf(['button'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n type: PropTypes.oneOf(['selectMultiple'])\n }),\n PropTypes.shape({\n ...Roles.propTypes,\n type: PropTypes.oneOf(['roles'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default BrandFormGroup;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/brand-form-group/index.js"],"names":["React","PropTypes","classNames","Autocomplete","Select","SelectMultiple","InputText","InputColor","InputCheckbox","InputReadonly","InputSwitch","BrandUploadBox","BrandDownloadBox","Button","InputTextarea","InputHTML","InputDoublestep","ImageUpload","SetupSlider","SetupSections","Title","Roles","TitleAndCheckBoxWrapper","style","inputContainerStyle","default","defaultWidth","medium","mediumWidth","large","largeWidth","buildInput","field","type","imageUploadContainer","buildField","index","input","theme","size","styleInput","BrandFormGroup","props","title","subtitle","fieldsLayout","groupLayout","fields","fieldsList","convert","cap","wrapper","groupGrid","titleWrapper","grid","propTypes","string","arrayOf","oneOfType","shape","oneOf"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,YAAP,MAAyB,yBAAzB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,SAAP,MAAsB,uBAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,aAAP,MAA0B,2BAA1B;AACA,OAAOC,aAAP,MAA0B,2BAA1B;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,aAAP,MAA0B,2BAA1B;AACA,OAAOC,SAAP,MAAsB,uBAAtB;AACA,OAAOC,eAAP,MAA4B,6BAA5B;AAC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I,EAAEhC,SAAS,CAAC2D,KAAV,CAAgB,CAAC,QAAD,CAAhB;AAFR,KAjEkB,EAqElB3D,SAAS,CAAC0D,KAAV,uBACKtD,cAAc,CAACkD,SADpB;AAEEtB,IAAAA,IAAI,EAAEhC,SAAS,CAAC2D,KAAV,CAAgB,CAAC,gBAAD,CAAhB;AAFR,KArEkB,EAyElB3D,SAAS,CAAC0D,KAAV,uBACKtC,KAAK,CAACkC,SADX;AAEEtB,IAAAA,IAAI,EAAEhC,SAAS,CAAC2D,KAAV,CAAgB,CAAC,OAAD,CAAhB;AAFR,KAzEkB,EA6ElB3D,SAAS,CAAC0D,KAAV,CAAgBrD,SAAS,CAACiD,SAA1B,CA7EkB,CAApB,CADM;AALiB,CAA3B;AAuFA,eAAed,cAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys, map, snakeCase} from 'lodash/fp';\nimport classNames from 'classnames';\nimport Autocomplete from '../../atom/autocomplete';\nimport Select from '../../atom/select';\nimport SelectMultiple from '../select-multiple';\nimport InputText from '../../atom/input-text';\nimport InputColor from '../../atom/input-color';\nimport InputCheckbox from '../../atom/input-checkbox';\nimport InputReadonly from '../../atom/input-readonly';\nimport InputSwitch from '../../atom/input-switch';\nimport BrandUploadBox from '../brand-upload-box';\nimport BrandDownloadBox from '../brand-download-box';\nimport Button from '../../atom/button';\nimport InputTextarea from '../../atom/input-textarea';\nimport InputHTML from '../../atom/input-html';\nimport InputDoublestep from '../../atom/input-doublestep';\nimport ImageUpload from '../../atom/image-upload';\nimport SetupSlider from '../setup-slider';\nimport SetupSections from '../setup-sections';\nimport Title from '../../atom/title';\nimport Roles from '../coorp-manager-roles';\nimport TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';\nimport style from './style.css';\n\nconst inputContainerStyle = {\n default: style.defaultWidth,\n medium: style.mediumWidth,\n large: style.largeWidth\n};\n\nconst buildInput = field => {\n const {type} = field;\n\n switch (type) {\n case 'autoComplete':\n return <Autocomplete {...field} />;\n case 'color':\n return <InputColor {...field} />;\n case 'readonly':\n return <InputReadonly {...field} />;\n case 'switch':\n return <InputSwitch {...field} />;\n case 'textarea':\n return <InputTextarea {...field} />;\n case 'html':\n return <InputHTML {...field} />;\n case 'doublestep':\n return <InputDoublestep {...field} />;\n case 'select':\n return <Select {...field} theme={'coorpmanager'} />;\n case 'selectMultiple':\n return <SelectMultiple {...field} />;\n case 'checkbox':\n return <InputCheckbox {...field} />;\n case 'image':\n return (\n <div className={style.imageUploadContainer}>\n <ImageUpload {...field} />\n </div>\n );\n case 'slider':\n return <SetupSlider {...field} />;\n case 'sections':\n return <SetupSections {...field} />;\n case 'text':\n return <InputText {...field} />;\n case 'downloadbox':\n return <BrandDownloadBox {...field} />;\n case 'uploadbox':\n return <BrandUploadBox {...field} />;\n case 'button':\n case 'link':\n return <Button {...field} />;\n case 'roles':\n return <Roles {...field} />;\n case 'titleAndCheckBoxWrapper':\n return <TitleAndCheckBoxWrapper {...field} />;\n default:\n return <InputText {...field} />;\n }\n};\n\nconst buildField = (field, index) => {\n const input = buildInput(field);\n const {theme, size = 'default'} = field;\n const styleInput = theme === 'coorpmanager' ? inputContainerStyle[size] : style.field;\n\n return (\n <div className={styleInput} key={index}>\n {input}\n </div>\n );\n};\n\nconst BrandFormGroup = props => {\n const {title, subtitle = '', fieldsLayout = '', groupLayout = '', fields = []} = props;\n const fieldsList = map.convert({cap: false})(buildField, fields);\n\n return (\n <div\n data-name={`brand_form_group_${snakeCase(title)}`}\n className={classNames(style.wrapper, groupLayout === 'grid' && style.groupGrid)}\n >\n <div className={style.titleWrapper}>\n <Title title={title} subtitle={subtitle} type={'form-group'} />\n </div>\n <div className={fieldsLayout === 'grid' ? style.grid : null}>{fieldsList}</div>\n </div>\n );\n};\n\nBrandFormGroup.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n fieldsLayout: PropTypes.string,\n groupLayout: PropTypes.string,\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({\n ...Autocomplete.propTypes,\n type: PropTypes.oneOf(['autoComplete']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputColor.propTypes,\n type: PropTypes.oneOf(['color'])\n }),\n PropTypes.shape({\n ...InputReadonly.propTypes,\n type: PropTypes.oneOf(['readonly'])\n }),\n PropTypes.shape({\n ...InputSwitch.propTypes,\n type: PropTypes.oneOf(['switch'])\n }),\n PropTypes.shape({\n ...InputTextarea.propTypes,\n type: PropTypes.oneOf(['textarea']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputHTML.propTypes,\n type: PropTypes.oneOf(['html'])\n }),\n PropTypes.shape({\n ...InputDoublestep.propTypes,\n type: PropTypes.oneOf(['doublestep'])\n }),\n PropTypes.shape({\n ...Select.propTypes,\n type: PropTypes.oneOf(['select']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...InputCheckbox.propTypes,\n type: PropTypes.oneOf(['checkbox'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n type: PropTypes.oneOf(['image'])\n }),\n PropTypes.shape({\n ...SetupSlider.propTypes,\n type: PropTypes.oneOf(['slider'])\n }),\n PropTypes.shape({\n ...SetupSections.propTypes,\n type: PropTypes.oneOf(['sections'])\n }),\n PropTypes.shape({\n ...InputText.propTypes,\n type: PropTypes.oneOf(['text']),\n size: PropTypes.oneOf(keys(inputContainerStyle))\n }),\n PropTypes.shape({\n ...BrandDownloadBox.propTypes,\n type: PropTypes.oneOf(['downloadbox'])\n }),\n PropTypes.shape({\n ...BrandUploadBox.propTypes,\n type: PropTypes.oneOf(['uploadbox'])\n }),\n PropTypes.shape({\n ...Button.propTypes,\n type: PropTypes.oneOf(['button'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n type: PropTypes.oneOf(['selectMultiple'])\n }),\n PropTypes.shape({\n ...Roles.propTypes,\n type: PropTypes.oneOf(['roles'])\n }),\n PropTypes.shape(InputText.propTypes)\n ])\n )\n};\nexport default BrandFormGroup;\n"],"file":"index.js"}
@@ -0,0 +1,16 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import SetupSlider from '../../../title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title';
4
+ const {
5
+ props
6
+ } = SetupSlider;
7
+ export default {
8
+ props: {
9
+ title: 'Title and checkbox wrapper',
10
+ subtitle: 'Explanation about the slider',
11
+ fields: [_extends(_extends({}, props), {}, {
12
+ type: 'titleAndCheckBoxWrapper'
13
+ })]
14
+ }
15
+ };
16
+ //# sourceMappingURL=title-and-checkbox-wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js"],"names":["SetupSlider","props","title","subtitle","fields","type"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,2EAAxB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,WAAhB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,4BADF;AAELC,IAAAA,QAAQ,EAAE,8BAFL;AAGLC,IAAAA,MAAM,EAAE,uBAEDH,KAFC;AAGJI,MAAAA,IAAI,EAAE;AAHF;AAHH;AADM,CAAf","sourcesContent":["import SetupSlider from '../../../title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title';\n\nconst {props} = SetupSlider;\n\nexport default {\n props: {\n title: 'Title and checkbox wrapper',\n subtitle: 'Explanation about the slider',\n fields: [\n {\n ...props,\n type: 'titleAndCheckBoxWrapper'\n }\n ]\n }\n};\n"],"file":"title-and-checkbox-wrapper.js"}
@@ -4,6 +4,7 @@ import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import MoleculeBrandFormGroup from '..';
5
5
  import fixtureAnalytics from './fixtures/analytics';
6
6
  import fixtureAnimations from './fixtures/animations';
7
+ import fixtureCmDefault from './fixtures/cm-default';
7
8
  import fixtureCohort from './fixtures/cohort';
8
9
  import fixtureDashboard from './fixtures/dashboard';
9
10
  import fixtureDefault from './fixtures/default';
@@ -21,6 +22,7 @@ test('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {
21
22
  });
22
23
  test('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);
23
24
  test('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);
25
+ test('Molecule › MoleculeBrandFormGroup › CmDefault › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCmDefault);
24
26
  test('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);
25
27
  test('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);
26
28
  test('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,aAAP,MAA0B,m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;AACAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHS,YAAjH,CAAJ;AACAZ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHU,aAAlH,CAAJ;AACAb,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GW,UAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandFormGroup from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoublefield from './fixtures/doublefield';\nimport fixtureImages from './fixtures/images';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureRoles from './fixtures/roles';\nimport fixtureSlider from './fixtures/slider';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandFormGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);\ntest('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);\ntest('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);\ntest('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);\ntest('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);\ntest('Molecule › MoleculeBrandFormGroup › Doublefield › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDoublefield);\ntest('Molecule › MoleculeBrandFormGroup › Images › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureImages);\ntest('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);\ntest('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);\ntest('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCmDefault","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAA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1F,EAAkHW,aAAlH,CAAJ;AACAd,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GY,UAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandFormGroup from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCmDefault from './fixtures/cm-default';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoublefield from './fixtures/doublefield';\nimport fixtureImages from './fixtures/images';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureRoles from './fixtures/roles';\nimport fixtureSlider from './fixtures/slider';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandFormGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);\ntest('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);\ntest('Molecule › MoleculeBrandFormGroup › CmDefault › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCmDefault);\ntest('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);\ntest('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);\ntest('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);\ntest('Molecule › MoleculeBrandFormGroup › Doublefield › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDoublefield);\ntest('Molecule › MoleculeBrandFormGroup › Images › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureImages);\ntest('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);\ntest('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);\ntest('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);\n"],"file":"fixtures.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeBulletPointMenuButton from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureMultipleButtons from './fixtures/multiple-buttons';
7
+ test('Molecule › MoleculeBulletPointMenuButton > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(MoleculeBulletPointMenuButton.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Molecule.MoleculeBulletPointMenuButton.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Molecule › MoleculeBulletPointMenuButton › Default › should be rendered', renderComponentMacro, MoleculeBulletPointMenuButton, fixtureDefault);
14
+ test('Molecule › MoleculeBulletPointMenuButton › MultipleButtons › should be rendered', renderComponentMacro, MoleculeBulletPointMenuButton, fixtureMultipleButtons);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/bullet-point-menu-button/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBulletPointMenuButton","fixtureDefault","fixtureMultipleButtons","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AAEAL,IAAI,CAAC,wEAAD,EAA2EM,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,6BAA6B,CAACK,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,6BAAlG,EAAiIC,cAAjI,CAAJ;AACAJ,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,6BAA1G,EAAyIE,sBAAzI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBulletPointMenuButton from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureMultipleButtons from './fixtures/multiple-buttons';\n\ntest('Molecule › MoleculeBulletPointMenuButton > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBulletPointMenuButton.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBulletPointMenuButton.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBulletPointMenuButton › Default › should be rendered', renderComponentMacro, MoleculeBulletPointMenuButton, fixtureDefault);\ntest('Molecule › MoleculeBulletPointMenuButton › MultipleButtons › should be rendered', renderComponentMacro, MoleculeBulletPointMenuButton, fixtureMultipleButtons);\n"],"file":"fixtures.js"}
@@ -6,6 +6,7 @@ import fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';
6
6
  import fixtureAdaptiv from './fixtures/adaptiv';
7
7
  import fixtureArabic from './fixtures/arabic';
8
8
  import fixtureArticle from './fixtures/article';
9
+ import fixtureCoorpmanager from './fixtures/coorpmanager';
9
10
  import fixtureDefault from './fixtures/default';
10
11
  import fixtureDisabled from './fixtures/disabled';
11
12
  import fixtureEmpty from './fixtures/empty';
@@ -15,6 +16,8 @@ import fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';
15
16
  import fixtureFreerun from './fixtures/freerun';
16
17
  import fixturePodcast from './fixtures/podcast';
17
18
  import fixtureScorm from './fixtures/scorm';
19
+ import fixtureSelectableFalse from './fixtures/selectable-false';
20
+ import fixtureSelectableTrue from './fixtures/selectable-true';
18
21
  import fixtureVideo from './fixtures/video';
19
22
  test('Molecule › MoleculeCard > should have valid propTypes', t => {
20
23
  t.pass();
@@ -26,6 +29,7 @@ test('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered',
26
29
  test('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);
27
30
  test('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);
28
31
  test('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);
32
+ test('Molecule › MoleculeCard › Coorpmanager › should be rendered', renderComponentMacro, MoleculeCard, fixtureCoorpmanager);
29
33
  test('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);
30
34
  test('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);
31
35
  test('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);
@@ -35,5 +39,7 @@ test('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered',
35
39
  test('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);
36
40
  test('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);
37
41
  test('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);
42
+ test('Molecule › MoleculeCard › SelectableFalse › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableFalse);
43
+ test('Molecule › MoleculeCard › SelectableTrue › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableTrue);
38
44
  test('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);
39
45
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCard","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureVideo","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,YAAP,MAAyB,IAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B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AiFC,YAAjF,EAA+FW,cAA/F,CAAJ;AACAd,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FY,cAA/F,CAAJ;AACAf,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fa,YAA7F,CAAJ;AACAhB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fc,YAA7F,CAAJ","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 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 › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCard","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureCoorpmanager","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureSelectableFalse","fixtureSelectableTrue","fixtureVideo","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,YAAP,MAAyB,IAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,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iFC,YAAjF,EAA+FM,cAA/F,CAAJ;AACAT,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGO,eAAhG,CAAJ;AACAV,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6FQ,YAA7F,CAAJ;AACAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,YAAzF,EAAuGS,sBAAvG,CAAJ;AACAZ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGU,eAAhG,CAAJ;AACAb,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,YAA5F,EAA0GW,yBAA1G,CAAJ;AACAd,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FY,cAA/F,CAAJ;AACAf,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+Fa,cAA/F,CAAJ;AACAhB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fc,YAA7F,CAAJ;AACAjB,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,YAAzF,EAAuGe,sBAAvG,CAAJ;AACAlB,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,YAAxF,EAAsGgB,qBAAtG,CAAJ;AACAnB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6FiB,YAA7F,CAAJ","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"}
@@ -0,0 +1,17 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeCmPopin from '..';
5
+ import fixtureDangerous from './fixtures/dangerous';
6
+ import fixtureDefault from './fixtures/default';
7
+ import fixtureWarningWithClose from './fixtures/warning-with-close';
8
+ test('Molecule › MoleculeCmPopin > should have valid propTypes', t => {
9
+ t.pass();
10
+ forEach(MoleculeCmPopin.propTypes, (value, key) => {
11
+ t.not(value, undefined, `PropType for "Molecule.MoleculeCmPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
+ });
13
+ });
14
+ test('Molecule › MoleculeCmPopin › Dangerous › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureDangerous);
15
+ test('Molecule › MoleculeCmPopin › Default › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureDefault);
16
+ test('Molecule › MoleculeCmPopin › WarningWithClose › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureWarningWithClose);
17
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/cm-popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCmPopin","fixtureDangerous","fixtureDefault","fixtureWarningWithClose","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,eAAP,MAA4B,IAA5B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AAEAN,IAAI,CAAC,0DAAD,EAA6DO,CAAC,IAAI;AACpEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,eAAe,CAACM,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,oDAAmDF,GAAI,mEAAhF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,eAAtF,EAAuGC,gBAAvG,CAAJ;AACAJ,IAAI,CAAC,2DAAD,EAA8DE,oBAA9D,EAAoFC,eAApF,EAAqGE,cAArG,CAAJ;AACAL,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,eAA7F,EAA8GG,uBAA9G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCmPopin from '..';\nimport fixtureDangerous from './fixtures/dangerous';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWarningWithClose from './fixtures/warning-with-close';\n\ntest('Molecule › MoleculeCmPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCmPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCmPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCmPopin › Dangerous › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureDangerous);\ntest('Molecule › MoleculeCmPopin › Default › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureDefault);\ntest('Molecule › MoleculeCmPopin › WarningWithClose › should be rendered', renderComponentMacro, MoleculeCmPopin, fixtureWarningWithClose);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeCoorpManagerRoles from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('Molecule › MoleculeCoorpManagerRoles > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(MoleculeCoorpManagerRoles.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "Molecule.MoleculeCoorpManagerRoles.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('Molecule › MoleculeCoorpManagerRoles › Default › should be rendered', renderComponentMacro, MoleculeCoorpManagerRoles, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/coorp-manager-roles/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCoorpManagerRoles","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,oEAAD,EAAuEK,CAAC,IAAI;AAC9EA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,yBAAyB,CAACI,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,8DAA6DF,GAAI,mEAA1F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,yBAA9F,EAAyHC,cAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCoorpManagerRoles from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Molecule › MoleculeCoorpManagerRoles > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCoorpManagerRoles.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCoorpManagerRoles.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCoorpManagerRoles › Default › should be rendered', renderComponentMacro, MoleculeCoorpManagerRoles, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -0,0 +1,21 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeCourseSection from '..';
5
+ import fixtureAdvancedLevel from './fixtures/advanced-level';
6
+ import fixtureBaseLevel from './fixtures/base-level';
7
+ import fixtureChapter from './fixtures/chapter';
8
+ import fixtureCoachLevel from './fixtures/coach-level';
9
+ import fixtureCourse from './fixtures/course';
10
+ test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
11
+ t.pass();
12
+ forEach(MoleculeCourseSection.propTypes, (value, key) => {
13
+ t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSection.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
14
+ });
15
+ });
16
+ test('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);
17
+ test('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);
18
+ test('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);
19
+ test('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);
20
+ test('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);
21
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/course-section/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSection","fixtureAdvancedLevel","fixtureBaseLevel","fixtureChapter","fixtureCoachLevel","fixtureCourse","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAR,IAAI,CAAC,gEAAD,EAAmES,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,qBAAqB,CAACQ,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHC,oBAAvH,CAAJ;AACAJ,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,qBAA5F,EAAmHE,gBAAnH,CAAJ;AACAL,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHG,cAAjH,CAAJ;AACAN,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHI,iBAApH,CAAJ;AACAP,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,qBAAzF,EAAgHK,aAAhH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSection from '..';\nimport fixtureAdvancedLevel from './fixtures/advanced-level';\nimport fixtureBaseLevel from './fixtures/base-level';\nimport fixtureChapter from './fixtures/chapter';\nimport fixtureCoachLevel from './fixtures/coach-level';\nimport fixtureCourse from './fixtures/course';\n\ntest('Molecule › MoleculeCourseSection > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCourseSection.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCourseSection.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);\ntest('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);\ntest('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);\ntest('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);\ntest('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);\n"],"file":"fixtures.js"}
@@ -1,3 +1,5 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
1
3
  import React from 'react';
2
4
  import PropTypes from 'prop-types';
3
5
  import InputTextWithTitle from '../../atom/input-text-with-title';
@@ -5,6 +7,7 @@ import CourseSection from '../course-section';
5
7
  import DraggableList from '../draggable-list';
6
8
  import Loader from '../../atom/loader';
7
9
  import Title from '../../atom/title';
10
+ import TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';
8
11
  import style from './style.css';
9
12
 
10
13
  const Loading = () => /*#__PURE__*/React.createElement("div", {
@@ -23,15 +26,19 @@ const CourseSections = ({
23
26
  inputTitle
24
27
  }) => {
25
28
  if (isLoading) return /*#__PURE__*/React.createElement(Loading, null);
26
- return /*#__PURE__*/React.createElement("div", null, inputTitle ? /*#__PURE__*/React.createElement("div", {
27
- className: style.title
28
- }, /*#__PURE__*/React.createElement(Title, {
29
+
30
+ const child = _extends(_extends({}, mandatoryCoursesInput), {}, {
31
+ childType: 'input-text'
32
+ });
33
+
34
+ const sectionTitle = {
29
35
  title: inputTitle,
30
- type: 'form-group',
31
- "data-name": 'mandatory-courses-input-title'
32
- })) : null, mandatoryCoursesInput ? /*#__PURE__*/React.createElement("div", {
33
- className: style.mandatoryCoursesInput
34
- }, /*#__PURE__*/React.createElement(InputTextWithTitle, mandatoryCoursesInput)) : null, title ? /*#__PURE__*/React.createElement("div", {
36
+ 'data-name': 'mandatory-courses-input-title'
37
+ };
38
+ return /*#__PURE__*/React.createElement("div", null, mandatoryCoursesInput && sectionTitle ? /*#__PURE__*/React.createElement(TitleAndCheckBoxWrapper, {
39
+ child: child,
40
+ sectionTitle: sectionTitle
41
+ }) : null, title ? /*#__PURE__*/React.createElement("div", {
35
42
  className: style.title
36
43
  }, /*#__PURE__*/React.createElement(Title, {
37
44
  title: title,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/course-sections/index.js"],"names":["React","PropTypes","InputTextWithTitle","CourseSection","DraggableList","Loader","Title","style","Loading","loaderContainer","loader","CourseSections","sections","onDrop","isLoading","title","mandatoryCoursesInput","inputTitle","propTypes","string","arrayOf","shape","func","bool"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,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AAA,KAAK,EAAEH,QAAhD;AAA0D,IAAA,MAAM,EAAEC;AAAlE,IApBF,CADF;AAwBD,CAlCD;;AAoCAF,cAAc,CAACO,SAAf,2CAA2B;AACzBD,EAAAA,UAAU,EAAEhB,SAAS,CAACkB,MADG;AAEzBJ,EAAAA,KAAK,EAAEd,SAAS,CAACkB,MAFQ;AAGzBP,EAAAA,QAAQ,EAAEX,SAAS,CAACmB,OAAV,CAAkBnB,SAAS,CAACoB,KAAV,CAAgBlB,aAAa,CAACe,SAA9B,CAAlB,CAHe;AAIzBL,EAAAA,MAAM,EAAEZ,SAAS,CAACqB,IAJO;AAKzBR,EAAAA,SAAS,EAAEb,SAAS,CAACsB,IALI;AAMzBP,EAAAA,qBAAqB,EAAEf,SAAS,CAACoB,KAAV,CAAgBnB,kBAAkB,CAACgB,SAAnC;AANE,CAA3B;AASA,eAAeP,cAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport CourseSection from '../course-section';\nimport DraggableList from '../draggable-list';\nimport Loader from '../../atom/loader';\nimport Title from '../../atom/title';\nimport style from './style.css';\n\nconst Loading = () => (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n);\n\nconst CourseSections = ({\n sections,\n onDrop,\n isLoading,\n title,\n mandatoryCoursesInput,\n inputTitle\n}) => {\n if (isLoading) return <Loading />;\n\n return (\n <div>\n {inputTitle ? (\n <div className={style.title}>\n <Title\n title={inputTitle}\n type={'form-group'}\n data-name={'mandatory-courses-input-title'}\n />\n </div>\n ) : null}\n {mandatoryCoursesInput ? (\n <div className={style.mandatoryCoursesInput}>\n <InputTextWithTitle {...mandatoryCoursesInput} />\n </div>\n ) : null}\n {title ? (\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'course-sections-title'} />\n </div>\n ) : null}\n <DraggableList itemType=\"course-section\" items={sections} onDrop={onDrop} />\n </div>\n );\n};\n\nCourseSections.propTypes = {\n inputTitle: PropTypes.string,\n title: PropTypes.string,\n sections: PropTypes.arrayOf(PropTypes.shape(CourseSection.propTypes)),\n onDrop: PropTypes.func,\n isLoading: PropTypes.bool,\n mandatoryCoursesInput: PropTypes.shape(InputTextWithTitle.propTypes)\n};\n\nexport default CourseSections;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/course-sections/index.js"],"names":["React","PropTypes","InputTextWithTitle","CourseSection","DraggableList","Loader","Title","TitleAndCheckBoxWrapper","style","Loading","loaderContainer","loader","CourseSections","sections","onDrop","isLoading","title","mandatoryCoursesInput","inputTitle","child","childType","sectionTitle","propTypes","string","arrayOf","shape","func","bool"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,OAAO,GAAG,mBACd;AAAK,EAAA,SAAS,EAAED,KAAK,CAACE;AAAtB,gBACE,oBAAC,MAAD;AAAQ,EAAA,SAAS,EAAEF,KAAK,CAACG,MAAzB;AAAiC,EAAA,KAAK,EAAC;AAAvC,EADF,CADF;;AAMA,MAAMC,cAAc,GAAG,CAAC;AACtBC,EAAAA,QADsB;AAEtBC,EAAAA,MAFsB;AAGtBC,EAAAA,SAHsB;AAItBC,EAAAA,KAJsB;AAKtBC,EAAAA,qBALsB;AAMtBC,EAAAA;AANsB,CAAD,KAOjB;AACJ,MAAIH,SAAJ,EAAe,oBAAO,oBAAC,OAAD,OAAP;;AAEf,QAAMI,KAAK,yBAAOF,qBAAP;AAA8BG,IAAAA,SAAS,EAAE;AAAzC,IAAX;;AACA,QAAMC,YAAY,GAAG;AAACL,IAAAA,KAAK,EAAEE,UAAR;AAAoB,iBAAa;AAAjC,GAArB;AACA,sBACE,iCACGD,qBAAqB,IAAII,YAAzB,gBACC,oBAAC,uBAAD;AAAyB,IAAA,KAAK,EAAEF,KAAhC;AAAuC,IAAA,YAAY,EAAEE;AAArD,IADD,GAEG,IAHN,EAIGL,KAAK,gBACJ;AAAK,IAAA,SAAS,EAAER,KAAK,CAACQ;AAAtB,kBACE,oBAAC,KAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADI,GAIF,IARN,eASE,oBAAC,aAAD;AAAe,IAAA,QAAQ,EAAC,gBAAxB;AAAyC,IAAA,KAAK,EAAEH,QAAhD;AAA0D,IAAA,MAAM,EAAEC;AAAlE,IATF,CADF;AAaD,CAzBD;;AA2BAF,cAAc,CAACU,SAAf,2CAA2B;AACzBJ,EAAAA,UAAU,EAAEjB,SAAS,CAACsB,MADG;AAEzBP,EAAAA,KAAK,EAAEf,SAAS,CAACsB,MAFQ;AAGzBV,EAAAA,QAAQ,EAAEZ,SAAS,CAACuB,OAAV,CAAkBvB,SAAS,CAACwB,KAAV,CAAgBtB,aAAa,CAACmB,SAA9B,CAAlB,CAHe;AAIzBR,EAAAA,MAAM,EAAEb,SAAS,CAACyB,IAJO;AAKzBX,EAAAA,SAAS,EAAEd,SAAS,CAAC0B,IALI;AAMzBV,EAAAA,qBAAqB,EAAEhB,SAAS,CAACwB,KAAV,CAAgBvB,kBAAkB,CAACoB,SAAnC;AANE,CAA3B;AASA,eAAeV,cAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport CourseSection from '../course-section';\nimport DraggableList from '../draggable-list';\nimport Loader from '../../atom/loader';\nimport Title from '../../atom/title';\nimport TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';\nimport style from './style.css';\n\nconst Loading = () => (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n);\n\nconst CourseSections = ({\n sections,\n onDrop,\n isLoading,\n title,\n mandatoryCoursesInput,\n inputTitle\n}) => {\n if (isLoading) return <Loading />;\n\n const child = {...mandatoryCoursesInput, childType: 'input-text'};\n const sectionTitle = {title: inputTitle, 'data-name': 'mandatory-courses-input-title'};\n return (\n <div>\n {mandatoryCoursesInput && sectionTitle ? (\n <TitleAndCheckBoxWrapper child={child} sectionTitle={sectionTitle} />\n ) : null}\n {title ? (\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'course-sections-title'} />\n </div>\n ) : null}\n <DraggableList itemType=\"course-section\" items={sections} onDrop={onDrop} />\n </div>\n );\n};\n\nCourseSections.propTypes = {\n inputTitle: PropTypes.string,\n title: PropTypes.string,\n sections: PropTypes.arrayOf(PropTypes.shape(CourseSection.propTypes)),\n onDrop: PropTypes.func,\n isLoading: PropTypes.bool,\n mandatoryCoursesInput: PropTypes.shape(InputTextWithTitle.propTypes)\n};\n\nexport default CourseSections;\n"],"file":"index.js"}
@@ -2,10 +2,6 @@
2
2
  margin-bottom: 16px;
3
3
  }
4
4
 
5
- .mandatoryCoursesInput {
6
- margin: 0 0 32px 16px;
7
- }
8
-
9
5
  .loader {
10
6
  width: 60px;
11
7
  height: 60px;
@@ -0,0 +1,17 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeCourseSections from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureLoading from './fixtures/loading';
7
+ import fixtureWithMandatoryCoursesInput from './fixtures/with-mandatory-courses-input';
8
+ test('Molecule › MoleculeCourseSections > should have valid propTypes', t => {
9
+ t.pass();
10
+ forEach(MoleculeCourseSections.propTypes, (value, key) => {
11
+ t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSections.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
+ });
13
+ });
14
+ test('Molecule › MoleculeCourseSections › Default › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureDefault);
15
+ test('Molecule › MoleculeCourseSections › Loading › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureLoading);
16
+ test('Molecule › MoleculeCourseSections › WithMandatoryCoursesInput › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureWithMandatoryCoursesInput);
17
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/course-sections/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSections","fixtureDefault","fixtureLoading","fixtureWithMandatoryCoursesInput","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gCAAP,MAA6C,yCAA7C;AAEAN,IAAI,CAAC,iEAAD,EAAoEO,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,sBAAsB,CAACM,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHE,cAAnH,CAAJ;AACAL,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,sBAA7G,EAAqIG,gCAArI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSections from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureWithMandatoryCoursesInput from './fixtures/with-mandatory-courses-input';\n\ntest('Molecule › MoleculeCourseSections > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCourseSections.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCourseSections.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCourseSections › Default › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureDefault);\ntest('Molecule › MoleculeCourseSections › Loading › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureLoading);\ntest('Molecule › MoleculeCourseSections › WithMandatoryCoursesInput › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureWithMandatoryCoursesInput);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import MoleculeDashboardReviewBanner from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('MoleculeDashboard › MoleculeDashboardReviewBanner > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(MoleculeDashboardReviewBanner.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardReviewBanner.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('MoleculeDashboard › MoleculeDashboardReviewBanner › Default › should be rendered', renderComponentMacro, MoleculeDashboardReviewBanner, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/dashboard/review-banner/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardReviewBanner","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,iFAAD,EAAoFK,CAAC,IAAI;AAC3FA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,6BAA6B,CAACI,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2EAA0EF,GAAI,mEAAvG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,6BAA3G,EAA0IC,cAA1I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardReviewBanner from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('MoleculeDashboard › MoleculeDashboardReviewBanner > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardReviewBanner.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardReviewBanner.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardReviewBanner › Default › should be rendered', renderComponentMacro, MoleculeDashboardReviewBanner, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -11,7 +11,6 @@ import style from './style.css';
11
11
  const DragAndDropWrapper = props => {
12
12
  const {
13
13
  list = [],
14
- checkBoxTitle,
15
14
  'data-name': dataName
16
15
  } = props;
17
16
 
@@ -22,9 +21,7 @@ const DragAndDropWrapper = props => {
22
21
  }, /*#__PURE__*/React.createElement(DragAndDrop, dragAndDropProps));
23
22
  }, list);
24
23
 
25
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
26
- className: style.title
27
- }, /*#__PURE__*/React.createElement(CheckboxWithTitle, checkBoxTitle)), /*#__PURE__*/React.createElement("ul", {
24
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("ul", {
28
25
  className: style.group,
29
26
  "data-name": dataName
30
27
  }, dragAndDropList));
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/drag-and-drop-wrapper/index.js"],"names":["React","PropTypes","DragAndDrop","CheckboxWithTitle","style","DragAndDropWrapper","props","list","checkBoxTitle","dataName","dragAndDropList","dragAndDropProps","dragAndDrop","title","group","propTypes","arrayOf","shape","string"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,WAAP,MAAwB,0BAAxB;AACA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;AAClC,QAAM;AAACC,IAAAA,IAAI,GAAG,EAAR;AAAYC,IAAAA,aAAZ;AAA2B,iBAAaC;AAAxC,MAAoDH,KAA1D;;AAEA,QAAMI,eAAe,GAAG,KAAIC,gBAAgB,IAAI;AAC9C,wBACE;AAAI,MAAA,SAAS,EAAEP,KAAK,CAACQ,WAArB;AAAkC,MAAA,GAAG,EAAG,eAAcD,gBAAgB,CAACE,KAAM;AAA7E,oBACE,oBAAC,WAAD,EAAiBF,gBAAjB,CADF,CADF;AAKD,GANuB,EAMrBJ,IANqB,CAAxB;;AAQA,sBACE,8CACE;AAAK,IAAA,SAAS,EAAEH,KAAK,CAACS;AAAtB,kBACE,oBAAC,iBAAD,EAAuBL,aAAvB,CADF,CADF,eAIE;AAAI,IAAA,SAAS,EAAEJ,KAAK,CAACU,KAArB;AAA4B,iBAAWL;AAAvC,KACGC,eADH,CAJF,CADF;AAUD,CArBD;;AAuBAL,kBAAkB,CAACU,SAAnB,2CAA+B;AAC7BR,EAAAA,IAAI,EAAEN,SAAS,CAACe,OAAV,CAAkBf,SAAS,CAACgB,KAAV,CAAgBf,WAAW,CAACa,SAA5B,CAAlB,CADuB;AAE7BP,EAAAA,aAAa,EAAEP,SAAS,CAACgB,KAAV,cAAoBd,iBAAiB,CAACY,SAAtC,EAFc;AAG7B,eAAad,SAAS,CAACiB;AAHM,CAA/B;AAMA,eAAeb,kBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport DragAndDrop from '../../atom/drag-and-drop';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst DragAndDropWrapper = props => {\n const {list = [], checkBoxTitle, 'data-name': dataName} = props;\n\n const dragAndDropList = map(dragAndDropProps => {\n return (\n <li className={style.dragAndDrop} key={`dragAndDrop-${dragAndDropProps.title}`}>\n <DragAndDrop {...dragAndDropProps} />\n </li>\n );\n }, list);\n\n return (\n <div>\n <div className={style.title}>\n <CheckboxWithTitle {...checkBoxTitle} />\n </div>\n <ul className={style.group} data-name={dataName}>\n {dragAndDropList}\n </ul>\n </div>\n );\n};\n\nDragAndDropWrapper.propTypes = {\n list: PropTypes.arrayOf(PropTypes.shape(DragAndDrop.propTypes)),\n checkBoxTitle: PropTypes.shape({...CheckboxWithTitle.propTypes}),\n 'data-name': PropTypes.string\n};\n\nexport default DragAndDropWrapper;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/drag-and-drop-wrapper/index.js"],"names":["React","PropTypes","DragAndDrop","CheckboxWithTitle","style","DragAndDropWrapper","props","list","dataName","dragAndDropList","dragAndDropProps","dragAndDrop","title","group","propTypes","arrayOf","shape","checkBoxTitle","string"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,WAAP,MAAwB,0BAAxB;AACA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;AAClC,QAAM;AAACC,IAAAA,IAAI,GAAG,EAAR;AAAY,iBAAaC;AAAzB,MAAqCF,KAA3C;;AAEA,QAAMG,eAAe,GAAG,KAAIC,gBAAgB,IAAI;AAC9C,wBACE;AAAI,MAAA,SAAS,EAAEN,KAAK,CAACO,WAArB;AAAkC,MAAA,GAAG,EAAG,eAAcD,gBAAgB,CAACE,KAAM;AAA7E,oBACE,oBAAC,WAAD,EAAiBF,gBAAjB,CADF,CADF;AAKD,GANuB,EAMrBH,IANqB,CAAxB;;AAQA,sBACE,8CACE;AAAI,IAAA,SAAS,EAAEH,KAAK,CAACS,KAArB;AAA4B,iBAAWL;AAAvC,KACGC,eADH,CADF,CADF;AAOD,CAlBD;;AAoBAJ,kBAAkB,CAACS,SAAnB,2CAA+B;AAC7BP,EAAAA,IAAI,EAAEN,SAAS,CAACc,OAAV,CAAkBd,SAAS,CAACe,KAAV,CAAgBd,WAAW,CAACY,SAA5B,CAAlB,CADuB;AAE7BG,EAAAA,aAAa,EAAEhB,SAAS,CAACe,KAAV,cAAoBb,iBAAiB,CAACW,SAAtC,EAFc;AAG7B,eAAab,SAAS,CAACiB;AAHM,CAA/B;AAMA,eAAeb,kBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport DragAndDrop from '../../atom/drag-and-drop';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst DragAndDropWrapper = props => {\n const {list = [], 'data-name': dataName} = props;\n\n const dragAndDropList = map(dragAndDropProps => {\n return (\n <li className={style.dragAndDrop} key={`dragAndDrop-${dragAndDropProps.title}`}>\n <DragAndDrop {...dragAndDropProps} />\n </li>\n );\n }, list);\n\n return (\n <div>\n <ul className={style.group} data-name={dataName}>\n {dragAndDropList}\n </ul>\n </div>\n );\n};\n\nDragAndDropWrapper.propTypes = {\n list: PropTypes.arrayOf(PropTypes.shape(DragAndDrop.propTypes)),\n checkBoxTitle: PropTypes.shape({...CheckboxWithTitle.propTypes}),\n 'data-name': PropTypes.string\n};\n\nexport default DragAndDropWrapper;\n"],"file":"index.js"}
@@ -1,10 +1,6 @@
1
- .title {
2
- margin-bottom: 18px;
3
- }
4
1
  .group {
5
2
  list-style-type: none;
6
3
  padding: 0;
7
- margin-left: 31px;
8
4
  display: flex;
9
5
  overflow-y: inherit;
10
6
  align-content: flex-start;
@@ -0,0 +1,11 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import firstdDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/default';
4
+ export default {
5
+ props: {
6
+ list: [_extends(_extends({}, firstdDragAndDrop.props), {}, {
7
+ title: 'Add a badge'
8
+ })]
9
+ }
10
+ };
11
+ //# sourceMappingURL=without-checkbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js"],"names":["firstdDragAndDrop","props","list","title"],"mappings":";;AAAA,OAAOA,iBAAP,MAA8B,sDAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,uBAAKF,iBAAiB,CAACC,KAAvB;AAA8BE,MAAAA,KAAK,EAAE;AAArC;AADD;AADM,CAAf","sourcesContent":["import firstdDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/default';\n\nexport default {\n props: {\n list: [{...firstdDragAndDrop.props, title: 'Add a badge'}]\n }\n};\n"],"file":"without-checkbox.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeDragAndDropWrapper from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureTwoDragAndDrops from './fixtures/two-drag-and-drops';
7
+ test('Molecule › MoleculeDragAndDropWrapper > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(MoleculeDragAndDropWrapper.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Molecule.MoleculeDragAndDropWrapper.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Molecule › MoleculeDragAndDropWrapper › Default › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureDefault);
14
+ test('Molecule › MoleculeDragAndDropWrapper › TwoDragAndDrops › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureTwoDragAndDrops);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/drag-and-drop-wrapper/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDragAndDropWrapper","fixtureDefault","fixtureTwoDragAndDrops","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,0BAAP,MAAuC,IAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,sBAAP,MAAmC,+BAAnC;AAEAL,IAAI,CAAC,qEAAD,EAAwEM,CAAC,IAAI;AAC/EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,0BAA0B,CAACK,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC5DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,+DAA8DF,GAAI,mEAA3F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,0BAA/F,EAA2HC,cAA3H,CAAJ;AACAJ,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,0BAAvG,EAAmIE,sBAAnI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDragAndDropWrapper from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureTwoDragAndDrops from './fixtures/two-drag-and-drops';\n\ntest('Molecule › MoleculeDragAndDropWrapper > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDragAndDropWrapper.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDragAndDropWrapper.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDragAndDropWrapper › Default › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureDefault);\ntest('Molecule › MoleculeDragAndDropWrapper › TwoDragAndDrops › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureTwoDragAndDrops);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeDraggable from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('Molecule › MoleculeDraggable > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(MoleculeDraggable.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "Molecule.MoleculeDraggable.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('Molecule › MoleculeDraggable › Default › should be rendered', renderComponentMacro, MoleculeDraggable, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/draggable/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDraggable","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,iBAAP,MAA8B,IAA9B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,4DAAD,EAA+DK,CAAC,IAAI;AACtEA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,iBAAiB,CAACI,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,sDAAqDF,GAAI,mEAAlF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,iBAAtF,EAAyGC,cAAzG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDraggable from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Molecule › MoleculeDraggable > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDraggable.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDraggable.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDraggable › Default › should be rendered', renderComponentMacro, MoleculeDraggable, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeDraggableList from '..';
5
+ import fixtureCourseSections from './fixtures/course-sections';
6
+ import fixtureDashboardSections from './fixtures/dashboard-sections';
7
+ test('Molecule › MoleculeDraggableList > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(MoleculeDraggableList.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Molecule.MoleculeDraggableList.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Molecule › MoleculeDraggableList › CourseSections › should be rendered', renderComponentMacro, MoleculeDraggableList, fixtureCourseSections);
14
+ test('Molecule › MoleculeDraggableList › DashboardSections › should be rendered', renderComponentMacro, MoleculeDraggableList, fixtureDashboardSections);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/draggable-list/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDraggableList","fixtureCourseSections","fixtureDashboardSections","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AACA,OAAOC,wBAAP,MAAqC,+BAArC;AAEAL,IAAI,CAAC,gEAAD,EAAmEM,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,qBAAqB,CAACK,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,qBAAjG,EAAwHC,qBAAxH,CAAJ;AACAJ,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,qBAApG,EAA2HE,wBAA3H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDraggableList from '..';\nimport fixtureCourseSections from './fixtures/course-sections';\nimport fixtureDashboardSections from './fixtures/dashboard-sections';\n\ntest('Molecule › MoleculeDraggableList > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDraggableList.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDraggableList.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDraggableList › CourseSections › should be rendered', renderComponentMacro, MoleculeDraggableList, fixtureCourseSections);\ntest('Molecule › MoleculeDraggableList › DashboardSections › should be rendered', renderComponentMacro, MoleculeDraggableList, fixtureDashboardSections);\n"],"file":"fixtures.js"}