@vuepress/theme-default
Advanced tools
Comparing version 2.0.0-beta.53 to 2.0.0-beta.54
import type { InjectionKey, WritableComputedRef } from 'vue'; | ||
export declare type DarkModeRef = WritableComputedRef<boolean>; | ||
export type DarkModeRef = WritableComputedRef<boolean>; | ||
export declare const darkModeSymbol: InjectionKey<DarkModeRef>; | ||
@@ -4,0 +4,0 @@ /** |
import type { PageHeader } from '@vuepress/client'; | ||
import type { ComputedRef, InjectionKey } from 'vue'; | ||
import type { DefaultThemeData, DefaultThemeNormalPageFrontmatter, ResolvedSidebarItem, SidebarConfigArray, SidebarConfigObject } from '../../shared/index.js'; | ||
export declare type SidebarItemsRef = ComputedRef<ResolvedSidebarItem[]>; | ||
export type SidebarItemsRef = ComputedRef<ResolvedSidebarItem[]>; | ||
export declare const sidebarItemsSymbol: InjectionKey<SidebarItemsRef>; | ||
@@ -6,0 +6,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare type RepoType = 'GitHub' | 'GitLab' | 'Gitee' | 'Bitbucket' | null; | ||
export type RepoType = 'GitHub' | 'GitLab' | 'Gitee' | 'Bitbucket' | null; | ||
export declare const resolveRepoType: (repo: string) => RepoType; |
@@ -26,19 +26,18 @@ /** | ||
*/ | ||
export declare type NavbarItem = NavLink; | ||
export declare type NavbarGroup = NavGroup<NavbarGroup | NavbarItem | string>; | ||
export declare type NavbarConfig = (NavbarItem | NavbarGroup | string)[]; | ||
export declare type ResolvedNavbarItem = NavbarItem | NavGroup<ResolvedNavbarItem>; | ||
export type NavbarItem = NavLink; | ||
export type NavbarGroup = NavGroup<NavbarGroup | NavbarItem | string>; | ||
export type NavbarConfig = (NavbarItem | NavbarGroup | string)[]; | ||
export type ResolvedNavbarItem = NavbarItem | NavGroup<ResolvedNavbarItem>; | ||
/** | ||
* Sidebar types | ||
*/ | ||
export declare type SidebarItem = NavItem & Partial<NavLink>; | ||
export declare type SidebarGroup = SidebarItem & NavGroup<SidebarItem | SidebarGroup | string>; | ||
export declare type SidebarGroupCollapsible = SidebarGroup & { | ||
export type SidebarItem = NavItem & Partial<NavLink>; | ||
export type SidebarGroup = SidebarItem & NavGroup<SidebarItem | SidebarGroup | string> & { | ||
collapsible?: boolean; | ||
}; | ||
export declare type SidebarConfigArray = (SidebarItem | SidebarGroupCollapsible | string)[]; | ||
export declare type SidebarConfigObject = Record<string, SidebarConfigArray>; | ||
export declare type SidebarConfig = SidebarConfigArray | SidebarConfigObject; | ||
export declare type ResolvedSidebarItem = SidebarItem & Partial<NavGroup<ResolvedSidebarItem>> & { | ||
export type SidebarConfigArray = (SidebarItem | SidebarGroup | string)[]; | ||
export type SidebarConfigObject = Record<string, SidebarConfigArray>; | ||
export type SidebarConfig = SidebarConfigArray | SidebarConfigObject; | ||
export type ResolvedSidebarItem = SidebarItem & Partial<NavGroup<ResolvedSidebarItem>> & { | ||
collapsible?: boolean; | ||
}; |
@@ -45,4 +45,4 @@ import type { ThemeData } from '@vuepress/plugin-theme-data'; | ||
} | ||
export declare type DefaultThemeLocaleOptions = DefaultThemeData; | ||
export declare type DefaultThemeData = ThemeData<DefaultThemeLocaleData>; | ||
export type DefaultThemeLocaleOptions = DefaultThemeData; | ||
export type DefaultThemeData = ThemeData<DefaultThemeLocaleData>; | ||
export interface DefaultThemeLocaleData extends LocaleData { | ||
@@ -49,0 +49,0 @@ /** |
{ | ||
"name": "@vuepress/theme-default", | ||
"version": "2.0.0-beta.53", | ||
"version": "2.0.0-beta.54", | ||
"description": "Default theme of VuePress", | ||
@@ -39,20 +39,20 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.53", | ||
"@vuepress/core": "2.0.0-beta.53", | ||
"@vuepress/plugin-active-header-links": "2.0.0-beta.53", | ||
"@vuepress/plugin-back-to-top": "2.0.0-beta.53", | ||
"@vuepress/plugin-container": "2.0.0-beta.53", | ||
"@vuepress/plugin-external-link-icon": "2.0.0-beta.53", | ||
"@vuepress/plugin-git": "2.0.0-beta.53", | ||
"@vuepress/plugin-medium-zoom": "2.0.0-beta.53", | ||
"@vuepress/plugin-nprogress": "2.0.0-beta.53", | ||
"@vuepress/plugin-palette": "2.0.0-beta.53", | ||
"@vuepress/plugin-prismjs": "2.0.0-beta.53", | ||
"@vuepress/plugin-theme-data": "2.0.0-beta.53", | ||
"@vuepress/shared": "2.0.0-beta.53", | ||
"@vuepress/utils": "2.0.0-beta.53", | ||
"@vueuse/core": "^9.3.1", | ||
"sass": "^1.55.0", | ||
"vue": "^3.2.41", | ||
"vue-router": "^4.1.6" | ||
"@vueuse/core": "^9.6.0", | ||
"sass": "^1.56.1", | ||
"vue": "^3.2.45", | ||
"vue-router": "^4.1.6", | ||
"@vuepress/client": "2.0.0-beta.54", | ||
"@vuepress/core": "2.0.0-beta.54", | ||
"@vuepress/plugin-active-header-links": "2.0.0-beta.54", | ||
"@vuepress/plugin-external-link-icon": "2.0.0-beta.54", | ||
"@vuepress/plugin-back-to-top": "2.0.0-beta.54", | ||
"@vuepress/plugin-palette": "2.0.0-beta.54", | ||
"@vuepress/plugin-prismjs": "2.0.0-beta.54", | ||
"@vuepress/plugin-git": "2.0.0-beta.54", | ||
"@vuepress/plugin-theme-data": "2.0.0-beta.54", | ||
"@vuepress/plugin-medium-zoom": "2.0.0-beta.54", | ||
"@vuepress/utils": "2.0.0-beta.54", | ||
"@vuepress/plugin-container": "2.0.0-beta.54", | ||
"@vuepress/shared": "2.0.0-beta.54", | ||
"@vuepress/plugin-nprogress": "2.0.0-beta.54" | ||
}, | ||
@@ -59,0 +59,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119466
1144
+ Added@vuepress/client@2.0.0-beta.54(transitive)
+ Added@vuepress/core@2.0.0-beta.54(transitive)
+ Added@vuepress/markdown@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-active-header-links@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-back-to-top@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-container@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-external-link-icon@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-git@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-medium-zoom@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-nprogress@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-palette@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-prismjs@2.0.0-beta.54(transitive)
+ Added@vuepress/plugin-theme-data@2.0.0-beta.54(transitive)
+ Added@vuepress/shared@2.0.0-beta.54(transitive)
+ Added@vuepress/utils@2.0.0-beta.54(transitive)
+ Addedfs-extra@11.2.0(transitive)
- Removed@vuepress/client@2.0.0-beta.53(transitive)
- Removed@vuepress/core@2.0.0-beta.53(transitive)
- Removed@vuepress/markdown@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-active-header-links@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-back-to-top@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-container@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-external-link-icon@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-git@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-medium-zoom@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-nprogress@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-palette@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-prismjs@2.0.0-beta.53(transitive)
- Removed@vuepress/plugin-theme-data@2.0.0-beta.53(transitive)
- Removed@vuepress/shared@2.0.0-beta.53(transitive)
- Removed@vuepress/utils@2.0.0-beta.53(transitive)
- Removedfs-extra@10.1.0(transitive)
Updated@vuepress/core@2.0.0-beta.54
Updated@vueuse/core@^9.6.0
Updatedsass@^1.56.1
Updatedvue@^3.2.45