@coorpacademy/components 11.14.1-alpha.3.27 → 11.14.2
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/index.d.ts.map +1 -1
- package/es/atom/button/index.js +18 -13
- package/es/atom/button/index.js.map +1 -1
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +5 -4
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +61 -40
- package/es/molecule/discipline-header/index.d.ts +1 -1
- package/es/molecule/discipline-header/index.d.ts.map +1 -1
- package/es/molecule/discipline-header/index.js +8 -8
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-header/style.css +1 -1
- package/es/molecule/hero/index.d.ts +26 -30
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/hero/index.js +13 -14
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/style.css +0 -42
- package/es/molecule/quick-access-card/index.d.ts +0 -1
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-card/index.js +21 -77
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-card/style.css +17 -28
- package/es/molecule/quick-access-cards-group/index.d.ts +0 -1
- package/es/organism/brand-dashboard/index.d.ts +0 -1
- package/es/template/back-office/brand-update/index.d.ts +0 -1
- package/es/template/external-course/index.d.ts +69 -21
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/external-course/index.js +73 -56
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/external-course/style.css +1 -1
- package/es/util/button-icons.d.ts +0 -1
- package/es/util/button-icons.d.ts.map +1 -1
- package/es/util/button-icons.js +2 -3
- package/es/util/button-icons.js.map +1 -1
- package/es/variables/breakpoints.css +1 -1
- package/lib/atom/button/index.d.ts.map +1 -1
- package/lib/atom/button/index.js +18 -13
- package/lib/atom/button/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +4 -3
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +61 -40
- package/lib/molecule/discipline-header/index.d.ts +1 -1
- package/lib/molecule/discipline-header/index.d.ts.map +1 -1
- package/lib/molecule/discipline-header/index.js +8 -8
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-header/style.css +1 -1
- package/lib/molecule/hero/index.d.ts +26 -30
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.js +14 -15
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/style.css +0 -42
- package/lib/molecule/quick-access-card/index.d.ts +0 -1
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-card/index.js +20 -76
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-card/style.css +17 -28
- package/lib/molecule/quick-access-cards-group/index.d.ts +0 -1
- package/lib/organism/brand-dashboard/index.d.ts +0 -1
- package/lib/template/back-office/brand-update/index.d.ts +0 -1
- package/lib/template/external-course/index.d.ts +69 -21
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/external-course/index.js +76 -54
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/external-course/style.css +1 -1
- package/lib/util/button-icons.d.ts +0 -1
- package/lib/util/button-icons.d.ts.map +1 -1
- package/lib/util/button-icons.js +1 -2
- package/lib/util/button-icons.js.map +1 -1
- package/lib/variables/breakpoints.css +1 -1
- package/package.json +3 -3
- package/es/molecule/expandable-item/index.d.ts +0 -19
- package/es/molecule/expandable-item/index.d.ts.map +0 -1
- package/es/molecule/expandable-item/index.js +0 -44
- package/es/molecule/expandable-item/index.js.map +0 -1
- package/es/molecule/expandable-item/style.css +0 -135
- package/es/molecule/expandable-item/types.d.ts +0 -20
- package/es/molecule/expandable-item/types.d.ts.map +0 -1
- package/es/molecule/expandable-item/types.js +0 -11
- package/es/molecule/expandable-item/types.js.map +0 -1
- package/es/molecule/expandable-list/index.d.ts +0 -18
- package/es/molecule/expandable-list/index.d.ts.map +0 -1
- package/es/molecule/expandable-list/index.js +0 -22
- package/es/molecule/expandable-list/index.js.map +0 -1
- package/es/molecule/expandable-list/style.css +0 -20
- package/es/molecule/expandable-list/types.d.ts +0 -17
- package/es/molecule/expandable-list/types.d.ts.map +0 -1
- package/es/molecule/expandable-list/types.js +0 -6
- package/es/molecule/expandable-list/types.js.map +0 -1
- package/es/molecule/hero/types.d.ts +0 -22
- package/es/molecule/hero/types.d.ts.map +0 -1
- package/es/molecule/hero/types.js +0 -14
- package/es/molecule/hero/types.js.map +0 -1
- package/es/molecule/menu-links/index.d.ts +0 -22
- package/es/molecule/menu-links/index.d.ts.map +0 -1
- package/es/molecule/menu-links/index.js +0 -70
- package/es/molecule/menu-links/index.js.map +0 -1
- package/es/molecule/menu-links/style.css +0 -161
- package/es/molecule/menu-links/types.d.ts +0 -35
- package/es/molecule/menu-links/types.d.ts.map +0 -1
- package/es/molecule/menu-links/types.js +0 -17
- package/es/molecule/menu-links/types.js.map +0 -1
- package/es/molecule/privacy-policy-contact/index.d.ts +0 -14
- package/es/molecule/privacy-policy-contact/index.d.ts.map +0 -1
- package/es/molecule/privacy-policy-contact/index.js +0 -28
- package/es/molecule/privacy-policy-contact/index.js.map +0 -1
- package/es/molecule/privacy-policy-contact/style.css +0 -38
- package/es/molecule/privacy-policy-contact/types.d.ts +0 -10
- package/es/molecule/privacy-policy-contact/types.d.ts.map +0 -1
- package/es/molecule/privacy-policy-contact/types.js +0 -6
- package/es/molecule/privacy-policy-contact/types.js.map +0 -1
- package/es/molecule/privacy-policy-download/index.d.ts +0 -38
- package/es/molecule/privacy-policy-download/index.d.ts.map +0 -1
- package/es/molecule/privacy-policy-download/index.js +0 -27
- package/es/molecule/privacy-policy-download/index.js.map +0 -1
- package/es/molecule/privacy-policy-download/style.css +0 -65
- package/es/molecule/privacy-policy-download/types.d.ts +0 -50
- package/es/molecule/privacy-policy-download/types.d.ts.map +0 -1
- package/es/molecule/privacy-policy-download/types.js +0 -8
- package/es/molecule/privacy-policy-download/types.js.map +0 -1
- package/es/template/common/faq-article-page/index.d.ts +0 -27
- package/es/template/common/faq-article-page/index.d.ts.map +0 -1
- package/es/template/common/faq-article-page/index.js +0 -50
- package/es/template/common/faq-article-page/index.js.map +0 -1
- package/es/template/common/faq-article-page/style.css +0 -110
- package/es/template/common/faq-article-page/types.d.ts +0 -40
- package/es/template/common/faq-article-page/types.d.ts.map +0 -1
- package/es/template/common/faq-article-page/types.js +0 -20
- package/es/template/common/faq-article-page/types.js.map +0 -1
- package/es/template/common/faq-cards-page/index.d.ts +0 -34
- package/es/template/common/faq-cards-page/index.d.ts.map +0 -1
- package/es/template/common/faq-cards-page/index.js +0 -45
- package/es/template/common/faq-cards-page/index.js.map +0 -1
- package/es/template/common/faq-cards-page/style.css +0 -95
- package/es/template/common/faq-cards-page/types.d.ts +0 -44
- package/es/template/common/faq-cards-page/types.d.ts.map +0 -1
- package/es/template/common/faq-cards-page/types.js +0 -13
- package/es/template/common/faq-cards-page/types.js.map +0 -1
- package/es/template/common/faq-page/index.d.ts +0 -80
- package/es/template/common/faq-page/index.d.ts.map +0 -1
- package/es/template/common/faq-page/index.js +0 -44
- package/es/template/common/faq-page/index.js.map +0 -1
- package/es/template/common/faq-page/style.css +0 -104
- package/es/template/common/faq-page/types.d.ts +0 -86
- package/es/template/common/faq-page/types.d.ts.map +0 -1
- package/es/template/common/faq-page/types.js +0 -13
- package/es/template/common/faq-page/types.js.map +0 -1
- package/es/template/common/privacy-policy-page/index.d.ts +0 -80
- package/es/template/common/privacy-policy-page/index.d.ts.map +0 -1
- package/es/template/common/privacy-policy-page/index.js +0 -50
- package/es/template/common/privacy-policy-page/index.js.map +0 -1
- package/es/template/common/privacy-policy-page/style.css +0 -123
- package/es/template/common/privacy-policy-page/types.d.ts +0 -86
- package/es/template/common/privacy-policy-page/types.d.ts.map +0 -1
- package/es/template/common/privacy-policy-page/types.js +0 -13
- package/es/template/common/privacy-policy-page/types.js.map +0 -1
- package/lib/molecule/expandable-item/index.d.ts +0 -19
- package/lib/molecule/expandable-item/index.d.ts.map +0 -1
- package/lib/molecule/expandable-item/index.js +0 -58
- package/lib/molecule/expandable-item/index.js.map +0 -1
- package/lib/molecule/expandable-item/style.css +0 -135
- package/lib/molecule/expandable-item/types.d.ts +0 -20
- package/lib/molecule/expandable-item/types.d.ts.map +0 -1
- package/lib/molecule/expandable-item/types.js +0 -20
- package/lib/molecule/expandable-item/types.js.map +0 -1
- package/lib/molecule/expandable-list/index.d.ts +0 -18
- package/lib/molecule/expandable-list/index.d.ts.map +0 -1
- package/lib/molecule/expandable-list/index.js +0 -33
- package/lib/molecule/expandable-list/index.js.map +0 -1
- package/lib/molecule/expandable-list/style.css +0 -20
- package/lib/molecule/expandable-list/types.d.ts +0 -17
- package/lib/molecule/expandable-list/types.d.ts.map +0 -1
- package/lib/molecule/expandable-list/types.js +0 -16
- package/lib/molecule/expandable-list/types.js.map +0 -1
- package/lib/molecule/hero/types.d.ts +0 -22
- package/lib/molecule/hero/types.d.ts.map +0 -1
- package/lib/molecule/hero/types.js +0 -25
- package/lib/molecule/hero/types.js.map +0 -1
- package/lib/molecule/menu-links/index.d.ts +0 -22
- package/lib/molecule/menu-links/index.d.ts.map +0 -1
- package/lib/molecule/menu-links/index.js +0 -88
- package/lib/molecule/menu-links/index.js.map +0 -1
- package/lib/molecule/menu-links/style.css +0 -161
- package/lib/molecule/menu-links/types.d.ts +0 -35
- package/lib/molecule/menu-links/types.d.ts.map +0 -1
- package/lib/molecule/menu-links/types.js +0 -26
- package/lib/molecule/menu-links/types.js.map +0 -1
- package/lib/molecule/privacy-policy-contact/index.d.ts +0 -14
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-contact/index.js +0 -41
- package/lib/molecule/privacy-policy-contact/index.js.map +0 -1
- package/lib/molecule/privacy-policy-contact/style.css +0 -38
- package/lib/molecule/privacy-policy-contact/types.d.ts +0 -10
- package/lib/molecule/privacy-policy-contact/types.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-contact/types.js +0 -15
- package/lib/molecule/privacy-policy-contact/types.js.map +0 -1
- package/lib/molecule/privacy-policy-download/index.d.ts +0 -38
- package/lib/molecule/privacy-policy-download/index.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-download/index.js +0 -38
- package/lib/molecule/privacy-policy-download/index.js.map +0 -1
- package/lib/molecule/privacy-policy-download/style.css +0 -65
- package/lib/molecule/privacy-policy-download/types.d.ts +0 -50
- package/lib/molecule/privacy-policy-download/types.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-download/types.js +0 -18
- package/lib/molecule/privacy-policy-download/types.js.map +0 -1
- package/lib/template/common/faq-article-page/index.d.ts +0 -27
- package/lib/template/common/faq-article-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-article-page/index.js +0 -63
- package/lib/template/common/faq-article-page/index.js.map +0 -1
- package/lib/template/common/faq-article-page/style.css +0 -110
- package/lib/template/common/faq-article-page/types.d.ts +0 -40
- package/lib/template/common/faq-article-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-article-page/types.js +0 -30
- package/lib/template/common/faq-article-page/types.js.map +0 -1
- package/lib/template/common/faq-cards-page/index.d.ts +0 -34
- package/lib/template/common/faq-cards-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-cards-page/index.js +0 -58
- package/lib/template/common/faq-cards-page/index.js.map +0 -1
- package/lib/template/common/faq-cards-page/style.css +0 -95
- package/lib/template/common/faq-cards-page/types.d.ts +0 -44
- package/lib/template/common/faq-cards-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-cards-page/types.js +0 -25
- package/lib/template/common/faq-cards-page/types.js.map +0 -1
- package/lib/template/common/faq-page/index.d.ts +0 -80
- package/lib/template/common/faq-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-page/index.js +0 -58
- package/lib/template/common/faq-page/index.js.map +0 -1
- package/lib/template/common/faq-page/style.css +0 -104
- package/lib/template/common/faq-page/types.d.ts +0 -86
- package/lib/template/common/faq-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-page/types.js +0 -24
- package/lib/template/common/faq-page/types.js.map +0 -1
- package/lib/template/common/privacy-policy-page/index.d.ts +0 -80
- package/lib/template/common/privacy-policy-page/index.d.ts.map +0 -1
- package/lib/template/common/privacy-policy-page/index.js +0 -65
- package/lib/template/common/privacy-policy-page/index.js.map +0 -1
- package/lib/template/common/privacy-policy-page/style.css +0 -123
- package/lib/template/common/privacy-policy-page/types.d.ts +0 -86
- package/lib/template/common/privacy-policy-page/types.d.ts.map +0 -1
- package/lib/template/common/privacy-policy-page/types.js +0 -24
- package/lib/template/common/privacy-policy-page/types.js.map +0 -1
|
@@ -1,65 +0,0 @@
|
|
|
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_700 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: 18px;
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
line-height: 24px;
|
|
22
|
-
letter-spacing: 0em;
|
|
23
|
-
text-align: left;
|
|
24
|
-
color: cm_grey_700;
|
|
25
|
-
margin: 0px 0px 8px 0px;
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.content {
|
|
30
|
-
font-family: Gilroy;
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
font-weight: 500;
|
|
33
|
-
line-height: 20px;
|
|
34
|
-
letter-spacing: 0px;
|
|
35
|
-
text-align: left;
|
|
36
|
-
color: cm_grey_500;
|
|
37
|
-
margin: 0px 0px 24px 0px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.downloadButton {
|
|
41
|
-
height: 48px;
|
|
42
|
-
width: 152px;
|
|
43
|
-
border-radius: 7px;
|
|
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
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
title: PropTypes.Requireable<string>;
|
|
4
|
-
content: PropTypes.Requireable<string>;
|
|
5
|
-
downloadButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
6
|
-
color: any;
|
|
7
|
-
submitValue: PropTypes.Requireable<string>;
|
|
8
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
9
|
-
href: PropTypes.Requireable<string>;
|
|
10
|
-
download: PropTypes.Requireable<boolean>;
|
|
11
|
-
target: PropTypes.Requireable<string>;
|
|
12
|
-
type: PropTypes.Requireable<string>;
|
|
13
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
14
|
-
className: PropTypes.Requireable<string>;
|
|
15
|
-
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
16
|
-
'data-name': PropTypes.Requireable<string>;
|
|
17
|
-
'aria-label': PropTypes.Requireable<string>;
|
|
18
|
-
'data-testid': PropTypes.Requireable<string>;
|
|
19
|
-
useButtonTag: PropTypes.Requireable<boolean>;
|
|
20
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
-
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
-
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
|
-
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
|
-
buttonRef: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
25
|
-
'data-for': PropTypes.Requireable<string>;
|
|
26
|
-
'data-tooltip-place': PropTypes.Requireable<string>;
|
|
27
|
-
'data-tip': PropTypes.Requireable<boolean>;
|
|
28
|
-
isLinkDisabled: PropTypes.Requireable<boolean>;
|
|
29
|
-
useWrapper: PropTypes.Requireable<boolean>;
|
|
30
|
-
buttonContentClassName: PropTypes.Requireable<string>;
|
|
31
|
-
}>>;
|
|
32
|
-
};
|
|
33
|
-
export declare type Item = {
|
|
34
|
-
text: string;
|
|
35
|
-
isSelected?: boolean;
|
|
36
|
-
handleOnclick: () => void;
|
|
37
|
-
isShowMoreItem?: boolean;
|
|
38
|
-
};
|
|
39
|
-
export declare type Props = {
|
|
40
|
-
title: string;
|
|
41
|
-
content: string;
|
|
42
|
-
downloadButton: {
|
|
43
|
-
submitValue: string;
|
|
44
|
-
onClick: () => void;
|
|
45
|
-
type: string;
|
|
46
|
-
href: string;
|
|
47
|
-
download: boolean;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-download/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrB,CAAC;AAEF,oBAAY,IAAI,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AACF,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","Button","propTypes","title","string","content","downloadButton","shape"],"sources":["../../../src/molecule/privacy-policy-download/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport Button from '../../atom/button';\n\nexport const propTypes = {\n title: PropTypes.string,\n content: PropTypes.string,\n downloadButton: PropTypes.shape(Button.propTypes)\n};\n\nexport type Item = {\n text: string;\n isSelected?: boolean;\n handleOnclick: () => void;\n isShowMoreItem?: boolean;\n};\nexport type Props = {\n title: string;\n content: string;\n downloadButton: {\n submitValue: string;\n onClick: () => void;\n type: string;\n href: string;\n download: boolean;\n };\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEH,SAAS,CAACI,MADM;EAEvBC,OAAO,EAAEL,SAAS,CAACI,MAFI;EAGvBE,cAAc,EAAEN,SAAS,CAACO,KAAV,CAAgBN,MAAM,CAACC,SAAvB;AAHO,CAAlB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
declare const FAQArticlePage: {
|
|
4
|
-
({ title, backButton, backButtonText, subArticles, privacyPolicyContact }: Props): JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
subArticles: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
7
|
-
subTitle: import("prop-types").Requireable<string>;
|
|
8
|
-
text: import("prop-types").Requireable<string>;
|
|
9
|
-
image: import("prop-types").Requireable<string>;
|
|
10
|
-
backButtonText: import("prop-types").Requireable<string>;
|
|
11
|
-
}> | null | undefined)[]>;
|
|
12
|
-
title: import("prop-types").Requireable<string>;
|
|
13
|
-
backButton: {
|
|
14
|
-
size: import("prop-types").Requireable<string>;
|
|
15
|
-
'data-name': import("prop-types").Requireable<string>;
|
|
16
|
-
'aria-label': import("prop-types").Requireable<string>;
|
|
17
|
-
icon: import("prop-types").Requireable<string>;
|
|
18
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
19
|
-
};
|
|
20
|
-
privacyPolicyContact: {
|
|
21
|
-
title: import("prop-types").Requireable<string>;
|
|
22
|
-
content: import("prop-types").Requireable<string>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default FAQArticlePage;
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-article-page/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,cAAc;+EAMjB,KAAK;;;;;;;;;;;;;;;;;;;;;CAkCP,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import _map from "lodash/fp/map";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import ButtonLinkIconOnly from '../../../atom/button-link-icon-only';
|
|
4
|
-
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
|
|
5
|
-
import { propTypes } from './types';
|
|
6
|
-
import styles from './style.css';
|
|
7
|
-
|
|
8
|
-
const FAQArticlePage = ({
|
|
9
|
-
title,
|
|
10
|
-
backButton,
|
|
11
|
-
backButtonText,
|
|
12
|
-
subArticles,
|
|
13
|
-
privacyPolicyContact
|
|
14
|
-
}) => {
|
|
15
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
16
|
-
className: styles.wrapper
|
|
17
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18
|
-
className: styles.page
|
|
19
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: styles.container
|
|
21
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22
|
-
className: styles.backContainer
|
|
23
|
-
}, /*#__PURE__*/React.createElement(ButtonLinkIconOnly, backButton), /*#__PURE__*/React.createElement("span", null, backButtonText)), /*#__PURE__*/React.createElement("h1", {
|
|
24
|
-
className: styles.title
|
|
25
|
-
}, title), _map(item => {
|
|
26
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: styles.article
|
|
28
|
-
}, /*#__PURE__*/React.createElement("h3", {
|
|
29
|
-
className: styles.subTitle
|
|
30
|
-
}, item.subTitle), /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: styles.text // eslint-disable-next-line react/no-danger
|
|
32
|
-
,
|
|
33
|
-
dangerouslySetInnerHTML: {
|
|
34
|
-
__html: item.text
|
|
35
|
-
}
|
|
36
|
-
}), /*#__PURE__*/React.createElement("img", {
|
|
37
|
-
className: styles.img,
|
|
38
|
-
src: item.image,
|
|
39
|
-
alt: ""
|
|
40
|
-
}));
|
|
41
|
-
}, subArticles), /*#__PURE__*/React.createElement("div", {
|
|
42
|
-
className: styles.backContainerMobile
|
|
43
|
-
}, /*#__PURE__*/React.createElement(ButtonLinkIconOnly, backButton), /*#__PURE__*/React.createElement("span", null, backButtonText))), /*#__PURE__*/React.createElement("div", {
|
|
44
|
-
className: styles.privacyPolicyContact
|
|
45
|
-
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact))));
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
FAQArticlePage.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
49
|
-
export default FAQArticlePage;
|
|
50
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","ButtonLinkIconOnly","PrivacyPolicyContact","propTypes","styles","FAQArticlePage","title","backButton","backButtonText","subArticles","privacyPolicyContact","wrapper","page","container","backContainer","item","article","subTitle","text","__html","img","image","backContainerMobile"],"sources":["../../../../src/template/common/faq-article-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map} from 'lodash/fp';\nimport ButtonLinkIconOnly from '../../../atom/button-link-icon-only';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst FAQArticlePage = ({\n title,\n backButton,\n backButtonText,\n subArticles,\n privacyPolicyContact\n}: Props) => {\n return (\n <div className={styles.wrapper}>\n <div className={styles.page}>\n <div className={styles.container}>\n <div className={styles.backContainer}>\n <ButtonLinkIconOnly {...backButton} />\n <span>{backButtonText}</span>\n </div>\n <h1 className={styles.title}>{title}</h1>\n {map(item => {\n return (\n <div className={styles.article}>\n <h3 className={styles.subTitle}>{item.subTitle}</h3>\n <div\n className={styles.text}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: item.text}}\n />\n <img className={styles.img} src={item.image} alt=\"\" />\n </div>\n );\n }, subArticles)}\n <div className={styles.backContainerMobile}>\n <ButtonLinkIconOnly {...backButton} />\n <span>{backButtonText}</span>\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n </div>\n );\n};\n\nFAQArticlePage.propTypes = propTypes;\n\nexport default FAQArticlePage;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,kBAAP,MAA+B,qCAA/B;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,cAAc,GAAG,CAAC;EACtBC,KADsB;EAEtBC,UAFsB;EAGtBC,cAHsB;EAItBC,WAJsB;EAKtBC;AALsB,CAAD,KAMV;EACX,oBACE;IAAK,SAAS,EAAEN,MAAM,CAACO;EAAvB,gBACE;IAAK,SAAS,EAAEP,MAAM,CAACQ;EAAvB,gBACE;IAAK,SAAS,EAAER,MAAM,CAACS;EAAvB,gBACE;IAAK,SAAS,EAAET,MAAM,CAACU;EAAvB,gBACE,oBAAC,kBAAD,EAAwBP,UAAxB,CADF,eAEE,kCAAOC,cAAP,CAFF,CADF,eAKE;IAAI,SAAS,EAAEJ,MAAM,CAACE;EAAtB,GAA8BA,KAA9B,CALF,EAMG,KAAIS,IAAI,IAAI;IACX,oBACE;MAAK,SAAS,EAAEX,MAAM,CAACY;IAAvB,gBACE;MAAI,SAAS,EAAEZ,MAAM,CAACa;IAAtB,GAAiCF,IAAI,CAACE,QAAtC,CADF,eAEE;MACE,SAAS,EAAEb,MAAM,CAACc,IADpB,CAEE;MAFF;MAGE,uBAAuB,EAAE;QAACC,MAAM,EAAEJ,IAAI,CAACG;MAAd;IAH3B,EAFF,eAOE;MAAK,SAAS,EAAEd,MAAM,CAACgB,GAAvB;MAA4B,GAAG,EAAEL,IAAI,CAACM,KAAtC;MAA6C,GAAG,EAAC;IAAjD,EAPF,CADF;EAWD,CAZA,EAYEZ,WAZF,CANH,eAmBE;IAAK,SAAS,EAAEL,MAAM,CAACkB;EAAvB,gBACE,oBAAC,kBAAD,EAAwBf,UAAxB,CADF,eAEE,kCAAOC,cAAP,CAFF,CAnBF,CADF,eAyBE;IAAK,SAAS,EAAEJ,MAAM,CAACM;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CAzBF,CADF,CADF;AAiCD,CAxCD;;AA0CAL,cAAc,CAACF,SAAf,2CAA2BA,SAA3B;AAEA,eAAeE,cAAf"}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@value breakpoints: "../../../variables/breakpoints.css";
|
|
2
|
-
@value mobile from breakpoints;
|
|
3
|
-
@value 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
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.page {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
height: 100%;
|
|
20
|
-
width: 660px;
|
|
21
|
-
padding: 0px 24px 40px 24px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.container{
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.article {
|
|
29
|
-
margin-top: 40px;
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.backContainer {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: row;
|
|
36
|
-
gap: 12px;
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.img {
|
|
41
|
-
width: 100%;
|
|
42
|
-
/* height: 295px; */
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.backContainer span {
|
|
46
|
-
font-family: Gilroy;
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
font-weight: 500;
|
|
49
|
-
line-height: 20px;
|
|
50
|
-
letter-spacing: 0px;
|
|
51
|
-
text-align: left;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.privacyPolicyContact{
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 86px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.title {
|
|
60
|
-
font-family: Gilroy;
|
|
61
|
-
font-size: 28px;
|
|
62
|
-
font-weight: 500;
|
|
63
|
-
line-height: 36px;
|
|
64
|
-
letter-spacing: 0px;
|
|
65
|
-
text-align: left;
|
|
66
|
-
margin: 16px 0px 24px 0px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.subTitle {
|
|
70
|
-
font-family: Gilroy;
|
|
71
|
-
font-size: 18px;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
line-height: 24px;
|
|
74
|
-
letter-spacing: 0px;
|
|
75
|
-
text-align: left;
|
|
76
|
-
margin: 0px 0px 16px 0px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.text {
|
|
80
|
-
font-family: Gilroy;
|
|
81
|
-
font-size: 14px;
|
|
82
|
-
font-weight: 500;
|
|
83
|
-
line-height: 20px;
|
|
84
|
-
letter-spacing: 0px;
|
|
85
|
-
text-align: left;
|
|
86
|
-
margin-bottom: 16px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.backContainerMobile {
|
|
90
|
-
display: none;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@media mobile {
|
|
94
|
-
.page {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-direction: column;
|
|
97
|
-
justify-content: space-between;
|
|
98
|
-
height: 100%;
|
|
99
|
-
width: 100%px;
|
|
100
|
-
padding: 40px 24px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.backContainerMobile {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: row;
|
|
106
|
-
gap: 12px;
|
|
107
|
-
align-items: center;
|
|
108
|
-
margin-top: 40px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
-
export declare const propTypes: {
|
|
4
|
-
subArticles: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
|
-
subTitle: PropTypes.Requireable<string>;
|
|
6
|
-
text: PropTypes.Requireable<string>;
|
|
7
|
-
image: PropTypes.Requireable<string>;
|
|
8
|
-
backButtonText: PropTypes.Requireable<string>;
|
|
9
|
-
}> | null | undefined)[]>;
|
|
10
|
-
title: PropTypes.Requireable<string>;
|
|
11
|
-
backButton: {
|
|
12
|
-
size: PropTypes.Requireable<string>;
|
|
13
|
-
'data-name': PropTypes.Requireable<string>;
|
|
14
|
-
'aria-label': PropTypes.Requireable<string>;
|
|
15
|
-
icon: PropTypes.Requireable<string>;
|
|
16
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
-
};
|
|
18
|
-
privacyPolicyContact: {
|
|
19
|
-
title: PropTypes.Requireable<string>;
|
|
20
|
-
content: PropTypes.Requireable<string>;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare type Props = {
|
|
24
|
-
subArticles: {
|
|
25
|
-
subTitle: string;
|
|
26
|
-
text: string;
|
|
27
|
-
image: string;
|
|
28
|
-
}[];
|
|
29
|
-
backButtonText: string;
|
|
30
|
-
title: string;
|
|
31
|
-
privacyPolicyContact: ContactProps;
|
|
32
|
-
backButton: {
|
|
33
|
-
size: string;
|
|
34
|
-
'data-name': string;
|
|
35
|
-
'aria-label': string;
|
|
36
|
-
icon: string;
|
|
37
|
-
onClick: () => void;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-article-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AAExD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,YAAY,CAAC;IACnC,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { propTypes as ContactPropTypes } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
-
export const propTypes = {
|
|
4
|
-
subArticles: PropTypes.arrayOf(PropTypes.shape({
|
|
5
|
-
subTitle: PropTypes.string,
|
|
6
|
-
text: PropTypes.string,
|
|
7
|
-
image: PropTypes.string,
|
|
8
|
-
backButtonText: PropTypes.string
|
|
9
|
-
})),
|
|
10
|
-
title: PropTypes.string,
|
|
11
|
-
backButton: {
|
|
12
|
-
size: PropTypes.string,
|
|
13
|
-
'data-name': PropTypes.string,
|
|
14
|
-
'aria-label': PropTypes.string,
|
|
15
|
-
icon: PropTypes.string,
|
|
16
|
-
onClick: PropTypes.func
|
|
17
|
-
},
|
|
18
|
-
privacyPolicyContact: ContactPropTypes
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","propTypes","ContactPropTypes","subArticles","arrayOf","shape","subTitle","string","text","image","backButtonText","title","backButton","size","icon","onClick","func","privacyPolicyContact"],"sources":["../../../../src/template/common/faq-article-page/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {\n Props as ContactProps,\n propTypes as ContactPropTypes\n} from '../../../molecule/privacy-policy-contact/types';\n\nexport const propTypes = {\n subArticles: PropTypes.arrayOf(\n PropTypes.shape({\n subTitle: PropTypes.string,\n text: PropTypes.string,\n image: PropTypes.string,\n backButtonText: PropTypes.string\n })\n ),\n title: PropTypes.string,\n backButton: {\n size: PropTypes.string,\n 'data-name': PropTypes.string,\n 'aria-label': PropTypes.string,\n icon: PropTypes.string,\n onClick: PropTypes.func\n },\n privacyPolicyContact: ContactPropTypes\n};\n\nexport type Props = {\n subArticles: {subTitle: string; text: string; image: string}[];\n backButtonText: string;\n title: string;\n privacyPolicyContact: ContactProps;\n backButton: {\n size: string;\n 'data-name': string;\n 'aria-label': string;\n icon: string;\n onClick: () => void;\n };\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAEEC,SAAS,IAAIC,gBAFf,QAGO,gDAHP;AAKA,OAAO,MAAMD,SAAS,GAAG;EACvBE,WAAW,EAAEH,SAAS,CAACI,OAAV,CACXJ,SAAS,CAACK,KAAV,CAAgB;IACdC,QAAQ,EAAEN,SAAS,CAACO,MADN;IAEdC,IAAI,EAAER,SAAS,CAACO,MAFF;IAGdE,KAAK,EAAET,SAAS,CAACO,MAHH;IAIdG,cAAc,EAAEV,SAAS,CAACO;EAJZ,CAAhB,CADW,CADU;EASvBI,KAAK,EAAEX,SAAS,CAACO,MATM;EAUvBK,UAAU,EAAE;IACVC,IAAI,EAAEb,SAAS,CAACO,MADN;IAEV,aAAaP,SAAS,CAACO,MAFb;IAGV,cAAcP,SAAS,CAACO,MAHd;IAIVO,IAAI,EAAEd,SAAS,CAACO,MAJN;IAKVQ,OAAO,EAAEf,SAAS,CAACgB;EALT,CAVW;EAiBvBC,oBAAoB,EAAEf;AAjBC,CAAlB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
declare const FAQCardsPage: {
|
|
4
|
-
({ header, privacyPolicyContact, quickAccessList, title, description }: 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
|
-
title: import("prop-types").Requireable<string>;
|
|
17
|
-
description: import("prop-types").Requireable<string>;
|
|
18
|
-
privacyPolicyContact: {
|
|
19
|
-
title: import("prop-types").Requireable<string>;
|
|
20
|
-
content: import("prop-types").Requireable<string>;
|
|
21
|
-
};
|
|
22
|
-
isMoocCard: import("prop-types").Requireable<boolean>;
|
|
23
|
-
quickAccessList: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
24
|
-
title: import("prop-types").Requireable<string>;
|
|
25
|
-
description: import("prop-types").Requireable<string>;
|
|
26
|
-
href: import("prop-types").Requireable<string>;
|
|
27
|
-
openInNewTab: import("prop-types").Requireable<boolean>;
|
|
28
|
-
isMoocCard: import("prop-types").Requireable<boolean>;
|
|
29
|
-
feature: import("prop-types").Requireable<string>;
|
|
30
|
-
}> | null | undefined)[]>;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default FAQCardsPage;
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-cards-page/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,YAAY;4EAMf,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BP,CAAC;AAIF,eAAe,YAAY,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import _map from "lodash/fp/map";
|
|
2
|
-
|
|
3
|
-
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); }
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import Hero from '../../../molecule/hero';
|
|
7
|
-
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
|
|
8
|
-
import QuickAccessCard from '../../../molecule/quick-access-card';
|
|
9
|
-
import { propTypes } from './types';
|
|
10
|
-
import styles from './style.css';
|
|
11
|
-
|
|
12
|
-
const FAQCardsPage = ({
|
|
13
|
-
header,
|
|
14
|
-
privacyPolicyContact,
|
|
15
|
-
quickAccessList,
|
|
16
|
-
title,
|
|
17
|
-
description
|
|
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", null, /*#__PURE__*/React.createElement("h3", {
|
|
28
|
-
className: styles.title
|
|
29
|
-
}, title), /*#__PURE__*/React.createElement("h6", {
|
|
30
|
-
className: styles.description
|
|
31
|
-
}, description)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: styles.group
|
|
33
|
-
}, _map(item => {
|
|
34
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
35
|
-
className: styles.card,
|
|
36
|
-
key: `card-quick-access-faq-${item.title}`
|
|
37
|
-
}, /*#__PURE__*/React.createElement(QuickAccessCard, item));
|
|
38
|
-
}, quickAccessList)))), /*#__PURE__*/React.createElement("div", {
|
|
39
|
-
className: styles.privacyPolicyContact
|
|
40
|
-
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
FAQCardsPage.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
44
|
-
export default FAQCardsPage;
|
|
45
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","Hero","PrivacyPolicyContact","QuickAccessCard","propTypes","styles","FAQCardsPage","header","privacyPolicyContact","quickAccessList","title","description","wrapper","hero","container","group","item","card"],"sources":["../../../../src/template/common/faq-cards-page/index.tsx"],"sourcesContent":["import React from 'react';\nimport {map} from 'lodash/fp';\nimport Hero from '../../../molecule/hero';\nimport PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';\nimport QuickAccessCard from '../../../molecule/quick-access-card';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst FAQCardsPage = ({\n header,\n privacyPolicyContact,\n quickAccessList,\n title,\n description\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>\n <h3 className={styles.title}>{title}</h3>\n <h6 className={styles.description}>{description}</h6>\n </div>\n <div>\n <div className={styles.group}>\n {map(item => {\n return (\n <div className={styles.card} key={`card-quick-access-faq-${item.title}`}>\n <QuickAccessCard {...item} />\n </div>\n );\n }, quickAccessList)}\n </div>\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nFAQCardsPage.propTypes = propTypes;\n\nexport default FAQCardsPage;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,IAAP,MAAiB,wBAAjB;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,YAAY,GAAG,CAAC;EACpBC,MADoB;EAEpBC,oBAFoB;EAGpBC,eAHoB;EAIpBC,KAJoB;EAKpBC;AALoB,CAAD,KAMR;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,8CACE;IAAI,SAAS,EAAET,MAAM,CAACK;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAI,SAAS,EAAEL,MAAM,CAACM;EAAtB,GAAoCA,WAApC,CAFF,CADF,eAKE,8CACE;IAAK,SAAS,EAAEN,MAAM,CAACU;EAAvB,GACG,KAAIC,IAAI,IAAI;IACX,oBACE;MAAK,SAAS,EAAEX,MAAM,CAACY,IAAvB;MAA6B,GAAG,EAAG,yBAAwBD,IAAI,CAACN,KAAM;IAAtE,gBACE,oBAAC,eAAD,EAAqBM,IAArB,CADF,CADF;EAKD,CANA,EAMEP,eANF,CADH,CADF,CALF,CAJF,eAqBE;IAAK,SAAS,EAAEJ,MAAM,CAACG;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CArBF,CADF;AA2BD,CAlCD;;AAoCAF,YAAY,CAACF,SAAb,2CAAyBA,SAAzB;AAEA,eAAeE,YAAf"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
@value breakpoints: "../../../variables/breakpoints.css";
|
|
2
|
-
@value mobile from breakpoints;
|
|
3
|
-
@value tablet from breakpoints;
|
|
4
|
-
@value desktop from breakpoints;
|
|
5
|
-
@value colors: "../../../variables/colors.css";
|
|
6
|
-
@value cm_grey_50 from colors;
|
|
7
|
-
@value white from colors;
|
|
8
|
-
|
|
9
|
-
.wrapper {
|
|
10
|
-
background-color: cm_grey_50;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.hero {
|
|
14
|
-
height: 228px;
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.container {
|
|
19
|
-
margin: 40px auto;
|
|
20
|
-
padding: 0px 40px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.privacyPolicyContact{
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 86px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.title {
|
|
29
|
-
font-family: Gilroy;
|
|
30
|
-
font-size: 32px;
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
line-height: 40px;
|
|
33
|
-
letter-spacing: 0px;
|
|
34
|
-
text-align: center;
|
|
35
|
-
margin: 0px 0px 8px 0px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.description {
|
|
39
|
-
font-family: Gilroy;
|
|
40
|
-
font-size: 18px;
|
|
41
|
-
font-weight: 500;
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
letter-spacing: 0px;
|
|
44
|
-
text-align: center;
|
|
45
|
-
margin: 0px 0px 40px 0px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.card {
|
|
49
|
-
max-width: 428px;
|
|
50
|
-
min-width: 277px;
|
|
51
|
-
width: calc(33% - 24px);
|
|
52
|
-
margin: 0 24px 24px 0;background-color: white;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.group {
|
|
56
|
-
width: 100%;
|
|
57
|
-
display: flex;
|
|
58
|
-
overflow-y: inherit;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
flex-wrap: wrap;
|
|
61
|
-
}
|
|
62
|
-
@media tablet {
|
|
63
|
-
.container {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
margin: 40px;
|
|
67
|
-
padding: 0px;
|
|
68
|
-
}
|
|
69
|
-
.card {
|
|
70
|
-
max-width: 428px;
|
|
71
|
-
min-width: 277px;
|
|
72
|
-
width: calc(50% - 24px);
|
|
73
|
-
margin: 0 24px 24px 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@media mobile {
|
|
79
|
-
.hero {
|
|
80
|
-
height: 264px;
|
|
81
|
-
width: 100%;
|
|
82
|
-
}
|
|
83
|
-
.container {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
margin: 40px 24px;
|
|
87
|
-
padding: 0px;
|
|
88
|
-
}
|
|
89
|
-
.card {
|
|
90
|
-
max-width: 428px;
|
|
91
|
-
min-width: 277px;
|
|
92
|
-
width: 100%;
|
|
93
|
-
margin: 0 24px 24px 0;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { Props as ContactProps } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
-
import { Props as HeroProps } from '../../../molecule/hero/types';
|
|
4
|
-
export declare const propTypes: {
|
|
5
|
-
header: {
|
|
6
|
-
image: PropTypes.Requireable<string>;
|
|
7
|
-
mode: PropTypes.Requireable<string>;
|
|
8
|
-
description: PropTypes.Requireable<string>;
|
|
9
|
-
title: PropTypes.Requireable<string>;
|
|
10
|
-
author: PropTypes.Requireable<string>;
|
|
11
|
-
progress: PropTypes.Requireable<number>;
|
|
12
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
-
submitValue: PropTypes.Requireable<string>;
|
|
14
|
-
};
|
|
15
|
-
title: PropTypes.Requireable<string>;
|
|
16
|
-
description: PropTypes.Requireable<string>;
|
|
17
|
-
privacyPolicyContact: {
|
|
18
|
-
title: PropTypes.Requireable<string>;
|
|
19
|
-
content: PropTypes.Requireable<string>;
|
|
20
|
-
};
|
|
21
|
-
isMoocCard: PropTypes.Requireable<boolean>;
|
|
22
|
-
quickAccessList: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
23
|
-
title: PropTypes.Requireable<string>;
|
|
24
|
-
description: PropTypes.Requireable<string>;
|
|
25
|
-
href: PropTypes.Requireable<string>;
|
|
26
|
-
openInNewTab: PropTypes.Requireable<boolean>;
|
|
27
|
-
isMoocCard: PropTypes.Requireable<boolean>;
|
|
28
|
-
feature: PropTypes.Requireable<string>;
|
|
29
|
-
}> | null | undefined)[]>;
|
|
30
|
-
};
|
|
31
|
-
export declare type QuickAccessItem = {
|
|
32
|
-
title: string;
|
|
33
|
-
description: string;
|
|
34
|
-
feature: 'analytics' | 'cms' | 'cockpit' | 'massive_battle' | 'manage_email' | 'dashboard' | 'look_and_feel' | 'manage_users' | 'upload_users';
|
|
35
|
-
};
|
|
36
|
-
export declare type Props = {
|
|
37
|
-
header: HeroProps;
|
|
38
|
-
privacyPolicyContact: ContactProps;
|
|
39
|
-
title: string;
|
|
40
|
-
description: string;
|
|
41
|
-
isMoocCard: boolean;
|
|
42
|
-
quickAccessList: QuickAccessItem[];
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/faq-cards-page/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EACL,KAAK,IAAI,YAAY,EAEtB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAC,KAAK,IAAI,SAAS,EAA6B,MAAM,8BAA8B,CAAC;AAG5F,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrB,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EACH,WAAW,GACX,KAAK,GACL,SAAS,GACT,gBAAgB,GAChB,cAAc,GACd,WAAW,GACX,eAAe,GACf,cAAc,GACd,cAAc,CAAC;CACpB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,MAAM,EAAE,SAAS,CAAC;IAClB,oBAAoB,EAAE,YAAY,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,eAAe,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { propTypes as ContactPropTypes } from '../../../molecule/privacy-policy-contact/types';
|
|
3
|
-
import { propTypes as HeroPropTypes } from '../../../molecule/hero/types';
|
|
4
|
-
import QuickAccessCard from '../../../molecule/quick-access-card';
|
|
5
|
-
export const propTypes = {
|
|
6
|
-
header: HeroPropTypes,
|
|
7
|
-
title: PropTypes.string,
|
|
8
|
-
description: PropTypes.string,
|
|
9
|
-
privacyPolicyContact: ContactPropTypes,
|
|
10
|
-
isMoocCard: PropTypes.bool,
|
|
11
|
-
quickAccessList: PropTypes.arrayOf(PropTypes.shape(QuickAccessCard.propTypes))
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=types.js.map
|