@coorpacademy/components 10.13.10 → 10.13.11

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 (162) hide show
  1. package/es/atom/button-link-icon-only/test/fixtures.js +2 -0
  2. package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -1
  3. package/es/atom/checkbox-with-title/style.css +2 -4
  4. package/es/molecule/course-section/index.js +19 -16
  5. package/es/molecule/course-section/index.js.map +1 -1
  6. package/es/molecule/course-section/style.css +12 -15
  7. package/es/molecule/course-section/test/fixtures/advanced-level.js +22 -0
  8. package/es/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  9. package/es/molecule/course-section/test/fixtures/base-level.js +18 -0
  10. package/es/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  11. package/es/molecule/course-section/test/fixtures/chapter.js +2 -2
  12. package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  13. package/es/molecule/course-section/test/fixtures/coach-level.js +24 -0
  14. package/es/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  15. package/es/molecule/course-section/test/fixtures/course.js +2 -2
  16. package/es/molecule/course-section/test/fixtures/course.js.map +1 -1
  17. package/es/molecule/course-section/test/fixtures.js +6 -0
  18. package/es/molecule/course-section/test/fixtures.js.map +1 -1
  19. package/es/molecule/course-sections/test/fixtures/default.js +20 -20
  20. package/es/molecule/course-sections/test/fixtures/default.js.map +1 -1
  21. package/es/molecule/drag-and-drop-wrapper/style.css +5 -2
  22. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  23. package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  24. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  25. package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  26. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  27. package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  28. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  29. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  30. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  31. package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  32. package/es/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  33. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +15 -0
  34. package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  35. package/es/molecule/list-badges/index.js +38 -0
  36. package/es/molecule/list-badges/index.js.map +1 -0
  37. package/es/molecule/list-badges/style.css +15 -0
  38. package/es/molecule/list-badges/test/fixtures/advanced.js +9 -0
  39. package/es/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  40. package/es/molecule/list-badges/test/fixtures/base.js +8 -0
  41. package/es/molecule/list-badges/test/fixtures/base.js.map +1 -0
  42. package/es/molecule/list-badges/test/fixtures/coach.js +10 -0
  43. package/es/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  44. package/es/molecule/list-badges/test/fixtures/course.js +8 -0
  45. package/es/molecule/list-badges/test/fixtures/course.js.map +1 -0
  46. package/es/molecule/list-badges/test/fixtures.js +19 -0
  47. package/es/molecule/list-badges/test/fixtures.js.map +1 -0
  48. package/es/organism/review-header/test/fixtures.js +23 -0
  49. package/es/organism/review-header/test/fixtures.js.map +1 -0
  50. package/es/organism/rewards-form/index.js +41 -0
  51. package/es/organism/rewards-form/index.js.map +1 -0
  52. package/es/organism/rewards-form/style.css +12 -0
  53. package/es/organism/rewards-form/test/fixtures/default.js +17 -0
  54. package/es/organism/rewards-form/test/fixtures/default.js.map +1 -0
  55. package/es/organism/rewards-form/test/fixtures/no-rewards.js +6 -0
  56. package/es/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  57. package/es/organism/rewards-form/test/fixtures/one-reward.js +11 -0
  58. package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  59. package/es/organism/rewards-form/test/fixtures/two-rewards.js +14 -0
  60. package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  61. package/es/organism/rewards-form/test/fixtures.js +19 -0
  62. package/es/organism/rewards-form/test/fixtures.js.map +1 -0
  63. package/es/organism/wizard-contents/index.js +6 -0
  64. package/es/organism/wizard-contents/index.js.map +1 -1
  65. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +45 -0
  66. package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  67. package/es/organism/wizard-contents/test/fixtures.js +2 -0
  68. package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
  69. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +22 -0
  70. package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  71. package/es/template/back-office/brand-update/test/fixtures.js +2 -0
  72. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  73. package/lib/atom/button-link-icon-only/test/fixtures.js +3 -0
  74. package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -1
  75. package/lib/atom/checkbox-with-title/style.css +2 -4
  76. package/lib/molecule/course-section/index.js +20 -16
  77. package/lib/molecule/course-section/index.js.map +1 -1
  78. package/lib/molecule/course-section/style.css +12 -15
  79. package/lib/molecule/course-section/test/fixtures/advanced-level.js +27 -0
  80. package/lib/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
  81. package/lib/molecule/course-section/test/fixtures/base-level.js +23 -0
  82. package/lib/molecule/course-section/test/fixtures/base-level.js.map +1 -0
  83. package/lib/molecule/course-section/test/fixtures/chapter.js +2 -2
  84. package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -1
  85. package/lib/molecule/course-section/test/fixtures/coach-level.js +29 -0
  86. package/lib/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
  87. package/lib/molecule/course-section/test/fixtures/course.js +2 -2
  88. package/lib/molecule/course-section/test/fixtures/course.js.map +1 -1
  89. package/lib/molecule/course-section/test/fixtures.js +9 -0
  90. package/lib/molecule/course-section/test/fixtures.js.map +1 -1
  91. package/lib/molecule/course-sections/test/fixtures/default.js +20 -20
  92. package/lib/molecule/course-sections/test/fixtures/default.js.map +1 -1
  93. package/lib/molecule/drag-and-drop-wrapper/style.css +5 -2
  94. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
  95. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
  96. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +11 -3
  97. package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
  98. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
  99. package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
  100. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
  101. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
  102. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
  103. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
  104. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
  105. package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures.js +4 -4
  106. package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
  107. package/lib/molecule/list-badges/index.js +50 -0
  108. package/lib/molecule/list-badges/index.js.map +1 -0
  109. package/lib/molecule/list-badges/style.css +15 -0
  110. package/lib/molecule/list-badges/test/fixtures/advanced.js +19 -0
  111. package/lib/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
  112. package/lib/molecule/list-badges/test/fixtures/base.js +17 -0
  113. package/lib/molecule/list-badges/test/fixtures/base.js.map +1 -0
  114. package/lib/molecule/list-badges/test/fixtures/coach.js +21 -0
  115. package/lib/molecule/list-badges/test/fixtures/coach.js.map +1 -0
  116. package/lib/molecule/list-badges/test/fixtures/course.js +17 -0
  117. package/lib/molecule/list-badges/test/fixtures/course.js.map +1 -0
  118. package/lib/molecule/list-badges/test/fixtures.js +31 -0
  119. package/lib/molecule/list-badges/test/fixtures.js.map +1 -0
  120. package/lib/organism/review-header/test/fixtures.js +37 -0
  121. package/lib/organism/review-header/test/fixtures.js.map +1 -0
  122. package/lib/organism/rewards-form/index.js +55 -0
  123. package/lib/organism/rewards-form/index.js.map +1 -0
  124. package/lib/organism/rewards-form/style.css +12 -0
  125. package/lib/organism/rewards-form/test/fixtures/default.js +28 -0
  126. package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -0
  127. package/lib/organism/rewards-form/test/fixtures/no-rewards.js +11 -0
  128. package/lib/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
  129. package/lib/organism/rewards-form/test/fixtures/one-reward.js +20 -0
  130. package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
  131. package/lib/organism/rewards-form/test/fixtures/two-rewards.js +24 -0
  132. package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
  133. package/lib/organism/rewards-form/test/fixtures.js +31 -0
  134. package/lib/organism/rewards-form/test/fixtures.js.map +1 -0
  135. package/lib/organism/wizard-contents/index.js +7 -0
  136. package/lib/organism/wizard-contents/index.js.map +1 -1
  137. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js +54 -0
  138. package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
  139. package/lib/organism/wizard-contents/test/fixtures.js +3 -0
  140. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
  141. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +32 -0
  142. package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
  143. package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
  144. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  145. package/package.json +2 -2
  146. package/es/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  147. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  148. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  149. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
  150. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  151. package/es/molecule/search/test/fixtures.js +0 -15
  152. package/es/molecule/search/test/fixtures.js.map +0 -1
  153. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  154. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  155. package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
  156. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
  157. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
  158. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  159. package/lib/molecule/search/test/fixtures.js +0 -25
  160. package/lib/molecule/search/test/fixtures.js.map +0 -1
  161. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  162. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
