@transferwise/neptune-css 14.0.17 → 14.0.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.0.17",
4
+ "version": "14.0.19",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -53,5 +53,5 @@
53
53
  "bin": {
54
54
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
55
55
  },
56
- "gitHead": "1f68889be08ceec75d759c255c5d0e271ca8119c"
56
+ "gitHead": "5ad7efc7368df0dd773710fb71fb682b0f336fdd"
57
57
  }
@@ -632,6 +632,24 @@ input[type="button"] {
632
632
  animation: rotating 0.4s linear infinite;
633
633
  }
634
634
 
635
+ .np-theme-personal {
636
+ .btn-loading {
637
+ &:not(.btn-block) {
638
+ display: inline-flex;
639
+ align-items: center;
640
+ .btn-loader {
641
+ margin-bottom: 0;
642
+ }
643
+ }
644
+ &.btn-block .btn-loader {
645
+ top: 0;
646
+ bottom: 0;
647
+ margin-top: auto;
648
+ margin-bottom: auto;
649
+ }
650
+ }
651
+ }
652
+
635
653
  .btn-sm {
636
654
  .btn-loader {
637
655
  background-size: 16px 16px;
@@ -331,6 +331,14 @@ input[type='checkbox'] {
331
331
  }
332
332
  }
333
333
 
334
+ // hide native password reveal button for MS Edge
335
+ // docs: https://learn.microsoft.com/en-us/microsoft-edge/web-platform/password-reveal
336
+ input[type="password"] {
337
+ &::-ms-reveal {
338
+ display: none;
339
+ }
340
+ }
341
+
334
342
  // These classes are used on elements with <label> descendants
335
343
  .radio,
336
344
  .checkbox {