@coorpacademy/components 11.14.20-alpha.51 → 11.14.20-alpha.60.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/molecule/menu-links/index.d.ts +2 -1
- package/es/molecule/menu-links/index.d.ts.map +1 -1
- package/es/molecule/menu-links/index.js +11 -9
- package/es/molecule/menu-links/index.js.map +1 -1
- package/es/molecule/menu-links/types.d.ts +2 -0
- package/es/molecule/menu-links/types.d.ts.map +1 -1
- package/es/molecule/menu-links/types.js +1 -0
- package/es/molecule/menu-links/types.js.map +1 -1
- package/es/template/common/faq-page/index.d.ts +1 -31
- package/es/template/common/faq-page/index.d.ts.map +1 -1
- package/es/template/common/faq-page/types.d.ts +1 -33
- package/es/template/common/faq-page/types.d.ts.map +1 -1
- package/es/template/common/faq-page/types.js +0 -2
- package/es/template/common/faq-page/types.js.map +1 -1
- package/es/template/common/privacy-policy-page/index.d.ts +2 -32
- package/es/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/es/template/common/privacy-policy-page/index.js +2 -8
- package/es/template/common/privacy-policy-page/index.js.map +1 -1
- package/es/template/common/privacy-policy-page/style.css +0 -20
- package/es/template/common/privacy-policy-page/types.d.ts +1 -33
- package/es/template/common/privacy-policy-page/types.d.ts.map +1 -1
- package/es/template/common/privacy-policy-page/types.js +0 -2
- package/es/template/common/privacy-policy-page/types.js.map +1 -1
- package/lib/molecule/menu-links/index.d.ts +2 -1
- package/lib/molecule/menu-links/index.d.ts.map +1 -1
- package/lib/molecule/menu-links/index.js +13 -9
- package/lib/molecule/menu-links/index.js.map +1 -1
- package/lib/molecule/menu-links/types.d.ts +2 -0
- package/lib/molecule/menu-links/types.d.ts.map +1 -1
- package/lib/molecule/menu-links/types.js +1 -0
- package/lib/molecule/menu-links/types.js.map +1 -1
- package/lib/template/common/faq-page/index.d.ts +1 -31
- package/lib/template/common/faq-page/index.d.ts.map +1 -1
- package/lib/template/common/faq-page/types.d.ts +1 -33
- package/lib/template/common/faq-page/types.d.ts.map +1 -1
- package/lib/template/common/faq-page/types.js +6 -9
- package/lib/template/common/faq-page/types.js.map +1 -1
- package/lib/template/common/privacy-policy-page/index.d.ts +2 -32
- package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -1
- package/lib/template/common/privacy-policy-page/index.js +2 -9
- package/lib/template/common/privacy-policy-page/index.js.map +1 -1
- package/lib/template/common/privacy-policy-page/style.css +0 -20
- package/lib/template/common/privacy-policy-page/types.d.ts +1 -33
- package/lib/template/common/privacy-policy-page/types.d.ts.map +1 -1
- package/lib/template/common/privacy-policy-page/types.js +6 -9
- package/lib/template/common/privacy-policy-page/types.js.map +1 -1
- package/package.json +2 -2
- 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 -66
- 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/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 -66
- 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
|
@@ -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,66 +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
|
-
border-radius: 8px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.title {
|
|
19
|
-
font-family: Gilroy;
|
|
20
|
-
font-size: 18px;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
line-height: 24px;
|
|
23
|
-
letter-spacing: 0em;
|
|
24
|
-
text-align: left;
|
|
25
|
-
color: cm_grey_700;
|
|
26
|
-
margin: 0px 0px 8px 0px;
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.content {
|
|
31
|
-
font-family: Gilroy;
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
line-height: 20px;
|
|
35
|
-
letter-spacing: 0px;
|
|
36
|
-
text-align: left;
|
|
37
|
-
color: cm_grey_500;
|
|
38
|
-
margin: 0px 0px 24px 0px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.downloadButton {
|
|
42
|
-
height: 48px;
|
|
43
|
-
width: 152px;
|
|
44
|
-
border-radius: 7px;
|
|
45
|
-
background-color: cm_primary_blue;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.downloadButtonContent {
|
|
49
|
-
padding: 0 30px;
|
|
50
|
-
display: block;
|
|
51
|
-
text-transform: inherit;
|
|
52
|
-
background-color: cm_primary_blue;
|
|
53
|
-
color: white;
|
|
54
|
-
font-family: Gilroy;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
font-size: 13px;
|
|
57
|
-
text-decoration: none;
|
|
58
|
-
line-height: inherit;
|
|
59
|
-
text-align: center;
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
border-radius: inherit;
|
|
62
|
-
border: none;
|
|
63
|
-
width: 100%;
|
|
64
|
-
user-select: none;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
}
|
|
@@ -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,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,38 +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 _button = _interopRequireDefault(require("../../atom/button"));
|
|
9
|
-
|
|
10
|
-
var _style = _interopRequireDefault(require("./style.css"));
|
|
11
|
-
|
|
12
|
-
var _types = require("./types");
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
|
-
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); }
|
|
17
|
-
|
|
18
|
-
const PrivacyPolicyDownload = ({
|
|
19
|
-
title,
|
|
20
|
-
downloadButton,
|
|
21
|
-
content
|
|
22
|
-
}) => {
|
|
23
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
24
|
-
className: _style.default.container
|
|
25
|
-
}, /*#__PURE__*/_react.default.createElement("h3", {
|
|
26
|
-
className: _style.default.title
|
|
27
|
-
}, title), /*#__PURE__*/_react.default.createElement("p", {
|
|
28
|
-
className: _style.default.content
|
|
29
|
-
}, content), /*#__PURE__*/_react.default.createElement(_button.default, _extends({}, downloadButton, {
|
|
30
|
-
className: _style.default.downloadButton,
|
|
31
|
-
buttonContentClassName: _style.default.downloadButtonContent
|
|
32
|
-
})));
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
PrivacyPolicyDownload.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
|
|
36
|
-
var _default = PrivacyPolicyDownload;
|
|
37
|
-
exports.default = _default;
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["PrivacyPolicyDownload","title","downloadButton","content","styles","container","downloadButtonContent","propTypes"],"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;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,qBAAqB,GAAG,CAAC;EAACC,KAAD;EAAQC,cAAR;EAAwBC;AAAxB,CAAD,KAA6C;EACzE,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAI,SAAS,EAAED,cAAA,CAAOH;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAG,SAAS,EAAEG,cAAA,CAAOD;EAArB,GAA+BA,OAA/B,CAFF,eAGE,6BAAC,eAAD,eACMD,cADN;IAEE,SAAS,EAAEE,cAAA,CAAOF,cAFpB;IAGE,sBAAsB,EAAEE,cAAA,CAAOE;EAHjC,GAHF,CADF;AAWD,CAZD;;AAcAN,qBAAqB,CAACO,SAAtB,2CAAkCA,gBAAlC;eAEeP,qB"}
|
|
@@ -1,66 +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
|
-
border-radius: 8px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.title {
|
|
19
|
-
font-family: Gilroy;
|
|
20
|
-
font-size: 18px;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
line-height: 24px;
|
|
23
|
-
letter-spacing: 0em;
|
|
24
|
-
text-align: left;
|
|
25
|
-
color: cm_grey_700;
|
|
26
|
-
margin: 0px 0px 8px 0px;
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.content {
|
|
31
|
-
font-family: Gilroy;
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
line-height: 20px;
|
|
35
|
-
letter-spacing: 0px;
|
|
36
|
-
text-align: left;
|
|
37
|
-
color: cm_grey_500;
|
|
38
|
-
margin: 0px 0px 24px 0px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.downloadButton {
|
|
42
|
-
height: 48px;
|
|
43
|
-
width: 152px;
|
|
44
|
-
border-radius: 7px;
|
|
45
|
-
background-color: cm_primary_blue;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.downloadButtonContent {
|
|
49
|
-
padding: 0 30px;
|
|
50
|
-
display: block;
|
|
51
|
-
text-transform: inherit;
|
|
52
|
-
background-color: cm_primary_blue;
|
|
53
|
-
color: white;
|
|
54
|
-
font-family: Gilroy;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
font-size: 13px;
|
|
57
|
-
text-decoration: none;
|
|
58
|
-
line-height: inherit;
|
|
59
|
-
text-align: center;
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
border-radius: inherit;
|
|
62
|
-
border: none;
|
|
63
|
-
width: 100%;
|
|
64
|
-
user-select: none;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
}
|
|
@@ -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,18 +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 _button = _interopRequireDefault(require("../../atom/button"));
|
|
9
|
-
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
|
-
const propTypes = {
|
|
13
|
-
title: _propTypes.default.string,
|
|
14
|
-
content: _propTypes.default.string,
|
|
15
|
-
downloadButton: _propTypes.default.shape(_button.default.propTypes)
|
|
16
|
-
};
|
|
17
|
-
exports.propTypes = propTypes;
|
|
18
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","title","PropTypes","string","content","downloadButton","shape","Button"],"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;;AACA;;;;AAEO,MAAMA,SAAS,GAAG;EACvBC,KAAK,EAAEC,kBAAA,CAAUC,MADM;EAEvBC,OAAO,EAAEF,kBAAA,CAAUC,MAFI;EAGvBE,cAAc,EAAEH,kBAAA,CAAUI,KAAV,CAAgBC,eAAA,CAAOP,SAAvB;AAHO,CAAlB"}
|