@coorpacademy/components 11.12.2 → 11.12.3-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/molecule/expandable-item/index.d.ts +26 -0
- package/es/molecule/expandable-item/index.d.ts.map +1 -0
- package/es/molecule/expandable-item/index.js +51 -0
- package/es/molecule/expandable-item/index.js.map +1 -0
- package/es/molecule/expandable-item/style.css +129 -0
- package/es/molecule/expandable-list/index.d.ts +16 -0
- package/es/molecule/expandable-list/index.d.ts.map +1 -0
- package/es/molecule/expandable-list/index.js +32 -0
- package/es/molecule/expandable-list/index.js.map +1 -0
- package/es/molecule/expandable-list/style.css +21 -0
- package/es/molecule/hero/index.d.ts +2 -0
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/hero/index.js +14 -4
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/style.css +42 -0
- package/es/molecule/menu-links/index.d.ts +18 -0
- package/es/molecule/menu-links/index.d.ts.map +1 -0
- package/es/molecule/menu-links/index.js +43 -0
- package/es/molecule/menu-links/index.js.map +1 -0
- package/es/molecule/menu-links/style.css +87 -0
- package/es/molecule/privacy-policy-contact/index.d.ts +18 -0
- package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/es/molecule/privacy-policy-contact/index.js +31 -0
- package/es/molecule/privacy-policy-contact/index.js.map +1 -0
- package/es/molecule/privacy-policy-contact/style.css +37 -0
- package/es/molecule/privacy-policy-download/index.d.ts +30 -0
- package/es/molecule/privacy-policy-download/index.d.ts.map +1 -0
- package/es/molecule/privacy-policy-download/index.js +31 -0
- package/es/molecule/privacy-policy-download/index.js.map +1 -0
- package/es/molecule/privacy-policy-download/style.css +65 -0
- package/es/template/common/privacy-policy-page/index.d.ts +59 -0
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/es/template/common/privacy-policy-page/index.js +47 -0
- package/es/template/common/privacy-policy-page/index.js.map +1 -0
- package/es/template/common/privacy-policy-page/style.css +78 -0
- package/lib/molecule/expandable-item/index.d.ts +26 -0
- package/lib/molecule/expandable-item/index.d.ts.map +1 -0
- package/lib/molecule/expandable-item/index.js +66 -0
- package/lib/molecule/expandable-item/index.js.map +1 -0
- package/lib/molecule/expandable-item/style.css +129 -0
- package/lib/molecule/expandable-list/index.d.ts +16 -0
- package/lib/molecule/expandable-list/index.d.ts.map +1 -0
- package/lib/molecule/expandable-list/index.js +46 -0
- package/lib/molecule/expandable-list/index.js.map +1 -0
- package/lib/molecule/expandable-list/style.css +21 -0
- package/lib/molecule/hero/index.d.ts +2 -0
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.js +14 -4
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/style.css +42 -0
- package/lib/molecule/menu-links/index.d.ts +18 -0
- package/lib/molecule/menu-links/index.d.ts.map +1 -0
- package/lib/molecule/menu-links/index.js +54 -0
- package/lib/molecule/menu-links/index.js.map +1 -0
- package/lib/molecule/menu-links/style.css +87 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts +18 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-contact/index.js +44 -0
- package/lib/molecule/privacy-policy-contact/index.js.map +1 -0
- package/lib/molecule/privacy-policy-contact/style.css +37 -0
- package/lib/molecule/privacy-policy-download/index.d.ts +30 -0
- package/lib/molecule/privacy-policy-download/index.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-download/index.js +42 -0
- package/lib/molecule/privacy-policy-download/index.js.map +1 -0
- package/lib/molecule/privacy-policy-download/style.css +65 -0
- package/lib/template/common/privacy-policy-page/index.d.ts +59 -0
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/lib/template/common/privacy-policy-page/index.js +61 -0
- package/lib/template/common/privacy-policy-page/index.js.map +1 -0
- package/lib/template/common/privacy-policy-page/style.css +78 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["ICONS","arrow","ArrowIcon","ExpandableList","items","styles","list","map","item","index","expandableItem","propTypes","PropTypes","arrayOf","ExpandableItem"],"sources":["../../../src/molecule/expandable-list/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {NovaCompositionNavigationArrowDown as ArrowIcon} from '@coorpacademy/nova-icons';\nimport ExpandableItem from '../expandable-item';\nimport styles from './style.css';\n\nexport const ICONS = {\n arrow: ArrowIcon\n};\n\nconst ExpandableList = ({items}) => {\n return (\n <ul className={styles.list} data-name=\"expandable-item\">\n {items.map((item, index) => {\n return (\n <li key={`menu-link-item-${index}`} className={styles.item}>\n <ExpandableItem {...item} className={styles.expandableItem} />\n </li>\n );\n })}\n </ul>\n );\n};\n\nExpandableList.propTypes = {\n items: PropTypes.arrayOf(ExpandableItem.propTypes)\n};\n\nexport default ExpandableList;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEO,MAAMA,KAAK,GAAG;EACnBC,KAAK,EAAEC;AADY,CAAd;;;AAIP,MAAMC,cAAc,GAAG,CAAC;EAACC;AAAD,CAAD,KAAa;EAClC,oBACE;IAAI,SAAS,EAAEC,cAAA,CAAOC,IAAtB;IAA4B,aAAU;EAAtC,GACGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,KAAiB;IAC1B,oBACE;MAAI,GAAG,EAAG,kBAAiBA,KAAM,EAAjC;MAAoC,SAAS,EAAEJ,cAAA,CAAOG;IAAtD,gBACE,6BAAC,uBAAD,eAAoBA,IAApB;MAA0B,SAAS,EAAEH,cAAA,CAAOK;IAA5C,GADF,CADF;EAKD,CANA,CADH,CADF;AAWD,CAZD;;AAcAP,cAAc,CAACQ,SAAf,2CAA2B;EACzBP,KAAK,EAAEQ,kBAAA,CAAUC,OAAV,CAAkBC,uBAAA,CAAeH,SAAjC;AADkB,CAA3B;eAIeR,c"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
|
+
@value cm_primary_blue from colors;
|
|
6
|
+
@value cm_grey_500 from colors;
|
|
7
|
+
@value cm_grey_800 from colors;
|
|
8
|
+
|
|
9
|
+
.list {
|
|
10
|
+
list-style: none;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
gap: 24px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.item {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
margin-bottom: 24px;
|
|
21
|
+
}
|
|
@@ -26,6 +26,8 @@ declare namespace Hero {
|
|
|
26
26
|
}
|
|
27
27
|
namespace propTypes {
|
|
28
28
|
const image: PropTypes.Requireable<string>;
|
|
29
|
+
const mode: PropTypes.Requireable<string>;
|
|
30
|
+
const description: PropTypes.Requireable<string>;
|
|
29
31
|
const title: PropTypes.Requireable<string>;
|
|
30
32
|
const author: PropTypes.Requireable<string>;
|
|
31
33
|
const progress: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/hero/index.js"],"names":[],"mappings":";AASA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/hero/index.js"],"names":[],"mappings":";AASA,6DAkDC"}
|
|
@@ -35,7 +35,9 @@ const Hero = (props, context) => {
|
|
|
35
35
|
author,
|
|
36
36
|
progress,
|
|
37
37
|
onClick,
|
|
38
|
-
submitValue
|
|
38
|
+
submitValue,
|
|
39
|
+
description,
|
|
40
|
+
mode = _cardContent.MODES.HERO
|
|
39
41
|
} = props;
|
|
40
42
|
const primaryColor = (0, _get2.default)('common.primary', skin);
|
|
41
43
|
const cardStyle = (0, _classnames.default)(_style.default.hero, title ? null : _style.default.lazy);
|
|
@@ -51,12 +53,18 @@ const Hero = (props, context) => {
|
|
|
51
53
|
backgroundColor: primaryColor,
|
|
52
54
|
backgroundImage: image ? `url('${image}')` : 'none'
|
|
53
55
|
}
|
|
54
|
-
})), /*#__PURE__*/_react.default.createElement(_cardContent.default, {
|
|
56
|
+
})), mode === _cardContent.MODES.HERO ? /*#__PURE__*/_react.default.createElement(_cardContent.default, {
|
|
55
57
|
mode: _cardContent.MODES.HERO,
|
|
56
58
|
author: author,
|
|
57
59
|
progress: progress,
|
|
58
60
|
title: title
|
|
59
|
-
})
|
|
61
|
+
}) : /*#__PURE__*/_react.default.createElement("div", {
|
|
62
|
+
className: _style.default.infoWrapper
|
|
63
|
+
}, /*#__PURE__*/_react.default.createElement("h1", {
|
|
64
|
+
className: _style.default.title
|
|
65
|
+
}, title), /*#__PURE__*/_react.default.createElement("p", {
|
|
66
|
+
className: _style.default.description
|
|
67
|
+
}, description)), mode === _cardContent.MODES.HERO ? /*#__PURE__*/_react.default.createElement("div", {
|
|
60
68
|
className: _style.default.heroButtonWrapper
|
|
61
69
|
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
62
70
|
type: "link",
|
|
@@ -67,7 +75,7 @@ const Hero = (props, context) => {
|
|
|
67
75
|
style: {
|
|
68
76
|
backgroundColor: primaryColor
|
|
69
77
|
}
|
|
70
|
-
})));
|
|
78
|
+
})) : null);
|
|
71
79
|
};
|
|
72
80
|
|
|
73
81
|
Hero.contextTypes = {
|
|
@@ -75,6 +83,8 @@ Hero.contextTypes = {
|
|
|
75
83
|
};
|
|
76
84
|
Hero.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
77
85
|
image: _propTypes.default.string,
|
|
86
|
+
mode: _propTypes.default.string,
|
|
87
|
+
description: _propTypes.default.string,
|
|
78
88
|
title: _cardContent.default.propTypes.title,
|
|
79
89
|
author: _cardContent.default.propTypes.author,
|
|
80
90
|
progress: _cardContent.default.propTypes.progress,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Hero","props","context","skin","image","title","author","progress","onClick","submitValue","primaryColor","cardStyle","classnames","style","hero","lazy","imageWrapper","backgroundColor","backgroundImage","
|
|
1
|
+
{"version":3,"file":"index.js","names":["Hero","props","context","skin","image","title","author","progress","onClick","submitValue","description","mode","MODES","HERO","primaryColor","cardStyle","classnames","style","hero","lazy","imageWrapper","backgroundColor","backgroundImage","infoWrapper","heroButtonWrapper","heroButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","CardContentInfo","Button"],"sources":["../../../src/molecule/hero/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Button from '../../atom/button';\nimport CardContentInfo, {MODES} from '../card-content';\nimport style from './style.css';\n\nconst Hero = (props, context) => {\n const {skin} = context;\n const {\n image,\n title,\n author,\n progress,\n onClick,\n submitValue,\n description,\n mode = MODES.HERO\n } = props;\n\n const primaryColor = get('common.primary', skin);\n const cardStyle = classnames(style.hero, title ? null : style.lazy);\n\n return (\n <div className={cardStyle} data-name=\"hero\">\n <div className={style.imageWrapper}>\n <div\n data-name=\"cover\"\n className={style.image}\n style={{\n backgroundColor: primaryColor,\n backgroundImage: image ? `url('${image}')` : 'none'\n }}\n />\n </div>\n {mode === MODES.HERO ? (\n <CardContentInfo mode={MODES.HERO} author={author} progress={progress} title={title} />\n ) : (\n <div className={style.infoWrapper}>\n <h1 className={style.title}>{title}</h1>\n <p className={style.description}>{description}</p>\n </div>\n )}\n {mode === MODES.HERO ? (\n <div className={style.heroButtonWrapper}>\n <Button\n type=\"link\"\n data-name=\"hero-button\"\n onClick={onClick}\n submitValue={submitValue}\n className={style.heroButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nHero.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nHero.propTypes = {\n image: PropTypes.string,\n mode: PropTypes.string,\n description: PropTypes.string,\n title: CardContentInfo.propTypes.title,\n author: CardContentInfo.propTypes.author,\n progress: CardContentInfo.propTypes.progress,\n onClick: Button.propTypes.onClick,\n submitValue: Button.propTypes.submitValue\n};\n\nexport default Hero;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,IAAI,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC/B,MAAM;IAACC;EAAD,IAASD,OAAf;EACA,MAAM;IACJE,KADI;IAEJC,KAFI;IAGJC,MAHI;IAIJC,QAJI;IAKJC,OALI;IAMJC,WANI;IAOJC,WAPI;IAQJC,IAAI,GAAGC,kBAAA,CAAMC;EART,IASFZ,KATJ;EAWA,MAAMa,YAAY,GAAG,mBAAI,gBAAJ,EAAsBX,IAAtB,CAArB;EACA,MAAMY,SAAS,GAAG,IAAAC,mBAAA,EAAWC,cAAA,CAAMC,IAAjB,EAAuBb,KAAK,GAAG,IAAH,GAAUY,cAAA,CAAME,IAA5C,CAAlB;EAEA,oBACE;IAAK,SAAS,EAAEJ,SAAhB;IAA2B,aAAU;EAArC,gBACE;IAAK,SAAS,EAAEE,cAAA,CAAMG;EAAtB,gBACE;IACE,aAAU,OADZ;IAEE,SAAS,EAAEH,cAAA,CAAMb,KAFnB;IAGE,KAAK,EAAE;MACLiB,eAAe,EAAEP,YADZ;MAELQ,eAAe,EAAElB,KAAK,GAAI,QAAOA,KAAM,IAAjB,GAAuB;IAFxC;EAHT,EADF,CADF,EAWGO,IAAI,KAAKC,kBAAA,CAAMC,IAAf,gBACC,6BAAC,oBAAD;IAAiB,IAAI,EAAED,kBAAA,CAAMC,IAA7B;IAAmC,MAAM,EAAEP,MAA3C;IAAmD,QAAQ,EAAEC,QAA7D;IAAuE,KAAK,EAAEF;EAA9E,EADD,gBAGC;IAAK,SAAS,EAAEY,cAAA,CAAMM;EAAtB,gBACE;IAAI,SAAS,EAAEN,cAAA,CAAMZ;EAArB,GAA6BA,KAA7B,CADF,eAEE;IAAG,SAAS,EAAEY,cAAA,CAAMP;EAApB,GAAkCA,WAAlC,CAFF,CAdJ,EAmBGC,IAAI,KAAKC,kBAAA,CAAMC,IAAf,gBACC;IAAK,SAAS,EAAEI,cAAA,CAAMO;EAAtB,gBACE,6BAAC,eAAD;IACE,IAAI,EAAC,MADP;IAEE,aAAU,aAFZ;IAGE,OAAO,EAAEhB,OAHX;IAIE,WAAW,EAAEC,WAJf;IAKE,SAAS,EAAEQ,cAAA,CAAMQ,UALnB;IAME,KAAK,EAAE;MAACJ,eAAe,EAAEP;IAAlB;EANT,EADF,CADD,GAWG,IA9BN,CADF;AAkCD,CAlDD;;AAoDAd,IAAI,CAAC0B,YAAL,GAAoB;EAClBvB,IAAI,EAAEwB,iBAAA,CAASC,iBAAT,CAA2BzB;AADf,CAApB;AAIAH,IAAI,CAAC6B,SAAL,2CAAiB;EACfzB,KAAK,EAAE0B,kBAAA,CAAUC,MADF;EAEfpB,IAAI,EAAEmB,kBAAA,CAAUC,MAFD;EAGfrB,WAAW,EAAEoB,kBAAA,CAAUC,MAHR;EAIf1B,KAAK,EAAE2B,oBAAA,CAAgBH,SAAhB,CAA0BxB,KAJlB;EAKfC,MAAM,EAAE0B,oBAAA,CAAgBH,SAAhB,CAA0BvB,MALnB;EAMfC,QAAQ,EAAEyB,oBAAA,CAAgBH,SAAhB,CAA0BtB,QANrB;EAOfC,OAAO,EAAEyB,eAAA,CAAOJ,SAAP,CAAiBrB,OAPX;EAQfC,WAAW,EAAEwB,eAAA,CAAOJ,SAAP,CAAiBpB;AARf,CAAjB;eAWeT,I"}
|
|
@@ -156,3 +156,45 @@
|
|
|
156
156
|
opacity: 0;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
+
|
|
160
|
+
.infoWrapper {
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
position: relative;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
padding: 0 40px;
|
|
166
|
+
width: 100%;
|
|
167
|
+
box-sizing: border-box;
|
|
168
|
+
color: white;
|
|
169
|
+
align-self: center;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.title {
|
|
173
|
+
font-family: Gilroy;
|
|
174
|
+
font-size: 40px;
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
line-height: 48px;
|
|
177
|
+
letter-spacing: 0px;
|
|
178
|
+
text-align: center;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
user-select: none;
|
|
181
|
+
margin: 0;
|
|
182
|
+
align-self: center;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.description {
|
|
186
|
+
text-align: center;
|
|
187
|
+
margin-top: 12px;
|
|
188
|
+
font-size: 17px;
|
|
189
|
+
font-family: Gilroy;
|
|
190
|
+
font-size: 16px;
|
|
191
|
+
font-weight: 400;
|
|
192
|
+
line-height: 24px;
|
|
193
|
+
letter-spacing: 0px;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
user-select: none;
|
|
196
|
+
max-width: 650px;
|
|
197
|
+
padding: 0;
|
|
198
|
+
margin: 0;
|
|
199
|
+
align-self: center;
|
|
200
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default MenuLinks;
|
|
2
|
+
declare function MenuLinks({ items, title }: {
|
|
3
|
+
items: any;
|
|
4
|
+
title: any;
|
|
5
|
+
}): JSX.Element;
|
|
6
|
+
declare namespace MenuLinks {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
const title: PropTypes.Requireable<string>;
|
|
9
|
+
const items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
10
|
+
text: PropTypes.Requireable<string>;
|
|
11
|
+
isSelected: PropTypes.Requireable<boolean>;
|
|
12
|
+
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
isShowMoreItem: PropTypes.Requireable<boolean>;
|
|
14
|
+
}> | null | undefined)[]>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
import PropTypes from "prop-types";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/index.js"],"names":[],"mappings":";AAKA;;;gBAwBC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
const MenuLinks = ({
|
|
17
|
+
items,
|
|
18
|
+
title
|
|
19
|
+
}) => {
|
|
20
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
21
|
+
className: _style.default.container
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement("h2", {
|
|
23
|
+
className: _style.default.title
|
|
24
|
+
}, title), /*#__PURE__*/_react.default.createElement("ul", {
|
|
25
|
+
className: _style.default.list,
|
|
26
|
+
"data-name": "menu-links"
|
|
27
|
+
}, items.map((item, index) => {
|
|
28
|
+
const {
|
|
29
|
+
handleOnclick
|
|
30
|
+
} = item;
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
32
|
+
onClick: handleOnclick,
|
|
33
|
+
key: `menu-link-item-${index}`,
|
|
34
|
+
className: _style.default.item
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
36
|
+
className: item.isSelected ? _style.default.border : null
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
38
|
+
className: (0, _classnames.default)(item.isShowMoreItem ? _style.default.showMoreItem : _style.default.itemText, item.isSelected ? _style.default.selectedItem : undefined)
|
|
39
|
+
}, item.text));
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
MenuLinks.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
44
|
+
title: _propTypes.default.string,
|
|
45
|
+
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
46
|
+
text: _propTypes.default.string,
|
|
47
|
+
isSelected: _propTypes.default.bool,
|
|
48
|
+
handleOnclick: _propTypes.default.func,
|
|
49
|
+
isShowMoreItem: _propTypes.default.bool
|
|
50
|
+
}))
|
|
51
|
+
} : {};
|
|
52
|
+
var _default = MenuLinks;
|
|
53
|
+
exports.default = _default;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["MenuLinks","items","title","styles","container","list","map","item","index","handleOnclick","isSelected","border","classnames","isShowMoreItem","showMoreItem","itemText","selectedItem","undefined","text","propTypes","PropTypes","string","arrayOf","shape","bool","func"],"sources":["../../../src/molecule/menu-links/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport styles from './style.css';\n\nconst MenuLinks = ({items, title}) => {\n return (\n <div className={styles.container}>\n <h2 className={styles.title}>{title}</h2>\n <ul className={styles.list} data-name=\"menu-links\">\n {items.map((item, index) => {\n const {handleOnclick} = item;\n return (\n <li onClick={handleOnclick} key={`menu-link-item-${index}`} className={styles.item}>\n <div className={item.isSelected ? styles.border : null} />\n <span\n className={classnames(\n item.isShowMoreItem ? styles.showMoreItem : styles.itemText,\n item.isSelected ? styles.selectedItem : undefined\n )}\n >\n {item.text}\n </span>\n </li>\n );\n })}\n </ul>\n </div>\n );\n};\n\nMenuLinks.propTypes = {\n title: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n isSelected: PropTypes.bool,\n handleOnclick: PropTypes.func,\n isShowMoreItem: PropTypes.bool\n })\n )\n};\n\nexport default MenuLinks;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;EAACC,KAAD;EAAQC;AAAR,CAAD,KAAoB;EACpC,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAI,SAAS,EAAED,cAAA,CAAOD;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAI,SAAS,EAAEC,cAAA,CAAOE,IAAtB;IAA4B,aAAU;EAAtC,GACGJ,KAAK,CAACK,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,KAAiB;IAC1B,MAAM;MAACC;IAAD,IAAkBF,IAAxB;IACA,oBACE;MAAI,OAAO,EAAEE,aAAb;MAA4B,GAAG,EAAG,kBAAiBD,KAAM,EAAzD;MAA4D,SAAS,EAAEL,cAAA,CAAOI;IAA9E,gBACE;MAAK,SAAS,EAAEA,IAAI,CAACG,UAAL,GAAkBP,cAAA,CAAOQ,MAAzB,GAAkC;IAAlD,EADF,eAEE;MACE,SAAS,EAAE,IAAAC,mBAAA,EACTL,IAAI,CAACM,cAAL,GAAsBV,cAAA,CAAOW,YAA7B,GAA4CX,cAAA,CAAOY,QAD1C,EAETR,IAAI,CAACG,UAAL,GAAkBP,cAAA,CAAOa,YAAzB,GAAwCC,SAF/B;IADb,GAMGV,IAAI,CAACW,IANR,CAFF,CADF;EAaD,CAfA,CADH,CAFF,CADF;AAuBD,CAxBD;;AA0BAlB,SAAS,CAACmB,SAAV,2CAAsB;EACpBjB,KAAK,EAAEkB,kBAAA,CAAUC,MADG;EAEpBpB,KAAK,EAAEmB,kBAAA,CAAUE,OAAV,CACLF,kBAAA,CAAUG,KAAV,CAAgB;IACdL,IAAI,EAAEE,kBAAA,CAAUC,MADF;IAEdX,UAAU,EAAEU,kBAAA,CAAUI,IAFR;IAGdf,aAAa,EAAEW,kBAAA,CAAUK,IAHX;IAIdZ,cAAc,EAAEO,kBAAA,CAAUI;EAJZ,CAAhB,CADK;AAFa,CAAtB;eAYexB,S"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
|
+
@value cm_primary_blue from colors;
|
|
6
|
+
@value cm_grey_500 from colors;
|
|
7
|
+
@value cm_grey_800 from colors;
|
|
8
|
+
|
|
9
|
+
.container {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
padding: 40px 40px 40px 0px;
|
|
14
|
+
gap: 24px;
|
|
15
|
+
background: #FFFFFF;
|
|
16
|
+
border-radius: 10px;
|
|
17
|
+
/* Inside auto layout */
|
|
18
|
+
flex: none;
|
|
19
|
+
order: 0;
|
|
20
|
+
flex-grow: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.title {
|
|
24
|
+
padding: 0px 0px 0px 40px;
|
|
25
|
+
margin: 0;
|
|
26
|
+
font-family: 'Gilroy';
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
font-size: 24px;
|
|
30
|
+
line-height: 32px;
|
|
31
|
+
order: 0;
|
|
32
|
+
flex-grow: 0;
|
|
33
|
+
z-index: 0;
|
|
34
|
+
color: cm_grey_500;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.list {
|
|
38
|
+
list-style: none;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.item {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
gap: 36px;
|
|
48
|
+
margin-bottom: 16px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.itemText {
|
|
52
|
+
font-family: Gilroy;
|
|
53
|
+
font-size: 20px;
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
line-height: 28px;
|
|
56
|
+
letter-spacing: 0px;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
text-align: left;
|
|
59
|
+
margin: 0;
|
|
60
|
+
color: cm_grey_800;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.border {
|
|
64
|
+
width: 4px;
|
|
65
|
+
font-weight: inherit;
|
|
66
|
+
background-color: cm_primary_blue;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
min-width: 4px;
|
|
69
|
+
flex-basis: 4px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.showMoreItem {
|
|
73
|
+
font-family: 'Gilroy';
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 200;
|
|
76
|
+
font-size: 24px;
|
|
77
|
+
line-height: 32px;
|
|
78
|
+
color: cm_primary_blue;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.selectedItem {
|
|
82
|
+
color: cm_primary_blue;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.item:hover{
|
|
86
|
+
text-decoration: underline;
|
|
87
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference path="../../../src/globals.d.ts" />
|
|
2
|
+
export namespace ICONS {
|
|
3
|
+
export { ArrowIcon as arrow };
|
|
4
|
+
}
|
|
5
|
+
export default PrivacyPolicyContact;
|
|
6
|
+
import { NovaCompositionNavigationArrowDown as ArrowIcon } from "@coorpacademy/nova-icons";
|
|
7
|
+
declare function PrivacyPolicyContact({ title, content }: {
|
|
8
|
+
title: any;
|
|
9
|
+
content: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
declare namespace PrivacyPolicyContact {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
const title: PropTypes.Requireable<string>;
|
|
14
|
+
const content: PropTypes.Requireable<string>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
import PropTypes from "prop-types";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-contact/index.js"],"names":[],"mappings":";;;;;;AASA;;;gBAWC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = exports.ICONS = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
const ICONS = {
|
|
17
|
+
arrow: _novaIcons.NovaCompositionNavigationArrowDown
|
|
18
|
+
};
|
|
19
|
+
exports.ICONS = ICONS;
|
|
20
|
+
|
|
21
|
+
const PrivacyPolicyContact = ({
|
|
22
|
+
title,
|
|
23
|
+
content
|
|
24
|
+
}) => {
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
26
|
+
className: _style.default.container
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
28
|
+
className: _style.default.title // eslint-disable-next-line react/no-danger
|
|
29
|
+
,
|
|
30
|
+
dangerouslySetInnerHTML: {
|
|
31
|
+
__html: title
|
|
32
|
+
}
|
|
33
|
+
}), /*#__PURE__*/_react.default.createElement("p", {
|
|
34
|
+
className: _style.default.content
|
|
35
|
+
}, content));
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
PrivacyPolicyContact.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
39
|
+
title: _propTypes.default.string,
|
|
40
|
+
content: _propTypes.default.string
|
|
41
|
+
} : {};
|
|
42
|
+
var _default = PrivacyPolicyContact;
|
|
43
|
+
exports.default = _default;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["ICONS","arrow","ArrowIcon","PrivacyPolicyContact","title","content","styles","container","__html","propTypes","PropTypes","string"],"sources":["../../../src/molecule/privacy-policy-contact/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {NovaCompositionNavigationArrowDown as ArrowIcon} from '@coorpacademy/nova-icons';\nimport styles from './style.css';\n\nexport const ICONS = {\n arrow: ArrowIcon\n};\n\nconst PrivacyPolicyContact = ({title, content}) => {\n return (\n <div className={styles.container}>\n <h3\n className={styles.title}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <p className={styles.content}>{content}</p>\n </div>\n );\n};\n\nPrivacyPolicyContact.propTypes = {\n title: PropTypes.string,\n content: PropTypes.string\n};\n\nexport default PrivacyPolicyContact;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEO,MAAMA,KAAK,GAAG;EACnBC,KAAK,EAAEC;AADY,CAAd;;;AAIP,MAAMC,oBAAoB,GAAG,CAAC;EAACC,KAAD;EAAQC;AAAR,CAAD,KAAsB;EACjD,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IACE,SAAS,EAAED,cAAA,CAAOF,KADpB,CAEE;IAFF;IAGE,uBAAuB,EAAE;MAACI,MAAM,EAAEJ;IAAT;EAH3B,EADF,eAME;IAAG,SAAS,EAAEE,cAAA,CAAOD;EAArB,GAA+BA,OAA/B,CANF,CADF;AAUD,CAXD;;AAaAF,oBAAoB,CAACM,SAArB,2CAAiC;EAC/BL,KAAK,EAAEM,kBAAA,CAAUC,MADc;EAE/BN,OAAO,EAAEK,kBAAA,CAAUC;AAFY,CAAjC;eAKeR,oB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
|
+
@value cm_primary_blue from colors;
|
|
6
|
+
@value cm_grey_500 from colors;
|
|
7
|
+
@value cm_grey_400 from colors;
|
|
8
|
+
@value white from colors;
|
|
9
|
+
|
|
10
|
+
.container {
|
|
11
|
+
padding: 16px 14px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
background-color: white;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.title {
|
|
19
|
+
font-family: Gilroy;
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
line-height: 24px;
|
|
23
|
+
letter-spacing: 0em;
|
|
24
|
+
text-align: center;
|
|
25
|
+
margin: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.content {
|
|
29
|
+
font-family: Gilroy;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
font-style: italic;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
line-height: 22px;
|
|
34
|
+
letter-spacing: 0em;
|
|
35
|
+
text-align: center;
|
|
36
|
+
margin: 0;
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default PrivacyPolicyDownload;
|
|
2
|
+
declare function PrivacyPolicyDownload({ title, downloadButton, content }: {
|
|
3
|
+
title: any;
|
|
4
|
+
downloadButton: any;
|
|
5
|
+
content: any;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
declare namespace PrivacyPolicyDownload {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
const title: PropTypes.Requireable<string>;
|
|
10
|
+
const content: PropTypes.Requireable<string>;
|
|
11
|
+
const downloadButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
color: any;
|
|
13
|
+
submitValue: PropTypes.Requireable<string>;
|
|
14
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
15
|
+
isLinkDisabled: PropTypes.Requireable<boolean>;
|
|
16
|
+
href: PropTypes.Requireable<string>;
|
|
17
|
+
download: PropTypes.Requireable<boolean>;
|
|
18
|
+
target: PropTypes.Requireable<string>;
|
|
19
|
+
type: PropTypes.Requireable<string>;
|
|
20
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
22
|
+
className: PropTypes.Requireable<string>;
|
|
23
|
+
buttonContentClassName: PropTypes.Requireable<string>;
|
|
24
|
+
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
25
|
+
'data-name': PropTypes.Requireable<string>;
|
|
26
|
+
}>>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
import PropTypes from "prop-types";
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-download/index.js"],"names":[],"mappings":";AAKA;;;;gBAYC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _button = _interopRequireDefault(require("../../atom/button"));
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
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); }
|
|
17
|
+
|
|
18
|
+
const PrivacyPolicyDownload = ({
|
|
19
|
+
title,
|
|
20
|
+
downloadButton,
|
|
21
|
+
content
|
|
22
|
+
}) => {
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
24
|
+
className: _style.default.container
|
|
25
|
+
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
26
|
+
className: _style.default.title
|
|
27
|
+
}, title), /*#__PURE__*/_react.default.createElement("p", {
|
|
28
|
+
className: _style.default.content
|
|
29
|
+
}, content), /*#__PURE__*/_react.default.createElement(_button.default, _extends({}, downloadButton, {
|
|
30
|
+
className: _style.default.downloadButton,
|
|
31
|
+
buttonContentClassName: _style.default.downloadButtonContent
|
|
32
|
+
})));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
PrivacyPolicyDownload.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
36
|
+
title: _propTypes.default.string,
|
|
37
|
+
content: _propTypes.default.string,
|
|
38
|
+
downloadButton: _propTypes.default.shape(_button.default.propTypes)
|
|
39
|
+
} : {};
|
|
40
|
+
var _default = PrivacyPolicyDownload;
|
|
41
|
+
exports.default = _default;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["PrivacyPolicyDownload","title","downloadButton","content","styles","container","downloadButtonContent","propTypes","PropTypes","string","shape","Button"],"sources":["../../../src/molecule/privacy-policy-download/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '../../atom/button';\nimport styles from './style.css';\n\nconst PrivacyPolicyDownload = ({title, downloadButton, content}) => {\n return (\n <div className={styles.container}>\n <h3 className={styles.title}>{title}</h3>\n <p className={styles.content}>{content}</p>\n <Button\n {...downloadButton}\n className={styles.downloadButton}\n buttonContentClassName={styles.downloadButtonContent}\n />\n </div>\n );\n};\n\nPrivacyPolicyDownload.propTypes = {\n title: PropTypes.string,\n content: PropTypes.string,\n downloadButton: PropTypes.shape(Button.propTypes)\n};\n\nexport default PrivacyPolicyDownload;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,qBAAqB,GAAG,CAAC;EAACC,KAAD;EAAQC,cAAR;EAAwBC;AAAxB,CAAD,KAAsC;EAClE,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAI,SAAS,EAAED,cAAA,CAAOH;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAG,SAAS,EAAEG,cAAA,CAAOD;EAArB,GAA+BA,OAA/B,CAFF,eAGE,6BAAC,eAAD,eACMD,cADN;IAEE,SAAS,EAAEE,cAAA,CAAOF,cAFpB;IAGE,sBAAsB,EAAEE,cAAA,CAAOE;EAHjC,GAHF,CADF;AAWD,CAZD;;AAcAN,qBAAqB,CAACO,SAAtB,2CAAkC;EAChCN,KAAK,EAAEO,kBAAA,CAAUC,MADe;EAEhCN,OAAO,EAAEK,kBAAA,CAAUC,MAFa;EAGhCP,cAAc,EAAEM,kBAAA,CAAUE,KAAV,CAAgBC,eAAA,CAAOJ,SAAvB;AAHgB,CAAlC;eAMeP,qB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
|
+
@value cm_primary_blue from colors;
|
|
6
|
+
@value white from colors;
|
|
7
|
+
@value cm_grey_500 from colors;
|
|
8
|
+
@value cm_grey_400 from colors;
|
|
9
|
+
@value white from colors;
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
.container {
|
|
13
|
+
padding: 40px;
|
|
14
|
+
background-color: white;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.title {
|
|
18
|
+
font-family: Gilroy;
|
|
19
|
+
font-size: 24px;
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: 32px;
|
|
22
|
+
letter-spacing: 0em;
|
|
23
|
+
text-align: left;
|
|
24
|
+
color: cm_grey_500;
|
|
25
|
+
margin: 0px 0px 8px 0px;
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.content {
|
|
30
|
+
font-family: Gilroy;
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
line-height: 24px;
|
|
34
|
+
letter-spacing: 0px;
|
|
35
|
+
text-align: left;
|
|
36
|
+
color: cm_grey_400;
|
|
37
|
+
margin: 0px 0px 24px 0px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.downloadButton {
|
|
41
|
+
height: 48px;
|
|
42
|
+
width: 152px;
|
|
43
|
+
border-radius: 10px;
|
|
44
|
+
background-color: cm_primary_blue;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.downloadButtonContent {
|
|
48
|
+
padding: 0 30px;
|
|
49
|
+
display: block;
|
|
50
|
+
text-transform: inherit;
|
|
51
|
+
background-color: cm_primary_blue;
|
|
52
|
+
color: white;
|
|
53
|
+
font-family: Gilroy;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-size: 13px;
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
line-height: inherit;
|
|
58
|
+
text-align: center;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
border-radius: inherit;
|
|
61
|
+
border: none;
|
|
62
|
+
width: 100%;
|
|
63
|
+
user-select: none;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export default PrivacyPolicy;
|
|
2
|
+
declare function PrivacyPolicy({ header, privacyPolicyContact, menuLinks, privacyPolicyDownload, expandableList }: {
|
|
3
|
+
header: any;
|
|
4
|
+
privacyPolicyContact: any;
|
|
5
|
+
menuLinks: any;
|
|
6
|
+
privacyPolicyDownload: any;
|
|
7
|
+
expandableList: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
declare namespace PrivacyPolicy {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
const header: {
|
|
12
|
+
image: import("prop-types").Requireable<string>;
|
|
13
|
+
mode: import("prop-types").Requireable<string>;
|
|
14
|
+
description: import("prop-types").Requireable<string>;
|
|
15
|
+
title: import("prop-types").Requireable<string>;
|
|
16
|
+
author: import("prop-types").Requireable<string>;
|
|
17
|
+
progress: import("prop-types").Requireable<number>;
|
|
18
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
19
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
const privacyPolicyContact: {
|
|
22
|
+
title: import("prop-types").Requireable<string>;
|
|
23
|
+
content: import("prop-types").Requireable<string>;
|
|
24
|
+
};
|
|
25
|
+
const menuLinks: {
|
|
26
|
+
title: import("prop-types").Requireable<string>;
|
|
27
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
28
|
+
text: import("prop-types").Requireable<string>;
|
|
29
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
30
|
+
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
31
|
+
isShowMoreItem: import("prop-types").Requireable<boolean>;
|
|
32
|
+
}> | null | undefined)[]>;
|
|
33
|
+
};
|
|
34
|
+
const privacyPolicyDownload: {
|
|
35
|
+
title: import("prop-types").Requireable<string>;
|
|
36
|
+
content: import("prop-types").Requireable<string>;
|
|
37
|
+
downloadButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
38
|
+
color: any;
|
|
39
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
40
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
41
|
+
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
42
|
+
href: import("prop-types").Requireable<string>;
|
|
43
|
+
download: import("prop-types").Requireable<boolean>;
|
|
44
|
+
target: import("prop-types").Requireable<string>;
|
|
45
|
+
type: import("prop-types").Requireable<string>;
|
|
46
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
47
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
48
|
+
className: import("prop-types").Requireable<string>;
|
|
49
|
+
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
50
|
+
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
51
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
52
|
+
}>>;
|
|
53
|
+
};
|
|
54
|
+
const expandableList: {
|
|
55
|
+
items: import("prop-types").Requireable<any[]>;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/privacy-policy-page/index.js"],"names":[],"mappings":";AAQA;;;;;;gBA+BC"}
|