@vuepress/theme-default 2.0.0-rc.120 → 2.0.0-rc.121

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.
@@ -118,9 +118,8 @@ export const setupSidebarItems = () => {
118
118
  const { frontmatter, page, routeLocale, themeLocale } = useData();
119
119
  const headers = useHeaders();
120
120
  const routePath = useRoutePath();
121
- const sidebarConfig = computed(() => frontmatter.value.home
122
- ? false
123
- : (frontmatter.value.sidebar ??
121
+ const sidebarConfig = computed(() => !frontmatter.value.home &&
122
+ (frontmatter.value.sidebar ??
124
123
  themeLocale.value.sidebar ??
125
124
  'heading'));
126
125
  const sidebarItems = computed(() => resolveSidebarItems(sidebarConfig.value, page.value, routePath.value, routeLocale.value, headers.value));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/theme-default",
3
- "version": "2.0.0-rc.120",
3
+ "version": "2.0.0-rc.121",
4
4
  "description": "Default theme of VuePress",
5
5
  "keywords": [
6
6
  "vuepress-theme",
@@ -42,27 +42,27 @@
42
42
  "templates"
43
43
  ],
44
44
  "dependencies": {
45
- "@vuepress/helper": "2.0.0-rc.120",
45
+ "@vuepress/helper": "2.0.0-rc.121",
46
46
  "@vuepress/plugin-active-header-links": "2.0.0-rc.118",
47
- "@vuepress/plugin-back-to-top": "2.0.0-rc.120",
48
- "@vuepress/plugin-copy-code": "2.0.0-rc.120",
49
- "@vuepress/plugin-git": "2.0.0-rc.120",
50
- "@vuepress/plugin-links-check": "2.0.0-rc.120",
51
- "@vuepress/plugin-markdown-hint": "2.0.0-rc.120",
52
- "@vuepress/plugin-markdown-tab": "2.0.0-rc.120",
53
- "@vuepress/plugin-medium-zoom": "2.0.0-rc.120",
54
- "@vuepress/plugin-nprogress": "2.0.0-rc.120",
55
- "@vuepress/plugin-palette": "2.0.0-rc.120",
56
- "@vuepress/plugin-prismjs": "2.0.0-rc.120",
57
- "@vuepress/plugin-seo": "2.0.0-rc.120",
58
- "@vuepress/plugin-sitemap": "2.0.0-rc.120",
47
+ "@vuepress/plugin-back-to-top": "2.0.0-rc.121",
48
+ "@vuepress/plugin-copy-code": "2.0.0-rc.121",
49
+ "@vuepress/plugin-git": "2.0.0-rc.121",
50
+ "@vuepress/plugin-links-check": "2.0.0-rc.121",
51
+ "@vuepress/plugin-markdown-hint": "2.0.0-rc.121",
52
+ "@vuepress/plugin-markdown-tab": "2.0.0-rc.121",
53
+ "@vuepress/plugin-medium-zoom": "2.0.0-rc.121",
54
+ "@vuepress/plugin-nprogress": "2.0.0-rc.121",
55
+ "@vuepress/plugin-palette": "2.0.0-rc.121",
56
+ "@vuepress/plugin-prismjs": "2.0.0-rc.121",
57
+ "@vuepress/plugin-seo": "2.0.0-rc.121",
58
+ "@vuepress/plugin-sitemap": "2.0.0-rc.121",
59
59
  "@vuepress/plugin-theme-data": "2.0.0-rc.120",
60
60
  "@vueuse/core": "^14.1.0",
61
61
  "vue": "^3.5.25"
62
62
  },
63
63
  "peerDependencies": {
64
- "sass": "^1.94.2",
65
- "sass-embedded": "^1.93.3",
64
+ "sass": "^1.96.0",
65
+ "sass-embedded": "^1.96.0",
66
66
  "sass-loader": "^16.0.6",
67
67
  "vuepress": "2.0.0-rc.26"
68
68
  },
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "02d058c345d689f6a639ca01f937b664deda33d3"
83
+ "gitHead": "8711ffd5101434c786d865c501141ab04a252846"
84
84
  }