@rspress-theme-anatole/theme-default 0.5.5 → 0.5.6

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.
Files changed (2) hide show
  1. package/dist/bundle.js +4 -4
  2. package/package.json +3 -3
package/dist/bundle.js CHANGED
@@ -1212,13 +1212,13 @@ function DocLayout(props) {
1212
1212
  (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__theme_75e53063__.Overview, {
1213
1213
  content: docContent
1214
1214
  }),
1215
- (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
1215
+ frontmatter.comment ? (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
1216
1216
  id: 'giscus-comments',
1217
1217
  style: {
1218
1218
  padding: '64px 62px 0 64px',
1219
1219
  },
1220
1220
  children: loadGiscus()
1221
- }),
1221
+ }) : null,
1222
1222
  afterDocContent
1223
1223
  ]
1224
1224
  }) : (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
@@ -1270,13 +1270,13 @@ function DocLayout(props) {
1270
1270
  afterDocFooter
1271
1271
  ]
1272
1272
  }),
1273
- (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
1273
+ frontmatter.comment ? (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
1274
1274
  id: 'giscus-comments',
1275
1275
  style: {
1276
1276
  padding: '64px 62px 0 64px',
1277
1277
  },
1278
1278
  children: loadGiscus()
1279
- }),
1279
+ }) : null,
1280
1280
  ]
1281
1281
  })
1282
1282
  }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/theme-default",
3
3
  "author": "Anatole Tong",
4
- "version": "0.5.5",
4
+ "version": "0.5.6",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
7
7
  "*.css",
@@ -21,7 +21,7 @@
21
21
  "types": "./dist/bundle.d.ts",
22
22
  "dependencies": {
23
23
  "@mdx-js/react": "2.3.0",
24
- "@rspress-theme-anatole/shared": "0.5.5",
24
+ "@rspress-theme-anatole/shared": "0.5.6",
25
25
  "@rspress/runtime": "1.43.8",
26
26
  "body-scroll-lock": "4.0.0-beta.0",
27
27
  "copy-to-clipboard": "^3.3.3",
@@ -35,7 +35,7 @@
35
35
  "react-helmet-async": "^1.3.0",
36
36
  "react-router-dom": "6.29.0",
37
37
  "react-syntax-highlighter": "^15.6.1",
38
- "@rspress-theme-anatole/rspress-plugin-mermaid": "0.5.5"
38
+ "@rspress-theme-anatole/rspress-plugin-mermaid": "0.5.6"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.49.2",