@typeolymp/ui-components 2.1.9 → 2.1.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.
|
@@ -6,7 +6,7 @@ declare type PropsType = {
|
|
|
6
6
|
color?: "white" | "lightGray" | "darkGray";
|
|
7
7
|
transform?: "uppercase" | "lowercase" | "capitalize";
|
|
8
8
|
decoration?: "underline" | "overline" | "line-through";
|
|
9
|
-
as?: "div"
|
|
9
|
+
as?: "div";
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
};
|
|
12
12
|
declare const Paragraph: FC<PropsType>;
|
package/build/index.es.js
CHANGED
|
@@ -4139,7 +4139,7 @@ var illustrations = {
|
|
|
4139
4139
|
};
|
|
4140
4140
|
var Illustration = function (props) { return (jsx$1(Wrapper$8, __assign$2({}, props, { children: illustrations[props.type] }))); };
|
|
4141
4141
|
|
|
4142
|
-
var StyledParagraph = styled.p(templateObject_1$O || (templateObject_1$O = __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) {
|
|
4142
|
+
var StyledParagraph = styled.p(templateObject_1$O || (templateObject_1$O = __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 li:not(:last-child) {\n margin-bottom: 10px;\n }\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\n li:not(:last-child) {\n margin-bottom: 10px;\n }\n"])), theme.fonts.paragraph, function (_a) {
|
|
4143
4143
|
var size = _a.size;
|
|
4144
4144
|
return size ? theme.paragraph[size].fontSize : theme.paragraph.medium.fontSize;
|
|
4145
4145
|
}, function (_a) {
|