@coorpacademy/components 10.5.7-alpha.9 → 10.7.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 (437) hide show
  1. package/es/atom/autocomplete/test/fixtures.js +0 -0
  2. package/es/atom/avatar/test/fixtures.js +0 -0
  3. package/es/atom/button/test/fixtures.js +0 -0
  4. package/es/atom/catalog-section/test/fixtures.js +0 -0
  5. package/es/atom/centered-text/test/fixtures.js +0 -0
  6. package/es/atom/checkbox/test/fixtures.js +0 -0
  7. package/es/atom/clue/test/fixtures.js +0 -0
  8. package/es/atom/cta/test/fixtures.js +0 -0
  9. package/es/atom/difficulty-level/test/fixtures.js +0 -0
  10. package/es/atom/drag-and-drop/test/fixtures.js +0 -0
  11. package/es/atom/image-upload/test/fixtures.js +0 -0
  12. package/es/atom/input-checkbox/test/fixtures.js +0 -0
  13. package/es/atom/input-color/test/fixtures.js +0 -0
  14. package/es/atom/input-doublestep/test/fixtures.js +0 -0
  15. package/es/atom/input-html/test/fixtures.js +0 -0
  16. package/es/atom/input-readonly/test/fixtures.js +0 -0
  17. package/es/atom/input-switch/test/fixtures.js +0 -0
  18. package/es/atom/input-text/test/fixtures.js +0 -0
  19. package/es/atom/input-textarea/test/fixtures.js +0 -0
  20. package/es/atom/label/test/fixtures.js +0 -0
  21. package/es/atom/life/test/fixtures.js +0 -0
  22. package/es/atom/link/test/fixtures.js +0 -0
  23. package/es/atom/loader/test/fixtures.js +0 -0
  24. package/es/atom/notification/test/fixtures.js +0 -0
  25. package/es/atom/picture/test/fixtures.js +0 -0
  26. package/es/atom/picture-background/test/fixtures.js +0 -0
  27. package/es/atom/promo-code/test/fixtures.js +0 -0
  28. package/es/atom/provider/test/fixtures.js +0 -0
  29. package/es/atom/radio-group/test/fixtures.js +0 -0
  30. package/es/atom/range/test/fixtures.js +0 -0
  31. package/es/atom/resource-miniature/test/fixtures.js +0 -0
  32. package/es/atom/select/index.js +27 -27
  33. package/es/atom/select/index.js.map +1 -1
  34. package/es/atom/select/style.css +66 -0
  35. package/es/atom/select/test/fixtures/coorpmanager.js +11 -0
  36. package/es/atom/select/test/fixtures/coorpmanager.js.map +1 -0
  37. package/es/atom/select/test/fixtures.js +0 -0
  38. package/es/atom/slide/test/fixtures.js +0 -0
  39. package/es/atom/social-link/test/fixtures.js +0 -0
  40. package/es/atom/spinner/test/fixtures.js +0 -0
  41. package/es/atom/tab/test/fixtures.js +0 -0
  42. package/es/atom/tab-content/test/fixtures.js +0 -0
  43. package/es/atom/title/test/fixtures.js +0 -0
  44. package/es/atom/video-upload/test/fixtures.js +0 -0
  45. package/es/hoc/animation/test/fixtures.js +0 -0
  46. package/es/hoc/animation-scheduler/test/fixtures.js +0 -0
  47. package/es/hoc/swapper/test/fixtures.js +0 -0
  48. package/es/hoc/transition/test/fixtures.js +0 -0
  49. package/es/molecule/add-to-my-list/test/fixtures.js +0 -0
  50. package/es/molecule/answer/test/fixtures.js +0 -0
  51. package/es/molecule/audio/test/fixtures.js +0 -0
  52. package/es/molecule/battle-request/test/fixtures.js +0 -0
  53. package/es/molecule/brand-card/test/fixtures.js +0 -0
  54. package/es/molecule/brand-card-create/test/fixtures.js +0 -0
  55. package/es/molecule/brand-create-form/test/fixtures.js +0 -0
  56. package/es/molecule/brand-download-box/test/fixtures.js +0 -0
  57. package/es/molecule/brand-form-group/index.js +3 -1
  58. package/es/molecule/brand-form-group/index.js.map +1 -1
  59. package/es/molecule/brand-form-group/test/fixtures/lookandfeel.js +30 -26
  60. package/es/molecule/brand-form-group/test/fixtures/lookandfeel.js.map +1 -1
  61. package/es/molecule/brand-form-group/test/fixtures.js +0 -0
  62. package/es/molecule/brand-tabs/test/fixtures.js +0 -0
  63. package/es/molecule/brand-upload-box/test/fixtures.js +0 -0
  64. package/es/molecule/breadcrumbs/test/fixtures.js +0 -0
  65. package/es/molecule/card/customer.js +6 -3
  66. package/es/molecule/card/customer.js.map +1 -1
  67. package/es/molecule/card/favorite.js +13 -4
  68. package/es/molecule/card/favorite.js.map +1 -1
  69. package/es/molecule/card/index.js +41 -12
  70. package/es/molecule/card/index.js.map +1 -1
  71. package/es/molecule/card/selectable.js +11 -4
  72. package/es/molecule/card/selectable.js.map +1 -1
  73. package/es/molecule/card/test/fixtures/default.js +20 -1
  74. package/es/molecule/card/test/fixtures/default.js.map +1 -1
  75. package/es/molecule/card/test/fixtures.js +0 -0
  76. package/es/molecule/card-content/index.js +20 -7
  77. package/es/molecule/card-content/index.js.map +1 -1
  78. package/es/molecule/card-content/test/fixtures/card-no-progress-bar.js +6 -1
  79. package/es/molecule/card-content/test/fixtures/card-no-progress-bar.js.map +1 -1
  80. package/es/molecule/card-content/test/fixtures.js +0 -0
  81. package/es/molecule/card-with-button/test/fixtures.js +0 -0
  82. package/es/molecule/cockpit-popin/test/fixtures.js +0 -0
  83. package/es/molecule/cookie-banner/test/fixtures.js +0 -0
  84. package/es/molecule/course-section/style.css +2 -2
  85. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  86. package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  87. package/es/molecule/dashboard/news-list/test/fixtures.js +0 -0
  88. package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  89. package/es/molecule/discipline-cta/test/fixtures.js +0 -0
  90. package/es/molecule/discipline-header/test/fixtures.js +0 -0
  91. package/es/molecule/discipline-partners/test/fixtures.js +0 -0
  92. package/es/molecule/discipline-scope/test/fixtures.js +0 -0
  93. package/es/molecule/drag-and-drop/test/fixtures.js +0 -0
  94. package/es/molecule/external-content-button/test/fixtures.js +0 -0
  95. package/es/molecule/external-content-viewer/test/fixtures.js +0 -0
  96. package/es/molecule/feedback/test/fixtures.js +0 -0
  97. package/es/molecule/filters/test/fixtures.js +0 -0
  98. package/es/molecule/forum/forum-comment/test/fixtures.js +0 -0
  99. package/es/molecule/forum/forum-post/test/fixtures.js +0 -0
  100. package/es/molecule/forum/forum-thread/test/fixtures.js +0 -0
  101. package/es/molecule/hero/test/fixtures.js +0 -0
  102. package/es/molecule/login-alert/test/fixtures.js +0 -0
  103. package/es/molecule/menu-list/test/fixtures.js +0 -0
  104. package/es/molecule/message-popin/test/fixtures.js +0 -0
  105. package/es/molecule/modal/test/fixtures.js +0 -0
  106. package/es/molecule/module-bubble/test/fixtures.js +0 -0
  107. package/es/molecule/module-card/test/fixtures.js +0 -0
  108. package/es/molecule/news/test/fixtures.js +0 -0
  109. package/es/molecule/notification-banner/test/fixtures.js +0 -0
  110. package/es/molecule/pagination/test/fixtures.js +0 -0
  111. package/es/molecule/payment-form/test/fixtures.js +0 -0
  112. package/es/molecule/pdf/test/fixtures.js +0 -0
  113. package/es/molecule/product-card/test/fixtures.js +0 -0
  114. package/es/molecule/progress-bar/test/fixtures.js +0 -0
  115. package/es/molecule/questions/drop-down/test/fixtures.js +0 -0
  116. package/es/molecule/questions/free-text/test/fixtures.js +0 -0
  117. package/es/molecule/questions/qcm/test/fixtures.js +0 -0
  118. package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  119. package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  120. package/es/molecule/questions/question-range/test/fixtures.js +0 -0
  121. package/es/molecule/questions/template/index.js +2 -1
  122. package/es/molecule/questions/template/index.js.map +1 -1
  123. package/es/molecule/questions/template/style.css +6 -0
  124. package/es/molecule/questions/template/test/fixtures.js +0 -0
  125. package/es/molecule/resource-player/test/fixtures.js +0 -0
  126. package/es/molecule/scope-content/test/fixtures.js +0 -0
  127. package/es/molecule/scope-tabs/test/fixtures.js +0 -0
  128. package/es/molecule/search/test/fixtures.js +0 -0
  129. package/es/molecule/search-form/test/fixtures.js +0 -0
  130. package/es/molecule/select-multiple/test/fixtures.js +0 -0
  131. package/es/molecule/setup-cohort-item/test/fixtures.js +0 -0
  132. package/es/molecule/setup-section/test/fixtures.js +0 -0
  133. package/es/molecule/setup-sections/test/fixtures.js +0 -0
  134. package/es/molecule/setup-slide/test/fixtures.js +0 -0
  135. package/es/molecule/setup-slider/test/fixtures.js +0 -0
  136. package/es/molecule/share/test/fixtures.js +0 -0
  137. package/es/molecule/ssmenu-list/test/fixtures.js +0 -0
  138. package/es/molecule/subscription-freemium/test/fixtures.js +0 -0
  139. package/es/molecule/subscription-premium/test/fixtures.js +0 -0
  140. package/es/molecule/table/test/fixtures.js +0 -0
  141. package/es/molecule/teams-popin/test/fixtures.js +0 -0
  142. package/es/molecule/theme-image/test/fixtures.js +0 -0
  143. package/es/molecule/titled-checkbox/test/fixtures.js +0 -0
  144. package/es/molecule/unsubscribe/test/fixtures.js +0 -0
  145. package/es/molecule/video-iframe/test/fixtures.js +0 -0
  146. package/es/molecule/video-player/test/fixtures.js +0 -0
  147. package/es/molecule/wizard-summary/style.css +4 -4
  148. package/es/molecule/wizard-summary/test/fixtures.js +0 -2
  149. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -1
  150. package/es/organism/accordion/container/test/fixtures.js +0 -0
  151. package/es/organism/accordion/part/test/fixtures.js +0 -0
  152. package/es/organism/accordion/toggler/test/fixtures.js +0 -0
  153. package/es/organism/brand-dashboard/test/fixtures.js +0 -0
  154. package/es/organism/brand-form/test/fixtures.js +0 -0
  155. package/es/organism/brand-table/test/fixtures.js +0 -0
  156. package/es/organism/brand-upload/test/fixtures.js +0 -0
  157. package/es/organism/cards-grid/test/fixtures.js +0 -0
  158. package/es/organism/cart/test/fixtures.js +0 -0
  159. package/es/organism/discussion/test/fixtures.js +0 -0
  160. package/es/organism/get-the-app/test/fixtures.js +0 -0
  161. package/es/organism/grid-list/test/fixtures.js +0 -0
  162. package/es/organism/header/test/fixtures.js +0 -0
  163. package/es/organism/hero/test/fixtures.js +0 -0
  164. package/es/organism/mooc/image-slider/test/fixtures.js +0 -0
  165. package/es/organism/mooc-footer/test/fixtures.js +0 -0
  166. package/es/organism/mooc-header/test/fixtures.js +0 -0
  167. package/es/organism/popin/test/fixtures.js +0 -0
  168. package/es/organism/resource-browser/test/fixtures.js +0 -0
  169. package/es/organism/settings/test/fixtures.js +0 -0
  170. package/es/organism/setup-header/test/fixtures.js +0 -0
  171. package/es/organism/sidebar/test/fixtures.js +0 -0
  172. package/es/organism/slider/test/fixtures.js +0 -0
  173. package/es/organism/user-preferences/test/fixtures.js +0 -0
  174. package/es/organism/wizard-contents/test/fixtures.js +0 -2
  175. package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
  176. package/es/template/activity/test/fixtures.js +0 -0
  177. package/es/template/app-player/loading/test/fixtures.js +0 -0
  178. package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  179. package/es/template/app-player/player/slides/header/test/fixtures.js +0 -0
  180. package/es/template/app-player/player/slides/test/fixtures.js +0 -0
  181. package/es/template/app-player/player/test/fixtures.js +0 -0
  182. package/es/template/app-player/popin-correction/test/fixtures.js +0 -0
  183. package/es/template/app-player/popin-end/test/fixtures.js +0 -0
  184. package/es/template/app-player/popin-header/test/fixtures.js +0 -0
  185. package/es/template/back-office/brand-create/test/fixtures.js +0 -0
  186. package/es/template/back-office/brand-list/index.js +16 -3
  187. package/es/template/back-office/brand-list/index.js.map +1 -1
  188. package/es/template/back-office/brand-list/style.css +11 -5
  189. package/es/template/back-office/brand-list/test/fixtures/default.js +3 -3
  190. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  191. package/es/template/back-office/brand-list/test/fixtures/rh.js +23 -1
  192. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  193. package/es/template/back-office/brand-list/test/fixtures.js +0 -0
  194. package/es/template/back-office/brand-update/test/fixtures.js +0 -2
  195. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  196. package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  197. package/es/template/battle-requests/test/fixtures.js +0 -0
  198. package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  199. package/es/template/common/authors/test/fixtures.js +0 -0
  200. package/es/template/common/coorp-header/test/fixtures.js +0 -0
  201. package/es/template/common/dashboard/test/fixtures.js +0 -0
  202. package/es/template/common/discipline/test/fixtures.js +0 -0
  203. package/es/template/common/search-page/test/fixtures.js +0 -0
  204. package/es/template/external-course/test/fixtures.js +0 -0
  205. package/es/template/teams-dashboard/test/fixtures.js +0 -0
  206. package/es/variables/colors.css +2 -0
  207. package/lib/atom/autocomplete/test/fixtures.js +0 -0
  208. package/lib/atom/avatar/test/fixtures.js +0 -0
  209. package/lib/atom/button/test/fixtures.js +0 -0
  210. package/lib/atom/catalog-section/test/fixtures.js +0 -0
  211. package/lib/atom/centered-text/test/fixtures.js +0 -0
  212. package/lib/atom/checkbox/test/fixtures.js +0 -0
  213. package/lib/atom/clue/test/fixtures.js +0 -0
  214. package/lib/atom/cta/test/fixtures.js +0 -0
  215. package/lib/atom/difficulty-level/test/fixtures.js +0 -0
  216. package/lib/atom/drag-and-drop/test/fixtures.js +0 -0
  217. package/lib/atom/image-upload/test/fixtures.js +0 -0
  218. package/lib/atom/input-checkbox/test/fixtures.js +0 -0
  219. package/lib/atom/input-color/test/fixtures.js +0 -0
  220. package/lib/atom/input-doublestep/test/fixtures.js +0 -0
  221. package/lib/atom/input-html/test/fixtures.js +0 -0
  222. package/lib/atom/input-readonly/test/fixtures.js +0 -0
  223. package/lib/atom/input-switch/test/fixtures.js +0 -0
  224. package/lib/atom/input-text/test/fixtures.js +0 -0
  225. package/lib/atom/input-textarea/test/fixtures.js +0 -0
  226. package/lib/atom/label/test/fixtures.js +0 -0
  227. package/lib/atom/life/test/fixtures.js +0 -0
  228. package/lib/atom/link/test/fixtures.js +0 -0
  229. package/lib/atom/loader/test/fixtures.js +0 -0
  230. package/lib/atom/notification/test/fixtures.js +0 -0
  231. package/lib/atom/picture/test/fixtures.js +0 -0
  232. package/lib/atom/picture-background/test/fixtures.js +0 -0
  233. package/lib/atom/promo-code/test/fixtures.js +0 -0
  234. package/lib/atom/provider/test/fixtures.js +0 -0
  235. package/lib/atom/radio-group/test/fixtures.js +0 -0
  236. package/lib/atom/range/test/fixtures.js +0 -0
  237. package/lib/atom/resource-miniature/test/fixtures.js +0 -0
  238. package/lib/atom/select/index.js +32 -31
  239. package/lib/atom/select/index.js.map +1 -1
  240. package/lib/atom/select/style.css +66 -0
  241. package/lib/atom/select/test/fixtures/coorpmanager.js +21 -0
  242. package/lib/atom/select/test/fixtures/coorpmanager.js.map +1 -0
  243. package/lib/atom/select/test/fixtures.js +0 -0
  244. package/lib/atom/slide/test/fixtures.js +0 -0
  245. package/lib/atom/social-link/test/fixtures.js +0 -0
  246. package/lib/atom/spinner/test/fixtures.js +0 -0
  247. package/lib/atom/tab/test/fixtures.js +0 -0
  248. package/lib/atom/tab-content/test/fixtures.js +0 -0
  249. package/lib/atom/title/test/fixtures.js +0 -0
  250. package/lib/atom/video-upload/test/fixtures.js +0 -0
  251. package/lib/hoc/animation/test/fixtures.js +0 -0
  252. package/lib/hoc/animation-scheduler/test/fixtures.js +0 -0
  253. package/lib/hoc/swapper/test/fixtures.js +0 -0
  254. package/lib/hoc/transition/test/fixtures.js +0 -0
  255. package/lib/molecule/add-to-my-list/test/fixtures.js +0 -0
  256. package/lib/molecule/answer/test/fixtures.js +0 -0
  257. package/lib/molecule/audio/test/fixtures.js +0 -0
  258. package/lib/molecule/battle-request/test/fixtures.js +0 -0
  259. package/lib/molecule/brand-card/test/fixtures.js +0 -0
  260. package/lib/molecule/brand-card-create/test/fixtures.js +0 -0
  261. package/lib/molecule/brand-create-form/test/fixtures.js +0 -0
  262. package/lib/molecule/brand-download-box/test/fixtures.js +0 -0
  263. package/lib/molecule/brand-form-group/index.js +3 -1
  264. package/lib/molecule/brand-form-group/index.js.map +1 -1
  265. package/lib/molecule/brand-form-group/test/fixtures/lookandfeel.js +30 -26
  266. package/lib/molecule/brand-form-group/test/fixtures/lookandfeel.js.map +1 -1
  267. package/lib/molecule/brand-form-group/test/fixtures.js +0 -0
  268. package/lib/molecule/brand-tabs/test/fixtures.js +0 -0
  269. package/lib/molecule/brand-upload-box/test/fixtures.js +0 -0
  270. package/lib/molecule/breadcrumbs/test/fixtures.js +0 -0
  271. package/lib/molecule/card/customer.js +6 -3
  272. package/lib/molecule/card/customer.js.map +1 -1
  273. package/lib/molecule/card/favorite.js +13 -4
  274. package/lib/molecule/card/favorite.js.map +1 -1
  275. package/lib/molecule/card/index.js +41 -12
  276. package/lib/molecule/card/index.js.map +1 -1
  277. package/lib/molecule/card/selectable.js +11 -4
  278. package/lib/molecule/card/selectable.js.map +1 -1
  279. package/lib/molecule/card/test/fixtures/default.js +20 -1
  280. package/lib/molecule/card/test/fixtures/default.js.map +1 -1
  281. package/lib/molecule/card/test/fixtures.js +0 -0
  282. package/lib/molecule/card-content/index.js +21 -7
  283. package/lib/molecule/card-content/index.js.map +1 -1
  284. package/lib/molecule/card-content/test/fixtures/card-no-progress-bar.js +6 -1
  285. package/lib/molecule/card-content/test/fixtures/card-no-progress-bar.js.map +1 -1
  286. package/lib/molecule/card-content/test/fixtures.js +0 -0
  287. package/lib/molecule/card-with-button/test/fixtures.js +0 -0
  288. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -0
  289. package/lib/molecule/cookie-banner/test/fixtures.js +0 -0
  290. package/lib/molecule/course-section/style.css +2 -2
  291. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  292. package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  293. package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -0
  294. package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  295. package/lib/molecule/discipline-cta/test/fixtures.js +0 -0
  296. package/lib/molecule/discipline-header/test/fixtures.js +0 -0
  297. package/lib/molecule/discipline-partners/test/fixtures.js +0 -0
  298. package/lib/molecule/discipline-scope/test/fixtures.js +0 -0
  299. package/lib/molecule/drag-and-drop/test/fixtures.js +0 -0
  300. package/lib/molecule/external-content-button/test/fixtures.js +0 -0
  301. package/lib/molecule/external-content-viewer/test/fixtures.js +0 -0
  302. package/lib/molecule/feedback/test/fixtures.js +0 -0
  303. package/lib/molecule/filters/test/fixtures.js +0 -0
  304. package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -0
  305. package/lib/molecule/forum/forum-post/test/fixtures.js +0 -0
  306. package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -0
  307. package/lib/molecule/hero/test/fixtures.js +0 -0
  308. package/lib/molecule/login-alert/test/fixtures.js +0 -0
  309. package/lib/molecule/menu-list/test/fixtures.js +0 -0
  310. package/lib/molecule/message-popin/test/fixtures.js +0 -0
  311. package/lib/molecule/modal/test/fixtures.js +0 -0
  312. package/lib/molecule/module-bubble/test/fixtures.js +0 -0
  313. package/lib/molecule/module-card/test/fixtures.js +0 -0
  314. package/lib/molecule/news/test/fixtures.js +0 -0
  315. package/lib/molecule/notification-banner/test/fixtures.js +0 -0
  316. package/lib/molecule/pagination/test/fixtures.js +0 -0
  317. package/lib/molecule/payment-form/test/fixtures.js +0 -0
  318. package/lib/molecule/pdf/test/fixtures.js +0 -0
  319. package/lib/molecule/product-card/test/fixtures.js +0 -0
  320. package/lib/molecule/progress-bar/test/fixtures.js +0 -0
  321. package/lib/molecule/questions/drop-down/test/fixtures.js +0 -0
  322. package/lib/molecule/questions/free-text/test/fixtures.js +0 -0
  323. package/lib/molecule/questions/qcm/test/fixtures.js +0 -0
  324. package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  325. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  326. package/lib/molecule/questions/question-range/test/fixtures.js +0 -0
  327. package/lib/molecule/questions/template/index.js +2 -1
  328. package/lib/molecule/questions/template/index.js.map +1 -1
  329. package/lib/molecule/questions/template/style.css +6 -0
  330. package/lib/molecule/questions/template/test/fixtures.js +0 -0
  331. package/lib/molecule/resource-player/test/fixtures.js +0 -0
  332. package/lib/molecule/scope-content/test/fixtures.js +0 -0
  333. package/lib/molecule/scope-tabs/test/fixtures.js +0 -0
  334. package/lib/molecule/search/test/fixtures.js +0 -0
  335. package/lib/molecule/search-form/test/fixtures.js +0 -0
  336. package/lib/molecule/select-multiple/test/fixtures.js +0 -0
  337. package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -0
  338. package/lib/molecule/setup-section/test/fixtures.js +0 -0
  339. package/lib/molecule/setup-sections/test/fixtures.js +0 -0
  340. package/lib/molecule/setup-slide/test/fixtures.js +0 -0
  341. package/lib/molecule/setup-slider/test/fixtures.js +0 -0
  342. package/lib/molecule/share/test/fixtures.js +0 -0
  343. package/lib/molecule/ssmenu-list/test/fixtures.js +0 -0
  344. package/lib/molecule/subscription-freemium/test/fixtures.js +0 -0
  345. package/lib/molecule/subscription-premium/test/fixtures.js +0 -0
  346. package/lib/molecule/table/test/fixtures.js +0 -0
  347. package/lib/molecule/teams-popin/test/fixtures.js +0 -0
  348. package/lib/molecule/theme-image/test/fixtures.js +0 -0
  349. package/lib/molecule/titled-checkbox/test/fixtures.js +0 -0
  350. package/lib/molecule/unsubscribe/test/fixtures.js +0 -0
  351. package/lib/molecule/video-iframe/test/fixtures.js +0 -0
  352. package/lib/molecule/video-player/test/fixtures.js +0 -0
  353. package/lib/molecule/wizard-summary/style.css +4 -4
  354. package/lib/molecule/wizard-summary/test/fixtures.js +0 -3
  355. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -1
  356. package/lib/organism/accordion/container/test/fixtures.js +0 -0
  357. package/lib/organism/accordion/part/test/fixtures.js +0 -0
  358. package/lib/organism/accordion/toggler/test/fixtures.js +0 -0
  359. package/lib/organism/brand-dashboard/test/fixtures.js +0 -0
  360. package/lib/organism/brand-form/test/fixtures.js +0 -0
  361. package/lib/organism/brand-table/test/fixtures.js +0 -0
  362. package/lib/organism/brand-upload/test/fixtures.js +0 -0
  363. package/lib/organism/cards-grid/test/fixtures.js +0 -0
  364. package/lib/organism/cart/test/fixtures.js +0 -0
  365. package/lib/organism/discussion/test/fixtures.js +0 -0
  366. package/lib/organism/get-the-app/test/fixtures.js +0 -0
  367. package/lib/organism/grid-list/test/fixtures.js +0 -0
  368. package/lib/organism/header/test/fixtures.js +0 -0
  369. package/lib/organism/hero/test/fixtures.js +0 -0
  370. package/lib/organism/mooc/image-slider/test/fixtures.js +0 -0
  371. package/lib/organism/mooc-footer/test/fixtures.js +0 -0
  372. package/lib/organism/mooc-header/test/fixtures.js +0 -0
  373. package/lib/organism/popin/test/fixtures.js +0 -0
  374. package/lib/organism/resource-browser/test/fixtures.js +0 -0
  375. package/lib/organism/settings/test/fixtures.js +0 -0
  376. package/lib/organism/setup-header/test/fixtures.js +0 -0
  377. package/lib/organism/sidebar/test/fixtures.js +0 -0
  378. package/lib/organism/slider/test/fixtures.js +0 -0
  379. package/lib/organism/user-preferences/test/fixtures.js +0 -0
  380. package/lib/organism/wizard-contents/test/fixtures.js +0 -3
  381. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
  382. package/lib/template/activity/test/fixtures.js +0 -0
  383. package/lib/template/app-player/loading/test/fixtures.js +0 -0
  384. package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  385. package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -0
  386. package/lib/template/app-player/player/slides/test/fixtures.js +0 -0
  387. package/lib/template/app-player/player/test/fixtures.js +0 -0
  388. package/lib/template/app-player/popin-correction/test/fixtures.js +0 -0
  389. package/lib/template/app-player/popin-end/test/fixtures.js +0 -0
  390. package/lib/template/app-player/popin-header/test/fixtures.js +0 -0
  391. package/lib/template/back-office/brand-create/test/fixtures.js +0 -0
  392. package/lib/template/back-office/brand-list/index.js +17 -3
  393. package/lib/template/back-office/brand-list/index.js.map +1 -1
  394. package/lib/template/back-office/brand-list/style.css +11 -5
  395. package/lib/template/back-office/brand-list/test/fixtures/default.js +3 -3
  396. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  397. package/lib/template/back-office/brand-list/test/fixtures/rh.js +23 -1
  398. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  399. package/lib/template/back-office/brand-list/test/fixtures.js +0 -0
  400. package/lib/template/back-office/brand-update/test/fixtures.js +0 -3
  401. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  402. package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  403. package/lib/template/battle-requests/test/fixtures.js +0 -0
  404. package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  405. package/lib/template/common/authors/test/fixtures.js +0 -0
  406. package/lib/template/common/coorp-header/test/fixtures.js +0 -0
  407. package/lib/template/common/dashboard/test/fixtures.js +0 -0
  408. package/lib/template/common/discipline/test/fixtures.js +0 -0
  409. package/lib/template/common/search-page/test/fixtures.js +0 -0
  410. package/lib/template/external-course/test/fixtures.js +0 -0
  411. package/lib/template/teams-dashboard/test/fixtures.js +0 -0
  412. package/lib/variables/colors.css +2 -0
  413. package/package.json +2 -2
  414. package/es/atom/card-image-preview/test/fixtures.js +0 -15
  415. package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
  416. package/es/molecule/course-section/test/fixtures.js +0 -15
  417. package/es/molecule/course-section/test/fixtures.js.map +0 -1
  418. package/es/molecule/course-sections/test/fixtures.js +0 -15
  419. package/es/molecule/course-sections/test/fixtures.js.map +0 -1
  420. package/es/molecule/draggable/test/fixtures.js +0 -13
  421. package/es/molecule/draggable/test/fixtures.js.map +0 -1
  422. package/es/molecule/draggable-list/test/fixtures.js +0 -15
  423. package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
  424. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  425. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  426. package/lib/atom/card-image-preview/test/fixtures.js +0 -25
  427. package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
  428. package/lib/molecule/course-section/test/fixtures.js +0 -25
  429. package/lib/molecule/course-section/test/fixtures.js.map +0 -1
  430. package/lib/molecule/course-sections/test/fixtures.js +0 -25
  431. package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
  432. package/lib/molecule/draggable/test/fixtures.js +0 -22
  433. package/lib/molecule/draggable/test/fixtures.js.map +0 -1
  434. package/lib/molecule/draggable-list/test/fixtures.js +0 -25
  435. package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
  436. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  437. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