@@ -5,6 +5,7 @@ import AtomButtonLinkIconOnly from '..';
5
5
  import fixtureButtonIconBullet from './fixtures/button-icon-bullet';
6
6
  import fixtureDefault from './fixtures/default';
7
7
  import fixtureNoIcon from './fixtures/no-icon';
8
+ import fixtureReviewHeader from './fixtures/review-header';
8
9
  import fixtureSmallButtonDisabled from './fixtures/small-button-disabled';
9
10
  import fixtureSmallLinkDownload from './fixtures/small-link-download';
10
11
  test('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {
@@ -16,6 +17,7 @@ test('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {
16
17
  test('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);
17
18
  test('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);
18
19
  test('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);
20
+ test('Atom › AtomButtonLinkIconOnly › ReviewHeader › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureReviewHeader);
19
21
  test('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);
20
22
  test('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);
21
23
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLinkIconOnly","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","fixtureSmallButtonDisabled","fixtureSmallLinkDownload","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,uBAAP,MAAoC,+BAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AAEAR,IAAI,CAAC,6DAAD,EAAgES,CAAC,IAAI;AACvEA,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,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,sBAAhG,EAAwHC,uBAAxH,CAAJ;AACAJ,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,sBAAtF,EAA8GG,aAA9G,CAAJ;AACAN,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HI,0BAA3H,CAAJ;AACAP,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHK,wBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLinkIconOnly from '..';\nimport fixtureButtonIconBullet from './fixtures/button-icon-bullet';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixtureSmallButtonDisabled from './fixtures/small-button-disabled';\nimport fixtureSmallLinkDownload from './fixtures/small-link-download';\n\ntest('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLinkIconOnly.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);\ntest('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);\ntest('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);\ntest('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);\ntest('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLinkIconOnly","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","fixtureReviewHeader","fixtureSmallButtonDisabled","fixtureSmallLinkDownload","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,uBAAP,MAAoC,+BAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AAEAT,IAAI,CAAC,6DAAD,EAAgEU,CAAC,IAAI;AACvEA,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,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,sBAAhG,EAAwHC,uBAAxH,CAAJ;AACAJ,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,sBAAtF,EAA8GG,aAA9G,CAAJ;AACAN,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,sBAA5F,EAAoHI,mBAApH,CAAJ;AACAP,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HK,0BAA3H,CAAJ;AACAR,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHM,wBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLinkIconOnly from '..';\nimport fixtureButtonIconBullet from './fixtures/button-icon-bullet';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixtureReviewHeader from './fixtures/review-header';\nimport fixtureSmallButtonDisabled from './fixtures/small-button-disabled';\nimport fixtureSmallLinkDownload from './fixtures/small-link-download';\n\ntest('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLinkIconOnly.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);\ntest('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);\ntest('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);\ntest('Atom › AtomButtonLinkIconOnly › ReviewHeader › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureReviewHeader);\ntest('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);\ntest('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);\n"],"file":"fixtures.js"}
@@ -28,8 +28,6 @@
28
28
  font-weight: bold;
29
29
  font-size: 20px;
30
30
  color: dark;
31
- width: 180px;
32
- margin-right: 20px;
33
31
  min-height: 50px;
34
32
  display: flex;
35
33
  align-items: center;
@@ -43,8 +41,8 @@
43
41
  display: flex;
44
42
  justify-content: center;
45
43
  align-items: center;
46
- width: 23px;
47
- height: 23px;
44
+ width: 24px;
45
+ height: 24px;
48
46
  border-radius: 5px;
49
47
  font-size: 14px;
50
48
  color: dark;
@@ -2,21 +2,21 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import CardImagePreview from '../../atom/card-image-preview';
4
4
  import ContentBadge from '../../atom/content-badge';
5
+ import ListBadges from '../list-badges';
5
6
  import style from './style.css';
6
7
 
7
8
  const CourseSection = props => {
8
9
  const {
9
10
  image,
10
- contentBadge: {
11
- category,
12
- label
13
- },
11
+ badgeList,
14
12
  title,
15
13
  author,
16
14
  position,
17
15
  'aria-label': {
18
16
  title: ariaLabelTitle,
19
- author: ariaLabelAuthor
17
+ author: ariaLabelAuthor,
18
+ modules: ariaLabelModules,
19
+ position: coursePosition
20
20
  },
21
21
  id
22
22
  } = props;
@@ -24,8 +24,12 @@ const CourseSection = props => {
24
24
  className: style.container,
25
25
  "aria-label": ariaLabelTitle,
26
26
  "data-name": `course-section-${id}`
27
+ }, /*#__PURE__*/React.createElement("div", {
28
+ className: style.wrapper
27
29
  }, /*#__PURE__*/React.createElement("span", {
28
- className: style.position
30
+ className: style.position,
31
+ "aria-label": coursePosition,
32
+ "data-name": "position"
29
33
  }, position), /*#__PURE__*/React.createElement("div", {
30
34
  className: style.containerImage
31
35
  }, /*#__PURE__*/React.createElement(CardImagePreview, {
@@ -33,26 +37,25 @@ const CourseSection = props => {
33
37
  })), /*#__PURE__*/React.createElement("div", {
34
38
  className: style.containerInfos
35
39
  }, /*#__PURE__*/React.createElement("div", {
36
- className: style.containerMainInfos
37
- }, /*#__PURE__*/React.createElement(ContentBadge, {
38
- className: style.contentBadge,
39
- category: category,
40
- label: label
41
- }), /*#__PURE__*/React.createElement("div", {
42
40
  className: style.title
43
- }, title)), /*#__PURE__*/React.createElement("span", {
41
+ }, title), /*#__PURE__*/React.createElement("span", {
44
42
  className: style.author,
45
43
  "aria-label": ariaLabelAuthor
46
- }, author)));
44
+ }, author))), /*#__PURE__*/React.createElement(ListBadges, {
45
+ "aria-label": ariaLabelModules,
46
+ items: badgeList
47
+ }));
47
48
  };
48
49
 
49
50
  CourseSection.propTypes = process.env.NODE_ENV !== "production" ? {
50
51
  'aria-label': PropTypes.shape({
51
52
  title: PropTypes.string,
52
- author: PropTypes.string
53
+ author: PropTypes.string,
54
+ modules: PropTypes.string,
55
+ position: PropTypes.string
53
56
  }),
54
57
  image: PropTypes.string,
55
- contentBadge: PropTypes.shape(ContentBadge.propTypes),
58
+ badgeList: PropTypes.arrayOf(PropTypes.shape(ContentBadge.propTypes)),
56
59
  title: PropTypes.string,
57
60
  author: PropTypes.string,
58
61
  position: PropTypes.number,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/course-section/index.js"],"names":["React","PropTypes","CardImagePreview","ContentBadge","style","CourseSection","props","image","contentBadge","category","label","title","author","position","ariaLabelTitle","ariaLabelAuthor","id","container","containerImage","containerInfos","containerMainInfos","propTypes","shape","string","number"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,gBAAP,MAA6B,+BAA7B;AACA,OAAOC,YAAP,MAAyB,0BAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,aAAa,GA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EAAAA,KAAK,EAAEN,SAAS,CAACsB,MALO;AAMxBf,EAAAA,YAAY,EAAEP,SAAS,CAACqB,KAAV,CAAgBnB,YAAY,CAACkB,SAA7B,CANU;AAOxBV,EAAAA,KAAK,EAAEV,SAAS,CAACsB,MAPO;AAQxBX,EAAAA,MAAM,EAAEX,SAAS,CAACsB,MARM;AASxBV,EAAAA,QAAQ,EAAEZ,SAAS,CAACuB,MATI;AAUxBR,EAAAA,EAAE,EAAEf,SAAS,CAACsB;AAVU,CAA1B;AAaA,eAAelB,aAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport ContentBadge from '../../atom/content-badge';\nimport style from './style.css';\n\nconst CourseSection = props => {\n const {\n image,\n contentBadge: {category, label},\n title,\n author,\n position,\n 'aria-label': {title: ariaLabelTitle, author: ariaLabelAuthor},\n id\n } = props;\n return (\n <div className={style.container} aria-label={ariaLabelTitle} data-name={`course-section-${id}`}>\n <span className={style.position}>{position}</span>\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n <div className={style.containerInfos}>\n <div className={style.containerMainInfos}>\n <ContentBadge className={style.contentBadge} category={category} label={label} />\n <div className={style.title}>{title}</div>\n </div>\n <span className={style.author} aria-label={ariaLabelAuthor}>\n {author}\n </span>\n </div>\n </div>\n );\n};\n\nCourseSection.propTypes = {\n 'aria-label': PropTypes.shape({\n title: PropTypes.string,\n author: PropTypes.string\n }),\n image: PropTypes.string,\n contentBadge: PropTypes.shape(ContentBadge.propTypes),\n title: PropTypes.string,\n author: PropTypes.string,\n position: PropTypes.number,\n id: PropTypes.string\n};\n\nexport default CourseSection;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/course-section/index.js"],"names":["React","PropTypes","CardImagePreview","ContentBadge","ListBadges","style","CourseSection","props","image","badgeList","title","author","position","ariaLabelTitle","ariaLabelAuthor","modules","ariaLabelModules","coursePosition","id","container","wrapper","containerImage","containerInfos","propTyp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AA0C,IAAA,KAAK,EAAEP;AAAjD,IAfF,CADF;AAmBD,CAnCD;;AAqCAH,aAAa,CAACiB,SAAd,2CAA0B;AACxB,gBAActB,SAAS,CAACuB,KAAV,CAAgB;AAC5Bd,IAAAA,KAAK,EAAET,SAAS,CAACwB,MADW;AAE5Bd,IAAAA,MAAM,EAAEV,SAAS,CAACwB,MAFU;AAG5BV,IAAAA,OAAO,EAAEd,SAAS,CAACwB,MAHS;AAI5Bb,IAAAA,QAAQ,EAAEX,SAAS,CAACwB;AAJQ,GAAhB,CADU;AAOxBjB,EAAAA,KAAK,EAAEP,SAAS,CAACwB,MAPO;AAQxBhB,EAAAA,SAAS,EAAER,SAAS,CAACyB,OAAV,CAAkBzB,SAAS,CAACuB,KAAV,CAAgBrB,YAAY,CAACoB,SAA7B,CAAlB,CARa;AASxBb,EAAAA,KAAK,EAAET,SAAS,CAACwB,MATO;AAUxBd,EAAAA,MAAM,EAAEV,SAAS,CAACwB,MAVM;AAWxBb,EAAAA,QAAQ,EAAEX,SAAS,CAAC0B,MAXI;AAYxBT,EAAAA,EAAE,EAAEjB,SAAS,CAACwB;AAZU,CAA1B;AAeA,eAAenB,aAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport ContentBadge from '../../atom/content-badge';\nimport ListBadges from '../list-badges';\nimport style from './style.css';\n\nconst CourseSection = props => {\n const {\n image,\n badgeList,\n title,\n author,\n position,\n 'aria-label': {\n title: ariaLabelTitle,\n author: ariaLabelAuthor,\n modules: ariaLabelModules,\n position: coursePosition\n },\n id\n } = props;\n\n return (\n <div className={style.container} aria-label={ariaLabelTitle} data-name={`course-section-${id}`}>\n <div className={style.wrapper}>\n <span className={style.position} aria-label={coursePosition} data-name=\"position\">\n {position}\n </span>\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n <div className={style.containerInfos}>\n <div className={style.title}>{title}</div>\n <span className={style.author} aria-label={ariaLabelAuthor}>\n {author}\n </span>\n </div>\n </div>\n <ListBadges aria-label={ariaLabelModules} items={badgeList} />\n </div>\n );\n};\n\nCourseSection.propTypes = {\n 'aria-label': PropTypes.shape({\n title: PropTypes.string,\n author: PropTypes.string,\n modules: PropTypes.string,\n position: PropTypes.string\n }),\n image: PropTypes.string,\n badgeList: PropTypes.arrayOf(PropTypes.shape(ContentBadge.propTypes)),\n title: PropTypes.string,\n author: PropTypes.string,\n position: PropTypes.number,\n id: PropTypes.string\n};\n\nexport default CourseSection;\n"],"file":"index.js"}
@@ -5,38 +5,39 @@
5
5
  @value cm_grey_400 from colors;
6
6
 
7
7
  .container {
8
+ display: flex;
9
+ justify-content: space-between;
8
10
  align-items: center;
9
11
  background-color: cm_grey_50;
10
- border-radius: 7px;
11
- display: flex;
12
12
  font-size: 14px;
13
- justify-content: flex-start;
14
13
  margin-top: 8px;
15
14
  padding: 8px 16px;
16
15
  border-radius: 7px;
17
16
  }
18
17
 
18
+ .wrapper {
19
+ display: flex;
20
+ justify-content: flex-start;
21
+ align-items: center;
22
+ width: 83%;
23
+ }
24
+
19
25
  .containerInfos {
20
26
  margin-left: 16px;
21
27
  overflow: hidden;
22
28
  }
23
29
 
24
- .containerMainInfos {
25
- display: flex;
26
- align-items: center;
27
- }
28
-
29
30
  .title {
30
31
  color: cm_grey_900;
31
32
  line-height: 22px;
32
33
  font-family: Gilroy;
33
34
  font-size: 16px;
34
35
  font-weight: bold;
35
- margin-left: 4px;
36
36
  overflow:hidden;
37
37
  white-space:nowrap;
38
38
  display:inline-block;
39
39
  text-overflow:ellipsis;
40
+ width: 100%;
40
41
  }
41
42
 
42
43
  .author {
@@ -54,13 +55,9 @@
54
55
  margin: 0 12px 0 32px;
55
56
  }
56
57
 
57
- .contentBadge {
58
- font-size: 8px;
59
- font-weight: bold;
60
- line-height: 10px;;
61
- }
62
-
63
58
  .containerImage {
64
59
  min-height: 56px;
65
60
  min-width: 56px;
66
61
  }
62
+
63
+
@@ -0,0 +1,22 @@
1
+ export default {
2
+ props: {
3
+ 'aria-label': {
4
+ title: 'aria label title',
5
+ author: 'aria label author',
6
+ modules: 'aria label modules'
7
+ },
8
+ title: 'Social networks',
9
+ author: 'Author',
10
+ image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
11
+ badgeList: [{
12
+ label: 'Base',
13
+ category: 'base'
14
+ }, {
15
+ label: 'Avancé',
16
+ category: 'advanced'
17
+ }],
18
+ position: 2,
19
+ id: 'chap_1'
20
+ }
21
+ };
22
+ //# sourceMappingURL=advanced-level.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/advanced-level.js"],"names":["props","title","author","modules","image","badgeList","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE,mBAFI;AAGZC,MAAAA,OAAO,EAAE;AAHG,KADT;AAMLF,IAAAA,KAAK,EAAE,iBANF;AAOLC,IAAAA,MAAM,EAAE,QAPH;AAQLE,IAAAA,KAAK,EACH,4LATG;AAULC,IAAAA,SAAS,EAAE,CACT;AACEC,MAAAA,KAAK,EAAE,MADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KADS,EAKT;AACED,MAAAA,KAAK,EAAE,QADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KALS,CAVN;AAoBLC,IAAAA,QAAQ,EAAE,CApBL;AAqBLC,IAAAA,EAAE,EAAE;AArBC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author',\n modules: 'aria label modules'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'Base',\n category: 'base'\n },\n {\n label: 'Avancé',\n category: 'advanced'\n }\n ],\n position: 2,\n id: 'chap_1'\n }\n};\n"],"file":"advanced-level.js"}
@@ -0,0 +1,18 @@
1
+ export default {
2
+ props: {
3
+ 'aria-label': {
4
+ title: 'aria label title',
5
+ author: 'aria label author'
6
+ },
7
+ title: 'Social networks',
8
+ author: 'Author',
9
+ image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
10
+ badgeList: [{
11
+ label: 'Base',
12
+ category: 'base'
13
+ }],
14
+ position: 2,
15
+ id: 'chap_1'
16
+ }
17
+ };
18
+ //# sourceMappingURL=base-level.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/base-level.js"],"names":["props","title","author","image","badgeList","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EAAE,iBALF;AAMLC,IAAAA,MAAM,EAAE,QANH;AAOLC,IAAAA,KAAK,EACH,4LARG;AASLC,IAAAA,SAAS,EAAE,CACT;AACEC,MAAAA,KAAK,EAAE,MADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KADS,CATN;AAeLC,IAAAA,QAAQ,EAAE,CAfL;AAgBLC,IAAAA,EAAE,EAAE;AAhBC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'Base',\n category: 'base'\n }\n ],\n position: 2,\n id: 'chap_1'\n }\n};\n"],"file":"base-level.js"}
@@ -7,10 +7,10 @@ export default {
7
7
  title: 'Social networks',
8
8
  author: 'Author',
9
9
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
10
- contentBadge: {
10
+ badgeList: [{
11
11
  label: 'chapter',
12
12
  category: 'chapter'
13
- },
13
+ }],
14
14
  position: 2,
15
15
  id: 'chap_1'
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/chapter.js"],"names":["props","title","author","image","contentBadge","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EAAE,iBALF;AAMLC,IAAAA,MAAM,EAAE,QANH;AAOLC,IAAAA,KAAK,EACH,4LARG;AASLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,SADK;AAEZC,MAAAA,QAAQ,EAAE;AAFE,KATT;AAaLC,IAAAA,QAAQ,EAAE,CAbL;AAcLC,IAAAA,EAAE,EAAE;AAdC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'chapter',\n category: 'chapter'\n },\n position: 2,\n id: 'chap_1'\n }\n};\n"],"file":"chapter.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/chapter.js"],"names":["props","title","author","image","badgeList","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EAAE,iBALF;AAMLC,IAAAA,MAAM,EAAE,QANH;AAOLC,IAAAA,KAAK,EACH,4LARG;AASLC,IAAAA,SAAS,EAAE,CACT;AACEC,MAAAA,KAAK,EAAE,SADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KADS,CATN;AAeLC,IAAAA,QAAQ,EAAE,CAfL;AAgBLC,IAAAA,EAAE,EAAE;AAhBC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'chapter',\n category: 'chapter'\n }\n ],\n position: 2,\n id: 'chap_1'\n }\n};\n"],"file":"chapter.js"}
@@ -0,0 +1,24 @@
1
+ export default {
2
+ props: {
3
+ 'aria-label': {
4
+ title: 'aria label title',
5
+ author: 'aria label author'
6
+ },
7
+ title: 'Social networks',
8
+ author: 'Author',
9
+ image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
10
+ badgeList: [{
11
+ label: 'Base',
12
+ category: 'base'
13
+ }, {
14
+ label: 'Avancé',
15
+ category: 'advanced'
16
+ }, {
17
+ label: 'Coach',
18
+ category: 'coach'
19
+ }],
20
+ position: 2,
21
+ id: 'chap_1'
22
+ }
23
+ };
24
+ //# sourceMappingURL=coach-level.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/coach-level.js"],"names":["props","title","author","image","badgeList","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EAAE,iBALF;AAMLC,IAAAA,MAAM,EAAE,QANH;AAOLC,IAAAA,KAAK,EACH,4LARG;AASLC,IAAAA,SAAS,EAAE,CACT;AACEC,MAAAA,KAAK,EAAE,MADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KADS,EAKT;AACED,MAAAA,KAAK,EAAE,QADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KALS,EAST;AACED,MAAAA,KAAK,EAAE,OADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KATS,CATN;AAuBLC,IAAAA,QAAQ,EAAE,CAvBL;AAwBLC,IAAAA,EAAE,EAAE;AAxBC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'Base',\n category: 'base'\n },\n {\n label: 'Avancé',\n category: 'advanced'\n },\n {\n label: 'Coach',\n category: 'coach'\n }\n ],\n position: 2,\n id: 'chap_1'\n }\n};\n"],"file":"coach-level.js"}
@@ -7,10 +7,10 @@ export default {
7
7
  title: 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',
8
8
  author: 'Author',
9
9
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
10
- contentBadge: {
10
+ badgeList: [{
11
11
  label: 'course',
12
12
  category: 'course'
13
- },
13
+ }],
14
14
  position: 1,
15
15
  id: 'disc_1'
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/course.js"],"names":["props","title","author","image","contentBadge","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EACH,qIANG;AAOLC,IAAAA,MAAM,EAAE,QAPH;AAQLC,IAAAA,KAAK,EACH,4LATG;AAULC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,QADK;AAEZC,MAAAA,QAAQ,EAAE;AAFE,KAVT;AAcLC,IAAAA,QAAQ,EAAE,CAdL;AAeLC,IAAAA,EAAE,EAAE;AAfC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title:\n 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 1,\n id: 'disc_1'\n }\n};\n"],"file":"course.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/course-section/test/fixtures/course.js"],"names":["props","title","author","image","badgeList","label","category","position","id"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AACZC,MAAAA,KAAK,EAAE,kBADK;AAEZC,MAAAA,MAAM,EAAE;AAFI,KADT;AAKLD,IAAAA,KAAK,EACH,qIANG;AAOLC,IAAAA,MAAM,EAAE,QAPH;AAQLC,IAAAA,KAAK,EACH,4LATG;AAULC,IAAAA,SAAS,EAAE,CACT;AACEC,MAAAA,KAAK,EAAE,QADT;AAEEC,MAAAA,QAAQ,EAAE;AAFZ,KADS,CAVN;AAgBLC,IAAAA,QAAQ,EAAE,CAhBL;AAiBLC,IAAAA,EAAE,EAAE;AAjBC;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title:\n 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 1,\n id: 'disc_1'\n }\n};\n"],"file":"course.js"}
@@ -2,7 +2,10 @@ import test from 'ava';
2
2
  import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import MoleculeCourseSection from '..';
