@transferwise/components 0.0.0-experimental-6d53d3c → 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.
Files changed (61) hide show
  1. package/build/main.css +35 -13
  2. package/build/prompt/CriticalBanner/CriticalBanner.js +1 -1
  3. package/build/prompt/CriticalBanner/CriticalBanner.js.map +1 -1
  4. package/build/prompt/CriticalBanner/CriticalBanner.mjs +1 -1
  5. package/build/prompt/CriticalBanner/CriticalBanner.mjs.map +1 -1
  6. package/build/styles/css/neptune.css +11 -11
  7. package/build/styles/less/legacy-variables.less +1 -1
  8. package/build/styles/less/neptune-tokens.less +2 -2
  9. package/build/styles/main.css +35 -13
  10. package/build/styles/prompt/CriticalBanner/CriticalBanner.css +21 -1
  11. package/build/styles/props/custom-media.css +1 -1
  12. package/build/styles/props/neptune-tokens.css +1 -1
  13. package/build/styles/sentimentSurface/SentimentSurface.css +1 -1
  14. package/build/styles/styles/less/neptune.css +11 -11
  15. package/package.json +6 -6
  16. package/src/body/Body.story.tsx +5 -1
  17. package/src/calendar/Calendar.story.tsx +4 -1
  18. package/src/checkbox/Checkbox.story.tsx +4 -1
  19. package/src/chevron/Chevron.story.tsx +1 -1
  20. package/src/container/Container.story.tsx +4 -1
  21. package/src/dateInput/DateInput.story.tsx +4 -1
  22. package/src/dateLookup/DateLookup.story.tsx +4 -1
  23. package/src/decision/Decision.story.tsx +4 -1
  24. package/src/definitionList/DefinitionList.story.tsx +4 -1
  25. package/src/dimmer/Dimmer.story.tsx +5 -1
  26. package/src/display/Display.story.tsx +4 -1
  27. package/src/emphasis/Emphasis.story.tsx +5 -1
  28. package/src/expressiveMoneyInput/ExpressiveMoneyInput.story.tsx +4 -1
  29. package/src/field/Field.story.tsx +4 -1
  30. package/src/header/Header.story.tsx +4 -1
  31. package/src/inputWithDisplayFormat/InputWithDisplayFormat.story.tsx +4 -1
  32. package/src/inputs/InputGroup.story.tsx +4 -1
  33. package/src/inputs/SearchInput.story.tsx +4 -1
  34. package/src/inputs/TextArea.story.tsx +4 -1
  35. package/src/instructionsList/InstructionsList.story.tsx +4 -1
  36. package/src/label/Label.story.tsx +4 -1
  37. package/src/link/Link.story.tsx +4 -1
  38. package/src/loader/Loader.story.tsx +1 -1
  39. package/src/main.css +35 -13
  40. package/src/markdown/Markdown.story.tsx +5 -1
  41. package/src/money/Money.story.tsx +1 -0
  42. package/src/moneyInput/MoneyInput.story.tsx +4 -1
  43. package/src/phoneNumberInput/PhoneNumberInput.story.tsx +4 -1
  44. package/src/promoCard/PromoCard.story.tsx +4 -1
  45. package/src/promoCard/PromoCardGroup.story.tsx +4 -1
  46. package/src/prompt/CriticalBanner/CriticalBanner.css +21 -1
  47. package/src/prompt/CriticalBanner/CriticalBanner.less +34 -15
  48. package/src/prompt/CriticalBanner/CriticalBanner.story.tsx +1 -1
  49. package/src/prompt/CriticalBanner/CriticalBanner.test.story.tsx +58 -0
  50. package/src/prompt/CriticalBanner/CriticalBanner.tsx +1 -1
  51. package/src/radio/Radio.story.tsx +4 -1
  52. package/src/radioGroup/RadioGroup.story.tsx +4 -1
  53. package/src/segmentedControl/SegmentedControl.story.tsx +4 -1
  54. package/src/sentimentSurface/SentimentSurface.css +1 -1
  55. package/src/statusIcon/StatusIcon.story.tsx +1 -1
  56. package/src/styles/less/neptune.css +11 -11
  57. package/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.story.tsx +4 -1
  58. package/src/title/Title.story.tsx +5 -1
  59. package/src/typeahead/Typeahead.story.tsx +4 -1
  60. package/src/upload/Upload.story.tsx +4 -1
  61. package/src/uploadInput/UploadInput.story.tsx +4 -1
@@ -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-6d53d3c",
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-6d53d3c",
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-6d53d3c",
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",
@@ -2,7 +2,10 @@ import { Typography } from '../common/propsValues/typography';
2
2
  import Title from '../title';
3
3
 
4
4
  import Body from './Body';
5
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
5
+ import {
6
+ createSandboxStory,
7
+ globalScope,
8
+ } from '../../.storybook/components/sandbox/SandboxEditor';
6
9
 
7
10
  export default {
8
11
  title: 'Typography/Body',
@@ -134,3 +137,4 @@ export const Basic = () => {
134
137
  </>
135
138
  );
136
139
  };
