@transferwise/components 46.149.2 → 46.151.0

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 (159) hide show
  1. package/build/avatar/Avatar.js.map +1 -1
  2. package/build/avatar/Avatar.mjs.map +1 -1
  3. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  4. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  5. package/build/card/Card.js.map +1 -1
  6. package/build/card/Card.mjs.map +1 -1
  7. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  8. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  9. package/build/index.js +17 -14
  10. package/build/index.js.map +1 -1
  11. package/build/index.mjs +9 -8
  12. package/build/index.mjs.map +1 -1
  13. package/build/inlineAlert/InlineAlert.js.map +1 -1
  14. package/build/inlineAlert/InlineAlert.mjs.map +1 -1
  15. package/build/main.css +155 -12
  16. package/build/navigationOption/NavigationOption.js.map +1 -1
  17. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  18. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  19. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  20. package/build/select/Select.js.map +1 -1
  21. package/build/select/Select.mjs.map +1 -1
  22. package/build/styles/css/neptune.css +0 -11
  23. package/build/styles/main.css +155 -12
  24. package/build/styles/pocketSurface/PocketSurface.css +163 -0
  25. package/build/styles/sentimentSurface/SentimentSurface.css +0 -1
  26. package/build/styles/styles/less/neptune.css +0 -11
  27. package/build/types/avatar/Avatar.d.ts +9 -0
  28. package/build/types/avatar/Avatar.d.ts.map +1 -1
  29. package/build/types/avatar/index.d.ts +1 -1
  30. package/build/types/avatar/index.d.ts.map +1 -1
  31. package/build/types/avatarWrapper/AvatarWrapper.d.ts +3 -0
  32. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -1
  33. package/build/types/avatarWrapper/index.d.ts +2 -2
  34. package/build/types/avatarWrapper/index.d.ts.map +1 -1
  35. package/build/types/button/Button.types.d.ts +1 -1
  36. package/build/types/button/Button.types.d.ts.map +1 -1
  37. package/build/types/button/index.d.ts +2 -2
  38. package/build/types/button/index.d.ts.map +1 -1
  39. package/build/types/card/Card.d.ts +3 -0
  40. package/build/types/card/Card.d.ts.map +1 -1
  41. package/build/types/carousel/index.d.ts +1 -1
  42. package/build/types/carousel/index.d.ts.map +1 -1
  43. package/build/types/checkboxButton/index.d.ts +1 -0
  44. package/build/types/checkboxButton/index.d.ts.map +1 -1
  45. package/build/types/checkboxOption/index.d.ts +1 -0
  46. package/build/types/checkboxOption/index.d.ts.map +1 -1
  47. package/build/types/chevron/index.d.ts +1 -0
  48. package/build/types/chevron/index.d.ts.map +1 -1
  49. package/build/types/chips/index.d.ts +2 -0
  50. package/build/types/chips/index.d.ts.map +1 -1
  51. package/build/types/common/Option/index.d.ts +1 -0
  52. package/build/types/common/Option/index.d.ts.map +1 -1
  53. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +6 -0
  54. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  55. package/build/types/criticalBanner/index.d.ts +1 -1
  56. package/build/types/criticalBanner/index.d.ts.map +1 -1
  57. package/build/types/decision/index.d.ts +1 -0
  58. package/build/types/decision/index.d.ts.map +1 -1
  59. package/build/types/definitionList/index.d.ts +1 -1
  60. package/build/types/definitionList/index.d.ts.map +1 -1
  61. package/build/types/expressiveMoneyInput/index.d.ts +1 -1
  62. package/build/types/expressiveMoneyInput/index.d.ts.map +1 -1
  63. package/build/types/index.d.ts +34 -19
  64. package/build/types/index.d.ts.map +1 -1
  65. package/build/types/inlineAlert/InlineAlert.d.ts +3 -0
  66. package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -1
  67. package/build/types/inlineAlert/index.d.ts +1 -0
  68. package/build/types/inlineAlert/index.d.ts.map +1 -1
  69. package/build/types/instructionsList/index.d.ts +1 -1
  70. package/build/types/instructionsList/index.d.ts.map +1 -1
  71. package/build/types/listItem/ListItem.d.ts +1 -1
  72. package/build/types/logo/index.d.ts +2 -1
  73. package/build/types/logo/index.d.ts.map +1 -1
  74. package/build/types/navigationOption/NavigationOption.d.ts +3 -0
  75. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
  76. package/build/types/navigationOption/index.d.ts +1 -0
  77. package/build/types/navigationOption/index.d.ts.map +1 -1
  78. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +3 -0
  79. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
  80. package/build/types/nudge/index.d.ts +1 -0
  81. package/build/types/nudge/index.d.ts.map +1 -1
  82. package/build/types/phoneNumberInput/index.d.ts +1 -0
  83. package/build/types/phoneNumberInput/index.d.ts.map +1 -1
  84. package/build/types/pocketSurface/PocketSurface.d.ts +4 -0
  85. package/build/types/pocketSurface/PocketSurface.d.ts.map +1 -0
  86. package/build/types/pocketSurface/PocketSurface.types.d.ts +19 -0
  87. package/build/types/pocketSurface/PocketSurface.types.d.ts.map +1 -0
  88. package/build/types/pocketSurface/index.d.ts +3 -0
  89. package/build/types/pocketSurface/index.d.ts.map +1 -0
  90. package/build/types/promoCard/index.d.ts +2 -0
  91. package/build/types/promoCard/index.d.ts.map +1 -1
  92. package/build/types/select/Select.d.ts +3 -0
  93. package/build/types/select/Select.d.ts.map +1 -1
  94. package/build/types/snackbar/index.d.ts +2 -0
  95. package/build/types/snackbar/index.d.ts.map +1 -1
  96. package/build/types/statusIcon/index.d.ts +1 -1
  97. package/build/types/statusIcon/index.d.ts.map +1 -1
  98. package/build/types/table/index.d.ts +4 -3
  99. package/build/types/table/index.d.ts.map +1 -1
  100. package/build/types/tabs/index.d.ts +3 -0
  101. package/build/types/tabs/index.d.ts.map +1 -1
  102. package/build/types/tile/index.d.ts +1 -0
  103. package/build/types/tile/index.d.ts.map +1 -1
  104. package/build/types/uploadInput/index.d.ts +1 -0
  105. package/build/types/uploadInput/index.d.ts.map +1 -1
  106. package/package.json +2 -2
  107. package/src/avatar/Avatar.tsx +9 -2
  108. package/src/avatar/index.ts +1 -1
  109. package/src/avatarWrapper/AvatarWrapper.tsx +3 -0
  110. package/src/avatarWrapper/index.ts +2 -3
  111. package/src/button/Button.types.ts +1 -1
  112. package/src/button/index.ts +14 -2
  113. package/src/card/Card.tsx +3 -0
  114. package/src/carousel/index.ts +7 -1
  115. package/src/checkboxButton/index.ts +2 -0
  116. package/src/checkboxOption/index.ts +2 -0
  117. package/src/chevron/index.ts +2 -0
  118. package/src/chips/index.ts +3 -0
  119. package/src/common/Option/index.ts +1 -0
  120. package/src/criticalBanner/CriticalCommsBanner.tsx +6 -0
  121. package/src/criticalBanner/index.ts +1 -1
  122. package/src/decision/index.ts +2 -0
  123. package/src/definitionList/index.ts +1 -1
  124. package/src/expressiveMoneyInput/index.ts +1 -1
  125. package/src/index.ts +66 -18
  126. package/src/inlineAlert/InlineAlert.tsx +3 -0
  127. package/src/inlineAlert/index.ts +2 -0
  128. package/src/instructionsList/index.ts +1 -1
  129. package/src/logo/index.ts +2 -1
  130. package/src/main.css +155 -12
  131. package/src/main.less +1 -0
  132. package/src/navigationOption/NavigationOption.tsx +3 -0
  133. package/src/navigationOption/index.ts +2 -0
  134. package/src/navigationOptionsList/NavigationOptionsList.tsx +3 -0
  135. package/src/nudge/index.ts +2 -0
  136. package/src/phoneNumberInput/index.ts +2 -0
  137. package/src/pocketSurface/PocketSurface.css +163 -0
  138. package/src/pocketSurface/PocketSurface.docs.mdx +64 -0
  139. package/src/pocketSurface/PocketSurface.less +6 -0
  140. package/src/pocketSurface/PocketSurface.story.tsx +278 -0
  141. package/src/pocketSurface/PocketSurface.test.tsx +107 -0
  142. package/src/pocketSurface/PocketSurface.tsx +41 -0
  143. package/src/pocketSurface/PocketSurface.types.ts +37 -0
  144. package/src/pocketSurface/index.ts +7 -0
  145. package/src/promoCard/index.ts +8 -0
  146. package/src/select/Select.tsx +3 -0
  147. package/src/sentimentSurface/SentimentSurface.css +0 -1
  148. package/src/snackbar/index.ts +3 -0
  149. package/src/ssr.test.tsx +6 -3
  150. package/src/statusIcon/index.ts +1 -1
  151. package/src/styles/less/neptune.css +0 -11
  152. package/src/table/index.ts +5 -2
  153. package/src/tabs/index.ts +3 -0
  154. package/src/tile/index.ts +1 -0
  155. package/src/uploadInput/index.ts +2 -0
  156. package/build/avatarWrapper/index.js +0 -10
  157. package/build/avatarWrapper/index.js.map +0 -1
  158. package/build/avatarWrapper/index.mjs +0 -6
  159. package/build/avatarWrapper/index.mjs.map +0 -1
