synapse-react-client 2.0.59 → 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/ExperimentalMode.js.map +1 -1
- package/dist/containers/IconSvg.js +4 -0
- package/dist/containers/IconSvg.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 +47 -8
- 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/DownloadListTable.js +39 -20
- package/dist/containers/download_list_v2/DownloadListTable.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 -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/_popover.scss +1 -0
- package/dist/style/main.css +233 -29
- package/dist/umd/synapse-react-client.production.min.js +13 -13
- package/dist/umd/synapse-react-client.production.styles.css +233 -29
- package/package.json +1 -1
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
thead:first-child > tr:first-child > th {
|
|
54
54
|
padding: 10px 6px 5px 7px;
|
|
55
55
|
border: 1px solid #dddddf;
|
|
56
|
-
color:
|
|
56
|
+
background-color: map.get(SRC.$colors, 'gray-200');
|
|
57
|
+
color: map.get(SRC.$colors, 'gray-800');
|
|
57
58
|
span {
|
|
58
59
|
display: inline-block;
|
|
59
60
|
float: right;
|
|
@@ -64,6 +65,28 @@
|
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
68
|
+
@mixin sticky-column() {
|
|
69
|
+
border-collapse: separate;
|
|
70
|
+
.stickyColumn {
|
|
71
|
+
right: 0;
|
|
72
|
+
position: sticky;
|
|
73
|
+
z-index: 800;
|
|
74
|
+
}
|
|
75
|
+
// fix colors (icons, and set the cell background color to be opaque).
|
|
76
|
+
thead .stickyColumn {
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
tbody tr > td.stickyColumn {
|
|
80
|
+
border-left: 1px solid map.get(SRC.$colors, 'gray-400');
|
|
81
|
+
}
|
|
82
|
+
tbody tr:nth-of-type(even) > .stickyColumn {
|
|
83
|
+
background-color: white;
|
|
84
|
+
}
|
|
85
|
+
tbody tr:nth-of-type(odd) > .stickyColumn {
|
|
86
|
+
background-color: #FBFBFC;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
67
90
|
@mixin underline-tabs(
|
|
68
91
|
$active-color: SRC.$secondary-action-color,
|
|
69
92
|
$inactive-color: lightgray
|
|
@@ -108,6 +131,14 @@ $link-underline-color-default: adjust-color(
|
|
|
108
131
|
$lightness: 40%
|
|
109
132
|
) !default;
|
|
110
133
|
|
|
134
|
+
@mixin disabled() {
|
|
135
|
+
color: map.get(SRC.$colors, 'gray-600');
|
|
136
|
+
&:hover {
|
|
137
|
+
border-bottom: 1px solid $link-underline-color-default;
|
|
138
|
+
cursor: default;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
111
142
|
// Core link styles across the portal main area.
|
|
112
143
|
@mixin highlightLink() {
|
|
113
144
|
color: SRC.$primary-action-color;
|
|
@@ -119,6 +150,9 @@ $link-underline-color-default: adjust-color(
|
|
|
119
150
|
border-bottom: 2px solid map.get(SRC.$primary-color-palette, 700);
|
|
120
151
|
margin-bottom: -1px;
|
|
121
152
|
}
|
|
153
|
+
&.disabled {
|
|
154
|
+
@include disabled;
|
|
155
|
+
}
|
|
122
156
|
}
|
|
123
157
|
|
|
124
158
|
@mixin normalLink() {
|
|
@@ -131,6 +165,9 @@ $link-underline-color-default: adjust-color(
|
|
|
131
165
|
border-bottom: 2px solid map.get(SRC.$primary-color-palette, 700);
|
|
132
166
|
margin-bottom: 0px;
|
|
133
167
|
}
|
|
168
|
+
&.disabled {
|
|
169
|
+
@include disabled;
|
|
170
|
+
}
|
|
134
171
|
}
|
|
135
172
|
|
|
136
173
|
@mixin ignoreLink() {
|
|
@@ -143,4 +180,7 @@ $link-underline-color-default: adjust-color(
|
|
|
143
180
|
border-bottom: unset;
|
|
144
181
|
margin-bottom: unset;
|
|
145
182
|
}
|
|
183
|
+
&.disabled {
|
|
184
|
+
@include disabled;
|
|
185
|
+
}
|
|
146
186
|
}
|
|
@@ -47,10 +47,10 @@ $bootstrap-4-danger-bg: #f2dede !default;
|
|
|
47
47
|
$bootstrap-4-danger-text-color: rgb(102, 102, 102) !default;
|
|
48
48
|
$space-unit: 2.1rem;
|
|
49
49
|
|
|
50
|
-
$green-affirmative:
|
|
51
|
-
$yellow-warning:
|
|
50
|
+
$green-affirmative: map.get($colors, 'success') !default;
|
|
51
|
+
$yellow-warning: map.get($colors, 'warning') !default;
|
|
52
52
|
$red-delete: $red-error2 !default;
|
|
53
|
-
$red-required:
|
|
53
|
+
$red-required: map.get($colors, 'error') !default;
|
|
54
54
|
|
|
55
55
|
$box-shadow-med: 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
56
56
|
$box-shadow-soft: 0 3px 10px rgba(93, 105, 171, 0.1);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// from // from SWC.scss and core.scss
|
|
5
5
|
@use '../abstracts/variables' as SRC;
|
|
6
6
|
@use '../abstracts/mixins' as SRC_Mixins;
|
|
7
|
+
@use 'sass:map';
|
|
7
8
|
|
|
8
9
|
// Fix scrollbar not showing for some people when css set to scroll: auto
|
|
9
10
|
// Ref: https://stackoverflow.com/questions/7492062/css-overflow-scroll-always-show-vertical-scroll-bar
|
|
@@ -1057,22 +1058,22 @@ a.dropdown-item {
|
|
|
1057
1058
|
}
|
|
1058
1059
|
}
|
|
1059
1060
|
.SRC-success-color {
|
|
1060
|
-
color:
|
|
1061
|
+
color: map.get(SRC.$colors, 'success');
|
|
1061
1062
|
}
|
|
1062
1063
|
.SRC-success-color-bg {
|
|
1063
|
-
background-color:
|
|
1064
|
+
background-color: map.get(SRC.$colors, 'success');
|
|
1064
1065
|
}
|
|
1065
1066
|
.SRC-warning-color {
|
|
1066
|
-
color:
|
|
1067
|
+
color: map.get(SRC.$colors, 'warning');
|
|
1067
1068
|
}
|
|
1068
1069
|
.SRC-warning-color-bg {
|
|
1069
|
-
background-color:
|
|
1070
|
+
background-color: map.get(SRC.$colors, 'warning');
|
|
1070
1071
|
}
|
|
1071
1072
|
.SRC-danger-color {
|
|
1072
|
-
color:
|
|
1073
|
+
color: map.get(SRC.$colors, 'error');
|
|
1073
1074
|
}
|
|
1074
1075
|
.SRC-danger-color-bg {
|
|
1075
|
-
background-color:
|
|
1076
|
+
background-color: map.get(SRC.$colors, 'error');
|
|
1076
1077
|
}
|
|
1077
1078
|
|
|
1078
1079
|
// PORTALS-965: add a max-width to the bootstrap container-fluid class
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../abstracts/variables' as SRC;
|
|
2
|
+
@use 'sass:map';
|
|
2
3
|
|
|
3
4
|
//overrides to bootstrap 4 that are directly applied to Bootstrap 4 class names
|
|
4
5
|
.bootstrap-4-backport {
|
|
@@ -61,6 +62,11 @@
|
|
|
61
62
|
padding-bottom: 0.75rem;
|
|
62
63
|
}
|
|
63
64
|
}
|
|
65
|
+
|
|
66
|
+
//Tables
|
|
67
|
+
.table-striped tbody tr:nth-of-type(odd) {
|
|
68
|
+
background-color: map.get(SRC.$colors, 'gray-100');
|
|
69
|
+
}
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
// Popovers
|
|
@@ -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
|
}
|