@bento-core/about 1.0.1-CDS.4 → 1.0.1-ins.0
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/dist/aboutBodyView.js +13 -64
- package/dist/aboutHeaderView.js +6 -11
- package/package.json +11 -5
- package/src/aboutBodyView.js +11 -96
- package/src/aboutHeaderView.js +4 -6
package/dist/aboutBodyView.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _core = require("@material-ui/core");
|
|
9
9
|
var _xoomInOutView = _interopRequireDefault(require("./xoomInOutView"));
|
|
10
|
+
var _AboutTableExternalLink = _interopRequireDefault(require("./assets/About-Table-ExternalLink.svg"));
|
|
10
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
12
|
const AboutBody = _ref => {
|
|
12
13
|
let {
|
|
@@ -55,9 +56,7 @@ const AboutBody = _ref => {
|
|
|
55
56
|
// Alphetised sub ordered list
|
|
56
57
|
_react.default.createElement("ol", {
|
|
57
58
|
type: "a"
|
|
58
|
-
}, listObj.listWithAlpahbets.map(listObj1 => /*#__PURE__*/_react.default.createElement("li", null, listObj1.includes('$$') ? boldText(listObj1) : listObj1))) : /*#__PURE__*/_react.default.createElement("li", null, listObj.includes('$$') ? boldText(listObj) : listObj)))), contentObj.
|
|
59
|
-
className: classes.text
|
|
60
|
-
}, /*#__PURE__*/_react.default.createElement("ul", null, contentObj.listWithBullets.map(listObj => /*#__PURE__*/_react.default.createElement("li", null, listObj.includes('$$') ? boldText(listObj) : listObj)))), contentObj.listWithAlpahbets && /*#__PURE__*/_react.default.createElement("div", {
|
|
59
|
+
}, listObj.listWithAlpahbets.map(listObj1 => /*#__PURE__*/_react.default.createElement("li", null, listObj1.includes('$$') ? boldText(listObj1) : listObj1))) : /*#__PURE__*/_react.default.createElement("li", null, listObj.includes('$$') ? boldText(listObj) : listObj)))), contentObj.listWithAlpahbets && /*#__PURE__*/_react.default.createElement("div", {
|
|
61
60
|
className: classes.text
|
|
62
61
|
}, /*#__PURE__*/_react.default.createElement("ol", {
|
|
63
62
|
type: "a"
|
|
@@ -70,6 +69,7 @@ const AboutBody = _ref => {
|
|
|
70
69
|
const linkAttrs = splitedParagraph.match(/\((.*)\)/).pop().split(' ');
|
|
71
70
|
const target = linkAttrs.find(link => link.includes('target:'));
|
|
72
71
|
const url = linkAttrs.find(link => link.includes('url:'));
|
|
72
|
+
const type = linkAttrs.find(link => link.includes('type:')); // 0 : no img
|
|
73
73
|
const href = splitedParagraph.match(/\((.*)\)/).pop();
|
|
74
74
|
const link = /*#__PURE__*/_react.default.createElement(_core.Link, {
|
|
75
75
|
title: title,
|
|
@@ -79,7 +79,7 @@ const AboutBody = _ref => {
|
|
|
79
79
|
color: "inherit",
|
|
80
80
|
className: classes.link
|
|
81
81
|
}, title);
|
|
82
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, link,
|
|
82
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, link, type ? '' : /*#__PURE__*/_react.default.createElement("img", {
|
|
83
83
|
src: externalIconImage
|
|
84
84
|
// externalIconImage: 'https://raw.githubusercontent.com/CBIIT/datacommons-assets/main/common/images/logos/svgs/externalLinkIcon.svg',
|
|
85
85
|
,
|
|
@@ -187,46 +187,13 @@ const AboutBody = _ref => {
|
|
|
187
187
|
outputHTML = /*#__PURE__*/_react.default.createElement("td", {
|
|
188
188
|
className: classes.tableCell
|
|
189
189
|
}, link, type ? '' : /*#__PURE__*/_react.default.createElement("img", {
|
|
190
|
-
src:
|
|
190
|
+
src: _AboutTableExternalLink.default,
|
|
191
191
|
alt: "outbounnd web site icon",
|
|
192
192
|
className: classes.tablelinkIcon
|
|
193
193
|
}));
|
|
194
194
|
}
|
|
195
195
|
return outputHTML;
|
|
196
|
-
}))))))), /*#__PURE__*/_react.default.createElement("br", null))) : ''), data.
|
|
197
|
-
className: classes.downloadableContentContainer
|
|
198
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
199
|
-
className: classes.downloadableContentTitle
|
|
200
|
-
}, data.downloadableContentTitle), /*#__PURE__*/_react.default.createElement("span", {
|
|
201
|
-
className: classes.text
|
|
202
|
-
}, data.downloadableContent ? data.downloadableContent.map(contentObj => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, contentObj.paragraph && /*#__PURE__*/_react.default.createElement("div", {
|
|
203
|
-
className: classes.text
|
|
204
|
-
}, contentObj.paragraph.split('$$').map(splitedParagraph => {
|
|
205
|
-
// Checking for regex ()[] pattern
|
|
206
|
-
if (splitedParagraph != null && (/\[(.+)\]\((.+)\)/g.test(splitedParagraph) || /\((.+)\)\[(.+)\]/g.test(splitedParagraph))) {
|
|
207
|
-
const title = splitedParagraph.match(/\[(.*)\]/).pop();
|
|
208
|
-
const linkAttrs = splitedParagraph.match(/\((.*)\)/).pop().split(' ');
|
|
209
|
-
const target = linkAttrs.find(link => link.includes('target:'));
|
|
210
|
-
const url = linkAttrs.find(link => link.includes('url:'));
|
|
211
|
-
const href = splitedParagraph.match(/\((.*)\)/).pop();
|
|
212
|
-
const link = /*#__PURE__*/_react.default.createElement(_core.Link, {
|
|
213
|
-
title: title,
|
|
214
|
-
target: target ? target.replace('target:', '') : '_blank',
|
|
215
|
-
rel: "noreferrer",
|
|
216
|
-
href: url ? url.replace('url:', '') : href && href.includes('@') ? "mailto:".concat(href) : href,
|
|
217
|
-
color: "inherit",
|
|
218
|
-
className: classes.link
|
|
219
|
-
}, title);
|
|
220
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, link, href.includes('@') || !href.includes('http') ? '' : /*#__PURE__*/_react.default.createElement("img", {
|
|
221
|
-
src: externalIconImage
|
|
222
|
-
// externalIconImage: 'https://raw.githubusercontent.com/CBIIT/datacommons-assets/main/common/images/logos/svgs/externalLinkIcon.svg',
|
|
223
|
-
,
|
|
224
|
-
alt: "outbounnd web site icon",
|
|
225
|
-
className: classes.linkIcon
|
|
226
|
-
}));
|
|
227
|
-
}
|
|
228
|
-
return splitedParagraph;
|
|
229
|
-
})))) : ''))), data.imageLocation === 'right' && /*#__PURE__*/_react.default.createElement(_core.Grid, {
|
|
196
|
+
}))))))), /*#__PURE__*/_react.default.createElement("br", null))) : '')), data.imageLocation === 'right' && /*#__PURE__*/_react.default.createElement(_core.Grid, {
|
|
230
197
|
item: true,
|
|
231
198
|
lg: 3,
|
|
232
199
|
md: 3,
|
|
@@ -246,9 +213,6 @@ const styles = () => ({
|
|
|
246
213
|
lineHeight: '22px',
|
|
247
214
|
maxWidth: '1440px'
|
|
248
215
|
},
|
|
249
|
-
tabbedParag: {
|
|
250
|
-
paddingLeft: '40px'
|
|
251
|
-
},
|
|
252
216
|
maxWidthContainer: {
|
|
253
217
|
margin: '0px auto 0px auto',
|
|
254
218
|
maxWidth: '1440px'
|
|
@@ -272,35 +236,32 @@ const styles = () => ({
|
|
|
272
236
|
},
|
|
273
237
|
title: props => ({
|
|
274
238
|
color: props.titleColor,
|
|
275
|
-
fontWeight: '
|
|
276
|
-
fontSize: '24px'
|
|
239
|
+
fontWeight: 'bold'
|
|
277
240
|
}),
|
|
278
241
|
email: props => ({
|
|
279
242
|
color: props.linkColor,
|
|
280
243
|
fontWeight: 'bold'
|
|
281
244
|
}),
|
|
282
245
|
contentSection: {
|
|
283
|
-
padding: props => props.data.imageLocation === 'right' ? '8px 25px 8px
|
|
284
|
-
float: 'left'
|
|
285
|
-
background: 'white'
|
|
246
|
+
padding: props => props.data.imageLocation === 'right' ? '8px 25px 8px 0px !important' : '8px 0px 8px 25px !important',
|
|
247
|
+
float: 'left'
|
|
286
248
|
},
|
|
287
249
|
imageSection: {
|
|
288
250
|
float: 'left'
|
|
289
251
|
},
|
|
290
252
|
aboutSection: {
|
|
291
|
-
padding: '
|
|
253
|
+
padding: '60px 45px'
|
|
292
254
|
},
|
|
293
255
|
img: {
|
|
294
256
|
width: '100%'
|
|
295
257
|
},
|
|
296
258
|
linkIcon: {
|
|
297
|
-
width: '
|
|
259
|
+
width: '20px',
|
|
298
260
|
verticalAlign: 'sub',
|
|
299
|
-
margin: '0px 0px 2px
|
|
261
|
+
margin: '0px 0px 0px 2px'
|
|
300
262
|
},
|
|
301
263
|
link: props => ({
|
|
302
264
|
color: props.linkColor,
|
|
303
|
-
fontWeight: '600',
|
|
304
265
|
'&:hover': {
|
|
305
266
|
color: props.linkColor
|
|
306
267
|
}
|
|
@@ -322,6 +283,7 @@ const styles = () => ({
|
|
|
322
283
|
borderCollapse: 'collapse',
|
|
323
284
|
fontSize: '12px',
|
|
324
285
|
fontWeight: 'bold',
|
|
286
|
+
letterSpacing: '0.025em',
|
|
325
287
|
lineHeight: '30px',
|
|
326
288
|
textAlign: 'left',
|
|
327
289
|
width: '100%'
|
|
@@ -350,19 +312,6 @@ const styles = () => ({
|
|
|
350
312
|
},
|
|
351
313
|
MyCasesWizardStep4: {
|
|
352
314
|
width: '600px'
|
|
353
|
-
},
|
|
354
|
-
downloadableContentContainer: {
|
|
355
|
-
background: '#ebebeb',
|
|
356
|
-
padding: '32px',
|
|
357
|
-
borderRadius: '8px'
|
|
358
|
-
},
|
|
359
|
-
downloadableContentTitle: {
|
|
360
|
-
fontWeight: 'bold',
|
|
361
|
-
marginBottom: '20px',
|
|
362
|
-
color: '#1280AE',
|
|
363
|
-
fontSize: '20px',
|
|
364
|
-
fontFamily: 'Lato',
|
|
365
|
-
letterSpacing: '0.025em'
|
|
366
315
|
}
|
|
367
316
|
});
|
|
368
317
|
AboutBody.defaultProps = {
|
package/dist/aboutHeaderView.js
CHANGED
|
@@ -7,11 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _core = require("@material-ui/core");
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
14
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
15
10
|
const AboutHeader = _ref => {
|
|
16
11
|
let {
|
|
17
12
|
classes,
|
|
@@ -34,13 +29,13 @@ const styles = () => ({
|
|
|
34
29
|
header: {
|
|
35
30
|
padding: '45px'
|
|
36
31
|
},
|
|
37
|
-
container: props =>
|
|
32
|
+
container: props => ({
|
|
38
33
|
background: props.background
|
|
39
|
-
}
|
|
40
|
-
whitePadding:
|
|
41
|
-
height:
|
|
42
|
-
background:
|
|
43
|
-
},
|
|
34
|
+
}),
|
|
35
|
+
whitePadding: {
|
|
36
|
+
height: '6px',
|
|
37
|
+
background: 'white'
|
|
38
|
+
},
|
|
44
39
|
titleBody: {
|
|
45
40
|
textAlign: 'center'
|
|
46
41
|
},
|
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/about",
|
|
3
|
-
"version": "1.0.1-
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "1.0.1-ins.0",
|
|
5
4
|
"main": "dist/index.js",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
|
|
8
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
8
|
"lint": "eslint src"
|
|
10
9
|
},
|
|
11
|
-
"repository":
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/CBIIT/bento-frontend.git"
|
|
13
|
+
},
|
|
12
14
|
"publishConfig": {
|
|
13
15
|
"access": "public"
|
|
14
16
|
},
|
|
15
17
|
"dependencies": {
|
|
16
|
-
"@bento-core/facet-filter": "
|
|
18
|
+
"@bento-core/facet-filter": "1.0.1-ins.0",
|
|
17
19
|
"lodash": "^4.17.20",
|
|
18
20
|
"react-zoom-pan-pinch": "*"
|
|
19
21
|
},
|
|
@@ -26,5 +28,9 @@
|
|
|
26
28
|
},
|
|
27
29
|
"author": "CTOS Bento Team",
|
|
28
30
|
"license": "ISC",
|
|
29
|
-
"
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/CBIIT/bento-frontend/issues"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/CBIIT/bento-frontend#readme",
|
|
35
|
+
"description": ""
|
|
30
36
|
}
|
package/src/aboutBodyView.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Grid, Link, withStyles } from '@material-ui/core';
|
|
3
3
|
import XoomInOut from './xoomInOutView';
|
|
4
|
+
import tableExternalIcon from './assets/About-Table-ExternalLink.svg';
|
|
4
5
|
|
|
5
|
-
const AboutBody = ({
|
|
6
|
-
classes, data, externalIconImage,
|
|
7
|
-
}) => {
|
|
6
|
+
const AboutBody = ({ classes, data, externalIconImage }) => {
|
|
8
7
|
function boldText(text) {
|
|
9
8
|
const boldedText = text.split('$$').map((splitedText) => {
|
|
10
9
|
if (splitedText != null && (/\*(.*)\*/.test(splitedText))) {
|
|
@@ -45,14 +44,6 @@ const AboutBody = ({
|
|
|
45
44
|
</ol>
|
|
46
45
|
</div>
|
|
47
46
|
)}
|
|
48
|
-
{contentObj.listWithBullets && (
|
|
49
|
-
<div className={classes.text}>
|
|
50
|
-
{/* Alphabetised ordered list */}
|
|
51
|
-
<ul>
|
|
52
|
-
{ contentObj.listWithBullets.map((listObj) => <li>{listObj.includes('$$') ? boldText(listObj) : listObj}</li>)}
|
|
53
|
-
</ul>
|
|
54
|
-
</div>
|
|
55
|
-
)}
|
|
56
47
|
{/* Ordered List with Alphabets logic */}
|
|
57
48
|
{contentObj.listWithAlpahbets && (
|
|
58
49
|
<div className={classes.text}>
|
|
@@ -73,6 +64,7 @@ const AboutBody = ({
|
|
|
73
64
|
const linkAttrs = splitedParagraph.match(/\((.*)\)/).pop().split(' ');
|
|
74
65
|
const target = linkAttrs.find((link) => link.includes('target:'));
|
|
75
66
|
const url = linkAttrs.find((link) => link.includes('url:'));
|
|
67
|
+
const type = linkAttrs.find((link) => link.includes('type:')); // 0 : no img
|
|
76
68
|
const href = splitedParagraph.match(/\((.*)\)/).pop();
|
|
77
69
|
|
|
78
70
|
const link = (
|
|
@@ -91,7 +83,7 @@ const AboutBody = ({
|
|
|
91
83
|
return (
|
|
92
84
|
<>
|
|
93
85
|
{link}
|
|
94
|
-
{
|
|
86
|
+
{type ? '' : (
|
|
95
87
|
<img
|
|
96
88
|
src={externalIconImage}
|
|
97
89
|
// externalIconImage: 'https://raw.githubusercontent.com/CBIIT/datacommons-assets/main/common/images/logos/svgs/externalLinkIcon.svg',
|
|
@@ -215,7 +207,7 @@ const AboutBody = ({
|
|
|
215
207
|
{link}
|
|
216
208
|
{type ? '' : (
|
|
217
209
|
<img
|
|
218
|
-
src={
|
|
210
|
+
src={tableExternalIcon}
|
|
219
211
|
alt="outbounnd web site icon"
|
|
220
212
|
className={classes.tablelinkIcon}
|
|
221
213
|
/>
|
|
@@ -237,65 +229,6 @@ const AboutBody = ({
|
|
|
237
229
|
</>
|
|
238
230
|
)) : ''}
|
|
239
231
|
</span>
|
|
240
|
-
{data.downloadableContentTitle
|
|
241
|
-
&& (
|
|
242
|
-
<div className={classes.downloadableContentContainer}>
|
|
243
|
-
<div className={classes.downloadableContentTitle}>{data.downloadableContentTitle}</div>
|
|
244
|
-
<span className={classes.text}>
|
|
245
|
-
{data.downloadableContent ? data.downloadableContent.map((contentObj) => (
|
|
246
|
-
<>
|
|
247
|
-
{/* Ordered List with Numbers logic */}
|
|
248
|
-
|
|
249
|
-
{/* Paragraphs */}
|
|
250
|
-
{contentObj.paragraph && (
|
|
251
|
-
<div className={classes.text}>
|
|
252
|
-
{ contentObj.paragraph.split('$$').map((splitedParagraph) => {
|
|
253
|
-
// Checking for regex ()[] pattern
|
|
254
|
-
if (splitedParagraph != null && ((/\[(.+)\]\((.+)\)/g.test(splitedParagraph)) || (/\((.+)\)\[(.+)\]/g.test(splitedParagraph)))) {
|
|
255
|
-
const title = splitedParagraph.match(/\[(.*)\]/).pop();
|
|
256
|
-
const linkAttrs = splitedParagraph.match(/\((.*)\)/).pop().split(' ');
|
|
257
|
-
const target = linkAttrs.find((link) => link.includes('target:'));
|
|
258
|
-
const url = linkAttrs.find((link) => link.includes('url:'));
|
|
259
|
-
const href = splitedParagraph.match(/\((.*)\)/).pop();
|
|
260
|
-
|
|
261
|
-
const link = (
|
|
262
|
-
<Link
|
|
263
|
-
title={title}
|
|
264
|
-
target={target ? target.replace('target:', '') : '_blank'}
|
|
265
|
-
rel="noreferrer"
|
|
266
|
-
href={url ? url.replace('url:', '') : (href && href.includes('@') ? `mailto:${href}` : href)}
|
|
267
|
-
color="inherit"
|
|
268
|
-
className={classes.link}
|
|
269
|
-
>
|
|
270
|
-
{title}
|
|
271
|
-
</Link>
|
|
272
|
-
);
|
|
273
|
-
|
|
274
|
-
return (
|
|
275
|
-
<>
|
|
276
|
-
{link}
|
|
277
|
-
{href.includes('@') || !href.includes('http') ? '' : (
|
|
278
|
-
<img
|
|
279
|
-
src={externalIconImage}
|
|
280
|
-
// externalIconImage: 'https://raw.githubusercontent.com/CBIIT/datacommons-assets/main/common/images/logos/svgs/externalLinkIcon.svg',
|
|
281
|
-
alt="outbounnd web site icon"
|
|
282
|
-
className={classes.linkIcon}
|
|
283
|
-
/>
|
|
284
|
-
)}
|
|
285
|
-
|
|
286
|
-
</>
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
return splitedParagraph;
|
|
291
|
-
})}
|
|
292
|
-
</div>
|
|
293
|
-
)}
|
|
294
|
-
</>
|
|
295
|
-
)) : ''}
|
|
296
|
-
</span>
|
|
297
|
-
</div>
|
|
298
|
-
)}
|
|
299
232
|
</Grid>
|
|
300
233
|
{data.imageLocation === 'right'
|
|
301
234
|
&& (
|
|
@@ -321,9 +254,6 @@ const styles = () => ({
|
|
|
321
254
|
lineHeight: '22px',
|
|
322
255
|
maxWidth: '1440px',
|
|
323
256
|
},
|
|
324
|
-
tabbedParag: {
|
|
325
|
-
paddingLeft: '40px',
|
|
326
|
-
},
|
|
327
257
|
maxWidthContainer: {
|
|
328
258
|
margin: '0px auto 0px auto',
|
|
329
259
|
maxWidth: '1440px',
|
|
@@ -347,8 +277,7 @@ const styles = () => ({
|
|
|
347
277
|
},
|
|
348
278
|
title: (props) => ({
|
|
349
279
|
color: props.titleColor,
|
|
350
|
-
fontWeight: '
|
|
351
|
-
fontSize: '24px',
|
|
280
|
+
fontWeight: 'bold',
|
|
352
281
|
}),
|
|
353
282
|
email: (props) => ({
|
|
354
283
|
color: props.linkColor,
|
|
@@ -356,27 +285,25 @@ const styles = () => ({
|
|
|
356
285
|
}),
|
|
357
286
|
contentSection: {
|
|
358
287
|
padding: (props) => (props.data.imageLocation === 'right'
|
|
359
|
-
? '8px 25px 8px
|
|
288
|
+
? '8px 25px 8px 0px !important' : '8px 0px 8px 25px !important'),
|
|
360
289
|
float: 'left',
|
|
361
|
-
background: 'white',
|
|
362
290
|
},
|
|
363
291
|
imageSection: {
|
|
364
292
|
float: 'left',
|
|
365
293
|
},
|
|
366
294
|
aboutSection: {
|
|
367
|
-
padding: '
|
|
295
|
+
padding: '60px 45px',
|
|
368
296
|
},
|
|
369
297
|
img: {
|
|
370
298
|
width: '100%',
|
|
371
299
|
},
|
|
372
300
|
linkIcon: {
|
|
373
|
-
width: '
|
|
301
|
+
width: '20px',
|
|
374
302
|
verticalAlign: 'sub',
|
|
375
|
-
margin: '0px 0px 2px
|
|
303
|
+
margin: '0px 0px 0px 2px',
|
|
376
304
|
},
|
|
377
305
|
link: (props) => ({
|
|
378
306
|
color: props.linkColor,
|
|
379
|
-
fontWeight: '600',
|
|
380
307
|
'&:hover': {
|
|
381
308
|
color: props.linkColor,
|
|
382
309
|
},
|
|
@@ -398,6 +325,7 @@ const styles = () => ({
|
|
|
398
325
|
borderCollapse: 'collapse',
|
|
399
326
|
fontSize: '12px',
|
|
400
327
|
fontWeight: 'bold',
|
|
328
|
+
letterSpacing: '0.025em',
|
|
401
329
|
lineHeight: '30px',
|
|
402
330
|
textAlign: 'left',
|
|
403
331
|
width: '100%',
|
|
@@ -428,19 +356,6 @@ const styles = () => ({
|
|
|
428
356
|
MyCasesWizardStep4: {
|
|
429
357
|
width: '600px',
|
|
430
358
|
},
|
|
431
|
-
downloadableContentContainer: {
|
|
432
|
-
background: '#ebebeb',
|
|
433
|
-
padding: '32px',
|
|
434
|
-
borderRadius: '8px',
|
|
435
|
-
},
|
|
436
|
-
downloadableContentTitle: {
|
|
437
|
-
fontWeight: 'bold',
|
|
438
|
-
marginBottom: '20px',
|
|
439
|
-
color: '#1280AE',
|
|
440
|
-
fontSize: '20px',
|
|
441
|
-
fontFamily: 'Lato',
|
|
442
|
-
letterSpacing: '0.025em',
|
|
443
|
-
},
|
|
444
359
|
});
|
|
445
360
|
|
|
446
361
|
AboutBody.defaultProps = {
|
package/src/aboutHeaderView.js
CHANGED
|
@@ -16,13 +16,11 @@ const styles = () => ({
|
|
|
16
16
|
},
|
|
17
17
|
container: (props) => ({
|
|
18
18
|
background: props.background,
|
|
19
|
-
...props.container,
|
|
20
|
-
}),
|
|
21
|
-
whitePadding: (props) => ({
|
|
22
|
-
height: props.whitePadding ? props.whitePadding.height : 0,
|
|
23
|
-
background: props.background,
|
|
24
|
-
...props.whitePadding,
|
|
25
19
|
}),
|
|
20
|
+
whitePadding: {
|
|
21
|
+
height: '6px',
|
|
22
|
+
background: 'white',
|
|
23
|
+
},
|
|
26
24
|
titleBody: {
|
|
27
25
|
textAlign: 'center',
|
|
28
26
|
},
|