@coorpacademy/components 10.14.6 → 10.16.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 (79) hide show
  1. package/es/atom/drag-and-drop/test/fixtures.js +0 -2
  2. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
  3. package/es/atom/review-background/index.js +35 -0
  4. package/es/atom/review-background/index.js.map +1 -0
  5. package/es/atom/review-background/style.css +234 -0
  6. package/es/atom/review-background/test/fixtures/default.js +6 -0
  7. package/es/atom/review-background/test/fixtures/default.js.map +1 -0
  8. package/es/atom/review-background/test/fixtures.js +13 -0
  9. package/es/atom/review-background/test/fixtures.js.map +1 -0
  10. package/es/atom/review-presentation/index.js +3 -1
  11. package/es/atom/review-presentation/index.js.map +1 -1
  12. package/es/atom/review-presentation/style.css +7 -4
  13. package/es/molecule/course-section/style.css +1 -1
  14. package/es/molecule/draggable/style.css +2 -1
  15. package/es/molecule/skill-card/style.css +7 -8
  16. package/es/organism/review-skills/style.css +21 -8
  17. package/es/organism/review-skills/test/fixtures/many-skills.js +39 -0
  18. package/es/organism/review-skills/test/fixtures/many-skills.js.map +1 -1
  19. package/es/organism/review-skills/test/fixtures.js +17 -0
  20. package/es/organism/review-skills/test/fixtures.js.map +1 -0
  21. package/es/template/external-course/test/fixtures.js +4 -0
  22. package/es/template/external-course/test/fixtures.js.map +1 -1
  23. package/es/template/review-dashboard-skills/index.js +29 -0
  24. package/es/template/review-dashboard-skills/index.js.map +1 -0
  25. package/es/template/review-dashboard-skills/style.css +60 -0
  26. package/es/template/review-dashboard-skills/test/fixtures/loading.js +10 -0
  27. package/es/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
  28. package/es/template/review-dashboard-skills/test/fixtures/many-skills.js +10 -0
  29. package/es/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
  30. package/es/template/review-dashboard-skills/test/fixtures/no-skills.js +10 -0
  31. package/es/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
  32. package/es/template/review-dashboard-skills/test/fixtures.js +17 -0
  33. package/es/template/review-dashboard-skills/test/fixtures.js.map +1 -0
  34. package/lib/atom/drag-and-drop/test/fixtures.js +0 -3
  35. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
  36. package/lib/atom/review-background/index.js +45 -0
  37. package/lib/atom/review-background/index.js.map +1 -0
  38. package/lib/atom/review-background/style.css +234 -0
  39. package/lib/atom/review-background/test/fixtures/default.js +11 -0
  40. package/lib/atom/review-background/test/fixtures/default.js.map +1 -0
  41. package/lib/atom/review-background/test/fixtures.js +22 -0
  42. package/lib/atom/review-background/test/fixtures.js.map +1 -0
  43. package/lib/atom/review-presentation/index.js +3 -1
  44. package/lib/atom/review-presentation/index.js.map +1 -1
  45. package/lib/atom/review-presentation/style.css +7 -4
  46. package/lib/molecule/course-section/style.css +1 -1
  47. package/lib/molecule/draggable/style.css +2 -1
  48. package/lib/molecule/skill-card/style.css +7 -8
  49. package/lib/organism/review-skills/style.css +21 -8
  50. package/lib/organism/review-skills/test/fixtures/many-skills.js +39 -0
  51. package/lib/organism/review-skills/test/fixtures/many-skills.js.map +1 -1
  52. package/lib/organism/review-skills/test/fixtures.js +28 -0
  53. package/lib/organism/review-skills/test/fixtures.js.map +1 -0
  54. package/lib/template/external-course/test/fixtures.js +6 -0
  55. package/lib/template/external-course/test/fixtures.js.map +1 -1
  56. package/lib/template/review-dashboard-skills/index.js +41 -0
  57. package/lib/template/review-dashboard-skills/index.js.map +1 -0
  58. package/lib/template/review-dashboard-skills/style.css +60 -0
  59. package/lib/template/review-dashboard-skills/test/fixtures/loading.js +20 -0
  60. package/lib/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
  61. package/lib/template/review-dashboard-skills/test/fixtures/many-skills.js +20 -0
  62. package/lib/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
  63. package/lib/template/review-dashboard-skills/test/fixtures/no-skills.js +20 -0
  64. package/lib/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
  65. package/lib/template/review-dashboard-skills/test/fixtures.js +28 -0
  66. package/lib/template/review-dashboard-skills/test/fixtures.js.map +1 -0
  67. package/package.json +2 -2
  68. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
  69. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  70. package/es/molecule/search/test/fixtures.js +0 -15
  71. package/es/molecule/search/test/fixtures.js.map +0 -1
  72. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  73. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  74. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -25
  75. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
  76. package/lib/molecule/search/test/fixtures.js +0 -25
  77. package/lib/molecule/search/test/fixtures.js.map +0 -1
  78. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  79. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
@@ -14,13 +14,14 @@
14
14
  font-family: "Gilroy";
15
15
  font-style: normal;
16
16
  color: cm_blue_900;
17
+ user-select: none;
17
18
  }
18
19
 
19
20
  .reviewWrapper {
20
21
  width: 100%;
21
- height: 598px;
22
22
  border-radius: 16px;
23
23
  background-color: xtraLightGrey;
24
+ padding-bottom: 40px;
24
25
  }
25
26
 
26
27
  .reviewTitle {
@@ -29,7 +30,6 @@
29
30
  font-size: 28px;
30
31
  line-height: 36px;
31
32
  padding: 40px 40px 16px;
32
- height: 72px;
33
33
  }
34
34
 
