@transferwise/neptune-css 0.0.0-experimental-0348e0b → 0.0.0-experimental-be73f56

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.
@@ -124,67 +124,52 @@
124
124
  background-color: #455C35;
125
125
  }.droppable-dropping .droppable-dropping-card {
126
126
  display: flex;
127
- }.droppable-processing-card {
128
- align-items: baseline;
129
- display: none;
130
- }.droppable-processing-card .droppable-card-content {
131
- opacity: 1;
132
127
  }.droppable-processing .droppable-processing-card {
133
128
  display: flex;
134
129
  align-items: baseline;
135
- }.droppable-processing .droppable-processing-card .droppable-card-content {
136
- opacity: 1;
137
130
  }.droppable-complete .droppable-processing-card {
138
131
  display: flex;
139
132
  }.droppable-complete-card {
140
133
  display: flex;
141
- }.droppable-complete {
142
- /***** End card variants *****/
143
- }.droppable-complete .droppable-mobile {
144
- display: block;
145
- }.droppable-complete .droppable-desktop {
146
- display: none;
147
- }@media (min-width: 768px) {
148
- .droppable-complete .droppable-mobile {
149
- display: none;
150
- }
151
- .droppable-complete .droppable-desktop {
152
- display: flex;
153
- flex-direction: column;
154
- align-items: stretch;
155
- }
156
- }.droppable-complete .droppable-active {
134
+ }/***** End card variants *****/.droppable-active {
157
135
  border-style: solid;
158
- }.droppable-complete .droppable-active.droppable-dropping {
136
+ }.droppable-active.droppable-dropping {
159
137
  border-style: dashed;
160
- }.droppable-complete .droppable-sm {
138
+ }.droppable-sm {
161
139
  padding: 16px 16px;
162
140
  }@media (min-width: 576px) {
163
- .droppable-complete .droppable-sm {
141
+ .droppable-sm {
164
142
  padding: 24px 16px;
165
143
  }
166
144
  }@media (min-width: 992px) {
167
- .droppable-complete .droppable-sm {
145
+ .droppable-sm {
168
146
  padding: 32px 24px;
169
147
  }
170
- }.droppable-complete .droppable-md {
148
+ }.droppable-md {
171
149
  padding: 32px 32px;
172
150
  }@media (min-width: 576px) {
173
- .droppable-complete .droppable-md {
151
+ .droppable-md {
174
152
  padding: 48px 32px;
175
153
  }
176
154
  }@media (min-width: 992px) {
177
- .droppable-complete .droppable-md {
155
+ .droppable-md {
178
156
  padding: 64px 48px;
179
157
  }
180
- }.droppable-complete .droppable-lg {
158
+ }.droppable-lg {
181
159
  padding: 48px 48px;
182
160
  }@media (min-width: 576px) {
183
- .droppable-complete .droppable-lg {
161
+ .droppable-lg {
184
162
  padding: 72px 48px;
185
163
  }
186
164
  }@media (min-width: 992px) {
187
- .droppable-complete .droppable-lg {
165
+ .droppable-lg {
188
166
  padding: 96px 72px;
189
167
  }
168
+ }@keyframes droppable-fade-in {
169
+ from {
170
+ opacity: 0;
171
+ }
172
+ to {
173
+ opacity: 1;
174
+ }
190
175
  }
@@ -13745,24 +13745,11 @@ li > a > .currency-flag:first-child {
13745
13745
  display: flex;
13746
13746
  }
13747
13747
 
13748
- .droppable-processing-card {
13749
- align-items: baseline;
13750
- display: none;
13751
- }
13752
-
13753
- .droppable-processing-card .droppable-card-content {
13754
- opacity: 1;
13755
- }
13756
-
13757
13748
  .droppable-processing .droppable-processing-card {
13758
13749
  display: flex;
13759
13750
  align-items: baseline;
13760
13751
  }
13761
13752
 
13762
- .droppable-processing .droppable-processing-card .droppable-card-content {
13763
- opacity: 1;
13764
- }
13765
-
13766
13753
  .droppable-complete .droppable-processing-card {
13767
13754
  display: flex;
13768
13755
  }
@@ -13771,85 +13758,73 @@ li > a > .currency-flag:first-child {
13771
13758
  display: flex;
13772
13759
  }
13773
13760
 
13774
- .droppable-complete {
13775
- /***** End card variants *****/
13776
- }
13777
-
13778
- .droppable-complete .droppable-mobile {
13779
- display: block;
13780
- }
13781
-
13782
- .droppable-complete .droppable-desktop {
13783
- display: none;
13784
- }
13761
+ /***** End card variants *****/
13785
13762
 
13786
- @media (min-width: 768px) {
13787
- .droppable-complete .droppable-mobile {
13788
- display: none;
13789
- }
13790
- .droppable-complete .droppable-desktop {
13791
- display: flex;
13792
- flex-direction: column;
13793
- align-items: stretch;
13794
- }
13795
- }
13796
-
13797
- .droppable-complete .droppable-active {
13763
+ .droppable-active {
13798
13764
  border-style: solid;
13799
13765
  }
13800
13766
 
13801
- .droppable-complete .droppable-active.droppable-dropping {
13767
+ .droppable-active.droppable-dropping {
13802
13768
  border-style: dashed;
13803
13769
  }
13804
13770
 
13805
- .droppable-complete .droppable-sm {
13771
+ .droppable-sm {
13806
13772
  padding: 16px 16px;
13807
13773
  }
13808
13774
 
13809
13775
  @media (min-width: 576px) {
13810
- .droppable-complete .droppable-sm {
13776
+ .droppable-sm {
13811
13777
  padding: 24px 16px;
13812
13778
  }
13813
13779
  }
13814
13780
 
13815
13781
  @media (min-width: 992px) {
13816
- .droppable-complete .droppable-sm {
13782
+ .droppable-sm {
13817
13783
  padding: 32px 24px;
13818
13784
  }
13819
13785
  }
13820
13786
 
13821
- .droppable-complete .droppable-md {
13787
+ .droppable-md {
13822
13788
  padding: 32px 32px;
13823
13789
  }
13824
13790
 
13825
13791
  @media (min-width: 576px) {
13826
- .droppable-complete .droppable-md {
13792
+ .droppable-md {
13827
13793
  padding: 48px 32px;
13828
13794
  }
13829
13795
  }
13830
13796
 
13831
13797
  @media (min-width: 992px) {
13832
- .droppable-complete .droppable-md {
13798
+ .droppable-md {
13833
13799
  padding: 64px 48px;
13834
13800
  }
13835
13801
  }
13836
13802
 
13837
- .droppable-complete .droppable-lg {
13803
+ .droppable-lg {
13838
13804
  padding: 48px 48px;
13839
13805
  }
13840
13806
 
13841
13807
  @media (min-width: 576px) {
13842
- .droppable-complete .droppable-lg {
13808
+ .droppable-lg {
13843
13809
  padding: 72px 48px;
13844
13810
  }
13845
13811
  }
13846
13812
 
13847
13813
  @media (min-width: 992px) {
13848
- .droppable-complete .droppable-lg {
13814
+ .droppable-lg {
13849
13815
  padding: 96px 72px;
13850
13816
  }
13851
13817
  }
13852
13818
 
13819
+ @keyframes droppable-fade-in {
13820
+ from {
13821
+ opacity: 0;
13822
+ }
13823
+ to {
13824
+ opacity: 1;
13825
+ }
13826
+ }
13827
+
13853
13828
  .d-flex {
13854
13829
  display: flex;
13855
13830
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-0348e0b",
4
+ "version": "0.0.0-experimental-be73f56",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -81,7 +81,6 @@
81
81
  position: absolute;
82
82
  top: 0;
83
83
  .left(0);
84
-
85
84
  display: none;
86
85
  width: 100%;
87
86
  height: 100%;
@@ -153,77 +152,23 @@
153
152
  display: flex;
154
153
  }
155
154
 
156
- // Processing hidden by default
157
- .droppable-processing-card {
158
- align-items: baseline;
159
- display: none;
160
-
161
- .droppable-card-content {
162
- opacity: 1;
163
- }
164
- }
165
-
166
- // Processing shown when correct state, any transform cancelled
167
-
168
155
  .droppable-processing .droppable-processing-card {
169
156
  display: flex;
170
157
  align-items: baseline;
171
-
172
- .droppable-card-content {
173
- opacity: 1;
174
- }
175
158
  }
176
- // As we go from processing to complete, animate out processing card
159
+
177
160
  .droppable-complete {
178
161
  .droppable-processing-card {
179
162
  display: flex;
180
-
181
- .droppable-card-content {
182
- // opacity: 0;
183
- }
184
163
  }
185
164
  }
186
165
 
187
- // Completed card translated out and hidden by default
188
166
  .droppable-complete-card {
189
167
  display: flex;
190
168
  }
191
- // Completed card brought back in and shown in correct state
192
- // stylelint-disable-next-line no-duplicate-selectors
193
- .droppable-complete {
194
- .droppable-complete-card {
195
- }
196
-
197
- // Hide default content in other states, so it fades back in
198
- // stylelint-disable-next-line no-duplicate-selectors
199
- .droppable-processing,
200
- .droppable-complete {
201
- .droppable-default-card .droppable-card-content {
202
- }
203
- }
204
169
 
205
170
  /***** End card variants *****/
206
171
 
207
- .droppable-mobile {
208
- display: block;
209
- }
210
-
211
- .droppable-desktop {
212
- display: none;
213
- }
214
-
215
- @media (--screen-md) {
216
- .droppable-mobile {
217
- display: none;
218
- }
219
-
220
- .droppable-desktop {
221
- display: flex;
222
- flex-direction: column;
223
- align-items: stretch;
224
- }
225
- }
226
-
227
172
  .droppable-active {
228
173
  border-style: solid;
229
174
 
@@ -256,11 +201,10 @@
256
201
 
257
202
  @keyframes droppable-fade-in {
258
203
  from {
259
- // opacity: 0;
204
+ opacity: 0;
260
205
  }
261
206
 
262
207
  to {
263
- // opacity: 1;
208
+ opacity: 1;
264
209
  }
265
210
  }
266
- }