@typeolymp/ui-components 1.19.9 → 1.19.10
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
CHANGED
|
@@ -4204,7 +4204,7 @@ var flags = {
|
|
|
4204
4204
|
};
|
|
4205
4205
|
var Flag = function (props) { return (jsxRuntime.jsx(Wrapper$9, __assign$2({}, props, { children: flags[parsers.getCountryCodeByLocale(props.locale)] }))); };
|
|
4206
4206
|
|
|
4207
|
-
var StyledHeading = styled__default["default"].span(templateObject_1$R || (templateObject_1$R = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n"])), theme.fonts.heading, function (_a) {
|
|
4207
|
+
var StyledHeading = styled__default["default"].span(templateObject_1$R || (templateObject_1$R = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 700;\n font-style: normal;\n line-height: ", ";\n letter-spacing: ", ";\n margin: 0;\n color: ", ";\n text-align: ", ";\n text-decoration: ", ";\n"])), theme.fonts.heading, function (_a) {
|
|
4208
4208
|
var type = _a.type;
|
|
4209
4209
|
return theme.heading[type].fontSize;
|
|
4210
4210
|
}, function (_a) {
|
|
@@ -4227,6 +4227,9 @@ var StyledHeading = styled__default["default"].span(templateObject_1$R || (templ
|
|
|
4227
4227
|
}, function (_a) {
|
|
4228
4228
|
var align = _a.align;
|
|
4229
4229
|
return align;
|
|
4230
|
+
}, function (_a) {
|
|
4231
|
+
var decoration = _a.decoration;
|
|
4232
|
+
return decoration;
|
|
4230
4233
|
});
|
|
4231
4234
|
var templateObject_1$R;
|
|
4232
4235
|
|
|
@@ -4271,7 +4274,7 @@ var illustrations = {
|
|
|
4271
4274
|
};
|
|
4272
4275
|
var Illustration = function (props) { return (jsxRuntime.jsx(Wrapper$8, __assign$2({}, props, { children: illustrations[props.type] }))); };
|
|
4273
4276
|
|
|
4274
|
-
var StyledParagraph = styled__default["default"].p(templateObject_1$P || (templateObject_1$P = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n color: ", ";\n margin: 0;\n text-align: ", ";\n text-transform: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n color: ", ";\n margin: 0;\n text-align: ", ";\n text-transform: ", ";\n"])), theme.fonts.paragraph, function (_a) {
|
|
4277
|
+
var StyledParagraph = styled__default["default"].p(templateObject_1$P || (templateObject_1$P = __makeTemplateObject$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n color: ", ";\n margin: 0;\n text-align: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n font-style: normal;\n line-height: ", ";\n color: ", ";\n margin: 0;\n text-align: ", ";\n text-transform: ", ";\n text-decoration: ", ";\n"])), theme.fonts.paragraph, function (_a) {
|
|
4275
4278
|
var size = _a.size;
|
|
4276
4279
|
return size ? theme.paragraph[size].fontSize : theme.paragraph.medium.fontSize;
|
|
4277
4280
|
}, function (_a) {
|
|
@@ -4305,6 +4308,9 @@ var StyledParagraph = styled__default["default"].p(templateObject_1$P || (templa
|
|
|
4305
4308
|
}, function (_a) {
|
|
4306
4309
|
var transform = _a.transform;
|
|
4307
4310
|
return transform;
|
|
4311
|
+
}, function (_a) {
|
|
4312
|
+
var decoration = _a.decoration;
|
|
4313
|
+
return decoration;
|
|
4308
4314
|
});
|
|
4309
4315
|
var templateObject_1$P;
|
|
4310
4316
|
|