@transferwise/components 46.130.0 → 46.130.2

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 (267) hide show
  1. package/build/accordion/Accordion.js.map +1 -1
  2. package/build/accordion/Accordion.mjs.map +1 -1
  3. package/build/actionButton/ActionButton.js.map +1 -1
  4. package/build/actionButton/ActionButton.mjs.map +1 -1
  5. package/build/actionOption/ActionOption.js.map +1 -1
  6. package/build/actionOption/ActionOption.mjs.map +1 -1
  7. package/build/alert/Alert.js +5 -2
  8. package/build/alert/Alert.js.map +1 -1
  9. package/build/alert/Alert.mjs +5 -2
  10. package/build/alert/Alert.mjs.map +1 -1
  11. package/build/avatar/Avatar.js.map +1 -1
  12. package/build/avatar/Avatar.mjs.map +1 -1
  13. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  14. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  15. package/build/badge/Badge.js.map +1 -1
  16. package/build/badge/Badge.mjs.map +1 -1
  17. package/build/body/Body.js.map +1 -1
  18. package/build/body/Body.mjs.map +1 -1
  19. package/build/button/LegacyButton.js.map +1 -1
  20. package/build/button/LegacyButton.mjs.map +1 -1
  21. package/build/card/Card.js.map +1 -1
  22. package/build/card/Card.mjs.map +1 -1
  23. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  24. package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
  25. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  26. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  27. package/build/circularButton/CircularButton.js.map +1 -1
  28. package/build/circularButton/CircularButton.mjs.map +1 -1
  29. package/build/common/propsValues/type.js +1 -1
  30. package/build/common/propsValues/type.js.map +1 -1
  31. package/build/common/propsValues/type.mjs +1 -1
  32. package/build/common/propsValues/type.mjs.map +1 -1
  33. package/build/common/propsValues/typography.js +1 -1
  34. package/build/common/propsValues/typography.js.map +1 -1
  35. package/build/common/propsValues/typography.mjs +1 -1
  36. package/build/common/propsValues/typography.mjs.map +1 -1
  37. package/build/criticalBanner/CriticalCommsBanner.js +6 -4
  38. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  39. package/build/criticalBanner/CriticalCommsBanner.mjs +6 -4
  40. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  41. package/build/dateInput/DateInput.js.map +1 -1
  42. package/build/dateInput/DateInput.mjs.map +1 -1
  43. package/build/dimmer/Dimmer.js.map +1 -1
  44. package/build/dimmer/Dimmer.mjs.map +1 -1
  45. package/build/drawer/Drawer.js.map +1 -1
  46. package/build/drawer/Drawer.mjs.map +1 -1
  47. package/build/field/Field.js.map +1 -1
  48. package/build/field/Field.mjs.map +1 -1
  49. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  50. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  51. package/build/header/Header.js.map +1 -1
  52. package/build/header/Header.mjs.map +1 -1
  53. package/build/iconButton/IconButton.js.map +1 -1
  54. package/build/iconButton/IconButton.mjs.map +1 -1
  55. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  56. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  57. package/build/list/List.js.map +1 -1
  58. package/build/list/List.mjs.map +1 -1
  59. package/build/listItem/Button/ListItemButton.js.map +1 -1
  60. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  61. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  62. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  63. package/build/listItem/Image/ListItemImage.js.map +1 -1
  64. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  65. package/build/listItem/ListItem.js.map +1 -1
  66. package/build/listItem/ListItem.mjs.map +1 -1
  67. package/build/loader/Loader.js.map +1 -1
  68. package/build/loader/Loader.mjs.map +1 -1
  69. package/build/logo/Logo.js.map +1 -1
  70. package/build/logo/Logo.mjs.map +1 -1
  71. package/build/main.css +45 -36
  72. package/build/modal/Modal.js.map +1 -1
  73. package/build/modal/Modal.mjs.map +1 -1
  74. package/build/navigationOption/NavigationOption.js.map +1 -1
  75. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  76. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  77. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  78. package/build/nudge/Nudge.js.map +1 -1
  79. package/build/nudge/Nudge.mjs.map +1 -1
  80. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  81. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  82. package/build/popover/Popover.js.map +1 -1
  83. package/build/popover/Popover.mjs.map +1 -1
  84. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  85. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  86. package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
  87. package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
  88. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  89. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  90. package/build/radioOption/RadioOption.js.map +1 -1
  91. package/build/radioOption/RadioOption.mjs.map +1 -1
  92. package/build/select/Select.js.map +1 -1
  93. package/build/select/Select.mjs.map +1 -1
  94. package/build/statusIcon/StatusIcon.js.map +1 -1
  95. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  96. package/build/styles/criticalBanner/CriticalCommsBanner.css +9 -0
  97. package/build/styles/main.css +45 -36
  98. package/build/styles/sentimentSurface/SentimentSurface.css +36 -36
  99. package/build/summary/Summary.js +1 -1
  100. package/build/summary/Summary.js.map +1 -1
  101. package/build/summary/Summary.mjs +1 -1
  102. package/build/summary/Summary.mjs.map +1 -1
  103. package/build/switchOption/SwitchOption.js +1 -1
  104. package/build/switchOption/SwitchOption.js.map +1 -1
  105. package/build/switchOption/SwitchOption.mjs +1 -1
  106. package/build/switchOption/SwitchOption.mjs.map +1 -1
  107. package/build/tabs/Tabs.js.map +1 -1
  108. package/build/tabs/Tabs.mjs.map +1 -1
  109. package/build/typeahead/Typeahead.js.map +1 -1
  110. package/build/typeahead/Typeahead.mjs.map +1 -1
  111. package/build/types/accordion/Accordion.d.ts +8 -2
  112. package/build/types/accordion/Accordion.d.ts.map +1 -1
  113. package/build/types/actionButton/ActionButton.d.ts +6 -4
  114. package/build/types/actionButton/ActionButton.d.ts.map +1 -1
  115. package/build/types/actionOption/ActionOption.d.ts +1 -1
  116. package/build/types/alert/Alert.d.ts +7 -2
  117. package/build/types/alert/Alert.d.ts.map +1 -1
  118. package/build/types/avatar/Avatar.d.ts +4 -0
  119. package/build/types/avatar/Avatar.d.ts.map +1 -1
  120. package/build/types/avatarLayout/AvatarLayout.d.ts +5 -1
  121. package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
  122. package/build/types/badge/Badge.d.ts +2 -0
  123. package/build/types/badge/Badge.d.ts.map +1 -1
  124. package/build/types/body/Body.d.ts +2 -6
  125. package/build/types/body/Body.d.ts.map +1 -1
  126. package/build/types/button/Button.types.d.ts +4 -1
  127. package/build/types/button/Button.types.d.ts.map +1 -1
  128. package/build/types/button/LegacyButton.d.ts +4 -4
  129. package/build/types/card/Card.d.ts +1 -0
  130. package/build/types/card/Card.d.ts.map +1 -1
  131. package/build/types/checkboxButton/CheckboxButton.d.ts +2 -0
  132. package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -1
  133. package/build/types/checkboxOption/CheckboxOption.d.ts +1 -1
  134. package/build/types/circularButton/CircularButton.d.ts +1 -1
  135. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  136. package/build/types/common/propsValues/type.d.ts +1 -1
  137. package/build/types/common/propsValues/typography.d.ts +2 -2
  138. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +1 -0
  139. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  140. package/build/types/dateInput/DateInput.d.ts +5 -0
  141. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  142. package/build/types/dimmer/Dimmer.d.ts +6 -0
  143. package/build/types/dimmer/Dimmer.d.ts.map +1 -1
  144. package/build/types/drawer/Drawer.d.ts +8 -2
  145. package/build/types/drawer/Drawer.d.ts.map +1 -1
  146. package/build/types/field/Field.d.ts +5 -2
  147. package/build/types/field/Field.d.ts.map +1 -1
  148. package/build/types/flowNavigation/FlowNavigation.d.ts +3 -0
  149. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
  150. package/build/types/header/Header.d.ts +5 -1
  151. package/build/types/header/Header.d.ts.map +1 -1
  152. package/build/types/iconButton/IconButton.d.ts +6 -0
  153. package/build/types/iconButton/IconButton.d.ts.map +1 -1
  154. package/build/types/legacylistItem/LegacyListItem.d.ts +1 -1
  155. package/build/types/list/List.d.ts +1 -0
  156. package/build/types/list/List.d.ts.map +1 -1
  157. package/build/types/listItem/Button/ListItemButton.d.ts +4 -0
  158. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -1
  159. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +3 -1
  160. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -1
  161. package/build/types/listItem/Image/ListItemImage.d.ts +2 -0
  162. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
  163. package/build/types/listItem/ListItem.d.ts +3 -0
  164. package/build/types/listItem/ListItem.d.ts.map +1 -1
  165. package/build/types/loader/Loader.d.ts +5 -1
  166. package/build/types/loader/Loader.d.ts.map +1 -1
  167. package/build/types/logo/Logo.d.ts +4 -1
  168. package/build/types/logo/Logo.d.ts.map +1 -1
  169. package/build/types/modal/Modal.d.ts +6 -0
  170. package/build/types/modal/Modal.d.ts.map +1 -1
  171. package/build/types/navigationOption/NavigationOption.d.ts +1 -1
  172. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +1 -1
  173. package/build/types/nudge/Nudge.d.ts +1 -1
  174. package/build/types/nudge/Nudge.d.ts.map +1 -1
  175. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +7 -1
  176. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
  177. package/build/types/popover/Popover.d.ts +1 -0
  178. package/build/types/popover/Popover.d.ts.map +1 -1
  179. package/build/types/processIndicator/ProcessIndicator.d.ts +2 -0
  180. package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -1
  181. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts +8 -1
  182. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -1
  183. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +1 -0
  184. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -1
  185. package/build/types/radioOption/RadioOption.d.ts +1 -1
  186. package/build/types/select/Select.d.ts +4 -0
  187. package/build/types/select/Select.d.ts.map +1 -1
  188. package/build/types/statusIcon/StatusIcon.d.ts +3 -1
  189. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  190. package/build/types/summary/Summary.d.ts +7 -4
  191. package/build/types/summary/Summary.d.ts.map +1 -1
  192. package/build/types/switchOption/SwitchOption.d.ts +1 -1
  193. package/build/types/tabs/Tabs.d.ts +2 -0
  194. package/build/types/tabs/Tabs.d.ts.map +1 -1
  195. package/build/types/typeahead/Typeahead.d.ts +14 -1
  196. package/build/types/typeahead/Typeahead.d.ts.map +1 -1
  197. package/build/types/upload/Upload.d.ts +6 -0
  198. package/build/types/upload/Upload.d.ts.map +1 -1
  199. package/build/types/uploadInput/UploadInput.d.ts +10 -1
  200. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  201. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +3 -0
  202. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  203. package/build/upload/Upload.js.map +1 -1
  204. package/build/upload/Upload.mjs.map +1 -1
  205. package/build/uploadInput/UploadInput.js.map +1 -1
  206. package/build/uploadInput/UploadInput.mjs.map +1 -1
  207. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  208. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  209. package/package.json +1 -1
  210. package/src/accordion/Accordion.tsx +8 -2
  211. package/src/actionButton/ActionButton.tsx +4 -3
  212. package/src/actionOption/ActionOption.tsx +1 -1
  213. package/src/alert/Alert.tsx +11 -3
  214. package/src/avatar/Avatar.tsx +4 -0
  215. package/src/avatarLayout/AvatarLayout.tsx +5 -1
  216. package/src/badge/Badge.tsx +2 -0
  217. package/src/body/Body.tsx +2 -6
  218. package/src/button/Button.types.ts +4 -1
  219. package/src/button/LegacyButton.tsx +4 -4
  220. package/src/card/Card.tsx +1 -0
  221. package/src/checkboxButton/CheckboxButton.tsx +1 -0
  222. package/src/checkboxOption/CheckboxOption.tsx +1 -1
  223. package/src/circularButton/CircularButton.tsx +1 -2
  224. package/src/common/propsValues/type.ts +1 -1
  225. package/src/common/propsValues/typography.ts +2 -2
  226. package/src/criticalBanner/CriticalCommsBanner.css +9 -0
  227. package/src/criticalBanner/CriticalCommsBanner.less +13 -0
  228. package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +15 -0
  229. package/src/criticalBanner/CriticalCommsBanner.test.tsx +28 -2
  230. package/src/criticalBanner/CriticalCommsBanner.tsx +10 -1
  231. package/src/dateInput/DateInput.tsx +5 -0
  232. package/src/dimmer/Dimmer.tsx +6 -0
  233. package/src/drawer/Drawer.tsx +8 -2
  234. package/src/field/Field.tsx +5 -2
  235. package/src/flowNavigation/FlowNavigation.tsx +3 -0
  236. package/src/header/Header.tsx +5 -1
  237. package/src/iconButton/IconButton.tsx +3 -0
  238. package/src/legacylistItem/LegacyListItem.tsx +1 -1
  239. package/src/list/List.tsx +1 -0
  240. package/src/listItem/Button/ListItemButton.tsx +2 -0
  241. package/src/listItem/IconButton/ListItemIconButton.tsx +3 -1
  242. package/src/listItem/Image/ListItemImage.tsx +2 -0
  243. package/src/listItem/ListItem.tsx +2 -0
  244. package/src/loader/Loader.tsx +6 -2
  245. package/src/logo/Logo.tsx +4 -1
  246. package/src/main.css +45 -36
  247. package/src/modal/Modal.tsx +6 -0
  248. package/src/navigationOption/NavigationOption.tsx +1 -1
  249. package/src/navigationOptionsList/NavigationOptionsList.tsx +1 -1
  250. package/src/nudge/Nudge.tsx +1 -1
  251. package/src/phoneNumberInput/PhoneNumberInput.tsx +7 -1
  252. package/src/popover/Popover.tsx +1 -0
  253. package/src/processIndicator/ProcessIndicator.tsx +2 -0
  254. package/src/prompt/ActionPrompt/ActionPrompt.tsx +8 -1
  255. package/src/prompt/InlinePrompt/InlinePrompt.tsx +1 -0
  256. package/src/radioOption/RadioOption.tsx +1 -1
  257. package/src/select/Select.tsx +4 -0
  258. package/src/sentimentSurface/SentimentSurface.css +36 -36
  259. package/src/sentimentSurface/SentimentSurface.less +12 -12
  260. package/src/statusIcon/StatusIcon.tsx +3 -1
  261. package/src/summary/Summary.tsx +7 -4
  262. package/src/switchOption/SwitchOption.tsx +1 -1
  263. package/src/tabs/Tabs.tsx +2 -0
  264. package/src/typeahead/Typeahead.tsx +14 -2
  265. package/src/upload/Upload.tsx +6 -0
  266. package/src/uploadInput/UploadInput.tsx +12 -4
  267. package/src/withDisplayFormat/WithDisplayFormat.tsx +3 -0
