@transferwise/neptune-css 0.0.0-experimental-00df4a6 → 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.
@@ -39,8 +39,6 @@
39
39
  border-color: transparent !important;
40
40
  }.np-theme-personal .droppable-area.tw-droppable-md {
41
41
  min-height: 242px;
42
- }.np-theme-personal .droppable-area.droppable-dropping .droppable-default-card {
43
- opacity: 0;
44
42
  }.np-theme-personal .droppable-area.droppable-dropping .tw-icon-plus svg {
45
43
  width: 24px;
46
44
  width: var(--size-24);
@@ -54,8 +52,6 @@
54
52
  background-color: #ffffff;
55
53
  background-color: var(--color-background-screen);
56
54
  min-height: 315px;
57
- }.np-theme-personal .droppable-area.droppable-complete.droppable-dropping .droppable-card:first-child {
58
- opacity: 0;
59
55
  }.np-theme-personal .droppable-area.droppable-complete .thumbnail {
60
56
  margin-bottom: 8px !important;
61
57
  margin-bottom: var(--padding-x-small) !important;
@@ -90,7 +86,6 @@
90
86
  }.droppable-card-content {
91
87
  max-width: 100%;
92
88
  opacity: 1;
93
- transition: opacity 0.5s linear;
94
89
  }.droppable-dropping {
95
90
  border-color: #a7a9ab !important;
96
91
  border-color: var(--color-interactive-secondary-active) !important;
@@ -129,29 +124,13 @@
129
124
  background-color: #455C35;
130
125
  }.droppable-dropping .droppable-dropping-card {
131
126
  display: flex;
132
- }.droppable-processing-card {
133
- align-items: baseline;
134
- display: none;
135
- }.droppable-processing-card .droppable-card-content {
136
- opacity: 1;
137
127
  }.droppable-processing .droppable-processing-card {
138
128
  display: flex;
139
129
  align-items: baseline;
140
- }.droppable-processing .droppable-processing-card .droppable-card-content {
141
- opacity: 1;
142
130
  }.droppable-complete .droppable-processing-card {
143
131
  display: flex;
144
- }.droppable-complete .droppable-processing-card .droppable-card-content {
145
- opacity: 0;
146
132
  }.droppable-complete-card {
147
133
  display: flex;
148
- }.droppable-complete-card .droppable-card-content {
149
- opacity: 0;
150
- }.droppable-complete .droppable-complete-card .droppable-card-content {
151
- opacity: 1;
152
- }.droppable-processing .droppable-default-card .droppable-card-content,
153
- .droppable-complete .droppable-default-card .droppable-card-content {
154
- opacity: 0;
155
134
  }/***** End card variants *****/.droppable-mobile {
156
135
  display: block;
157
136
  }.droppable-desktop {
@@ -13616,10 +13616,6 @@ li > a > .currency-flag:first-child {
13616
13616
  min-height: 242px;
13617
13617
  }
13618
13618
 
13619
- .np-theme-personal .droppable-area.droppable-dropping .droppable-default-card {
13620
- opacity: 0;
13621
- }
13622
-
13623
13619
  .np-theme-personal .droppable-area.droppable-dropping .tw-icon-plus svg {
13624
13620
  width: 24px;
13625
13621
  width: var(--size-24);
@@ -13639,10 +13635,6 @@ li > a > .currency-flag:first-child {
13639
13635
  min-height: 315px;
13640
13636
  }
13641
13637
 
13642
- .np-theme-personal .droppable-area.droppable-complete.droppable-dropping .droppable-card:first-child {
13643
- opacity: 0;
13644
- }
13645
-
13646
13638
  .np-theme-personal .droppable-area.droppable-complete .thumbnail {
13647
13639
  margin-bottom: 8px !important;
13648
13640
  margin-bottom: var(--padding-x-small) !important;
@@ -13691,7 +13683,6 @@ li > a > .currency-flag:first-child {
13691
13683
  .droppable-card-content {
13692
13684
  max-width: 100%;
13693
13685
  opacity: 1;
13694
- transition: opacity 0.5s linear;
13695
13686
  }
13696
13687
 
13697
13688
  .droppable-dropping {
@@ -13754,49 +13745,19 @@ li > a > .currency-flag:first-child {
13754
13745
  display: flex;
13755
13746
  }
13756
13747
 
13757
- .droppable-processing-card {
13758
- align-items: baseline;
13759
- display: none;
13760
- }
13761
-
13762
- .droppable-processing-card .droppable-card-content {
13763
- opacity: 1;
13764
- }
13765
-
13766
13748
  .droppable-processing .droppable-processing-card {
13767
13749
  display: flex;
13768
13750
  align-items: baseline;
13769
13751
  }
13770
13752
 
13771
- .droppable-processing .droppable-processing-card .droppable-card-content {
13772
- opacity: 1;
13773
- }
13774
-
13775
13753
  .droppable-complete .droppable-processing-card {
13776
13754
  display: flex;
13777
13755
  }
13778
13756
 
13779
- .droppable-complete .droppable-processing-card .droppable-card-content {
13780
- opacity: 0;
13781
- }
13782
-
13783
13757
  .droppable-complete-card {
13784
13758
  display: flex;
13785
13759
  }
13786
13760
 
13787
- .droppable-complete-card .droppable-card-content {
13788
- opacity: 0;
13789
- }
13790
-
13791
- .droppable-complete .droppable-complete-card .droppable-card-content {
13792
- opacity: 1;
13793
- }
13794
-
13795
- .droppable-processing .droppable-default-card .droppable-card-content,
13796
- .droppable-complete .droppable-default-card .droppable-card-content {
13797
- opacity: 0;
13798
- }
13799
-
13800
13761
  /***** End card variants *****/
13801
13762
 
13802
13763
  .droppable-mobile {
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-00df4a6",
4
+ "version": "0.0.0-experimental-b79309f",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -40,9 +40,6 @@
40
40
  min-height: 242px;
41
41
  }
42
42
  &.droppable-dropping {
43
- .droppable-default-card {
44
- opacity: 0;
45
- }
46
43
  .tw-icon-plus svg {
47
44
  width: var(--size-24);
48
45
  height: var(--size-24);
@@ -57,9 +54,6 @@
57
54
  min-height: 315px;
58
55
  }
59
56
  &.droppable-complete {
60
- &.droppable-dropping .droppable-card:first-child {
61
- opacity: 0;
62
- }
63
57
  .thumbnail {
64
58
  margin-bottom: var(--padding-x-small) !important;
65
59
  }
@@ -100,7 +94,6 @@
100
94
  .droppable-card-content {
101
95
  max-width: 100%;
102
96
  opacity: 1;
103
- transition: opacity 0.5s linear;
104
97
  }
105
98
 
106
99
  .droppable-dropping {
@@ -160,63 +153,19 @@
160
153
  display: flex;
161
154
  }
162
155
 
163
- // Processing hidden by default
164
- .droppable-processing-card {
165
- align-items: baseline;
166
- display: none;
167
-
168
- .droppable-card-content {
169
- opacity: 1;
170
- }
171
- }
172
-
173
- // Processing shown when correct state, any transform cancelled
174
-
175
156
  .droppable-processing .droppable-processing-card {
176
157
  display: flex;
177
158
  align-items: baseline;
178
-
179
- .droppable-card-content {
180
- opacity: 1;
181
- }
182
159
  }
183
- // As we go from processing to complete, animate out processing card
160
+
184
161
  .droppable-complete {
185
162
  .droppable-processing-card {
186
163
  display: flex;
187
-
188
- .droppable-card-content {
189
- opacity: 0;
190
- }
191
164
  }
192
165
  }
193
166
 
194
- // Completed card translated out and hidden by default
195
167
  .droppable-complete-card {
196
168
  display: flex;
197
-
198
- .droppable-card-content {
199
- opacity: 0;
200
- }
201
- }
202
- // Completed card brought back in and shown in correct state
203
- // stylelint-disable-next-line no-duplicate-selectors
204
- .droppable-complete {
205
- .droppable-complete-card {
206
-
207
- .droppable-card-content {
208
- opacity: 1;
209
- }
210
- }
211
- }
212
-
213
- // Hide default content in other states, so it fades back in
214
- // stylelint-disable-next-line no-duplicate-selectors
215
- .droppable-processing,
216
- .droppable-complete {
217
- .droppable-default-card .droppable-card-content {
218
- opacity: 0;
219
- }
220
169
  }
221
170
 
222
171
  /***** End card variants *****/