@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
@@ -11,7 +11,6 @@ import fixtureWithChildren from './fixtures/with-children';
11
11
  import fixtureWithImageReset from './fixtures/with-image-reset';
12
12
  import fixtureWithImage from './fixtures/with-image';
13
13
  import fixtureWithLongDescription from './fixtures/with-long-description';
14
- import fixtureWithSvg from './fixtures/with-svg';
15
14
  import fixtureWithVideo from './fixtures/with-video';
16
15
  test('Atom › AtomDragAndDrop > should have valid propTypes', t => {
17
16
  t.pass();
@@ -28,6 +27,5 @@ test('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderC
28
27
  test('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);
29
28
  test('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);
30
29
  test('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithLongDescription);
31
- test('Atom › AtomDragAndDrop › WithSvg › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithSvg);
32
30
  test('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);
33
31
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomDragAndDrop","fixtureCleanAndModified","fixtureDefault","fixtureError","fixtureLoading","fixtureModified","fixtureWithChildren","fixtureWithImageReset","fixtureWithImage","fixtureWithLongDescription","fixtureWithSvg","fixtureWithVideo","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,eAAP,MAA4B,IAA5B;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAd,IAAI,CAAC,sDAAD,EAAyDe,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAf,EAAAA,OAAO,CAACE,eAAe,CAACc,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAnB,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,eAAzF,EAA0GC,uBAA1G,CAAJ;AACAJ,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGE,cAAjG,CAAJ;AACAL,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,eAA9E,EAA+FG,YAA/F,CAAJ;AACAN,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGI,cAAjG,CAAJ;AACAP,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGK,eAAlG,CAAJ;AACAR,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,eAArF,EAAsGM,mBAAtG,CAAJ;AACAT,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,eAAvF,EAAwGO,qBAAxG,CAAJ;AACAV,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGQ,gBAAnG,CAAJ;AACAX,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,eAA5F,EAA6GS,0BAA7G,CAAJ;AACAZ,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGU,cAAjG,CAAJ;AACAb,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGW,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomDragAndDrop from '..';\nimport fixtureCleanAndModified from './fixtures/clean-and-modified';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureModified from './fixtures/modified';\nimport fixtureWithChildren from './fixtures/with-children';\nimport fixtureWithImageReset from './fixtures/with-image-reset';\nimport fixtureWithImage from './fixtures/with-image';\nimport fixtureWithLongDescription from './fixtures/with-long-description';\nimport fixtureWithSvg from './fixtures/with-svg';\nimport fixtureWithVideo from './fixtures/with-video';\n\ntest('Atom › AtomDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(AtomDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomDragAndDrop › CleanAndModified › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureCleanAndModified);\ntest('Atom › AtomDragAndDrop › Default › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureDefault);\ntest('Atom › AtomDragAndDrop › Error › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureError);\ntest('Atom › AtomDragAndDrop › Loading › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureLoading);\ntest('Atom › AtomDragAndDrop › Modified › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureModified);\ntest('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithChildren);\ntest('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);\ntest('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);\ntest('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithLongDescription);\ntest('Atom › AtomDragAndDrop › WithSvg › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithSvg);\ntest('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomDragAndDrop","fixtureCleanAndModified","fixtureDefault","fixtureError","fixtureLoading","fixtureModified","fixtureWithChildren","fixtureWithImageReset","fixtureWithImage","fixtureWithLongDescription","fixture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4DAAD,EAA+DE,oBAA/D,EAAqFC,eAArF,EAAsGM,mBAAtG,CAAJ;AACAT,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,eAAvF,EAAwGO,qBAAxG,CAAJ;AACAV,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGQ,gBAAnG,CAAJ;AACAX,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,eAA5F,EAA6GS,0BAA7G,CAAJ;AACAZ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGU,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomDragAndDrop from '..';\nimport fixtureCleanAndModified from './fixtures/clean-and-modified';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureModified from './fixtures/modified';\nimport fixtureWithChildren from './fixtures/with-children';\nimport fixtureWithImageReset from './fixtures/with-image-reset';\nimport fixtureWithImage from './fixtures/with-image';\nimport fixtureWithLongDescription from './fixtures/with-long-description';\nimport fixtureWithVideo from './fixtures/with-video';\n\ntest('Atom › AtomDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(AtomDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomDragAndDrop › CleanAndModified › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureCleanAndModified);\ntest('Atom › AtomDragAndDrop › Default › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureDefault);\ntest('Atom › AtomDragAndDrop › Error › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureError);\ntest('Atom › AtomDragAndDrop › Loading › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureLoading);\ntest('Atom › AtomDragAndDrop › Modified › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureModified);\ntest('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithChildren);\ntest('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);\ntest('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);\ntest('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithLongDescription);\ntest('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);\n"],"file":"fixtures.js"}
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import style from './style.css';
4
+
5
+ const ReviewBackground = props => {
6
+ const {
7
+ 'aria-label': ariaLabel
8
+ } = props;
9
+ return /*#__PURE__*/React.createElement("div", {
10
+ className: style.mainContainer,
11
+ "aria-label": ariaLabel
12
+ }, /*#__PURE__*/React.createElement("div", {
13
+ className: style.container
14
+ }, /*#__PURE__*/React.createElement("span", {
15
+ className: style.interrogationLeft
16
+ }, "?"), /*#__PURE__*/React.createElement("span", {
17
+ className: style.interrogationRight
18
+ }, "?"), /*#__PURE__*/React.createElement("div", {
19
+ className: style.recYellow
20
+ }), /*#__PURE__*/React.createElement("div", {
21
+ className: style.recRed
22
+ }), /*#__PURE__*/React.createElement("div", {
23
+ className: style.recBlue
24
+ }), /*#__PURE__*/React.createElement("div", {
25
+ className: style.recGreen
26
+ }), /*#__PURE__*/React.createElement("div", {
27
+ className: style.recGreenLight
28
+ })));
29
+ };
30
+
31
+ ReviewBackground.propTypes = process.env.NODE_ENV !== "production" ? {
32
+ 'aria-label': PropTypes.string
33
+ } : {};
34
+ export default ReviewBackground;
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/atom/review-background/index.js"],"names":["React","PropTypes","style","ReviewBackground","props","ariaLabel","mainContainer","container","interrogationLeft","interrogationRight","recYellow","recRed","recBlue","recGreen","recGreenLight","propTypes","string"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;AAChC,QAAM;AAAC,kBAAcC;AAAf,MAA4BD,KAAlC;AACA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACI,aAAtB;AAAqC,kBAAYD;AAAjD,kBACE;AAAK,IAAA,SAAS,EAAEH,KAAK,CAACK;AAAtB,kBACE;AAAM,IAAA,SAAS,EAAEL,KAAK,CAACM;AAAvB,SADF,eAEE;AAAM,IAAA,SAAS,EAAEN,KAAK,CAACO;AAAvB,SAFF,eAGE;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACQ;AAAtB,IAHF,eAIE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACS;AAAtB,IAJF,eAKE;AAAK,IAAA,SAAS,EAAET,KAAK,CAACU;AAAtB,IALF,eAME;AAAK,IAAA,SAAS,EAAEV,KAAK,CAACW;AAAtB,IANF,eAOE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACY;AAAtB,IAPF,CADF,CADF;AAaD,CAfD;;AAiBAX,gBAAgB,CAACY,SAAjB,2CAA6B;AAAC,gBAAcd,SAAS,CAACe;AAAzB,CAA7B;AAEA,eAAeb,gBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst ReviewBackground = props => {\n const {'aria-label': ariaLabel} = props;\n return (\n <div className={style.mainContainer} aria-label={ariaLabel}>\n <div className={style.container}>\n <span className={style.interrogationLeft}>?</span>\n <span className={style.interrogationRight}>?</span>\n <div className={style.recYellow} />\n <div className={style.recRed} />\n <div className={style.recBlue} />\n <div className={style.recGreen} />\n <div className={style.recGreenLight} />\n </div>\n </div>\n );\n};\n\nReviewBackground.propTypes = {'aria-label': PropTypes.string};\n\nexport default ReviewBackground;\n"],"file":"index.js"}
@@ -0,0 +1,234 @@
1
+ @value breakpoints: "../../variables/breakpoints.css";
2
+ @value tablet from breakpoints;
3
+ @value mobile from breakpoints;
4
+
5
+ .interrogationBase {
6
+ position: absolute;
7
+ font-family: "Gilroy";
8
+ font-size: 700px;
9
+ font-weight: 700;
10
+ text-align: center;
11
+ color: black;
12
+ opacity: 0.02;
13
+ user-select: none;
14
+ z-index: 1;
15
+ }
16
+
17
+ .mainContainer {
18
+ position: relative;
19
+ width: 100vw;
20
+ height: 100vh;
21
+ background: #ffffff;
22
+ padding: 0;
23
+ margin: 0;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .container {
28
+ position: absolute;
29
+ width: 100%;
30
+ height: 100%;
31
+ left: 0px;
32
+ top: 0px;
33
+ }
34
+
35
+ .interrogationLeft {
36
+ composes: interrogationBase;
37
+ left: -14%;
38
+ top: -15%;
39
+ transform: rotate(49.77deg);
40
+ }
41
+
42
+ .interrogationRight {
43
+ composes: interrogationBase;
44
+ left: 72%;
45
+ top: -10%;
46
+ transform: rotate(135deg);
47
+ }
48
+
49
+ .recYellow {
50
+ position: absolute;
51
+ left: -40.79%;
52
+ right: 60.63%;
53
+ top: 0.34%;
54
+ bottom: 24.77%;
55
+ background: radial-gradient(
56
+ circle closest-side at 57.97% 41.54%,
57
+ #ffc043 0%,
58
+ rgba(255, 255, 255, 0) 100%
59
+ );
60
+ opacity: 0.4;
61
+ filter: blur(80px);
62
+ }
63
+
64
+ .recRed {
65
+ position: absolute;
66
+ left: 3.72%;
67
+ right: 42.62%;
68
+ top: 23.04%;
69
+ bottom: -9.22%;
70
+ background: radial-gradient(
71
+ circle closest-side at 57.97% 41.54%,
72
+ #ff7043 0%,
73
+ rgba(255, 255, 255, 0) 100%
74
+ );
75
+ opacity: 0.2;
76
+ filter: blur(60px);
77
+ }
78
+
79
+ .recBlue {
80
+ position: absolute;
81
+ left: 42.5%;
82
+ right: 0.35%;
83
+ top: 40.78%;
84
+ bottom: -67.67%;
85
+ background: radial-gradient(
86
+ circle closest-side at 39.9% 50%,
87
+ rgba(0, 97, 255, 0.55) 0%,
88
+ rgba(255, 255, 255, 0) 100%
89
+ );
90
+ opacity: 0.5;
91
+ filter: blur(80px);
92
+ }
93
+
94
+ .recGreen {
95
+ position: absolute;
96
+ left: 64.14%;
97
+ right: -20.87%;
98
+ top: -27.96%;
99
+ bottom: 45.85%;
100
+ background: radial-gradient(
101
+ circle closest-side at 56.78% 61.36%,
102
+ #2199ab 0%,
103
+ rgba(255, 255, 255, 0) 100%
104
+ );
105
+ opacity: 0.5;
106
+ filter: blur(100px);
107
+ }
108
+
109
+ .recGreenLight {
110
+ position: absolute;
111
+ left: 50.13%;
112
+ right: -18.51%;
113
+ top: 13.13%;
114
+ bottom: 6.78%;
115
+ background: radial-gradient(
116
+ circle closest-side at 54.18% 40.45%,
117
+ #18bb98 0%,
118
+ rgba(255, 255, 255, 0) 100%
119
+ );
120
+ opacity: 0.5;
121
+ filter: blur(100px);
122
+ }
123
+
124
+ @media tablet {
125
+ .interrogationLeft {
126
+ left: -8%;
127
+ top: 6%;
128
+ font-size: 500px;
129
+ }
130
+
131
+ .interrogationRight {
132
+ left: 70%;
133
+ top: 6%;
134
+ font-size: 500px;
135
+ }
136
+
137
+ .recYellow {
138
+ left: -20.79%;
139
+ right: 55.63%;
140
+ top: 5.34%;
141
+ bottom: 34.77%;
142
+ background: radial-gradient(
143
+ circle closest-side at 57.97% 41.54%,
144
+ #ffc043 0%,
145
+ rgba(255, 255, 255, 0) 100%
146
+ );
147
+ }
148
+
149
+ .recRed {
150
+ left: 10.72%;
151
+ right: 42.62%;
152
+ top: 33.04%;
153
+ bottom: -9.22%;
154
+ background: radial-gradient(
155
+ circle closest-side at 57.97% 41.54%,
156
+ #ff7043 0%,
157
+ rgba(255, 255, 255, 0) 100%
158
+ );
159
+ filter: blur(50px);
160
+ opacity: 0.2;
161
+ }
162
+
163
+ .recBlue {
164
+ bottom: -80.78%;
165
+ background: radial-gradient(
166
+ circle closest-side at 39.9% 50%,
167
+ rgba(0, 97, 255, 0.55) 0%,
168
+ rgba(255, 255, 255, 0) 100%
169
+ );
170
+ }
171
+
172
+ .recGreen {
173
+ bottom: 43.13%;
174
+ background: radial-gradient(
175
+ circle closest-side at 56.78% 61.36%,
176
+ #2199ab 0%,
177
+ rgba(255, 255, 255, 0) 100%
178
+ );
179
+ opacity: 0.3;
180
+ }
181
+
182
+ .recGreenLight {
183
+ left: 40%;
184
+ top: 13.13%;
185
+ background: radial-gradient(
186
+ circle closest-side at 54.18% 40.45%,
187
+ #18bb98 0%,
188
+ rgba(255, 255, 255, 0) 100%
189
+ );
190
+ }
191
+ }
192
+
193
+ @media mobile {
194
+ .interrogationLeft {
195
+ left: -25%;
196
+ top: 3%;
197
+ font-size: 400px;
198
+ }
199
+
200
+ .interrogationRight {
201
+ left: 55%;
202
+ top: 36%;
203
+ font-size: 400px;
204
+ }
205
+
206
+ .recYellow {
207
+ right: 50%;
208
+ top: -5.34%;
209
+ opacity: 0.5;
210
+ }
211
+
212
+ .recRed {
213
+ opacity: 0.5;
214
+ }
215
+
216
+ .recBlue {
217
+ left: 48.5%;
218
+ right: -35%;
219
+ bottom: -50.78%;
220
+ opacity: 0.5;
221
+ }
222
+
223
+ .recGreen {
224
+ top: -23.13%;
225
+ left: 30%;
226
+ opacity: 0.5;
227
+ }
228
+
229
+ .recGreenLight {
230
+ top: -3.13%;
231
+ left: 30%;
232
+ opacity: 0.5;
233
+ }
234
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ props: {
3
+ 'aria-label': 'Review Background Container'
4
+ }
5
+ };
6
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/review-background/test/fixtures/default.js"],"names":["props"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc;AADT;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': 'Review Background Container'\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import AtomReviewBackground from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('Atom › AtomReviewBackground > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(AtomReviewBackground.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "Atom.AtomReviewBackground.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('Atom › AtomReviewBackground › Default › should be rendered', renderComponentMacro, AtomReviewBackground, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/atom/review-background/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomReviewBackground","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,2DAAD,EAA8DK,CAAC,IAAI;AACrEA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,oBAAoB,CAACI,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,qDAAoDF,GAAI,mEAAjF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,oBAArF,EAA2GC,cAA3G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomReviewBackground from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Atom › AtomReviewBackground > should have valid propTypes', t => {\n t.pass();\n forEach(AtomReviewBackground.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomReviewBackground.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomReviewBackground › Default › should be rendered', renderComponentMacro, AtomReviewBackground, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -58,7 +58,9 @@ const ReviewPresentation = props => {
58
58
  dangerouslySetInnerHTML: {
59
59
  __html: reviewText
60
60
  }
61
- }), /*#__PURE__*/React.createElement("ul", null, map.convert({
61
+ }), /*#__PURE__*/React.createElement("ul", {
62
+ className: style.reviewListWrapper
63
+ }, map.convert({
62
64
  cap: false
63
65
  })((label, key) => {
64
66
  return /*#__PURE__*/React.createElement("li", {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/atom/review-presentation/index.js"],"names":["React","PropTypes","get","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaCompositionCoorpacademyInformationIcon","InformationIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","style","ICONS","skills","questions","lifes","allright","getIcon","icon","Icon","labelIcon","ToolTip","tooltipText","tooltipContainer","tooltipIconContainer","informationIcon","toolTip","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","__html","convert","cap","label","key","reviewList","reviewListItemWrapper","reviewListText","text","levelItem","shape","string","propTypes"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,SACEC,2BAA2B,IAAIC,SADjC,EAEE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AAEjC,SAAS,CAAC+C,MAHO;AAI7Bb,EAAAA,UAAU,EAAElC,SAAS,CAAC8C,KAAV,CAAgB;AAC1B/B,IAAAA,MAAM,EAAE8B,SADkB;AAE1B7B,IAAAA,SAAS,EAAE6B,SAFe;AAG1B5B,IAAAA,KAAK,EAAE4B,SAHmB;AAI1B3B,IAAAA,QAAQ,EAAE2B;AAJgB,GAAhB;AAJiB,CAA/B;AAYA,eAAehB,kBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport get from 'lodash/fp/get';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaCompositionCoorpacademyInformationIcon as InformationIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport style from './style.css';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst getIcon = icon => {\n const Icon = get(icon, ICONS);\n return <Icon className={style.labelIcon} />;\n};\n\nconst ToolTip = ({tooltipText}) => {\n return (\n <div className={style.tooltipContainer}>\n <div className={style.tooltipIconContainer}>\n <InformationIcon className={style.informationIcon} width={12} height={12} />\n </div>\n <div className={style.toolTip}>\n <div className={style.tooltipText}>{tooltipText}</div>\n </div>\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\">\n <div className={style.reviewListText}>\n {getIcon(key)} {label.text}\n </div>\n <ToolTip tooltipText={label.tooltipText} />\n </div>\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nconst levelItem = PropTypes.shape({\n text: PropTypes.string,\n tooltipText: PropTypes.string\n});\n\nToolTip.propTypes = {\n tooltipText: PropTypes.string\n};\n\nReviewPresentation.propTypes = {\n 'aria-label': PropTypes.string,\n reviewTitle: PropTypes.string,\n reviewText: PropTypes.string,\n labelsList: PropTypes.shape({\n skills: levelItem,\n questions: levelItem,\n lifes: levelItem,\n allright: levelItem\n })\n};\n\nexport default ReviewPresentation;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/atom/review-presentation/index.js"],"names":["React","PropTypes","get","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaCompositionCoorpacademyInformationIcon","InformationIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","style","ICONS","skills","questions","lifes","allright","getIcon","icon","Icon","labelIcon","ToolTip","tooltipText","tooltipContainer","tooltipIconContainer","informationIcon","toolTip","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","__html","reviewListWrapper","convert","cap","label","key","reviewList","reviewListItemWrapper","reviewListText","text","levelItem","shape","string","propTypes"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,SACEC,2BAA2B,IAAIC,SADjC,EAEEC,6BAA6B,IAAIC,SAFnC,EAGEC,0CAA0C,IAAIC,eAHhD,EAIEC,+CAA+C,IAAIC,YAJrD,EAKEC,yCAAyC,IAAIC,UAL/C,QAMO,0BANP;AAOA,OA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IAAAA,MAAM,EAAE+B,SADkB;AAE1B9B,IAAAA,SAAS,EAAE8B,SAFe;AAG1B7B,IAAAA,KAAK,EAAE6B,SAHmB;AAI1B5B,IAAAA,QAAQ,EAAE4B;AAJgB,GAAhB;AAJiB,CAA/B;AAYA,eAAejB,kBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport get from 'lodash/fp/get';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaCompositionCoorpacademyInformationIcon as InformationIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport style from './style.css';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst getIcon = icon => {\n const Icon = get(icon, ICONS);\n return <Icon className={style.labelIcon} />;\n};\n\nconst ToolTip = ({tooltipText}) => {\n return (\n <div className={style.tooltipContainer}>\n <div className={style.tooltipIconContainer}>\n <InformationIcon className={style.informationIcon} width={12} height={12} />\n </div>\n <div className={style.toolTip}>\n <div className={style.tooltipText}>{tooltipText}</div>\n </div>\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul className={style.reviewListWrapper}>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\">\n <div className={style.reviewListText}>\n {getIcon(key)} {label.text}\n </div>\n <ToolTip tooltipText={label.tooltipText} />\n </div>\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nconst levelItem = PropTypes.shape({\n text: PropTypes.string,\n tooltipText: PropTypes.string\n});\n\nToolTip.propTypes = {\n tooltipText: PropTypes.string\n};\n\nReviewPresentation.propTypes = {\n 'aria-label': PropTypes.string,\n reviewTitle: PropTypes.string,\n reviewText: PropTypes.string,\n labelsList: PropTypes.shape({\n skills: levelItem,\n questions: levelItem,\n lifes: levelItem,\n allright: levelItem\n })\n};\n\nexport default ReviewPresentation;\n"],"file":"index.js"}
@@ -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,
@@ -16,6 +16,45 @@ const listSkills = [_extends(_extends({}, cardDefault.props), {}, {
16
16
  }), _extends(_extends({}, cardDefault.props), {}, {
17
17
  skillTitle: 'Critical thinking and analysis',
18
18
  isCustom: true
19
+ }), _extends(_extends({}, cardDefault.props), {}, {
20
+ skillTitle: 'Negotiation and powers of persuasion',
21
+ isCustom: true
22
+ }), _extends(_extends({}, cardDefault.props), {}, {
23
+ skillTitle: 'Digital communication',
24
+ isCustom: false
25
+ }), _extends(_extends({}, cardDefault.props), {}, {
26
+ skillTitle: 'Creativity and innovation',
27
+ isCustom: false
28
+ }), _extends(_extends({}, cardDefault.props), {}, {
29
+ skillTitle: 'Agility',
30
+ isCustom: false
31
+ }), _extends(_extends({}, cardDefault.props), {}, {
32
+ skillTitle: 'Sustainable thinking',
33
+ isCustom: false
34
+ }), _extends(_extends({}, cardDefault.props), {}, {
35
+ skillTitle: 'Critical thinking and analysis',
36
+ isCustom: true
37
+ }), _extends(_extends({}, cardDefault.props), {}, {
38
+ skillTitle: 'Negotiation and powers of persuasion',
39
+ isCustom: true
40
+ }), _extends(_extends({}, cardDefault.props), {}, {
41
+ skillTitle: 'Digital communication',
42
+ isCustom: false
43
+ }), _extends(_extends({}, cardDefault.props), {}, {
44
+ skillTitle: 'Creativity and innovation',
45
+ isCustom: false
46
+ }), _extends(_extends({}, cardDefault.props), {}, {
47
+ skillTitle: 'Agility',
48
+ isCustom: false
49
+ }), _extends(_extends({}, cardDefault.props), {}, {
50
+ skillTitle: 'Sustainable thinking',
51
+ isCustom: false
52
+ }), _extends(_extends({}, cardDefault.props), {}, {
53
+ skillTitle: 'Critical thinking and analysis',
54
+ isCustom: true
55
+ }), _extends(_extends({}, cardDefault.props), {}, {
56
+ skillTitle: 'Negotiation and powers of persuasion',
57
+ isCustom: true
19
58
  })];
20
59
  export default {
21
60
  props: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/review-skills/test/fixtures/many-skills.js"],"names":["cardDefault","listSkills","props","skillTitle","isCustom","title","titleNoSkills","undefined","textNoSkills","iconSkillAriaLabel"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,uDAAxB;AAEA,MAAMC,UAAU,GAAG,uBACbD,WAAW,CAACE,KADC;AACMC,EAAAA,UAAU,EAAE,uBADlB;AAC2CC,EAAAA,QAAQ,EAAE;AADrD,0BAEbJ,WAAW,CAACE,KAFC;AAEMC,EAAAA,UAAU,EAAE,2BAFlB;AAE+CC,EAAAA,QAAQ,EAAE;AAFzD,0BAGbJ,WAAW,CAACE,KAHC;AAGMC,EAAAA,UAAU,EAAE,SAHlB;AAG6BC,EAAAA,QAAQ,EAAE;AAHvC,0BAIbJ,WAAW,CAACE,KAJC;AAIMC,EAAAA,UAAU,EAAE,sBAJlB;AAI0CC,EAAAA,QAAQ,EAAE;AAJpD,0BAKbJ,WAAW,CAACE,KALC;AAKMC,EAAAA,UAAU,EAAE,gCALlB;AAKoDC,EAAAA,QAAQ,EAAE;AAL9D,GAAnB;AAQA,eAAe;AACbF,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELG,IAAAA,KAAK,EAAE,uBAFF;AAGLJ,IAAAA,UAHK;AAILK,IAAAA,aAAa,EAAEC,SAJV;AAKLC,IAAAA,YAAY,EAAED,SALT;AAMLE,IAAAA,kBAAkB,EAAEF;AANf;AADM,CAAf","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":["cardDefault","listSkills","props","skillTitle","isCustom","title","titleNoSkills","undefined","textNoSkills","iconSkillAriaLabel"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,uDAAxB;AAEA,MAAMC,UAAU,GAAG,uBACbD,WAAW,CAACE,KADC;AACMC,EAAAA,UAAU,EAAE,uBADlB;AAC2CC,EAAAA,QAAQ,EAAE;AADrD,0BAEbJ,WAAW,CAACE,KAFC;AAEMC,EAAAA,UAAU,EAAE,2BAFlB;AAE+CC,EAAAA,QAAQ,EAAE;AAFzD,0BAGbJ,WAAW,CAACE,KAHC;AAGMC,EAAAA,UAAU,EAAE,SAHlB;AAG6BC,EAAAA,QAAQ,EAAE;AAHvC,0BAIbJ,WAAW,CAACE,KAJC;AAIMC,EAAAA,UAAU,EAAE,sBAJlB;AAI0CC,EAAAA,QAAQ,EAAE;AAJpD,0BAKbJ,WAAW,CAACE,KALC;AAKMC,EAAAA,UAAU,EAAE,gCALlB;AAKoDC,EAAAA,QAAQ,EAAE;AAL9D,0BAMbJ,WAAW,CAACE,KANC;AAMMC,EAAAA,UAAU,EAAE,sCANlB;AA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BA,eAAe;AACbF,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELG,IAAAA,KAAK,EAAE,uBAFF;AAGLJ,IAAAA,UAHK;AAILK,IAAAA,aAAa,EAAEC,SAJV;AAKLC,IAAAA,YAAY,EAAED,SALT;AAMLE,IAAAA,kBAAkB,EAAEF;AANf;AADM,CAAf","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,17 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import OrganismReviewSkills from '..';
5
+ import fixtureLoading from './fixtures/loading';
6
+ import fixtureManySkills from './fixtures/many-skills';
7
+ import fixtureNoSkills from './fixtures/no-skills';
8
+ test('Organism › OrganismReviewSkills > should have valid propTypes', t => {
9
+ t.pass();
10
+ forEach(OrganismReviewSkills.propTypes, (value, key) => {
11
+ t.not(value, undefined, `PropType for "Organism.OrganismReviewSkills.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
+ });
13
+ });
14
+ test('Organism › OrganismReviewSkills › Loading › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureLoading);
15
+ test('Organism › OrganismReviewSkills › ManySkills › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureManySkills);
16
+ test('Organism › OrganismReviewSkills › NoSkills › should be rendered', renderComponentMacro, OrganismReviewSkills, fixtureNoSkills);
17
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/review-skills/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismReviewSkills","fixtureLoading","fixtureManySkills","fixtureNoSkills","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,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AAEAN,IAAI,CAAC,+DAAD,EAAkEO,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,oBAAoB,CAACM,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GC,cAA/G,CAAJ;AACAJ,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,oBAA5F,EAAkHE,iBAAlH,CAAJ;AACAL,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,oBAA1F,EAAgHG,eAAhH,CAAJ","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"}