@rspress-theme-anatole/theme-default 0.7.8 → 0.7.9
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/dist/bundle.js +8 -8
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -2929,9 +2929,9 @@ function HomepageFeatures({ frontmatter, routePath }) {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
}),
|
|
2931
2931
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
2932
|
-
children: features.rows.map((featuresRow) => {
|
|
2932
|
+
children: (features.rows || []).map((featuresRow) => {
|
|
2933
2933
|
return (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
2934
|
-
children: featuresRow.items.map((featureItem) => {
|
|
2934
|
+
children: (featuresRow.items || []).map((featureItem) => {
|
|
2935
2935
|
return (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
2936
2936
|
className: "topics-item",
|
|
2937
2937
|
children: [
|
|
@@ -2956,7 +2956,7 @@ function HomepageFeatures({ frontmatter, routePath }) {
|
|
|
2956
2956
|
}),
|
|
2957
2957
|
featureItem.labels && (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
2958
2958
|
className: "topics-item-labels",
|
|
2959
|
-
children: featureItem.labels.map((label) =>
|
|
2959
|
+
children: (featureItem.labels || []).map((label) =>
|
|
2960
2960
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
2961
2961
|
className: "topics-label",
|
|
2962
2962
|
children: label
|
|
@@ -2993,7 +2993,7 @@ function HomepageFeaturesTabs({ frontmatter, routePath }) {
|
|
|
2993
2993
|
//Tabs
|
|
2994
2994
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
2995
2995
|
className: "features-tabs",
|
|
2996
|
-
children: featureTab.tabs.map((tab, idx) =>
|
|
2996
|
+
children: (featureTab.tabs || []).map((tab, idx) =>
|
|
2997
2997
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("button", {
|
|
2998
2998
|
className: "features-tab" + (idx === activeTab ? " active" : ""),
|
|
2999
2999
|
onClick: () => setActiveTab(idx),
|
|
@@ -3005,7 +3005,7 @@ function HomepageFeaturesTabs({ frontmatter, routePath }) {
|
|
|
3005
3005
|
// Tab content
|
|
3006
3006
|
featureTab.tabs[activeTab].rows?.length > 0 ?
|
|
3007
3007
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3008
|
-
children: featureTab.tabs[activeTab].rows.map((featuresRow) => {
|
|
3008
|
+
children: (featureTab.tabs[activeTab].rows || []).map((featuresRow) => {
|
|
3009
3009
|
return featuresRow.items?.length > 0 ? (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3010
3010
|
style: {
|
|
3011
3011
|
display: 'grid',
|
|
@@ -3015,7 +3015,7 @@ function HomepageFeaturesTabs({ frontmatter, routePath }) {
|
|
|
3015
3015
|
marginBottom: '24px',
|
|
3016
3016
|
alignItems: 'stretch',
|
|
3017
3017
|
},
|
|
3018
|
-
children: featuresRow.items.map((featureItem) =>
|
|
3018
|
+
children: (featuresRow.items || []).map((featureItem) =>
|
|
3019
3019
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3020
3020
|
className: "topics-item",
|
|
3021
3021
|
children: [
|
|
@@ -3040,7 +3040,7 @@ function HomepageFeaturesTabs({ frontmatter, routePath }) {
|
|
|
3040
3040
|
}),
|
|
3041
3041
|
featureItem.labels?.length > 0 && (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3042
3042
|
className: "topics-item-labels",
|
|
3043
|
-
children: featureItem.labels.map((label) =>
|
|
3043
|
+
children: (featureItem.labels || []).map((label) =>
|
|
3044
3044
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
3045
3045
|
className: "topics-label",
|
|
3046
3046
|
children: label
|
|
@@ -3412,7 +3412,7 @@ function WhatsNew({ frontmatter }) {
|
|
|
3412
3412
|
}),
|
|
3413
3413
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3414
3414
|
className: "whatsnew-cards",
|
|
3415
|
-
children: whatsNew.items.map((item) => {
|
|
3415
|
+
children: (whatsNew.items || []).map((item) => {
|
|
3416
3416
|
return (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
3417
3417
|
className: "whatsnew-card",
|
|
3418
3418
|
children: [
|
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.7.
|
|
4
|
+
"version": "0.7.9",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"types": "./dist/bundle.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@mdx-js/react": "2.3.0",
|
|
24
|
-
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.
|
|
25
|
-
"@rspress-theme-anatole/shared": "0.7.
|
|
24
|
+
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.9",
|
|
25
|
+
"@rspress-theme-anatole/shared": "0.7.9",
|
|
26
26
|
"@rspress/runtime": "1.43.8",
|
|
27
27
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
28
28
|
"copy-to-clipboard": "^3.3.3",
|