140
+
@@ -1,7 +1,10 @@
1
1
  import { useState } from 'react';
2
2
  import { StoryObj } from '@storybook/react-webpack5';
3
3
  import { userEvent, within } from 'storybook/test';
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import Calendar, { type CalendarProps } from './Calendar';
6
9
  import Modal from '../modal';
7
10
  import Button from '../button';
@@ -1,7 +1,10 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { fn } from 'storybook/test';
3
3
 
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import { Field } from '../field/Field';
6
9
 
7
10
  import Checkbox from './Checkbox';
@@ -12,7 +12,7 @@ type Story = StoryObj<typeof Chevron>;
12
12
 
13
13
  export const Sandbox = createSandboxStory({
14
14
  code: `<Chevron orientation="bottom" size="md" />`,
15
- scope: { Chevron },
15
+ scope: {Chevron},
16
16
  });
17
17
 
18
18
  export const Basic: Story = {
@@ -4,7 +4,10 @@ import Body from '../body';
4
4
  import Title from '../title';
5
5
 
6
6
  import Container from './Container';
7
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
7
+ import {
8
+ createSandboxStory,
9
+ globalScope,
10
+ } from '../../.storybook/components/sandbox/SandboxEditor';
8
11
 
9
12
  export default {
10
13
  component: Container,
@@ -1,7 +1,10 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { fn } from 'storybook/test';
3
3
 
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import { DateInput } from '..';
6
9
 
7
10
  const meta: Meta<typeof DateInput> = {
@@ -1,6 +1,9 @@
1
1
  import { useState } from 'react';
2
2
  import { StoryObj } from '@storybook/react-webpack5';
3
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
3
+ import {
4
+ createSandboxStory,
5
+ globalScope,
6
+ } from '../../.storybook/components/sandbox/SandboxEditor';
4
7
  import { Field } from '..';
5
8
  import { Size } from '../common';
6
9
  import DateLookup, { type DateLookupProps } from './DateLookup';
@@ -3,7 +3,10 @@ import { fn } from 'storybook/test';
3
3
  import { Size } from '../common';
4
4
  import AvatarView from '../avatarView';
5
5
  import Decision, { DecisionPresentation, DecisionType } from '.';
6
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
6
+ import {
7
+ createSandboxStory,
8
+ globalScope,
9
+ } from '../../.storybook/components/sandbox/SandboxEditor';
7
10
 
8
11
  export default {
9
12
  component: Decision,
@@ -6,7 +6,10 @@ import DefinitionList, { type DefinitionListLayout } from './DefinitionList';
6
6
  import { lorem10 } from '../test-utils';
7
7
  import Section from '../section';
8
8
  import Header from '../header';
9
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
9
+ import {
10
+ createSandboxStory,
11
+ globalScope,
12
+ } from '../../.storybook/components/sandbox/SandboxEditor';
10
13
 
11
14
  export default {
12
15
  component: DefinitionList,
@@ -3,7 +3,10 @@ import { Meta, StoryObj } from '@storybook/react-webpack5';
3
3
  import { useState } from 'react';
4
4
 
5
5
  import { Button, Dimmer } from '..';
6
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
6
+ import {
7
+ createSandboxStory,
8
+ globalScope,
9
+ } from '../../.storybook/components/sandbox/SandboxEditor';
7
10
 
8
11
  export default {
9
12
  component: Dimmer,
@@ -57,3 +60,4 @@ export const Basic: Story = {
57
60
  );
58
61
  },
59
62
  };
63
+
@@ -3,7 +3,10 @@ import Money from '../money/Money';
3
3
  import Title from '../title/Title';
4
4
 
5
5
  import Display from './Display';
6
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
6
+ import {
7
+ createSandboxStory,
8
+ globalScope,
9
+ } from '../../.storybook/components/sandbox/SandboxEditor';
7
10
 
8
11
  export default {
9
12
  title: 'Typography/Display',
@@ -1,7 +1,10 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
 
3
3
  import Emphasis from './Emphasis';
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
 
6
9
  export default {
7
10
  component: Emphasis,
@@ -25,3 +28,4 @@ export const Basic: Story = {
25
28
  '<script>alert("nice try!")</script>',
26
29
  },
27
30
  };
31
+
@@ -3,7 +3,10 @@ import { Meta, StoryObj, Decorator } from '@storybook/react-webpack5';
3
3
  import { fn } from 'storybook/test';
4
4
  import { Flag } from '@wise/art';
5
5
  import { Rewards, Tags } from '@transferwise/icons';
6
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
6
+ import {
7
+ createSandboxStory,
8
+ globalScope,
9
+ } from '../../.storybook/components/sandbox/SandboxEditor';
7
10
  import { storySourceWithoutNoise } from '../../.storybook/helpers';
8
11
  import { lorem10, lorem5 } from '../test-utils';
9
12
  import { Sentiment } from '../common';
@@ -1,7 +1,10 @@
1
1
  import { useState } from 'react';
2
2
  import { action } from 'storybook/actions';
3
3
 
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import { Input } from '../inputs/Input';
6
9
  import { Field, FieldProps } from './Field';
7
10
  import { Sentiment } from '../common';
@@ -1,6 +1,9 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import Header, { HeaderProps } from './Header';
3
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
3
+ import {
4
+ createSandboxStory,
5
+ globalScope,
6
+ } from '../../.storybook/components/sandbox/SandboxEditor';
4
7
 
5
8
  const withContainer = (Story: any) => (
6
9
  <div style={{ display: 'flex', justifyContent: 'center' }}>
@@ -1,6 +1,9 @@
1
1
  import { userEvent, within, fn } from 'storybook/test';
2
2
 
3
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
3
+ import {
4
+ createSandboxStory,
5
+ globalScope,
6
+ } from '../../.storybook/components/sandbox/SandboxEditor';
4
7
  import InputWithDisplayFormat, { InputWithDisplayFormatProps } from '.';
5
8
  import { Field, FieldProps } from '../field/Field';
6
9
  import { Meta, type StoryObj } from '@storybook/react-webpack5';
@@ -2,7 +2,10 @@ import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { Search } from '@transferwise/icons';
3
3
  import { useRef, useState } from 'react';
4
4
 
5
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
5
+ import {
6
+ createSandboxStory,
7
+ globalScope,
8
+ } from '../../.storybook/components/sandbox/SandboxEditor';
6
9
  import { Button } from '..';
7
10
  import { Field } from '../field/Field';
8
11
 
@@ -1,7 +1,10 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { useState } from 'react';
3
3
 
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import { Size } from '../common';
6
9
  import { Field } from '../field/Field';
7
10
 
@@ -1,7 +1,10 @@
1
1
  import { useEffect, useState } from 'react';
2
2
  import { Meta, StoryObj } from '@storybook/react-webpack5';
3
3
 
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
  import { Field } from '../field/Field';
6
9
  import { Sentiment } from '../common';
7
10
  import { TextArea } from './TextArea';
@@ -4,7 +4,10 @@ import { fn } from 'storybook/test';
4
4
  import Link from '../link';
5
5
 
6
6
  import InstructionsList, { InstructionsListProps } from './InstructionsList';
7
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
7
+ import {
8
+ createSandboxStory,
9
+ globalScope,
10
+ } from '../../.storybook/components/sandbox/SandboxEditor';
8
11
 
9
12
  export default {
10
13
  component: InstructionsList,
@@ -1,4 +1,7 @@
1
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
1
+ import {
2
+ createSandboxStory,
3
+ globalScope,
4
+ } from '../../.storybook/components/sandbox/SandboxEditor';
2
5
  import Info from '../info';
3
6
  import { Label } from './Label';
4
7
 
@@ -4,7 +4,10 @@ import Title from '../title/Title';
4
4
 
5
5
  import SentimentSurface from '../sentimentSurface';
6
6
  import Link from '.';
7
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
7
+ import {
8
+ createSandboxStory,
9
+ globalScope,
10
+ } from '../../.storybook/components/sandbox/SandboxEditor';
8
11
 
9
12
  export default {
10
13
  component: Link,
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import { createSandboxStory } from '../../.storybook/components/sandbox/SandboxEditor';
2
+ import { createSandboxStory } from '../../.storybook/components/sandbox/SandboxEditor';
3
3
 
4
4
  import Loader from './Loader';
5
5
 
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
 
@@ -1,7 +1,10 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
 
3
3
  import Markdown from './Markdown';
4
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
4
+ import {
5
+ createSandboxStory,
6
+ globalScope,
7
+ } from '../../.storybook/components/sandbox/SandboxEditor';
5
8
 
6
9
  export default {
7
10
  component: Markdown,
@@ -31,3 +34,4 @@ export const Basic: Story = {
31
34
  - sublist`,
32
35
  },
33
36
  };
37
+
@@ -21,3 +21,4 @@ export const Basic: Story = {
21
21
  currency: 'GBP',
22
22
  },
23
23
  };
24
+
@@ -3,7 +3,10 @@ import { within, userEvent, expect } from 'storybook/test';
3
3
  import { Padlock } from '@transferwise/icons';
4
4
  import { useState } from 'react';
5
5
 
6
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
6
+ import {
7
+ createSandboxStory,
8
+ globalScope,
9
+ } from '../../.storybook/components/sandbox/SandboxEditor';
7
10
  import MoneyInput, { CurrencyOptionItem } from '.';
8
11
  import { Field } from '../field/Field';
9
12
  import translations from '../i18n/en.json';
@@ -1,6 +1,9 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
 
3
- import { createSandboxStory, globalScope } from '../../.storybook/components/sandbox/SandboxEditor';
3
+ import {
4
+ createSandboxStory,
5
+ globalScope,
6
+ } from '../../.storybook/components/sandbox/SandboxEditor';
4
7
  import { Field } from '../field/Field';
5
8
  import PhoneNumberInput from './PhoneNumberInput';
6
9