@terraware/web-components 3.5.15-rc.0 → 3.5.15-rc.1
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.
|
@@ -21,11 +21,10 @@ const Markdown = _ref => {
|
|
|
21
21
|
void parseValue(value);
|
|
22
22
|
}, [value]);
|
|
23
23
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
24
|
-
className: "markdown"
|
|
25
|
-
}, html && /*#__PURE__*/_react.default.createElement("div", {
|
|
24
|
+
className: "markdown",
|
|
26
25
|
dangerouslySetInnerHTML: {
|
|
27
|
-
__html: html
|
|
26
|
+
__html: html !== null && html !== void 0 ? html : ''
|
|
28
27
|
}
|
|
29
|
-
})
|
|
28
|
+
});
|
|
30
29
|
};
|
|
31
30
|
var _default = exports.default = Markdown;
|
|
@@ -8,60 +8,62 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.markdown {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
font-
|
|
14
|
-
line-height: $tw-fnt-frm-fld-text-value-line-height;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-flow: column;
|
|
13
|
+
font-family: $tw-fnt-frm-fld-text-value-font-family;
|
|
15
14
|
color: $tw-clr-txt;
|
|
16
15
|
padding: $tw-spc-base-x-small 0;
|
|
17
16
|
margin: 0;
|
|
18
17
|
|
|
19
|
-
h1,
|
|
20
|
-
h2,
|
|
21
|
-
h3,
|
|
22
|
-
h4,
|
|
23
|
-
h5,
|
|
24
|
-
h6 {
|
|
25
|
-
font-weight: 600;
|
|
26
|
-
margin: 1.5em 0 0.75em;
|
|
27
|
-
line-height: 1.25;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
18
|
h1 {
|
|
31
19
|
font-size: $tw-fnt-base-headline-01-semi-bold-font-size;
|
|
32
20
|
font-weight: $tw-fnt-base-headline-01-semi-bold-font-weight;
|
|
33
21
|
line-height: $tw-fnt-base-headline-01-semi-bold-line-height;
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: 0;
|
|
34
24
|
}
|
|
35
25
|
h2 {
|
|
36
26
|
font-size: $tw-fnt-base-headline-02-semi-bold-font-size;
|
|
37
27
|
font-weight: $tw-fnt-base-headline-02-semi-bold-font-weight;
|
|
38
28
|
line-height: $tw-fnt-base-headline-02-semi-bold-line-height;
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: 0;
|
|
39
31
|
}
|
|
40
32
|
h3 {
|
|
41
33
|
font-size: $tw-fnt-base-headline-03-semi-bold-font-size;
|
|
42
34
|
font-weight: $tw-fnt-base-headline-03-semi-bold-font-weight;
|
|
43
35
|
line-height: $tw-fnt-base-headline-03-semi-bold-line-height;
|
|
36
|
+
padding: 0;
|
|
37
|
+
margin: 0;
|
|
44
38
|
}
|
|
45
39
|
h4 {
|
|
46
40
|
font-size: $tw-fnt-base-headline-04-semi-bold-font-size;
|
|
47
41
|
font-weight: $tw-fnt-base-headline-04-semi-bold-font-weight;
|
|
48
42
|
line-height: $tw-fnt-base-headline-04-semi-bold-line-height;
|
|
43
|
+
padding: 0;
|
|
44
|
+
margin: 0;
|
|
49
45
|
}
|
|
50
46
|
h5 {
|
|
51
47
|
font-size: $tw-fnt-base-headline-05-semi-bold-font-size;
|
|
52
48
|
font-weight: $tw-fnt-base-headline-05-semi-bold-font-weight;
|
|
53
49
|
line-height: $tw-fnt-base-headline-05-semi-bold-line-height;
|
|
50
|
+
padding: 0;
|
|
51
|
+
margin: 0;
|
|
54
52
|
}
|
|
55
53
|
h6 {
|
|
56
54
|
font-size: $tw-fnt-base-headline-06-semi-bold-font-size;
|
|
57
55
|
font-weight: $tw-fnt-base-headline-06-semi-bold-font-weight;
|
|
58
56
|
line-height: $tw-fnt-base-headline-06-semi-bold-line-height;
|
|
57
|
+
padding: 0;
|
|
58
|
+
margin: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
p {
|
|
62
62
|
font-size: $tw-fnt-frm-fld-text-value-font-size;
|
|
63
63
|
font-weight: $tw-fnt-frm-fld-text-value-font-weight;
|
|
64
64
|
line-height: $tw-fnt-frm-fld-text-value-line-height;
|
|
65
|
+
padding: 0;
|
|
66
|
+
margin: 0;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
a {
|