synapse-react-client 2.0.56 → 2.0.60
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/containers/DirectDownload.d.ts +1 -0
- package/dist/containers/DirectDownload.js +11 -4
- package/dist/containers/DirectDownload.js.map +1 -1
- package/dist/containers/EntityBadgeIcons.d.ts +3 -2
- package/dist/containers/EntityBadgeIcons.js +12 -12
- package/dist/containers/EntityBadgeIcons.js.map +1 -1
- package/dist/containers/ExperimentalMode.js.map +1 -1
- package/dist/containers/FluidModal.d.ts +23 -0
- package/dist/containers/FluidModal.js +36 -0
- package/dist/containers/FluidModal.js.map +1 -0
- package/dist/containers/IconSvg.js +6 -0
- package/dist/containers/IconSvg.js.map +1 -1
- package/dist/containers/PlotlyWrapper.d.ts +2 -0
- package/dist/containers/PlotlyWrapper.js +5 -7
- package/dist/containers/PlotlyWrapper.js.map +1 -1
- package/dist/containers/QueryCount.d.ts +0 -1
- package/dist/containers/QueryCount.js +2 -5
- package/dist/containers/QueryCount.js.map +1 -1
- package/dist/containers/download_list_v2/AvailableForDownloadTable.d.ts +5 -1
- package/dist/containers/download_list_v2/AvailableForDownloadTable.js +4 -3
- package/dist/containers/download_list_v2/AvailableForDownloadTable.js.map +1 -1
- package/dist/containers/download_list_v2/CreatePackageV2.js +4 -17
- package/dist/containers/download_list_v2/CreatePackageV2.js.map +1 -1
- package/dist/containers/download_list_v2/DownloadCartPage.js +49 -9
- package/dist/containers/download_list_v2/DownloadCartPage.js.map +1 -1
- package/dist/containers/download_list_v2/DownloadDetails.js +15 -12
- package/dist/containers/download_list_v2/DownloadDetails.js.map +1 -1
- package/dist/containers/download_list_v2/DownloadListActionsRequired.js +1 -1
- package/dist/containers/download_list_v2/DownloadListActionsRequired.js.map +1 -1
- package/dist/containers/download_list_v2/DownloadListTable.js +44 -26
- package/dist/containers/download_list_v2/DownloadListTable.js.map +1 -1
- package/dist/containers/download_list_v2/MeetAccessRequirementCard.d.ts +1 -1
- package/dist/containers/download_list_v2/MeetAccessRequirementCard.js +4 -4
- package/dist/containers/download_list_v2/MeetAccessRequirementCard.js.map +1 -1
- package/dist/containers/download_list_v2/RequestDownloadCard.js +4 -5
- package/dist/containers/download_list_v2/RequestDownloadCard.js.map +1 -1
- package/dist/containers/entity_finder/EntityFinderModal.d.ts +14 -0
- package/dist/containers/entity_finder/EntityFinderModal.js +24 -0
- package/dist/containers/entity_finder/EntityFinderModal.js.map +1 -0
- package/dist/containers/entity_finder/details/view/DetailsView.d.ts +2 -0
- package/dist/containers/entity_finder/details/view/DetailsView.js +14 -12
- package/dist/containers/entity_finder/details/view/DetailsView.js.map +1 -1
- package/dist/containers/entity_finder/details/view/DetailsViewTableRenderers.d.ts +60 -13
- package/dist/containers/entity_finder/details/view/DetailsViewTableRenderers.js +137 -13
- package/dist/containers/entity_finder/details/view/DetailsViewTableRenderers.js.map +1 -1
- package/dist/containers/home_page/goals/Goals.Desktop.js +1 -1
- package/dist/containers/home_page/goals/Goals.Desktop.js.map +1 -1
- package/dist/containers/home_page/goals/Goals.Mobile.js +1 -1
- package/dist/containers/home_page/goals/Goals.Mobile.js.map +1 -1
- package/dist/containers/query_wrapper_plot_nav/QueryWrapperPlotNav.d.ts +1 -0
- package/dist/containers/query_wrapper_plot_nav/QueryWrapperPlotNav.js +2 -2
- package/dist/containers/query_wrapper_plot_nav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/containers/table/StandaloneQueryWrapper.js +2 -2
- package/dist/containers/table/StandaloneQueryWrapper.js.map +1 -1
- package/dist/containers/table/TopLevelControls.d.ts +1 -0
- package/dist/containers/table/TopLevelControls.js +6 -4
- package/dist/containers/table/TopLevelControls.js.map +1 -1
- package/dist/containers/table/datasets/DatasetItemsEditor.d.ts +13 -0
- package/dist/containers/table/datasets/DatasetItemsEditor.js +264 -0
- package/dist/containers/table/datasets/DatasetItemsEditor.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/rollup.index.d.ts +3 -1
- package/dist/rollup.index.js +3 -1
- package/dist/rollup.index.js.map +1 -1
- package/dist/style/abstracts/_mixins.scss +41 -1
- package/dist/style/abstracts/_variables.scss +3 -3
- package/dist/style/base/_core.scss +7 -6
- package/dist/style/bootstrap4_backports/_overrides.scss +6 -1
- package/dist/style/components/_all.scss +3 -2
- package/dist/style/components/_dataset-editor.scss +75 -0
- package/dist/style/components/_download-cart-page.scss +17 -0
- package/dist/style/components/_download-list-v2.scss +52 -10
- package/dist/style/components/_fluid-modal.scss +42 -0
- package/dist/style/components/_popover.scss +1 -0
- package/dist/style/main.css +565 -30
- package/dist/umd/synapse-react-client.production.min.js +15 -15
- package/dist/umd/synapse-react-client.production.styles.css +565 -30
- package/dist/utils/functions/TooltipUtils.d.ts +7 -0
- package/dist/utils/functions/TooltipUtils.js +16 -0
- package/dist/utils/functions/TooltipUtils.js.map +1 -0
- package/dist/utils/hooks/SynapseAPI/useEntity.d.ts +1 -0
- package/dist/utils/hooks/SynapseAPI/useEntity.js +25 -1
- package/dist/utils/hooks/SynapseAPI/useEntity.js.map +1 -1
- package/dist/utils/hooks/useSet.d.ts +14 -0
- package/dist/utils/hooks/useSet.js +42 -0
- package/dist/utils/hooks/useSet.js.map +1 -0
- package/dist/utils/hooks/useTraceUpdate.d.ts +1 -0
- package/dist/utils/hooks/useTraceUpdate.js +22 -0
- package/dist/utils/hooks/useTraceUpdate.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use '../abstracts/variables' as SRC;
|
|
2
|
+
@use '../abstracts/mixins' as SrcMixins;
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
|
|
5
|
+
.DatasetEditor {
|
|
6
|
+
border: 1px solid map.get(SRC.$colors, 'gray-300');
|
|
7
|
+
.DatasetEditorTopBottomPanel {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: flex-end;
|
|
10
|
+
gap: 7px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 70px;
|
|
13
|
+
background: #f9f9f9;
|
|
14
|
+
align-items: center;
|
|
15
|
+
padding: 15px 20px;
|
|
16
|
+
|
|
17
|
+
.ItemCount {
|
|
18
|
+
p {
|
|
19
|
+
margin-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
margin-right: auto;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.DatasetEditorTableContainer {
|
|
25
|
+
width: 100%;
|
|
26
|
+
overflow-x: auto;
|
|
27
|
+
.DatasetEditorTable {
|
|
28
|
+
p {
|
|
29
|
+
margin-bottom: unset;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.DatasetItemsEditorSkeleton {
|
|
34
|
+
margin: 15px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.NoItemsPlaceholder {
|
|
38
|
+
height: 350px;
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
|
|
44
|
+
.AddItemsButton {
|
|
45
|
+
width: 150px;
|
|
46
|
+
span {
|
|
47
|
+
margin: 5px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
select.form-control {
|
|
53
|
+
margin-bottom: 0px;
|
|
54
|
+
width: 130px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.EntityNameWithIconRenderer {
|
|
59
|
+
text-overflow: ellipsis;
|
|
60
|
+
white-space: nowrap;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.EntityErrorRenderer {
|
|
64
|
+
color: map.get(SRC.$colors, 'warning');
|
|
65
|
+
svg {
|
|
66
|
+
font-size: large;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
$table-prefix: DatasetEditorTable;
|
|
71
|
+
$table-font-size: 14px;
|
|
72
|
+
$header-background-color: map.get(SRC.$colors, 'gray-200');
|
|
73
|
+
$row-hovered-background-color: unset;
|
|
74
|
+
$table-padding-left: 5px;
|
|
75
|
+
@import 'node_modules/@sage-bionetworks/react-base-table/es/BaseTable';
|
|
@@ -86,6 +86,23 @@
|
|
|
86
86
|
padding: 30px 0px;
|
|
87
87
|
background-color: SRC.$background-color-gray;
|
|
88
88
|
}
|
|
89
|
+
|
|
90
|
+
.DownloadListTabContent {
|
|
91
|
+
.subSectionOverview {
|
|
92
|
+
display: flex;
|
|
93
|
+
column-gap: 10px;
|
|
94
|
+
>* {
|
|
95
|
+
padding: 0px 50px;
|
|
96
|
+
}
|
|
97
|
+
>*:first-child {
|
|
98
|
+
border-right: 1px solid #D0D4D9;
|
|
99
|
+
}
|
|
100
|
+
.headlineWithHelp {
|
|
101
|
+
display: flex;
|
|
102
|
+
column-gap: 10px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
89
106
|
&__explore-all {
|
|
90
107
|
text-align: center;
|
|
91
108
|
padding-top: 20px;
|
|
@@ -1,24 +1,65 @@
|
|
|
1
1
|
@use '../abstracts/variables' as SRC;
|
|
2
2
|
@use '../abstracts/mixins' as SRCMixins;
|
|
3
|
+
@use 'sass:map';
|
|
3
4
|
|
|
4
|
-
.DownloadListTableV2 {
|
|
5
|
+
table.DownloadListTableV2 {
|
|
5
6
|
white-space: pre;
|
|
6
|
-
.ineligibileIcon {
|
|
7
|
-
padding-left: 15px;
|
|
8
|
-
padding-right: 5px;
|
|
9
|
-
}
|
|
10
7
|
.eligibileIcon {
|
|
11
|
-
|
|
8
|
+
color: map.get(SRC.$colors, 'gray-800');
|
|
12
9
|
svg {
|
|
13
10
|
width: 15px;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
|
|
13
|
+
.ineligibileIcon {
|
|
14
|
+
color: map.get(SRC.$colors, 'warning');
|
|
15
|
+
svg {
|
|
16
|
+
width: 18px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.ineligibleForPackagingTd {
|
|
20
|
+
background-color: #F9F5E7;
|
|
21
|
+
}
|
|
22
|
+
thead:first-child > tr:first-child {
|
|
23
|
+
> th {
|
|
24
|
+
min-width: 120px;
|
|
25
|
+
&:first-child {
|
|
26
|
+
border-right: none;
|
|
27
|
+
min-width: unset;
|
|
28
|
+
}
|
|
29
|
+
&:nth-child(2) {
|
|
30
|
+
border-left: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
tbody tr > td:first-child { // file name column
|
|
17
35
|
overflow-x: hidden;
|
|
18
36
|
max-width: 310px;
|
|
19
37
|
text-overflow: ellipsis;
|
|
20
38
|
}
|
|
21
|
-
|
|
39
|
+
|
|
40
|
+
// Floating (sticky) Action column
|
|
41
|
+
@include SRCMixins.sticky-column();
|
|
42
|
+
|
|
43
|
+
// Download List Table specific styles to the sticky column:
|
|
44
|
+
tbody .stickyColumn .actionsContainer {
|
|
45
|
+
color: map.get(SRC.$colors, 'gray-700'); // make all icons gray-700
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-columns: repeat(2, 45px); // TODO: change to 3 once we have the programmatic access item
|
|
48
|
+
* {
|
|
49
|
+
justify-self: center;
|
|
50
|
+
}
|
|
51
|
+
.downloadItem {
|
|
52
|
+
grid-column: 1 / span 1;
|
|
53
|
+
}
|
|
54
|
+
.removeItem {
|
|
55
|
+
grid-column: 2 / span 1;
|
|
56
|
+
}
|
|
57
|
+
// .programmaticAccessItem {
|
|
58
|
+
// grid-column: 3 / span 1;
|
|
59
|
+
// }
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include SRCMixins.sortable-table();
|
|
22
63
|
}
|
|
23
64
|
.sort {
|
|
24
65
|
padding-left: 5px;
|
|
@@ -26,12 +67,13 @@
|
|
|
26
67
|
.DownloadDetailsV2 {
|
|
27
68
|
font-weight: bold;
|
|
28
69
|
.item {
|
|
29
|
-
margin-right:
|
|
70
|
+
margin-right: 35px;
|
|
30
71
|
svg {
|
|
31
72
|
margin-right: 5px;
|
|
73
|
+
margin-top: -4px;
|
|
32
74
|
}
|
|
33
75
|
#icon-packagableFile svg {
|
|
34
|
-
margin-
|
|
76
|
+
margin-top: 0px;
|
|
35
77
|
}
|
|
36
78
|
}
|
|
37
79
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// See SWC-5801
|
|
2
|
+
|
|
3
|
+
.FluidModal {
|
|
4
|
+
.modal-dialog {
|
|
5
|
+
width: auto;
|
|
6
|
+
max-width: 90vw;
|
|
7
|
+
@media (max-height: 500px) {
|
|
8
|
+
margin: 3vh auto;
|
|
9
|
+
margin-bottom: 0px;
|
|
10
|
+
}
|
|
11
|
+
.modal-content {
|
|
12
|
+
border-radius: 0px;
|
|
13
|
+
min-height: 300px;
|
|
14
|
+
.modal-header {
|
|
15
|
+
min-height: 50px;
|
|
16
|
+
max-height: 65px;
|
|
17
|
+
height: 8vh;
|
|
18
|
+
margin: 15px 0px 5px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.modal-body {
|
|
22
|
+
max-height: 70vh;
|
|
23
|
+
|
|
24
|
+
@media (max-height: 600px) {
|
|
25
|
+
max-height: 65vh;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
overflow-y: auto;
|
|
29
|
+
}
|
|
30
|
+
.modal-footer {
|
|
31
|
+
min-height: 45px;
|
|
32
|
+
max-height: 60px;
|
|
33
|
+
height: 6vh;
|
|
34
|
+
margin-bottom: 15px;
|
|
35
|
+
|
|
36
|
+
.btn {
|
|
37
|
+
margin-bottom: 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|