@@ -1 +1,3 @@
1
1
  export { default } from './CheckboxOption';
2
+
3
+ export type { CheckboxOptionProps } from './CheckboxOption';
@@ -1 +1,3 @@
1
1
  export { default } from './Chevron';
2
+
3
+ export type { ChevronProps, ExtraSmallChevronProps } from './Chevron';
@@ -1,2 +1,5 @@
1
1
  export { default } from './Chips';
2
2
  export { default as Chip } from './Chip';
3
+
4
+ export type { ChipValue, Chip as ChipType, ChipsProps } from './Chips';
5
+ export type { Props as ChipProps } from './Chip';
@@ -1 +1,2 @@
1
1
  export { default } from './Option';
2
+ export type { OptionProps } from './Option';
@@ -7,11 +7,17 @@ import { Sentiment } from '../common';
7
7
  import Circle, { CircleProps } from '../common/circle';
8
8
  import SentimentSurface from '../sentimentSurface';
9
9
 
10
+ /**
11
+ * @deprecated Use CriticalBanner and associated typings
12
+ */
10
13
  export type CriticalCommsBannerSentiment =
11
14
  | `${Sentiment.WARNING}`
12
15
  | `${Sentiment.NEGATIVE}`
13
16
  | `${Sentiment.NEUTRAL}`;