@@ -27,7 +27,9 @@ export interface DateInputProps {
27
27
  /** @deprecated Use `Field` wrapper or the `aria-labelledby` attribute instead. */
28
28
  'aria-label'?: string;
29
29
  'aria-labelledby'?: string;
30
+ /** @default false */
30
31
  disabled?: boolean;
32
+ /** @default 'md' */
31
33
  size?: SizeSmall | SizeMedium | SizeLarge;
32
34
  value?: Date | string;
33
35
  onChange: (value: string | null) => void;
@@ -38,7 +40,9 @@ export interface DateInputProps {
38
40
  monthLabel?: string;
39
41
  yearLabel?: string;
40
42
  yearAutoComplete?: string;
43
+ /** @default 'long' */
41
44
  monthFormat?: `${MonthFormat}`;
45
+ /** @default 'day-month-year' */
42
46
  mode?: `${DateMode}`;
43
47
  placeholders?: {
44
48
  day?: string;
@@ -46,6 +50,7 @@ export interface DateInputProps {
46
50
  year?: string;
47
51
  };
48
52
  id?: string;
53
+ /** @default {} */
49
54
  selectProps?: Partial<SelectInputProps<number | null>>;
50
55
  }
51
56
 
@@ -23,12 +23,18 @@ const dimmerManager = new DimmerManager();
23
23
 
24
24
  export type DimmerProps = CommonProps & {
25
25
  children?: ReactNode;
26
+ /** @default false */
26
27
  disableClickToClose?: boolean;
27
28
  contentPosition?: PositionTop | PositionCenter | PositionBottom;
29
+ /** @default false */
28
30
  fadeContentOnEnter?: boolean;
31
+ /** @default false */
29
32
  fadeContentOnExit?: boolean;
33
+ /** @default false */
30
34
  open?: boolean;
35
+ /** @default false */
31
36
  scrollable?: boolean;
37
+ /** @default false */
32
38
  transparent?: boolean;
33
39
  onClose?: (event: KeyboardEvent | MouseEvent) => void;
34
40
  onExited?: () => void;
@@ -21,9 +21,15 @@ export type DrawerProps = {
21
21
  footerContent?: React.ReactNode;
22
22
  /** The content to appear in the drawer header. */
23
23
  headerTitle?: React.ReactNode;
24
- /** The status of Drawer either open or not. */
24
+ /**
25
+ * The status of Drawer either open or not.
26
+ * @default false
27
+ */
25
28
  open?: boolean;
26
- /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
29
+ /**
30
+ * The placement of Drawer on the screen either left or right. On mobile it will default to bottom.
31
+ * @default 'right'
32
+ */
27
33
  position?: `${Position.LEFT | Position.RIGHT | Position.BOTTOM}`;
28
34
  /** The action to perform on close click. */
29
35
  onClose?: (event: KeyboardEvent | React.MouseEvent) => void;
@@ -16,8 +16,9 @@ export type FieldProps = {
16
16
  id?: string | null;
17
17
  /** Should be specified unless the wrapped control has its own labeling mechanism, e.g. `Checkbox`. */
18
18
  label?: React.ReactNode;
19
+ /** @default true */
19
20
  required?: boolean;
20
- /** @deprecated use `description` prop instead */
21
+ /** @deprecated Use `description` prop instead. */
21
22
  hint?: React.ReactNode;
22
23
  message?: React.ReactNode;
23
24
  /**
@@ -27,11 +28,13 @@ export type FieldProps = {
27
28
  messageIconLabel?: string;
28
29
  /**
29
30
  * If true, shows a loading spinner in place of the message icon of the InlinePrompt
31
+ * @default false
30
32
  */
31
33
  messageLoading?: boolean;
32
34
  description?: React.ReactNode;
33
- /** @deprecated use `message` and `type={Sentiment.NEGATIVE}` prop instead */
35
+ /** @deprecated Use `message` and `type={Sentiment.NEGATIVE}` prop instead. */
34
36
  error?: React.ReactNode;
37
+ /** @default Sentiment.NEUTRAL */
35
38
  sentiment?: InlinePromptProps['sentiment'];
36
39
  className?: string;
37
40
  children?: React.ReactNode;
@@ -14,9 +14,12 @@ import IconButton from '../iconButton';
14
14
  import { ArrowLeft } from '@transferwise/icons';
15
15
 
16
16
  export interface FlowNavigationProps {
17
+ /** @default 0 */
17
18
  activeStep?: number;
18
19
  avatar?: React.ReactNode;
20
+ /** @default <Logo /> */
19
21
  logo?: React.ReactNode;
22
+ /** @default false */
20
23
  done?: boolean;
21
24
  /** Called when the close button is clicked. If not provided the close button won't show */
22
25
  onClose?: () => void;
@@ -29,13 +29,17 @@ export interface HeaderProps extends CommonProps {
29
29
  * If this condition is not met, a warning will be logged to the console.
30
30
  *
31
31
  * - Other valid values include standard heading tags (`h1` to `h6`) or `header`.
32
+ * @default 'h5'
32
33
  */
33
34
  as?: Heading | 'legend' | 'header';
34
35
 
35
36
  /** Required prop to set the title of the Header. */
36
37
  title: ReactNode;
37
38
 
38
- /** Optional prop to specify the level of the Header */
39
+ /**
40
+ * Optional prop to specify the level of the Header
41
+ * @default 'group'
42
+ */
39
43
  level?: 'section' | 'group';
40
44
 
41
45
  className?: string;
@@ -4,8 +4,11 @@ import Circle from '../common/circle';
4
4
  import { clsx } from 'clsx';
5
5
 
6
6
  export type Props = {
7
+ /** @default 48 */
7
8
  size?: 16 | 24 | 32 | 40 | 48 | 56 | 72;
9
+ /** @default 'primary' */
8
10
  priority?: 'primary' | 'secondary' | 'tertiary' | 'minimal';
11
+ /** @default 'default' */
9
12
  type?: 'default' | 'negative';
10
13
  'data-testid'?: string;
11
14
  } & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'target' | 'onClick'> &
@@ -14,7 +14,7 @@ export type LegacyListItemProps = {
14
14
  };
15
15
 
16
16
  /**
17
- * @deprecated Please use `<ListItem />` instead.
17
+ * @deprecated Use `<ListItem />` instead.
18
18
  * @deprecatedSince 46.104.0
19
19
  * @see [Source](../listItem/ListItem.tsx)
20
20
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
package/src/list/List.tsx CHANGED
@@ -2,6 +2,7 @@ import { clsx } from 'clsx';
2
2
  import React from 'react';
3
3
 
4
4
  export interface ListProps {
5
+ /** @default 'ul' */
5
6
  as?: 'ul' | 'ol' | 'div';
6
7
  className?: string;
7
8
  children?: React.ReactNode;
@@ -13,6 +13,8 @@ export type ListItemButtonProps = Omit<
13
13
  */
14
14
  partiallyInteractive?: boolean;
15
15
  addonStart?: ButtonAddonIcon;
16
+ /** @default 'secondary-neutral' */
17
+ priority?: NewButtonProps['priority'];
16
18
  };
17
19
 
18
20
  /**
@@ -6,10 +6,12 @@ import { ListItemContext } from '../ListItemContext';
6
6
 
7
7
  export type ListItemIconButtonProps = Pick<
8
8
  IconButtonProps,
9
- 'priority' | 'type' | 'onClick' | 'href' | 'target' | 'aria-label'
9
+ 'type' | 'onClick' | 'href' | 'target' | 'aria-label'
10
10
  > & {
11
11
  children: ReactNode;
12
12
  partiallyInteractive?: boolean;
13
+ /** @default 'minimal' */
14
+ priority?: IconButtonProps['priority'];
13
15
  };
14
16
 
15
17
  /**
@@ -6,10 +6,12 @@ import { ListItemMediaSize } from '../ListItemContext';
6
6
  export type ListItemImageProps = Omit<ImageProps, 'stretch' | 'shrink' | 'id' | 'alt' | 'role'> & {
7
7
  /**
8
8
  * The size of square container for the image, matching available avatar sizes.
9
+ * @default 48
9
10
  */
10
11
  size?: ListItemMediaSize;
11
12
  /**
12
13
  * When unset, it will force `role="presentation"` on the image. Otherwise, the image will use its implicit img role.
14
+ * @default ''
13
15
  */
14
16
  alt?: string;
15
17
  };
@@ -45,6 +45,7 @@ export type ListItemControlProps =
45
45
  | ListItemSwitchProps;
46
46
 
47
47
  export type ListItemProps = {
48
+ /** @default 'li' */
48
49
  as?: 'li' | 'div';
49
50
  /**
50
51
  * Swaps vertical hierarchy of title and subtitle and their corresponding right values.
@@ -88,6 +89,7 @@ export type ListItemProps = {
88
89
  * `<ListItem.Navigation />`, <br/>
89
90
  * `<ListItem.Radio />`, or
90
91
  * `<ListItem.Switch />`
92
+ * @default null
91
93
  */
92
94
  control?: ReactNode;
93
95
  /**
@@ -4,19 +4,23 @@ import { useEffect, useState } from 'react';
4
4
 
5
5
  import { Size, SizeExtraSmall, SizeSmall, SizeMedium, SizeLarge, SizeExtraLarge } from '../common';
6
6
 
7
- // TODO: We gracefully depracated xs, lg and xl -- remove these as part of a future breaking change to this component
7
+ // TODO: We gracefully deprecated xs, lg and xl -- remove these as part of a future breaking change to this component
8
8
  type DeprecatedSize = SizeExtraSmall | SizeLarge | SizeExtraLarge;
9
9
 
10
10
  type SizeType = SizeSmall | SizeMedium;
11
11
 
12
12
  export type LoaderProps = {
13
13
  /**
14
- * @deprecated use `size` instead
14
+ * @deprecated Use `size` instead.
15
+ * @default false
15
16
  */
16
17
  small?: boolean;
18
+ /** @default 'md' */
17
19
  size?: SizeType | DeprecatedSize;
20
+ /** @default false */
18
21
  displayInstantly?: boolean;
19
22
  // TODO: refactor in favor of prop from `CommonProps` type
23
+ /** @default {} */
20
24
  classNames?: Record<string, string>;
21
25
  'data-testid'?: string;
22
26
  };
package/src/logo/Logo.tsx CHANGED
@@ -35,7 +35,10 @@ export interface LogoProps {
35
35
  className?: string;
36
36
  /** If true, will use dark colours for dark on light theme */
37
37
  inverse?: boolean;
38
- /** What type of logo to display */
38
+ /**
39
+ * What type of logo to display
40
+ * @default 'WISE'
41
+ */
39
42
  type?: `${LogoType}`;
40
43
  }
41
44
 
package/src/main.css CHANGED
@@ -226,12 +226,12 @@
226
226
  .np-theme-platform.wds-sentiment-surface-success-elevated,
227
227
  .np-theme-personal--bright-green.wds-sentiment-surface-success-elevated,
228
228
  .np-theme-business--bright-green.wds-sentiment-surface-success-elevated {
229
- --color-sentiment-content-primary: #E2F6D5;
230
- --color-sentiment-content-primary-hover: #D3F2C0;
231
- --color-sentiment-content-primary-active: #C5EDAB;
232
- --color-sentiment-interactive-primary: #E2F6D5;
233
- --color-sentiment-interactive-primary-hover: #D3F2C0;
234
- --color-sentiment-interactive-primary-active: #C5EDAB;
229
+ --color-sentiment-content-primary: #CEF1B8;
230
+ --color-sentiment-content-primary-hover: #E0FFCC;
231
+ --color-sentiment-content-primary-active: #E1F4D4;
232
+ --color-sentiment-interactive-primary: #CEF1B8;
233
+ --color-sentiment-interactive-primary-hover: #E0FFCC;
234
+ --color-sentiment-interactive-primary-active: #E1F4D4;
235
235
  --color-sentiment-interactive-secondary: #054D28;
236
236
  --color-sentiment-interactive-secondary-hover: #043A1E;
237
237
  --color-sentiment-interactive-secondary-active: #022614;
@@ -250,24 +250,24 @@
250
250
  .np-theme-personal--forest-green.wds-sentiment-surface-success-base,
251
251
  .np-theme-business--forest-green.wds-sentiment-surface-success-base,
252
252
  .np-theme-platform--forest-green.wds-sentiment-surface-success-base {
253
- --color-sentiment-content-primary: #BAE5A0;
254
- --color-sentiment-content-primary-hover: #C8EAB3;
255
- --color-sentiment-content-primary-active: #D6F0C7;
256
- --color-sentiment-interactive-primary: #BAE5A0;
257
- --color-sentiment-interactive-primary-hover: #C8EAB3;
258
- --color-sentiment-interactive-primary-active: #D6F0C7;
259
- --color-sentiment-interactive-secondary: #252C20;
260
- --color-sentiment-interactive-secondary-hover: #323B2B;
261
- --color-sentiment-interactive-secondary-active: #3E4A36;
262
- --color-sentiment-interactive-secondary-neutral: #37422F;
263
- --color-sentiment-interactive-secondary-neutral-hover: #46533B;
264
- --color-sentiment-interactive-secondary-neutral-active: #546548;
265
- --color-sentiment-interactive-control: #252C20;
266
- --color-sentiment-interactive-control-hover: #323B2B;
267
- --color-sentiment-interactive-control-active: #3E4A36;
268
- --color-sentiment-background-surface: #252C20;
269
- --color-sentiment-background-surface-hover: #323B2B;
270
- --color-sentiment-background-surface-active: #3E4A36;
253
+ --color-sentiment-content-primary: #CEF1B8;
254
+ --color-sentiment-content-primary-hover: #E0FFCC;
255
+ --color-sentiment-content-primary-active: #E1F4D4;
256
+ --color-sentiment-interactive-primary: #CEF1B8;
257
+ --color-sentiment-interactive-primary-hover: #E0FFCC;
258
+ --color-sentiment-interactive-primary-active: #E1F4D4;
259
+ --color-sentiment-interactive-secondary: #054D28;
260
+ --color-sentiment-interactive-secondary-hover: #043A1E;
261
+ --color-sentiment-interactive-secondary-active: #022614;
262
+ --color-sentiment-interactive-secondary-neutral: #256A43;
263
+ --color-sentiment-interactive-secondary-neutral-hover: #2A794C;
264
+ --color-sentiment-interactive-secondary-neutral-active: #329057;
265
+ --color-sentiment-interactive-control: #054D28;
266
+ --color-sentiment-interactive-control-hover: #043A1E;
267
+ --color-sentiment-interactive-control-active: #022614;
268
+ --color-sentiment-background-surface: #054D28;
269
+ --color-sentiment-background-surface-hover: #043A1E;
270
+ --color-sentiment-background-surface-active: #022614;
271
271
  }
272
272
  .np-theme-personal--dark.wds-sentiment-surface-success-elevated,
273
273
  .np-theme-business--dark.wds-sentiment-surface-success-elevated,
@@ -448,18 +448,18 @@
448
448
  --color-sentiment-interactive-primary: #E0F7F7;
449
449
  --color-sentiment-interactive-primary-hover: #CAF1F1;
450
450
  --color-sentiment-interactive-primary-active: #B6ECEC;
451
- --color-sentiment-interactive-secondary: #0B312F;
452
- --color-sentiment-interactive-secondary-hover: #124F4C;
453
- --color-sentiment-interactive-secondary-active: #176460;
454
- --color-sentiment-interactive-secondary-neutral: #174E4D;
455
- --color-sentiment-interactive-secondary-neutral-hover: #1D6261;
456
- --color-sentiment-interactive-secondary-neutral-active: #237675;
457
- --color-sentiment-interactive-control: #0B312F;
458
- --color-sentiment-interactive-control-hover: #124F4C;
459
- --color-sentiment-interactive-control-active: #176460;
460
- --color-sentiment-background-surface: #0B312F;
461
- --color-sentiment-background-surface-hover: #124F4C;
462
- --color-sentiment-background-surface-active: #176460;
451
+ --color-sentiment-interactive-secondary: #054D4D;
452
+ --color-sentiment-interactive-secondary-hover: #043A3A;
453
+ --color-sentiment-interactive-secondary-active: #022626;
454
+ --color-sentiment-interactive-secondary-neutral: #1F6161;
455
+ --color-sentiment-interactive-secondary-neutral-hover: #247070;
456
+ --color-sentiment-interactive-secondary-neutral-active: #298080;
457
+ --color-sentiment-interactive-control: #054D4D;
458
+ --color-sentiment-interactive-control-hover: #043A3A;
459
+ --color-sentiment-interactive-control-active: #022626;
460
+ --color-sentiment-background-surface: #054D4D;
461
+ --color-sentiment-background-surface-hover: #043A3A;
462
+ --color-sentiment-background-surface-active: #022626;
463
463
  }
464
464
  .np-theme-personal--dark.wds-sentiment-surface-proposition-elevated,
465
465
  .np-theme-business--dark.wds-sentiment-surface-proposition-elevated,
@@ -518,6 +518,15 @@
518
518
  --Button-background-hover: var(--color-sentiment-interactive-primary-hover);
519
519
  --Button-background-active: var(--color-sentiment-interactive-primary-active);
520
520
  }
521
+ .critical-comms .wds-Button[class] {
522
+ color: var(--Button-color);
523
+ }
524
+ .critical-comms .wds-Button[class]:hover {
525
+ color: var(--Button-color-hover);
526
+ }
527
+ .critical-comms .wds-Button[class]:active {
528
+ color: var(--Button-color-active);
529
+ }
521
530
  .critical-comms .alert-warning .wds-Button {
522
531
  --Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
523
532
  --Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
@@ -30,15 +30,21 @@ import closeBtnMessages from '../common/closeButton/CloseButton.messages';
30
30
  const TRANSITION_DURATION_IN_MILLISECONDS = 150;
31
31
 
32
32
  export type ModalProps = CommonProps & {
33
+ /** @default null */
33
34
  title?: ReactNode;
34
35
  body: ReactNode;
36
+ /** @default null */
35
37
  footer?: ReactNode;
38
+ /** @default 'md' */
36
39
  size?: SizeSmall | SizeMedium | SizeLarge | SizeExtraLarge;
37
40
  onClose: () => void;
38
41
  onUnmount?: () => void;
39
42
  open: boolean;
43
+ /** @default 'viewport' */
40
44
  scroll?: ScrollContent | ScrollViewport;
45
+ /** @default 'center' */
41
46
  position?: PositionTop | PositionCenter;
47
+ /** @default false */
42
48
  disableDimmerClickToClose?: boolean;
43
49
  };
44
50
 
@@ -9,7 +9,7 @@ import { OptionProps, ReferenceType } from '../common/Option/Option';
9
9
  export type NavigationOptionProps = OptionProps;
10
10
 
11
11
  /**
12
- * @deprecated Please use `<ListItem />` instead.
12
+ * @deprecated Use `<ListItem />` instead.
13
13
  * @deprecatedSince 46.104.0
14
14
  * @see [Source](../listItem/ListItem.tsx)
15
15
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
@@ -6,7 +6,7 @@ export interface NavigationOptionListProps {
6
6
  }
7
7
 
8
8
  /**
9
- * @deprecated Please use `<List />` and `<ListItem />` instead.
9
+ * @deprecated Use `<List />` and `<ListItem />` instead.
10
10
  * @deprecatedSince 46.104.0
11
11
  * @see [List source](../list/List.tsx)
12
12
  * @see [ListItem source](../listItem/ListItem.tsx)
@@ -46,7 +46,7 @@ type MediaNameType =
46
46
  | `${Assets.BACKPACK}`;
47
47
 
48
48
  type BaseProps = {
49
- /** @deprecated use `mediaName` property instead */
49
+ /** @deprecated Use `mediaName` property instead. */
50
50
  media?: ReactNode;
51
51
  /** Media name */
52
52
  mediaName?: MediaNameType;
@@ -31,11 +31,17 @@ export interface PhoneNumberInputProps {
31
31
  onFocus?: React.FocusEventHandler<HTMLInputElement>;
32
32
  onBlur?: () => void;
33
33
  countryCode?: string;
34
+ /** @default 'Prefix' */
34
35
  searchPlaceholder?: string;
36
+ /** @default 'md' */
35
37
  size?: SizeSmall | SizeMedium | SizeLarge;
36
38
  placeholder?: string;
39
+ /** @default {} */
37
40
  selectProps?: Partial<SelectInputProps<string | null>>;
38
- /** List of iso3 codes of countries to remove from the list */
41
+ /**
42
+ * List of iso3 codes of countries to remove from the list
43
+ * @default []
44
+ */
39
45
  disabledCountries?: readonly string[];
40
46
  }
41
47
 
@@ -26,6 +26,7 @@ export interface PopoverProps {
26
26
  title?: React.ReactNode;
27
27
  /** Screen-reader-friendly title. Must be provided if `title` prop is not set. */
28
28
  'aria-label'?: string;
29
+ /** @default 'right' */
29
30
  preferredPlacement?: PopoverPreferredPlacement;
30
31
  content: React.ReactNode;
31
32
  onClose?: () => void;
@@ -11,7 +11,9 @@ export type ProcessIndicatorStatus =
11
11
  `${Status.PROCESSING | Status.FAILED | Status.SUCCEEDED | Status.HIDDEN}`;
12
12
 
13
13
  export interface ProcessIndicatorProps {
14
+ /** @default 'processing' */
14
15
  status?: ProcessIndicatorStatus;
16
+ /** @default 'sm' */
15
17
  size?: 'xxs' | `${Size.EXTRA_SMALL | Size.SMALL | Size.EXTRA_LARGE}`;
16
18
  className?: string;
17
19
  'data-testid'?: string;
@@ -16,6 +16,7 @@ import { useScreenSize } from '../../common/hooks/useScreenSize';
16
16
  export type ActionPromptProps = {
17
17
  title: ReactNode;
18
18
  description?: ReactNode;
19
+ /** @default {} */
19
20
  media?: {
20
21
  imgSrc?: string;
21
22
  avatar?: Pick<AvatarViewProps, 'imgSrc' | 'profileName' | 'profileType'> & {
@@ -32,7 +33,13 @@ export type ActionPromptProps = {
32
33
  label: ButtonProps['children'];
33
34
  };
34
35
  'aria-label'?: AriaAttributes['aria-label'];
35
- } & Pick<PrimitivePromptProps, 'id' | 'className' | 'data-testid' | 'sentiment' | 'onDismiss'>;
36
+ } & Pick<PrimitivePromptProps, 'id' | 'className' | 'data-testid' | 'onDismiss'> & {
37
+ /**
38
+ * The sentiment determines the colour scheme
39
+ * @default 'neutral'
40
+ */
41
+ sentiment?: PrimitivePromptProps['sentiment'];
42
+ };
36
43
 
37
44
  /**
38
45
  * Use an action prompt for optional feedback that doesn't require immediate action, such as feature upsells, warnings, or suggestions. These prompts are typically used outside of core product flows (e.g., Launchpad, Recipient, or Transaction screens) and can be addressed at the user's convenience.
@@ -9,6 +9,7 @@ import { PrimitivePrompt } from '../PrimitivePrompt';
9
9
  export type InlinePromptProps = {
10
10
  /**
11
11
  * The sentiment determines the colour scheme
12
+ * @default Sentiment.POSITIVE
12
13
  */
13
14
  sentiment?:
14
15
  | `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`
@@ -17,7 +17,7 @@ export interface RadioOptionProps<T extends string | number = string>
17
17
  }
18
18
 
19
19
  /**
20
- * @deprecated Please use `<ListItem />` instead.
20
+ * @deprecated Use `<ListItem />` instead.
21
21
  * @deprecatedSince 46.104.0
22
22
  * @see [Source](../listItem/ListItem.tsx)
23
23
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
@@ -106,7 +106,9 @@ export interface SelectProps {
106
106
  inverse?: boolean;
107
107
  dropdownRight?: `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE | Size.EXTRA_LARGE}`;
108
108
  dropdownWidth?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;
109
+ /** @default 'md' */
109
110
  size?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;
111
+ /** @default true */
110
112
  block?: boolean;
111
113
  selected?: SelectOptionItem;
112
114
  /**
@@ -116,8 +118,10 @@ export interface SelectProps {
116
118
  */
117
119
  search?: boolean | ((option: SelectItemWithPlaceholder, searchValue: string) => boolean);
118
120
  options: SelectItem[];
121
+ /** @default '' */
119
122
  searchValue?: string;
120
123
  searchPlaceholder?: string;
124
+ /** @default {} */
121
125
  classNames?: Record<string, string>;
122
126
  dropdownUp?: boolean;
123
127
  buttonProps?: Extract<ButtonProps, { as?: 'button' }>;
@@ -226,12 +226,12 @@
226
226
  .np-theme-platform.wds-sentiment-surface-success-elevated,
227
227
  .np-theme-personal--bright-green.wds-sentiment-surface-success-elevated,
228
228
  .np-theme-business--bright-green.wds-sentiment-surface-success-elevated {
229
- --color-sentiment-content-primary: #E2F6D5;
230
- --color-sentiment-content-primary-hover: #D3F2C0;
231
- --color-sentiment-content-primary-active: #C5EDAB;
232
- --color-sentiment-interactive-primary: #E2F6D5;
233
- --color-sentiment-interactive-primary-hover: #D3F2C0;
234
- --color-sentiment-interactive-primary-active: #C5EDAB;
229
+ --color-sentiment-content-primary: #CEF1B8;
230
+ --color-sentiment-content-primary-hover: #E0FFCC;
231
+ --color-sentiment-content-primary-active: #E1F4D4;
232
+ --color-sentiment-interactive-primary: #CEF1B8;
233
+ --color-sentiment-interactive-primary-hover: #E0FFCC;
234
+ --color-sentiment-interactive-primary-active: #E1F4D4;
235
235
  --color-sentiment-interactive-secondary: #054D28;
236
236
  --color-sentiment-interactive-secondary-hover: #043A1E;
237
237
  --color-sentiment-interactive-secondary-active: #022614;
@@ -250,24 +250,24 @@
250
250
  .np-theme-personal--forest-green.wds-sentiment-surface-success-base,
251
251
  .np-theme-business--forest-green.wds-sentiment-surface-success-base,
252
252
  .np-theme-platform--forest-green.wds-sentiment-surface-success-base {
253
- --color-sentiment-content-primary: #BAE5A0;
254
- --color-sentiment-content-primary-hover: #C8EAB3;
255
- --color-sentiment-content-primary-active: #D6F0C7;
256
- --color-sentiment-interactive-primary: #BAE5A0;
257
- --color-sentiment-interactive-primary-hover: #C8EAB3;
258
- --color-sentiment-interactive-primary-active: #D6F0C7;
259
- --color-sentiment-interactive-secondary: #252C20;
260
- --color-sentiment-interactive-secondary-hover: #323B2B;
261
- --color-sentiment-interactive-secondary-active: #3E4A36;
262
- --color-sentiment-interactive-secondary-neutral: #37422F;
263
- --color-sentiment-interactive-secondary-neutral-hover: #46533B;
264
- --color-sentiment-interactive-secondary-neutral-active: #546548;
265
- --color-sentiment-interactive-control: #252C20;
266
- --color-sentiment-interactive-control-hover: #323B2B;
267
- --color-sentiment-interactive-control-active: #3E4A36;
268
- --color-sentiment-background-surface: #252C20;
269
- --color-sentiment-background-surface-hover: #323B2B;
270
- --color-sentiment-background-surface-active: #3E4A36;
253
+ --color-sentiment-content-primary: #CEF1B8;
254
+ --color-sentiment-content-primary-hover: #E0FFCC;
255
+ --color-sentiment-content-primary-active: #E1F4D4;
256
+ --color-sentiment-interactive-primary: #CEF1B8;
257
+ --color-sentiment-interactive-primary-hover: #E0FFCC;
258
+ --color-sentiment-interactive-primary-active: #E1F4D4;
259
+ --color-sentiment-interactive-secondary: #054D28;
260
+ --color-sentiment-interactive-secondary-hover: #043A1E;
261
+ --color-sentiment-interactive-secondary-active: #022614;
262
+ --color-sentiment-interactive-secondary-neutral: #256A43;
263
+ --color-sentiment-interactive-secondary-neutral-hover: #2A794C;
264
+ --color-sentiment-interactive-secondary-neutral-active: #329057;
265
+ --color-sentiment-interactive-control: #054D28;
266
+ --color-sentiment-interactive-control-hover: #043A1E;
267
+ --color-sentiment-interactive-control-active: #022614;
268
+ --color-sentiment-background-surface: #054D28;
269
+ --color-sentiment-background-surface-hover: #043A1E;
270
+ --color-sentiment-background-surface-active: #022614;
271
271
  }
272
272
  .np-theme-personal--dark.wds-sentiment-surface-success-elevated,
273
273
  .np-theme-business--dark.wds-sentiment-surface-success-elevated,
@@ -448,18 +448,18 @@
448
448
  --color-sentiment-interactive-primary: #E0F7F7;
449
449
  --color-sentiment-interactive-primary-hover: #CAF1F1;
450
450
  --color-sentiment-interactive-primary-active: #B6ECEC;
451
- --color-sentiment-interactive-secondary: #0B312F;
452
- --color-sentiment-interactive-secondary-hover: #124F4C;
453
- --color-sentiment-interactive-secondary-active: #176460;
454
- --color-sentiment-interactive-secondary-neutral: #174E4D;
455
- --color-sentiment-interactive-secondary-neutral-hover: #1D6261;
456
- --color-sentiment-interactive-secondary-neutral-active: #237675;
457
- --color-sentiment-interactive-control: #0B312F;
458
- --color-sentiment-interactive-control-hover: #124F4C;
459
- --color-sentiment-interactive-control-active: #176460;
460
- --color-sentiment-background-surface: #0B312F;
461
- --color-sentiment-background-surface-hover: #124F4C;
462
- --color-sentiment-background-surface-active: #176460;
451
+ --color-sentiment-interactive-secondary: #054D4D;
452
+ --color-sentiment-interactive-secondary-hover: #043A3A;
453
+ --color-sentiment-interactive-secondary-active: #022626;
454
+ --color-sentiment-interactive-secondary-neutral: #1F6161;
455
+ --color-sentiment-interactive-secondary-neutral-hover: #247070;
456
+ --color-sentiment-interactive-secondary-neutral-active: #298080;
457
+ --color-sentiment-interactive-control: #054D4D;
458
+ --color-sentiment-interactive-control-hover: #043A3A;
459
+ --color-sentiment-interactive-control-active: #022626;
460
+ --color-sentiment-background-surface: #054D4D;
461
+ --color-sentiment-background-surface-hover: #043A3A;
462
+ --color-sentiment-background-surface-active: #022626;
463
463
  }
464
464
  .np-theme-personal--dark.wds-sentiment-surface-proposition-elevated,
465
465
  .np-theme-business--dark.wds-sentiment-surface-proposition-elevated,