@coorpacademy/components 11.14.1-alpha.3.27 → 11.14.1
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/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/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,35 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
title: PropTypes.Requireable<string>;
|
|
4
|
-
numberOfDisplayedItems: PropTypes.Requireable<number>;
|
|
5
|
-
isDesktopMode: PropTypes.Requireable<boolean>;
|
|
6
|
-
showMoreItem: PropTypes.Requireable<PropTypes.InferProps<{
|
|
7
|
-
showMoreText: PropTypes.Requireable<string>;
|
|
8
|
-
showLessText: PropTypes.Requireable<string>;
|
|
9
|
-
isSelected: PropTypes.Requireable<boolean>;
|
|
10
|
-
}>>;
|
|
11
|
-
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
12
|
-
text: PropTypes.Requireable<string>;
|
|
13
|
-
isSelected: PropTypes.Requireable<boolean>;
|
|
14
|
-
handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
-
}> | null | undefined)[]>;
|
|
16
|
-
};
|
|
17
|
-
export declare type Item = {
|
|
18
|
-
text: string;
|
|
19
|
-
isSelected?: boolean;
|
|
20
|
-
handleOnclick: () => void;
|
|
21
|
-
icon?: IconsType;
|
|
22
|
-
};
|
|
23
|
-
export declare type ShowMoreItem = {
|
|
24
|
-
showMoreText: string;
|
|
25
|
-
showLessText: string;
|
|
26
|
-
};
|
|
27
|
-
export declare type IconsType = 'mobilePhone' | 'chatBubbleCircleQuestionMark' | 'networkAlert' | 'binoculaire' | 'contentBook';
|
|
28
|
-
export declare type Props = {
|
|
29
|
-
title: string;
|
|
30
|
-
isDesktopMode: boolean;
|
|
31
|
-
showMoreItem: ShowMoreItem;
|
|
32
|
-
numberOfDisplayedItems: number;
|
|
33
|
-
items: Item[];
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAgBrB,CAAC;AAEF,oBAAY,IAAI,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,SAAS,GACjB,aAAa,GACb,8BAA8B,GAC9B,cAAc,GACd,aAAa,GACb,aAAa,CAAC;AAElB,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,IAAI,EAAE,CAAC;CACf,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
title: PropTypes.string,
|
|
4
|
-
numberOfDisplayedItems: PropTypes.number,
|
|
5
|
-
isDesktopMode: PropTypes.bool,
|
|
6
|
-
showMoreItem: PropTypes.shape({
|
|
7
|
-
showMoreText: PropTypes.string,
|
|
8
|
-
showLessText: PropTypes.string,
|
|
9
|
-
isSelected: PropTypes.bool
|
|
10
|
-
}),
|
|
11
|
-
items: PropTypes.arrayOf(PropTypes.shape({
|
|
12
|
-
text: PropTypes.string,
|
|
13
|
-
isSelected: PropTypes.bool,
|
|
14
|
-
handleOnclick: PropTypes.func
|
|
15
|
-
}))
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","numberOfDisplayedItems","number","isDesktopMode","bool","showMoreItem","shape","showMoreText","showLessText","isSelected","items","arrayOf","text","handleOnclick","func"],"sources":["../../../src/molecule/menu-links/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const propTypes = {\n title: PropTypes.string,\n numberOfDisplayedItems: PropTypes.number,\n isDesktopMode: PropTypes.bool,\n showMoreItem: PropTypes.shape({\n showMoreText: PropTypes.string,\n showLessText: PropTypes.string,\n isSelected: PropTypes.bool\n }),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n isSelected: PropTypes.bool,\n handleOnclick: PropTypes.func\n })\n )\n};\n\nexport type Item = {\n text: string;\n isSelected?: boolean;\n handleOnclick: () => void;\n icon?: IconsType;\n};\n\nexport type ShowMoreItem = {\n showMoreText: string;\n showLessText: string;\n};\n\nexport type IconsType =\n | 'mobilePhone'\n | 'chatBubbleCircleQuestionMark'\n | 'networkAlert'\n | 'binoculaire'\n | 'contentBook';\n\nexport type Props = {\n title: string;\n isDesktopMode: boolean;\n showMoreItem: ShowMoreItem;\n numberOfDisplayedItems: number;\n items: Item[];\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEF,SAAS,CAACG,MADM;EAEvBC,sBAAsB,EAAEJ,SAAS,CAACK,MAFX;EAGvBC,aAAa,EAAEN,SAAS,CAACO,IAHF;EAIvBC,YAAY,EAAER,SAAS,CAACS,KAAV,CAAgB;IAC5BC,YAAY,EAAEV,SAAS,CAACG,MADI;IAE5BQ,YAAY,EAAEX,SAAS,CAACG,MAFI;IAG5BS,UAAU,EAAEZ,SAAS,CAACO;EAHM,CAAhB,CAJS;EASvBM,KAAK,EAAEb,SAAS,CAACc,OAAV,CACLd,SAAS,CAACS,KAAV,CAAgB;IACdM,IAAI,EAAEf,SAAS,CAACG,MADF;IAEdS,UAAU,EAAEZ,SAAS,CAACO,IAFR;IAGdS,aAAa,EAAEhB,SAAS,CAACiB;EAHX,CAAhB,CADK;AATgB,CAAlB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
export declare const ICONS: {
|
|
4
|
-
arrow: any;
|
|
5
|
-
};
|
|
6
|
-
declare const PrivacyPolicyContact: {
|
|
7
|
-
({ title, content }: Props): JSX.Element;
|
|
8
|
-
propTypes: {
|
|
9
|
-
title: import("prop-types").Requireable<string>;
|
|
10
|
-
content: import("prop-types").Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default PrivacyPolicyContact;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-contact/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAEF,QAAA,MAAM,oBAAoB;yBAAsB,KAAK;;;;;CAWpD,CAAC;AAIF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NovaCompositionNavigationArrowDown as ArrowIcon } from '@coorpacademy/nova-icons';
|
|
3
|
-
import { propTypes } from './types';
|
|
4
|
-
import styles from './style.css';
|
|
5
|
-
export const ICONS = {
|
|
6
|
-
arrow: ArrowIcon
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const PrivacyPolicyContact = ({
|
|
10
|
-
title,
|
|
11
|
-
content
|
|
12
|
-
}) => {
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: styles.container
|
|
15
|
-
}, /*#__PURE__*/React.createElement("h3", {
|
|
16
|
-
className: styles.title // eslint-disable-next-line react/no-danger
|
|
17
|
-
,
|
|
18
|
-
dangerouslySetInnerHTML: {
|
|
19
|
-
__html: title
|
|
20
|
-
}
|
|
21
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
22
|
-
className: styles.content
|
|
23
|
-
}, content));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
PrivacyPolicyContact.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
27
|
-
export default PrivacyPolicyContact;
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","NovaCompositionNavigationArrowDown","ArrowIcon","propTypes","styles","ICONS","arrow","PrivacyPolicyContact","title","content","container","__html"],"sources":["../../../src/molecule/privacy-policy-contact/index.tsx"],"sourcesContent":["import React from 'react';\nimport {NovaCompositionNavigationArrowDown as ArrowIcon} from '@coorpacademy/nova-icons';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nexport const ICONS = {\n arrow: ArrowIcon\n};\n\nconst PrivacyPolicyContact = ({title, content}: Props) => {\n return (\n <div className={styles.container}>\n <h3\n className={styles.title}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <p className={styles.content}>{content}</p>\n </div>\n );\n};\n\nPrivacyPolicyContact.propTypes = propTypes;\n\nexport default PrivacyPolicyContact;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAAQC,kCAAkC,IAAIC,SAA9C,QAA8D,0BAA9D;AACA,SAAQC,SAAR,QAA+B,SAA/B;AACA,OAAOC,MAAP,MAAmB,aAAnB;AAEA,OAAO,MAAMC,KAAK,GAAG;EACnBC,KAAK,EAAEJ;AADY,CAAd;;AAIP,MAAMK,oBAAoB,GAAG,CAAC;EAACC,KAAD;EAAQC;AAAR,CAAD,KAA6B;EACxD,oBACE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE;IACE,SAAS,EAAEN,MAAM,CAACI,KADpB,CAEE;IAFF;IAGE,uBAAuB,EAAE;MAACG,MAAM,EAAEH;IAAT;EAH3B,EADF,eAME;IAAG,SAAS,EAAEJ,MAAM,CAACK;EAArB,GAA+BA,OAA/B,CANF,CADF;AAUD,CAXD;;AAaAF,oBAAoB,CAACJ,SAArB,2CAAiCA,SAAjC;AAEA,eAAeI,oBAAf"}
|
|
@@ -1,38 +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 cm_grey_500 from colors;
|
|
7
|
-
@value cm_grey_400 from colors;
|
|
8
|
-
@value white from colors;
|
|
9
|
-
@value white from colors;
|
|
10
|
-
|
|
11
|
-
.container {
|
|
12
|
-
padding: 16px 14px;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
align-items: center;
|
|
16
|
-
background-color: white;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.title {
|
|
20
|
-
font-family: Gilroy;
|
|
21
|
-
font-size: 16px;
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
line-height: 24px;
|
|
24
|
-
letter-spacing: 0em;
|
|
25
|
-
text-align: center;
|
|
26
|
-
margin: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.content {
|
|
30
|
-
font-family: Gilroy;
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
font-style: italic;
|
|
33
|
-
font-weight: 400;
|
|
34
|
-
line-height: 22px;
|
|
35
|
-
letter-spacing: 0em;
|
|
36
|
-
text-align: center;
|
|
37
|
-
margin: 0;
|
|
38
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
title: PropTypes.Requireable<string>;
|
|
4
|
-
content: PropTypes.Requireable<string>;
|
|
5
|
-
};
|
|
6
|
-
export declare type Props = {
|
|
7
|
-
title: string;
|
|
8
|
-
content: string;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-contact/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","content"],"sources":["../../../src/molecule/privacy-policy-contact/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const propTypes = {\n title: PropTypes.string,\n content: PropTypes.string\n};\n\nexport type Props = {\n title: string;\n content: string;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEF,SAAS,CAACG,MADM;EAEvBC,OAAO,EAAEJ,SAAS,CAACG;AAFI,CAAlB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
declare const PrivacyPolicyDownload: {
|
|
4
|
-
({ title, downloadButton, content }: Props): JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
title: import("prop-types").Requireable<string>;
|
|
7
|
-
content: import("prop-types").Requireable<string>;
|
|
8
|
-
downloadButton: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
9
|
-
color: any;
|
|
10
|
-
submitValue: import("prop-types").Requireable<string>;
|
|
11
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
12
|
-
href: import("prop-types").Requireable<string>;
|
|
13
|
-
download: import("prop-types").Requireable<boolean>;
|
|
14
|
-
target: import("prop-types").Requireable<string>;
|
|
15
|
-
type: import("prop-types").Requireable<string>;
|
|
16
|
-
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
17
|
-
className: import("prop-types").Requireable<string>;
|
|
18
|
-
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
19
|
-
'data-name': import("prop-types").Requireable<string>;
|
|
20
|
-
'aria-label': import("prop-types").Requireable<string>;
|
|
21
|
-
'data-testid': import("prop-types").Requireable<string>;
|
|
22
|
-
useButtonTag: import("prop-types").Requireable<boolean>;
|
|
23
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
24
|
-
onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
25
|
-
onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
26
|
-
onMouseOver: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
27
|
-
buttonRef: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
28
|
-
'data-for': import("prop-types").Requireable<string>;
|
|
29
|
-
'data-tooltip-place': import("prop-types").Requireable<string>;
|
|
30
|
-
'data-tip': import("prop-types").Requireable<boolean>;
|
|
31
|
-
isLinkDisabled: import("prop-types").Requireable<boolean>;
|
|
32
|
-
useWrapper: import("prop-types").Requireable<boolean>;
|
|
33
|
-
buttonContentClassName: import("prop-types").Requireable<string>;
|
|
34
|
-
}>>;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export default PrivacyPolicyDownload;
|
|
38
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-download/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,qBAAqB;yCAAsC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYrE,CAAC;AAIF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 Button from '../../atom/button';
|
|
5
|
-
import styles from './style.css';
|
|
6
|
-
import { propTypes } from './types';
|
|
7
|
-
|
|
8
|
-
const PrivacyPolicyDownload = ({
|
|
9
|
-
title,
|
|
10
|
-
downloadButton,
|
|
11
|
-
content
|
|
12
|
-
}) => {
|
|
13
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: styles.container
|
|
15
|
-
}, /*#__PURE__*/React.createElement("h3", {
|
|
16
|
-
className: styles.title
|
|
17
|
-
}, title), /*#__PURE__*/React.createElement("p", {
|
|
18
|
-
className: styles.content
|
|
19
|
-
}, content), /*#__PURE__*/React.createElement(Button, _extends({}, downloadButton, {
|
|
20
|
-
className: styles.downloadButton,
|
|
21
|
-
buttonContentClassName: styles.downloadButtonContent
|
|
22
|
-
})));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
PrivacyPolicyDownload.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
|
|
26
|
-
export default PrivacyPolicyDownload;
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","Button","styles","propTypes","PrivacyPolicyDownload","title","downloadButton","content","container","downloadButtonContent"],"sources":["../../../src/molecule/privacy-policy-download/index.tsx"],"sourcesContent":["import React from 'react';\nimport Button from '../../atom/button';\nimport styles from './style.css';\nimport {propTypes, Props} from './types';\n\nconst PrivacyPolicyDownload = ({title, downloadButton, content}: Props) => {\n return (\n <div className={styles.container}>\n <h3 className={styles.title}>{title}</h3>\n <p className={styles.content}>{content}</p>\n <Button\n {...downloadButton}\n className={styles.downloadButton}\n buttonContentClassName={styles.downloadButtonContent}\n />\n </div>\n );\n};\n\nPrivacyPolicyDownload.propTypes = propTypes;\n\nexport default PrivacyPolicyDownload;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,MAAP,MAAmB,aAAnB;AACA,SAAQC,SAAR,QAA+B,SAA/B;;AAEA,MAAMC,qBAAqB,GAAG,CAAC;EAACC,KAAD;EAAQC,cAAR;EAAwBC;AAAxB,CAAD,KAA6C;EACzE,oBACE;IAAK,SAAS,EAAEL,MAAM,CAACM;EAAvB,gBACE;IAAI,SAAS,EAAEN,MAAM,CAACG;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAG,SAAS,EAAEH,MAAM,CAACK;EAArB,GAA+BA,OAA/B,CAFF,eAGE,oBAAC,MAAD,eACMD,cADN;IAEE,SAAS,EAAEJ,MAAM,CAACI,cAFpB;IAGE,sBAAsB,EAAEJ,MAAM,CAACO;EAHjC,GAHF,CADF;AAWD,CAZD;;AAcAL,qBAAqB,CAACD,SAAtB,2CAAkCA,SAAlC;AAEA,eAAeC,qBAAf"}
|
|
@@ -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"}
|