@vuepress/theme-default 2.0.0-beta.34 → 2.0.0-beta.35

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.
@@ -1,5 +1,5 @@
1
1
  import type { VNode } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
3
  [key: string]: any;
4
- }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
4
+ }> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
5
5
  export default _default;
@@ -1,4 +1,9 @@
1
1
  import type { NavLink } from '../../shared';
2
+ declare module 'vue-router' {
3
+ interface RouteMeta {
4
+ title?: string;
5
+ }
6
+ }
2
7
  /**
3
8
  * Resolve NavLink props from string
4
9
  *
@@ -10,10 +10,10 @@
10
10
  * fade-slide-y
11
11
  */
12
12
  .fade-slide-y-enter-active {
13
- transition: all 0.3s ease;
13
+ transition: all 0.2s ease;
14
14
  }
15
15
  .fade-slide-y-leave-active {
16
- transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
16
+ transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
17
17
  }
18
18
  .fade-slide-y-enter-from,
19
19
  .fade-slide-y-leave-to {
@@ -11,6 +11,8 @@ const resolveActiveHeaderLinksPluginOptions = (themePlugins) => {
11
11
  return {
12
12
  headerLinkSelector: 'a.sidebar-item',
13
13
  headerAnchorSelector: '.header-anchor',
14
+ // should greater than page transition duration
15
+ delay: 300,
14
16
  };
15
17
  };
16
18
  exports.resolveActiveHeaderLinksPluginOptions = resolveActiveHeaderLinksPluginOptions;
@@ -12,7 +12,7 @@ const resolveMediumZoomPluginOptions = (themePlugins) => {
12
12
  selector: '.theme-default-content > img, .theme-default-content :not(a) > img',
13
13
  zoomOptions: {},
14
14
  // should greater than page transition duration
15
- delay: 400,
15
+ delay: 300,
16
16
  };
17
17
  };
18
18
  exports.resolveMediumZoomPluginOptions = resolveMediumZoomPluginOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/theme-default",
3
- "version": "2.0.0-beta.34",
3
+ "version": "2.0.0-beta.35",
4
4
  "description": "Default theme of VuePress",
5
5
  "keywords": [
6
6
  "vuepress-theme",
@@ -30,28 +30,28 @@
30
30
  "copy": "cpx \"src/**/*.{d.ts,vue,scss}\" lib"
31
31
  },
32
32
  "dependencies": {
33
- "@vuepress/client": "2.0.0-beta.34",
34
- "@vuepress/core": "2.0.0-beta.34",
35
- "@vuepress/plugin-active-header-links": "2.0.0-beta.34",
36
- "@vuepress/plugin-back-to-top": "2.0.0-beta.34",
37
- "@vuepress/plugin-container": "2.0.0-beta.34",
38
- "@vuepress/plugin-external-link-icon": "2.0.0-beta.34",
39
- "@vuepress/plugin-git": "2.0.0-beta.34",
40
- "@vuepress/plugin-medium-zoom": "2.0.0-beta.34",
41
- "@vuepress/plugin-nprogress": "2.0.0-beta.34",
42
- "@vuepress/plugin-palette": "2.0.0-beta.34",
43
- "@vuepress/plugin-prismjs": "2.0.0-beta.34",
44
- "@vuepress/plugin-theme-data": "2.0.0-beta.34",
45
- "@vuepress/shared": "2.0.0-beta.33",
46
- "@vuepress/utils": "2.0.0-beta.33",
47
- "@vueuse/core": "^7.5.3",
48
- "sass": "^1.47.0",
33
+ "@vuepress/client": "2.0.0-beta.35",
34
+ "@vuepress/core": "2.0.0-beta.35",
35
+ "@vuepress/plugin-active-header-links": "2.0.0-beta.35",
36
+ "@vuepress/plugin-back-to-top": "2.0.0-beta.35",
37
+ "@vuepress/plugin-container": "2.0.0-beta.35",
38
+ "@vuepress/plugin-external-link-icon": "2.0.0-beta.35",
39
+ "@vuepress/plugin-git": "2.0.0-beta.35",
40
+ "@vuepress/plugin-medium-zoom": "2.0.0-beta.35",
41
+ "@vuepress/plugin-nprogress": "2.0.0-beta.35",
42
+ "@vuepress/plugin-palette": "2.0.0-beta.35",
43
+ "@vuepress/plugin-prismjs": "2.0.0-beta.35",
44
+ "@vuepress/plugin-theme-data": "2.0.0-beta.35",
45
+ "@vuepress/shared": "2.0.0-beta.35",
46
+ "@vuepress/utils": "2.0.0-beta.35",
47
+ "@vueuse/core": "^7.5.4",
48
+ "sass": "^1.49.0",
49
49
  "sass-loader": "^12.4.0",
50
- "vue": "^3.2.26",
50
+ "vue": "^3.2.28",
51
51
  "vue-router": "^4.0.12"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "aba907994697f4d0a691f2e3668dad4bea388f20"
56
+ "gitHead": "4bf1c55b6fb863c9251aa80178d5bc6475f5b315"
57
57
  }