@transferwise/components 46.149.2 → 46.150.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.
- package/build/avatar/Avatar.js.map +1 -1
- package/build/avatar/Avatar.mjs.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
- package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/index.js +17 -14
- package/build/index.js.map +1 -1
- package/build/index.mjs +9 -8
- package/build/index.mjs.map +1 -1
- package/build/inlineAlert/InlineAlert.js.map +1 -1
- package/build/inlineAlert/InlineAlert.mjs.map +1 -1
- package/build/navigationOption/NavigationOption.js.map +1 -1
- package/build/navigationOption/NavigationOption.mjs.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
- package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
- package/build/select/Select.js.map +1 -1
- package/build/select/Select.mjs.map +1 -1
- package/build/types/avatar/Avatar.d.ts +9 -0
- package/build/types/avatar/Avatar.d.ts.map +1 -1
- package/build/types/avatar/index.d.ts +1 -1
- package/build/types/avatar/index.d.ts.map +1 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts +3 -0
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -1
- package/build/types/avatarWrapper/index.d.ts +2 -2
- package/build/types/avatarWrapper/index.d.ts.map +1 -1
- package/build/types/button/Button.types.d.ts +1 -1
- package/build/types/button/Button.types.d.ts.map +1 -1
- package/build/types/button/index.d.ts +2 -2
- package/build/types/button/index.d.ts.map +1 -1
- package/build/types/card/Card.d.ts +3 -0
- package/build/types/card/Card.d.ts.map +1 -1
- package/build/types/carousel/index.d.ts +1 -1
- package/build/types/carousel/index.d.ts.map +1 -1
- package/build/types/checkboxButton/index.d.ts +1 -0
- package/build/types/checkboxButton/index.d.ts.map +1 -1
- package/build/types/checkboxOption/index.d.ts +1 -0
- package/build/types/checkboxOption/index.d.ts.map +1 -1
- package/build/types/chevron/index.d.ts +1 -0
- package/build/types/chevron/index.d.ts.map +1 -1
- package/build/types/chips/index.d.ts +2 -0
- package/build/types/chips/index.d.ts.map +1 -1
- package/build/types/common/Option/index.d.ts +1 -0
- package/build/types/common/Option/index.d.ts.map +1 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +6 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
- package/build/types/criticalBanner/index.d.ts +1 -1
- package/build/types/criticalBanner/index.d.ts.map +1 -1
- package/build/types/decision/index.d.ts +1 -0
- package/build/types/decision/index.d.ts.map +1 -1
- package/build/types/definitionList/index.d.ts +1 -1
- package/build/types/definitionList/index.d.ts.map +1 -1
- package/build/types/expressiveMoneyInput/index.d.ts +1 -1
- package/build/types/expressiveMoneyInput/index.d.ts.map +1 -1
- package/build/types/index.d.ts +34 -19
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inlineAlert/InlineAlert.d.ts +3 -0
- package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -1
- package/build/types/inlineAlert/index.d.ts +1 -0
- package/build/types/inlineAlert/index.d.ts.map +1 -1
- package/build/types/instructionsList/index.d.ts +1 -1
- package/build/types/instructionsList/index.d.ts.map +1 -1
- package/build/types/listItem/ListItem.d.ts +1 -1
- package/build/types/logo/index.d.ts +2 -1
- package/build/types/logo/index.d.ts.map +1 -1
- package/build/types/navigationOption/NavigationOption.d.ts +3 -0
- package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
- package/build/types/navigationOption/index.d.ts +1 -0
- package/build/types/navigationOption/index.d.ts.map +1 -1
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +3 -0
- package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
- package/build/types/nudge/index.d.ts +1 -0
- package/build/types/nudge/index.d.ts.map +1 -1
- package/build/types/phoneNumberInput/index.d.ts +1 -0
- package/build/types/phoneNumberInput/index.d.ts.map +1 -1
- package/build/types/promoCard/index.d.ts +2 -0
- package/build/types/promoCard/index.d.ts.map +1 -1
- package/build/types/select/Select.d.ts +3 -0
- package/build/types/select/Select.d.ts.map +1 -1
- package/build/types/snackbar/index.d.ts +2 -0
- package/build/types/snackbar/index.d.ts.map +1 -1
- package/build/types/statusIcon/index.d.ts +1 -1
- package/build/types/statusIcon/index.d.ts.map +1 -1
- package/build/types/table/index.d.ts +4 -3
- package/build/types/table/index.d.ts.map +1 -1
- package/build/types/tabs/index.d.ts +3 -0
- package/build/types/tabs/index.d.ts.map +1 -1
- package/build/types/tile/index.d.ts +1 -0
- package/build/types/tile/index.d.ts.map +1 -1
- package/build/types/uploadInput/index.d.ts +1 -0
- package/build/types/uploadInput/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/avatar/Avatar.tsx +9 -2
- package/src/avatar/index.ts +1 -1
- package/src/avatarWrapper/AvatarWrapper.tsx +3 -0
- package/src/avatarWrapper/index.ts +2 -3
- package/src/button/Button.types.ts +1 -1
- package/src/button/index.ts +14 -2
- package/src/card/Card.tsx +3 -0
- package/src/carousel/index.ts +7 -1
- package/src/checkboxButton/index.ts +2 -0
- package/src/checkboxOption/index.ts +2 -0
- package/src/chevron/index.ts +2 -0
- package/src/chips/index.ts +3 -0
- package/src/common/Option/index.ts +1 -0
- package/src/criticalBanner/CriticalCommsBanner.tsx +6 -0
- package/src/criticalBanner/index.ts +1 -1
- package/src/decision/index.ts +2 -0
- package/src/definitionList/index.ts +1 -1
- package/src/expressiveMoneyInput/index.ts +1 -1
- package/src/index.ts +66 -18
- package/src/inlineAlert/InlineAlert.tsx +3 -0
- package/src/inlineAlert/index.ts +2 -0
- package/src/instructionsList/index.ts +1 -1
- package/src/logo/index.ts +2 -1
- package/src/navigationOption/NavigationOption.tsx +3 -0
- package/src/navigationOption/index.ts +2 -0
- package/src/navigationOptionsList/NavigationOptionsList.tsx +3 -0
- package/src/nudge/index.ts +2 -0
- package/src/phoneNumberInput/index.ts +2 -0
- package/src/promoCard/index.ts +8 -0
- package/src/select/Select.tsx +3 -0
- package/src/snackbar/index.ts +3 -0
- package/src/ssr.test.tsx +6 -3
- package/src/statusIcon/index.ts +1 -1
- package/src/table/index.ts +5 -2
- package/src/tabs/index.ts +3 -0
- package/src/tile/index.ts +1 -0
- package/src/uploadInput/index.ts +2 -0
- package/build/avatarWrapper/index.js +0 -10
- package/build/avatarWrapper/index.js.map +0 -1
- package/build/avatarWrapper/index.mjs +0 -6
- package/build/avatarWrapper/index.mjs.map +0 -1
package/src/carousel/index.ts
CHANGED
package/src/chevron/index.ts
CHANGED
package/src/chips/index.ts
CHANGED
|
@@ -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';
|
package/src/decision/index.ts
CHANGED
|
@@ -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 {
|
|
16
|
-
export type {
|
|
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 {
|
|
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
|
|
34
|
-
export type {
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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}`;
|
package/src/inlineAlert/index.ts
CHANGED
package/src/logo/index.ts
CHANGED
|
@@ -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
|
/**
|
package/src/nudge/index.ts
CHANGED
package/src/promoCard/index.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
export { default } from './PromoCard';
|
|
2
2
|
export { default as PromoCardGroup } from './PromoCardGroup';
|
|
3
|
+
|
|
4
|
+
export type {
|
|
5
|
+
PromoCardCommonProps,
|
|
6
|
+
PromoCardLinkProps,
|
|
7
|
+
PromoCardCheckedProps,
|
|
8
|
+
PromoCardProps,
|
|
9
|
+
} from './PromoCard';
|
|
10
|
+
export type { PromoCardGroupProps } from './PromoCardGroup';
|
package/src/select/Select.tsx
CHANGED
|
@@ -98,6 +98,9 @@ const getUniqueIdForOption = (parentId: string | undefined, option: SelectItem |
|
|
|
98
98
|
return `option-${parentId ?? ''}-${uniqueOptionId}`;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Use SelectInput and associated typings
|
|
103
|
+
*/
|
|
101
104
|
export interface SelectProps {
|
|
102
105
|
placeholder?: string;
|
|
103
106
|
id?: string;
|
package/src/snackbar/index.ts
CHANGED
package/src/ssr.test.tsx
CHANGED
|
@@ -92,9 +92,7 @@ describe('Server side rendering', () => {
|
|
|
92
92
|
|
|
93
93
|
// stick all possible properties we might need to render all components in here
|
|
94
94
|
const allProps: Record<string, unknown> = {
|
|
95
|
-
actionPrimary: { label: 'Action', onClick: jest.fn(), href: '#' },
|
|
96
95
|
currencies: [],
|
|
97
|
-
currencySelector: { options: [] },
|
|
98
96
|
steps: [],
|
|
99
97
|
stepper: {
|
|
100
98
|
steps: [],
|
|
@@ -184,7 +182,11 @@ describe('Server side rendering', () => {
|
|
|
184
182
|
// Override props in case of name collision.
|
|
185
183
|
const overrideProps: Partial<Record<keyof ExposedLibraryItemsType, Record<string, unknown>>> = {
|
|
186
184
|
Logo: { size: 16 },
|
|
187
|
-
|
|
185
|
+
BadgeAssets: { status: undefined },
|
|
186
|
+
ActionPrompt: {
|
|
187
|
+
actionPrimary: { label: 'Action', onClick: jest.fn(), href: '#' },
|
|
188
|
+
action: { label: 'Action', onClick: jest.fn(), href: '#' },
|
|
189
|
+
},
|
|
188
190
|
Alert: { children: undefined, message: 'Fluffy kittens', size: undefined },
|
|
189
191
|
Card: { isExpanded: true },
|
|
190
192
|
CheckboxButton: { children: undefined, onChange: jest.fn() },
|
|
@@ -193,6 +195,7 @@ describe('Server side rendering', () => {
|
|
|
193
195
|
TextareaWithDisplayFormat: { displayPattern: '**-**' },
|
|
194
196
|
Sticky: { position: 'top' },
|
|
195
197
|
MoneyInput: { selectedCurrency: { currency: 'EUR' } },
|
|
198
|
+
ExpressiveMoneyInput: { currencySelector: { options: [] } },
|
|
196
199
|
Tabs: { selected: 1, onTabSelect: jest.fn() },
|
|
197
200
|
Markdown: { children: '# Markdown string' },
|
|
198
201
|
SnackbarConsumer: {
|
package/src/statusIcon/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './StatusIcon';
|
|
2
|
-
export type { StatusIconProps } from './StatusIcon';
|
|
2
|
+
export type { StatusIconProps, StatusIconSentiment } from './StatusIcon';
|
package/src/table/index.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export { default } from './Table';
|
|
2
2
|
export type { TableProps } from './Table';
|
|
3
|
-
export type { TableRowType, TableRowClickableType } from './TableRow';
|
|
4
|
-
export type { TableHeaderType } from './TableHeader';
|
|
3
|
+
export type { TableRowType, TableRowClickableType, TableRowProps } from './TableRow';
|
|
4
|
+
export type { TableHeaderType, TableHeaderProps } from './TableHeader';
|
|
5
5
|
export type {
|
|
6
6
|
TableCellLeading,
|
|
7
7
|
TableCellText,
|
|
8
8
|
TableCellCurrency,
|
|
9
9
|
TableCellStatus,
|
|
10
10
|
TableCellType,
|
|
11
|
+
TableCellMedia,
|
|
12
|
+
TableCellProps,
|
|
11
13
|
} from './TableCell';
|
|
14
|
+
export type { TableStatusTextProps } from './TableStatusText';
|
package/src/tabs/index.ts
CHANGED
package/src/tile/index.ts
CHANGED
package/src/uploadInput/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|