@coorpacademy/components 11.12.3-alpha.13 → 11.12.3-alpha.16
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/style.css +2 -3
- package/es/molecule/menu-links/index.d.ts +8 -2
- package/es/molecule/menu-links/index.d.ts.map +1 -1
- package/es/molecule/menu-links/index.js +28 -9
- package/es/molecule/menu-links/index.js.map +1 -1
- package/es/molecule/menu-links/style.css +18 -19
- package/es/molecule/menu-links/types.d.ts +14 -2
- package/es/molecule/menu-links/types.d.ts.map +1 -1
- package/es/molecule/menu-links/types.js +8 -2
- package/es/molecule/menu-links/types.js.map +1 -1
- package/es/template/common/faq-page/index.d.ts +68 -0
- package/es/template/common/faq-page/index.d.ts.map +1 -0
- package/es/template/common/faq-page/index.js +42 -0
- package/es/template/common/faq-page/index.js.map +1 -0
- package/es/template/common/faq-page/style.css +103 -0
- package/es/template/common/faq-page/types.d.ts +74 -0
- package/es/template/common/faq-page/types.d.ts.map +1 -0
- package/es/template/common/faq-page/types.js +13 -0
- package/es/template/common/faq-page/types.js.map +1 -0
- package/es/template/common/privacy-policy-page/index.d.ts +7 -1
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/es/template/common/privacy-policy-page/index.js +9 -1
- package/es/template/common/privacy-policy-page/index.js.map +1 -1
- package/es/template/common/privacy-policy-page/style.css +24 -4
- package/es/template/common/privacy-policy-page/types.d.ts +7 -1
- package/es/template/common/privacy-policy-page/types.d.ts.map +1 -1
- package/es/variables/breakpoints.css +1 -2
- package/lib/molecule/expandable-item/style.css +2 -3
- package/lib/molecule/menu-links/index.d.ts +8 -2
- package/lib/molecule/menu-links/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/index.js +33 -9
- package/lib/molecule/menu-links/index.js.map +1 -1
- package/lib/molecule/menu-links/style.css +18 -19
- package/lib/molecule/menu-links/types.d.ts +14 -2
- package/lib/molecule/menu-links/types.d.ts.map +1 -1
- package/lib/molecule/menu-links/types.js +8 -2
- package/lib/molecule/menu-links/types.js.map +1 -1
- package/lib/template/common/faq-page/index.d.ts +68 -0
- package/lib/template/common/faq-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-page/index.js +57 -0
- package/lib/template/common/faq-page/index.js.map +1 -0
- package/lib/template/common/faq-page/style.css +103 -0
- package/lib/template/common/faq-page/types.d.ts +74 -0
- package/lib/template/common/faq-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-page/types.js +24 -0
- package/lib/template/common/faq-page/types.js.map +1 -0
- package/lib/template/common/privacy-policy-page/index.d.ts +7 -1
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/lib/template/common/privacy-policy-page/index.js +9 -1
- package/lib/template/common/privacy-policy-page/index.js.map +1 -1
- package/lib/template/common/privacy-policy-page/style.css +24 -4
- package/lib/template/common/privacy-policy-page/types.d.ts +7 -1
- package/lib/template/common/privacy-policy-page/types.d.ts.map +1 -1
- package/lib/variables/breakpoints.css +1 -2
- package/package.json +2 -2
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
height: 72px;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
}
|
|
23
|
+
|
|
23
24
|
.header {
|
|
24
25
|
display: flex;
|
|
25
26
|
flex-direction: row;
|
|
@@ -29,7 +30,6 @@
|
|
|
29
30
|
justify-content: space-between;
|
|
30
31
|
align-items: center;
|
|
31
32
|
cursor: pointer;
|
|
32
|
-
height: 72px;
|
|
33
33
|
padding: 24px;
|
|
34
34
|
gap: 16px;
|
|
35
35
|
}
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.expendedHeader {
|
|
49
|
-
padding: 24px
|
|
50
|
-
border-radius: 10px;
|
|
49
|
+
padding: 24px 24px 0px 24px;
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
.title {
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Props } from './types';
|
|
3
3
|
declare const MenuLinks: {
|
|
4
|
-
({ items, title }: Props): JSX.Element;
|
|
4
|
+
({ items, title, showMoreItem, numberOfDisplayedItems, isDesktopMode }: Props): JSX.Element;
|
|
5
5
|
propTypes: {
|
|
6
6
|
title: import("prop-types").Requireable<string>;
|
|
7
|
+
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
8
|
+
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
9
|
+
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
10
|
+
showMoreText: import("prop-types").Requireable<string>;
|
|
11
|
+
showLessText: import("prop-types").Requireable<string>;
|
|
12
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
13
|
+
}>>;
|
|
7
14
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
8
15
|
text: import("prop-types").Requireable<string>;
|
|
9
16
|
isSelected: import("prop-types").Requireable<boolean>;
|
|
10
17
|
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
11
|
-
isShowMoreItem: import("prop-types").Requireable<boolean>;
|
|
12
18
|
}> | null | undefined)[]>;
|
|
13
19
|
};
|
|
14
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,SAAS;4EAAyE,KAAK;;;;;;;;;;;;;;;;CAwC5F,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _slice from "lodash/fp/slice";
|
|
2
|
+
import React, { useState } from 'react';
|
|
2
3
|
import classnames from 'classnames';
|
|
3
4
|
import { NovaCompositionNavigationArrowDown as ArrowIcon } from '@coorpacademy/nova-icons';
|
|
4
5
|
import { propTypes } from './types';
|
|
@@ -6,8 +7,16 @@ import styles from './style.css';
|
|
|
6
7
|
|
|
7
8
|
const MenuLinks = ({
|
|
8
9
|
items,
|
|
9
|
-
title
|
|
10
|
+
title,
|
|
11
|
+
showMoreItem,
|
|
12
|
+
numberOfDisplayedItems,
|
|
13
|
+
isDesktopMode
|
|
10
14
|
}) => {
|
|
15
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
16
|
+
const itemsToDesplaye = isDesktopMode || isOpen ? items : _slice(0, numberOfDisplayedItems, items);
|
|
17
|
+
|
|
18
|
+
const handleOnclickShowMore = () => setIsOpen(!isOpen);
|
|
19
|
+
|
|
11
20
|
return /*#__PURE__*/React.createElement("div", {
|
|
12
21
|
className: styles.container
|
|
13
22
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
@@ -15,22 +24,32 @@ const MenuLinks = ({
|
|
|
15
24
|
}, title), /*#__PURE__*/React.createElement("ul", {
|
|
16
25
|
className: styles.list,
|
|
17
26
|
"data-name": "menu-links"
|
|
18
|
-
},
|
|
27
|
+
}, itemsToDesplaye.map((item, index) => {
|
|
19
28
|
const {
|
|
20
29
|
handleOnclick
|
|
21
30
|
} = item;
|
|
31
|
+
console.log({
|
|
32
|
+
isOpen,
|
|
33
|
+
numberOfDisplayedItems
|
|
34
|
+
});
|
|
22
35
|
return /*#__PURE__*/React.createElement("li", {
|
|
23
36
|
onClick: handleOnclick,
|
|
24
37
|
key: `menu-link-item-${index}`,
|
|
25
|
-
className:
|
|
38
|
+
className: styles.item
|
|
26
39
|
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: item.isSelected ? styles.
|
|
40
|
+
className: classnames(styles.border, item.isSelected ? styles.selectedBorder : null)
|
|
28
41
|
}), /*#__PURE__*/React.createElement("span", {
|
|
29
42
|
className: item.isSelected ? styles.selectedItem : undefined
|
|
30
|
-
}, item.text
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
43
|
+
}, item.text));
|
|
44
|
+
}), !isDesktopMode ? /*#__PURE__*/React.createElement("li", {
|
|
45
|
+
onClick: handleOnclickShowMore,
|
|
46
|
+
key: `menu-link-item-show-more`,
|
|
47
|
+
className: classnames(styles.showMoreItem, styles.item)
|
|
48
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
className: styles.border
|
|
50
|
+
}), /*#__PURE__*/React.createElement("span", null, isOpen ? showMoreItem.showLessText : showMoreItem.showMoreText, /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
51
|
+
className: isOpen ? styles.showLessIcon : styles.showMoreIcon
|
|
52
|
+
}))) : null));
|
|
34
53
|
};
|
|
35
54
|
|
|
36
55
|
MenuLinks.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","classnames","NovaCompositionNavigationArrowDown","ArrowIcon","propTypes","styles","MenuLinks","items","title","container","list","map","item","index","handleOnclick","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useState","classnames","NovaCompositionNavigationArrowDown","ArrowIcon","propTypes","styles","MenuLinks","items","title","showMoreItem","numberOfDisplayedItems","isDesktopMode","isOpen","setIsOpen","itemsToDesplaye","handleOnclickShowMore","container","list","map","item","index","handleOnclick","console","log","border","isSelected","selectedBorder","selectedItem","undefined","text","showLessText","showMoreText","showLessIcon","showMoreIcon"],"sources":["../../../src/molecule/menu-links/index.tsx"],"sourcesContent":["import React, {useState} from 'react';\nimport classnames from 'classnames';\nimport {NovaCompositionNavigationArrowDown as ArrowIcon} from '@coorpacademy/nova-icons';\nimport {slice} from 'lodash/fp';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst MenuLinks = ({items, title, showMoreItem, numberOfDisplayedItems, isDesktopMode}: Props) => {\n const [isOpen, setIsOpen] = useState<boolean>(false);\n const itemsToDesplaye = isDesktopMode || isOpen ? items : slice(0, numberOfDisplayedItems, items);\n const handleOnclickShowMore = () => setIsOpen(!isOpen);\n\n return (\n <div className={styles.container}>\n <h2 className={styles.title}>{title}</h2>\n <ul className={styles.list} data-name=\"menu-links\">\n {itemsToDesplaye.map((item, index) => {\n const {handleOnclick} = item;\n console.log({isOpen, numberOfDisplayedItems});\n return (\n <li onClick={handleOnclick} key={`menu-link-item-${index}`} className={styles.item}>\n <div\n className={classnames(\n styles.border,\n item.isSelected ? styles.selectedBorder : null\n )}\n />\n <span className={item.isSelected ? styles.selectedItem : undefined}>{item.text}</span>\n </li>\n );\n })}\n {!isDesktopMode ? (\n <li\n onClick={handleOnclickShowMore}\n key={`menu-link-item-show-more`}\n className={classnames(styles.showMoreItem, styles.item)}\n >\n <div className={styles.border} />\n <span>\n {isOpen ? showMoreItem.showLessText : showMoreItem.showMoreText}\n <ArrowIcon className={isOpen ? styles.showLessIcon : styles.showMoreIcon} />\n </span>\n </li>\n ) : null}\n </ul>\n </div>\n );\n};\n\nMenuLinks.propTypes = propTypes;\n\nexport default MenuLinks;\n"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,QAAf,QAA8B,OAA9B;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAAQC,kCAAkC,IAAIC,SAA9C,QAA8D,0BAA9D;AAEA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,SAAS,GAAG,CAAC;EAACC,KAAD;EAAQC,KAAR;EAAeC,YAAf;EAA6BC,sBAA7B;EAAqDC;AAArD,CAAD,KAAgF;EAChG,MAAM,CAACC,MAAD,EAASC,SAAT,IAAsBb,QAAQ,CAAU,KAAV,CAApC;EACA,MAAMc,eAAe,GAAGH,aAAa,IAAIC,MAAjB,GAA0BL,KAA1B,GAAkC,OAAM,CAAN,EAASG,sBAAT,EAAiCH,KAAjC,CAA1D;;EACA,MAAMQ,qBAAqB,GAAG,MAAMF,SAAS,CAAC,CAACD,MAAF,CAA7C;;EAEA,oBACE;IAAK,SAAS,EAAEP,MAAM,CAACW;EAAvB,gBACE;IAAI,SAAS,EAAEX,MAAM,CAACG;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAI,SAAS,EAAEH,MAAM,CAACY,IAAtB;IAA4B,aAAU;EAAtC,GACGH,eAAe,CAACI,GAAhB,CAAoB,CAACC,IAAD,EAAOC,KAAP,KAAiB;IACpC,MAAM;MAACC;IAAD,IAAkBF,IAAxB;IACAG,OAAO,CAACC,GAAR,CAAY;MAACX,MAAD;MAASF;IAAT,CAAZ;IACA,oBACE;MAAI,OAAO,EAAEW,aAAb;MAA4B,GAAG,EAAG,kBAAiBD,KAAM,EAAzD;MAA4D,SAAS,EAAEf,MAAM,CAACc;IAA9E,gBACE;MACE,SAAS,EAAElB,UAAU,CACnBI,MAAM,CAACmB,MADY,EAEnBL,IAAI,CAACM,UAAL,GAAkBpB,MAAM,CAACqB,cAAzB,GAA0C,IAFvB;IADvB,EADF,eAOE;MAAM,SAAS,EAAEP,IAAI,CAACM,UAAL,GAAkBpB,MAAM,CAACsB,YAAzB,GAAwCC;IAAzD,GAAqET,IAAI,CAACU,IAA1E,CAPF,CADF;EAWD,CAdA,CADH,EAgBG,CAAClB,aAAD,gBACC;IACE,OAAO,EAAEI,qBADX;IAEE,GAAG,EAAG,0BAFR;IAGE,SAAS,EAAEd,UAAU,CAACI,MAAM,CAACI,YAAR,EAAsBJ,MAAM,CAACc,IAA7B;EAHvB,gBAKE;IAAK,SAAS,EAAEd,MAAM,CAACmB;EAAvB,EALF,eAME,kCACGZ,MAAM,GAAGH,YAAY,CAACqB,YAAhB,GAA+BrB,YAAY,CAACsB,YADrD,eAEE,oBAAC,SAAD;IAAW,SAAS,EAAEnB,MAAM,GAAGP,MAAM,CAAC2B,YAAV,GAAyB3B,MAAM,CAAC4B;EAA5D,EAFF,CANF,CADD,GAYG,IA5BN,CAFF,CADF;AAmCD,CAxCD;;AA0CA3B,SAAS,CAACF,SAAV,2CAAsBA,SAAtB;AAEA,eAAeE,SAAf"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
@value colors: "../../variables/colors.css";
|
|
2
2
|
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
3
|
@value mobile from breakpoints;
|
|
4
|
-
@value
|
|
4
|
+
@value tablet from breakpoints;
|
|
5
5
|
@value cm_primary_blue from colors;
|
|
6
6
|
@value cm_grey_500 from colors;
|
|
7
7
|
@value cm_grey_700 from colors;
|
|
8
8
|
@value cm_grey_800 from colors;
|
|
9
|
+
@value white from colors;
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
.container {
|
|
11
13
|
display: flex;
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.title {
|
|
24
|
-
padding: 0px 0px 0px
|
|
26
|
+
padding: 0px 0px 0px 24px;
|
|
25
27
|
margin: 0;
|
|
26
28
|
font-family: 'Gilroy';
|
|
27
29
|
font-style: normal;
|
|
@@ -44,31 +46,23 @@
|
|
|
44
46
|
.item {
|
|
45
47
|
display: flex;
|
|
46
48
|
flex-direction: row;
|
|
47
|
-
gap:
|
|
49
|
+
gap: 20px;
|
|
48
50
|
margin-bottom: 16px;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
.itemText {
|
|
52
|
-
font-family: Gilroy;
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
font-weight: 500;
|
|
55
|
-
line-height: 20px;
|
|
56
|
-
letter-spacing: 0px;
|
|
57
|
-
font-style: normal;
|
|
58
|
-
text-align: left;
|
|
59
|
-
margin: 0;
|
|
60
|
-
color: cm_grey_800;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
53
|
.border {
|
|
64
54
|
width: 4px;
|
|
65
55
|
font-weight: inherit;
|
|
66
|
-
background-color:
|
|
56
|
+
background-color: white;
|
|
67
57
|
flex-shrink: 0;
|
|
68
58
|
min-width: 4px;
|
|
69
59
|
flex-basis: 4px;
|
|
70
60
|
}
|
|
71
61
|
|
|
62
|
+
.selectedBorder {
|
|
63
|
+
background-color: cm_primary_blue;
|
|
64
|
+
}
|
|
65
|
+
|
|
72
66
|
.showMoreItem {
|
|
73
67
|
display: none;
|
|
74
68
|
}
|
|
@@ -88,7 +82,14 @@
|
|
|
88
82
|
margin-left: 8px;
|
|
89
83
|
}
|
|
90
84
|
|
|
91
|
-
|
|
85
|
+
.showLessIcon {
|
|
86
|
+
width: 12px;
|
|
87
|
+
height: 8px;
|
|
88
|
+
margin-left: 8px;
|
|
89
|
+
transform: rotateZ(180deg);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media tablet {
|
|
92
93
|
.showMoreItem {
|
|
93
94
|
font-family: 'Gilroy';
|
|
94
95
|
font-style: normal;
|
|
@@ -100,7 +101,6 @@
|
|
|
100
101
|
display: block;
|
|
101
102
|
display: flex;
|
|
102
103
|
flex-direction: row;
|
|
103
|
-
gap: 36px;
|
|
104
104
|
margin-bottom: 16px;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
display: block;
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-direction: row;
|
|
120
|
-
gap: 36px;
|
|
121
120
|
margin-bottom: 16px;
|
|
122
121
|
}
|
|
123
122
|
}
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
export declare const propTypes: {
|
|
3
3
|
title: PropTypes.Requireable<string>;
|
|
4
|
+
numberOfDisplayedItems: PropTypes.Requireable<number>;
|
|
5
|
+
isDesktopMode: PropTypes.Requireable<boolean>;
|
|
6
|
+
showMoreItem: PropTypes.Requireable<PropTypes.InferProps<{
|
|
7
|
+
showMoreText: PropTypes.Requireable<string>;
|
|
8
|
+
showLessText: PropTypes.Requireable<string>;
|
|
9
|
+
isSelected: PropTypes.Requireable<boolean>;
|
|
10
|
+
}>>;
|
|
4
11
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
12
|
text: PropTypes.Requireable<string>;
|
|
6
13
|
isSelected: PropTypes.Requireable<boolean>;
|
|
7
14
|
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
-
isShowMoreItem: PropTypes.Requireable<boolean>;
|
|
9
15
|
}> | null | undefined)[]>;
|
|
10
16
|
};
|
|
11
17
|
export declare type Item = {
|
|
12
18
|
text: string;
|
|
13
19
|
isSelected?: boolean;
|
|
14
20
|
handleOnclick: () => void;
|
|
15
|
-
|
|
21
|
+
};
|
|
22
|
+
export declare type ShowMoreItem = {
|
|
23
|
+
showMoreText: string;
|
|
24
|
+
showLessText: string;
|
|
16
25
|
};
|
|
17
26
|
export declare type Props = {
|
|
18
27
|
title: string;
|
|
28
|
+
isDesktopMode: boolean;
|
|
29
|
+
showMoreItem: ShowMoreItem;
|
|
30
|
+
numberOfDisplayedItems: number;
|
|
19
31
|
items: Item[];
|
|
20
32
|
};
|
|
21
33
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAgBrB,CAAC;AAEF,oBAAY,IAAI,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,IAAI,EAAE,CAAC;CACf,CAAC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
export const propTypes = {
|
|
3
3
|
title: PropTypes.string,
|
|
4
|
+
numberOfDisplayedItems: PropTypes.number,
|
|
5
|
+
isDesktopMode: PropTypes.bool,
|
|
6
|
+
showMoreItem: PropTypes.shape({
|
|
7
|
+
showMoreText: PropTypes.string,
|
|
8
|
+
showLessText: PropTypes.string,
|
|
9
|
+
isSelected: PropTypes.bool
|
|
10
|
+
}),
|
|
4
11
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
5
12
|
text: PropTypes.string,
|
|
6
13
|
isSelected: PropTypes.bool,
|
|
7
|
-
handleOnclick: PropTypes.func
|
|
8
|
-
isShowMoreItem: PropTypes.bool
|
|
14
|
+
handleOnclick: PropTypes.func
|
|
9
15
|
}))
|
|
10
16
|
};
|
|
11
17
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","numberOfDisplayedItems","number","isDesktopMode","bool","showMoreItem","shape","showMoreText","showLessText","isSelected","items","arrayOf","text","handleOnclick","func"],"sources":["../../../src/molecule/menu-links/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const propTypes = {\n title: PropTypes.string,\n numberOfDisplayedItems: PropTypes.number,\n isDesktopMode: PropTypes.bool,\n showMoreItem: PropTypes.shape({\n showMoreText: PropTypes.string,\n showLessText: PropTypes.string,\n isSelected: PropTypes.bool\n }),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n isSelected: PropTypes.bool,\n handleOnclick: PropTypes.func\n })\n )\n};\n\nexport type Item = {\n text: string;\n isSelected?: boolean;\n handleOnclick: () => void;\n};\n\nexport type ShowMoreItem = {\n showMoreText: string;\n showLessText: string;\n};\n\nexport type Props = {\n title: string;\n isDesktopMode: boolean;\n showMoreItem: ShowMoreItem;\n numberOfDisplayedItems: number;\n items: Item[];\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEF,SAAS,CAACG,MADM;EAEvBC,sBAAsB,EAAEJ,SAAS,CAACK,MAFX;EAGvBC,aAAa,EAAEN,SAAS,CAACO,IAHF;EAIvBC,YAAY,EAAER,SAAS,CAACS,KAAV,CAAgB;IAC5BC,YAAY,EAAEV,SAAS,CAACG,MADI;IAE5BQ,YAAY,EAAEX,SAAS,CAACG,MAFI;IAG5BS,UAAU,EAAEZ,SAAS,CAACO;EAHM,CAAhB,CAJS;EASvBM,KAAK,EAAEb,SAAS,CAACc,OAAV,CACLd,SAAS,CAACS,KAAV,CAAgB;IACdM,IAAI,EAAEf,SAAS,CAACG,MADF;IAEdS,UAAU,EAAEZ,SAAS,CAACO,IAFR;IAGdS,aAAa,EAAEhB,SAAS,CAACiB;EAHX,CAAhB,CADK;AATgB,CAAlB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const PrivacyPolicy: {
|
|
4
|
+
({ header, privacyPolicyContact, menuLinks, privacyPolicyDownload, expandableList }: Props): JSX.Element;
|
|
5
|
+
propTypes: {
|
|
6
|
+
header: {
|
|
7
|
+
image: import("prop-types").Requireable<string>;
|
|
8
|
+
mode: import("prop-types").Requireable<string>;
|
|
9
|
+
description: import("prop-types").Requireable<string>;
|
|
10
|
+
title: import("prop-types").Requireable<string>;
|
|
11
|
+
author: import("prop-types").Requireable<string>;
|
|
12
|
+
progress: import("prop-types").Requireable<number>;
|
|
13
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
14
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
15
|
+
};
|
|
16
|
+
privacyPolicyContact: {
|
|
17
|
+
title: import("prop-types").Requireable<string>;
|
|
18
|
+
content: import("prop-types").Requireable<string>;
|
|
19
|
+
};
|
|
20
|
+
menuLinks: {
|
|
21
|
+
title: import("prop-types").Requireable<string>;
|
|
22
|
+
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
23
|
+
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
24
|
+
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
25
|
+
showMoreText: import("prop-types").Requireable<string>;
|
|
26
|
+
showLessText: import("prop-types").Requireable<string>;
|
|
27
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
28
|
+
}>>;
|
|
29
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
30
|
+
text: import("prop-types").Requireable<string>;
|
|
31
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
32
|
+
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
33
|
+
}> | null | undefined)[]>;
|
|
34
|
+
};
|
|
35
|
+
privacyPolicyDownload: {
|
|
36
|
+
title: import("prop-types").Requireable<string>;
|
|
37
|
+
content: import("prop-types").Requireable<string>;
|
|
38
|
+
downloadButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
39
|
+
color: any;
|
|
40
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
41
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
42
|
+
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
43
|
+
href: import("prop-types").Requireable<string>;
|
|
44
|
+
download: import("prop-types").Requireable<boolean>;
|
|
45
|
+
target: import("prop-types").Requireable<string>;
|
|
46
|
+
type: import("prop-types").Requireable<string>;
|
|
47
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
48
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
49
|
+
className: import("prop-types").Requireable<string>;
|
|
50
|
+
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
51
|
+
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
52
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
53
|
+
}>>;
|
|
54
|
+
};
|
|
55
|
+
expandableList: {
|
|
56
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
57
|
+
title: import("prop-types").Requireable<string>;
|
|
58
|
+
icon: import("prop-types").Requireable<string>;
|
|
59
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
60
|
+
content: import("prop-types").Requireable<string>;
|
|
61
|
+
image: import("prop-types").Requireable<string>;
|
|
62
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
63
|
+
}> | null | undefined)[]>;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export default PrivacyPolicy;
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-page/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,aAAa;yFAMhB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBP,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Hero from '../../../molecule/hero';
|
|
5
|
+
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
|
|
6
|
+
import PrivacyPolicyDownload from '../../../molecule/privacy-policy-download';
|
|
7
|
+
import MenuLinks from '../../../molecule/menu-links';
|
|
8
|
+
import ExpandableList from '../../../molecule/expandable-list';
|
|
9
|
+
import { propTypes } from './types';
|
|
10
|
+
import styles from './style.css';
|
|
11
|
+
|
|
12
|
+
const PrivacyPolicy = ({
|
|
13
|
+
header,
|
|
14
|
+
privacyPolicyContact,
|
|
15
|
+
menuLinks,
|
|
16
|
+
privacyPolicyDownload,
|
|
17
|
+
expandableList
|
|
18
|
+
}) => {
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: styles.wrapper
|
|
21
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22
|
+
className: styles.hero
|
|
23
|
+
}, /*#__PURE__*/React.createElement(Hero, _extends({}, header, {
|
|
24
|
+
mode: 'header'
|
|
25
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: styles.container
|
|
27
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: styles.menuContainer
|
|
29
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, menuLinks), /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: styles.privacyPolicyDownloadDesktop
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyDownload, privacyPolicyDownload))), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: styles.expandableList
|
|
33
|
+
}, /*#__PURE__*/React.createElement(ExpandableList, expandableList)), /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: styles.privacyPolicyDownload
|
|
35
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyDownload, privacyPolicyDownload))), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: styles.privacyPolicyContact
|
|
37
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
PrivacyPolicy.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
41
|
+
export default PrivacyPolicy;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Hero","PrivacyPolicyContact","PrivacyPolicyDownload","MenuLinks","ExpandableList","propTypes","styles","PrivacyPolicy","header","privacyPolicyContact","menuLinks","privacyPolicyDownload","expandableList","wrapper","hero","container","menuContainer","privacyPolicyDownloadDesktop"],"sources":["../../../../src/template/common/faq-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport Hero from '../../../molecule/hero';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport PrivacyPolicyDownload from '../../../molecule/privacy-policy-download';\nimport MenuLinks from '../../../molecule/menu-links';\nimport ExpandableList from '../../../molecule/expandable-list';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst PrivacyPolicy = ({\n header,\n privacyPolicyContact,\n menuLinks,\n privacyPolicyDownload,\n expandableList\n}: Props) => {\n return (\n <div className={styles.wrapper}>\n <div className={styles.hero}>\n <Hero {...header} mode={'header'} />\n </div>\n <div className={styles.container}>\n <div className={styles.menuContainer}>\n <MenuLinks {...menuLinks} />\n <div className={styles.privacyPolicyDownloadDesktop}>\n <PrivacyPolicyDownload {...privacyPolicyDownload} />\n </div>\n </div>\n <div className={styles.expandableList}>\n <ExpandableList {...expandableList} />\n </div>\n <div className={styles.privacyPolicyDownload}>\n <PrivacyPolicyDownload {...privacyPolicyDownload} />\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nPrivacyPolicy.propTypes = propTypes;\n\nexport default PrivacyPolicy;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,wBAAjB;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,OAAOC,qBAAP,MAAkC,2CAAlC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,aAAa,GAAG,CAAC;EACrBC,MADqB;EAErBC,oBAFqB;EAGrBC,SAHqB;EAIrBC,qBAJqB;EAKrBC;AALqB,CAAD,KAMT;EACX,oBACE;IAAK,SAAS,EAAEN,MAAM,CAACO;EAAvB,gBACE;IAAK,SAAS,EAAEP,MAAM,CAACQ;EAAvB,gBACE,oBAAC,IAAD,eAAUN,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEF,MAAM,CAACS;EAAvB,gBACE;IAAK,SAAS,EAAET,MAAM,CAACU;EAAvB,gBACE,oBAAC,SAAD,EAAeN,SAAf,CADF,eAEE;IAAK,SAAS,EAAEJ,MAAM,CAACW;EAAvB,gBACE,oBAAC,qBAAD,EAA2BN,qBAA3B,CADF,CAFF,CADF,eAOE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE,oBAAC,cAAD,EAAoBA,cAApB,CADF,CAPF,eAUE;IAAK,SAAS,EAAEN,MAAM,CAACK;EAAvB,gBACE,oBAAC,qBAAD,EAA2BA,qBAA3B,CADF,CAVF,CAJF,eAkBE;IAAK,SAAS,EAAEL,MAAM,CAACG;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CAlBF,CADF;AAwBD,CA/BD;;AAiCAF,aAAa,CAACF,SAAd,2CAA0BA,SAA1B;AAEA,eAAeE,aAAf"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
@value breakpoints: "../../../variables/breakpoints.css";
|
|
2
|
+
@value mobile from breakpoints;
|
|
3
|
+
@value mooc_tablet from breakpoints;
|
|
4
|
+
@value desktop from breakpoints;
|
|
5
|
+
@value colors: "../../../variables/colors.css";
|
|
6
|
+
@value cm_grey_50 from colors;
|
|
7
|
+
|
|
8
|
+
.wrapper {
|
|
9
|
+
background-color: cm_grey_50;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.hero {
|
|
13
|
+
height: 228px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.container {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
margin: 40px auto;
|
|
21
|
+
padding: 0px 40px;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.menuContainer {
|
|
26
|
+
margin-right: 32px;
|
|
27
|
+
min-width: 388px;
|
|
28
|
+
max-width: 388px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.privacyPolicyContact{
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 86px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.privacyPolicyDownloadDesktop {
|
|
37
|
+
margin-top: 28px;
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
.privacyPolicyDownload {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.expandableList {
|
|
45
|
+
min-width: 686px;
|
|
46
|
+
max-width: 748px;
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
@media mooc_tablet {
|
|
50
|
+
.privacyPolicyDownloadDesktop {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
.privacyPolicyDownload {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
.container {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
margin: 40px;
|
|
60
|
+
padding: 0px;
|
|
61
|
+
}
|
|
62
|
+
.menuContainer {
|
|
63
|
+
margin: 0px 0px 16px 0px;
|
|
64
|
+
width: 100%;
|
|
65
|
+
min-width: inherit;
|
|
66
|
+
max-width: inherit;
|
|
67
|
+
}
|
|
68
|
+
.expandableList {
|
|
69
|
+
min-width: inherit;
|
|
70
|
+
max-width: inherit;
|
|
71
|
+
width: 100%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media mobile {
|
|
76
|
+
.hero {
|
|
77
|
+
height: 264px;
|
|
78
|
+
width: 100%;
|
|
79
|
+
}
|
|
80
|
+
.privacyPolicyDownloadDesktop {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
.privacyPolicyDownload {
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
.container {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
margin: 40px 24px;
|
|
90
|
+
padding: 0px;
|
|
91
|
+
}
|
|
92
|
+
.menuContainer {
|
|
93
|
+
margin: 0px 0px 16px 0px;
|
|
94
|
+
width: 100%;
|
|
95
|
+
min-width: inherit;
|
|
96
|
+
max-width: inherit;
|
|
97
|
+
}
|
|
98
|
+
.expandableList {
|
|
99
|
+
min-width: inherit;
|
|
100
|
+
max-width: inherit;
|
|
101
|
+
width: 100%;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
2
|
+
import { Props as DownloadProps } from '../../../molecule/privacy-policy-download/types';
|
|
3
|
+
import { Props as HeroProps } from '../../../molecule/hero/types';
|
|
4
|
+
import { Props as MenuLinksProps } from '../../../molecule/menu-links/types';
|
|
5
|
+
import { Props as ListProps } from '../../../molecule/expandable-list/types';
|
|
6
|
+
export declare const propTypes: {
|
|
7
|
+
header: {
|
|
8
|
+
image: import("prop-types").Requireable<string>;
|
|
9
|
+
mode: import("prop-types").Requireable<string>;
|
|
10
|
+
description: import("prop-types").Requireable<string>;
|
|
11
|
+
title: import("prop-types").Requireable<string>;
|
|
12
|
+
author: import("prop-types").Requireable<string>;
|
|
13
|
+
progress: import("prop-types").Requireable<number>;
|
|
14
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
15
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
16
|
+
};
|
|
17
|
+
privacyPolicyContact: {
|
|
18
|
+
title: import("prop-types").Requireable<string>;
|
|
19
|
+
content: import("prop-types").Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
menuLinks: {
|
|
22
|
+
title: import("prop-types").Requireable<string>;
|
|
23
|
+
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
24
|
+
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
25
|
+
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
26
|
+
showMoreText: import("prop-types").Requireable<string>;
|
|
27
|
+
showLessText: import("prop-types").Requireable<string>;
|
|
28
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
29
|
+
}>>;
|
|
30
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
31
|
+
text: import("prop-types").Requireable<string>;
|
|
32
|
+
isSelected: import("prop-types").Requireable<boolean>;
|
|
33
|
+
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
34
|
+
}> | null | undefined)[]>;
|
|
35
|
+
};
|
|
36
|
+
privacyPolicyDownload: {
|
|
37
|
+
title: import("prop-types").Requireable<string>;
|
|
38
|
+
content: import("prop-types").Requireable<string>;
|
|
39
|
+
downloadButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
40
|
+
color: any;
|
|
41
|
+
submitValue: import("prop-types").Requireable<string>;
|
|
42
|
+
disabled: import("prop-types").Requireable<boolean>;
|
|
43
|
+
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
44
|
+
href: import("prop-types").Requireable<string>;
|
|
45
|
+
download: import("prop-types").Requireable<boolean>;
|
|
46
|
+
target: import("prop-types").Requireable<string>;
|
|
47
|
+
type: import("prop-types").Requireable<string>;
|
|
48
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
49
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
50
|
+
className: import("prop-types").Requireable<string>;
|
|
51
|
+
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
52
|
+
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
53
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
54
|
+
}>>;
|
|
55
|
+
};
|
|
56
|
+
expandableList: {
|
|
57
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
58
|
+
title: import("prop-types").Requireable<string>;
|
|
59
|
+
icon: import("prop-types").Requireable<string>;
|
|
60
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
61
|
+
content: import("prop-types").Requireable<string>;
|
|
62
|
+
image: import("prop-types").Requireable<string>;
|
|
63
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
64
|
+
}> | null | undefined)[]>;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export declare type Props = {
|
|
68
|
+
header: HeroProps;
|
|
69
|
+
privacyPolicyContact: ContactProps;
|
|
70
|
+
menuLinks: MenuLinksProps;
|
|
71
|
+
privacyPolicyDownload: DownloadProps;
|
|
72
|
+
expandableList: ListProps;
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,KAAK,IAAI,aAAa,EAEvB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAC,KAAK,IAAI,SAAS,EAA6B,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EACL,KAAK,IAAI,cAAc,EAExB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,IAAI,SAAS,EAEnB,MAAM,yCAAyC,CAAC;AAEjD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,MAAM,EAAE,SAAS,CAAC;IAClB,oBAAoB,EAAE,YAAY,CAAC;IACnC,SAAS,EAAE,cAAc,CAAC;IAC1B,qBAAqB,EAAE,aAAa,CAAC;IACrC,cAAc,EAAE,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { propTypes as ContactPropTypes } from '../../../molecule/privacy-policy-contact/types';
|
|
2
|
+
import { propTypes as DownloadPropTypes } from '../../../molecule/privacy-policy-download/types';
|
|
3
|
+
import { propTypes as HeroPropTypes } from '../../../molecule/hero/types';
|
|
4
|
+
import { propTypes as MenuLinksPropTypes } from '../../../molecule/menu-links/types';
|
|
5
|
+
import { propTypes as ListPropTypes } from '../../../molecule/expandable-list/types';
|
|
6
|
+
export const propTypes = {
|
|
7
|
+
header: HeroPropTypes,
|
|
8
|
+
privacyPolicyContact: ContactPropTypes,
|
|
9
|
+
menuLinks: MenuLinksPropTypes,
|
|
10
|
+
privacyPolicyDownload: DownloadPropTypes,
|
|
11
|
+
expandableList: ListPropTypes
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["propTypes","ContactPropTypes","DownloadPropTypes","HeroPropTypes","MenuLinksPropTypes","ListPropTypes","header","privacyPolicyContact","menuLinks","privacyPolicyDownload","expandableList"],"sources":["../../../../src/template/common/faq-page/types.ts"],"sourcesContent":["import {\n Props as ContactProps,\n propTypes as ContactPropTypes\n} from '../../../molecule/privacy-policy-contact/types';\nimport {\n Props as DownloadProps,\n propTypes as DownloadPropTypes\n} from '../../../molecule/privacy-policy-download/types';\nimport {Props as HeroProps, propTypes as HeroPropTypes} from '../../../molecule/hero/types';\nimport {\n Props as MenuLinksProps,\n propTypes as MenuLinksPropTypes\n} from '../../../molecule/menu-links/types';\nimport {\n Props as ListProps,\n propTypes as ListPropTypes\n} from '../../../molecule/expandable-list/types';\n\nexport const propTypes = {\n header: HeroPropTypes,\n privacyPolicyContact: ContactPropTypes,\n menuLinks: MenuLinksPropTypes,\n privacyPolicyDownload: DownloadPropTypes,\n expandableList: ListPropTypes\n};\n\nexport type Props = {\n header: HeroProps;\n privacyPolicyContact: ContactProps;\n menuLinks: MenuLinksProps;\n privacyPolicyDownload: DownloadProps;\n expandableList: ListProps;\n};\n"],"mappings":"AAAA,SAEEA,SAAS,IAAIC,gBAFf,QAGO,gDAHP;AAIA,SAEED,SAAS,IAAIE,iBAFf,QAGO,iDAHP;AAIA,SAA4BF,SAAS,IAAIG,aAAzC,QAA6D,8BAA7D;AACA,SAEEH,SAAS,IAAII,kBAFf,QAGO,oCAHP;AAIA,SAEEJ,SAAS,IAAIK,aAFf,QAGO,yCAHP;AAKA,OAAO,MAAML,SAAS,GAAG;EACvBM,MAAM,EAAEH,aADe;EAEvBI,oBAAoB,EAAEN,gBAFC;EAGvBO,SAAS,EAAEJ,kBAHY;EAIvBK,qBAAqB,EAAEP,iBAJA;EAKvBQ,cAAc,EAAEL;AALO,CAAlB"}
|