Skip to content

Commit a1c89e8

Browse files
authored
v2.5.1 (#68)
* update prov data include text * prepare v2.5.1
1 parent 87f6fd6 commit a1c89e8

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

lib/components/DownloadStepForm/DownloadStepForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function DownloadStepForm(props) {
364364
variant: "h6"
365365
}, "Include"), /*#__PURE__*/_react.default.createElement(_Typography.default, {
366366
variant: "body2"
367-
}, "Include provisional data in this download package"))
367+
}, "Include provisional data in this download package (", /*#__PURE__*/_react.default.createElement("b", null, "Warning:"), " subject to change and not reproducible)"))
368368
}), /*#__PURE__*/_react.default.createElement(_FormControlLabel.default, {
369369
className: classes.radio,
370370
value: validValues[1],

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "portal-core-components",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"main": "./lib/index.js",
55
"private": true,
66
"homepage": "http://localhost:3010/core-components",

src/lib_components/components/DownloadStepForm/DownloadStepForm.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,10 @@ export default function DownloadStepForm(props) {
377377
<div className={classes.radioLabel}>
378378
<Typography variant="h6">Include</Typography>
379379
<Typography variant="body2">
380+
{/* eslint-disable react/jsx-one-expression-per-line */}
380381
Include provisional data in this download package
382+
(<b>Warning:</b> subject to change and not reproducible)
383+
{/* eslint-enable react/jsx-one-expression-per-line */}
381384
</Typography>
382385
</div>
383386
)}

src/lib_components/components/DownloadStepForm/__tests__/__snapshots__/DownloadStepForm.jsx.snap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,11 @@ exports[`DownloadStepForm Step provisionalData renders correctly 1`] = `
560560
<p
561561
className="MuiTypography-root MuiTypography-body2"
562562
>
563-
Include provisional data in this download package
563+
Include provisional data in this download package (
564+
<b>
565+
Warning:
566+
</b>
567+
subject to change and not reproducible)
564568
</p>
565569
</div>
566570
</span>

0 commit comments

Comments
 (0)