@readme/markdown 6.75.0-beta.78 → 6.75.0-beta.79
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/components/Callout/index.tsx +2 -2
- package/dist/main.js +1 -1
- package/dist/main.node.js +1 -1
- package/package.json +1 -1
|
@@ -29,10 +29,10 @@ const Callout = (props: Props) => {
|
|
|
29
29
|
return (
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
<blockquote {...attributes} className={`callout callout_${theme}`} theme={icon}>
|
|
32
|
-
<
|
|
32
|
+
<h2 className={`callout-heading${empty ? ' empty' : ''}`}>
|
|
33
33
|
<span className="callout-icon">{icon}</span>
|
|
34
34
|
{empty || React.Children.toArray(children)[0]}
|
|
35
|
-
</
|
|
35
|
+
</h2>
|
|
36
36
|
{React.Children.toArray(children).slice(1)}
|
|
37
37
|
</blockquote>
|
|
38
38
|
);
|
package/dist/main.js
CHANGED
|
@@ -13490,7 +13490,7 @@ const Callout = (props) => {
|
|
|
13490
13490
|
return (
|
|
13491
13491
|
// @ts-ignore
|
|
13492
13492
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("blockquote", Object.assign({}, attributes, { className: `callout callout_${theme}`, theme: icon }),
|
|
13493
|
-
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("
|
|
13493
|
+
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("h2", { className: `callout-heading${empty ? ' empty' : ''}` },
|
|
13494
13494
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { className: "callout-icon" }, icon),
|
|
13495
13495
|
empty || external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.Children.toArray(children)[0]),
|
|
13496
13496
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.Children.toArray(children).slice(1)));
|
package/dist/main.node.js
CHANGED
|
@@ -7970,7 +7970,7 @@ const Callout = (props) => {
|
|
|
7970
7970
|
return (
|
|
7971
7971
|
// @ts-ignore
|
|
7972
7972
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("blockquote", Object.assign({}, attributes, { className: `callout callout_${theme}`, theme: icon }),
|
|
7973
|
-
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("
|
|
7973
|
+
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("h2", { className: `callout-heading${empty ? ' empty' : ''}` },
|
|
7974
7974
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.createElement("span", { className: "callout-icon" }, icon),
|
|
7975
7975
|
empty || external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.Children.toArray(children)[0]),
|
|
7976
7976
|
external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_.Children.toArray(children).slice(1)));
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "6.75.0-beta.
|
|
5
|
+
"version": "6.75.0-beta.79",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|