35
35
  .reviewText {
@@ -39,7 +39,6 @@
39
39
  line-height: 22px;
40
40
  margin-bottom: 32px;
41
41
  padding: 0 40px;
42
- height: 198px;
43
42
  opacity: 0.7;
44
43
  overflow: hidden;
45
44
  }
@@ -48,12 +47,16 @@
48
47
  list-style: none;
49
48
  }
50
49
 
50
+ .reviewListWrapper {
51
+ margin-bottom: 0;
52
+ }
53
+
51
54
  .reviewListItemWrapper {
52
55
  display: flex;
53
56
  justify-content: space-between;
54
57
  align-items: center;
55
58
  padding: 8px 16px;
56
- margin: 16px 40px 16px 0px;
59
+ margin: 16px 40px 0 0;
57
60
  background: cm_grey_75;
58
61
  border-radius: 8px;
59
62
  }
@@ -19,7 +19,7 @@
19
19
  display: flex;
20
20
  justify-content: flex-start;
21
21
  align-items: center;
22
- width: 83%;
22
+ width: calc(100% - 175px);
23
23
  }
24
24
 
25
25
  .containerInfos {
@@ -24,7 +24,8 @@
24
24
  content: '.';
25
25
  position: absolute;
26
26
  left: 23px;
27
- top: 5px;
27
+ top: 50%;
28
+ transform: translateY(-100%);
28
29
  width: 12px;
29
30
  font-size: 25px;
30
31
  color: medium;
@@ -13,15 +13,15 @@
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  max-width: 353px;
16
- min-width: 245px;
17
- height: 242px;
18
- box-shadow: 0px 4px 16px box_shadow_light_dark;
16
+ width: 100%;
17
+ min-height: 242px;
18
+ box-shadow: 0 4px 16px box_shadow_light_dark;
19
19
  transition: box-shadow 0.15s ease-in-out;
20
20
  border-radius: 8px 8px 12px 12px;
21
21
  }
22
22
 
23
23
  .skillCardWrapper:hover {
24
- box-shadow: 0px 4px 48px box_shadow_medium_dark;
24
+ box-shadow: 0 4px 48px box_shadow_medium_dark;
25
25
  }
26
26
 
27
27
  .skillTitle {
@@ -32,9 +32,9 @@
32
32
  display: flex;
33
33
  align-items: center;
34
34
  height: 112px;
35
- border-radius: 8px 8px 0px 0px;
35
+ border-radius: 8px 8px 0 0;
36
36
  color: white;
37
- padding: 0px 24px;
37
+ padding: 0 24px;
38
38
  user-select: none;
39
39
  }
40
40
 
@@ -52,9 +52,8 @@
52
52
  color: cm_grey_400;
53
53
  padding: 16px 24px 24px;
54
54
  user-select: none;
55
-
56
55
  }
57
56
 
58
57
  .buttonWrapper {
59
- padding: 0px 24px;
58
+ padding: 0 24px 24px;
60
59
  }
@@ -37,8 +37,11 @@
37
37
  }
38
38
 
39
39
  .skillCardContainer {
40
- margin: 0px 16px 16px 0px;
41
- width: 298px;
40
+ margin: 0 16px 16px 0;
41
+ max-width: 298px;
42
+ min-width: 205px;
43
+ width: 100%;
44
+ flex: 1 0 33%;
42
45
  }
43
46
 
44
47
  .noSkillsContainer {
@@ -70,9 +73,9 @@
70
73
  }
71
74
 
72
75
  .imgNoSkills {
73
- width: 361px;
74
76
  height: 361px;
75
77
  margin-top: 48px;
78
+ width: 361px;
76
79
  }
77
80
 
78
81
  .loaderContainer {
@@ -89,15 +92,25 @@
89
92
  }
90
93
 
