@transferwise/neptune-css 0.0.0-experimental-833aa39 → 0.0.0-experimental-0348e0b

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.
@@ -12,7 +12,7 @@
12
12
  border: 1px solid #c9cbce;
13
13
  border: 1px solid var(--color-interactive-secondary);
14
14
  border-radius: 3px;
15
- overflow: hidden;
15
+ overflow: auto;
16
16
  transition: border-color 0.15s linear;
17
17
  }.droppable:hover {
18
18
  border-color: #b5b7ba;
@@ -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);
@@ -53,8 +51,7 @@
53
51
  border: 2px solid var(--color-sentiment-negative) !important;
54
52
  background-color: #ffffff;
55
53
  background-color: var(--color-background-screen);
56
- }.np-theme-personal .droppable-area.droppable-complete.droppable-dropping .droppable-card:first-child {
57
- opacity: 0;
54
+ min-height: 315px;
58
55
  }.np-theme-personal .droppable-area.droppable-complete .thumbnail {
59
56
  margin-bottom: 8px !important;
60
57
  margin-bottom: var(--padding-x-small) !important;
@@ -89,7 +86,6 @@
89
86
  }.droppable-card-content {
90
87
  max-width: 100%;
91
88
  opacity: 1;
92
- transition: opacity 0.5s linear;
93
89
  }.droppable-dropping {
94
90
  border-color: #a7a9ab !important;
95
91
  border-color: var(--color-interactive-secondary-active) !important;
@@ -129,81 +125,66 @@
129
125
  }.droppable-dropping .droppable-dropping-card {
130
126
  display: flex;
131
127
  }.droppable-processing-card {
128
+ align-items: baseline;
132
129
  display: none;
133
130
  }.droppable-processing-card .droppable-card-content {
134
131
  opacity: 1;
135
132
  }.droppable-processing .droppable-processing-card {
136
133
  display: flex;
137
- transform: translateX(0);
134
+ align-items: baseline;
138
135
  }.droppable-processing .droppable-processing-card .droppable-card-content {
139
136
  opacity: 1;
140
137
  }.droppable-complete .droppable-processing-card {
141
138
  display: flex;
142
- transform: translateX(-100%);
143
- }.droppable-complete .droppable-processing-card .droppable-card-content {
144
- opacity: 0;
145
139
  }.droppable-complete-card {
146
140
  display: flex;
147
- transform: translateX(100%);
148
- }.droppable-complete-card .droppable-card-content {
149
- opacity: 0;
150
- }.droppable-complete .droppable-complete-card {
151
- transform: translateX(0);
152
- }.droppable-complete .droppable-complete-card .droppable-card-content {
153
- opacity: 1;
154
- }.droppable-processing .droppable-default-card .droppable-card-content,
155
- .droppable-complete .droppable-default-card .droppable-card-content {
156
- opacity: 0;
157
- }/***** End card variants *****/.droppable-mobile {
141
+ }.droppable-complete {
142
+ /***** End card variants *****/
143
+ }.droppable-complete .droppable-mobile {
158
144
  display: block;
159
- }.droppable-desktop {
145
+ }.droppable-complete .droppable-desktop {
160
146
  display: none;
161
147
  }@media (min-width: 768px) {
162
- .droppable-mobile {
148
+ .droppable-complete .droppable-mobile {
163
149
  display: none;
164
150
  }
165
- .droppable-desktop {
166
- display: block;
151
+ .droppable-complete .droppable-desktop {
152
+ display: flex;
153
+ flex-direction: column;
154
+ align-items: stretch;
167
155
  }
168
- }.droppable-active {
156
+ }.droppable-complete .droppable-active {
169
157
  border-style: solid;
170
- }.droppable-active.droppable-dropping {
158
+ }.droppable-complete .droppable-active.droppable-dropping {
171
159
  border-style: dashed;
172
- }.droppable-sm {
160
+ }.droppable-complete .droppable-sm {
173
161
  padding: 16px 16px;
174
162
  }@media (min-width: 576px) {
175
- .droppable-sm {
163
+ .droppable-complete .droppable-sm {
176
164
  padding: 24px 16px;
177
165
  }
178
166
  }@media (min-width: 992px) {
179
- .droppable-sm {
167
+ .droppable-complete .droppable-sm {
180
168
  padding: 32px 24px;
181
169
  }
182
- }.droppable-md {
170
+ }.droppable-complete .droppable-md {
183
171
  padding: 32px 32px;
184
172
  }@media (min-width: 576px) {
185
- .droppable-md {
173
+ .droppable-complete .droppable-md {
186
174
  padding: 48px 32px;
187
175
  }
188
176
  }@media (min-width: 992px) {
189
- .droppable-md {
177
+ .droppable-complete .droppable-md {
190
178
  padding: 64px 48px;
191
179
  }
192
- }.droppable-lg {
180
+ }.droppable-complete .droppable-lg {
193
181
  padding: 48px 48px;
194
182
  }@media (min-width: 576px) {
195
- .droppable-lg {
183
+ .droppable-complete .droppable-lg {
196
184
  padding: 72px 48px;
197
185
  }
198
186
  }@media (min-width: 992px) {
199
- .droppable-lg {
187
+ .droppable-complete .droppable-lg {
200
188
  padding: 96px 72px;
201
189
  }
202
- }@keyframes droppable-fade-in {
203
- from {
204
- opacity: 0;
205
- }
206
- to {
207
- opacity: 1;
208
- }
209
190
  }
@@ -13573,7 +13573,7 @@ li > a > .currency-flag:first-child {
13573
13573
  border: 1px solid #c9cbce;
13574
13574
  border: 1px solid var(--color-interactive-secondary);
13575
13575
  border-radius: 3px;
13576
- overflow: hidden;
13576
+ overflow: auto;
13577
13577
  transition: border-color 0.15s linear;
13578
13578
  }
13579
13579
 
@@ -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);
@@ -13636,10 +13632,7 @@ li > a > .currency-flag:first-child {
13636
13632
  border: 2px solid var(--color-sentiment-negative) !important;
13637
13633
  background-color: #ffffff;
13638
13634
  background-color: var(--color-background-screen);
13639
- }
13640
-
13641
- .np-theme-personal .droppable-area.droppable-complete.droppable-dropping .droppable-card:first-child {
13642
- opacity: 0;
13635
+ min-height: 315px;
13643
13636
  }
13644
13637
 
13645
13638
  .np-theme-personal .droppable-area.droppable-complete .thumbnail {
@@ -13690,7 +13683,6 @@ li > a > .currency-flag:first-child {
13690
13683
  .droppable-card-content {
13691
13684
  max-width: 100%;
13692
13685
  opacity: 1;
13693
- transition: opacity 0.5s linear;
13694
13686
  }
13695
13687
 
13696
13688
  .droppable-dropping {
@@ -13754,6 +13746,7 @@ li > a > .currency-flag:first-child {
13754
13746
  }
13755
13747
 
13756
13748
  .droppable-processing-card {
13749
+ align-items: baseline;
13757
13750
  display: none;
13758
13751
  }
13759
13752
 
@@ -13763,7 +13756,7 @@ li > a > .currency-flag:first-child {
13763
13756
 
13764
13757
  .droppable-processing .droppable-processing-card {
13765
13758
  display: flex;
13766
- transform: translateX(0);
13759
+ align-items: baseline;
13767
13760
  }
13768
13761
 
13769
13762
  .droppable-processing .droppable-processing-card .droppable-card-content {
@@ -13772,119 +13765,91 @@ li > a > .currency-flag:first-child {
13772
13765
 
13773
13766
  .droppable-complete .droppable-processing-card {
13774
13767
  display: flex;
13775
- transform: translateX(-100%);
13776
- }
13777
-
13778
- .droppable-complete .droppable-processing-card .droppable-card-content {
13779
- opacity: 0;
13780
13768
  }
13781
13769
 
13782
13770
  .droppable-complete-card {
13783
13771
  display: flex;
13784
- transform: translateX(100%);
13785
- }
13786
-
13787
- .droppable-complete-card .droppable-card-content {
13788
- opacity: 0;
13789
- }
13790
-
13791
- .droppable-complete .droppable-complete-card {
13792
- transform: translateX(0);
13793
13772
  }
13794
13773
 
13795
- .droppable-complete .droppable-complete-card .droppable-card-content {
13796
- opacity: 1;
13797
- }
13798
-
13799
- .droppable-processing .droppable-default-card .droppable-card-content,
13800
- .droppable-complete .droppable-default-card .droppable-card-content {
13801
- opacity: 0;
13774
+ .droppable-complete {
13775
+ /***** End card variants *****/
13802
13776
  }
13803
13777
 
13804
- /***** End card variants *****/
13805
-
13806
- .droppable-mobile {
13778
+ .droppable-complete .droppable-mobile {
13807
13779
  display: block;
13808
13780
  }
13809
13781
 
13810
- .droppable-desktop {
13782
+ .droppable-complete .droppable-desktop {
13811
13783
  display: none;
13812
13784
  }
13813
13785
 
13814
13786
  @media (min-width: 768px) {
13815
- .droppable-mobile {
13787
+ .droppable-complete .droppable-mobile {
13816
13788
  display: none;
13817
13789
  }
13818
- .droppable-desktop {
13819
- display: block;
13790
+ .droppable-complete .droppable-desktop {
13791
+ display: flex;
13792
+ flex-direction: column;
13793
+ align-items: stretch;
13820
13794
  }
13821
13795
  }
13822
13796
 
13823
- .droppable-active {
13797
+ .droppable-complete .droppable-active {
13824
13798
  border-style: solid;
13825
13799
  }
13826
13800
 
13827
- .droppable-active.droppable-dropping {
13801
+ .droppable-complete .droppable-active.droppable-dropping {
13828
13802
  border-style: dashed;
13829
13803
  }
13830
13804
 
13831
- .droppable-sm {
13805
+ .droppable-complete .droppable-sm {
13832
13806
  padding: 16px 16px;
13833
13807
  }
13834
13808
 
13835
13809
  @media (min-width: 576px) {
13836
- .droppable-sm {
13810
+ .droppable-complete .droppable-sm {
13837
13811
  padding: 24px 16px;
13838
13812
  }
13839
13813
  }
13840
13814
 
13841
13815
  @media (min-width: 992px) {
13842
- .droppable-sm {
13816
+ .droppable-complete .droppable-sm {
13843
13817
  padding: 32px 24px;
13844
13818
  }
13845
13819
  }
13846
13820
 
13847
- .droppable-md {
13821
+ .droppable-complete .droppable-md {
13848
13822
  padding: 32px 32px;
13849
13823
  }
13850
13824
 
13851
13825
  @media (min-width: 576px) {
13852
- .droppable-md {
13826
+ .droppable-complete .droppable-md {
13853
13827
  padding: 48px 32px;
13854
13828
  }
13855
13829
  }
13856
13830
 
13857
13831
  @media (min-width: 992px) {
13858
- .droppable-md {
13832
+ .droppable-complete .droppable-md {
13859
13833
  padding: 64px 48px;
13860
13834
  }
13861
13835
  }
13862
13836
 
13863
- .droppable-lg {
13837
+ .droppable-complete .droppable-lg {
13864
13838
  padding: 48px 48px;
13865
13839
  }
13866
13840
 
13867
13841
  @media (min-width: 576px) {
13868
- .droppable-lg {
13842
+ .droppable-complete .droppable-lg {
13869
13843
  padding: 72px 48px;
13870
13844
  }
13871
13845
  }
13872
13846
 
13873
13847
  @media (min-width: 992px) {
13874
- .droppable-lg {
13848
+ .droppable-complete .droppable-lg {
13875
13849
  padding: 96px 72px;
13876
13850
  }
13877
13851
  }
13878
13852
 
13879
- @keyframes droppable-fade-in {
13880
- from {
13881
- opacity: 0;
13882
- }
13883
- to {
13884
- opacity: 1;
13885
- }
13886
- }
13887
-
13888
13853
  .d-flex {
13889
13854
  display: flex;
13890
13855
  }
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-833aa39",
4
+ "version": "0.0.0-experimental-0348e0b",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  text-align: center;
10
10
  border: 1px solid var(--color-interactive-secondary);
11
11
  border-radius: @border-radius-base;
12
- overflow: hidden;
12
+ overflow: auto;
13
13
  transition: border-color 0.15s linear;
14
14
 
15
15
  &:hover {
@@ -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);
@@ -54,11 +51,9 @@
54
51
  &.droppable-negative {
55
52
  border: 2px solid var(--color-sentiment-negative) !important;
56
53
  background-color: var(--color-background-screen);
54
+ min-height: 315px;
57
55
  }
58
56
  &.droppable-complete {
59
- &.droppable-dropping .droppable-card:first-child {
60
- opacity: 0;
61
- }
62
57
  .thumbnail {
63
58
  margin-bottom: var(--padding-x-small) !important;
64
59
  }
@@ -99,7 +94,6 @@
99
94
  .droppable-card-content {
100
95
  max-width: 100%;
101
96
  opacity: 1;
102
- transition: opacity 0.5s linear;
103
97
  }
104
98
 
105
99
  .droppable-dropping {
@@ -161,6 +155,7 @@
161
155
 
162
156
  // Processing hidden by default
163
157
  .droppable-processing-card {
158
+ align-items: baseline;
164
159
  display: none;
165
160
 
166
161
  .droppable-card-content {
@@ -172,7 +167,7 @@
172
167
 
173
168
  .droppable-processing .droppable-processing-card {
174
169
  display: flex;
175
- transform: translateX(0);
170
+ align-items: baseline;
176
171
 
177
172
  .droppable-card-content {
178
173
  opacity: 1;
@@ -182,10 +177,9 @@
182
177
  .droppable-complete {
183
178
  .droppable-processing-card {
184
179
  display: flex;
185
- transform: translateX(-100%);
186
180
 
187
181
  .droppable-card-content {
188
- opacity: 0;
182
+ // opacity: 0;
189
183
  }
190
184
  }
191
185
  }
@@ -193,22 +187,11 @@
193
187
  // Completed card translated out and hidden by default
194
188
  .droppable-complete-card {
195
189
  display: flex;
196
- transform: translateX(100%);
197
-
198
- .droppable-card-content {
199
- opacity: 0;
200
- }
201
190
  }
202
191
  // Completed card brought back in and shown in correct state
203
192
  // stylelint-disable-next-line no-duplicate-selectors
204
193
  .droppable-complete {
205
194
  .droppable-complete-card {
206
- transform: translateX(0);
207
-
208
- .droppable-card-content {
209
- opacity: 1;
210
- }
211
- }
212
195
  }
213
196
 
214
197
  // Hide default content in other states, so it fades back in
@@ -216,7 +199,6 @@
216
199
  .droppable-processing,
217
200
  .droppable-complete {
218
201
  .droppable-default-card .droppable-card-content {
219
- opacity: 0;
220
202
  }
221
203
  }
222
204
 
@@ -236,7 +218,9 @@
236
218
  }
237
219
 
238
220
  .droppable-desktop {
239
- display: block;
221
+ display: flex;
222
+ flex-direction: column;
223
+ align-items: stretch;
240
224
  }
241
225
  }
242
226
 
@@ -272,10 +256,11 @@
272
256
 
273
257
  @keyframes droppable-fade-in {
274
258
  from {
275
- opacity: 0;
259
+ // opacity: 0;
276
260
  }
277
261
 
278
262
  to {
279
- opacity: 1;
263
+ // opacity: 1;
280
264
  }
281
265
  }
266
+ }