@texonom/nreact 1.2.9 → 1.2.11
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.
|
@@ -3690,7 +3690,7 @@ var PropertyImpl = (props) => {
|
|
|
3690
3690
|
break;
|
|
3691
3691
|
}
|
|
3692
3692
|
const isTitle = schema.type === "title";
|
|
3693
|
-
return /* @__PURE__ */ React6.createElement("span", { className: `notion-property notion-property-${schema.type}` },
|
|
3693
|
+
return /* @__PURE__ */ React6.createElement("span", { className: `notion-property notion-property-${schema.type}` }, isTitle ? null : /* @__PURE__ */ React6.createElement("div", { style: { marginRight: "1em", display: "inline" } }, /* @__PURE__ */ React6.createElement(Text, { block, value: [[schema.name, [["h", "gray"]]]] }), " "), content);
|
|
3694
3694
|
};
|
|
3695
3695
|
var PropertyImplMemo = React6.memo(PropertyImpl);
|
|
3696
3696
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texonom/nreact",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Fast and accurate React renderer for Notion.",
|
|
6
6
|
"repository": "texonom/notion-node",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"react-modal": "^3.16.1",
|
|
29
29
|
"react-pdf": "^7.5.1",
|
|
30
30
|
"react-use": "^17.4.0",
|
|
31
|
-
"@texonom/ntypes": "^1.2.
|
|
32
|
-
"@texonom/nutils": "^1.2.
|
|
31
|
+
"@texonom/ntypes": "^1.2.11",
|
|
32
|
+
"@texonom/nutils": "^1.2.11"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/lodash.throttle": "^4.1.8",
|