@coorpacademy/components 11.14.0 → 11.14.1-alpha.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/molecule/discipline-header/style.css +2 -1
- package/es/molecule/expandable-item/index.d.ts +19 -0
- package/es/molecule/expandable-item/index.d.ts.map +1 -0
- package/es/molecule/expandable-item/index.js +44 -0
- package/es/molecule/expandable-item/index.js.map +1 -0
- package/es/molecule/expandable-item/style.css +135 -0
- package/es/molecule/expandable-item/types.d.ts +20 -0
- package/es/molecule/expandable-item/types.d.ts.map +1 -0
- package/es/molecule/expandable-item/types.js +11 -0
- package/es/molecule/expandable-item/types.js.map +1 -0
- package/es/molecule/expandable-list/index.d.ts +18 -0
- package/es/molecule/expandable-list/index.d.ts.map +1 -0
- package/es/molecule/expandable-list/index.js +22 -0
- package/es/molecule/expandable-list/index.js.map +1 -0
- package/es/molecule/expandable-list/style.css +20 -0
- package/es/molecule/expandable-list/types.d.ts +17 -0
- package/es/molecule/expandable-list/types.d.ts.map +1 -0
- package/es/molecule/expandable-list/types.js +6 -0
- package/es/molecule/expandable-list/types.js.map +1 -0
- package/es/molecule/hero/index.d.ts +30 -26
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/hero/index.js +14 -13
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/style.css +42 -0
- package/es/molecule/hero/types.d.ts +22 -0
- package/es/molecule/hero/types.d.ts.map +1 -0
- package/es/molecule/hero/types.js +14 -0
- package/es/molecule/hero/types.js.map +1 -0
- package/es/molecule/menu-links/index.d.ts +22 -0
- package/es/molecule/menu-links/index.d.ts.map +1 -0
- package/es/molecule/menu-links/index.js +70 -0
- package/es/molecule/menu-links/index.js.map +1 -0
- package/es/molecule/menu-links/style.css +161 -0
- package/es/molecule/menu-links/types.d.ts +35 -0
- package/es/molecule/menu-links/types.d.ts.map +1 -0
- package/es/molecule/menu-links/types.js +17 -0
- package/es/molecule/menu-links/types.js.map +1 -0
- package/es/molecule/privacy-policy-contact/index.d.ts +14 -0
- package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/es/molecule/privacy-policy-contact/index.js +28 -0
- package/es/molecule/privacy-policy-contact/index.js.map +1 -0
- package/es/molecule/privacy-policy-contact/style.css +38 -0
- package/es/molecule/privacy-policy-contact/types.d.ts +10 -0
- package/es/molecule/privacy-policy-contact/types.d.ts.map +1 -0
- package/es/molecule/privacy-policy-contact/types.js +6 -0
- package/es/molecule/privacy-policy-contact/types.js.map +1 -0
- package/es/molecule/privacy-policy-download/index.d.ts +38 -0
- package/es/molecule/privacy-policy-download/index.d.ts.map +1 -0
- package/es/molecule/privacy-policy-download/index.js +27 -0
- package/es/molecule/privacy-policy-download/index.js.map +1 -0
- package/es/molecule/privacy-policy-download/style.css +65 -0
- package/es/molecule/privacy-policy-download/types.d.ts +50 -0
- package/es/molecule/privacy-policy-download/types.d.ts.map +1 -0
- package/es/molecule/privacy-policy-download/types.js +8 -0
- package/es/molecule/privacy-policy-download/types.js.map +1 -0
- package/es/molecule/quick-access-card/index.d.ts +1 -0
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-card/index.js +77 -21
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-card/style.css +28 -17
- package/es/molecule/quick-access-cards-group/index.d.ts +1 -0
- package/es/organism/brand-dashboard/index.d.ts +1 -0
- package/es/template/back-office/brand-update/index.d.ts +1 -0
- package/es/template/common/faq-article-page/index.d.ts +27 -0
- package/es/template/common/faq-article-page/index.d.ts.map +1 -0
- package/es/template/common/faq-article-page/index.js +50 -0
- package/es/template/common/faq-article-page/index.js.map +1 -0
- package/es/template/common/faq-article-page/style.css +110 -0
- package/es/template/common/faq-article-page/types.d.ts +40 -0
- package/es/template/common/faq-article-page/types.d.ts.map +1 -0
- package/es/template/common/faq-article-page/types.js +20 -0
- package/es/template/common/faq-article-page/types.js.map +1 -0
- package/es/template/common/faq-cards-page/index.d.ts +34 -0
- package/es/template/common/faq-cards-page/index.d.ts.map +1 -0
- package/es/template/common/faq-cards-page/index.js +45 -0
- package/es/template/common/faq-cards-page/index.js.map +1 -0
- package/es/template/common/faq-cards-page/style.css +95 -0
- package/es/template/common/faq-cards-page/types.d.ts +44 -0
- package/es/template/common/faq-cards-page/types.d.ts.map +1 -0
- package/es/template/common/faq-cards-page/types.js +13 -0
- package/es/template/common/faq-cards-page/types.js.map +1 -0
- package/es/template/common/faq-page/index.d.ts +80 -0
- package/es/template/common/faq-page/index.d.ts.map +1 -0
- package/es/template/common/faq-page/index.js +44 -0
- package/es/template/common/faq-page/index.js.map +1 -0
- package/es/template/common/faq-page/style.css +104 -0
- package/es/template/common/faq-page/types.d.ts +86 -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 +80 -0
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/es/template/common/privacy-policy-page/index.js +50 -0
- package/es/template/common/privacy-policy-page/index.js.map +1 -0
- package/es/template/common/privacy-policy-page/style.css +123 -0
- package/es/template/common/privacy-policy-page/types.d.ts +86 -0
- package/es/template/common/privacy-policy-page/types.d.ts.map +1 -0
- package/es/template/common/privacy-policy-page/types.js +13 -0
- package/es/template/common/privacy-policy-page/types.js.map +1 -0
- package/es/template/mobile-login/welcome/index.native.d.ts +18 -0
- package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -0
- package/es/template/mobile-login/welcome/index.native.js +195 -0
- package/es/template/mobile-login/welcome/index.native.js.map +1 -0
- package/es/util/button-icons.d.ts +1 -0
- package/es/util/button-icons.d.ts.map +1 -1
- package/es/util/button-icons.js +3 -2
- package/es/util/button-icons.js.map +1 -1
- package/es/variables/breakpoints.css +1 -1
- package/lib/molecule/discipline-header/style.css +2 -1
- package/lib/molecule/expandable-item/index.d.ts +19 -0
- package/lib/molecule/expandable-item/index.d.ts.map +1 -0
- package/lib/molecule/expandable-item/index.js +58 -0
- package/lib/molecule/expandable-item/index.js.map +1 -0
- package/lib/molecule/expandable-item/style.css +135 -0
- package/lib/molecule/expandable-item/types.d.ts +20 -0
- package/lib/molecule/expandable-item/types.d.ts.map +1 -0
- package/lib/molecule/expandable-item/types.js +20 -0
- package/lib/molecule/expandable-item/types.js.map +1 -0
- package/lib/molecule/expandable-list/index.d.ts +18 -0
- package/lib/molecule/expandable-list/index.d.ts.map +1 -0
- package/lib/molecule/expandable-list/index.js +33 -0
- package/lib/molecule/expandable-list/index.js.map +1 -0
- package/lib/molecule/expandable-list/style.css +20 -0
- package/lib/molecule/expandable-list/types.d.ts +17 -0
- package/lib/molecule/expandable-list/types.d.ts.map +1 -0
- package/lib/molecule/expandable-list/types.js +16 -0
- package/lib/molecule/expandable-list/types.js.map +1 -0
- package/lib/molecule/hero/index.d.ts +30 -26
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.js +15 -14
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/style.css +42 -0
- package/lib/molecule/hero/types.d.ts +22 -0
- package/lib/molecule/hero/types.d.ts.map +1 -0
- package/lib/molecule/hero/types.js +25 -0
- package/lib/molecule/hero/types.js.map +1 -0
- package/lib/molecule/menu-links/index.d.ts +22 -0
- package/lib/molecule/menu-links/index.d.ts.map +1 -0
- package/lib/molecule/menu-links/index.js +88 -0
- package/lib/molecule/menu-links/index.js.map +1 -0
- package/lib/molecule/menu-links/style.css +161 -0
- package/lib/molecule/menu-links/types.d.ts +35 -0
- package/lib/molecule/menu-links/types.d.ts.map +1 -0
- package/lib/molecule/menu-links/types.js +26 -0
- package/lib/molecule/menu-links/types.js.map +1 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts +14 -0
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-contact/index.js +41 -0
- package/lib/molecule/privacy-policy-contact/index.js.map +1 -0
- package/lib/molecule/privacy-policy-contact/style.css +38 -0
- package/lib/molecule/privacy-policy-contact/types.d.ts +10 -0
- package/lib/molecule/privacy-policy-contact/types.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-contact/types.js +15 -0
- package/lib/molecule/privacy-policy-contact/types.js.map +1 -0
- package/lib/molecule/privacy-policy-download/index.d.ts +38 -0
- package/lib/molecule/privacy-policy-download/index.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-download/index.js +38 -0
- package/lib/molecule/privacy-policy-download/index.js.map +1 -0
- package/lib/molecule/privacy-policy-download/style.css +65 -0
- package/lib/molecule/privacy-policy-download/types.d.ts +50 -0
- package/lib/molecule/privacy-policy-download/types.d.ts.map +1 -0
- package/lib/molecule/privacy-policy-download/types.js +18 -0
- package/lib/molecule/privacy-policy-download/types.js.map +1 -0
- package/lib/molecule/quick-access-card/index.d.ts +1 -0
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-card/index.js +76 -20
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-card/style.css +28 -17
- package/lib/molecule/quick-access-cards-group/index.d.ts +1 -0
- package/lib/organism/brand-dashboard/index.d.ts +1 -0
- package/lib/template/back-office/brand-update/index.d.ts +1 -0
- package/lib/template/common/faq-article-page/index.d.ts +27 -0
- package/lib/template/common/faq-article-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-article-page/index.js +63 -0
- package/lib/template/common/faq-article-page/index.js.map +1 -0
- package/lib/template/common/faq-article-page/style.css +110 -0
- package/lib/template/common/faq-article-page/types.d.ts +40 -0
- package/lib/template/common/faq-article-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-article-page/types.js +30 -0
- package/lib/template/common/faq-article-page/types.js.map +1 -0
- package/lib/template/common/faq-cards-page/index.d.ts +34 -0
- package/lib/template/common/faq-cards-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-cards-page/index.js +58 -0
- package/lib/template/common/faq-cards-page/index.js.map +1 -0
- package/lib/template/common/faq-cards-page/style.css +95 -0
- package/lib/template/common/faq-cards-page/types.d.ts +44 -0
- package/lib/template/common/faq-cards-page/types.d.ts.map +1 -0
- package/lib/template/common/faq-cards-page/types.js +25 -0
- package/lib/template/common/faq-cards-page/types.js.map +1 -0
- package/lib/template/common/faq-page/index.d.ts +80 -0
- package/lib/template/common/faq-page/index.d.ts.map +1 -0
- package/lib/template/common/faq-page/index.js +58 -0
- package/lib/template/common/faq-page/index.js.map +1 -0
- package/lib/template/common/faq-page/style.css +104 -0
- package/lib/template/common/faq-page/types.d.ts +86 -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 +80 -0
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -0
- package/lib/template/common/privacy-policy-page/index.js +65 -0
- package/lib/template/common/privacy-policy-page/index.js.map +1 -0
- package/lib/template/common/privacy-policy-page/style.css +123 -0
- package/lib/template/common/privacy-policy-page/types.d.ts +86 -0
- package/lib/template/common/privacy-policy-page/types.d.ts.map +1 -0
- package/lib/template/common/privacy-policy-page/types.js +24 -0
- package/lib/template/common/privacy-policy-page/types.js.map +1 -0
- package/lib/template/mobile-login/welcome/index.native.d.ts +18 -0
- package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -0
- package/lib/template/mobile-login/welcome/index.native.js +212 -0
- package/lib/template/mobile-login/welcome/index.native.js.map +1 -0
- package/lib/util/button-icons.d.ts +1 -0
- package/lib/util/button-icons.d.ts.map +1 -1
- package/lib/util/button-icons.js +2 -1
- package/lib/util/button-icons.js.map +1 -1
- package/lib/variables/breakpoints.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","names":["PropTypes","propTypes","ContactPropTypes","HeroPropTypes","QuickAccessCard","header","title","string","description","privacyPolicyContact","isMoocCard","bool","quickAccessList","arrayOf","shape"],"sources":["../../../../src/template/common/faq-cards-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';\nimport {Props as HeroProps, propTypes as HeroPropTypes} from '../../../molecule/hero/types';\nimport QuickAccessCard from '../../../molecule/quick-access-card';\n\nexport const propTypes = {\n header: HeroPropTypes,\n title: PropTypes.string,\n description: PropTypes.string,\n privacyPolicyContact: ContactPropTypes,\n isMoocCard: PropTypes.bool,\n quickAccessList: PropTypes.arrayOf(PropTypes.shape(QuickAccessCard.propTypes))\n};\n\nexport type QuickAccessItem = {\n title: string;\n description: string;\n feature:\n | 'analytics'\n | 'cms'\n | 'cockpit'\n | 'massive_battle'\n | 'manage_email'\n | 'dashboard'\n | 'look_and_feel'\n | 'manage_users'\n | 'upload_users';\n};\n\nexport type Props = {\n header: HeroProps;\n privacyPolicyContact: ContactProps;\n title: string;\n description: string;\n isMoocCard: boolean;\n quickAccessList: QuickAccessItem[];\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,SAEEC,SAAS,IAAIC,gBAFf,QAGO,gDAHP;AAIA,SAA4BD,SAAS,IAAIE,aAAzC,QAA6D,8BAA7D;AACA,OAAOC,eAAP,MAA4B,qCAA5B;AAEA,OAAO,MAAMH,SAAS,GAAG;EACvBI,MAAM,EAAEF,aADe;EAEvBG,KAAK,EAAEN,SAAS,CAACO,MAFM;EAGvBC,WAAW,EAAER,SAAS,CAACO,MAHA;EAIvBE,oBAAoB,EAAEP,gBAJC;EAKvBQ,UAAU,EAAEV,SAAS,CAACW,IALC;EAMvBC,eAAe,EAAEZ,SAAS,CAACa,OAAV,CAAkBb,SAAS,CAACc,KAAV,CAAgBV,eAAe,CAACH,SAAhC,CAAlB;AANM,CAAlB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const FAQPage: {
|
|
4
|
+
({ header, privacyPolicyContact, menuLinks, 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
|
+
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
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
47
|
+
className: import("prop-types").Requireable<string>;
|
|
48
|
+
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
49
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
50
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
51
|
+
'data-testid': import("prop-types").Requireable<string>;
|
|
52
|
+
useButtonTag: import("prop-types").Requireable<boolean>;
|
|
53
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
54
|
+
onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
55
|
+
onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
56
|
+
onMouseOver: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
57
|
+
buttonRef: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
58
|
+
'data-for': import("prop-types").Requireable<string>;
|
|
59
|
+
'data-tooltip-place': import("prop-types").Requireable<string>;
|
|
60
|
+
'data-tip': import("prop-types").Requireable<boolean>;
|
|
61
|
+
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
62
|
+
useWrapper: import("prop-types").Requireable<boolean>;
|
|
63
|
+
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
64
|
+
}>>;
|
|
65
|
+
};
|
|
66
|
+
expandableList: {
|
|
67
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
68
|
+
title: import("prop-types").Requireable<string>;
|
|
69
|
+
icon: import("prop-types").Requireable<string>;
|
|
70
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
71
|
+
isLink: import("prop-types").Requireable<boolean>;
|
|
72
|
+
content: import("prop-types").Requireable<string>;
|
|
73
|
+
image: import("prop-types").Requireable<string>;
|
|
74
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
75
|
+
}> | null | undefined)[]>;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export default FAQPage;
|
|
80
|
+
//# 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":";AAKA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,OAAO;kEAA+D,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBhF,CAAC;AAIF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 MenuLinks from '../../../molecule/menu-links';
|
|
7
|
+
import ExpandableList from '../../../molecule/expandable-list';
|
|
8
|
+
import { propTypes } from './types';
|
|
9
|
+
import styles from './style.css';
|
|
10
|
+
|
|
11
|
+
const FAQPage = ({
|
|
12
|
+
header,
|
|
13
|
+
privacyPolicyContact,
|
|
14
|
+
menuLinks,
|
|
15
|
+
expandableList
|
|
16
|
+
}) => {
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
className: styles.wrapper
|
|
19
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: styles.hero
|
|
21
|
+
}, /*#__PURE__*/React.createElement(Hero, _extends({}, header, {
|
|
22
|
+
mode: 'header'
|
|
23
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
className: styles.container
|
|
25
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
className: styles.menuContainer
|
|
27
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
className: styles.menueLinksDesctop
|
|
29
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
30
|
+
isDesktopMode: true
|
|
31
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: styles.menueLinksMobile
|
|
33
|
+
}, /*#__PURE__*/React.createElement(MenuLinks, _extends({}, menuLinks, {
|
|
34
|
+
isDesktopMode: true
|
|
35
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: styles.expandableList
|
|
37
|
+
}, /*#__PURE__*/React.createElement(ExpandableList, expandableList))), /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: styles.privacyPolicyContact
|
|
39
|
+
}, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
FAQPage.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
43
|
+
export default FAQPage;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","Hero","PrivacyPolicyContact","MenuLinks","ExpandableList","propTypes","styles","FAQPage","header","privacyPolicyContact","menuLinks","expandableList","wrapper","hero","container","menuContainer","menueLinksDesctop","menueLinksMobile"],"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 MenuLinks from '../../../molecule/menu-links';\nimport ExpandableList from '../../../molecule/expandable-list';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst FAQPage = ({header, privacyPolicyContact, menuLinks, expandableList}: 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 <div className={styles.menueLinksDesctop}>\n <MenuLinks {...menuLinks} isDesktopMode />\n </div>\n <div className={styles.menueLinksMobile}>\n <MenuLinks {...menuLinks} isDesktopMode />\n </div>\n </div>\n <div className={styles.expandableList}>\n <ExpandableList {...expandableList} />\n </div>\n </div>\n <div className={styles.privacyPolicyContact}>\n <PrivacyPolicyContact {...privacyPolicyContact} />\n </div>\n </div>\n );\n};\n\nFAQPage.propTypes = propTypes;\n\nexport default FAQPage;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,IAAP,MAAiB,wBAAjB;AACA,OAAOC,oBAAP,MAAiC,0CAAjC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;;AAEA,MAAMC,OAAO,GAAG,CAAC;EAACC,MAAD;EAASC,oBAAT;EAA+BC,SAA/B;EAA0CC;AAA1C,CAAD,KAAsE;EACpF,oBACE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE;IAAK,SAAS,EAAEN,MAAM,CAACO;EAAvB,gBACE,oBAAC,IAAD,eAAUL,MAAV;IAAkB,IAAI,EAAE;EAAxB,GADF,CADF,eAIE;IAAK,SAAS,EAAEF,MAAM,CAACQ;EAAvB,gBACE;IAAK,SAAS,EAAER,MAAM,CAACS;EAAvB,gBACE;IAAK,SAAS,EAAET,MAAM,CAACU;EAAvB,gBACE,oBAAC,SAAD,eAAeN,SAAf;IAA0B,aAAa;EAAvC,GADF,CADF,eAIE;IAAK,SAAS,EAAEJ,MAAM,CAACW;EAAvB,gBACE,oBAAC,SAAD,eAAeP,SAAf;IAA0B,aAAa;EAAvC,GADF,CAJF,CADF,eASE;IAAK,SAAS,EAAEJ,MAAM,CAACK;EAAvB,gBACE,oBAAC,cAAD,EAAoBA,cAApB,CADF,CATF,CAJF,eAiBE;IAAK,SAAS,EAAEL,MAAM,CAACG;EAAvB,gBACE,oBAAC,oBAAD,EAA0BA,oBAA1B,CADF,CAjBF,CADF;AAuBD,CAxBD;;AA0BAF,OAAO,CAACF,SAAR,2CAAoBA,SAApB;AAEA,eAAeE,OAAf"}
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
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: 308px;
|
|
28
|
+
max-width: 388px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.menueLinksDesctop {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.menueLinksMobile {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.privacyPolicyContact{
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 86px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.expandableList {
|
|
45
|
+
min-width: 533px;
|
|
46
|
+
max-width: 748px;
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media tablet {
|
|
51
|
+
.container {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
margin: 40px;
|
|
55
|
+
padding: 0px;
|
|
56
|
+
}
|
|
57
|
+
.menuContainer {
|
|
58
|
+
margin: 0px 0px 16px 0px;
|
|
59
|
+
width: 100%;
|
|
60
|
+
min-width: inherit;
|
|
61
|
+
max-width: inherit;
|
|
62
|
+
}
|
|
63
|
+
.expandableList {
|
|
64
|
+
min-width: inherit;
|
|
65
|
+
max-width: inherit;
|
|
66
|
+
width: 100%;
|
|
67
|
+
}
|
|
68
|
+
.menueLinksDesctop {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
.menueLinksMobile {
|
|
72
|
+
display: block;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media mobile {
|
|
77
|
+
.hero {
|
|
78
|
+
height: 264px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
.container {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
margin: 40px 24px;
|
|
85
|
+
padding: 0px;
|
|
86
|
+
}
|
|
87
|
+
.menuContainer {
|
|
88
|
+
margin: 0px 0px 16px 0px;
|
|
89
|
+
width: 100%;
|
|
90
|
+
min-width: inherit;
|
|
91
|
+
max-width: inherit;
|
|
92
|
+
}
|
|
93
|
+
.expandableList {
|
|
94
|
+
min-width: inherit;
|
|
95
|
+
max-width: inherit;
|
|
96
|
+
width: 100%;
|
|
97
|
+
}
|
|
98
|
+
.menueLinksDesctop {
|
|
99
|
+
display: none;
|
|
100
|
+
}
|
|
101
|
+
.menueLinksMobile {
|
|
102
|
+
display: block;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
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
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
48
|
+
className: import("prop-types").Requireable<string>;
|
|
49
|
+
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
50
|
+
'data-name': import("prop-types").Requireable<string>;
|
|
51
|
+
'aria-label': import("prop-types").Requireable<string>;
|
|
52
|
+
'data-testid': import("prop-types").Requireable<string>;
|
|
53
|
+
useButtonTag: import("prop-types").Requireable<boolean>;
|
|
54
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
55
|
+
onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
56
|
+
onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
57
|
+
onMouseOver: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
58
|
+
buttonRef: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
59
|
+
'data-for': import("prop-types").Requireable<string>;
|
|
60
|
+
'data-tooltip-place': import("prop-types").Requireable<string>;
|
|
61
|
+
'data-tip': import("prop-types").Requireable<boolean>;
|
|
62
|
+
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
63
|
+
useWrapper: import("prop-types").Requireable<boolean>;
|
|
64
|
+
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
65
|
+
}>>;
|
|
66
|
+
};
|
|
67
|
+
expandableList: {
|
|
68
|
+
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
69
|
+
title: import("prop-types").Requireable<string>;
|
|
70
|
+
icon: import("prop-types").Requireable<string>;
|
|
71
|
+
isExpended: import("prop-types").Requireable<boolean>;
|
|
72
|
+
isLink: import("prop-types").Requireable<boolean>;
|
|
73
|
+
content: import("prop-types").Requireable<string>;
|
|
74
|
+
image: import("prop-types").Requireable<string>;
|
|
75
|
+
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
76
|
+
}> | null | undefined)[]>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare type Props = {
|
|
80
|
+
header: HeroProps;
|
|
81
|
+
privacyPolicyContact: ContactProps;
|
|
82
|
+
menuLinks: MenuLinksProps;
|
|
83
|
+
privacyPolicyDownload: DownloadProps;
|
|
84
|
+
expandableList: ListProps;
|
|
85
|
+
};
|
|
86
|
+
//# 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"}
|