@coorpacademy/components 10.14.7 → 10.16.1
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.
- package/es/atom/button-link-icon-only/test/fixtures.js +0 -2
- package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -1
- package/es/atom/review-background/index.js +35 -0
- package/es/atom/review-background/index.js.map +1 -0
- package/es/atom/review-background/style.css +234 -0
- package/es/atom/review-background/test/fixtures/default.js +6 -0
- package/es/atom/review-background/test/fixtures/default.js.map +1 -0
- package/es/atom/review-presentation/index.js +3 -1
- package/es/atom/review-presentation/index.js.map +1 -1
- package/es/atom/review-presentation/style.css +7 -4
- package/es/molecule/brand-form-group/test/fixtures.js +0 -2
- package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/es/molecule/course-section/test/fixtures.js +0 -6
- package/es/molecule/course-section/test/fixtures.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -2
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -1
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +15 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
- package/es/molecule/search/test/fixtures.js +15 -0
- package/es/molecule/search/test/fixtures.js.map +1 -0
- package/es/molecule/skill-card/style.css +7 -8
- package/es/organism/brand-form/index.js +11 -3
- package/es/organism/brand-form/index.js.map +1 -1
- package/es/organism/brand-form/style.css +13 -0
- package/es/organism/brand-form/test/fixtures/loading.js +19 -0
- package/es/organism/brand-form/test/fixtures/loading.js.map +1 -0
- package/es/organism/brand-form/test/fixtures.js +0 -2
- package/es/organism/brand-form/test/fixtures.js.map +1 -1
- package/es/organism/playlist-translation/test/fixtures.js +15 -0
- package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/es/organism/review-skills/style.css +21 -8
- package/es/organism/review-skills/test/fixtures/many-skills.js +39 -0
- package/es/organism/review-skills/test/fixtures/many-skills.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures.js +0 -4
- package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +0 -2
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/external-course/test/fixtures.js +0 -4
- package/es/template/external-course/test/fixtures.js.map +1 -1
- package/es/template/review-dashboard-skills/index.js +29 -0
- package/es/template/review-dashboard-skills/index.js.map +1 -0
- package/es/template/review-dashboard-skills/style.css +60 -0
- package/es/template/review-dashboard-skills/test/fixtures/loading.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
- package/es/template/review-dashboard-skills/test/fixtures/many-skills.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
- package/es/template/review-dashboard-skills/test/fixtures/no-skills.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
- package/lib/atom/button-link-icon-only/test/fixtures.js +0 -3
- package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -1
- package/lib/atom/review-background/index.js +45 -0
- package/lib/atom/review-background/index.js.map +1 -0
- package/lib/atom/review-background/style.css +234 -0
- package/lib/atom/review-background/test/fixtures/default.js +11 -0
- package/lib/atom/review-background/test/fixtures/default.js.map +1 -0
- package/lib/atom/review-presentation/index.js +3 -1
- package/lib/atom/review-presentation/index.js.map +1 -1
- package/lib/atom/review-presentation/style.css +7 -4
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
- package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/lib/molecule/course-section/test/fixtures.js +0 -9
- package/lib/molecule/course-section/test/fixtures.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -3
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -1
- package/lib/molecule/{input-text-with-titled-checkbox → input-text-with-titeled-checkbox}/test/fixtures.js +4 -4
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
- package/lib/molecule/search/test/fixtures.js +25 -0
- package/lib/molecule/search/test/fixtures.js.map +1 -0
- package/lib/molecule/skill-card/style.css +7 -8
- package/lib/organism/brand-form/index.js +12 -3
- package/lib/organism/brand-form/index.js.map +1 -1
- package/lib/organism/brand-form/style.css +13 -0
- package/lib/organism/brand-form/test/fixtures/loading.js +24 -0
- package/lib/organism/brand-form/test/fixtures/loading.js.map +1 -0
- package/lib/organism/brand-form/test/fixtures.js +0 -3
- package/lib/organism/brand-form/test/fixtures.js.map +1 -1
- package/lib/organism/playlist-translation/test/fixtures.js +25 -0
- package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/lib/organism/review-skills/style.css +21 -8
- package/lib/organism/review-skills/test/fixtures/many-skills.js +39 -0
- package/lib/organism/review-skills/test/fixtures/many-skills.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures.js +0 -6
- package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +0 -3
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/external-course/test/fixtures.js +0 -6
- package/lib/template/external-course/test/fixtures.js.map +1 -1
- package/lib/template/review-dashboard-skills/index.js +41 -0
- package/lib/template/review-dashboard-skills/index.js.map +1 -0
- package/lib/template/review-dashboard-skills/style.css +60 -0
- package/lib/template/review-dashboard-skills/test/fixtures/loading.js +20 -0
- package/lib/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
- package/lib/template/review-dashboard-skills/test/fixtures/many-skills.js +20 -0
- package/lib/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
- package/lib/template/review-dashboard-skills/test/fixtures/no-skills.js +20 -0
- package/lib/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
- package/package.json +2 -2
- package/es/atom/review-presentation/test/fixtures.js +0 -13
- package/es/atom/review-presentation/test/fixtures.js.map +0 -1
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +0 -15
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/es/molecule/list-badges/test/fixtures.js +0 -19
- package/es/molecule/list-badges/test/fixtures.js.map +0 -1
- package/es/molecule/skill-card/test/fixtures.js +0 -19
- package/es/molecule/skill-card/test/fixtures.js.map +0 -1
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js +0 -19
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +0 -1
- package/es/organism/review-header/test/fixtures.js +0 -23
- package/es/organism/review-header/test/fixtures.js.map +0 -1
- package/es/organism/review-skills/test/fixtures.js +0 -17
- package/es/organism/review-skills/test/fixtures.js.map +0 -1
- package/es/organism/rewards-form/test/fixtures.js +0 -19
- package/es/organism/rewards-form/test/fixtures.js.map +0 -1
- package/lib/atom/review-presentation/test/fixtures.js +0 -22
- package/lib/atom/review-presentation/test/fixtures.js.map +0 -1
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/lib/molecule/list-badges/test/fixtures.js +0 -31
- package/lib/molecule/list-badges/test/fixtures.js.map +0 -1
- package/lib/molecule/skill-card/test/fixtures.js +0 -31
- package/lib/molecule/skill-card/test/fixtures.js.map +0 -1
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js +0 -31
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +0 -1
- package/lib/organism/review-header/test/fixtures.js +0 -37
- package/lib/organism/review-header/test/fixtures.js.map +0 -1
- package/lib/organism/review-skills/test/fixtures.js +0 -28
- package/lib/organism/review-skills/test/fixtures.js.map +0 -1
- package/lib/organism/rewards-form/test/fixtures.js +0 -31
- package/lib/organism/rewards-form/test/fixtures.js.map +0 -1
|
@@ -5,7 +5,6 @@ import AtomButtonLinkIconOnly from '..';
|
|
|
5
5
|
import fixtureButtonIconBullet from './fixtures/button-icon-bullet';
|
|
6
6
|
import fixtureDefault from './fixtures/default';
|
|
7
7
|
import fixtureNoIcon from './fixtures/no-icon';
|
|
8
|
-
import fixtureReviewHeader from './fixtures/review-header';
|
|
9
8
|
import fixtureSmallButtonDisabled from './fixtures/small-button-disabled';
|
|
10
9
|
import fixtureSmallLinkDownload from './fixtures/small-link-download';
|
|
11
10
|
test('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {
|
|
@@ -17,7 +16,6 @@ test('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {
|
|
|
17
16
|
test('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);
|
|
18
17
|
test('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);
|
|
19
18
|
test('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);
|
|
20
|
-
test('Atom › AtomButtonLinkIconOnly › ReviewHeader › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureReviewHeader);
|
|
21
19
|
test('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);
|
|
22
20
|
test('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);
|
|
23
21
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLinkIconOnly","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomButtonLinkIconOnly","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","fixtureSmallButtonDisabled","fixtureSmallLinkDownload","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AAEAR,IAAI,CAAC,6DAAD,EAAgES,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,sBAAsB,CAACQ,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,sBAAhG,EAAwHC,uBAAxH,CAAJ;AACAJ,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,sBAAtF,EAA8GG,aAA9G,CAAJ;AACAN,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HI,0BAA3H,CAAJ;AACAP,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHK,wBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLinkIconOnly from '..';\nimport fixtureButtonIconBullet from './fixtures/button-icon-bullet';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixtureSmallButtonDisabled from './fixtures/small-button-disabled';\nimport fixtureSmallLinkDownload from './fixtures/small-link-download';\n\ntest('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLinkIconOnly.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);\ntest('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);\ntest('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);\ntest('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);\ntest('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);\n"],"file":"fixtures.js"}
|
|
@@ -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 @@
|
|
|
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"}
|
|
@@ -58,7 +58,9 @@ const ReviewPresentation = props => {
|
|
|
58
58
|
dangerouslySetInnerHTML: {
|
|
59
59
|
__html: reviewText
|
|
60
60
|
}
|
|
61
|
-
}), /*#__PURE__*/React.createElement("ul",
|
|
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,EAEEC,6BAA6B,IAAIC,SAFnC,EAGEC,0CAA0C,IAAIC,eAHhD,EAIEC,+CAA+C,IAAIC,YAJrD,EAKEC,yCAAyC,IAAIC,UAL/C,QAMO,0BANP;AAOA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,KAAK,GAAG;AACZC,EAAAA,MAAM,EAAEH,UADI;AAEZI,EAAAA,SAAS,EAAEN,YAFC;AAGZO,EAAAA,KAAK,EAAEX,SAHK;AAIZY,EAAAA,QAAQ,EAAEd;AAJE,CAAd;;AAOA,MAAMe,OAAO,GAAGC,IAAI,IAAI;AACtB,QAAMC,IAAI,GAAGpB,GAAG,CAACmB,IAAD,EAAON,KAAP,CAAhB;AACA,sBAAO,oBAAC,IAAD;AAAM,IAAA,SAAS,EAAED,KAAK,CAACS;AAAvB,IAAP;AACD,CAHD;;AAKA,MAAMC,OAAO,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAmB;AACjC,sBACE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACY;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEZ,KAAK,CAACa;AAAtB,kBACE,oBAAC,eAAD;AAAiB,IAAA,SAAS,EAAEb,KAAK,CAACc,eAAlC;AAAmD,IAAA,KAAK,EAAE,EAA1D;AAA8D,IAAA,MAAM,EAAE;AAAtE,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEd,KAAK,CAACe;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEf,KAAK,CAACW;AAAtB,KAAoCA,WAApC,CADF,CAJF,CADF;AAUD,CAXD;;AAaA,MAAMK,kBAAkB,GAAGC,KAAK,IAAI;AAClC,QAAM;AAAC,kBAAcC,SAAf;AAA0BC,IAAAA,WAA1B;AAAuCC,IAAAA,UAAvC;AAAmDC,IAAAA;AAAnD,MAAiEJ,KAAvE;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEjB,KAAK,CAACsB,aAAtB;AAAqC,kBAAYJ;AAAjD,kBACE;AACE,IAAA,SAAS,EAAElB,KAAK,CAACmB,WADnB,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACI,MAAAA,MAAM,EAAEJ;AAAT;AAH3B,IADF,eAME;AACE,IAAA,SAAS,EAAEnB,KAAK,CAACoB,UADnB,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACG,MAAAA,MAAM,EAAEH;AAAT;AAH3B,IANF,eAWE,
|
|
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":"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","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
|
|
59
|
+
margin: 16px 40px 0 0;
|
|
57
60
|
background: cm_grey_75;
|
|
58
61
|
border-radius: 8px;
|
|
59
62
|
}
|
|
@@ -14,7 +14,6 @@ import fixtureLookandfeel from './fixtures/lookandfeel';
|
|
|
14
14
|
import fixtureRoles from './fixtures/roles';
|
|
15
15
|
import fixtureSlider from './fixtures/slider';
|
|
16
16
|
import fixtureSso from './fixtures/sso';
|
|
17
|
-
import fixtureTitleAndCheckboxWrapper from './fixtures/title-and-checkbox-wrapper';
|
|
18
17
|
test('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {
|
|
19
18
|
t.pass();
|
|
20
19
|
forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {
|
|
@@ -33,5 +32,4 @@ test('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered
|
|
|
33
32
|
test('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);
|
|
34
33
|
test('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);
|
|
35
34
|
test('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);
|
|
36
|
-
test('Molecule › MoleculeBrandFormGroup › TitleAndCheckboxWrapper › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureTitleAndCheckboxWrapper);
|
|
37
35
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCmDefault","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCmDefault","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AAEAf,IAAI,CAAC,iEAAD,EAAoEgB,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAhB,EAAAA,OAAO,CAACE,sBAAsB,CAACe,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOApB,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHC,gBAArH,CAAJ;AACAJ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,sBAA9F,EAAsHE,iBAAtH,CAAJ;AACAL,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHG,gBAArH,CAAJ;AACAN,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHI,aAAlH,CAAJ;AACAP,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHK,gBAArH,CAAJ;AACAR,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHM,cAAnH,CAAJ;AACAT,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHO,kBAAvH,CAAJ;AACAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHQ,aAAlH,CAAJ;AACAX,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHS,kBAAvH,CAAJ;AACAZ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHU,YAAjH,CAAJ;AACAb,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHW,aAAlH,CAAJ;AACAd,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GY,UAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandFormGroup from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCmDefault from './fixtures/cm-default';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoublefield from './fixtures/doublefield';\nimport fixtureImages from './fixtures/images';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureRoles from './fixtures/roles';\nimport fixtureSlider from './fixtures/slider';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandFormGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);\ntest('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);\ntest('Molecule › MoleculeBrandFormGroup › CmDefault › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCmDefault);\ntest('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);\ntest('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);\ntest('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);\ntest('Molecule › MoleculeBrandFormGroup › Doublefield › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDoublefield);\ntest('Molecule › MoleculeBrandFormGroup › Images › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureImages);\ntest('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);\ntest('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);\ntest('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);\n"],"file":"fixtures.js"}
|
|
@@ -2,10 +2,7 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import MoleculeCourseSection from '..';
|
|
5
|
-
import fixtureAdvancedLevel from './fixtures/advanced-level';
|
|
6
|
-
import fixtureBaseLevel from './fixtures/base-level';
|
|
7
5
|
import fixtureChapter from './fixtures/chapter';
|
|
8
|
-
import fixtureCoachLevel from './fixtures/coach-level';
|
|
9
6
|
import fixtureCourse from './fixtures/course';
|
|
10
7
|
test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
|
|
11
8
|
t.pass();
|
|
@@ -13,9 +10,6 @@ test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
|
|
|
13
10
|
t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSection.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
11
|
});
|
|
15
12
|
});
|
|
16
|
-
test('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);
|
|
17
|
-
test('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);
|
|
18
13
|
test('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);
|
|
19
|
-
test('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);
|
|
20
14
|
test('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);
|
|
21
15
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/course-section/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSection","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/course-section/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSection","fixtureChapter","fixtureCourse","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAL,IAAI,CAAC,gEAAD,EAAmEM,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,qBAAqB,CAACK,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,qBAAzF,EAAgHE,aAAhH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSection from '..';\nimport fixtureChapter from './fixtures/chapter';\nimport fixtureCourse from './fixtures/course';\n\ntest('Molecule › MoleculeCourseSection > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCourseSection.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCourseSection.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);\ntest('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);\n"],"file":"fixtures.js"}
|
|
@@ -4,7 +4,6 @@ import renderComponentMacro from '../../../test/helpers/render-component';
|
|
|
4
4
|
import MoleculeDragAndDropWrapper from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
6
|
import fixtureTwoDragAndDrops from './fixtures/two-drag-and-drops';
|
|
7
|
-
import fixtureWithoutCheckbox from './fixtures/without-checkbox';
|
|
8
7
|
test('Molecule › MoleculeDragAndDropWrapper > should have valid propTypes', t => {
|
|
9
8
|
t.pass();
|
|
10
9
|
forEach(MoleculeDragAndDropWrapper.propTypes, (value, key) => {
|
|
@@ -13,5 +12,4 @@ test('Molecule › MoleculeDragAndDropWrapper > should have valid propTypes', t
|
|
|
13
12
|
});
|
|
14
13
|
test('Molecule › MoleculeDragAndDropWrapper › Default › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureDefault);
|
|
15
14
|
test('Molecule › MoleculeDragAndDropWrapper › TwoDragAndDrops › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureTwoDragAndDrops);
|
|
16
|
-
test('Molecule › MoleculeDragAndDropWrapper › WithoutCheckbox › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureWithoutCheckbox);
|
|
17
15
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/drag-and-drop-wrapper/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDragAndDropWrapper","fixtureDefault","fixtureTwoDragAndDrops","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/drag-and-drop-wrapper/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDragAndDropWrapper","fixtureDefault","fixtureTwoDragAndDrops","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,0BAAP,MAAuC,IAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,sBAAP,MAAmC,+BAAnC;AAEAL,IAAI,CAAC,qEAAD,EAAwEM,CAAC,IAAI;AAC/EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,0BAA0B,CAACK,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC5DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,+DAA8DF,GAAI,mEAA3F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,0BAA/F,EAA2HC,cAA3H,CAAJ;AACAJ,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,0BAAvG,EAAmIE,sBAAnI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDragAndDropWrapper from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureTwoDragAndDrops from './fixtures/two-drag-and-drops';\n\ntest('Molecule › MoleculeDragAndDropWrapper > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDragAndDropWrapper.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDragAndDropWrapper.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDragAndDropWrapper › Default › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureDefault);\ntest('Molecule › MoleculeDragAndDropWrapper › TwoDragAndDrops › should be rendered', renderComponentMacro, MoleculeDragAndDropWrapper, fixtureTwoDragAndDrops);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import 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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
max-width: 353px;
|
|
16
|
-
|
|
17
|
-
height: 242px;
|
|
18
|
-
box-shadow:
|
|
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:
|
|
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
|
|
35
|
+
border-radius: 8px 8px 0 0;
|
|
36
36
|
color: white;
|
|
37
|
-
padding:
|
|
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:
|
|
58
|
+
padding: 0 24px 24px;
|
|
60
59
|
}
|