@coorpacademy/components 11.14.1-alpha.3.27 → 11.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/button/index.d.ts.map +1 -1
- package/es/atom/button/index.js +18 -13
- package/es/atom/button/index.js.map +1 -1
- package/es/molecule/cm-popin/index.d.ts.map +1 -1
- package/es/molecule/cm-popin/index.js +5 -4
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/style.css +61 -40
- package/es/molecule/discipline-header/index.d.ts +1 -1
- package/es/molecule/discipline-header/index.d.ts.map +1 -1
- package/es/molecule/discipline-header/index.js +8 -8
- package/es/molecule/discipline-header/index.js.map +1 -1
- package/es/molecule/discipline-header/style.css +1 -1
- package/es/molecule/hero/index.d.ts +26 -30
- package/es/molecule/hero/index.d.ts.map +1 -1
- package/es/molecule/hero/index.js +13 -14
- package/es/molecule/hero/index.js.map +1 -1
- package/es/molecule/hero/style.css +0 -42
- package/es/molecule/quick-access-card/index.d.ts +0 -1
- package/es/molecule/quick-access-card/index.d.ts.map +1 -1
- package/es/molecule/quick-access-card/index.js +21 -77
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/quick-access-card/style.css +17 -28
- package/es/molecule/quick-access-cards-group/index.d.ts +0 -1
- package/es/organism/brand-dashboard/index.d.ts +0 -1
- package/es/template/back-office/brand-update/index.d.ts +0 -1
- package/es/template/external-course/index.d.ts +69 -21
- package/es/template/external-course/index.d.ts.map +1 -1
- package/es/template/external-course/index.js +73 -56
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/external-course/style.css +1 -1
- package/es/util/button-icons.d.ts +0 -1
- package/es/util/button-icons.d.ts.map +1 -1
- package/es/util/button-icons.js +2 -3
- package/es/util/button-icons.js.map +1 -1
- package/es/variables/breakpoints.css +1 -1
- package/lib/atom/button/index.d.ts.map +1 -1
- package/lib/atom/button/index.js +18 -13
- package/lib/atom/button/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts.map +1 -1
- package/lib/molecule/cm-popin/index.js +4 -3
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/style.css +61 -40
- package/lib/molecule/discipline-header/index.d.ts +1 -1
- package/lib/molecule/discipline-header/index.d.ts.map +1 -1
- package/lib/molecule/discipline-header/index.js +8 -8
- package/lib/molecule/discipline-header/index.js.map +1 -1
- package/lib/molecule/discipline-header/style.css +1 -1
- package/lib/molecule/hero/index.d.ts +26 -30
- package/lib/molecule/hero/index.d.ts.map +1 -1
- package/lib/molecule/hero/index.js +14 -15
- package/lib/molecule/hero/index.js.map +1 -1
- package/lib/molecule/hero/style.css +0 -42
- package/lib/molecule/quick-access-card/index.d.ts +0 -1
- package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
- package/lib/molecule/quick-access-card/index.js +20 -76
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/quick-access-card/style.css +17 -28
- package/lib/molecule/quick-access-cards-group/index.d.ts +0 -1
- package/lib/organism/brand-dashboard/index.d.ts +0 -1
- package/lib/template/back-office/brand-update/index.d.ts +0 -1
- package/lib/template/external-course/index.d.ts +69 -21
- package/lib/template/external-course/index.d.ts.map +1 -1
- package/lib/template/external-course/index.js +76 -54
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/external-course/style.css +1 -1
- package/lib/util/button-icons.d.ts +0 -1
- package/lib/util/button-icons.d.ts.map +1 -1
- package/lib/util/button-icons.js +1 -2
- package/lib/util/button-icons.js.map +1 -1
- package/lib/variables/breakpoints.css +1 -1
- package/package.json +3 -3
- package/es/molecule/expandable-item/index.d.ts +0 -19
- package/es/molecule/expandable-item/index.d.ts.map +0 -1
- package/es/molecule/expandable-item/index.js +0 -44
- package/es/molecule/expandable-item/index.js.map +0 -1
- package/es/molecule/expandable-item/style.css +0 -135
- package/es/molecule/expandable-item/types.d.ts +0 -20
- package/es/molecule/expandable-item/types.d.ts.map +0 -1
- package/es/molecule/expandable-item/types.js +0 -11
- package/es/molecule/expandable-item/types.js.map +0 -1
- package/es/molecule/expandable-list/index.d.ts +0 -18
- package/es/molecule/expandable-list/index.d.ts.map +0 -1
- package/es/molecule/expandable-list/index.js +0 -22
- package/es/molecule/expandable-list/index.js.map +0 -1
- package/es/molecule/expandable-list/style.css +0 -20
- package/es/molecule/expandable-list/types.d.ts +0 -17
- package/es/molecule/expandable-list/types.d.ts.map +0 -1
- package/es/molecule/expandable-list/types.js +0 -6
- package/es/molecule/expandable-list/types.js.map +0 -1
- package/es/molecule/hero/types.d.ts +0 -22
- package/es/molecule/hero/types.d.ts.map +0 -1
- package/es/molecule/hero/types.js +0 -14
- package/es/molecule/hero/types.js.map +0 -1
- package/es/molecule/menu-links/index.d.ts +0 -22
- package/es/molecule/menu-links/index.d.ts.map +0 -1
- package/es/molecule/menu-links/index.js +0 -70
- package/es/molecule/menu-links/index.js.map +0 -1
- package/es/molecule/menu-links/style.css +0 -161
- package/es/molecule/menu-links/types.d.ts +0 -35
- package/es/molecule/menu-links/types.d.ts.map +0 -1
- package/es/molecule/menu-links/types.js +0 -17
- package/es/molecule/menu-links/types.js.map +0 -1
- package/es/molecule/privacy-policy-contact/index.d.ts +0 -14
- package/es/molecule/privacy-policy-contact/index.d.ts.map +0 -1
- package/es/molecule/privacy-policy-contact/index.js +0 -28
- package/es/molecule/privacy-policy-contact/index.js.map +0 -1
- package/es/molecule/privacy-policy-contact/style.css +0 -38
- package/es/molecule/privacy-policy-contact/types.d.ts +0 -10
- package/es/molecule/privacy-policy-contact/types.d.ts.map +0 -1
- package/es/molecule/privacy-policy-contact/types.js +0 -6
- package/es/molecule/privacy-policy-contact/types.js.map +0 -1
- package/es/molecule/privacy-policy-download/index.d.ts +0 -38
- package/es/molecule/privacy-policy-download/index.d.ts.map +0 -1
- package/es/molecule/privacy-policy-download/index.js +0 -27
- package/es/molecule/privacy-policy-download/index.js.map +0 -1
- package/es/molecule/privacy-policy-download/style.css +0 -65
- package/es/molecule/privacy-policy-download/types.d.ts +0 -50
- package/es/molecule/privacy-policy-download/types.d.ts.map +0 -1
- package/es/molecule/privacy-policy-download/types.js +0 -8
- package/es/molecule/privacy-policy-download/types.js.map +0 -1
- package/es/template/common/faq-article-page/index.d.ts +0 -27
- package/es/template/common/faq-article-page/index.d.ts.map +0 -1
- package/es/template/common/faq-article-page/index.js +0 -50
- package/es/template/common/faq-article-page/index.js.map +0 -1
- package/es/template/common/faq-article-page/style.css +0 -110
- package/es/template/common/faq-article-page/types.d.ts +0 -40
- package/es/template/common/faq-article-page/types.d.ts.map +0 -1
- package/es/template/common/faq-article-page/types.js +0 -20
- package/es/template/common/faq-article-page/types.js.map +0 -1
- package/es/template/common/faq-cards-page/index.d.ts +0 -34
- package/es/template/common/faq-cards-page/index.d.ts.map +0 -1
- package/es/template/common/faq-cards-page/index.js +0 -45
- package/es/template/common/faq-cards-page/index.js.map +0 -1
- package/es/template/common/faq-cards-page/style.css +0 -95
- package/es/template/common/faq-cards-page/types.d.ts +0 -44
- package/es/template/common/faq-cards-page/types.d.ts.map +0 -1
- package/es/template/common/faq-cards-page/types.js +0 -13
- package/es/template/common/faq-cards-page/types.js.map +0 -1
- package/es/template/common/faq-page/index.d.ts +0 -80
- package/es/template/common/faq-page/index.d.ts.map +0 -1
- package/es/template/common/faq-page/index.js +0 -44
- package/es/template/common/faq-page/index.js.map +0 -1
- package/es/template/common/faq-page/style.css +0 -104
- package/es/template/common/faq-page/types.d.ts +0 -86
- package/es/template/common/faq-page/types.d.ts.map +0 -1
- package/es/template/common/faq-page/types.js +0 -13
- package/es/template/common/faq-page/types.js.map +0 -1
- package/es/template/common/privacy-policy-page/index.d.ts +0 -80
- package/es/template/common/privacy-policy-page/index.d.ts.map +0 -1
- package/es/template/common/privacy-policy-page/index.js +0 -50
- package/es/template/common/privacy-policy-page/index.js.map +0 -1
- package/es/template/common/privacy-policy-page/style.css +0 -123
- package/es/template/common/privacy-policy-page/types.d.ts +0 -86
- package/es/template/common/privacy-policy-page/types.d.ts.map +0 -1
- package/es/template/common/privacy-policy-page/types.js +0 -13
- package/es/template/common/privacy-policy-page/types.js.map +0 -1
- package/lib/molecule/expandable-item/index.d.ts +0 -19
- package/lib/molecule/expandable-item/index.d.ts.map +0 -1
- package/lib/molecule/expandable-item/index.js +0 -58
- package/lib/molecule/expandable-item/index.js.map +0 -1
- package/lib/molecule/expandable-item/style.css +0 -135
- package/lib/molecule/expandable-item/types.d.ts +0 -20
- package/lib/molecule/expandable-item/types.d.ts.map +0 -1
- package/lib/molecule/expandable-item/types.js +0 -20
- package/lib/molecule/expandable-item/types.js.map +0 -1
- package/lib/molecule/expandable-list/index.d.ts +0 -18
- package/lib/molecule/expandable-list/index.d.ts.map +0 -1
- package/lib/molecule/expandable-list/index.js +0 -33
- package/lib/molecule/expandable-list/index.js.map +0 -1
- package/lib/molecule/expandable-list/style.css +0 -20
- package/lib/molecule/expandable-list/types.d.ts +0 -17
- package/lib/molecule/expandable-list/types.d.ts.map +0 -1
- package/lib/molecule/expandable-list/types.js +0 -16
- package/lib/molecule/expandable-list/types.js.map +0 -1
- package/lib/molecule/hero/types.d.ts +0 -22
- package/lib/molecule/hero/types.d.ts.map +0 -1
- package/lib/molecule/hero/types.js +0 -25
- package/lib/molecule/hero/types.js.map +0 -1
- package/lib/molecule/menu-links/index.d.ts +0 -22
- package/lib/molecule/menu-links/index.d.ts.map +0 -1
- package/lib/molecule/menu-links/index.js +0 -88
- package/lib/molecule/menu-links/index.js.map +0 -1
- package/lib/molecule/menu-links/style.css +0 -161
- package/lib/molecule/menu-links/types.d.ts +0 -35
- package/lib/molecule/menu-links/types.d.ts.map +0 -1
- package/lib/molecule/menu-links/types.js +0 -26
- package/lib/molecule/menu-links/types.js.map +0 -1
- package/lib/molecule/privacy-policy-contact/index.d.ts +0 -14
- package/lib/molecule/privacy-policy-contact/index.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-contact/index.js +0 -41
- package/lib/molecule/privacy-policy-contact/index.js.map +0 -1
- package/lib/molecule/privacy-policy-contact/style.css +0 -38
- package/lib/molecule/privacy-policy-contact/types.d.ts +0 -10
- package/lib/molecule/privacy-policy-contact/types.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-contact/types.js +0 -15
- package/lib/molecule/privacy-policy-contact/types.js.map +0 -1
- package/lib/molecule/privacy-policy-download/index.d.ts +0 -38
- package/lib/molecule/privacy-policy-download/index.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-download/index.js +0 -38
- package/lib/molecule/privacy-policy-download/index.js.map +0 -1
- package/lib/molecule/privacy-policy-download/style.css +0 -65
- package/lib/molecule/privacy-policy-download/types.d.ts +0 -50
- package/lib/molecule/privacy-policy-download/types.d.ts.map +0 -1
- package/lib/molecule/privacy-policy-download/types.js +0 -18
- package/lib/molecule/privacy-policy-download/types.js.map +0 -1
- package/lib/template/common/faq-article-page/index.d.ts +0 -27
- package/lib/template/common/faq-article-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-article-page/index.js +0 -63
- package/lib/template/common/faq-article-page/index.js.map +0 -1
- package/lib/template/common/faq-article-page/style.css +0 -110
- package/lib/template/common/faq-article-page/types.d.ts +0 -40
- package/lib/template/common/faq-article-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-article-page/types.js +0 -30
- package/lib/template/common/faq-article-page/types.js.map +0 -1
- package/lib/template/common/faq-cards-page/index.d.ts +0 -34
- package/lib/template/common/faq-cards-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-cards-page/index.js +0 -58
- package/lib/template/common/faq-cards-page/index.js.map +0 -1
- package/lib/template/common/faq-cards-page/style.css +0 -95
- package/lib/template/common/faq-cards-page/types.d.ts +0 -44
- package/lib/template/common/faq-cards-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-cards-page/types.js +0 -25
- package/lib/template/common/faq-cards-page/types.js.map +0 -1
- package/lib/template/common/faq-page/index.d.ts +0 -80
- package/lib/template/common/faq-page/index.d.ts.map +0 -1
- package/lib/template/common/faq-page/index.js +0 -58
- package/lib/template/common/faq-page/index.js.map +0 -1
- package/lib/template/common/faq-page/style.css +0 -104
- package/lib/template/common/faq-page/types.d.ts +0 -86
- package/lib/template/common/faq-page/types.d.ts.map +0 -1
- package/lib/template/common/faq-page/types.js +0 -24
- package/lib/template/common/faq-page/types.js.map +0 -1
- package/lib/template/common/privacy-policy-page/index.d.ts +0 -80
- package/lib/template/common/privacy-policy-page/index.d.ts.map +0 -1
- package/lib/template/common/privacy-policy-page/index.js +0 -65
- package/lib/template/common/privacy-policy-page/index.js.map +0 -1
- package/lib/template/common/privacy-policy-page/style.css +0 -123
- package/lib/template/common/privacy-policy-page/types.d.ts +0 -86
- package/lib/template/common/privacy-policy-page/types.d.ts.map +0 -1
- package/lib/template/common/privacy-policy-page/types.js +0 -24
- package/lib/template/common/privacy-policy-page/types.js.map +0 -1
|
@@ -1,86 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/template/common/privacy-policy-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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","ContactPropTypes","DownloadPropTypes","HeroPropTypes","MenuLinksPropTypes","ListPropTypes","header","privacyPolicyContact","menuLinks","privacyPolicyDownload","expandableList"],"sources":["../../../../src/template/common/privacy-policy-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"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
export declare const ICONS: {
|
|
4
|
-
arrow: any;
|
|
5
|
-
};
|
|
6
|
-
declare const ExpandableItem: {
|
|
7
|
-
({ icon, title, isExpended, isLink, content, onClick, image }: Props): JSX.Element;
|
|
8
|
-
propTypes: {
|
|
9
|
-
title: import("prop-types").Requireable<string>;
|
|
10
|
-
icon: import("prop-types").Requireable<string>;
|
|
11
|
-
isExpended: import("prop-types").Requireable<boolean>;
|
|
12
|
-
isLink: import("prop-types").Requireable<boolean>;
|
|
13
|
-
content: import("prop-types").Requireable<string>;
|
|
14
|
-
image: import("prop-types").Requireable<string>;
|
|
15
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default ExpandableItem;
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandable-item/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAEF,QAAA,MAAM,cAAc;mEAAgE,KAAK;;;;;;;;;;CA2BxF,CAAC;AAGF,eAAe,cAAc,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.ICONS = void 0;
|
|
5
|
-
|
|
6
|
-
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
-
|
|
10
|
-
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
-
|
|
12
|
-
var _types = require("./types");
|
|
13
|
-
|
|
14
|
-
var _style = _interopRequireDefault(require("./style.css"));
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
|
-
const ICONS = {
|
|
19
|
-
arrow: _novaIcons.NovaCompositionNavigationArrowDown
|
|
20
|
-
};
|
|
21
|
-
exports.ICONS = ICONS;
|
|
22
|
-
|
|
23
|
-
const ExpandableItem = ({
|
|
24
|
-
icon,
|
|
25
|
-
title,
|
|
26
|
-
isExpended,
|
|
27
|
-
isLink,
|
|
28
|
-
content,
|
|
29
|
-
onClick,
|
|
30
|
-
image
|
|
31
|
-
}) => {
|
|
32
|
-
const Icon = ICONS[icon];
|
|
33
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
34
|
-
className: isExpended ? _style.default.expendedContainer : _style.default.container,
|
|
35
|
-
onClick: onClick
|
|
36
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
37
|
-
className: (0, _classnames.default)(_style.default.header, isExpended ? _style.default.expendedHeader : null)
|
|
38
|
-
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
39
|
-
className: _style.default.title
|
|
40
|
-
}, title), Icon ? /*#__PURE__*/_react.default.createElement(Icon, {
|
|
41
|
-
className: (0, _classnames.default)(_style.default.icon, isExpended ? _style.default.expendedIcon : null, isLink ? _style.default.linkIcon : null)
|
|
42
|
-
}) : null), isExpended ? /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
43
|
-
className: _style.default.content // eslint-disable-next-line react/no-danger
|
|
44
|
-
,
|
|
45
|
-
dangerouslySetInnerHTML: {
|
|
46
|
-
__html: content
|
|
47
|
-
}
|
|
48
|
-
}), image ? /*#__PURE__*/_react.default.createElement("img", {
|
|
49
|
-
className: _style.default.image,
|
|
50
|
-
src: image,
|
|
51
|
-
alt: ''
|
|
52
|
-
}) : null) : null);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
ExpandableItem.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
|
|
56
|
-
var _default = ExpandableItem;
|
|
57
|
-
exports.default = _default;
|
|
58
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ICONS","arrow","ArrowIcon","ExpandableItem","icon","title","isExpended","isLink","content","onClick","image","Icon","styles","expendedContainer","container","classnames","header","expendedHeader","expendedIcon","linkIcon","__html","propTypes"],"sources":["../../../src/molecule/expandable-item/index.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\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 ExpandableItem = ({icon, title, isExpended, isLink, content, onClick, image}: Props) => {\n const Icon = ICONS[icon];\n return (\n <div className={isExpended ? styles.expendedContainer : styles.container} onClick={onClick}>\n <div className={classnames(styles.header, isExpended ? styles.expendedHeader : null)}>\n <h3 className={styles.title}>{title}</h3>\n {Icon ? (\n <Icon\n className={classnames(\n styles.icon,\n isExpended ? styles.expendedIcon : null,\n isLink ? styles.linkIcon : null\n )}\n />\n ) : null}\n </div>\n {isExpended ? (\n <div>\n <div\n className={styles.content} // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {image ? <img className={styles.image} src={image} alt={''} /> : null}\n </div>\n ) : null}\n </div>\n );\n};\n\nExpandableItem.propTypes = propTypes;\nexport default ExpandableItem;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEO,MAAMA,KAAK,GAAG;EACnBC,KAAK,EAAEC;AADY,CAAd;;;AAIP,MAAMC,cAAc,GAAG,CAAC;EAACC,IAAD;EAAOC,KAAP;EAAcC,UAAd;EAA0BC,MAA1B;EAAkCC,OAAlC;EAA2CC,OAA3C;EAAoDC;AAApD,CAAD,KAAuE;EAC5F,MAAMC,IAAI,GAAGX,KAAK,CAACI,IAAD,CAAlB;EACA,oBACE;IAAK,SAAS,EAAEE,UAAU,GAAGM,cAAA,CAAOC,iBAAV,GAA8BD,cAAA,CAAOE,SAA/D;IAA0E,OAAO,EAAEL;EAAnF,gBACE;IAAK,SAAS,EAAE,IAAAM,mBAAA,EAAWH,cAAA,CAAOI,MAAlB,EAA0BV,UAAU,GAAGM,cAAA,CAAOK,cAAV,GAA2B,IAA/D;EAAhB,gBACE;IAAI,SAAS,EAAEL,cAAA,CAAOP;EAAtB,GAA8BA,KAA9B,CADF,EAEGM,IAAI,gBACH,6BAAC,IAAD;IACE,SAAS,EAAE,IAAAI,mBAAA,EACTH,cAAA,CAAOR,IADE,EAETE,UAAU,GAAGM,cAAA,CAAOM,YAAV,GAAyB,IAF1B,EAGTX,MAAM,GAAGK,cAAA,CAAOO,QAAV,GAAqB,IAHlB;EADb,EADG,GAQD,IAVN,CADF,EAaGb,UAAU,gBACT,uDACE;IACE,SAAS,EAAEM,cAAA,CAAOJ,OADpB,CAC6B;IAD7B;IAEE,uBAAuB,EAAE;MAACY,MAAM,EAAEZ;IAAT;EAF3B,EADF,EAKGE,KAAK,gBAAG;IAAK,SAAS,EAAEE,cAAA,CAAOF,KAAvB;IAA8B,GAAG,EAAEA,KAAnC;IAA0C,GAAG,EAAE;EAA/C,EAAH,GAA2D,IALnE,CADS,GAQP,IArBN,CADF;AAyBD,CA3BD;;AA6BAP,cAAc,CAACkB,SAAf,2CAA2BA,gBAA3B;eACelB,c"}
|
|
@@ -1,135 +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_600 from colors;
|
|
8
|
-
@value cm_grey_800 from colors;
|
|
9
|
-
@value cm_grey_700 from colors;
|
|
10
|
-
@value white from colors;
|
|
11
|
-
|
|
12
|
-
.container {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
background: white;
|
|
16
|
-
gap: 16px;
|
|
17
|
-
border-radius: 8px;
|
|
18
|
-
width: 100%;
|
|
19
|
-
display: flex;
|
|
20
|
-
height: 72px;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.header {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: row;
|
|
27
|
-
flex: none;
|
|
28
|
-
order: 0;
|
|
29
|
-
flex-grow: 0;
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
align-items: center;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
padding: 24px;
|
|
34
|
-
gap: 16px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.expendedContainer {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
background: white;
|
|
41
|
-
gap: 16px;
|
|
42
|
-
border-radius: 2px;
|
|
43
|
-
width: 100%;
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.expendedHeader {
|
|
49
|
-
padding: 24px 24px 0px 24px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.title {
|
|
53
|
-
font-family: Gilroy;
|
|
54
|
-
color: cm_grey_700;
|
|
55
|
-
margin: 0;
|
|
56
|
-
font-weight: inherit;
|
|
57
|
-
font-family: Gilroy;
|
|
58
|
-
font-size: 18px;
|
|
59
|
-
font-weight: 600;
|
|
60
|
-
line-height: 24px;
|
|
61
|
-
letter-spacing: 0px;
|
|
62
|
-
text-align: left;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.icon {
|
|
66
|
-
width: 16px;
|
|
67
|
-
height: 16px;
|
|
68
|
-
width: 14px;
|
|
69
|
-
left: 5px;
|
|
70
|
-
top: 9px;
|
|
71
|
-
border-radius: 0px;
|
|
72
|
-
color: cm_grey_500;
|
|
73
|
-
flex-shrink: 0;
|
|
74
|
-
min-width: 16px;
|
|
75
|
-
flex-basis: 16px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.expendedIcon {
|
|
79
|
-
transform: rotateZ(180deg);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.linkIcon {
|
|
83
|
-
transform: rotateZ(270deg);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.content {
|
|
87
|
-
font-family: Gilroy;
|
|
88
|
-
font-size: 20px;
|
|
89
|
-
font-weight: 400;
|
|
90
|
-
line-height: 28px;
|
|
91
|
-
letter-spacing: 0px;
|
|
92
|
-
text-align: left;
|
|
93
|
-
padding: 0px 40px 32px 40px;
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.image {
|
|
98
|
-
width: 100%;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.content span{
|
|
102
|
-
font-family: Gilroy;
|
|
103
|
-
font-size: 20px;
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
line-height: 28px;
|
|
106
|
-
letter-spacing: 0px;
|
|
107
|
-
text-align: left;
|
|
108
|
-
color: cm_grey_600;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@media mobile {
|
|
112
|
-
.container {
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-direction: column;
|
|
115
|
-
background: white;
|
|
116
|
-
gap: 16px;
|
|
117
|
-
border-radius: 2px;
|
|
118
|
-
width: 100%;
|
|
119
|
-
display: flex;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
height: max-content;
|
|
122
|
-
}
|
|
123
|
-
.header {
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: row;
|
|
126
|
-
flex: none;
|
|
127
|
-
order: 0;
|
|
128
|
-
flex-grow: 0;
|
|
129
|
-
justify-content: space-between;
|
|
130
|
-
align-items: center;
|
|
131
|
-
cursor: pointer;
|
|
132
|
-
padding: 12px 40px;
|
|
133
|
-
height: max-content;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
title: PropTypes.Requireable<string>;
|
|
4
|
-
icon: PropTypes.Requireable<string>;
|
|
5
|
-
isExpended: PropTypes.Requireable<boolean>;
|
|
6
|
-
isLink: PropTypes.Requireable<boolean>;
|
|
7
|
-
content: PropTypes.Requireable<string>;
|
|
8
|
-
image: PropTypes.Requireable<string>;
|
|
9
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
-
};
|
|
11
|
-
export declare type Props = {
|
|
12
|
-
title: string;
|
|
13
|
-
icon: 'arrow';
|
|
14
|
-
isExpended: boolean;
|
|
15
|
-
content: string;
|
|
16
|
-
isLink?: boolean;
|
|
17
|
-
image?: string;
|
|
18
|
-
onClick: () => void;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandable-item/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,SAAS;;;;;;;;CAQrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.propTypes = void 0;
|
|
5
|
-
|
|
6
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
-
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
|
|
10
|
-
const propTypes = {
|
|
11
|
-
title: _propTypes.default.string,
|
|
12
|
-
icon: _propTypes.default.oneOf(['arrow']),
|
|
13
|
-
isExpended: _propTypes.default.bool,
|
|
14
|
-
isLink: _propTypes.default.bool,
|
|
15
|
-
content: _propTypes.default.string,
|
|
16
|
-
image: _propTypes.default.string,
|
|
17
|
-
onClick: _propTypes.default.func
|
|
18
|
-
};
|
|
19
|
-
exports.propTypes = propTypes;
|
|
20
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","title","PropTypes","string","icon","oneOf","isExpended","bool","isLink","content","image","onClick","func"],"sources":["../../../src/molecule/expandable-item/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const propTypes = {\n title: PropTypes.string,\n icon: PropTypes.oneOf(['arrow']),\n isExpended: PropTypes.bool,\n isLink: PropTypes.bool,\n content: PropTypes.string,\n image: PropTypes.string,\n onClick: PropTypes.func\n};\n\nexport type Props = {\n title: string;\n icon: 'arrow';\n isExpended: boolean;\n content: string;\n isLink?: boolean;\n image?: string;\n onClick: () => void;\n};\n"],"mappings":";;;;;AAAA;;;;AAEO,MAAMA,SAAS,GAAG;EACvBC,KAAK,EAAEC,kBAAA,CAAUC,MADM;EAEvBC,IAAI,EAAEF,kBAAA,CAAUG,KAAV,CAAgB,CAAC,OAAD,CAAhB,CAFiB;EAGvBC,UAAU,EAAEJ,kBAAA,CAAUK,IAHC;EAIvBC,MAAM,EAAEN,kBAAA,CAAUK,IAJK;EAKvBE,OAAO,EAAEP,kBAAA,CAAUC,MALI;EAMvBO,KAAK,EAAER,kBAAA,CAAUC,MANM;EAOvBQ,OAAO,EAAET,kBAAA,CAAUU;AAPI,CAAlB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
declare const ExpandableList: {
|
|
4
|
-
({ items }: Props): JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
7
|
-
title: import("prop-types").Requireable<string>;
|
|
8
|
-
icon: import("prop-types").Requireable<string>;
|
|
9
|
-
isExpended: import("prop-types").Requireable<boolean>;
|
|
10
|
-
isLink: import("prop-types").Requireable<boolean>;
|
|
11
|
-
content: import("prop-types").Requireable<string>;
|
|
12
|
-
image: import("prop-types").Requireable<string>;
|
|
13
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
14
|
-
}> | null | undefined)[]>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default ExpandableList;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandable-list/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAGzC,QAAA,MAAM,cAAc;gBAAa,KAAK;;;;;;;;;;;;CAYrC,CAAC;AAIF,eAAe,cAAc,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
|
|
6
|
-
var _react = _interopRequireDefault(require("react"));
|
|
7
|
-
|
|
8
|
-
var _expandableItem = _interopRequireDefault(require("../expandable-item"));
|
|
9
|
-
|
|
10
|
-
var _types = require("./types");
|
|
11
|
-
|
|
12
|
-
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
|
-
const ExpandableList = ({
|
|
17
|
-
items
|
|
18
|
-
}) => {
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement("ul", {
|
|
20
|
-
className: _style.default.list,
|
|
21
|
-
"data-name": "expandable-item"
|
|
22
|
-
}, items.map((item, index) => {
|
|
23
|
-
return /*#__PURE__*/_react.default.createElement("li", {
|
|
24
|
-
key: `menu-link-item-${index}`,
|
|
25
|
-
className: _style.default.item
|
|
26
|
-
}, /*#__PURE__*/_react.default.createElement(_expandableItem.default, item));
|
|
27
|
-
}));
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
ExpandableList.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
|
|
31
|
-
var _default = ExpandableList;
|
|
32
|
-
exports.default = _default;
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ExpandableList","items","styles","list","map","item","index","propTypes"],"sources":["../../../src/molecule/expandable-list/index.tsx"],"sourcesContent":["import React from 'react';\nimport ExpandableItem from '../expandable-item';\nimport {propTypes, Props} from './types';\nimport styles from './style.css';\n\nconst ExpandableList = ({items}: Props) => {\n return (\n <ul className={styles.list} data-name=\"expandable-item\">\n {items.map((item, index) => {\n return (\n <li key={`menu-link-item-${index}`} className={styles.item}>\n <ExpandableItem {...item} />\n </li>\n );\n })}\n </ul>\n );\n};\n\nExpandableList.propTypes = propTypes;\n\nexport default ExpandableList;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,cAAc,GAAG,CAAC;EAACC;AAAD,CAAD,KAAoB;EACzC,oBACE;IAAI,SAAS,EAAEC,cAAA,CAAOC,IAAtB;IAA4B,aAAU;EAAtC,GACGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,KAAiB;IAC1B,oBACE;MAAI,GAAG,EAAG,kBAAiBA,KAAM,EAAjC;MAAoC,SAAS,EAAEJ,cAAA,CAAOG;IAAtD,gBACE,6BAAC,uBAAD,EAAoBA,IAApB,CADF,CADF;EAKD,CANA,CADH,CADF;AAWD,CAZD;;AAcAL,cAAc,CAACO,SAAf,2CAA2BA,gBAA3B;eAEeP,c"}
|
|
@@ -1,20 +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_800 from colors;
|
|
8
|
-
|
|
9
|
-
.list {
|
|
10
|
-
list-style: none;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.item {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
margin-bottom: 16px;
|
|
20
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { Props as ItemProps } from '../expandable-item/types';
|
|
3
|
-
export declare const propTypes: {
|
|
4
|
-
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
|
-
title: PropTypes.Requireable<string>;
|
|
6
|
-
icon: PropTypes.Requireable<string>;
|
|
7
|
-
isExpended: PropTypes.Requireable<boolean>;
|
|
8
|
-
isLink: PropTypes.Requireable<boolean>;
|
|
9
|
-
content: PropTypes.Requireable<string>;
|
|
10
|
-
image: PropTypes.Requireable<string>;
|
|
11
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
-
}> | null | undefined)[]>;
|
|
13
|
-
};
|
|
14
|
-
export declare type Props = {
|
|
15
|
-
items: ItemProps[];
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandable-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,KAAK,IAAI,SAAS,EAA6B,MAAM,0BAA0B,CAAC;AAExF,eAAO,MAAM,SAAS;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.propTypes = void 0;
|
|
5
|
-
|
|
6
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
-
|
|
8
|
-
var _types = require("../expandable-item/types");
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
const propTypes = {
|
|
13
|
-
items: _propTypes.default.arrayOf(_propTypes.default.shape(_types.propTypes))
|
|
14
|
-
};
|
|
15
|
-
exports.propTypes = propTypes;
|
|
16
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","items","PropTypes","arrayOf","shape","ItemPropTypes"],"sources":["../../../src/molecule/expandable-list/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {Props as ItemProps, propTypes as ItemPropTypes} from '../expandable-item/types';\n\nexport const propTypes = {\n items: PropTypes.arrayOf(PropTypes.shape(ItemPropTypes))\n};\n\nexport type Props = {\n items: ItemProps[];\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAEO,MAAMA,SAAS,GAAG;EACvBC,KAAK,EAAEC,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBC,gBAAhB,CAAlB;AADgB,CAAlB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export declare const propTypes: {
|
|
3
|
-
image: PropTypes.Requireable<string>;
|
|
4
|
-
mode: PropTypes.Requireable<string>;
|
|
5
|
-
description: PropTypes.Requireable<string>;
|
|
6
|
-
title: PropTypes.Requireable<string>;
|
|
7
|
-
author: PropTypes.Requireable<string>;
|
|
8
|
-
progress: PropTypes.Requireable<number>;
|
|
9
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
-
submitValue: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type Props = {
|
|
13
|
-
image?: string;
|
|
14
|
-
mode?: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
title?: string;
|
|
17
|
-
author?: string;
|
|
18
|
-
progress?: number;
|
|
19
|
-
onClick?: () => void;
|
|
20
|
-
submitValue?: string;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/hero/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.propTypes = void 0;
|
|
5
|
-
|
|
6
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
-
|
|
8
|
-
var _cardContent = _interopRequireDefault(require("../card-content"));
|
|
9
|
-
|
|
10
|
-
var _button = _interopRequireDefault(require("../../atom/button"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
|
|
14
|
-
const propTypes = {
|
|
15
|
-
image: _propTypes.default.string,
|
|
16
|
-
mode: _propTypes.default.string,
|
|
17
|
-
description: _propTypes.default.string,
|
|
18
|
-
title: _cardContent.default.propTypes.title,
|
|
19
|
-
author: _cardContent.default.propTypes.author,
|
|
20
|
-
progress: _cardContent.default.propTypes.progress,
|
|
21
|
-
onClick: _button.default.propTypes.onClick,
|
|
22
|
-
submitValue: _button.default.propTypes.submitValue
|
|
23
|
-
};
|
|
24
|
-
exports.propTypes = propTypes;
|
|
25
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","image","PropTypes","string","mode","description","title","CardContentInfo","author","progress","onClick","Button","submitValue"],"sources":["../../../src/molecule/hero/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport CardContentInfo from '../card-content';\nimport Button from '../../atom/button';\n\nexport const propTypes = {\n image: PropTypes.string,\n mode: PropTypes.string,\n description: PropTypes.string,\n title: CardContentInfo.propTypes.title,\n author: CardContentInfo.propTypes.author,\n progress: CardContentInfo.propTypes.progress,\n onClick: Button.propTypes.onClick,\n submitValue: Button.propTypes.submitValue\n};\n\nexport type Props = {\n image?: string;\n mode?: string;\n description?: string;\n title?: string;\n author?: string;\n progress?: number;\n onClick?: () => void;\n submitValue?: string;\n};\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEO,MAAMA,SAAS,GAAG;EACvBC,KAAK,EAAEC,kBAAA,CAAUC,MADM;EAEvBC,IAAI,EAAEF,kBAAA,CAAUC,MAFO;EAGvBE,WAAW,EAAEH,kBAAA,CAAUC,MAHA;EAIvBG,KAAK,EAAEC,oBAAA,CAAgBP,SAAhB,CAA0BM,KAJV;EAKvBE,MAAM,EAAED,oBAAA,CAAgBP,SAAhB,CAA0BQ,MALX;EAMvBC,QAAQ,EAAEF,oBAAA,CAAgBP,SAAhB,CAA0BS,QANb;EAOvBC,OAAO,EAAEC,eAAA,CAAOX,SAAP,CAAiBU,OAPH;EAQvBE,WAAW,EAAED,eAAA,CAAOX,SAAP,CAAiBY;AARP,CAAlB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Props } from './types';
|
|
3
|
-
declare const MenuLinks: {
|
|
4
|
-
({ items, title, showMoreItem, numberOfDisplayedItems, isDesktopMode }: Props): JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
title: import("prop-types").Requireable<string>;
|
|
7
|
-
numberOfDisplayedItems: import("prop-types").Requireable<number>;
|
|
8
|
-
isDesktopMode: import("prop-types").Requireable<boolean>;
|
|
9
|
-
showMoreItem: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
10
|
-
showMoreText: import("prop-types").Requireable<string>;
|
|
11
|
-
showLessText: import("prop-types").Requireable<string>;
|
|
12
|
-
isSelected: import("prop-types").Requireable<boolean>;
|
|
13
|
-
}>>;
|
|
14
|
-
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
15
|
-
text: import("prop-types").Requireable<string>;
|
|
16
|
-
isSelected: import("prop-types").Requireable<boolean>;
|
|
17
|
-
handleOnclick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
18
|
-
}> | null | undefined)[]>;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default MenuLinks;
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/index.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAY,KAAK,EAAC,MAAM,SAAS,CAAC;AAWzC,QAAA,MAAM,SAAS;4EAAyE,KAAK;;;;;;;;;;;;;;;;CA+D5F,CAAC;AAIF,eAAe,SAAS,CAAC"}
|