5
+ import fixtureAdvancedLevel from './fixtures/advanced-level';
6
+ import fixtureBaseLevel from './fixtures/base-level';
5
7
  import fixtureChapter from './fixtures/chapter';
8
+ import fixtureCoachLevel from './fixtures/coach-level';
6
9
  import fixtureCourse from './fixtures/course';
7
10
  test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
8
11
  t.pass();
@@ -10,6 +13,9 @@ test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
10
13
  t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSection.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
14
  });
12
15
  });
16
+ test('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);
17
+ test('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);
13
18
  test('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);
19
+ test('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);
14
20
  test('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);
15
21
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/course-section/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSection","fixtureChapter","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,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;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,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,qBAAzF,EAAgHE,aAAhH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSection from '..';\nimport fixtureChapter from './fixtures/chapter';\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 › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);\ntest('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);\n"],"file":"fixtures.js"}
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"}
@@ -8,10 +8,10 @@ export default {
8
8
  title: 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',
9
9
  author: 'Author',
10
10
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
11
- contentBadge: {
11
+ badgeList: [{
12
12
  label: 'course',
13
13
  category: 'course'
14
- },
14
+ }],
15
15
  position: 1,
16
16
  id: 'disc_1'
17
17
  }, {
@@ -22,10 +22,10 @@ export default {
22
22
  title: 'Social networks',
23
23
  author: 'Author',
24
24
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
25
- contentBadge: {
25
+ badgeList: [{
26
26
  label: "5' learning",
27
27
  category: 'chapter'
28
- },
28
+ }],
29
29
  position: 2,
30
30
  id: 'chap_1'
31
31
  }, {
@@ -36,10 +36,10 @@ export default {
36
36
  title: 'Other title',
37
37
  author: 'Author 2',
38
38
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
39
- contentBadge: {
39
+ badgeList: [{
40
40
  label: 'course',
41
41
  category: 'course'
42
- },
42
+ }],
43
43
  position: 3,
44
44
  id: 'disc_2'
45
45
  }, {
@@ -50,10 +50,10 @@ export default {
50
50
  title: 'Social others',
51
51
  author: 'Author XXX',
52
52
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
53
- contentBadge: {
53
+ badgeList: [{
54
54
  label: "5' learning",
55
55
  category: 'chapter'
56
- },
56
+ }],
57
57
  position: 4,
58
58
  id: 'chap_2'
59
59
  }, {
@@ -64,10 +64,10 @@ export default {
64
64
  title: 'Social others others',
65
65
  author: 'Author XXX',
66
66
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
67
- contentBadge: {
67
+ badgeList: [{
68
68
  label: "5' learning",
69
69
  category: 'chapter'
70
- },
70
+ }],
71
71
  position: 5,
72
72
  id: 'chap_3'
73
73
  }, {
@@ -78,10 +78,10 @@ export default {
78
78
  title: 'Something about empowerment',
79
79
  author: 'Author XXX',
80
80
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
81
- contentBadge: {
81
+ badgeList: [{
82
82
  label: 'course',
83
83
  category: 'course'
84
- },
84
+ }],
85
85
  position: 6,
86
86
  id: 'disc_3'
87
87
  }, {
@@ -92,10 +92,10 @@ export default {
92
92
  title: 'Be a better human being',
93
93
  author: 'Author XXX',
94
94
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
95
- contentBadge: {
95
+ badgeList: [{
96
96
  label: "5' learning",
97
97
  category: 'chapter'
98
- },
98
+ }],
99
99
  position: 7,
100
100
  id: 'chap_4'
101
101
  }, {
@@ -106,10 +106,10 @@ export default {
106
106
  title: 'Stronger faster better',
107
107
  author: 'Author XXX',
108
108
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
109
- contentBadge: {
109
+ badgeList: [{
110
110
  label: 'course',
111
111
  category: 'course'
112
- },
112
+ }],
113
113
  position: 8,
114
114
  id: 'disc_4'
115
115
  }, {
@@ -120,10 +120,10 @@ export default {
120
120
  title: 'Relativity beyond time',
121
121
  author: 'Author XXX',
122
122
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
123
- contentBadge: {
123
+ badgeList: [{
124
124
  label: 'course',
125
125
  category: 'course'
126
- },
126
+ }],
127
127
  position: 9,
128
128
  id: 'disc_5'
129
129
  }, {
@@ -134,10 +134,10 @@ export default {
134
134
  title: 'Are you awake?',
135
135
  author: 'Author XXX',
136
136
  image: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',
137
- contentBadge: {
137
+ badgeList: [{
138
138
  label: "5' learning",
139
139
  category: 'chapter'
140
- },
140
+ }],
141
141
  position: 10,
142
142
  id: 'chap_5'
143
143
  }],
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/course-sections/test/fixtures/default.js"],"names":["props","sections","title","author","image","contentBadge","label","category","position","id","isLoading","onDrop","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,CACR;AACE,oBAAc;AACZC,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EACH,qIANJ;AAOEC,MAAAA,MAAM,EAAE,QAPV;AAQEC,MAAAA,KAAK,EACH,4LATJ;AAUEC,MAAAA,YAAY,EAAE;AACZC,QAAAA,KAAK,EAAE,QADK;AAEZC,QAAAA,QAAQ,EAAE;AAFE,OAVhB;AAcEC,MAAAA,QAAQ,EAAE,CAdZ;AAeEC,MAAAA,EAAE,EAAE;AAfN,KADQ,EAkBR;AACE,oBAAc;AACZP,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EAAE,iBALT;AAMEC,MAAAA,MAAM,EAAE,QANV;AAOEC,MAAAA,KAAK,EACH,4LARJ;AASEC,MAAAA,YAAY,EAAE;AACZC,QAAAA,KAAK,EAAE,aADK;AAEZC,QAAAA,QAAQ,EAAE;AAFE,OAThB;AAaEC,MAAAA,QAAQ,EAAE,CAbZ;AAcEC,MAAAA,EAAE,EAAE;AAdN,KAlBQ,EAkCR;AACE,oBAAc;AACZP,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EAAE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AAAA,KAAK,EAAE,gBALT;AAMEC,MAAAA,MAAM,EAAE,YANV;AAOEC,MAAAA,KAAK,EACH,4LARJ;AASEC,MAAAA,YAAY,EAAE;AACZC,QAAAA,KAAK,EAAE,aADK;AAEZC,QAAAA,QAAQ,EAAE;AAFE,OAThB;AAaEC,MAAAA,QAAQ,EAAE,EAbZ;AAcEC,MAAAA,EAAE,EAAE;AAdN,KAlJQ,CADL;AAoKLC,IAAAA,SAAS,EAAE,KApKN;AAqKLC,IAAAA,MAAM,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,SAAZ,CArKT;AAsKLX,IAAAA,KAAK,EAAE;AAtKF;AADM,CAAf","sourcesContent":["export default {\n props: {\n sections: [\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title:\n 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 1,\n id: 'disc_1'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: \"5' learning\",\n category: 'chapter'\n },\n position: 2,\n id: 'chap_1'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Other title',\n author: 'Author 2',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 3,\n id: 'disc_2'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social others',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: \"5' learning\",\n category: 'chapter'\n },\n position: 4,\n id: 'chap_2'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social others others',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: \"5' learning\",\n category: 'chapter'\n },\n position: 5,\n id: 'chap_3'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Something about empowerment',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 6,\n id: 'disc_3'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Be a better human being',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: \"5' learning\",\n category: 'chapter'\n },\n position: 7,\n id: 'chap_4'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Stronger faster better',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 8,\n id: 'disc_4'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Relativity beyond time',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: 'course',\n category: 'course'\n },\n position: 9,\n id: 'disc_5'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Are you awake?',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n contentBadge: {\n label: \"5' learning\",\n category: 'chapter'\n },\n position: 10,\n id: 'chap_5'\n }\n ],\n isLoading: false,\n onDrop: () => console.log('on drop'),\n title: 'Organize courses'\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/course-sections/test/fixtures/default.js"],"names":["props","sections","title","author","image","badgeList","label","category","position","id","isLoading","onDrop","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,CACR;AACE,oBAAc;AACZC,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EACH,qIANJ;AAOEC,MAAAA,MAAM,EAAE,QAPV;AAQEC,MAAAA,KAAK,EACH,4LATJ;AAUEC,MAAAA,SAAS,EAAE,CACT;AACEC,QAAAA,KAAK,EAAE,QADT;AAEEC,QAAAA,QAAQ,EAAE;AAFZ,OADS,CAVb;AAgBEC,MAAAA,QAAQ,EAAE,CAhBZ;AAiBEC,MAAAA,EAAE,EAAE;AAjBN,KADQ,EAoBR;AACE,oBAAc;AACZP,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAA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AAE,EAAE;AAhBN,KAhIQ,EAkJR;AACE,oBAAc;AACZP,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EAAE,wBALT;AAMEC,MAAAA,MAAM,EAAE,YANV;AAOEC,MAAAA,KAAK,EACH,4LARJ;AASEC,MAAAA,SAAS,EAAE,CACT;AACEC,QAAAA,KAAK,EAAE,QADT;AAEEC,QAAAA,QAAQ,EAAE;AAFZ,OADS,CATb;AAeEC,MAAAA,QAAQ,EAAE,CAfZ;AAgBEC,MAAAA,EAAE,EAAE;AAhBN,KAlJQ,EAoKR;AACE,oBAAc;AACZP,QAAAA,KAAK,EAAE,kBADK;AAEZC,QAAAA,MAAM,EAAE;AAFI,OADhB;AAKED,MAAAA,KAAK,EAAE,gBALT;AAMEC,MAAAA,MAAM,EAAE,YANV;AAOEC,MAAAA,KAAK,EACH,4LARJ;AASEC,MAAAA,SAAS,EAAE,CACT;AACEC,QAAAA,KAAK,EAAE,aADT;AAEEC,QAAAA,QAAQ,EAAE;AAFZ,OADS,CATb;AAeEC,MAAAA,QAAQ,EAAE,EAfZ;AAgBEC,MAAAA,EAAE,EAAE;AAhBN,KApKQ,CADL;AAwLLC,IAAAA,SAAS,EAAE,KAxLN;AAyLLC,IAAAA,MAAM,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,SAAZ,CAzLT;AA0LLX,IAAAA,KAAK,EAAE;AA1LF;AADM,CAAf","sourcesContent":["export default {\n props: {\n sections: [\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title:\n 'Marketing and online advertising Marketing and online advertising Marketing and online advertising Marketing and online advertising',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 1,\n id: 'disc_1'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social networks',\n author: 'Author',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: \"5' learning\",\n category: 'chapter'\n }\n ],\n position: 2,\n id: 'chap_1'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Other title',\n author: 'Author 2',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 3,\n id: 'disc_2'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social others',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: \"5' learning\",\n category: 'chapter'\n }\n ],\n position: 4,\n id: 'chap_2'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Social others others',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: \"5' learning\",\n category: 'chapter'\n }\n ],\n position: 5,\n id: 'chap_3'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Something about empowerment',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 6,\n id: 'disc_3'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Be a better human being',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: \"5' learning\",\n category: 'chapter'\n }\n ],\n position: 7,\n id: 'chap_4'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Stronger faster better',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 8,\n id: 'disc_4'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Relativity beyond time',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: 'course',\n category: 'course'\n }\n ],\n position: 9,\n id: 'disc_5'\n },\n {\n 'aria-label': {\n title: 'aria label title',\n author: 'aria label author'\n },\n title: 'Are you awake?',\n author: 'Author XXX',\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n badgeList: [\n {\n label: \"5' learning\",\n category: 'chapter'\n }\n ],\n position: 10,\n id: 'chap_5'\n }\n ],\n isLoading: false,\n onDrop: () => console.log('on drop'),\n title: 'Organize courses'\n }\n};\n"],"file":"default.js"}
@@ -2,14 +2,17 @@
2
2
  margin-bottom: 18px;
3
3
  }
4
4
  .group {
5
+ list-style-type: none;
6
+ padding: 0;
7
+ margin-left: 31px;
5
8
  display: flex;
6
9
  overflow-y: inherit;
7
10
  align-content: flex-start;
8
11
  flex-wrap: wrap;
9
- margin-left: 31px;
10
- list-style-type: none;
11
12
  }
12
13
 
13
14
  .dragAndDrop {
14
15
  margin-right: 16px;
16
+ width: 202px;
17
+ height: 183px;
15
18
  }
@@ -1,9 +1,15 @@
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 firstdDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/default';
2
4
  import checkBoxTitle from '../../../../atom/checkbox-with-title/test/fixtures/checked';
3
5
  export default {
4
6
  props: {
5
- checkBoxTitle: checkBoxTitle.props,
6
- list: [firstdDragAndDrop.props]
7
+ checkBoxTitle: _extends(_extends({}, checkBoxTitle.props), {}, {
8
+ title: 'Create badge'
9
+ }),
10
+ list: [_extends(_extends({}, firstdDragAndDrop.props), {}, {
11
+ title: 'Add a badge'
12
+ })]
7
13
  }
8
14
  };
9
15
  //# sourceMappingURL=default.js.map