@bento-core/table 1.0.1-ccdihub.106 → 1.0.1-ccdihub.107

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.
@@ -179,7 +179,7 @@ const CPIModal = _ref => {
179
179
  position: 'absolute',
180
180
  top: '5%',
181
181
  left: '25%',
182
- width: '840px',
182
+ width: '880px',
183
183
  height: '671px',
184
184
  background: '#FFFFFF',
185
185
  border: '1px solid #505050',
@@ -210,19 +210,17 @@ const CPIModal = _ref => {
210
210
  fontFamily: 'Nunito',
211
211
  fontSize: '16px',
212
212
  fontWeight: '400',
213
- padding: '40px',
214
- paddingLeft: '35px',
215
- paddingRight: '20px',
216
- borderTop: '1px solid #505050'
213
+ padding: '35px 25px 40px 30px',
214
+ borderTop: '1px solid #505050',
215
+ textAlign: 'center' // Add this to center the text
217
216
  };
217
+
218
218
  const link = {
219
219
  color: '#7D267E',
220
220
  fontFamily: 'Nunito',
221
221
  fontSize: '16px',
222
222
  fontWeight: '700',
223
- position: 'relative',
224
- top: '11.5px',
225
- right: '39px'
223
+ textDecoration: 'underline'
226
224
  };
227
225
  const modalTitle = {
228
226
  fontFamily: 'Poppins',
@@ -361,12 +359,12 @@ const CPIModal = _ref => {
361
359
  }))), /*#__PURE__*/_react.default.createElement("div", {
362
360
  className: "footer",
363
361
  style: footer
364
- }, "All CPI mappings for a given study can be found in the \"synonyms\" tab of the downloadable manifest, available under the \"Studies\" tab in the Explore Dashboard. For more information about CPI, click\xA0", /*#__PURE__*/_react.default.createElement("a", {
362
+ }, /*#__PURE__*/_react.default.createElement("span", null, "Public participant ID mappings for a given study can be found in the \"synonyms\" tab of the downloadable manifest, available under the \"Studies\" tab in the Explore Dashboard. For more information about CPI, click", ' ', /*#__PURE__*/_react.default.createElement("a", {
365
363
  style: link,
366
364
  href: "https://participantindex-docs.ccdi.cancer.gov/",
367
365
  target: "_blank",
368
366
  rel: "noopener noreferrer"
369
- }, "here"))));
367
+ }, "here"), "."))));
370
368
  };
371
369
  var _default = (0, _styles.withStyles)(_ModalStyle.default)(CPIModal);
372
370
  exports.default = _default;
@@ -89,7 +89,7 @@ const CPIView = _ref => {
89
89
  arrow: classes.arrow,
90
90
  tooltip: classes.tooltip
91
91
  },
92
- title: externalData.length && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "All mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
92
+ title: externalData.length && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "Public mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
93
93
  role: "button",
94
94
  onClick: handleModalOpen,
95
95
  tabIndex: 0,
@@ -98,7 +98,7 @@ const CPIView = _ref => {
98
98
  style: {
99
99
  marginBottom: '3px'
100
100
  }
101
- }, "Identifier mapped in CCDI Hub:"), internalData.map(e => /*#__PURE__*/_react.default.createElement("div", null, "".concat(e.associated_id, ", ").concat(e.repository_of_synonym_id))), /*#__PURE__*/_react.default.createElement("p", null, "All mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
101
+ }, "Identifier mapped in CCDI Hub:"), internalData.map(e => /*#__PURE__*/_react.default.createElement("div", null, "".concat(e.associated_id, ", ").concat(e.repository_of_synonym_id))), /*#__PURE__*/_react.default.createElement("p", null, "Public mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
102
102
  role: "button",
103
103
  onClick: handleModalOpen,
104
104
  tabIndex: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.106",
3
+ "version": "1.0.1-ccdihub.107",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -196,7 +196,7 @@ const CPIModal = ({
196
196
  position: 'absolute',
197
197
  top: '5%',
198
198
  left: '25%',
199
- width: '840px',
199
+ width: '880px',
200
200
  height: '671px',
201
201
  background: '#FFFFFF',
202
202
  border: '1px solid #505050',
@@ -231,10 +231,9 @@ const CPIModal = ({
231
231
  fontFamily: 'Nunito',
232
232
  fontSize: '16px',
233
233
  fontWeight: '400',
234
- padding: '40px',
235
- paddingLeft: '35px',
236
- paddingRight: '20px',
234
+ padding: '35px 25px 40px 30px',
237
235
  borderTop: '1px solid #505050',
236
+ textAlign: 'center', // Add this to center the text
238
237
  };
239
238
 
240
239
  const link = {
@@ -242,9 +241,7 @@ const CPIModal = ({
242
241
  fontFamily: 'Nunito',
243
242
  fontSize: '16px',
244
243
  fontWeight: '700',
245
- position: 'relative',
246
- top: '11.5px',
247
- right: '39px',
244
+ textDecoration: 'underline',
248
245
  };
249
246
 
250
247
  const modalTitle = {
@@ -405,11 +402,24 @@ const CPIModal = ({
405
402
  </Button>
406
403
  </div>
407
404
  <div className="footer" style={footer}>
408
- All CPI mappings for a given study can be found in the "synonyms"
409
- tab of the downloadable manifest,
410
- available under the "Studies" tab in the Explore Dashboard.
411
- For more information about CPI, click&nbsp;
412
- <a style={link} href="https://participantindex-docs.ccdi.cancer.gov/" target="_blank" rel="noopener noreferrer">here</a>
405
+ <span>
406
+ Public participant ID mappings for
407
+ a given study can be found in the
408
+ "synonyms" tab of the downloadable manifest,
409
+ available under the "Studies" tab
410
+ in the Explore Dashboard.
411
+ For more information about CPI, click
412
+ {' '}
413
+ <a
414
+ style={link}
415
+ href="https://participantindex-docs.ccdi.cancer.gov/"
416
+ target="_blank"
417
+ rel="noopener noreferrer"
418
+ >
419
+ here
420
+ </a>
421
+ .
422
+ </span>
413
423
  </div>
414
424
  </Box>
415
425
  </Modal>
@@ -97,7 +97,7 @@ const CPIView = ({
97
97
  (externalData.length && internalData.length === 0
98
98
  ? (
99
99
  <div>
100
- All mapped identifiers in the CCDI Participant Index (CPI) are available
100
+ Public mapped identifiers in the CCDI Participant Index (CPI) are available
101
101
  <span role="button" onClick={handleModalOpen} tabIndex={0} style={button}>here.</span>
102
102
  </div>
103
103
  )
@@ -108,7 +108,7 @@ const CPIView = ({
108
108
  <div>{`${e.associated_id}, ${e.repository_of_synonym_id}`}</div>
109
109
  ))}
110
110
  <p>
111
- All mapped identifiers in the CCDI Participant Index (CPI) are available
111
+ Public mapped identifiers in the CCDI Participant Index (CPI) are available
112
112
  <span role="button" onClick={handleModalOpen} tabIndex={0} style={button}>here.</span>
113
113
  </p>
114
114
  </div>