@@ -10,7 +10,7 @@
10
10
  border-radius: 7px;
11
11
  display: flex;
12
12
  font-size: 14px;
13
- justify-content: start;
13
+ justify-content: flex-start;
14
14
  margin-top: 8px;
15
15
  padding: 8px 16px;
16
16
  border-radius: 7px;
@@ -63,4 +63,4 @@
63
63
  .containerImage {
64
64
  min-height: 56px;
65
65
  min-width: 56px;
66
- }
66
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -25,7 +25,8 @@ const Template = ({
25
25
 
26
26
  if (type === 'string') {
27
27
  return /*#__PURE__*/React.createElement("span", {
28
- key: key // eslint-disable-next-line react/no-danger
28
+ key: key,
29
+ className: style.textPart // eslint-disable-next-line react/no-danger
29
30
  ,
30
31
  dangerouslySetInnerHTML: {
31
32
  __html: part.value
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["React","PropTypes","parseTemplateString","DropDown","FreeText","style","Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","__html","value","field","name","fieldType","fieldProps","fieldView","text","answerType","wrapper","TextPropTypes","propTypes","string","arrayOf","oneOfType","shape"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,mBAAP,MAAgC,qCAAhC;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAAyB;AACxC,QAAMC,aAAa,GAAGP,mBAAmB,CAACK,QAAD,CAAzC;;AACA,QAAMG,eAAe,GAAG,KAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,IAAD,EAAOC,GAAP,KAAe;AAC/D,UAAMC,IAAI,GAAGF,IAAI,CAACE,IAAlB;;AACA,QAAIA,IAAI,KAAK,QAAb,EAAuB;AACrB,0BACE;AACE,QAAA,GAAG,EAAED,GADP,CAEE;AAFF;AAGE,QAAA,uBAAuB,EAAE;AAACE,UAAAA,MAAM,EAAEH,IAAI,CAACI;AAAd;AAH3B,QADF;AAOD;;AACD,QAAIF,IAAI,KAAK,aAAb,EAA4B;AAC1B,YAAMG,KAAK,GAAG,MAAK;AAACC,QAAAA,IAAI,EAAEN,IAAI,CAACI;AAAZ,OAAL,EAAyBT,OAAzB,CAAd;;AACA,UAAI,CAACU,KAAL,EAAY,OAAO,IAAP;;AACZ,YAAM;AAACH,QAAAA,IAAI,EAAEK;AAAP,UAAmCF,KAAzC;AAAA,YAA2BG,UAA3B,iCAAyCH,KAAzC;;AACA,YAAMI,SAAS,GACbF,SAAS,KAAK,MAAd,gBACE,oBAAC,QAAD,eAAcC,UAAd;AAA0B,QAAA,SAAS,EAAEhB,KAAK,CAACkB;AAA3C,SADF,gBAGE,oBAAC,QAAD,eAAcF,UAAd;AAA0B,QAAA,KAAK,EAAC;AAAhC,SAJJ;AAOA,0BACE;AAAK,QAAA,SAAS,EAAEhB,KAAK,CAACmB,UAAtB;AAAkC,QAAA,GAAG,EAAEX,IAAI,CAACI;AAA5C,SACGK,SADH,CADF;AAKD;AACF,GA5BuB,EA4BrBb,aA5BqB,CAAxB;;AA8BA,sBACE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEJ,KAAK,CAACoB;AAAnD,KACGf,eADH,CADF;AAKD,CArCD;;AAuCA,MAAMgB,aAAN,iEACKvB,QAAQ,CAACwB,SADd;AAEEZ,EAAAA,IAAI,EAAEd,SAAS,CAAC2B;AAFlB;AAKAtB,QAAQ,CAACqB,SAAT,2CAAqB;AACnBpB,EAAAA,QAAQ,EAAEN,SAAS,CAAC2B,MADD;AAEnBpB,EAAAA,OAAO,EAAEP,SAAS,CAAC4B,OAAV,CACP5B,SAAS,CAAC6B,SAAV,CAAoB,CAAC7B,SAAS,CAAC8B,KAAV,CAAgB5B,QAAQ,CAACwB,SAAzB,CAAD,EAAsC1B,SAAS,CAAC8B,KAAV,CAAgBL,aAAhB,CAAtC,CAApB,CADO;AAFU,CAArB;AAOA,eAAepB,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const {type: fieldType, ...fieldProps} = field;\n const fieldView =\n fieldType === 'text' ? (\n <FreeText {...fieldProps} className={style.text} />\n ) : (\n <DropDown {...fieldProps} theme=\"player\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDown.propTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["React","PropTypes","parseTemplateString","DropDown","FreeText","style","Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","textPart","__html","value","field","name","fieldType","fieldProps","fieldView","text","answerType","wrapper","TextPropTypes","propTypes","string","arrayOf","oneOfType","shape"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,mBAAP,MAAgC,qCAAhC;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAAyB;AACxC,QAAMC,aAAa,GAAGP,mBAAmB,CAACK,QAAD,CAAzC;;AACA,QAAMG,eAAe,GAAG,KAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,IAAD,EAAOC,GAAP,KAAe;AAC/D,UAAMC,IAAI,GAAGF,IAAI,CAACE,IAAlB;;AACA,QAAIA,IAAI,KAAK,QAAb,EAAuB;AACrB,0BACE;AACE,QAAA,GAAG,EAAED,GADP;AAEE,QAAA,SAAS,EAAET,KAAK,CAACW,QAFnB,CAGE;AAHF;AAIE,QAAA,uBAAuB,EAAE;AAACC,UAAAA,MAAM,EAAEJ,IAAI,CAACK;AAAd;AAJ3B,QADF;AAQD;;AACD,QAAIH,IAAI,KAAK,aAAb,EAA4B;AAC1B,YAAMI,KAAK,GAAG,MAAK;AAACC,QAAAA,IAAI,EAAEP,IAAI,CAACK;AAAZ,OAAL,EAAyBV,OAAzB,CAAd;;AACA,UAAI,CAACW,KAAL,EAAY,OAAO,IAAP;;AACZ,YAAM;AAACJ,QAAAA,IAAI,EAAEM;AAAP,UAAmCF,KAAzC;AAAA,YAA2BG,UAA3B,iCAAyCH,KAAzC;;AACA,YAAMI,SAAS,GACbF,SAAS,KAAK,MAAd,gBACE,oBAAC,QAAD,eAAcC,UAAd;AAA0B,QAAA,SAAS,EAAEjB,KAAK,CAACmB;AAA3C,SADF,gBAGE,oBAAC,QAAD,eAAcF,UAAd;AAA0B,QAAA,KAAK,EAAC;AAAhC,SAJJ;AAOA,0BACE;AAAK,QAAA,SAAS,EAAEjB,KAAK,CAACoB,UAAtB;AAAkC,QAAA,GAAG,EAAEZ,IAAI,CAACK;AAA5C,SACGK,SADH,CADF;AAKD;AACF,GA7BuB,EA6BrBd,aA7BqB,CAAxB;;AA+BA,sBACE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEJ,KAAK,CAACqB;AAAnD,KACGhB,eADH,CADF;AAKD,CAtCD;;AAwCA,MAAMiB,aAAN,iEACKxB,QAAQ,CAACyB,SADd;AAEEb,EAAAA,IAAI,EAAEd,SAAS,CAAC4B;AAFlB;AAKAvB,QAAQ,CAACsB,SAAT,2CAAqB;AACnBrB,EAAAA,QAAQ,EAAEN,SAAS,CAAC4B,MADD;AAEnBrB,EAAAA,OAAO,EAAEP,SAAS,CAAC6B,OAAV,CACP7B,SAAS,CAAC8B,SAAV,CAAoB,CAAC9B,SAAS,CAAC+B,KAAV,CAAgB7B,QAAQ,CAACyB,SAAzB,CAAD,EAAsC3B,SAAS,CAAC+B,KAAV,CAAgBL,aAAhB,CAAtC,CAApB,CADO;AAFU,CAArB;AAOA,eAAerB,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n className={style.textPart}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const {type: fieldType, ...fieldProps} = field;\n const fieldView =\n fieldType === 'text' ? (\n <FreeText {...fieldProps} className={style.text} />\n ) : (\n <DropDown {...fieldProps} theme=\"player\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDown.propTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
@@ -1,6 +1,8 @@
1
1
  @value breakpoints: "../../../variables/breakpoints.css";
2
2
  @value mobile from breakpoints;
3
3
  @value tablet from breakpoints;
4
+ @value colors: "../../../variables/colors.css";
5
+ @value cm_blue_900 from colors;
4
6
 
5
7
  .wrapper {
6
8
  display: block;
@@ -15,6 +17,10 @@
15
17
  text-align: center;
16
18
  }
17
19
 
20
+ .textPart {
21
+ color: cm_blue_900;
22
+ }
23
+
18
24
  .answerType {
19
25
  display: inline-block;
20
26
  margin: 4px 0 8px;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -133,7 +133,7 @@
133
133
  text-align: center;
134
134
  }
135
135
 
136
- ul {
136
+ .container ul {
137
137
  list-style: none;
138
138
  padding: 0px;
139
139
  margin: 0px;
@@ -215,7 +215,7 @@ ul {
215
215
  margin: 0px;
216
216
  }
217
217
 
218
- label {
218
+ .container label {
219
219
  width: 100%;
220
220
  right: 0px;
221
221
  display: flex;
@@ -223,11 +223,11 @@ ul {
223
223
  cursor: pointer;
224
224
  }
225
225
 
226
- label .tabletSummaryTitle{
226
+ .container label .tabletSummaryTitle{
227
227
  flex: 0 1 100%;
228
228
  }
229
229
 
230
- label .tabletSummaryIcon{
230
+ .container label .tabletSummaryIcon{
231
231
  width: 12px;
232
232
  transition: all 0.5s ease;
233
233
  }
@@ -4,7 +4,6 @@ import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import MoleculeWizardSummary from '..';
5
5
  import fixtureDefault from './fixtures/default';
6
6
  import fixtureOneSection from './fixtures/one-section';
7
- import fixtureOrganizeCourses from './fixtures/organize-courses';
8
7
  import fixtureTabletClosed from './fixtures/tablet-closed';
9
8
  import fixtureThreeSections from './fixtures/three-sections';
10
9
  import fixtureTwoSections from './fixtures/two-sections';
@@ -16,7 +15,6 @@ test('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {
16
15
  });
17
16
  test('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);
18
17
  test('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);
19
- test('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOrganizeCourses);
20
18
  test('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);
21
19
  test('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);
22
20
  test('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeWizardSummary","fixtureDefault","fixtureOneSection","fixtureOrganizeCourses","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections","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,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAT,IAAI,CAAC,gEAAD,EAAmEU,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,qBAAqB,CAACS,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;AAOAd,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHE,iBAApH,CAAJ;AACAL,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,qBAAlG,EAAyHG,sBAAzH,CAAJ;AACAN,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,qBAA/F,EAAsHI,mBAAtH,CAAJ;AACAP,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHK,oBAAvH,CAAJ;AACAR,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,qBAA9F,EAAqHM,kBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeWizardSummary from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureOneSection from './fixtures/one-section';\nimport fixtureOrganizeCourses from './fixtures/organize-courses';\nimport fixtureTabletClosed from './fixtures/tablet-closed';\nimport fixtureThreeSections from './fixtures/three-sections';\nimport fixtureTwoSections from './fixtures/two-sections';\n\ntest('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeWizardSummary.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeWizardSummary.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);\ntest('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);\ntest('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOrganizeCourses);\ntest('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);\ntest('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);\ntest('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeWizardSummary","fixtureDefault","fixtureOneSection","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections","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,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;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,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHE,iBAApH,CAAJ;AACAL,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,qBAA/F,EAAsHG,mBAAtH,CAAJ;AACAN,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHI,oBAAvH,CAAJ;AACAP,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,qBAA9F,EAAqHK,kBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeWizardSummary from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureOneSection from './fixtures/one-section';\nimport fixtureTabletClosed from './fixtures/tablet-closed';\nimport fixtureThreeSections from './fixtures/three-sections';\nimport fixtureTwoSections from './fixtures/two-sections';\n\ntest('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeWizardSummary.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeWizardSummary.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);\ntest('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);\ntest('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);\ntest('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);\ntest('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -5,7 +5,6 @@ import OrganismWizardContents from '..';
5
5
  import fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';
6
6
  import fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';
7
7
  import fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';
8
- import fixturePlaylistOrganizeCourses from './fixtures/playlist-organize-courses';
9
8
  import fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';
10
9
  import fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';
11
10
  test('Organism › OrganismWizardContents > should have valid propTypes', t => {
@@ -17,7 +16,6 @@ test('Organism › OrganismWizardContents > should have valid propTypes', t => {
17
16
  test('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);
18
17
  test('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);
19
18
  test('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);
20
- test('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistOrganizeCourses);
21
19
  test('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);
22
20
  test('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);
23
21
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismWizardContents","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistOrganizeCourses","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit","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,+BAAP,MAA4C,wCAA5C;AACA,OAAOC,oCAAP,MAAiD,6CAAjD;AACA,OAAOC,kCAAP,MAA+C,2CAA/C;AACA,OAAOC,8BAAP,MAA2C,sCAA3C;AACA,OAAOC,gCAAP,MAA6C,wCAA7C;AACA,OAAOC,4BAAP,MAAyC,oCAAzC;AAEAT,IAAI,CAAC,iEAAD,EAAoEU,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,sBAAsB,CAACS,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;AAOAd,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,sBAA5G,EAAoIC,+BAApI,CAAJ;AACAJ,IAAI,CAAC,wFAAD,EAA2FE,oBAA3F,EAAiHC,sBAAjH,EAAyIE,oCAAzI,CAAJ;AACAL,IAAI,CAAC,sFAAD,EAAyFE,oBAAzF,EAA+GC,sBAA/G,EAAuIG,kCAAvI,CAAJ;AACAN,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,sBAA3G,EAAmII,8BAAnI,CAAJ;AACAP,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,sBAA7G,EAAqIK,gCAArI,CAAJ;AACAR,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,sBAAzG,EAAiIM,4BAAjI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistOrganizeCourses from './fixtures/playlist-organize-courses';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistOrganizeCourses);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismWizardContents","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit","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,+BAAP,MAA4C,wCAA5C;AACA,OAAOC,oCAAP,MAAiD,6CAAjD;AACA,OAAOC,kCAAP,MAA+C,2CAA/C;AACA,OAAOC,gCAAP,MAA6C,wCAA7C;AACA,OAAOC,4BAAP,MAAyC,oCAAzC;AAEAR,IAAI,CAAC,iEAAD,EAAoES,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,sBAAsB,CAACQ,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;AAOAb,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,sBAA5G,EAAoIC,+BAApI,CAAJ;AACAJ,IAAI,CAAC,wFAAD,EAA2FE,oBAA3F,EAAiHC,sBAAjH,EAAyIE,oCAAzI,CAAJ;AACAL,IAAI,CAAC,sFAAD,EAAyFE,oBAAzF,EAA+GC,sBAA/G,EAAuIG,kCAAvI,CAAJ;AACAN,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,sBAA7G,EAAqII,gCAArI,CAAJ;AACAP,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,sBAAzG,EAAiIK,4BAAjI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
@@ -1,11 +1,14 @@
1
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
2
 
3
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
+
3
5
  import React from 'react';
4
6
  import PropTypes from 'prop-types';
5
7
  import GridList from '../../../organism/grid-list';
6
8
  import BrandCard from '../../../molecule/brand-card';
7
9
  import BrandCardCreate from '../../../molecule/brand-card-create';
8
10
  import Search from '../../../atom/input-search';
11
+ import Select from '../../../molecule/select-multiple';
9
12
  import RadioGroup from '../../../atom/radio-group';
10
13
  import Layout from '../layout';
11
14
  import style from './style.css';
@@ -13,9 +16,13 @@ const BrandList = Layout(props => {
13
16
  const {
14
17
  brands = [],
15
18
  create,
16
- search,
19
+ search: {
20
+ select
21
+ } = {},
17
22
  filter
18
- } = props;
23
+ } = props,
24
+ search = _objectWithoutPropertiesLoose(props.search, ["select"]);
25
+
19
26
  const brandCards = brands.map((brand, index) => {
20
27
  return /*#__PURE__*/React.createElement("div", {
21
28
  key: brand.title,
@@ -35,10 +42,16 @@ const BrandList = Layout(props => {
35
42
  }, filter ? /*#__PURE__*/React.createElement("div", {
36
43
  className: style.filterBar
37
44
  }, /*#__PURE__*/React.createElement(RadioGroup, filter)) : null, /*#__PURE__*/React.createElement("div", {
45
+ className: style.filters
46
+ }, /*#__PURE__*/React.createElement("div", {
38
47
  className: style.searchBar
39
48
  }, /*#__PURE__*/React.createElement(Search, _extends({}, search, {
40
49
  theme: "coorpmanager"
41
- }))), /*#__PURE__*/React.createElement("div", {
50
+ }))), select ? /*#__PURE__*/React.createElement("div", {
51
+ className: style.provider
52
+ }, /*#__PURE__*/React.createElement(Select, _extends({}, select, {
53
+ theme: "coorpmanager"
54
+ }))) : null), /*#__PURE__*/React.createElement("div", {
42
55
  className: style.wrapper
43
56
  }, /*#__PURE__*/React.createElement(GridList, null, brandCards)));
44
57
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/back-office/brand-list/index.js"],"names":["React","PropTypes","GridList","BrandCard","BrandCardCreate","Search","RadioGroup","Layout","style","BrandList","props","brands","create","search","filter","brandCards","map","brand","index","title","push","container","filterBar","searchBar","wrapper","propTypes","arrayOf","shape"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,6BAArB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AACA,OAAOC,MAAP,MAAmB,4BAAnB;AACA,OAAOC,UAAP,MAAuB,2BAAvB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,SAAS,GAAGF,MAAM,CAACG,KAAK,IAAI;AAChC,QAAM;AAACC,IAAAA,MAAM,GAAG,EAAV;AAAcC,IAAAA,MAAd;AAAsBC,IAAAA,MAAtB;AAA8BC,IAAAA;AAA9B,MAAwCJ,KAA9C;AAEA,QAAMK,UAAU,GAAGJ,MAAM,CAACK,GAAP,CAAW,CAACC,KAAD,EAAQC,KAAR,KAAkB;AAC9C,wBACE;AAAK,MAAA,GAAG,EAAED,KAAK,CAACE,KAAhB;AAAuB,MAAA,SAAS,EAAEX,KAAK,CAACS;AAAxC,oBACE,oBAAC,SAAD,EAAeA,KAAf,CADF,CADF;AAKD,GANkB,CAAnB;;AAQA,MAAIL,MAAJ,EAAY;AACVG,IAAAA,UAAU,CAACK,IAAX,eACE;AAAK,MAAA,GAAG,EAAC,KAAT;AAAe,MAAA,SAAS,EAAEZ,KAAK,CAACS;AAAhC,oBACE,oBAAC,eAAD,EAAqBL,MAArB,CADF,CADF;AAKD;;AAED,sBACE;AAAK,IAAA,SAAS,EAAEJ,KAAK,CAACa;AAAtB,KACGP,MAAM,gBACL;AAAK,IAAA,SAAS,EAAEN,KAAK,CAACc;AAAtB,kBACE,oBAAC,UAAD,EAAgBR,MAAhB,CADF,CADK,GAIH,IALN,eAME;AAAK,IAAA,SAAS,EAAEN,KAAK,CAACe;AAAtB,kBACE,oBAAC,MAAD,eAAYV,MAAZ;AAAoB,IAAA,KAAK,EAAC;AAA1B,KADF,CANF,eASE;AAAK,IAAA,SAAS,EAAEL,KAAK,CAACgB;AAAtB,kBACE,oBAAC,QAAD,QAAWT,UAAX,CADF,CATF,CADF;AAeD,CAlCuB,CAAxB;AAoCAN,SAAS,CAACgB,SAAV,2CAAsB;AACpBd,EAAAA,MAAM,EAAEV,SAAS,CAACyB,OAAV,CAAkBzB,SAAS,CAAC0B,KAAV,CAAgBxB,SAAS,CAACsB,SAA1B,CAAlB,CADY;AAEpBX,EAAAA,MAAM,EAAEb,SAAS,CAAC0B,KAAV,CAAgBrB,UAAU,CAACmB,SAA3B,CAFY;AAGpBZ,EAAAA,MAAM,EAAEZ,SAAS,CAAC0B,KAAV,CAAgBtB,MAAM,CAACoB,SAAvB,CAHY;AAIpBb,EAAAA,MAAM,EAAEX,SAAS,CAAC0B,KAAV,CAAgBvB,eAAe,CAACqB,SAAhC;AAJY,CAAtB;AAOA,eAAehB,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport GridList from '../../../organism/grid-list';\nimport BrandCard from '../../../molecule/brand-card';\nimport BrandCardCreate from '../../../molecule/brand-card-create';\nimport Search from '../../../atom/input-search';\nimport RadioGroup from '../../../atom/radio-group';\nimport Layout from '../layout';\nimport style from './style.css';\n\nconst BrandList = Layout(props => {\n const {brands = [], create, search, filter} = props;\n\n const brandCards = brands.map((brand, index) => {\n return (\n <div key={brand.title} className={style.brand}>\n <BrandCard {...brand} />\n </div>\n );\n });\n\n if (create) {\n brandCards.push(\n <div key=\"new\" className={style.brand}>\n <BrandCardCreate {...create} />\n </div>\n );\n }\n\n return (\n <div className={style.container}>\n {filter ? (\n <div className={style.filterBar}>\n <RadioGroup {...filter} />\n </div>\n ) : null}\n <div className={style.searchBar}>\n <Search {...search} theme=\"coorpmanager\" />\n </div>\n <div className={style.wrapper}>\n <GridList>{brandCards}</GridList>\n </div>\n </div>\n );\n});\n\nBrandList.propTypes = {\n brands: PropTypes.arrayOf(PropTypes.shape(BrandCard.propTypes)),\n filter: PropTypes.shape(RadioGroup.propTypes),\n search: PropTypes.shape(Search.propTypes),\n create: PropTypes.shape(BrandCardCreate.propTypes)\n};\n\nexport default BrandList;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/back-office/brand-list/index.js"],"names":["React","PropTypes","GridList","BrandCard","BrandCardCreate","Search","Select","RadioGroup","Layout","style","BrandList","props","brands","create","search","select","filter","brandCards","map","brand","index","title","push","container","filterBar","filters","searchBar","provider","wrapper","propTypes","arrayOf","shape"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,QAAP,MAAqB,6BAArB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AACA,OAAOC,MAAP,MAAmB,4BAAnB;AACA,OAAOC,MAAP,MAAmB,mCAAnB;AACA,OAAOC,UAAP,MAAuB,2BAAvB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,SAAS,GAAGF,MAAM,CAACG,KAAK,IAAI;AAChC,QAAM;AAACC,IAAAA,MAAM,GAAG,EAAV;AAAcC,IAAAA,MAAd;AAAsBC,IAAAA,MAAM,EAAE;AAACC,MAAAA;AAAD,QAAsB,EAApD;AAAwDC,IAAAA;AAAxD,MAAkEL,KAAxE;AAAA,QAAgDG,MAAhD,iCAAwEH,KAAxE,CAA4BG,MAA5B;;AAEA,QAAMG,UAAU,GAAGL,MAAM,CAACM,GAAP,CAAW,CAACC,KAAD,EAAQC,KAAR,KAAkB;AAC9C,wBACE;AAAK,MAAA,GAAG,EAAED,KAAK,CAACE,KAAhB;AAAuB,MAAA,SAAS,EAAEZ,KAAK,CAACU;AAAxC,oBACE,oBAAC,SAAD,EAAeA,KAAf,CADF,CADF;AAKD,GANkB,CAAnB;;AAQA,MAAIN,MAAJ,EAAY;AACVI,IAAAA,UAAU,CAACK,IAAX,eACE;AAAK,MAAA,GAAG,EAAC,KAAT;AAAe,MAAA,SAAS,EAAEb,KAAK,CAACU;AAAhC,oBACE,oBAAC,eAAD,EAAqBN,MAArB,CADF,CADF;AAKD;;AAED,sBACE;AAAK,IAAA,SAAS,EAAEJ,KAAK,CAACc;AAAtB,KACGP,MAAM,gBACL;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACe;AAAtB,kBACE,oBAAC,UAAD,EAAgBR,MAAhB,CADF,CADK,GAIH,IALN,eAME;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACgB;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEhB,KAAK,CAACiB;AAAtB,kBACE,oBAAC,MAAD,eAAYZ,MAAZ;AAAoB,IAAA,KAAK,EAAC;AAA1B,KADF,CADF,EAIGC,MAAM,gBACL;AAAK,IAAA,SAAS,EAAEN,KAAK,CAACkB;AAAtB,kBACE,oBAAC,MAAD,eAAYZ,MAAZ;AAAoB,IAAA,KAAK,EAAC;AAA1B,KADF,CADK,GAIH,IARN,CANF,eAgBE;AAAK,IAAA,SAAS,EAAEN,KAAK,CAACmB;AAAtB,kBACE,oBAAC,QAAD,QAAWX,UAAX,CADF,CAhBF,CADF;AAsBD,CAzCuB,CAAxB;AA2CAP,SAAS,CAACmB,SAAV,2CAAsB;AACpBjB,EAAAA,MAAM,EAAEX,SAAS,CAAC6B,OAAV,CAAkB7B,SAAS,CAAC8B,KAAV,CAAgB5B,SAAS,CAAC0B,SAA1B,CAAlB,CADY;AAEpBb,EAAAA,MAAM,EAAEf,SAAS,CAAC8B,KAAV,CAAgBxB,UAAU,CAACsB,SAA3B,CAFY;AAGpBf,EAAAA,MAAM,EAAEb,SAAS,CAAC8B,KAAV,CAAgB1B,MAAM,CAACwB,SAAvB,CAHY;AAIpBhB,EAAAA,MAAM,EAAEZ,SAAS,CAAC8B,KAAV,CAAgB3B,eAAe,CAACyB,SAAhC;AAJY,CAAtB;AAOA,eAAenB,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport GridList from '../../../organism/grid-list';\nimport BrandCard from '../../../molecule/brand-card';\nimport BrandCardCreate from '../../../molecule/brand-card-create';\nimport Search from '../../../atom/input-search';\nimport Select from '../../../molecule/select-multiple';\nimport RadioGroup from '../../../atom/radio-group';\nimport Layout from '../layout';\nimport style from './style.css';\n\nconst BrandList = Layout(props => {\n const {brands = [], create, search: {select, ...search} = {}, filter} = props;\n\n const brandCards = brands.map((brand, index) => {\n return (\n <div key={brand.title} className={style.brand}>\n <BrandCard {...brand} />\n </div>\n );\n });\n\n if (create) {\n brandCards.push(\n <div key=\"new\" className={style.brand}>\n <BrandCardCreate {...create} />\n </div>\n );\n }\n\n return (\n <div className={style.container}>\n {filter ? (\n <div className={style.filterBar}>\n <RadioGroup {...filter} />\n </div>\n ) : null}\n <div className={style.filters}>\n <div className={style.searchBar}>\n <Search {...search} theme=\"coorpmanager\" />\n </div>\n {select ? (\n <div className={style.provider}>\n <Select {...select} theme=\"coorpmanager\" />\n </div>\n ) : null}\n </div>\n <div className={style.wrapper}>\n <GridList>{brandCards}</GridList>\n </div>\n </div>\n );\n});\n\nBrandList.propTypes = {\n brands: PropTypes.arrayOf(PropTypes.shape(BrandCard.propTypes)),\n filter: PropTypes.shape(RadioGroup.propTypes),\n search: PropTypes.shape(Search.propTypes),\n create: PropTypes.shape(BrandCardCreate.propTypes)\n};\n\nexport default BrandList;\n"],"file":"index.js"}
@@ -18,16 +18,23 @@
18
18
  margin: 0 10px 20px;
19
19
  }
20
20
 
21
+ .filters {
22
+ display: flex;
23
+ max-width: 600px;
24
+ margin: auto;
25
+ padding: 0 10px;
26
+ }
27
+
21
28
  .searchBar {
22
29
  width: 800px;
23
30
  height: 100px;
24
31
  margin: auto;
25
- padding-bottom: 10px;
32
+ flex: 1 1 100%;
33
+ margin-right: 20px;
26
34
  }
27
35
 
28
- .searchBar div {
29
- border: 2px solid xtraLightGrey;
30
- border-radius: 2px;
36
+ .provider {
37
+ flex: 0 1 300px;
31
38
  }
32
39
 
33
40
  .filterBar {
@@ -54,7 +61,6 @@
54
61
 
55
62
  .searchBar {
56
63
  width: auto;
57
- margin: 0 30px;
58
64
  box-sizing: content-box;
59
65
  }
60
66
 
@@ -23,10 +23,10 @@ export default {
23
23
  checked: false,
24
24
  label: 'Customer platforms'
25
25
  }, {
26
- name: 'team',
27
- value: 'team',
26
+ name: 'other',
27
+ value: 'other',
28
28
  checked: true,
29
- label: 'Team platforms'
29
+ label: 'other platforms'
30
30
  }],
31
31
  theme: 'coorpmanager',
32
32
  onChange: value => console.log(value)
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["BrandCard","Header","props","header","isHome","brands","search","value","placeholder","onChange","filter","list","name","checked","label","theme","console","log","create","edit","editHref"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,0DAAtB;AACA,OAAOC,MAAP,MAAmB,4DAAnB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUF,SAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,wBAAMF,MAAM,CAACC,KAAb;AAAoBE,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACH,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLI,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CACJ;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEL,QAAAA,KAAK,EAAE,UAFT;AAGEM,QAAAA,OAAO,EAAE,KAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OADI,EAOJ;AACEF,QAAAA,IAAI,EAAE,MADR;AAEEL,QAAAA,KAAK,EAAE,MAFT;AAGEM,QAAAA,OAAO,EAAE,IAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OAPI,CADA;AAeNC,MAAAA,KAAK,EAAE,cAfD;AAgBNN,MAAAA,QAAQ,EAAEF,KAAK,IAAIS,OAAO,CAACC,GAAR,CAAYV,KAAZ;AAhBb,KARH;AA0BLW,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AA1BH;AADM,CAAf","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n filter: {\n list: [\n {\n name: 'customer',\n value: 'customer',\n checked: false,\n label: 'Customer platforms'\n },\n {\n name: 'team',\n value: 'team',\n checked: true,\n label: 'Team platforms'\n }\n ],\n theme: 'coorpmanager',\n onChange: value => console.log(value)\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["BrandCard","Header","props","header","isHome","brands","search","value","placeholder","onChange","filter","list","name","checked","label","theme","console","log","create","edit","editHref"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,0DAAtB;AACA,OAAOC,MAAP,MAAmB,4DAAnB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUF,SAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,wBAAMF,MAAM,CAACC,KAAb;AAAoBE,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACH,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLI,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CACJ;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEL,QAAAA,KAAK,EAAE,UAFT;AAGEM,QAAAA,OAAO,EAAE,KAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OADI,EAOJ;AACEF,QAAAA,IAAI,EAAE,OADR;AAEEL,QAAAA,KAAK,EAAE,OAFT;AAGEM,QAAAA,OAAO,EAAE,IAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OAPI,CADA;AAeNC,MAAAA,KAAK,EAAE,cAfD;AAgBNN,MAAAA,QAAQ,EAAEF,KAAK,IAAIS,OAAO,CAACC,GAAR,CAAYV,KAAZ;AAhBb,KARH;AA0BLW,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AA1BH;AADM,CAAf","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n filter: {\n list: [\n {\n name: 'customer',\n value: 'customer',\n checked: false,\n label: 'Customer platforms'\n },\n {\n name: 'other',\n value: 'other',\n checked: true,\n label: 'other platforms'\n }\n ],\n theme: 'coorpmanager',\n onChange: value => console.log(value)\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
@@ -3,7 +3,29 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
3
3
  import Default from './default';
4
4
  export default {
5
5
  props: _extends(_extends({}, Default.props), {}, {
6
- create: null
6
+ create: null,
7
+ search: _extends(_extends({}, Default.props.search), {}, {
8
+ select: {
9
+ placeholder: 'Provider',
10
+ title: 'Provider',
11
+ description: 'You should select a provider',
12
+ multiple: false,
13
+ disabled: false,
14
+ error: '',
15
+ hint: '',
16
+ options: [{
17
+ name: 'Team platforms',
18
+ value: 'smb',
19
+ selected: false
20
+ }, {
21
+ name: 'Forvia platforms',
22
+ value: 'forvia-partners',
23
+ selected: true
24
+ }],
25
+ onChange: value => console.log('onChange', value),
26
+ onError: () => false
27
+ }
28
+ })
7
29
  })
8
30
  };
9
31
  //# sourceMappingURL=rh.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/rh.js"],"names":["Default","props","create"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,WAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,OAAO,CAACC,KADR;AAEHC,IAAAA,MAAM,EAAE;AAFL;AADQ,CAAf","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n create: null\n }\n};\n"],"file":"rh.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/rh.js"],"names":["Default","props","create","search","select","placeholder","title","description","multiple","disabled","error","hint","options","name","value","selected","onChange","console","log","onError"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,WAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,OAAO,CAACC,KADR;AAEHC,IAAAA,MAAM,EAAE,IAFL;AAGHC,IAAAA,MAAM,wBACDH,OAAO,CAACC,KAAR,CAAcE,MADb;AAEJC,MAAAA,MAAM,EAAE;AACNC,QAAAA,WAAW,EAAE,UADP;AAENC,QAAAA,KAAK,EAAE,UAFD;AAGNC,QAAAA,WAAW,EAAE,8BAHP;AAINC,QAAAA,QAAQ,EAAE,KAJJ;AAKNC,QAAAA,QAAQ,EAAE,KALJ;AAMNC,QAAAA,KAAK,EAAE,EAND;AAONC,QAAAA,IAAI,EAAE,EAPA;AAQNC,QAAAA,OAAO,EAAE,CACP;AACEC,UAAAA,IAAI,EAAE,gBADR;AAEEC,UAAAA,KAAK,EAAE,KAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SADO,EAMP;AACEF,UAAAA,IAAI,EAAE,kBADR;AAEEC,UAAAA,KAAK,EAAE,iBAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SANO,CARH;AAoBNC,QAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAY,UAAZ,EAAwBJ,KAAxB,CApBb;AAqBNK,QAAAA,OAAO,EAAE,MAAM;AArBT;AAFJ;AAHH;AADQ,CAAf","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n create: null,\n search: {\n ...Default.props.search,\n select: {\n placeholder: 'Provider',\n title: 'Provider',\n description: 'You should select a provider',\n multiple: false,\n disabled: false,\n error: '',\n hint: '',\n options: [\n {\n name: 'Team platforms',\n value: 'smb',\n selected: false\n },\n {\n name: 'Forvia platforms',\n value: 'forvia-partners',\n selected: true\n }\n ],\n onChange: value => console.log('onChange', value),\n onError: () => false\n }\n }\n }\n};\n"],"file":"rh.js"}