@transferwise/components 0.0.0-experimental-13785f5 → 0.0.0-experimental-7a8cfdb

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/build/main.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {
@@ -1990,7 +1990,7 @@
1990
1990
 
1991
1991
  /**
1992
1992
  * Do not edit directly, this file was auto-generated.
1993
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1993
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1994
1994
  */
1995
1995
 
1996
1996
  .wds-sentiment-negative-light-base {
@@ -31955,6 +31955,9 @@ html:not([dir="rtl"]) .np-navigation-option {
31955
31955
  --Prompt-actions-gap: var(--size-8);
31956
31956
  --Prompt-gap: var(--size-10) var(--size-16);
31957
31957
  --Prompt-border-radius: 0;
31958
+ --wds-critical-banner-background-base: transparent;
31959
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
31960
+ --wds-critical-banner-background: linear-gradient(var(--wds-critical-banner-background-surface), var(--wds-critical-banner-background-surface)), var(--wds-critical-banner-background-base);
31958
31961
  container-type: inline-size;
31959
31962
  position: relative;
31960
31963
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
@@ -31963,6 +31966,14 @@ html:not([dir="rtl"]) .np-navigation-option {
31963
31966
  actions only go full-width below mobile-max token (container query) */
31964
31967
  }
31965
31968
 
31969
+ .wds-critical-banner.wds-prompt--neutral {
31970
+ --wds-critical-banner-background-base: var(--color-background-elevated);
31971
+ }
31972
+
31973
+ .wds-critical-banner.wds-prompt--neutral.wds-sentiment-surface--hasBaseStyles {
31974
+ background: var(--wds-critical-banner-background);
31975
+ }
31976
+
31966
31977
  .wds-critical-banner--media-image {
31967
31978
  width: 48px;
31968
31979
  width: var(--size-48);
@@ -32113,6 +32124,15 @@ html:not([dir="rtl"]) .np-navigation-option {
32113
32124
  @container critical-banner-overhang (max-width: 600px) {
32114
32125
  .wds-critical-banner__entry-mask {
32115
32126
  --critical-banner-mobile-overhang-size: 32px;
32127
+ --wds-critical-banner-overhang-mask: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), #000 var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size)
32128
+ var(--critical-banner-mobile-overhang-size) no-repeat,
32129
+ radial-gradient(
32130
+ circle at 0% 100%,
32131
+ transparent var(--critical-banner-mobile-overhang-size),
32132
+ #000 var(--critical-banner-mobile-overhang-size)
32133
+ )
32134
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
32135
+ var(--critical-banner-mobile-overhang-size) no-repeat;
32116
32136
  }
32117
32137
  .wds-critical-banner__entry-mask .wds-critical-banner-overhang {
32118
32138
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -32125,7 +32145,9 @@ html:not([dir="rtl"]) .np-navigation-option {
32125
32145
  left: 0;
32126
32146
  height: var(--critical-banner-mobile-overhang-size);
32127
32147
  pointer-events: none;
32128
- background: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat, radial-gradient(circle at 0% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 100% 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat;
32148
+ background: var(--wds-critical-banner-background);
32149
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
32150
+ mask: var(--wds-critical-banner-overhang-mask);
32129
32151
  }
32130
32152
  }
32131
32153
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {
@@ -5,7 +5,7 @@
5
5
  //== Media queries breakpoints
6
6
 
7
7
  // Do not edit directly, this file was auto-generated.
8
- // Generated on Tue, 09 Jun 2026 08:11:03 GMT
8
+ // Generated on Wed, 27 May 2026 15:50:09 GMT
9
9
 
10
10
  // @deprecated Use @screen-xs-min
11
11
  @screen-xs: 320px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly, this file was auto-generated.
3
- // Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ // Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
 
5
5
  @color-dark-content-primary: #e2e6e8;
6
6
  @color-dark-content-secondary: #c9cbce;
@@ -222,7 +222,7 @@
222
222
  @font-family-display: 'Wise Sans', 'Inter', sans-serif;
223
223
 
224
224
  // Do not edit directly, this file was auto-generated.
225
- // Generated on Tue, 09 Jun 2026 08:11:03 GMT
225
+ // Generated on Wed, 27 May 2026 15:50:09 GMT
226
226
 
227
227
  @color-base-blue-light: #00b9ff;
228
228
  @color-base-blue-mid: #00a2dd;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {
@@ -1990,7 +1990,7 @@
1990
1990
 
1991
1991
  /**
1992
1992
  * Do not edit directly, this file was auto-generated.
1993
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1993
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1994
1994
  */
1995
1995
 
1996
1996
  .wds-sentiment-negative-light-base {
@@ -31955,6 +31955,9 @@ html:not([dir="rtl"]) .np-navigation-option {
31955
31955
  --Prompt-actions-gap: var(--size-8);
31956
31956
  --Prompt-gap: var(--size-10) var(--size-16);
31957
31957
  --Prompt-border-radius: 0;
31958
+ --wds-critical-banner-background-base: transparent;
31959
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
31960
+ --wds-critical-banner-background: linear-gradient(var(--wds-critical-banner-background-surface), var(--wds-critical-banner-background-surface)), var(--wds-critical-banner-background-base);
31958
31961
  container-type: inline-size;
31959
31962
  position: relative;
31960
31963
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
@@ -31963,6 +31966,14 @@ html:not([dir="rtl"]) .np-navigation-option {
31963
31966
  actions only go full-width below mobile-max token (container query) */
31964
31967
  }
31965
31968
 
31969
+ .wds-critical-banner.wds-prompt--neutral {
31970
+ --wds-critical-banner-background-base: var(--color-background-elevated);
31971
+ }
31972
+
31973
+ .wds-critical-banner.wds-prompt--neutral.wds-sentiment-surface--hasBaseStyles {
31974
+ background: var(--wds-critical-banner-background);
31975
+ }
31976
+
31966
31977
  .wds-critical-banner--media-image {
31967
31978
  width: 48px;
31968
31979
  width: var(--size-48);
@@ -32113,6 +32124,15 @@ html:not([dir="rtl"]) .np-navigation-option {
32113
32124
  @container critical-banner-overhang (max-width: 600px) {
32114
32125
  .wds-critical-banner__entry-mask {
32115
32126
  --critical-banner-mobile-overhang-size: 32px;
32127
+ --wds-critical-banner-overhang-mask: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), #000 var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size)
32128
+ var(--critical-banner-mobile-overhang-size) no-repeat,
32129
+ radial-gradient(
32130
+ circle at 0% 100%,
32131
+ transparent var(--critical-banner-mobile-overhang-size),
32132
+ #000 var(--critical-banner-mobile-overhang-size)
32133
+ )
32134
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
32135
+ var(--critical-banner-mobile-overhang-size) no-repeat;
32116
32136
  }
32117
32137
  .wds-critical-banner__entry-mask .wds-critical-banner-overhang {
32118
32138
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -32125,7 +32145,9 @@ html:not([dir="rtl"]) .np-navigation-option {
32125
32145
  left: 0;
32126
32146
  height: var(--critical-banner-mobile-overhang-size);
32127
32147
  pointer-events: none;
32128
- background: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat, radial-gradient(circle at 0% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 100% 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat;
32148
+ background: var(--wds-critical-banner-background);
32149
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
32150
+ mask: var(--wds-critical-banner-overhang-mask);
32129
32151
  }
32130
32152
  }
32131
32153
 
@@ -4,6 +4,9 @@
4
4
  --Prompt-actions-gap: var(--size-8);
5
5
  --Prompt-gap: var(--size-10) var(--size-16);
6
6
  --Prompt-border-radius: 0;
7
+ --wds-critical-banner-background-base: transparent;
8
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
9
+ --wds-critical-banner-background: linear-gradient(var(--wds-critical-banner-background-surface), var(--wds-critical-banner-background-surface)), var(--wds-critical-banner-background-base);
7
10
  container-type: inline-size;
8
11
  position: relative;
9
12
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
@@ -11,6 +14,12 @@
11
14
  /* Override PrimitivePrompt's --screen-sm-max actions behaviour:
12
15
  actions only go full-width below mobile-max token (container query) */
13
16
  }
17
+ .wds-critical-banner.wds-prompt--neutral {
18
+ --wds-critical-banner-background-base: var(--color-background-elevated);
19
+ }
20
+ .wds-critical-banner.wds-prompt--neutral.wds-sentiment-surface--hasBaseStyles {
21
+ background: var(--wds-critical-banner-background);
22
+ }
14
23
  .wds-critical-banner--media-image {
15
24
  width: 48px;
16
25
  width: var(--size-48);
@@ -140,6 +149,15 @@
140
149
  @container critical-banner-overhang (max-width: 600px) {
141
150
  .wds-critical-banner__entry-mask {
142
151
  --critical-banner-mobile-overhang-size: 32px;
152
+ --wds-critical-banner-overhang-mask: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), #000 var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size)
153
+ var(--critical-banner-mobile-overhang-size) no-repeat,
154
+ radial-gradient(
155
+ circle at 0% 100%,
156
+ transparent var(--critical-banner-mobile-overhang-size),
157
+ #000 var(--critical-banner-mobile-overhang-size)
158
+ )
159
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
160
+ var(--critical-banner-mobile-overhang-size) no-repeat;
143
161
  }
144
162
  .wds-critical-banner__entry-mask .wds-critical-banner-overhang {
145
163
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -152,7 +170,9 @@
152
170
  left: 0;
153
171
  height: var(--critical-banner-mobile-overhang-size);
154
172
  pointer-events: none;
155
- background: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat, radial-gradient(circle at 0% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 100% 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat;
173
+ background: var(--wds-critical-banner-background);
174
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
175
+ mask: var(--wds-critical-banner-overhang-mask);
156
176
  }
157
177
  }
158
178
  .wds-critical-banner__entry-track {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  @custom-media --screen-400-zoom (width <= 320px);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-13785f5",
3
+ "version": "0.0.0-experimental-7a8cfdb",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -75,7 +75,7 @@
75
75
  "monaco-editor-webpack-plugin": "^7.1.1",
76
76
  "@wise/art": "^2.31.1",
77
77
  "@wise/eslint-config": "^14.2.1",
78
- "babel-plugin-formatjs": "^11.3.12",
78
+ "babel-plugin-formatjs": "^10.5.41",
79
79
  "eslint": "^9.39.4",
80
80
  "eslint-plugin-storybook": "^10.4.2",
81
81
  "gulp": "^5.0.1",
@@ -92,13 +92,13 @@
92
92
  "storybook-addon-tag-badges": "^3.1.0",
93
93
  "storybook-addon-test-codegen": "^3.0.1",
94
94
  "@transferwise/less-config": "3.1.2",
95
- "@wise/components-theming": "0.0.0-experimental-13785f5",
95
+ "@wise/components-theming": "1.10.2",
96
96
  "@wise/wds-configs": "0.0.0"
97
97
  },
98
98
  "peerDependencies": {
99
99
  "@transferwise/icons": "^3 || ^4",
100
- "@wise/art": "^2.31.1",
101
- "@wise/components-theming": "0.0.0-experimental-13785f5",
100
+ "@wise/art": "^2.30.3",
101
+ "@wise/components-theming": "^1.10.1",
102
102
  "framer-motion": "^12.23.26",
103
103
  "react": ">=18",
104
104
  "react-dom": ">=18",
@@ -111,7 +111,7 @@
111
111
  "@react-aria/focus": "^3.22.1",
112
112
  "@react-aria/overlays": "^3.32.1",
113
113
  "@transferwise/formatting": "^2.14.1",
114
- "@transferwise/neptune-tokens": "^8.24.1",
114
+ "@transferwise/neptune-tokens": "^8.24.0",
115
115
  "@transferwise/neptune-validation": "^3.3.4",
116
116
  "clsx": "^2.1.1",
117
117
  "commonmark": "^0.31.2",
package/src/main.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {
@@ -1990,7 +1990,7 @@
1990
1990
 
1991
1991
  /**
1992
1992
  * Do not edit directly, this file was auto-generated.
1993
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1993
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1994
1994
  */
1995
1995
 
1996
1996
  .wds-sentiment-negative-light-base {
@@ -31955,6 +31955,9 @@ html:not([dir="rtl"]) .np-navigation-option {
31955
31955
  --Prompt-actions-gap: var(--size-8);
31956
31956
  --Prompt-gap: var(--size-10) var(--size-16);
31957
31957
  --Prompt-border-radius: 0;
31958
+ --wds-critical-banner-background-base: transparent;
31959
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
31960
+ --wds-critical-banner-background: linear-gradient(var(--wds-critical-banner-background-surface), var(--wds-critical-banner-background-surface)), var(--wds-critical-banner-background-base);
31958
31961
  container-type: inline-size;
31959
31962
  position: relative;
31960
31963
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
@@ -31963,6 +31966,14 @@ html:not([dir="rtl"]) .np-navigation-option {
31963
31966
  actions only go full-width below mobile-max token (container query) */
31964
31967
  }
31965
31968
 
31969
+ .wds-critical-banner.wds-prompt--neutral {
31970
+ --wds-critical-banner-background-base: var(--color-background-elevated);
31971
+ }
31972
+
31973
+ .wds-critical-banner.wds-prompt--neutral.wds-sentiment-surface--hasBaseStyles {
31974
+ background: var(--wds-critical-banner-background);
31975
+ }
31976
+
31966
31977
  .wds-critical-banner--media-image {
31967
31978
  width: 48px;
31968
31979
  width: var(--size-48);
@@ -32113,6 +32124,15 @@ html:not([dir="rtl"]) .np-navigation-option {
32113
32124
  @container critical-banner-overhang (max-width: 600px) {
32114
32125
  .wds-critical-banner__entry-mask {
32115
32126
  --critical-banner-mobile-overhang-size: 32px;
32127
+ --wds-critical-banner-overhang-mask: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), #000 var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size)
32128
+ var(--critical-banner-mobile-overhang-size) no-repeat,
32129
+ radial-gradient(
32130
+ circle at 0% 100%,
32131
+ transparent var(--critical-banner-mobile-overhang-size),
32132
+ #000 var(--critical-banner-mobile-overhang-size)
32133
+ )
32134
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
32135
+ var(--critical-banner-mobile-overhang-size) no-repeat;
32116
32136
  }
32117
32137
  .wds-critical-banner__entry-mask .wds-critical-banner-overhang {
32118
32138
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -32125,7 +32145,9 @@ html:not([dir="rtl"]) .np-navigation-option {
32125
32145
  left: 0;
32126
32146
  height: var(--critical-banner-mobile-overhang-size);
32127
32147
  pointer-events: none;
32128
- background: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat, radial-gradient(circle at 0% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 100% 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat;
32148
+ background: var(--wds-critical-banner-background);
32149
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
32150
+ mask: var(--wds-critical-banner-overhang-mask);
32129
32151
  }
32130
32152
  }
32131
32153
 
@@ -4,6 +4,9 @@
4
4
  --Prompt-actions-gap: var(--size-8);
5
5
  --Prompt-gap: var(--size-10) var(--size-16);
6
6
  --Prompt-border-radius: 0;
7
+ --wds-critical-banner-background-base: transparent;
8
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
9
+ --wds-critical-banner-background: linear-gradient(var(--wds-critical-banner-background-surface), var(--wds-critical-banner-background-surface)), var(--wds-critical-banner-background-base);
7
10
  container-type: inline-size;
8
11
  position: relative;
9
12
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
@@ -11,6 +14,12 @@
11
14
  /* Override PrimitivePrompt's --screen-sm-max actions behaviour:
12
15
  actions only go full-width below mobile-max token (container query) */
13
16
  }
17
+ .wds-critical-banner.wds-prompt--neutral {
18
+ --wds-critical-banner-background-base: var(--color-background-elevated);
19
+ }
20
+ .wds-critical-banner.wds-prompt--neutral.wds-sentiment-surface--hasBaseStyles {
21
+ background: var(--wds-critical-banner-background);
22
+ }
14
23
  .wds-critical-banner--media-image {
15
24
  width: 48px;
16
25
  width: var(--size-48);
@@ -140,6 +149,15 @@
140
149
  @container critical-banner-overhang (max-width: 600px) {
141
150
  .wds-critical-banner__entry-mask {
142
151
  --critical-banner-mobile-overhang-size: 32px;
152
+ --wds-critical-banner-overhang-mask: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), #000 var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size)
153
+ var(--critical-banner-mobile-overhang-size) no-repeat,
154
+ radial-gradient(
155
+ circle at 0% 100%,
156
+ transparent var(--critical-banner-mobile-overhang-size),
157
+ #000 var(--critical-banner-mobile-overhang-size)
158
+ )
159
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
160
+ var(--critical-banner-mobile-overhang-size) no-repeat;
143
161
  }
144
162
  .wds-critical-banner__entry-mask .wds-critical-banner-overhang {
145
163
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -152,7 +170,9 @@
152
170
  left: 0;
153
171
  height: var(--critical-banner-mobile-overhang-size);
154
172
  pointer-events: none;
155
- background: radial-gradient(circle at 100% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 0 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat, radial-gradient(circle at 0% 100%, transparent var(--critical-banner-mobile-overhang-size), var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)) 100% 0 / var(--critical-banner-mobile-overhang-size) var(--critical-banner-mobile-overhang-size) no-repeat;
173
+ background: var(--wds-critical-banner-background);
174
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
175
+ mask: var(--wds-critical-banner-overhang-mask);
156
176
  }
157
177
  }
158
178
  .wds-critical-banner__entry-track {
@@ -7,6 +7,14 @@
7
7
  --Prompt-actions-gap: var(--size-8);
8
8
  --Prompt-gap: var(--size-10) var(--size-16);
9
9
  --Prompt-border-radius: 0;
10
+ --wds-critical-banner-background-base: transparent;
11
+ --wds-critical-banner-background-surface: var(--color-sentiment-background-surface);
12
+ --wds-critical-banner-background:
13
+ linear-gradient(
14
+ var(--wds-critical-banner-background-surface),
15
+ var(--wds-critical-banner-background-surface)
16
+ ),
17
+ var(--wds-critical-banner-background-base);
10
18
  container-type: inline-size;
11
19
  position: relative;
12
20
 
@@ -14,6 +22,14 @@
14
22
  --critical-banner-easing: cubic-bezier(0.9, 0, 0.7, 1);
15
23
  --critical-banner-duration: 150ms;
16
24
 
25
+ &.wds-prompt--neutral {
26
+ --wds-critical-banner-background-base: var(--color-background-elevated);
27
+
28
+ &.wds-sentiment-surface--hasBaseStyles {
29
+ background: var(--wds-critical-banner-background);
30
+ }
31
+ }
32
+
17
33
  &--media-image {
18
34
  width: var(--size-48);
19
35
  height: var(--size-48);
@@ -163,6 +179,21 @@
163
179
 
164
180
  @container critical-banner-overhang (max-width: @wds-critical-banner-mobile-overhang-max) {
165
181
  --critical-banner-mobile-overhang-size: 32px;
182
+ --wds-critical-banner-overhang-mask:
183
+ radial-gradient(
184
+ circle at 100% 100%,
185
+ transparent var(--critical-banner-mobile-overhang-size),
186
+ #000 var(--critical-banner-mobile-overhang-size)
187
+ )
188
+ 0 0 / var(--critical-banner-mobile-overhang-size)
189
+ var(--critical-banner-mobile-overhang-size) no-repeat,
190
+ radial-gradient(
191
+ circle at 0% 100%,
192
+ transparent var(--critical-banner-mobile-overhang-size),
193
+ #000 var(--critical-banner-mobile-overhang-size)
194
+ )
195
+ 100% 0 / var(--critical-banner-mobile-overhang-size)
196
+ var(--critical-banner-mobile-overhang-size) no-repeat;
166
197
 
167
198
  .wds-critical-banner-overhang {
168
199
  margin-bottom: var(--critical-banner-mobile-overhang-size);
@@ -175,21 +206,9 @@
175
206
  left: 0;
176
207
  height: var(--critical-banner-mobile-overhang-size);
177
208
  pointer-events: none;
178
- background:
179
- radial-gradient(
180
- circle at 100% 100%,
181
- transparent var(--critical-banner-mobile-overhang-size),
182
- var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)
183
- )
184
- 0 0 / var(--critical-banner-mobile-overhang-size)
185
- var(--critical-banner-mobile-overhang-size) no-repeat,
186
- radial-gradient(
187
- circle at 0% 100%,
188
- transparent var(--critical-banner-mobile-overhang-size),
189
- var(--color-sentiment-background-surface) var(--critical-banner-mobile-overhang-size)
190
- )
191
- 100% 0 / var(--critical-banner-mobile-overhang-size)
192
- var(--critical-banner-mobile-overhang-size) no-repeat;
209
+ background: var(--wds-critical-banner-background);
210
+ -webkit-mask: var(--wds-critical-banner-overhang-mask);
211
+ mask: var(--wds-critical-banner-overhang-mask);
193
212
  }
194
213
  }
195
214
  }
@@ -21,10 +21,24 @@ const wait = async (ms: number) =>
21
21
  });
22
22
 
23
23
  const ANIMATION_DURATION = 200; // 150ms animation + 50ms buffer
24
+ const ENTRY_ANIMATION_DURATION = 950; // 500ms delay + 400ms animation + 50ms buffer
24
25
 
25
26
  const longDescription =
26
27
  'We have detected unusual activity on your account that does not match your typical usage patterns. To protect your funds and personal information, we have temporarily restricted access. Please verify your identity to restore full access to your account.';
27
28
 
29
+ const BACKGROUND_SCROLL_CONTENT = [
30
+ 'Manage your card settings, limits, and delivery details from this page.',
31
+ 'Your recent payments, subscriptions, and cash withdrawals will appear here.',
32
+ 'Freeze your card any time if it is lost, stolen, or somewhere unexpected.',
33
+ 'Set spending limits for online, in-store, and contactless payments.',
34
+ 'Add your card to a digital wallet for quicker checkout in supported stores.',
35
+ 'Choose the currency balance you want to spend from before you travel.',
36
+ 'Review fees before using an ATM or paying in a currency you do not hold.',
37
+ 'Order a replacement card if yours is damaged or about to expire.',
38
+ 'Keep your delivery address up to date so new cards arrive in the right place.',
39
+ 'Contact support if a card payment looks unfamiliar or incorrect.',
40
+ ];
41
+
28
42
  function AllVariants({ gap = '1rem' }: { gap?: string }) {
29
43
  const [states, setStates] = useState({
30
44
  negativeExpanded: true,
@@ -137,6 +151,50 @@ export const MobileVariants: Story = {
137
151
  ...withVariantConfig(['mobile']),
138
152
  };
139
153
 
154
+ /** Neutral background regression test with page content scrolled under the mobile overhang. */
155
+ export const BackgroundIsNotTransparent: Story = {
156
+ render: function Render() {
157
+ return (
158
+ <div
159
+ data-testid="background-scroll-container"
160
+ style={{
161
+ width: 350,
162
+ height: 640,
163
+ overflowY: 'auto',
164
+ border: '1px solid var(--color-border-neutral)',
165
+ }}
166
+ >
167
+ <div style={{ position: 'sticky', top: 0, zIndex: 1 }}>
168
+ <CriticalBanner
169
+ sentiment="neutral"
170
+ title="Your account requires verification"
171
+ description="Please verify your identity to continue using all features."
172
+ action={{ label: 'Verify now', onClick: fn() }}
173
+ />
174
+ </div>
175
+ <main style={{ padding: 'var(--size-24) var(--size-16) var(--size-48)' }}>
176
+ <h1 style={{ margin: '0 0 var(--size-8)', fontSize: 32, lineHeight: 1.1 }}>Debit card</h1>
177
+ <p style={{ margin: '0 0 var(--size-24)' }}>Spend in 150+ currencies</p>
178
+ {BACKGROUND_SCROLL_CONTENT.map((paragraph) => (
179
+ <p key={paragraph}>{paragraph}</p>
180
+ ))}
181
+ </main>
182
+ </div>
183
+ );
184
+ },
185
+ play: async ({ canvasElement }) => {
186
+ const scrollContainer = canvasElement.querySelector(
187
+ '[data-testid="background-scroll-container"]',
188
+ );
189
+
190
+ if (scrollContainer) {
191
+ scrollContainer.scrollTop = 250;
192
+ await wait(ENTRY_ANIMATION_DURATION);
193
+ }
194
+ },
195
+ ...withVariantConfig(['mobile']),
196
+ };
197
+
140
198
  /** Mobile entry animation visual regression test. */
141
199
  export const AnimatedEntryMobile: Story = {
142
200
  render: function Render() {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
3
+ * Generated on Wed, 27 May 2026 15:50:09 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -144,7 +144,7 @@
144
144
 
145
145
  /**
146
146
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
147
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
148
148
  */
149
149
 
150
150
  .np-theme-personal {
@@ -328,7 +328,7 @@
328
328
 
329
329
  /**
330
330
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
331
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
332
332
  */
333
333
 
334
334
  .np-theme-personal--forest-green {
@@ -512,7 +512,7 @@
512
512
 
513
513
  /**
514
514
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
515
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
516
516
  */
517
517
 
518
518
  .np-theme-personal--bright-green {
@@ -696,7 +696,7 @@
696
696
 
697
697
  /**
698
698
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
699
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
700
700
  */
701
701
 
702
702
  .np-theme-personal--dark {
@@ -880,7 +880,7 @@
880
880
 
881
881
  /**
882
882
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
883
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
884
884
  */
885
885
 
886
886
  .np-theme-platform {
@@ -1064,7 +1064,7 @@
1064
1064
 
1065
1065
  /**
1066
1066
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1067
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1068
1068
  */
1069
1069
 
1070
1070
  .np-theme-platform--forest-green {
@@ -1248,7 +1248,7 @@
1248
1248
 
1249
1249
  /**
1250
1250
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1251
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1252
1252
  */
1253
1253
 
1254
1254
  .np-theme-business {
@@ -1433,7 +1433,7 @@
1433
1433
 
1434
1434
  /**
1435
1435
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1436
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1437
1437
  */
1438
1438
 
1439
1439
  .np-theme-business--dark {
@@ -1618,7 +1618,7 @@
1618
1618
 
1619
1619
  /**
1620
1620
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1621
+ * Generated on Wed, 27 May 2026 15:50:10 GMT
1622
1622
  */
1623
1623
 
1624
1624
  .np-theme-business--forest-green {
@@ -1803,7 +1803,7 @@
1803
1803
 
1804
1804
  /**
1805
1805
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1806
+ * Generated on Wed, 27 May 2026 15:50:11 GMT
1807
1807
  */
1808
1808
 
1809
1809
  .np-theme-business--bright-green {