@vuepress/client
Advanced tools
Comparing version 2.0.0-rc.10 to 2.0.0-rc.11
@@ -15,3 +15,3 @@ import { | ||
withBase | ||
} from "./chunk-GA5RAHE7.js"; | ||
} from "./chunk-MPZOAYAQ.js"; | ||
@@ -18,0 +18,0 @@ // src/app.ts |
import * as vue from 'vue'; | ||
import { Component, ComputedRef, Ref, App, VNode, SlotsType, InjectionKey } from 'vue'; | ||
import { Component, ComputedRef, Ref, App, PropType, VNode, SlotsType, InjectionKey } from 'vue'; | ||
import { PageData, HeadConfig, PageFrontmatter, SiteData, SiteLocaleData } from '@vuepress/shared'; | ||
@@ -100,3 +100,3 @@ export { HeadConfig, PageData, PageFrontmatter, PageHeader, SiteData, SiteLocaleData } from '@vuepress/shared'; | ||
interface AutoLinkProps { | ||
interface AutoLinkConfig { | ||
/** | ||
@@ -138,107 +138,17 @@ * Pattern to determine if the link should be active, which has higher priority than `exact` | ||
declare const AutoLink: vue.DefineComponent<{ | ||
/** | ||
* Pattern to determine if the link should be active, which has higher priority than `exact` | ||
*/ | ||
activeMatch: { | ||
type: (StringConstructor | RegExpConstructor)[]; | ||
default: string; | ||
}; | ||
/** | ||
* The `aria-label` attribute | ||
*/ | ||
ariaLabel: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* Whether the link should be active only if the url is an exact match | ||
*/ | ||
exact: BooleanConstructor; | ||
/** | ||
* URL of the auto link | ||
*/ | ||
link: { | ||
type: StringConstructor; | ||
config: { | ||
type: PropType<AutoLinkConfig>; | ||
required: true; | ||
}; | ||
/** | ||
* The `rel` attribute | ||
*/ | ||
rel: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* The `target` attribute | ||
*/ | ||
target: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* Text of the auto link | ||
*/ | ||
text: { | ||
type: StringConstructor; | ||
required: true; | ||
}; | ||
}, () => VNode<vue.RendererNode, vue.RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{ | ||
/** | ||
* Pattern to determine if the link should be active, which has higher priority than `exact` | ||
*/ | ||
activeMatch: { | ||
type: (StringConstructor | RegExpConstructor)[]; | ||
default: string; | ||
}; | ||
/** | ||
* The `aria-label` attribute | ||
*/ | ||
ariaLabel: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* Whether the link should be active only if the url is an exact match | ||
*/ | ||
exact: BooleanConstructor; | ||
/** | ||
* URL of the auto link | ||
*/ | ||
link: { | ||
type: StringConstructor; | ||
config: { | ||
type: PropType<AutoLinkConfig>; | ||
required: true; | ||
}; | ||
/** | ||
* The `rel` attribute | ||
*/ | ||
rel: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* The `target` attribute | ||
*/ | ||
target: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
/** | ||
* Text of the auto link | ||
*/ | ||
text: { | ||
type: StringConstructor; | ||
required: true; | ||
}; | ||
}>>, { | ||
target: string; | ||
activeMatch: string | RegExp; | ||
ariaLabel: string; | ||
exact: boolean; | ||
rel: string; | ||
}, SlotsType<{ | ||
default?: (() => VNode[] | VNode) | undefined; | ||
before?: (() => VNode[] | VNode | null) | undefined; | ||
after?: (() => VNode[] | VNode | null) | undefined; | ||
}>>, {}, SlotsType<{ | ||
default?: ((config: AutoLinkConfig) => VNode[] | VNode) | undefined; | ||
before?: ((config: AutoLinkConfig) => VNode[] | VNode | null) | undefined; | ||
after?: ((config: AutoLinkConfig) => VNode[] | VNode | null) | undefined; | ||
}>>; | ||
@@ -429,2 +339,2 @@ | ||
export { AutoLink, type AutoLinkProps, type ClientConfig, type ClientData, ClientOnly, Content, type Layouts, type LayoutsRef, type PageChunk, type PageComponent, type PageComponentRef, type PageDataRef, type PageFrontmatterRef, type PageHead, type PageHeadRef, type PageHeadTitle, type PageHeadTitleRef, type PageLang, type PageLangRef, type PageLayout, type PageLayoutRef, type Redirects, type RedirectsRef, type ResolvedRoute, type Route, RouteLink, type RouteLinkProps, type RouteLocale, type RouteLocaleRef, type RouteMeta, type RoutePath, type RoutePathRef, type Routes, type RoutesRef, type SiteDataRef, type SiteLocaleDataRef, type UpdateHead, clientDataSymbol, defineClientConfig, resolveRoute, resolveRoutePath, resolvers, updateHeadSymbol, useClientData, useLayouts, usePageComponent, usePageData, usePageFrontmatter, usePageHead, usePageLang, usePageLayout, useRedirects, useRouteLocale, useRoutePath, useRoutes, useSiteData, useSiteLocaleData, useUpdateHead, withBase }; | ||
export { AutoLink, type AutoLinkConfig, type ClientConfig, type ClientData, ClientOnly, Content, type Layouts, type LayoutsRef, type PageChunk, type PageComponent, type PageComponentRef, type PageDataRef, type PageFrontmatterRef, type PageHead, type PageHeadRef, type PageHeadTitle, type PageHeadTitleRef, type PageLang, type PageLangRef, type PageLayout, type PageLayoutRef, type Redirects, type RedirectsRef, type ResolvedRoute, type Route, RouteLink, type RouteLinkProps, type RouteLocale, type RouteLocaleRef, type RouteMeta, type RoutePath, type RoutePathRef, type Routes, type RoutesRef, type SiteDataRef, type SiteLocaleDataRef, type UpdateHead, clientDataSymbol, defineClientConfig, resolveRoute, resolveRoutePath, resolvers, updateHeadSymbol, useClientData, useLayouts, usePageComponent, usePageData, usePageFrontmatter, usePageHead, usePageLang, usePageLayout, useRedirects, useRouteLocale, useRoutePath, useRoutes, useSiteData, useSiteLocaleData, useUpdateHead, withBase }; |
@@ -30,3 +30,3 @@ import { | ||
withBase | ||
} from "./chunk-GA5RAHE7.js"; | ||
} from "./chunk-MPZOAYAQ.js"; | ||
export { | ||
@@ -33,0 +33,0 @@ AutoLink, |
{ | ||
"name": "@vuepress/client", | ||
"version": "2.0.0-rc.10", | ||
"version": "2.0.0-rc.11", | ||
"description": "Client package of VuePress", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"vue-router": "^4.3.2", | ||
"@vuepress/shared": "2.0.0-rc.10" | ||
"@vuepress/shared": "2.0.0-rc.11" | ||
}, | ||
@@ -42,0 +42,0 @@ "publishConfig": { |
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
39903
1182
+ Added@vuepress/shared@2.0.0-rc.11(transitive)
- Removed@vuepress/shared@2.0.0-rc.10(transitive)
Updated@vuepress/shared@2.0.0-rc.11