@transferwise/components 46.25.0 → 46.26.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/index.js +4 -16
- package/build/index.js.map +1 -1
- package/build/index.mjs +4 -16
- package/build/index.mjs.map +1 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/provider/Provider.d.ts +8 -19
- package/build/types/provider/Provider.d.ts.map +1 -1
- package/build/types/provider/direction/DirectionProvider.d.ts +2 -3
- package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -1
- package/build/types/provider/direction/index.d.ts +2 -1
- package/build/types/provider/direction/index.d.ts.map +1 -1
- package/build/types/provider/index.d.ts +6 -3
- package/build/types/provider/index.d.ts.map +1 -1
- package/build/types/provider/language/LanguageProvider.d.ts +2 -3
- package/build/types/provider/language/LanguageProvider.d.ts.map +1 -1
- package/build/types/provider/language/index.d.ts +2 -1
- package/build/types/provider/language/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/provider/Provider.spec.tsx +0 -2
- package/src/provider/{Provider.js → Provider.tsx} +8 -19
- package/src/provider/direction/DirectionProvider.tsx +5 -2
- package/src/provider/direction/{index.js → index.ts} +1 -0
- package/src/provider/index.ts +6 -0
- package/src/provider/language/LanguageProvider.tsx +2 -2
- package/src/provider/language/index.ts +2 -0
- package/src/provider/index.js +0 -3
- package/src/provider/language/index.js +0 -1
package/build/index.mjs
CHANGED
|
@@ -9815,10 +9815,10 @@ var en = {
|
|
|
9815
9815
|
"neptune.UploadItem.uploadingFailed": "Uploading failed"
|
|
9816
9816
|
};
|
|
9817
9817
|
|
|
9818
|
-
|
|
9818
|
+
function Provider({
|
|
9819
9819
|
i18n,
|
|
9820
9820
|
children
|
|
9821
|
-
})
|
|
9821
|
+
}) {
|
|
9822
9822
|
const {
|
|
9823
9823
|
locale,
|
|
9824
9824
|
messages,
|
|
@@ -9855,19 +9855,7 @@ const Provider = ({
|
|
|
9855
9855
|
})
|
|
9856
9856
|
})
|
|
9857
9857
|
});
|
|
9858
|
-
}
|
|
9859
|
-
Provider.propTypes = {
|
|
9860
|
-
i18n: PropTypes.shape({
|
|
9861
|
-
locale: PropTypes.string.isRequired,
|
|
9862
|
-
messages: PropTypes.shape({}).isRequired,
|
|
9863
|
-
defaultRichTextElements: PropTypes.shape({})
|
|
9864
|
-
}).isRequired,
|
|
9865
|
-
children: PropTypes.node
|
|
9866
|
-
};
|
|
9867
|
-
Provider.defaultProps = {
|
|
9868
|
-
children: undefined
|
|
9869
|
-
};
|
|
9870
|
-
var Provider$1 = Provider;
|
|
9858
|
+
}
|
|
9871
9859
|
|
|
9872
9860
|
function RadioButton({
|
|
9873
9861
|
id,
|
|
@@ -15083,5 +15071,5 @@ const translations = {
|
|
|
15083
15071
|
'zh-HK': zhHK
|
|
15084
15072
|
};
|
|
15085
15073
|
|
|
15086
|
-
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron, Chip, Chips, CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput, DateLookup$1 as DateLookup, DateMode, Decision, DecisionPresentation, DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat, InstructionsList, LanguageProvider, Layout, Link, ListItem$1 as ListItem, Loader, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput, Popover$1 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider
|
|
15074
|
+
export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron, Chip, Chips, CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput, DateLookup$1 as DateLookup, DateMode, Decision, DecisionPresentation, DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat, InstructionsList, LanguageProvider, Layout, Link, ListItem$1 as ListItem, Loader, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput, Popover$1 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider, RTL_LANGUAGES, Radio, RadioGroup, RadioOption, SUPPORTED_LANGUAGES, Scroll, SearchInput, Section, SegmentedControl, Select, SelectInput, SelectInputOptionContent, SelectInputTriggerButton, Sentiment, Size, SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider, Status, StatusIcon, Stepper, Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat, Theme, Title, Tooltip, Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
|
|
15087
15075
|
//# sourceMappingURL=index.mjs.map
|