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

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,65 @@
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 {
134
+ }/***** End card variants *****/.droppable-mobile {
144
135
  display: block;
145
- }.droppable-complete .droppable-desktop {
136
+ }.droppable-desktop {
146
137
  display: none;
147
138
  }@media (min-width: 768px) {
148
- .droppable-complete .droppable-mobile {
139
+ .droppable-mobile {
149
140
  display: none;
150
141
  }
151
- .droppable-complete .droppable-desktop {
142
+ .droppable-desktop {
152
143
  display: flex;
153
144
  flex-direction: column;
154
145
  align-items: stretch;
155
146
  }
156
- }.droppable-complete .droppable-active {
147
+ }.droppable-active {
157
148
  border-style: solid;
158
- }.droppable-complete .droppable-active.droppable-dropping {
149
+ }.droppable-active.droppable-dropping {
159
150
  border-style: dashed;
160
- }.droppable-complete .droppable-sm {
151
+ }.droppable-sm {
161
152
  padding: 16px 16px;
162
153
  }@media (min-width: 576px) {
163
- .droppable-complete .droppable-sm {
154
+ .droppable-sm {
164
155
  padding: 24px 16px;
165
156
  }
166
157
  }@media (min-width: 992px) {
167
- .droppable-complete .droppable-sm {
158
+ .droppable-sm {
168
159
  padding: 32px 24px;
169
160
  }
170
- }.droppable-complete .droppable-md {
161
+ }.droppable-md {
171
162
  padding: 32px 32px;
172
163
  }@media (min-width: 576px) {
173
- .droppable-complete .droppable-md {
164
+ .droppable-md {
174
165
  padding: 48px 32px;
175
166
  }
176
167
  }@media (min-width: 992px) {
177
- .droppable-complete .droppable-md {
168
+ .droppable-md {
178
169
  padding: 64px 48px;
179
170
  }
180
- }.droppable-complete .droppable-lg {
171
+ }.droppable-lg {
181
172
  padding: 48px 48px;
182
173
  }@media (min-width: 576px) {
183
- .droppable-complete .droppable-lg {
174
+ .droppable-lg {
184
175
  padding: 72px 48px;
185
176
  }
186
177
  }@media (min-width: 992px) {
187
- .droppable-complete .droppable-lg {
178
+ .droppable-lg {
188
179
  padding: 96px 72px;
189
180
  }
181
+ }@keyframes droppable-fade-in {
182
+ from {
183
+ opacity: 0;
184
+ }
185
+ to {
186
+ opacity: 1;
187
+ }
190
188
  }
@@ -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,92 @@ li > a > .currency-flag:first-child {
13771
13758
  display: flex;
13772
13759
  }
13773
13760
 
13774
- .droppable-complete {
13775
- /***** End card variants *****/
13776
- }
13761
+ /***** End card variants *****/
13777
13762
 
13778
- .droppable-complete .droppable-mobile {
13763
+ .droppable-mobile {
13779
13764
  display: block;
13780
13765
  }
13781
13766
 
13782
- .droppable-complete .droppable-desktop {
13767
+ .droppable-desktop {
13783
13768
  display: none;
13784
13769
  }
13785
13770
 
13786
13771
  @media (min-width: 768px) {
13787
- .droppable-complete .droppable-mobile {
13772
+ .droppable-mobile {
13788
13773
  display: none;
13789
13774
  }
13790
- .droppable-complete .droppable-desktop {
13775
+ .droppable-desktop {
13791
13776
  display: flex;
13792
13777
  flex-direction: column;
13793
13778
  align-items: stretch;
13794
13779
  }
13795
13780
  }
13796
13781
 
13797
- .droppable-complete .droppable-active {
13782
+ .droppable-active {
13798
13783
  border-style: solid;
13799
13784
  }
13800
13785
 
13801
- .droppable-complete .droppable-active.droppable-dropping {
13786
+ .droppable-active.droppable-dropping {
13802
13787
  border-style: dashed;
13803
13788
  }
13804
13789
 
13805
- .droppable-complete .droppable-sm {
13790
+ .droppable-sm {
13806
13791
  padding: 16px 16px;
13807
13792
  }
13808
13793
 
13809
13794
  @media (min-width: 576px) {
13810
- .droppable-complete .droppable-sm {
13795
+ .droppable-sm {
13811
13796
  padding: 24px 16px;
13812
13797
  }
13813
13798
  }
13814
13799
 
13815
13800
  @media (min-width: 992px) {
13816
- .droppable-complete .droppable-sm {
13801
+ .droppable-sm {
13817
13802
  padding: 32px 24px;
13818
13803
  }
13819
13804
  }
13820
13805
 
13821
- .droppable-complete .droppable-md {
13806
+ .droppable-md {
13822
13807
  padding: 32px 32px;
13823
13808
  }
13824
13809
 
13825
13810
  @media (min-width: 576px) {
13826
- .droppable-complete .droppable-md {
13811
+ .droppable-md {
13827
13812
  padding: 48px 32px;
13828
13813
  }
13829
13814
  }
13830
13815
 
13831
13816
  @media (min-width: 992px) {
13832
- .droppable-complete .droppable-md {
13817
+ .droppable-md {
13833
13818
  padding: 64px 48px;
13834
13819
  }
13835
13820
  }
13836
13821
 
13837
- .droppable-complete .droppable-lg {
13822
+ .droppable-lg {
13838
13823
  padding: 48px 48px;
13839
13824
  }
13840
13825
 
13841
13826
  @media (min-width: 576px) {
13842
- .droppable-complete .droppable-lg {
13827
+ .droppable-lg {
13843
13828
  padding: 72px 48px;
13844
13829
  }
13845
13830
  }
13846
13831
 
13847
13832
  @media (min-width: 992px) {
13848
- .droppable-complete .droppable-lg {
13833
+ .droppable-lg {
13849
13834
  padding: 96px 72px;
13850
13835
  }
13851
13836
  }
13852
13837
 
13838
+ @keyframes droppable-fade-in {
13839
+ from {
13840
+ opacity: 0;
13841
+ }
13842
+ to {
13843
+ opacity: 1;
13844
+ }
13845
+ }
13846
+
13853
13847
  .d-flex {
13854
13848
  display: flex;
13855
13849
  }
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-b79309f",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -153,54 +153,20 @@
153
153
  display: flex;
154
154
  }
155
155
 
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
156
  .droppable-processing .droppable-processing-card {
169
157
  display: flex;
170
158
  align-items: baseline;
171
-
172
- .droppable-card-content {
173
- opacity: 1;
174
- }
175
159
  }
176
- // As we go from processing to complete, animate out processing card
160
+
177
161
  .droppable-complete {
178
162
  .droppable-processing-card {
179
163
  display: flex;
180
-
181
- .droppable-card-content {
182
- // opacity: 0;
183
- }
184
164
  }
185
165
  }
186
166
 
187
- // Completed card translated out and hidden by default
188
167
  .droppable-complete-card {
189
168
  display: flex;
190
169
  }
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
170
 
205
171
  /***** End card variants *****/
206
172
 
@@ -256,11 +222,10 @@
256
222
 
257
223
  @keyframes droppable-fade-in {
258
224
  from {
259
- // opacity: 0;
225
+ opacity: 0;
260
226
  }
261
227
 
262
228
  to {
263
- // opacity: 1;
229
+ opacity: 1;
264
230
  }
265
231
  }
266
- }