@typeolymp/ui-components 2.2.1 → 2.2.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.
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -17734,7 +17734,7 @@ var LocaleSelect = function (props) {
|
|
|
17734
17734
|
.map(function (locale) { return ({
|
|
17735
17735
|
onClick: function () { return onSelectLocale(locale); },
|
|
17736
17736
|
label: (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Flag, { locale: locale }), !props.iconOnly && (jsxRuntime.jsx(Heading, __assign$2({ type: "h6", as: "span" }, { children: mappers.getNativeLanguageByLocale(locale) })))] })),
|
|
17737
|
-
}); }) }, { children: jsxRuntime.jsxs(Button,
|
|
17737
|
+
}); }) }, { children: jsxRuntime.jsxs(Button, { children: [jsxRuntime.jsx(Flag, { locale: selectedLocale }), !props.iconOnly && (jsxRuntime.jsx(Heading, __assign$2({ type: "h6", as: "span" }, { children: mappers.getNativeLanguageByLocale(selectedLocale) })))] }) })));
|
|
17738
17738
|
};
|
|
17739
17739
|
|
|
17740
17740
|
var Wrapper$1 = styled__default["default"].div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject$1(["\n width: 100%;\n min-width: 200px;\n display: flex;\n justify-content: space-between;\n\n > div {\n display: flex;\n align-items: center;\n }\n"], ["\n width: 100%;\n min-width: 200px;\n display: flex;\n justify-content: space-between;\n\n > div {\n display: flex;\n align-items: center;\n }\n"])));
|