@transferwise/neptune-css 14.26.1 → 14.26.3

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.
@@ -1,3 +1,6 @@
1
+ /**
2
+ * DEPRECATED: use <InfoPrompt /> component instead
3
+ */
1
4
  .alert {
2
5
  padding: 16px;
3
6
  padding: var(--size-16);
@@ -1134,7 +1134,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1134
1134
  font-size: var(--font-size-16);
1135
1135
  line-height: 1.5rem;
1136
1136
  line-height: var(--line-height-24);
1137
- border-radius: var(border-radius-base);
1137
+ border-radius: var(--border-radius-base);
1138
1138
  min-height: var(--btn-height);
1139
1139
  }
1140
1140
  .navbar-collapse .btn .dropdown-menu > li > a {
@@ -452,8 +452,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
452
452
  color: #768e9c;
453
453
  color: var(--color-content-tertiary);
454
454
  }
455
- input:input-placeholder,
456
- textarea:input-placeholder,
457
455
  input::placeholder,
458
456
  textarea::placeholder {
459
457
  color: #768e9c;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
3
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -143,7 +143,7 @@
143
143
 
144
144
  /**
145
145
  * Do not edit directly
146
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
146
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
147
147
  */
148
148
 
149
149
  .np-theme-personal {
@@ -392,7 +392,7 @@
392
392
 
393
393
  /**
394
394
  * Do not edit directly
395
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
395
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
396
396
  */
397
397
 
398
398
  .np-theme-personal--forest-green {
@@ -641,7 +641,7 @@
641
641
 
642
642
  /**
643
643
  * Do not edit directly
644
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
644
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
645
645
  */
646
646
 
647
647
  .np-theme-personal--bright-green {
@@ -890,7 +890,7 @@
890
890
 
891
891
  /**
892
892
  * Do not edit directly
893
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
893
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
894
894
  */
895
895
 
896
896
  .np-theme-personal--dark {
@@ -1139,7 +1139,7 @@
1139
1139
 
1140
1140
  /**
1141
1141
  * Do not edit directly
1142
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
1142
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
1143
1143
  */
1144
1144
 
1145
1145
  .np-theme-platform {
@@ -1322,7 +1322,7 @@
1322
1322
 
1323
1323
  /**
1324
1324
  * Do not edit directly
1325
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
1325
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
1326
1326
  */
1327
1327
 
1328
1328
  .np-theme-platform--forest-green {
@@ -1505,7 +1505,7 @@
1505
1505
 
1506
1506
  /**
1507
1507
  * Do not edit directly
1508
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
1508
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
1509
1509
  */
1510
1510
 
1511
1511
  .np-theme-business {
@@ -1689,7 +1689,7 @@
1689
1689
 
1690
1690
  /**
1691
1691
  * Do not edit directly
1692
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
1692
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
1693
1693
  */
1694
1694
 
1695
1695
  .np-theme-business--dark {
@@ -1873,7 +1873,7 @@
1873
1873
 
1874
1874
  /**
1875
1875
  * Do not edit directly
1876
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
1876
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
1877
1877
  */
1878
1878
 
1879
1879
  .np-theme-business--forest-green {
@@ -2057,7 +2057,7 @@
2057
2057
 
2058
2058
  /**
2059
2059
  * Do not edit directly
2060
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
2060
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
2061
2061
  */
2062
2062
 
2063
2063
  .np-theme-business--bright-green {
@@ -2772,8 +2772,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
2772
2772
  color: var(--color-content-tertiary);
2773
2773
  }
2774
2774
 
2775
- input:input-placeholder,
2776
- textarea:input-placeholder,
2777
2775
  input::placeholder,
2778
2776
  textarea::placeholder {
2779
2777
  color: #768e9c;
@@ -6893,6 +6891,10 @@ tbody.collapse.in {
6893
6891
  background-color: var(--color-background-elevated);
6894
6892
  }
6895
6893
 
6894
+ /**
6895
+ * DEPRECATED: use <InfoPrompt /> component instead
6896
+ */
6897
+
6896
6898
  .alert {
6897
6899
  padding: 16px;
6898
6900
  padding: var(--size-16);
@@ -9172,7 +9174,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
9172
9174
  font-size: var(--font-size-16);
9173
9175
  line-height: 1.5rem;
9174
9176
  line-height: var(--line-height-24);
9175
- border-radius: var(border-radius-base);
9177
+ border-radius: var(--border-radius-base);
9176
9178
  min-height: var(--btn-height);
9177
9179
  }
9178
9180
  .navbar-collapse .btn .dropdown-menu > li > a {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 15 Oct 2025 12:29:55 GMT
3
+ // Generated on Wed, 07 Jan 2026 11:56:15 GMT
4
4
 
5
5
  @color-dark-content-primary: #e2e6e8;
6
6
  @color-dark-content-secondary: #c9cbce;
@@ -221,7 +221,7 @@
221
221
  @font-family-display: 'Wise Sans', 'Inter', sans-serif;
222
222
 
223
223
  // Do not edit directly
224
- // Generated on Wed, 15 Oct 2025 12:29:54 GMT
224
+ // Generated on Wed, 07 Jan 2026 11:56:15 GMT
225
225
 
226
226
  @color-base-blue-light: #00b9ff;
227
227
  @color-base-blue-mid: #00a2dd;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 Oct 2025 12:29:55 GMT
3
+ * Generated on Wed, 07 Jan 2026 11:56:15 GMT
4
4
  */
5
5
 
6
6
  :root {
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.26.1",
4
+ "version": "14.26.3",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "scripts"
24
24
  ],
25
25
  "dependencies": {
26
- "@transferwise/neptune-tokens": "^8.20.2"
26
+ "@transferwise/neptune-tokens": "^8.20.3"
27
27
  },
28
28
  "devDependencies": {
29
29
  "gulp": "^5.0.1",
@@ -3,6 +3,10 @@
3
3
  @import (reference) "../variables/neptune-tokens.less";
4
4
  @import (reference) "./mixins/_alerts.less";
5
5
 
6
+ /**
7
+ * DEPRECATED: use <InfoPrompt /> component instead
8
+ */
9
+
6
10
  .alert {
7
11
  padding: var(--size-16);
8
12
  border-radius: 10px;
@@ -514,7 +514,7 @@
514
514
  var(--btn-padding);
515
515
  var(--font-size-16);
516
516
  var(--line-height-24);
517
- var(border-radius-base);
517
+ var(--border-radius-base);
518
518
  var(--btn-height);
519
519
  );
520
520
 
@@ -677,7 +677,6 @@ input[type="button"] {
677
677
  stroke: currentColor;
678
678
  }
679
679
  }
680
-
681
680
  }
682
681
 
683
682
  .btn-sm {
@@ -11,17 +11,26 @@
11
11
  // page default font size should be set in absolute units (pixels)
12
12
  --base-font-size: 16px;
13
13
  --font-family-regular: "Inter", Helvetica, Arial, sans-serif;
14
- --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
14
+ --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal
15
+ calc(@padding-large-vertical - 2px);
15
16
  --btn-padding: @btn-padding-vertical @btn-padding-horizontal calc(@btn-padding-vertical - 2px);
16
- --btn-xs-padding: @btn-xs-padding-vertical @btn-xs-padding-horizontal calc(@btn-xs-padding-vertical - 2px);
17
- --btn-sm-padding: @btn-sm-padding-vertical @btn-sm-padding-horizontal calc(@btn-sm-padding-vertical - 2px);
18
- --btn-lg-padding: @btn-lg-padding-vertical @btn-lg-padding-horizontal calc(@btn-lg-padding-vertical - 2px);
19
- --input-padding: @padding-large-vertical @padding-base-horizontal calc(@padding-large-vertical - 2px);
20
- --input-padding-small: @padding-small-vertical @padding-small-horizontal calc(@padding-small-vertical - 2px);
21
- --input-padding-large: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
17
+ --btn-xs-padding: @btn-xs-padding-vertical @btn-xs-padding-horizontal
18
+ calc(@btn-xs-padding-vertical - 2px);
19
+ --btn-sm-padding: @btn-sm-padding-vertical @btn-sm-padding-horizontal
20
+ calc(@btn-sm-padding-vertical - 2px);
21
+ --btn-lg-padding: @btn-lg-padding-vertical @btn-lg-padding-horizontal
22
+ calc(@btn-lg-padding-vertical - 2px);
23
+ --input-padding: @padding-large-vertical @padding-base-horizontal
24
+ calc(@padding-large-vertical - 2px);
25
+ --input-padding-small: @padding-small-vertical @padding-small-horizontal
26
+ calc(@padding-small-vertical - 2px);
27
+ --input-padding-large: @padding-large-vertical @padding-large-horizontal
28
+ calc(@padding-large-vertical - 2px);
22
29
  --input-group-addon-sm-padding: calc(@padding-small-vertical - 1px) @padding-small-horizontal;
23
- --input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal calc(@padding-large-vertical - 2px);
24
- --dropdown-link-padding: calc(@padding-large-vertical + 1px) @padding-large-horizontal calc(@padding-large-vertical - 1px);
30
+ --input-group-addon-lg-padding: @padding-large-vertical @padding-large-horizontal
31
+ calc(@padding-large-vertical - 2px);
32
+ --dropdown-link-padding: calc(@padding-large-vertical + 1px) @padding-large-horizontal
33
+ calc(@padding-large-vertical - 1px);
25
34
  --btn-radius-base: @border-radius-base;
26
35
  --btn-sm-radius-base: @border-radius-small;
27
36
  --btn-lg-radius-base: @border-radius-large;
@@ -178,8 +187,6 @@ textarea {
178
187
 
179
188
  input,
180
189
  textarea {
181
- // stylelint-disable-next-line selector-pseudo-class-no-unknown
182
- &:input-placeholder,
183
190
  &::placeholder {
184
191
  color: var(--color-content-tertiary);
185
192
  }
@@ -1,6 +1,10 @@
1
1
  @import (reference) "./_logical-properties.less";
2
2
  @import (reference) "./_arrows.less";
3
3
 
4
+ /**
5
+ * DEPRECATED: use <InfoPrompt /> component instead
6
+ */
7
+
4
8
  .alert-variant(@background; @text-color; @text-hover) {
5
9
  background-color: @background;
6
10
  color: @text-color;