@coorpacademy/components 11.32.32 → 11.32.33-alpha.27
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/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +2 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.d.ts +1 -0
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +7 -3
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +2 -1
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +2 -1
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +4 -2
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/tag/index.js +27 -7
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/tag/style.css +7 -0
- package/es/atom/title/index.d.ts +2 -1
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.js +2 -1
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/bulk-progress-bar/style.css +0 -4
- package/es/molecule/cm-popin/types.d.ts +2 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +1 -0
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.js +6 -4
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-wrapper/index.d.ts +29 -0
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -0
- package/es/molecule/progress-wrapper/index.js +200 -0
- package/es/molecule/progress-wrapper/index.js.map +1 -0
- package/es/molecule/progress-wrapper/style.css +185 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/index.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/rewards-form/index.d.ts +2 -1
- package/es/organism/select-opponents/index.d.ts +2 -1
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -1
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +4 -2
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +4 -2
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +2 -1
- package/es/template/activity/progression-item.css +0 -4
- package/es/template/activity/progression-item.d.ts.map +1 -1
- package/es/template/activity/progression-item.js +2 -1
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +2 -1
- package/es/template/app-player/player/index.d.ts +4 -2
- package/es/template/app-player/player/slides/index.d.ts +2 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +2 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +2 -1
- package/es/template/app-review/index.d.ts +2 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +2 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +2 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +2 -1
- package/es/template/certification-detail/index.d.ts +105 -0
- package/es/template/certification-detail/index.d.ts.map +1 -0
- package/es/template/certification-detail/index.js +158 -0
- package/es/template/certification-detail/index.js.map +1 -0
- package/es/template/certification-detail/style.css +130 -0
- package/es/template/common/dashboard/index.d.ts +4 -2
- package/es/template/common/search-page/index.d.ts +2 -1
- package/es/template/external-course/index.d.ts +2 -1
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +4 -2
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/playlist-detail/style.css +5 -0
- package/es/template/skill-detail/all-courses.css +6 -6
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.js +3 -2
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +2 -1
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.d.ts +1 -0
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +7 -3
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +2 -1
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +2 -1
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +4 -2
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/tag/index.js +28 -7
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/tag/style.css +7 -0
- package/lib/atom/title/index.d.ts +2 -1
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +2 -1
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/style.css +0 -4
- package/lib/molecule/cm-popin/types.d.ts +2 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +1 -0
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.js +6 -4
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts +29 -0
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -0
- package/lib/molecule/progress-wrapper/index.js +221 -0
- package/lib/molecule/progress-wrapper/index.js.map +1 -0
- package/lib/molecule/progress-wrapper/style.css +185 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +2 -1
- package/lib/organism/select-opponents/index.d.ts +2 -1
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -1
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +4 -2
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +4 -2
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +2 -1
- package/lib/template/activity/progression-item.css +0 -4
- package/lib/template/activity/progression-item.d.ts.map +1 -1
- package/lib/template/activity/progression-item.js +2 -1
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +2 -1
- package/lib/template/app-player/player/index.d.ts +4 -2
- package/lib/template/app-player/player/slides/index.d.ts +2 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +2 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +2 -1
- package/lib/template/app-review/index.d.ts +2 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +2 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +2 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +2 -1
- package/lib/template/certification-detail/index.d.ts +105 -0
- package/lib/template/certification-detail/index.d.ts.map +1 -0
- package/lib/template/certification-detail/index.js +186 -0
- package/lib/template/certification-detail/index.js.map +1 -0
- package/lib/template/certification-detail/style.css +130 -0
- package/lib/template/common/dashboard/index.d.ts +4 -2
- package/lib/template/common/search-page/index.d.ts +2 -1
- package/lib/template/external-course/index.d.ts +2 -1
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +4 -2
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/playlist-detail/style.css +5 -0
- package/lib/template/skill-detail/all-courses.css +6 -6
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.js +3 -2
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/locales/bs/global.json +8 -0
- package/locales/cs/global.json +8 -0
- package/locales/de/global.json +8 -0
- package/locales/en/global.json +8 -0
- package/locales/es/global.json +8 -0
- package/locales/et/global.json +8 -0
- package/locales/fi/global.json +8 -0
- package/locales/fr/global.json +8 -0
- package/locales/hr/global.json +8 -0
- package/locales/hu/global.json +8 -0
- package/locales/hy/global.json +8 -0
- package/locales/it/global.json +8 -0
- package/locales/ja/global.json +8 -0
- package/locales/ko/global.json +8 -0
- package/locales/nl/global.json +8 -0
- package/locales/pl/global.json +8 -0
- package/locales/pt/global.json +8 -0
- package/locales/ro/global.json +8 -0
- package/locales/ru/global.json +8 -0
- package/locales/sk/global.json +8 -0
- package/locales/sl/global.json +8 -0
- package/locales/sv/global.json +8 -0
- package/locales/tl/global.json +8 -0
- package/locales/tr/global.json +8 -0
- package/locales/uk/global.json +8 -0
- package/locales/vi/global.json +8 -0
- package/locales/zh/global.json +8 -0
- package/locales/zh_TW/global.json +8 -0
- package/package.json +2 -2
|
@@ -20,8 +20,9 @@ declare const propTypes: {
|
|
|
20
20
|
type: PropTypes.Requireable<string>;
|
|
21
21
|
size: PropTypes.Requireable<string>;
|
|
22
22
|
customStyle: PropTypes.Requireable<{
|
|
23
|
-
[x: string]: string | null | undefined;
|
|
23
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
24
24
|
}>;
|
|
25
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
25
26
|
}>>;
|
|
26
27
|
}>>;
|
|
27
28
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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PropTypes.Requireable<{
|
|
11
11
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
12
12
|
}>;
|
|
13
|
+
const displayInfo: PropTypes.Requireable<boolean>;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/progress-bar/index.js"],"names":[],"mappings":";AAMA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/progress-bar/index.js"],"names":[],"mappings":";AAMA,sDAiCC"}
|
|
@@ -24,7 +24,8 @@ const ProgressBar = props => {
|
|
|
24
24
|
max,
|
|
25
25
|
desc = '',
|
|
26
26
|
steps = 0,
|
|
27
|
-
style: propsStyle
|
|
27
|
+
style: propsStyle,
|
|
28
|
+
displayInfo = true
|
|
28
29
|
} = props;
|
|
29
30
|
const ratio = value / max;
|
|
30
31
|
const percentage = Math.floor(ratio * 100);
|
|
@@ -40,13 +41,13 @@ const ProgressBar = props => {
|
|
|
40
41
|
style: _extends({}, propsStyle, {
|
|
41
42
|
width: `${ratio * 100}%`
|
|
42
43
|
})
|
|
43
|
-
}), /*#__PURE__*/_react.default.createElement("p", {
|
|
44
|
+
}), displayInfo ? /*#__PURE__*/_react.default.createElement("p", {
|
|
44
45
|
className: _style.default.texts
|
|
45
46
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
46
47
|
className: _style.default.description
|
|
47
48
|
}, `${value}/${max} ${desc}`), /*#__PURE__*/_react.default.createElement("span", {
|
|
48
49
|
className: _style.default.percentage
|
|
49
|
-
}, text)), /*#__PURE__*/_react.default.createElement("div", {
|
|
50
|
+
}, text)) : null, /*#__PURE__*/_react.default.createElement("div", {
|
|
50
51
|
className: _style.default.steps
|
|
51
52
|
}, stepList));
|
|
52
53
|
};
|
|
@@ -57,7 +58,8 @@ ProgressBar.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
57
58
|
max: _propTypes.default.number.isRequired,
|
|
58
59
|
desc: _propTypes.default.string,
|
|
59
60
|
steps: _propTypes.default.number,
|
|
60
|
-
style: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]))
|
|
61
|
+
style: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])),
|
|
62
|
+
displayInfo: _propTypes.default.bool
|
|
61
63
|
} : {};
|
|
62
64
|
var _default = ProgressBar;
|
|
63
65
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ProgressBar","props","className","value","max","desc","steps","style","propsStyle","ratio","percentage","Math","floor","text","stepList","index","step","classnames","background","progress","width","texts","description","propTypes","PropTypes","string","number","isRequired","objectOf","oneOfType"],"sources":["../../../src/molecule/progress-bar/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {className
|
|
1
|
+
{"version":3,"file":"index.js","names":["ProgressBar","props","className","value","max","desc","steps","style","propsStyle","displayInfo","ratio","percentage","Math","floor","text","stepList","index","step","classnames","background","progress","width","texts","description","propTypes","PropTypes","string","number","isRequired","objectOf","oneOfType","bool"],"sources":["../../../src/molecule/progress-bar/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {\n className,\n value,\n max,\n desc = '',\n steps = 0,\n style: propsStyle,\n displayInfo = true\n } = props;\n\n const ratio = value / max;\n const percentage = Math.floor(ratio * 100);\n const text = `${percentage}%`;\n const stepList = times(index => <div className={style.step} key={index} />, steps);\n return (\n <div className={classnames(style.background, className)}>\n <div\n className={style.progress}\n style={{\n ...propsStyle,\n width: `${ratio * 100}%`\n }}\n />\n {displayInfo ? (\n <p className={style.texts}>\n <span className={style.description}>{`${value}/${max} ${desc}`}</span>\n <span className={style.percentage}>{text}</span>\n </p>\n ) : null}\n <div className={style.steps}>{stepList}</div>\n </div>\n );\n};\n\nProgressBar.propTypes = {\n className: PropTypes.string,\n value: PropTypes.number.isRequired,\n max: PropTypes.number.isRequired,\n desc: PropTypes.string,\n steps: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n displayInfo: PropTypes.bool\n};\n\nexport default ProgressBar;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,WAAW,GAAGC,KAAK,IAAI;EAC3B,MAAM;IACJC,SADI;IAEJC,KAFI;IAGJC,GAHI;IAIJC,IAAI,GAAG,EAJH;IAKJC,KAAK,GAAG,CALJ;IAMJC,KAAK,EAAEC,UANH;IAOJC,WAAW,GAAG;EAPV,IAQFR,KARJ;EAUA,MAAMS,KAAK,GAAGP,KAAK,GAAGC,GAAtB;EACA,MAAMO,UAAU,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,GAAG,GAAnB,CAAnB;EACA,MAAMI,IAAI,GAAI,GAAEH,UAAW,GAA3B;EACA,MAAMI,QAAQ,GAAG,qBAAMC,KAAK,iBAAI;IAAK,SAAS,EAAET,cAAA,CAAMU,IAAtB;IAA4B,GAAG,EAAED;EAAjC,EAAf,EAA2DV,KAA3D,CAAjB;EACA,oBACE;IAAK,SAAS,EAAE,IAAAY,mBAAA,EAAWX,cAAA,CAAMY,UAAjB,EAA6BjB,SAA7B;EAAhB,gBACE;IACE,SAAS,EAAEK,cAAA,CAAMa,QADnB;IAEE,KAAK,eACAZ,UADA;MAEHa,KAAK,EAAG,GAAEX,KAAK,GAAG,GAAI;IAFnB;EAFP,EADF,EAQGD,WAAW,gBACV;IAAG,SAAS,EAAEF,cAAA,CAAMe;EAApB,gBACE;IAAM,SAAS,EAAEf,cAAA,CAAMgB;EAAvB,GAAsC,GAAEpB,KAAM,IAAGC,GAAI,IAAGC,IAAK,EAA7D,CADF,eAEE;IAAM,SAAS,EAAEE,cAAA,CAAMI;EAAvB,GAAoCG,IAApC,CAFF,CADU,GAKR,IAbN,eAcE;IAAK,SAAS,EAAEP,cAAA,CAAMD;EAAtB,GAA8BS,QAA9B,CAdF,CADF;AAkBD,CAjCD;;AAmCAf,WAAW,CAACwB,SAAZ,2CAAwB;EACtBtB,SAAS,EAAEuB,kBAAA,CAAUC,MADC;EAEtBvB,KAAK,EAAEsB,kBAAA,CAAUE,MAAV,CAAiBC,UAFF;EAGtBxB,GAAG,EAAEqB,kBAAA,CAAUE,MAAV,CAAiBC,UAHA;EAItBvB,IAAI,EAAEoB,kBAAA,CAAUC,MAJM;EAKtBpB,KAAK,EAAEmB,kBAAA,CAAUE,MALK;EAMtBpB,KAAK,EAAEkB,kBAAA,CAAUI,QAAV,CAAmBJ,kBAAA,CAAUK,SAAV,CAAoB,CAACL,kBAAA,CAAUC,MAAX,EAAmBD,kBAAA,CAAUE,MAA7B,CAApB,CAAnB,CANe;EAOtBlB,WAAW,EAAEgB,kBAAA,CAAUM;AAPD,CAAxB;eAUe/B,W"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default ProgressWrapper;
|
|
2
|
+
declare function ProgressWrapper({ completedCourses, completedModules, title, subtitle, progression, sections }: {
|
|
3
|
+
completedCourses: any;
|
|
4
|
+
completedModules: any;
|
|
5
|
+
title: any;
|
|
6
|
+
subtitle: any;
|
|
7
|
+
progression: any;
|
|
8
|
+
sections: any;
|
|
9
|
+
}, context: any): JSX.Element;
|
|
10
|
+
declare namespace ProgressWrapper {
|
|
11
|
+
namespace contextTypes {
|
|
12
|
+
const translate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
}
|
|
14
|
+
namespace propTypes {
|
|
15
|
+
const title: PropTypes.Requireable<string>;
|
|
16
|
+
const subtitle: PropTypes.Requireable<string>;
|
|
17
|
+
const completedCourses: PropTypes.Requireable<number>;
|
|
18
|
+
const completedModules: PropTypes.Requireable<number>;
|
|
19
|
+
const progression: PropTypes.Requireable<number>;
|
|
20
|
+
const sections: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
21
|
+
type: PropTypes.Requireable<string>;
|
|
22
|
+
badgeUrl: PropTypes.Requireable<string>;
|
|
23
|
+
onDownload: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
+
stars: PropTypes.Requireable<number>;
|
|
25
|
+
}> | null | undefined)[]>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
import PropTypes from "prop-types";
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/progress-wrapper/index.js"],"names":[],"mappings":";AAyFA;;;;;;;8BA8DC"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
|
|
7
|
+
|
|
8
|
+
var _lowerCase2 = _interopRequireDefault(require("lodash/fp/lowerCase"));
|
|
9
|
+
|
|
10
|
+
var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
|
+
|
|
16
|
+
var _title = _interopRequireDefault(require("../../atom/title"));
|
|
17
|
+
|
|
18
|
+
var _progressBar = _interopRequireDefault(require("../progress-bar"));
|
|
19
|
+
|
|
20
|
+
var _colors = require("../../variables/colors");
|
|
21
|
+
|
|
22
|
+
var _tag = _interopRequireDefault(require("../../atom/tag"));
|
|
23
|
+
|
|
24
|
+
var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
25
|
+
|
|
26
|
+
var _icon = _interopRequireDefault(require("../../atom/icon"));
|
|
27
|
+
|
|
28
|
+
var _provider = _interopRequireDefault(require("../../atom/provider"));
|
|
29
|
+
|
|
30
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
31
|
+
|
|
32
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
|
+
|
|
34
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
35
|
+
|
|
36
|
+
const uncappedMap = _map2.default.convert({
|
|
37
|
+
cap: false
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
const DetailSection = ({
|
|
41
|
+
index,
|
|
42
|
+
type,
|
|
43
|
+
isLocked,
|
|
44
|
+
badgeUrl,
|
|
45
|
+
onDownload,
|
|
46
|
+
stars
|
|
47
|
+
}, context) => {
|
|
48
|
+
const {
|
|
49
|
+
translate
|
|
50
|
+
} = context;
|
|
51
|
+
const isTypeStars = type === 'stars';
|
|
52
|
+
|
|
53
|
+
const DownloadButton = /*#__PURE__*/_react.default.createElement(_buttonLink.default, {
|
|
54
|
+
label: translate('download'),
|
|
55
|
+
onClick: onDownload,
|
|
56
|
+
"data-name": "download-button",
|
|
57
|
+
"aria-label": "download button",
|
|
58
|
+
customStyle: {
|
|
59
|
+
backgroundColor: '#F1F6FE',
|
|
60
|
+
color: '#0061FF'
|
|
61
|
+
},
|
|
62
|
+
icon: {
|
|
63
|
+
position: 'left',
|
|
64
|
+
faIcon: {
|
|
65
|
+
name: 'download',
|
|
66
|
+
color: '#0061FF',
|
|
67
|
+
size: 14,
|
|
68
|
+
customStyle: {
|
|
69
|
+
padding: 0
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
disabled: isLocked
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
const LockedTag = /*#__PURE__*/_react.default.createElement(_tag.default, {
|
|
77
|
+
label: "Locked",
|
|
78
|
+
size: "S",
|
|
79
|
+
icon: {
|
|
80
|
+
position: 'left',
|
|
81
|
+
iconName: 'lock',
|
|
82
|
+
iconColor: '#515161',
|
|
83
|
+
preset: 's',
|
|
84
|
+
customStyle: {
|
|
85
|
+
padding: 0
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
return isTypeStars ? /*#__PURE__*/_react.default.createElement("div", {
|
|
91
|
+
className: _style.default[`detailsSection${index}`]
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
93
|
+
className: _style.default.detailsInfo
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
95
|
+
className: _style.default.detailsInfoText
|
|
96
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
97
|
+
className: _style.default.detailsTitle
|
|
98
|
+
}, translate('bonus_stars')), isLocked ? LockedTag : null), /*#__PURE__*/_react.default.createElement("div", {
|
|
99
|
+
className: _style.default.stars
|
|
100
|
+
}, /*#__PURE__*/_react.default.createElement(_icon.default, {
|
|
101
|
+
iconName: "star",
|
|
102
|
+
iconColor: "#FFCE0A",
|
|
103
|
+
backgroundColor: "#FFF9D1",
|
|
104
|
+
preset: "xl"
|
|
105
|
+
}), /*#__PURE__*/_react.default.createElement("span", null, stars)))) : /*#__PURE__*/_react.default.createElement("div", {
|
|
106
|
+
className: _style.default[`detailsSection${index}`]
|
|
107
|
+
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
108
|
+
className: _style.default.img,
|
|
109
|
+
src: badgeUrl || 'https://s3.eu-west-1.amazonaws.com/static.coorpacademy.com/assets/images/diploma.svg'
|
|
110
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
111
|
+
className: _style.default.detailsInfo
|
|
112
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
113
|
+
className: _style.default.detailsInfoText
|
|
114
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
115
|
+
className: _style.default.detailsTitle
|
|
116
|
+
}, type === 'diploma' ? translate('diploma') : translate('badge')), isLocked ? LockedTag : null), /*#__PURE__*/_react.default.createElement("div", {
|
|
117
|
+
className: _style.default.buttonContainer
|
|
118
|
+
}, DownloadButton)));
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const ProgressWrapper = ({
|
|
122
|
+
completedCourses,
|
|
123
|
+
completedModules,
|
|
124
|
+
title,
|
|
125
|
+
subtitle,
|
|
126
|
+
progression,
|
|
127
|
+
sections
|
|
128
|
+
}, context) => {
|
|
129
|
+
const {
|
|
130
|
+
translate
|
|
131
|
+
} = context;
|
|
132
|
+
const modulesCompletedLocal = translate('modules_completed');
|
|
133
|
+
const isLocked = progression !== 100;
|
|
134
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
135
|
+
className: _style.default.container
|
|
136
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
137
|
+
className: _style.default.titleContainer
|
|
138
|
+
}, /*#__PURE__*/_react.default.createElement(_title.default, {
|
|
139
|
+
type: "form-group",
|
|
140
|
+
titleSize: "medium",
|
|
141
|
+
title: title,
|
|
142
|
+
subtitle: subtitle
|
|
143
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
144
|
+
className: _style.default.statscontainer
|
|
145
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
146
|
+
className: _style.default.stats
|
|
147
|
+
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("span", {
|
|
148
|
+
className: _style.default.statsNumber
|
|
149
|
+
}, completedCourses), (0, _lowerCase2.default)(translate('courses_completed'))), /*#__PURE__*/_react.default.createElement("div", {
|
|
150
|
+
className: _style.default.divider
|
|
151
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
152
|
+
className: _style.default.statsModule
|
|
153
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
154
|
+
className: _style.default.statsNumber
|
|
155
|
+
}, completedModules), modulesCompletedLocal)), /*#__PURE__*/_react.default.createElement("div", {
|
|
156
|
+
className: _style.default.progression
|
|
157
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
158
|
+
className: _style.default.statsNumber
|
|
159
|
+
}, progression, "%"))), /*#__PURE__*/_react.default.createElement(_progressBar.default, {
|
|
160
|
+
className: _style.default.customProgressBar,
|
|
161
|
+
style: {
|
|
162
|
+
backgroundColor: _colors.COLORS.positive
|
|
163
|
+
},
|
|
164
|
+
displayInfo: false,
|
|
165
|
+
value: progression,
|
|
166
|
+
max: 100
|
|
167
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
168
|
+
className: _style.default.statsMobile
|
|
169
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
170
|
+
className: _style.default.statsModuleMobile
|
|
171
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
172
|
+
className: _style.default.statsNumber
|
|
173
|
+
}, completedModules), modulesCompletedLocal), /*#__PURE__*/_react.default.createElement("div", {
|
|
174
|
+
className: _style.default.statsProgressionMobile
|
|
175
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
176
|
+
className: _style.default.statsNumber
|
|
177
|
+
}, progression, "%"))), (0, _isEmpty2.default)(sections) ? null : /*#__PURE__*/_react.default.createElement("div", {
|
|
178
|
+
className: _style.default.details
|
|
179
|
+
}, uncappedMap(({
|
|
180
|
+
type,
|
|
181
|
+
stars,
|
|
182
|
+
badgeUrl,
|
|
183
|
+
onDownload
|
|
184
|
+
}, index) => /*#__PURE__*/_react.default.createElement(DetailSection, {
|
|
185
|
+
type,
|
|
186
|
+
isLocked,
|
|
187
|
+
badgeUrl,
|
|
188
|
+
onDownload,
|
|
189
|
+
stars,
|
|
190
|
+
key: `${type}-${index}`,
|
|
191
|
+
index: index
|
|
192
|
+
}), sections)));
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
const commonDetailSectionPropTypes = process.env.NODE_ENV !== "production" ? {
|
|
196
|
+
type: _propTypes.default.oneOf(['diploma', 'badge', 'stars']),
|
|
197
|
+
badgeUrl: _propTypes.default.string,
|
|
198
|
+
onDownload: _propTypes.default.func,
|
|
199
|
+
stars: _propTypes.default.number
|
|
200
|
+
} : {};
|
|
201
|
+
DetailSection.contextTypes = {
|
|
202
|
+
translate: _provider.default.childContextTypes.translate
|
|
203
|
+
};
|
|
204
|
+
DetailSection.propTypes = process.env.NODE_ENV !== "production" ? _extends({
|
|
205
|
+
index: _propTypes.default.number,
|
|
206
|
+
isLocked: _propTypes.default.bool
|
|
207
|
+
}, commonDetailSectionPropTypes) : {};
|
|
208
|
+
ProgressWrapper.contextTypes = {
|
|
209
|
+
translate: _provider.default.childContextTypes.translate
|
|
210
|
+
};
|
|
211
|
+
ProgressWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
212
|
+
title: _propTypes.default.string,
|
|
213
|
+
subtitle: _propTypes.default.string,
|
|
214
|
+
completedCourses: _propTypes.default.number,
|
|
215
|
+
completedModules: _propTypes.default.number,
|
|
216
|
+
progression: _propTypes.default.number,
|
|
217
|
+
sections: _propTypes.default.arrayOf(_propTypes.default.shape(commonDetailSectionPropTypes))
|
|
218
|
+
} : {};
|
|
219
|
+
var _default = ProgressWrapper;
|
|
220
|
+
exports.default = _default;
|
|
221
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["uncappedMap","convert","cap","DetailSection","index","type","isLocked","badgeUrl","onDownload","stars","context","translate","isTypeStars","DownloadButton","backgroundColor","color","position","faIcon","name","size","customStyle","padding","LockedTag","iconName","iconColor","preset","style","detailsInfo","detailsInfoText","detailsTitle","img","buttonContainer","ProgressWrapper","completedCourses","completedModules","title","subtitle","progression","sections","modulesCompletedLocal","container","titleContainer","statscontainer","stats","statsNumber","divider","statsModule","customProgressBar","COLORS","positive","statsMobile","statsModuleMobile","statsProgressionMobile","details","commonDetailSectionPropTypes","PropTypes","oneOf","string","func","number","contextTypes","Provider","childContextTypes","propTypes","bool","arrayOf","shape"],"sources":["../../../src/molecule/progress-wrapper/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, lowerCase, map} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport ProgressBar from '../progress-bar';\nimport {COLORS} from '../../variables/colors';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport Icon from '../../atom/icon';\nimport Provider from '../../atom/provider';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst uncappedMap = map.convert({cap: false});\n\nconst DetailSection = ({index, type, isLocked, badgeUrl, onDownload, stars}, context) => {\n const {translate} = context;\n const isTypeStars = type === 'stars';\n\n const DownloadButton = (\n <ButtonLink\n label={translate('download')}\n onClick={onDownload}\n data-name=\"download-button\"\n aria-label=\"download button\"\n customStyle={{backgroundColor: '#F1F6FE', color: '#0061FF'}}\n icon={{\n position: 'left',\n faIcon: {\n name: 'download',\n color: '#0061FF',\n size: 14,\n customStyle: {padding: 0}\n }\n }}\n disabled={isLocked}\n />\n );\n\n const LockedTag = (\n <Tag\n label=\"Locked\"\n size=\"S\"\n icon={{\n position: 'left',\n iconName: 'lock',\n iconColor: '#515161',\n preset: 's',\n customStyle: {padding: 0}\n }}\n />\n );\n\n return isTypeStars ? (\n <div className={style[`detailsSection${index}`]}>\n <div className={style.detailsInfo}>\n <div className={style.detailsInfoText}>\n <span className={style.detailsTitle}>{translate('bonus_stars')}</span>\n {isLocked ? LockedTag : null}\n </div>\n <div className={style.stars}>\n <Icon iconName=\"star\" iconColor=\"#FFCE0A\" backgroundColor=\"#FFF9D1\" preset=\"xl\" />\n <span>{stars}</span>\n </div>\n </div>\n </div>\n ) : (\n <div className={style[`detailsSection${index}`]}>\n <img\n className={style.img}\n src={\n badgeUrl ||\n 'https://s3.eu-west-1.amazonaws.com/static.coorpacademy.com/assets/images/diploma.svg'\n }\n />\n <div className={style.detailsInfo}>\n <div className={style.detailsInfoText}>\n <span className={style.detailsTitle}>\n {type === 'diploma' ? translate('diploma') : translate('badge')}\n </span>\n {isLocked ? LockedTag : null}\n </div>\n\n <div className={style.buttonContainer}>{DownloadButton}</div>\n </div>\n </div>\n );\n};\n\nconst ProgressWrapper = (\n {completedCourses, completedModules, title, subtitle, progression, sections},\n context\n) => {\n const {translate} = context;\n const modulesCompletedLocal = translate('modules_completed');\n const isLocked = progression !== 100;\n\n return (\n <div className={style.container}>\n <div className={style.titleContainer}>\n <Title type=\"form-group\" titleSize=\"medium\" title={title} subtitle={subtitle} />\n </div>\n <div className={style.statscontainer}>\n <div className={style.stats}>\n <div>\n <span className={style.statsNumber}>{completedCourses}</span>\n {lowerCase(translate('courses_completed'))}\n </div>\n <div className={style.divider} />\n <div className={style.statsModule}>\n <span className={style.statsNumber}>{completedModules}</span>\n {modulesCompletedLocal}\n </div>\n </div>\n <div className={style.progression}>\n <span className={style.statsNumber}>{progression}%</span>\n </div>\n </div>\n <ProgressBar\n className={style.customProgressBar}\n style={{backgroundColor: COLORS.positive}}\n displayInfo={false}\n value={progression}\n max={100}\n />\n <div className={style.statsMobile}>\n <div className={style.statsModuleMobile}>\n <span className={style.statsNumber}>{completedModules}</span>\n {modulesCompletedLocal}\n </div>\n <div className={style.statsProgressionMobile}>\n <span className={style.statsNumber}>{progression}%</span>\n </div>\n </div>\n\n {isEmpty(sections) ? null : (\n <div className={style.details}>\n {uncappedMap(\n ({type, stars, badgeUrl, onDownload}, index) => (\n <DetailSection\n {...{type, isLocked, badgeUrl, onDownload, stars}}\n key={`${type}-${index}`}\n index={index}\n />\n ),\n sections\n )}\n </div>\n )}\n </div>\n );\n};\n\nconst commonDetailSectionPropTypes = {\n type: PropTypes.oneOf(['diploma', 'badge', 'stars']),\n badgeUrl: PropTypes.string,\n onDownload: PropTypes.func,\n stars: PropTypes.number\n};\n\nDetailSection.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nDetailSection.propTypes = {\n index: PropTypes.number,\n isLocked: PropTypes.bool,\n ...commonDetailSectionPropTypes\n};\n\nProgressWrapper.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nProgressWrapper.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string,\n completedCourses: PropTypes.number,\n completedModules: PropTypes.number,\n progression: PropTypes.number,\n sections: PropTypes.arrayOf(PropTypes.shape(commonDetailSectionPropTypes))\n};\n\nexport default ProgressWrapper;\n"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,WAAW,GAAG,cAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,CAApB;;AAEA,MAAMC,aAAa,GAAG,CAAC;EAACC,KAAD;EAAQC,IAAR;EAAcC,QAAd;EAAwBC,QAAxB;EAAkCC,UAAlC;EAA8CC;AAA9C,CAAD,EAAuDC,OAAvD,KAAmE;EACvF,MAAM;IAACC;EAAD,IAAcD,OAApB;EACA,MAAME,WAAW,GAAGP,IAAI,KAAK,OAA7B;;EAEA,MAAMQ,cAAc,gBAClB,6BAAC,mBAAD;IACE,KAAK,EAAEF,SAAS,CAAC,UAAD,CADlB;IAEE,OAAO,EAAEH,UAFX;IAGE,aAAU,iBAHZ;IAIE,cAAW,iBAJb;IAKE,WAAW,EAAE;MAACM,eAAe,EAAE,SAAlB;MAA6BC,KAAK,EAAE;IAApC,CALf;IAME,IAAI,EAAE;MACJC,QAAQ,EAAE,MADN;MAEJC,MAAM,EAAE;QACNC,IAAI,EAAE,UADA;QAENH,KAAK,EAAE,SAFD;QAGNI,IAAI,EAAE,EAHA;QAINC,WAAW,EAAE;UAACC,OAAO,EAAE;QAAV;MAJP;IAFJ,CANR;IAeE,QAAQ,EAAEf;EAfZ,EADF;;EAoBA,MAAMgB,SAAS,gBACb,6BAAC,YAAD;IACE,KAAK,EAAC,QADR;IAE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AQ,EAAEiD,kBAAA,CAAUS;AAFtB,GAGKV,4BAHL;AAMAtB,eAAe,CAAC4B,YAAhB,GAA+B;EAC7BjD,SAAS,EAAEkD,iBAAA,CAASC,iBAAT,CAA2BnD;AADT,CAA/B;AAIAqB,eAAe,CAAC+B,SAAhB,2CAA4B;EAC1B5B,KAAK,EAAEoB,kBAAA,CAAUE,MADS;EAE1BrB,QAAQ,EAAEmB,kBAAA,CAAUE,MAFM;EAG1BxB,gBAAgB,EAAEsB,kBAAA,CAAUI,MAHF;EAI1BzB,gBAAgB,EAAEqB,kBAAA,CAAUI,MAJF;EAK1BtB,WAAW,EAAEkB,kBAAA,CAAUI,MALG;EAM1BrB,QAAQ,EAAEiB,kBAAA,CAAUU,OAAV,CAAkBV,kBAAA,CAAUW,KAAV,CAAgBZ,4BAAhB,CAAlB;AANgB,CAA5B;eASetB,e"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
|
+
@value white from colors;
|
|
6
|
+
@value xtraLightGrey from colors;
|
|
7
|
+
@value cm_grey_100 from colors;
|
|
8
|
+
@value cm_grey_400 from colors;
|
|
9
|
+
@value cm_grey_500 from colors;
|
|
10
|
+
|
|
11
|
+
.container {
|
|
12
|
+
border-radius: 16px;
|
|
13
|
+
font-family: Gilroy;
|
|
14
|
+
background-color: xtraLightGrey;
|
|
15
|
+
padding: 32px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.titleContainer {
|
|
19
|
+
padding-bottom: 24px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.statscontainer {
|
|
23
|
+
width: 100%;
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: center;
|
|
27
|
+
padding-bottom: 16px;
|
|
28
|
+
color: cm_grey_400;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.statsNumber {
|
|
33
|
+
color: cm_grey_500;
|
|
34
|
+
padding-right: 4px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.stats {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: space-between;
|
|
41
|
+
gap: 16px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.divider {
|
|
45
|
+
width: 4px;
|
|
46
|
+
height: 4px;
|
|
47
|
+
background-color: #d7d7da;
|
|
48
|
+
border: solid #d7d7da 1px;
|
|
49
|
+
border-radius: 4px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.progression {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: end;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.customProgressBar {
|
|
58
|
+
height: 8px;
|
|
59
|
+
background-color: cm_grey_100;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.details {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: space-between;
|
|
65
|
+
align-items: "center";
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
padding-top: 24px;
|
|
68
|
+
gap: 16px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.detailsSectionCommon {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
border-radius: 20px;
|
|
75
|
+
gap: 20px;
|
|
76
|
+
padding: 16px;
|
|
77
|
+
background-color: white;
|
|
78
|
+
height: 114px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.detailsSection0 {
|
|
82
|
+
composes: detailsSectionCommon;
|
|
83
|
+
flex: 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.detailsSection1 {
|
|
87
|
+
composes: detailsSection0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.detailsSection2 {
|
|
91
|
+
composes: detailsSectionCommon;
|
|
92
|
+
width: 245px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.detailsInfo {
|
|
96
|
+
height: 100%;
|
|
97
|
+
width: 100%;
|
|
98
|
+
background-color: white;
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
justify-content: space-between;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.detailsInfoText {
|
|
105
|
+
display: flex;
|
|
106
|
+
justify-content: space-between;
|
|
107
|
+
width: 100%;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.detailsTitle {
|
|
111
|
+
font-family: Gilroy;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.img {
|
|
117
|
+
height: 100%;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.buttonContainer {
|
|
121
|
+
width: fit-content;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.stars {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 16px;
|
|
128
|
+
font-size: 32px;
|
|
129
|
+
font-weight: 700;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.statsMobile {
|
|
133
|
+
display: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.statsModuleMobile {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.statsProgressionMobile {
|
|
141
|
+
composes: progression;
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media mobile, tablet {
|
|
146
|
+
.details {
|
|
147
|
+
flex-wrap: wrap;
|
|
148
|
+
}
|
|
149
|
+
.detailsSection2 {
|
|
150
|
+
flex: 1;
|
|
151
|
+
}
|
|
152
|
+
.detailsSection0 > img {
|
|
153
|
+
width: 120px;
|
|
154
|
+
}
|
|
155
|
+
.detailsSection1 > img {
|
|
156
|
+
width: 80px;
|
|
157
|
+
height: 80px;
|
|
158
|
+
}
|
|
159
|
+
.detailsInfo {
|
|
160
|
+
justify-content: space-around;
|
|
161
|
+
gap: 0;
|
|
162
|
+
}
|
|
163
|
+
.divider {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
.statsModule {
|
|
167
|
+
display: none;
|
|
168
|
+
}
|
|
169
|
+
.progression {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
172
|
+
.statsProgressionMobile {
|
|
173
|
+
display: block;
|
|
174
|
+
}
|
|
175
|
+
.statsModuleMobile {
|
|
176
|
+
display: block;
|
|
177
|
+
}
|
|
178
|
+
.statsMobile {
|
|
179
|
+
display: flex;
|
|
180
|
+
justify-content: space-between;
|
|
181
|
+
padding-top: 16px;
|
|
182
|
+
color: cm_grey_400;
|
|
183
|
+
font-weight: 600;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -24,8 +24,9 @@ declare namespace TitleAndCheckBoxWrapper {
|
|
|
24
24
|
type: PropTypes.Requireable<string>;
|
|
25
25
|
size: PropTypes.Requireable<string>;
|
|
26
26
|
customStyle: PropTypes.Requireable<{
|
|
27
|
-
[x: string]: string | null | undefined;
|
|
27
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
28
28
|
}>;
|
|
29
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
29
30
|
}>>;
|
|
30
31
|
}>>;
|
|
31
32
|
const child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -17,8 +17,9 @@ declare const TitleRadioWrapper: {
|
|
|
17
17
|
type: import("prop-types").Requireable<string>;
|
|
18
18
|
size: import("prop-types").Requireable<string>;
|
|
19
19
|
customStyle: import("prop-types").Requireable<{
|
|
20
|
-
[x: string]: string | null | undefined;
|
|
20
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
21
21
|
}>;
|
|
22
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<any>>;
|
|
22
23
|
}>>;
|
|
23
24
|
}>>>;
|
|
24
25
|
name: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAqB1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
|
|
@@ -17,8 +17,9 @@ declare const propTypes: {
|
|
|
17
17
|
type: PropTypes.Requireable<string>;
|
|
18
18
|
size: PropTypes.Requireable<string>;
|
|
19
19
|
customStyle: PropTypes.Requireable<{
|
|
20
|
-
[x: string]: string | null | undefined;
|
|
20
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
21
21
|
}>;
|
|
22
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
22
23
|
}>>;
|
|
23
24
|
}>>>;
|
|
24
25
|
name: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-radio-wrapper/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mCAAmC,CAAC;AACtE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAEhD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOd,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,cAAc,EAAE,mBAAmB,CAAC;IACpC,KAAK,EAAE,OAAO,cAAc,CAAC,SAAS,GAAG,OAAO,kBAAkB,CAAC,SAAS,CAAC;IAC7E,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;CACjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -27,8 +27,9 @@ declare namespace RewardsForm {
|
|
|
27
27
|
type: PropTypes.Requireable<string>;
|
|
28
28
|
size: PropTypes.Requireable<string>;
|
|
29
29
|
customStyle: PropTypes.Requireable<{
|
|
30
|
-
[x: string]: string | null | undefined;
|
|
30
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
31
31
|
}>;
|
|
32
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
32
33
|
}>>;
|
|
33
34
|
}>>;
|
|
34
35
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -26,8 +26,9 @@ declare const SelectOpponents: {
|
|
|
26
26
|
type: import("prop-types").Requireable<string>;
|
|
27
27
|
size: import("prop-types").Requireable<string>;
|
|
28
28
|
customStyle: import("prop-types").Requireable<{
|
|
29
|
-
[x: string]: string | null | undefined;
|
|
29
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
30
30
|
}>;
|
|
31
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<any>>;
|
|
31
32
|
}>>;
|
|
32
33
|
}>>;
|
|
33
34
|
child: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -23,8 +23,9 @@ export declare const propTypes: {
|
|
|
23
23
|
type: PropTypes.Requireable<string>;
|
|
24
24
|
size: PropTypes.Requireable<string>;
|
|
25
25
|
customStyle: PropTypes.Requireable<{
|
|
26
|
-
[x: string]: string | null | undefined;
|
|
26
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
27
27
|
}>;
|
|
28
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
28
29
|
}>>;
|
|
29
30
|
}>>;
|
|
30
31
|
child: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|