91
94
  @media tablet {
92
- .skillCardContainer {
93
- width: 257px;
95
+ .titleNoSkills, .textNoSkills {
96
+ width: 90%;
97
+ }
98
+
99
+ .imgNoSkills {
100
+ max-width: 361px;
101
+ max-height: 361px;
102
+ width: 100%;
103
+ height: 100%;
94
104
  }
95
105
  }
96
106
 
97
- @media mobile {
107
+ @media mobile {
98
108
  .skillCardContainer {
99
- width: 100%;
100
- margin-right: 0px;
109
+ display: flex;
110
+ flex: 1 0 100%;
111
+ justify-content: center;
112
+ margin-right: 0;
113
+ max-width: 100%;
101
114
  }
102
115
 
103
116
  .titleNoSkills,
@@ -24,6 +24,45 @@ const listSkills = [_extends(_extends({}, _default2.default.props), {}, {
24
24
  }), _extends(_extends({}, _default2.default.props), {}, {
25
25
  skillTitle: 'Critical thinking and analysis',
26
26
  isCustom: true
27
+ }), _extends(_extends({}, _default2.default.props), {}, {
28
+ skillTitle: 'Negotiation and powers of persuasion',
29
+ isCustom: true
30
+ }), _extends(_extends({}, _default2.default.props), {}, {
31
+ skillTitle: 'Digital communication',
32
+ isCustom: false
33
+ }), _extends(_extends({}, _default2.default.props), {}, {
34
+ skillTitle: 'Creativity and innovation',
35
+ isCustom: false
36
+ }), _extends(_extends({}, _default2.default.props), {}, {
37
+ skillTitle: 'Agility',
38
+ isCustom: false
39
+ }), _extends(_extends({}, _default2.default.props), {}, {
40
+ skillTitle: 'Sustainable thinking',
41
+ isCustom: false
42
+ }), _extends(_extends({}, _default2.default.props), {}, {
43
+ skillTitle: 'Critical thinking and analysis',
44
+ isCustom: true
45
+ }), _extends(_extends({}, _default2.default.props), {}, {
46
+ skillTitle: 'Negotiation and powers of persuasion',
47
+ isCustom: true
48
+ }), _extends(_extends({}, _default2.default.props), {}, {
49
+ skillTitle: 'Digital communication',
50
+ isCustom: false
51
+ }), _extends(_extends({}, _default2.default.props), {}, {
52
+ skillTitle: 'Creativity and innovation',
53
+ isCustom: false
54
+ }), _extends(_extends({}, _default2.default.props), {}, {
55
+ skillTitle: 'Agility',
56
+ isCustom: false
57
+ }), _extends(_extends({}, _default2.default.props), {}, {
58
+ skillTitle: 'Sustainable thinking',
59
+ isCustom: false
60
+ }), _extends(_extends({}, _default2.default.props), {}, {
61
+ skillTitle: 'Critical thinking and analysis',
62
+ isCustom: true
63
+ }), _extends(_extends({}, _default2.default.props), {}, {
64
+ skillTitle: 'Negotiation and powers of persuasion',
65
+ isCustom: true
27
66
  })];
28
67
  var _default = {
29
68
  props: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/review-skills/test/fixtures/many-skills.js"],"names":["listSkills","cardDefault","props","skillTitle","isCustom","title","titleNoSkills","undefined","textNoSkills","iconSkillAriaLabel"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAMA,UAAU,GAAG,uBACbC,kBAAYC,KADC;AACMC,EAAAA,UAAU,EAAE,uBADlB;AAC2CC,EAAAA,QAAQ,EAAE;AADrD,0BAEbH,kBAAYC,KAFC;AAEMC,EAAAA,UAAU,EAAE,2BAFlB;AAE+CC,EAAAA,QAAQ,EAAE;AAFzD,0BAGbH,kBAAYC,KAHC;AAGMC,EAAAA,UAAU,EAAE,SAHlB;AAG6BC,EAAAA,QAAQ,EAAE;AAHvC,0BAIbH,kBAAYC,KAJC;AAIMC,EAAAA,UAAU,EAAE,sBAJlB;AAI0CC,EAAAA,QAAQ,EAAE;AAJpD,0BAKbH,kBAAYC,KALC;AAKMC,EAAAA,UAAU,EAAE,gCALlB;AAKoDC,EAAAA,QAAQ,EAAE;AAL9D,GAAnB;eAQe;AACbF,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELG,IAAAA,KAAK,EAAE,uBAFF;AAGLL,IAAAA,UAHK;AAILM,IAAAA,aAAa,EAAEC,SAJV;AAKLC,IAAAA,YAAY,EAAED,SALT;AAMLE,IAAAA,kBAAkB,EAAEF;AANf;AADM,C","sourcesContent":["import cardDefault from '../../../../molecule/skill-card/test/fixtures/default';\n\nconst listSkills = [\n {...cardDefault.props, skillTitle: 'Digital communication', isCustom: false},\n {...cardDefault.props, skillTitle: 'Creativity and innovation', isCustom: false},\n {...cardDefault.props, skillTitle: 'Agility', isCustom: false},\n {...cardDefault.props, skillTitle: 'Sustainable thinking', isCustom: false},\n {...cardDefault.props, skillTitle: 'Critical thinking and analysis', isCustom: true}\n];\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Container',\n title: 'Skills you can revise',\n listSkills,\n titleNoSkills: undefined,\n textNoSkills: undefined,\n iconSkillAriaLabel: undefined\n }\n};\n"],"file":"many-skills.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/review-skills/test/fixtures/many-skills.js"],"names":["listSkills","cardDefault","props","skillTitle","isCustom","title","titleNoSkills","undefined","textNoSkills","iconSkillAriaLabel"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAMA,UAAU,GAAG,uBACbC,kBAAYC,KADC;AACMC,EAAAA,UAAU,EAAE,uBADlB;AAC2CC,EAAAA,QAAQ,EAAE;AADrD,0BAEbH,kBAAYC,KAFC;AAEMC,EAAAA,UAAU,EAAE,2BAFlB;AAE+CC,EAAAA,QAAQ,EAAE;AAFzD,0BAGbH,kBAAYC,KAHC;AAGMC,EAAAA,UAAU,EAAE,SAHlB;AAG6BC,EAAAA,QAAQ,EAAE;AAHvC,0BAIbH,kBAAYC,KAJC;AAIMC,EAAAA,UAAU,EAAE,sBAJlB;AAI0CC,EAAAA,QAAQ,EAAE;AAJpD,0BAKbH,kBAAYC,KALC;AAKMC,EAAAA,UAAU,EAAE,gCALlB;AAKoDC,EAAAA,QAAQ,EAAE;AAL9D,0BAMbH,kBAAYC,KANC;AAMMC,EAAAA,UAAU,EAAE,sCANlB;AAM0DC,EAAAA,QAAQ,EAAE;AANpE,0BAObH,kBAAYC,KAPC;AAOMC,EAAAA,UAAU,EAAE,uBAPlB;AAO2CC,EAAAA,QAAQ,EAAE;AAPrD,0BAQbH,kBAAYC,KARC;AAQMC,EAAAA,UAAU,EAAE,2BARlB;AAQ+CC,EAAAA,QAAQ,EAAE;AARzD,0BASbH,kBAAYC,KATC;AASMC,EAAAA,UAAU,EAAE,SATlB;AAS6BC,EAAAA,QAAQ,EAAE;AATvC,0BAUbH,kBAAYC,KAVC;AAUMC,EAAAA,UAAU,EAAE,sBAVlB;AAU0CC,EAAAA,QAAQ,EAAE;AAVpD,0BAWbH,kBAAYC,KAXC;AAWMC,EAAAA,UAAU,EAAE,gCAXlB;AAWoDC,EAAAA,QAAQ,EAAE;AAX9D,0BAYbH,kBAAYC,KAZC;AAYMC,EAAAA,UAAU,EAAE,sCAZlB;AAY0DC,EAAAA,QAAQ,EAAE;AAZpE,0BAabH,kBAAYC,KAbC;AAaMC,EAAAA,UAAU,EAAE,uBAblB;AAa2CC,EAAAA,QAAQ,EAAE;AAbrD,0BAcbH,kBAAYC,KAdC;AAcMC,EAAAA,UAAU,EAAE,2BAdlB;AAc+CC,EAAAA,QAAQ,EAAE;AAdzD,0BAebH,kBAAYC,KAfC;AAeMC,EAAAA,UAAU,EAAE,SAflB;AAe6BC,EAAAA,QAAQ,EAAE;AAfvC,0BAgBbH,kBAAYC,KAhBC;AAgBMC,EAAAA,UAAU,EAAE,sBAhBlB;AAgB0CC,EAAAA,QAAQ,EAAE;AAhBpD,0BAiBbH,kBAAYC,KAjBC;AAiBMC,EAAAA,UAAU,EAAE,gCAjBlB;AAiBoDC,EAAAA,QAAQ,EAAE;AAjB9D,0BAkBbH,kBAAYC,KAlBC;AAkBMC,EAAAA,UAAU,EAAE,sCAlBlB;AAkB0DC,EAAAA,QAAQ,EAAE;AAlBpE,GAAnB;eAqBe;AACbF,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELG,IAAAA,KAAK,EAAE,uBAFF;AAGLL,IAAAA,UAHK;AAILM,IAAAA,aAAa,EAAEC,SAJV;AAKLC,IAAAA,YAAY,EAAED,SALT;AAMLE,IAAAA,kBAAkB,EAAEF;AANf;AADM,C","sourcesContent":["import cardDefault from '../../../../molecule/skill-card/test/fixtures/default';\n\nconst listSkills = [\n {...cardDefault.props, skillTitle: 'Digital communication', isCustom: false},\n {...cardDefault.props, skillTitle: 'Creativity and innovation', isCustom: false},\n {...cardDefault.props, skillTitle: 'Agility', isCustom: false},\n {...cardDefault.props, skillTitle: 'Sustainable thinking', isCustom: false},\n {...cardDefault.props, skillTitle: 'Critical thinking and analysis', isCustom: true},\n {...cardDefault.props, skillTitle: 'Negotiation and powers of persuasion', isCustom: true},\n {...cardDefault.props, skillTitle: 'Digital communication', isCustom: false},\n {...cardDefault.props, skillTitle: 'Creativity and innovation', isCustom: false},\n {...cardDefault.props, skillTitle: 'Agility', isCustom: false},\n {...cardDefault.props, skillTitle: 'Sustainable thinking', isCustom: false},\n {...cardDefault.props, skillTitle: 'Critical thinking and analysis', isCustom: true},\n {...cardDefault.props, skillTitle: 'Negotiation and powers of persuasion', isCustom: true},\n {...cardDefault.props, skillTitle: 'Digital communication', isCustom: false},\n {...cardDefault.props, skillTitle: 'Creativity and innovation', isCustom: false},\n {...cardDefault.props, skillTitle: 'Agility', isCustom: false},\n {...cardDefault.props, skillTitle: 'Sustainable thinking', isCustom: false},\n {...cardDefault.props, skillTitle: 'Critical thinking and analysis', isCustom: true},\n {...cardDefault.props, skillTitle: 'Negotiation and powers of persuasion', isCustom: true}\n];\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Container',\n title: 'Skills you can revise',\n listSkills,\n titleNoSkills: undefined,\n textNoSkills: undefined,\n iconSkillAriaLabel: undefined\n }\n};\n"],"file":"many-skills.js"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _loading = _interopRequireDefault(require("./fixtures/loading"));
12
+
13
+ var _manySkills = _interopRequireDefault(require("./fixtures/many-skills"));
14
+
15
+ var _noSkills = _interopRequireDefault(require("./fixtures/no-skills"));
16
+
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
+
19
+ (0, _ava.default)('Organism › OrganismReviewSkills > should have valid propTypes', t => {
20
+ t.pass();
21
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
22
+ t.not(value, undefined, `PropType for "Organism.OrganismReviewSkills.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
23
+ });
24
+ });
25
+ (0, _ava.default)('Organism › OrganismReviewSkills › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
26
+ (0, _ava.default)('Organism › OrganismReviewSkills › ManySkills › should be rendered', _renderComponent.default, _.default, _manySkills.default);
27
+ (0, _ava.default)('Organism › OrganismReviewSkills › NoSkills › should be rendered', _renderComponent.default, _.default, _noSkills.default);
28
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/review-skills/test/fixtures.js"],"names":["t","pass","OrganismReviewSkills","propTypes","value","key","not","undefined","renderComponentMacro","fixtureLoading","fixtureManySkills","fixtureNoSkills"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,+DAAL,EAAsEA,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAqBC,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,gEAAL,EAAuEG,wBAAvE,EAA6FN,SAA7F,EAAmHO,gBAAnH;AACA,kBAAK,mEAAL,EAA0ED,wBAA1E,EAAgGN,SAAhG,EAAsHQ,mBAAtH;AACA,kBAAK,iEAAL,EAAwEF,wBAAxE,EAA8FN,SAA9F,EAAoHS,iBAApH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismReviewSkills from '..';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureManySkills from './fixtures/many-skills';\nimport fixtureNoSkills from './fixtures/no-skills';\n\ntest('Organism › OrganismReviewSkills > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismReviewSkills.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismReviewSkills.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismReviewSkills › Loading › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureLoading);\ntest('Organism › OrganismReviewSkills › ManySkills › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureManySkills);\ntest('Organism › OrganismReviewSkills › NoSkills › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureNoSkills);\n"],"file":"fixtures.js"}
@@ -18,6 +18,10 @@ var _h5p = _interopRequireDefault(require("./fixtures/h5p"));
18
18
 
19
19
  var _loading = _interopRequireDefault(require("./fixtures/loading"));
20
20
 
21
+ var _pdfMobile = _interopRequireDefault(require("./fixtures/pdf-mobile"));
22
+
23
+ var _pdfNoMobile = _interopRequireDefault(require("./fixtures/pdf-no-mobile"));
24
+
21
25
  var _podcastCockpitMode = _interopRequireDefault(require("./fixtures/podcast-cockpit-mode"));
22
26
 
23
27
  var _podcastNoBackground = _interopRequireDefault(require("./fixtures/podcast-no-background"));
@@ -41,6 +45,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
41
45
  (0, _ava.default)('Template › TemplateExternalCourse › Default › should be rendered', _renderComponent.default, _.default, _default.default);
42
46
  (0, _ava.default)('Template › TemplateExternalCourse › H5P › should be rendered', _renderComponent.default, _.default, _h5p.default);
43
47
  (0, _ava.default)('Template › TemplateExternalCourse › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
48
+ (0, _ava.default)('Template › TemplateExternalCourse › PdfMobile › should be rendered', _renderComponent.default, _.default, _pdfMobile.default);
49
+ (0, _ava.default)('Template › TemplateExternalCourse › PdfNoMobile › should be rendered', _renderComponent.default, _.default, _pdfNoMobile.default);
44
50
  (0, _ava.default)('Template › TemplateExternalCourse › PodcastCockpitMode › should be rendered', _renderComponent.default, _.default, _podcastCockpitMode.default);
45
51
  (0, _ava.default)('Template › TemplateExternalCourse › PodcastNoBackground › should be rendered', _renderComponent.default, _.default, _podcastNoBackground.default);
46
52
  (0, _ava.default)('Template › TemplateExternalCourse › Podcast › should be rendered', _renderComponent.default, _.default, _podcast.default);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/external-course/test/fixtures.js"],"names":["t","pass","TemplateExternalCourse","propTypes","value","key","not","undefined","renderComponentMacro","fixtureArabic","fixtureArticle","fixtureDefault","fixtureH5P","fixtureLoading","fixturePodcastCockpitMode","fixturePodcastNoBackground","fixturePodcast","fixtureVideo","fixtureYoutubePodcast"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iEAAL,EAAwEG,wBAAxE,EAA8FN,SAA9F,EAAsHO,eAAtH;AACA,kBAAK,kEAAL,EAAyED,wBAAzE,EAA+FN,SAA/F,EAAuHQ,gBAAvH;AACA,kBAAK,kEAAL,EAAyEF,wBAAzE,EAA+FN,SAA/F,EAAuHS,gBAAvH;AACA,kBAAK,8DAAL,EAAqEH,wBAArE,EAA2FN,SAA3F,EAAmHU,YAAnH;AACA,kBAAK,kEAAL,EAAyEJ,wBAAzE,EAA+FN,SAA/F,EAAuHW,gBAAvH;AACA,kBAAK,6EAAL,EAAoFL,wBAApF,EAA0GN,SAA1G,EAAkIY,2BAAlI;AACA,kBAAK,8EAAL,EAAqFN,wBAArF,EAA2GN,SAA3G,EAAmIa,4BAAnI;AACA,kBAAK,kEAAL,EAAyEP,wBAAzE,EAA+FN,SAA/F,EAAuHc,gBAAvH;AACA,kBAAK,gEAAL,EAAuER,wBAAvE,EAA6FN,SAA7F,EAAqHe,cAArH;AACA,kBAAK,yEAAL,EAAgFT,wBAAhF,EAAsGN,SAAtG,EAA8HgB,uBAA9H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateExternalCourse from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureDefault from './fixtures/default';\nimport fixtureH5P from './fixtures/h5p';\nimport fixtureLoading from './fixtures/loading';\nimport fixturePodcastCockpitMode from './fixtures/podcast-cockpit-mode';\nimport fixturePodcastNoBackground from './fixtures/podcast-no-background';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureVideo from './fixtures/video';\nimport fixtureYoutubePodcast from './fixtures/youtube-podcast';\n\ntest('Template › TemplateExternalCourse > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateExternalCourse.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateExternalCourse.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateExternalCourse › Arabic › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArabic);\ntest('Template › TemplateExternalCourse › Article › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArticle);\ntest('Template › TemplateExternalCourse › Default › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureDefault);\ntest('Template › TemplateExternalCourse › H5P › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureH5P);\ntest('Template › TemplateExternalCourse › Loading › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureLoading);\ntest('Template › TemplateExternalCourse › PodcastCockpitMode › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastCockpitMode);\ntest('Template › TemplateExternalCourse › PodcastNoBackground › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastNoBackground);\ntest('Template › TemplateExternalCourse › Podcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcast);\ntest('Template › TemplateExternalCourse › Video › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureVideo);\ntest('Template › TemplateExternalCourse › YoutubePodcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureYoutubePodcast);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/template/external-course/test/fixtures.js"],"names":["t","pass","TemplateExternalCourse","propTypes","value","key","not","undefined","renderComponentMacro","fixtureArabic","fixtureArticle","fixtureDefault","fixtureH5P","fixtureLoading","fixturePdfMobile","fixturePdfNoMobile","fixturePodcastCockpitMode","fixturePodcastNoBackground","fixturePodcast","fixtureVideo","fixtureYoutubePodcast"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iEAAL,EAAwEG,wBAAxE,EAA8FN,SAA9F,EAAsHO,eAAtH;AACA,kBAAK,kEAAL,EAAyED,wBAAzE,EAA+FN,SAA/F,EAAuHQ,gBAAvH;AACA,kBAAK,kEAAL,EAAyEF,wBAAzE,EAA+FN,SAA/F,EAAuHS,gBAAvH;AACA,kBAAK,8DAAL,EAAqEH,wBAArE,EAA2FN,SAA3F,EAAmHU,YAAnH;AACA,kBAAK,kEAAL,EAAyEJ,wBAAzE,EAA+FN,SAA/F,EAAuHW,gBAAvH;AACA,kBAAK,oEAAL,EAA2EL,wBAA3E,EAAiGN,SAAjG,EAAyHY,kBAAzH;AACA,kBAAK,sEAAL,EAA6EN,wBAA7E,EAAmGN,SAAnG,EAA2Ha,oBAA3H;AACA,kBAAK,6EAAL,EAAoFP,wBAApF,EAA0GN,SAA1G,EAAkIc,2BAAlI;AACA,kBAAK,8EAAL,EAAqFR,wBAArF,EAA2GN,SAA3G,EAAmIe,4BAAnI;AACA,kBAAK,kEAAL,EAAyET,wBAAzE,EAA+FN,SAA/F,EAAuHgB,gBAAvH;AACA,kBAAK,gEAAL,EAAuEV,wBAAvE,EAA6FN,SAA7F,EAAqHiB,cAArH;AACA,kBAAK,yEAAL,EAAgFX,wBAAhF,EAAsGN,SAAtG,EAA8HkB,uBAA9H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateExternalCourse from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureDefault from './fixtures/default';\nimport fixtureH5P from './fixtures/h5p';\nimport fixtureLoading from './fixtures/loading';\nimport fixturePdfMobile from './fixtures/pdf-mobile';\nimport fixturePdfNoMobile from './fixtures/pdf-no-mobile';\nimport fixturePodcastCockpitMode from './fixtures/podcast-cockpit-mode';\nimport fixturePodcastNoBackground from './fixtures/podcast-no-background';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureVideo from './fixtures/video';\nimport fixtureYoutubePodcast from './fixtures/youtube-podcast';\n\ntest('Template › TemplateExternalCourse > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateExternalCourse.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateExternalCourse.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateExternalCourse › Arabic › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArabic);\ntest('Template › TemplateExternalCourse › Article › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArticle);\ntest('Template › TemplateExternalCourse › Default › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureDefault);\ntest('Template › TemplateExternalCourse › H5P › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureH5P);\ntest('Template › TemplateExternalCourse › Loading › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureLoading);\ntest('Template › TemplateExternalCourse › PdfMobile › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePdfMobile);\ntest('Template › TemplateExternalCourse › PdfNoMobile › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePdfNoMobile);\ntest('Template › TemplateExternalCourse › PodcastCockpitMode › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastCockpitMode);\ntest('Template › TemplateExternalCourse › PodcastNoBackground › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastNoBackground);\ntest('Template › TemplateExternalCourse › Podcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcast);\ntest('Template › TemplateExternalCourse › Video › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureVideo);\ntest('Template › TemplateExternalCourse › YoutubePodcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureYoutubePodcast);\n"],"file":"fixtures.js"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _reviewPresentation = _interopRequireDefault(require("../../atom/review-presentation"));
11
+
12
+ var _reviewSkills = _interopRequireDefault(require("../../organism/review-skills"));
13
+
14
+ var _style = _interopRequireDefault(require("./style.css"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+
18
+ const ReviewDashboardSkills = props => {
19
+ const {
20
+ 'aria-label': ariaLabel,
21
+ reviewPresentation,
22
+ reviewSkills
23
+ } = props;
24
+ return /*#__PURE__*/_react.default.createElement("div", {
25
+ className: _style.default.reviewDashboardContainer,
26
+ "aria-label": ariaLabel
27
+ }, /*#__PURE__*/_react.default.createElement("div", {
28
+ className: _style.default.reviewPresentationContainer
29
+ }, /*#__PURE__*/_react.default.createElement(_reviewPresentation.default, reviewPresentation)), /*#__PURE__*/_react.default.createElement("div", {
30
+ className: _style.default.reviewSkillsContainer
31
+ }, /*#__PURE__*/_react.default.createElement(_reviewSkills.default, reviewSkills)));
32
+ };
33
+
34
+ ReviewDashboardSkills.propTypes = process.env.NODE_ENV !== "production" ? {
35
+ 'aria-label': _propTypes.default.string,
36
+ reviewPresentation: _propTypes.default.shape(_reviewPresentation.default.propTypes),
37
+ reviewSkills: _propTypes.default.shape(_reviewSkills.default.propTypes)
38
+ } : {};
39
+ var _default = ReviewDashboardSkills;
40
+ exports.default = _default;
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/template/review-dashboard-skills/index.js"],"names":["ReviewDashboardSkills","props","ariaLabel","reviewPresentation","reviewSkills","style","reviewDashboardContainer","reviewPresentationContainer","reviewSkillsContainer","propTypes","PropTypes","string","shape","ReviewPresentation","ReviewSkills"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,qBAAqB,GAAGC,KAAK,IAAI;AACrC,QAAM;AAAC,kBAAcC,SAAf;AAA0BC,IAAAA,kBAA1B;AAA8CC,IAAAA;AAA9C,MAA8DH,KAApE;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEI,eAAMC,wBAAtB;AAAgD,kBAAYJ;AAA5D,kBACE;AAAK,IAAA,SAAS,EAAEG,eAAME;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,kBAAxB,CADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEE,eAAMG;AAAtB,kBACE,6BAAC,qBAAD,EAAkBJ,YAAlB,CADF,CAJF,CADF;AAUD,CAbD;;AAeAJ,qBAAqB,CAACS,SAAtB,2CAAkC;AAChC,gBAAcC,mBAAUC,MADQ;AAEhCR,EAAAA,kBAAkB,EAAEO,mBAAUE,KAAV,CAAgBC,4BAAmBJ,SAAnC,CAFY;AAGhCL,EAAAA,YAAY,EAAEM,mBAAUE,KAAV,CAAgBE,sBAAaL,SAA7B;AAHkB,CAAlC;eAKeT,qB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ReviewPresentation from '../../atom/review-presentation';\nimport ReviewSkills from '../../organism/review-skills';\nimport style from './style.css';\n\nconst ReviewDashboardSkills = props => {\n const {'aria-label': ariaLabel, reviewPresentation, reviewSkills} = props;\n\n return (\n <div className={style.reviewDashboardContainer} aria-label={ariaLabel}>\n <div className={style.reviewPresentationContainer}>\n <ReviewPresentation {...reviewPresentation} />\n </div>\n <div className={style.reviewSkillsContainer}>\n <ReviewSkills {...reviewSkills} />\n </div>\n </div>\n );\n};\n\nReviewDashboardSkills.propTypes = {\n 'aria-label': PropTypes.string,\n reviewPresentation: PropTypes.shape(ReviewPresentation.propTypes),\n reviewSkills: PropTypes.shape(ReviewSkills.propTypes)\n};\nexport default ReviewDashboardSkills;\n"],"file":"index.js"}
@@ -0,0 +1,60 @@
1
+ @value breakpoints: "../../variables/breakpoints.css";
2
+ @value tablet from breakpoints;
3
+ @value mobile from breakpoints;
4
+
5
+ .reviewDashboardContainer {
6
+ display: flex;
7
+ margin: 48px 64px;
8
+ position: relative;
9
+ box-sizing: border-box;
10
+ overflow: auto;
11
+ height: 100%;
12
+ }
13
+
14
+ .reviewPresentationContainer {
15
+ box-sizing: border-box;
16
+ height: 100%;
17
+ margin-right: 40px;
18
+ max-width: 348px;
19
+ min-width: 348px;
20
+ position: sticky;
21
+ top: 0;
22
+ }
23
+
24
+ .reviewSkillsContainer {
25
+ overflow: auto;
26
+ display: block;
27
+ box-sizing: border-box;
28
+ height: 100%;
29
+ position: relative;
30
+ width: 100%;
31
+ }
32
+
33
+
34
+ @media tablet {
35
+ .reviewDashboardContainer {
36
+ margin: 27px 0px 27px 36px;
37
+ }
38
+
39
+ .reviewPresentationContainer {
40
+ max-width: 326px;
41
+ min-width: 326px;
42
+ }
43
+ }
44
+
45
+ @media mobile {
46
+ .reviewDashboardContainer {
47
+ display: block;
48
+ height: auto;
49
+ margin: 16px 20px;
50
+ position: relative;
51
+ }
52
+
53
+ .reviewPresentationContainer {
54
+ margin-bottom: 40px;
55
+ margin-right: 0;
56
+ max-width: 100%;
57
+ min-width: 100%;
58
+ position: relative;
59
+ }
60
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = _interopRequireDefault(require("../../../../atom/review-presentation/test/fixtures/default"));
7
+
8
+ var _loading = _interopRequireDefault(require("../../../../organism/review-skills/test/fixtures/loading"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var _default = {
13
+ props: {
14
+ 'aria-label': 'Review Skills Template',
15
+ reviewPresentation: _default2.default.props,
16
+ reviewSkills: _loading.default.props
17
+ }
18
+ };
19
+ exports.default = _default;
20
+ //# sourceMappingURL=loading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/loading.js"],"names":["props","reviewPresentation","reviewSkills"],"mappings":";;;;;AAAA;;AACA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELC,IAAAA,kBAAkB,EAAEA,kBAAmBD,KAFlC;AAGLE,IAAAA,YAAY,EAAEA,iBAAaF;AAHtB;AADM,C","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/loading';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"loading.js"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = _interopRequireDefault(require("../../../../atom/review-presentation/test/fixtures/default"));
7
+
8
+ var _manySkills = _interopRequireDefault(require("../../../../organism/review-skills/test/fixtures/many-skills"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var _default = {
13
+ props: {
14
+ 'aria-label': 'Review Skills Template',
15
+ reviewPresentation: _default2.default.props,
16
+ reviewSkills: _manySkills.default.props
17
+ }
18
+ };
19
+ exports.default = _default;
20
+ //# sourceMappingURL=many-skills.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/many-skills.js"],"names":["props","reviewPresentation","reviewSkills"],"mappings":";;;;;AAAA;;AACA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELC,IAAAA,kBAAkB,EAAEA,kBAAmBD,KAFlC;AAGLE,IAAAA,YAAY,EAAEA,oBAAaF;AAHtB;AADM,C","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/many-skills';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"many-skills.js"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _default2 = _interopRequireDefault(require("../../../../atom/review-presentation/test/fixtures/default"));
7
+
8
+ var _noSkills = _interopRequireDefault(require("../../../../organism/review-skills/test/fixtures/no-skills"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ var _default = {
13
+ props: {
14
+ 'aria-label': 'Review Skills Template',
15
+ reviewPresentation: _default2.default.props,
16
+ reviewSkills: _noSkills.default.props
17
+ }
18
+ };
19
+ exports.default = _default;
20
+ //# sourceMappingURL=no-skills.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/no-skills.js"],"names":["props","reviewPresentation","reviewSkills"],"mappings":";;;;;AAAA;;AACA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELC,IAAAA,kBAAkB,EAAEA,kBAAmBD,KAFlC;AAGLE,IAAAA,YAAY,EAAEA,kBAAaF;AAHtB;AADM,C","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/no-skills';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"no-skills.js"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _loading = _interopRequireDefault(require("./fixtures/loading"));
12
+
13
+ var _manySkills = _interopRequireDefault(require("./fixtures/many-skills"));
14
+
15
+ var _noSkills = _interopRequireDefault(require("./fixtures/no-skills"));
16
+
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
+
19
+ (0, _ava.default)('Template › TemplateReviewDashboardSkills > should have valid propTypes', t => {
20
+ t.pass();
21
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
22
+ t.not(value, undefined, `PropType for "Template.TemplateReviewDashboardSkills.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
23
+ });
24
+ });
25
+ (0, _ava.default)('Template › TemplateReviewDashboardSkills › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
26
+ (0, _ava.default)('Template › TemplateReviewDashboardSkills › ManySkills › should be rendered', _renderComponent.default, _.default, _manySkills.default);
27
+ (0, _ava.default)('Template › TemplateReviewDashboardSkills › NoSkills › should be rendered', _renderComponent.default, _.default, _noSkills.default);
28
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/template/review-dashboard-skills/test/fixtures.js"],"names":["t","pass","TemplateReviewDashboardSkills","propTypes","value","key","not","undefined","renderComponentMacro","fixtureLoading","fixtureManySkills","fixtureNoSkills"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wEAAL,EAA+EA,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,yEAAL,EAAgFG,wBAAhF,EAAsGN,SAAtG,EAAqIO,gBAArI;AACA,kBAAK,4EAAL,EAAmFD,wBAAnF,EAAyGN,SAAzG,EAAwIQ,mBAAxI;AACA,kBAAK,0EAAL,EAAiFF,wBAAjF,EAAuGN,SAAvG,EAAsIS,iBAAtI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateReviewDashboardSkills from '..';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureManySkills from './fixtures/many-skills';\nimport fixtureNoSkills from './fixtures/no-skills';\n\ntest('Template › TemplateReviewDashboardSkills > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateReviewDashboardSkills.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateReviewDashboardSkills.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateReviewDashboardSkills › Loading › should be rendered', renderComponentMacro, TemplateReviewDashboardSkills, fixtureLoading);\ntest('Template › TemplateReviewDashboardSkills › ManySkills › should be rendered', renderComponentMacro, TemplateReviewDashboardSkills, fixtureManySkills);\ntest('Template › TemplateReviewDashboardSkills › NoSkills › should be rendered', renderComponentMacro, TemplateReviewDashboardSkills, fixtureNoSkills);\n"],"file":"fixtures.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.14.6",
3
+ "version": "10.16.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -119,5 +119,5 @@
119
119
  "webpack-hot-middleware": "^2.25.0"
120
120
  },
121
121
  "author": "CoorpAcademy",
122
- "gitHead": "c49222f49f4a3aa95d452bfdbe54eebe26e23101"
122
+ "gitHead": "074a7fd0590e0435b314bc41c3e7826269f0db88"
123
123
  }
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import MoleculeInputTextWithTiteledCheckbox from '..';
5
- import fixtureChecked from './fixtures/checked';
6
- import fixtureUnchecked from './fixtures/unchecked';
7
- test('Molecule › MoleculeInputTextWithTiteledCheckbox > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(MoleculeInputTextWithTiteledCheckbox.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Molecule.MoleculeInputTextWithTiteledCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Molecule › MoleculeInputTextWithTiteledCheckbox › Checked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureChecked);
14
- test('Molecule › MoleculeInputTextWithTiteledCheckbox › Unchecked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureUnchecked);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeInputTextWithTiteledCheckbox","fixtureChecked","fixtureUnchecked","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,oCAAP,MAAiD,IAAjD;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAL,IAAI,CAAC,+EAAD,EAAkFM,CAAC,IAAI;AACzFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,oCAAoC,CAACK,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtEJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yEAAwEF,GAAI,mEAArG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,oCAAzG,EAA+IC,cAA/I,CAAJ;AACAJ,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,oCAA3G,EAAiJE,gBAAjJ,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeInputTextWithTiteledCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeInputTextWithTiteledCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeInputTextWithTiteledCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Checked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureChecked);\ntest('Molecule › MoleculeInputTextWithTiteledCheckbox › Unchecked › should be rendered', renderComponentMacro, MoleculeInputTextWithTiteledCheckbox, fixtureUnchecked);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import MoleculeSearch from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureWithValue from './fixtures/with-value';
7
- test('Molecule › MoleculeSearch > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(MoleculeSearch.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);
14
- test('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeSearch","fixtureDefault","fixtureWithValue","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,cAAP,MAA2B,IAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,yDAAD,EAA4DM,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,cAAc,CAACK,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,cAAnF,EAAmGC,cAAnG,CAAJ;AACAJ,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,cAArF,EAAqGE,gBAArG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import OrganismPlaylistTranslation from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureDelete from './fixtures/delete';
7
- test('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);
14
- test('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismPlaylistTranslation","fixtureDefault","fixtureDelete","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,2BAAP,MAAwC,IAAxC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAL,IAAI,CAAC,sEAAD,EAAyEM,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,2BAA2B,CAACK,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,2BAAhG,EAA6HC,cAA7H,CAAJ;AACAJ,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,2BAA/F,EAA4HE,aAA5H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}