14
17
 
18
+ /**
19
+ * @deprecated Use CriticalBanner and associated typings
20
+ */
15
21
  export type CriticalCommsBannerProps = {
16
22
  title: string;
17
23
  subtitle?: string;
@@ -1,2 +1,2 @@
1
1
  export { default } from './CriticalCommsBanner';
2
- export type { CriticalCommsBannerProps } from './CriticalCommsBanner';
2
+ export type { CriticalCommsBannerProps, CriticalCommsBannerSentiment } from './CriticalCommsBanner';
@@ -1 +1,3 @@
1
1
  export { default, DecisionPresentation, DecisionType } from './Decision';
2
+
3
+ export type { DecisionProps } from './Decision';
@@ -1,2 +1,2 @@
1
1
  export { default } from './DefinitionList';
2
- export type { DefinitionListProps, DefinitionListDefinition } from './DefinitionList';
2
+ export type { DefinitionListProps, DefinitionListDefinition, DefinitionListLayout } from './DefinitionList';
@@ -1,2 +1,2 @@
1
- export type { Props as ExpressiveMoneyInputProps } from './ExpressiveMoneyInput';
1
+ export type { Props as ExpressiveMoneyInputProps, CurrencyType } from './ExpressiveMoneyInput';
2
2
  export { default } from './ExpressiveMoneyInput';
package/src/index.ts CHANGED
@@ -4,19 +4,39 @@
4
4
  * Types
5
5
  */
6
6
  export type { ContainerProps } from './container';
7
- export type { LogoProps } from './logo';
7
+ export type { LogoProps, LogoSize, LogoAssetName } from './logo';
8
8
  export type { FlowNavigationProps } from './flowNavigation';
9
9
  export type { AccordionItem, AccordionProps } from './accordion';
10
10
  export type { ActionOptionProps } from './actionOption';
11
11
  export type { AlertAction, AlertProps, AlertType } from './alert';
12
- export type { AvatarProps } from './avatar';
12
+ export type { AvatarProps, AvatarSize, AvatarTheme } from './avatar';
13
13
  export type { AvatarViewProps } from './avatarView';
14
14
  export type { AvatarLayoutProps } from './avatarLayout';
15
- export type { BadgeProps } from './badge';
16
- export type { NewButtonProps as ButtonProps } from './button';
15
+ export type { AvatarWrapperProps } from './avatarWrapper';
16
+ export type { BadgeProps, BadgeAssetsProps } from './badge';
17
+ export type {
18
+ NewButtonProps as ButtonProps,
19
+ ButtonPriority,
20
+ ButtonSize,
21
+ ButtonSentiment,
22
+ ButtonReferenceType,
23
+ ButtonAddonIcon,
24
+ ButtonAddonAvatar,
25
+ ButtonProps as LegacyButtonProps,
26
+ AnchorElementProps,
27
+ } from './button';
17
28
  export type { CardProps } from './card';
18
- export type { CarouselProps } from './carousel';
29
+ export type {
30
+ CarouselProps,
31
+ CarouselCard,
32
+ CarouselDefaultCard,
33
+ CarouselPromoCard,
34
+ } from './carousel';
19
35
  export type { CheckboxProps } from './checkbox';
36
+ export type { CheckboxButtonProps } from './checkboxButton';
37
+ export type { CheckboxOptionProps } from './checkboxOption';
38
+ export type { ChipValue, ChipType, ChipsProps, ChipProps } from './chips';
39
+ export type { ChevronProps, ExtraSmallChevronProps } from './chevron';
20
40
  export type { CircularButtonProps } from './circularButton';
21
41
  export type {
22
42
  BodyTypes,
@@ -30,8 +50,12 @@ export type { BottomSheetProps } from './common/bottomSheet';
30
50
  export type { DateInputProps } from './dateInput';
31
51
  export type { DateLookupProps } from './dateLookup';
32
52
  export type { CalendarProps } from './calendar';
33
- export type { DecisionProps } from './decision/Decision';
34
- export type { DefinitionListProps, DefinitionListDefinition } from './definitionList';
53
+ export type { DecisionProps } from './decision';
54
+ export type {
55
+ DefinitionListProps,
56
+ DefinitionListDefinition,
57
+ DefinitionListLayout,
58
+ } from './definitionList';
35
59
  export type { DimmerProps } from './dimmer';
36
60
  export type { DrawerProps } from './drawer';
37
61
  export type { DividerProps } from './divider';
@@ -41,6 +65,7 @@ export type { FieldProps } from './field/Field';
41
65
  export type { InfoProps } from './info';
42
66
  export type { InlinePromptProps, ActionPromptProps, CriticalBannerProps } from './prompt';
43
67
  export type { InfoPromptProps, InfoPromptAction, InfoPromptMedia } from './prompt';
68
+ export type { InlineAlertProps } from './inlineAlert';
44
69
  export type { InputWithDisplayFormatProps } from './inputWithDisplayFormat';
45
70
  export type { InputProps } from './inputs/Input';
46
71
  export type { InputGroupProps } from './inputs/InputGroup';
@@ -68,21 +93,30 @@ export type {
68
93
  CurrencyOptionItem,
69
94
  MoneyInputProps,
70
95
  } from './moneyInput';
71
- export type { ExpressiveMoneyInputProps } from './expressiveMoneyInput';
96
+ export type { ExpressiveMoneyInputProps, CurrencyType } from './expressiveMoneyInput';
72
97
  export type { NavigationOptionListProps } from './navigationOptionsList';
73
- export type { NavigationOptionProps } from './navigationOption/NavigationOption';
98
+ export type { NavigationOptionProps } from './navigationOption';
99
+ export type { NudgeProps, NudgeOptionalId, NudgeRequiredPersistProps } from './nudge';
74
100
  export type { OverlayHeaderProps } from './overlayHeader';
101
+ export type { OptionProps } from './common/Option';
75
102
  export type { PanelProps } from './common/panel';
76
- export type { PhoneNumberInputProps } from './phoneNumberInput/PhoneNumberInput';
77
- export type { PopoverProps } from './popover';
103
+ export type { PhoneNumberInputProps } from './phoneNumberInput';
104
+ export type { PopoverProps, PopoverPreferredPlacement } from './popover';
78
105
  export type { ProcessIndicatorProps, ProcessIndicatorStatus } from './processIndicator';
79
106
  export type { ProgressProps } from './progress';
80
107
  export type { ProgressBarProps } from './progressBar';
108
+ export type {
109
+ PromoCardCommonProps,
110
+ PromoCardLinkProps,
111
+ PromoCardCheckedProps,
112
+ PromoCardProps,
113
+ } from './promoCard';
114
+ export type { PromoCardGroupProps } from './promoCard';
81
115
  export type { DirectionProviderProps, LanguageProviderProps, ProviderProps } from './provider';
82
116
  export type { RadioProps } from './radio';
83
117
  export type { RadioGroupProps, RadioGroupRadio } from './radioGroup';
84
118
  export type { RadioOptionProps } from './radioOption';
85
- export type { SegmentedControlProps } from './segmentedControl';
119
+ export type { SegmentedControlProps, Segments } from './segmentedControl';
86
120
  export type {
87
121
  SelectItem,
88
122
  SelectItemWithPlaceholder,
@@ -90,32 +124,45 @@ export type {
90
124
  SelectProps,
91
125
  } from './select';
92
126
  export type { SlidingPanelProps } from './slidingPanel';
93
- export type { SnackbarProps } from './snackbar/Snackbar';
127
+ export type { SnackbarProps, SnackbarProviderProps } from './snackbar';
94
128
  export type { SnackbarContextType } from './snackbar/SnackbarContext';
95
- export type { StatusIconProps } from './statusIcon';
129
+ export type { StatusIconProps, StatusIconSentiment } from './statusIcon';
96
130
  export type { StickyProps } from './sticky';
97
131
  export type { SummaryProps } from './summary';
98
- export type { SentimentSurfaceProps } from './sentimentSurface';
132
+ export type {
133
+ SentimentSurfaceProps,
134
+ SentimentSurfaceComponent,
135
+ Sentiment as SurfaceSentiment,
136
+ } from './sentimentSurface';
99
137
  export type { SwitchProps } from './switch';
100
138
  export type { SwitchOptionProps } from './switchOption';
101
- export type { TabItem, TabsProps } from './tabs';
139
+ export type { TabItem, TabsProps, TabProps, TabListProps, TabPanelProps } from './tabs';
102
140
  export type { TextareaWithDisplayFormatProps } from './textareaWithDisplayFormat';
141
+ export type { TileProps } from './tile';
103
142
  export type { TooltipProps } from './tooltip';
104
143
  export type { TypeaheadOption, TypeaheadProps } from './typeahead';
105
144
  export type { UploadProps } from './upload';
106
145
  export type { UploadError, UploadResponse, UploadedFile } from './uploadInput/types';
146
+ export type { UploadInputProps } from './uploadInput';
107
147
  export type { WithIdProps } from './withId';
108
148
  export type { IconButtonProps } from './iconButton';
149
+ export type { ImageProps } from './image';
150
+ export type { ActionButtonProps } from './actionButton';
109
151
  export type {
110
152
  TableProps,
111
153
  TableRowType,
112
154
  TableRowClickableType,
155
+ TableRowProps,
113
156
  TableHeaderType,
157
+ TableHeaderProps,
114
158
  TableCellLeading,
115
159
  TableCellText,
116
160
  TableCellCurrency,
117
161
  TableCellStatus,
118
162
  TableCellType,
163
+ TableCellMedia,
164
+ TableCellProps,
165
+ TableStatusTextProps,
119
166
  } from './table';
120
167
  export type {
121
168
  ListItemProps,
@@ -144,7 +191,7 @@ export { default as Avatar } from './avatar';
144
191
  export { default as AvatarView } from './avatarView';
145
192
  export { default as AvatarLayout } from './avatarLayout';
146
193
  export { default as AvatarWrapper } from './avatarWrapper';
147
- export { default as Badge } from './badge';
194
+ export { default as Badge, BadgeAssets } from './badge';
148
195
  export { default as Body } from './body';
149
196
  export { default as Button } from './button';
150
197
  export { default as IconButton } from './iconButton';
@@ -161,7 +208,7 @@ export { default as Option } from './common/Option';
161
208
  export { default as BottomSheet } from './common/bottomSheet';
162
209
  export { default as BaseCard } from './common/baseCard';
163
210
  export { default as CriticalCommsBanner } from './criticalBanner';
164
- export type { CriticalCommsBannerProps } from './criticalBanner';
211
+ export type { CriticalCommsBannerProps, CriticalCommsBannerSentiment } from './criticalBanner';
165
212
  export { default as DateInput } from './dateInput';
166
213
  export { default as DateLookup } from './dateLookup';
167
214
  export { default as Calendar } from './calendar';
@@ -234,6 +281,7 @@ export { default as SwitchOption } from './switchOption';
234
281
  export { default as Tabs } from './tabs';
235
282
  export { default as TextareaWithDisplayFormat } from './textareaWithDisplayFormat';
236
283
  export { default as Title } from './title';
284
+ export { default as Tile } from './tile';
237
285
  export { default as Tooltip } from './tooltip';
238
286
  export { default as Typeahead } from './typeahead';
239
287
  export { default as Upload } from './upload';
@@ -5,6 +5,9 @@ import { Sentiment, Size } from '../common';
5
5
  import StatusIcon from '../statusIcon';
6
6
  import Body from '../body';
7
7
 
8
+ /**
9
+ * @deprecated Use InlinePrompt or Field and associated typings
10
+ */
8
11
  export interface InlineAlertProps {
9
12
  id?: string;
10
13
  type?: `${Sentiment}`;
@@ -1 +1,3 @@
1
1
  export { default } from './InlineAlert';
2
+
3
+ export type { InlineAlertProps } from './InlineAlert';
@@ -1,3 +1,3 @@
1
1
  export { default } from './InstructionsList';
2
2
 
3
- export * from './InstructionsList';
3
+ export type { InstructionsListProps } from './InstructionsList';
package/src/logo/index.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default, LogoType } from './Logo';
2
- export type { LogoProps } from './Logo';
2
+ export type { LogoProps, LogoSize } from './Logo';
3
+ export type { LogoAssetName } from './logo-assets';
package/src/main.css CHANGED
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Tue, 09 Jun 2026 08:11:03 GMT
4
3
  */
5
4
 
6
5
  :root {
@@ -144,7 +143,6 @@
144
143
 
145
144
  /**
146
145
  * Do not edit directly, this file was auto-generated.
147
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
148
146
  */
149
147
 
150
148
  .np-theme-personal {
@@ -328,7 +326,6 @@
328
326
 
329
327
  /**
330
328
  * Do not edit directly, this file was auto-generated.
331
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
332
329
  */
333
330
 
334
331
  .np-theme-personal--forest-green {
@@ -512,7 +509,6 @@
512
509
 
513
510
  /**
514
511
  * Do not edit directly, this file was auto-generated.
515
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
516
512
  */
517
513
 
518
514
  .np-theme-personal--bright-green {
@@ -696,7 +692,6 @@
696
692
 
697
693
  /**
698
694
  * Do not edit directly, this file was auto-generated.
699
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
700
695
  */
701
696
 
702
697
  .np-theme-personal--dark {
@@ -880,7 +875,6 @@
880
875
 
881
876
  /**
882
877
  * Do not edit directly, this file was auto-generated.
883
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
884
878
  */
885
879
 
886
880
  .np-theme-platform {
@@ -1064,7 +1058,6 @@
1064
1058
 
1065
1059
  /**
1066
1060
  * Do not edit directly, this file was auto-generated.
1067
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1068
1061
  */
1069
1062
 
1070
1063
  .np-theme-platform--forest-green {
@@ -1248,7 +1241,6 @@
1248
1241
 
1249
1242
  /**
1250
1243
  * Do not edit directly, this file was auto-generated.
1251
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1252
1244
  */
1253
1245
 
1254
1246
  .np-theme-business {
@@ -1433,7 +1425,6 @@
1433
1425
 
1434
1426
  /**
1435
1427
  * Do not edit directly, this file was auto-generated.
1436
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1437
1428
  */
1438
1429
 
1439
1430
  .np-theme-business--dark {
@@ -1618,7 +1609,6 @@
1618
1609
 
1619
1610
  /**
1620
1611
  * Do not edit directly, this file was auto-generated.
1621
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1622
1612
  */
1623
1613
 
1624
1614
  .np-theme-business--forest-green {
@@ -1803,7 +1793,6 @@
1803
1793
 
1804
1794
  /**
1805
1795
  * Do not edit directly, this file was auto-generated.
1806
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1807
1796
  */
1808
1797
 
1809
1798
  .np-theme-business--bright-green {
@@ -1990,7 +1979,6 @@
1990
1979
 
1991
1980
  /**
1992
1981
  * Do not edit directly, this file was auto-generated.
1993
- * Generated on Tue, 09 Jun 2026 08:11:04 GMT
1994
1982
  */
1995
1983
 
1996
1984
  .wds-sentiment-negative-light-base {
@@ -2433,6 +2421,154 @@
2433
2421
  --color-sentiment-border-overlay: rgba(58,53,35,0.30196);
2434
2422
  }
2435
2423
 
2424
+ /**
2425
+ * Do not edit directly, this file was auto-generated.
2426
+ */
2427
+
2428
+ .wds-pocket-bright-blue {
2429
+ --color-content-primary: #21231d;
2430
+ --color-content-secondary: #0d0e0c;
2431
+ --color-content-link: #21231d;
2432
+ --color-content-link-hover: #354040;
2433
+ --color-content-link-active: #4c5c5c;
2434
+ --color-interactive-primary: #21231d;
2435
+ --color-interactive-primary-hover: #354040;
2436
+ --color-interactive-primary-active: #4c5c5c;
2437
+ --color-interactive-accent: #21231d;
2438
+ --color-interactive-accent-hover: #354040;
2439
+ --color-interactive-accent-active: #4c5c5c;
2440
+ --color-interactive-control: #a0e1e1;
2441
+ --color-interactive-control-hover: #c5eded;
2442
+ --color-interactive-control-active: #c5eded;
2443
+ --color-background-screen: #a0e1e1;
2444
+ }
2445
+
2446
+ .wds-pocket-bright-orange {
2447
+ --color-content-primary: #260a2f;
2448
+ --color-content-secondary: #110415;
2449
+ --color-content-link: #260a2f;
2450
+ --color-content-link-hover: #360e43;
2451
+ --color-content-link-active: #471358;
2452
+ --color-interactive-primary: #260a2f;
2453
+ --color-interactive-primary-hover: #360e43;
2454
+ --color-interactive-primary-active: #471358;
2455
+ --color-interactive-accent: #260a2f;
2456
+ --color-interactive-accent-hover: #360e43;
2457
+ --color-interactive-accent-active: #471358;
2458
+ --color-interactive-control: #ffc091;
2459
+ --color-interactive-control-hover: #ffcda8;
2460
+ --color-interactive-control-active: #ffdcc2;
2461
+ --color-background-screen: #ffc091;
2462
+ }
2463
+
2464
+ .wds-pocket-bright-pink {
2465
+ --color-content-primary: #320707;
2466
+ --color-content-secondary: #160303;
2467
+ --color-content-link: #320707;
2468
+ --color-content-link-hover: #1f0404;
2469
+ --color-content-link-active: #0d0202;
2470
+ --color-interactive-primary: #320707;
2471
+ --color-interactive-primary-hover: #1f0404;
2472
+ --color-interactive-primary-active: #0d0202;
2473
+ --color-interactive-accent: #320707;
2474
+ --color-interactive-accent-hover: #1f0404;
2475
+ --color-interactive-accent-active: #0d0202;
2476
+ --color-interactive-control: #ffd7ef;
2477
+ --color-interactive-control-hover: #ffbde4;
2478
+ --color-interactive-control-active: #ffbde4;
2479
+ --color-background-screen: #ffd7ef;
2480
+ }
2481
+
2482
+ .wds-pocket-bright-yellow {
2483
+ --color-content-primary: #3a341c;
2484
+ --color-content-secondary: #110f08;
2485
+ --color-content-link: #3a341c;
2486
+ --color-content-link-hover: #1b190d;
2487
+ --color-content-link-active: #0a0a05;
2488
+ --color-interactive-primary: #3a341c;
2489
+ --color-interactive-primary-hover: #1b190d;
2490
+ --color-interactive-primary-active: #0a0a05;
2491
+ --color-interactive-accent: #3a341c;
2492
+ --color-interactive-accent-hover: #1b190d;
2493
+ --color-interactive-accent-active: #0a0a05;
2494
+ --color-interactive-control: #ffeb69;
2495
+ --color-interactive-control-hover: #ffef85;
2496
+ --color-interactive-control-active: #fff29e;
2497
+ --color-background-screen: #ffeb69;
2498
+ }
2499
+
2500
+ .wds-pocket-dark-charcoal {
2501
+ --color-content-primary: #a0e1e1;
2502
+ --color-content-secondary: #ecf9f9;
2503
+ --color-content-link: #a0e1e1;
2504
+ --color-content-link-hover: #77d4d4;
2505
+ --color-content-link-active: #51c8c8;
2506
+ --color-interactive-primary: #a0e1e1;
2507
+ --color-interactive-primary-hover: #77d4d4;
2508
+ --color-interactive-primary-active: #51c8c8;
2509
+ --color-interactive-accent: #a0e1e1;
2510
+ --color-interactive-accent-hover: #77d4d4;
2511
+ --color-interactive-accent-active: #51c8c8;
2512
+ --color-interactive-control: #21231d;
2513
+ --color-interactive-control-hover: #181915;
2514
+ --color-interactive-control-active: #0d0e0c;
2515
+ --color-background-screen: #21231d;
2516
+ }
2517
+
2518
+ .wds-pocket-dark-gold {
2519
+ --color-content-primary: #ffeb69;
2520
+ --color-content-secondary: #fffce5;
2521
+ --color-content-link: #ffeb69;
2522
+ --color-content-link-hover: #ffe538;
2523
+ --color-content-link-active: #ffde05;
2524
+ --color-interactive-primary: #ffeb69;
2525
+ --color-interactive-primary-hover: #ffe538;
2526
+ --color-interactive-primary-active: #ffde05;
2527
+ --color-interactive-accent: #ffeb69;
2528
+ --color-interactive-accent-hover: #ffe538;
2529
+ --color-interactive-accent-active: #ffde05;
2530
+ --color-interactive-control: #3a341c;
2531
+ --color-interactive-control-hover: #292514;
2532
+ --color-interactive-control-active: #18160c;
2533
+ --color-background-screen: #3a341c;
2534
+ }
2535
+
2536
+ .wds-pocket-dark-maroon {
2537
+ --color-content-primary: #ffd7ef;
2538
+ --color-content-secondary: #ffe5f5;
2539
+ --color-content-link: #ffd7ef;
2540
+ --color-content-link-hover: #ffe5f5;
2541
+ --color-content-link-active: #fff5fb;
2542
+ --color-interactive-primary: #ffd7ef;
2543
+ --color-interactive-primary-hover: #ffe5f5;
2544
+ --color-interactive-primary-active: #fff5fb;
2545
+ --color-interactive-accent: #ffd7ef;
2546
+ --color-interactive-accent-hover: #ffe5f5;
2547
+ --color-interactive-accent-active: #fff5fb;
2548
+ --color-interactive-control: #320707;
2549
+ --color-interactive-control-hover: #480a0a;
2550
+ --color-interactive-control-active: #5e0d0d;
2551
+ --color-background-screen: #320707;
2552
+ }
2553
+
2554
+ .wds-pocket-dark-purple {
2555
+ --color-content-primary: #ffc091;
2556
+ --color-content-secondary: #fff0e5;
2557
+ --color-content-link: #ffc091;
2558
+ --color-content-link-hover: #ffdcc2;
2559
+ --color-content-link-active: #fff9f5;
2560
+ --color-interactive-primary: #ffc091;
2561
+ --color-interactive-primary-hover: #ffdcc2;
2562
+ --color-interactive-primary-active: #fff9f5;
2563
+ --color-interactive-accent: #ffc091;
2564
+ --color-interactive-accent-hover: #ffdcc2;
2565
+ --color-interactive-accent-active: #fff9f5;
2566
+ --color-interactive-control: #260a2f;
2567
+ --color-interactive-control-hover: #360e43;
2568
+ --color-interactive-control-active: #471358;
2569
+ --color-background-screen: #260a2f;
2570
+ }
2571
+
2436
2572
  @font-face {
2437
2573
  font-family: Inter;
2438
2574
  font-style: normal;
@@ -25921,6 +26057,13 @@ a[data-toggle="tooltip"] {
25921
26057
  color: var(--color-sentiment-content-primary);
25922
26058
  }
25923
26059
 
26060
+ .wds-pocket-surface {
26061
+ background-color: #ffffff;
26062
+ background-color: var(--color-background-screen);
26063
+ color: #37517e;
26064
+ color: var(--color-content-primary);
26065
+ }
26066
+
25924
26067
  .wds-container {
25925
26068
  --wds-container-padding-inline: 16px;
25926
26069
  --wds-container-width-fluid: 100%;
package/src/main.less CHANGED
@@ -1,6 +1,7 @@
1
1
  @import "./styles/less/neptune.bundle.less";
2
2
 
3
3
  @import "./sentimentSurface/SentimentSurface.less";
4
+ @import "./pocketSurface/PocketSurface.less";
4
5
 
5
6
  @import "./container/Container.less";
6
7
  @import "./criticalBanner/CriticalCommsBanner.less";
@@ -6,6 +6,9 @@ import { Position } from '../common';
6
6
  import Option from '../common/Option';
7
7
  import { OptionProps, ReferenceType } from '../common/Option/Option';
8
8
 
9
+ /**
10
+ * @deprecated Use ListItem and associated typings
11
+ */
9
12
  export type NavigationOptionProps = OptionProps;
10
13
 
11
14
  /**
@@ -1 +1,3 @@
1
1
  export { default } from './NavigationOption';
2
+
3
+ export type { NavigationOptionProps } from './NavigationOption';
@@ -1,6 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { Children } from 'react';
3
3
 
4
+ /**
5
+ * @deprecated Use List and ListItem and associated typings
6
+ */
4
7
  export interface NavigationOptionListProps {
5
8
  children: React.ReactNode;
6
9
  }
@@ -1 +1,3 @@
1
1
  export { default } from './Nudge';
2
+
3
+ export type { Props as NudgeProps, OptionalId as NudgeOptionalId, RequiredPersistProps as NudgeRequiredPersistProps } from './Nudge';
@@ -1 +1,3 @@
1
1
  export { default } from './PhoneNumberInput';
2
+
3
+ export type { PhoneNumberInputProps } from './PhoneNumberInput';