@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.es.js
CHANGED
|
@@ -4177,7 +4177,7 @@ var flags = {
|
|
|
4177
4177
|
};
|
|
4178
4178
|
var Flag = function (props) { return (jsx$1(Wrapper$9, __assign$2({}, props, { children: flags[parsers.getCountryCodeByLocale(props.locale)] }))); };
|
|
4179
4179
|
|
|
4180
|
-
var StyledHeading = styled.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) {
|
|
4180
|
+
var StyledHeading = styled.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) {
|
|
4181
4181
|
var type = _a.type;
|
|
4182
4182
|
return theme.heading[type].fontSize;
|
|
4183
4183
|
}, function (_a) {
|
|
@@ -4200,6 +4200,9 @@ var StyledHeading = styled.span(templateObject_1$R || (templateObject_1$R = __ma
|
|
|
4200
4200
|
}, function (_a) {
|
|
4201
4201
|
var align = _a.align;
|
|
4202
4202
|
return align;
|
|
4203
|
+
}, function (_a) {
|
|
4204
|
+
var decoration = _a.decoration;
|
|
4205
|
+
return decoration;
|
|
4203
4206
|
});
|
|
4204
4207
|
var templateObject_1$R;
|
|
4205
4208
|
|
|
@@ -4244,7 +4247,7 @@ var illustrations = {
|
|
|
4244
4247
|
};
|
|
4245
4248
|
var Illustration = function (props) { return (jsx$1(Wrapper$8, __assign$2({}, props, { children: illustrations[props.type] }))); };
|
|
4246
4249
|
|
|
4247
|
-
var StyledParagraph = styled.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) {
|
|
4250
|
+
var StyledParagraph = styled.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) {
|
|
4248
4251
|
var size = _a.size;
|
|
4249
4252
|
return size ? theme.paragraph[size].fontSize : theme.paragraph.medium.fontSize;
|
|
4250
4253
|
}, function (_a) {
|
|
@@ -4278,6 +4281,9 @@ var StyledParagraph = styled.p(templateObject_1$P || (templateObject_1$P = __mak
|
|
|
4278
4281
|
}, function (_a) {
|
|
4279
4282
|
var transform = _a.transform;
|
|
4280
4283
|
return transform;
|
|
4284
|
+
}, function (_a) {
|
|
4285
|
+
var decoration = _a.decoration;
|
|
4286
|
+
return decoration;
|
|
4281
4287
|
});
|
|
4282
4288
|
var templateObject_1$P;
|
|
4283
4289
|
|