@rspress/plugin-medium-zoom 2.0.0-alpha.1 → 2.0.0-alpha.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -5
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -194,6 +194,7 @@ declare interface FrontMatterMeta {
194
194
  titleSuffix?: string;
195
195
  head?: [string, Record<string, string>][];
196
196
  context?: string;
197
+ footer?: boolean;
197
198
  [key: string]: unknown;
198
199
  }
199
200
 
@@ -559,10 +560,6 @@ declare type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'inst
559
560
  svg: string;
560
561
  };
561
562
 
562
- declare type SSGConfig = boolean | {
563
- strict?: boolean;
564
- };
565
-
566
563
  declare interface UserConfig<ThemeConfig = DefaultThemeConfig> {
567
564
  /**
568
565
  * The root directory of the site.
@@ -663,7 +660,7 @@ declare interface UserConfig<ThemeConfig = DefaultThemeConfig> {
663
660
  /**
664
661
  * Whether to enable ssg, default is true
665
662
  */
666
- ssg?: SSGConfig;
663
+ ssg?: boolean;
667
664
  /**
668
665
  * Whether to enable medium-zoom, default is true
669
666
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-medium-zoom",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0-alpha.10",
4
4
  "description": "A plugin for rspress to zoom images in docs.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -27,18 +27,18 @@
27
27
  "medium-zoom": "1.1.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@microsoft/api-extractor": "^7.51.1",
31
- "@rslib/core": "0.5.3",
30
+ "@microsoft/api-extractor": "^7.52.3",
31
+ "@rslib/core": "0.6.1",
32
32
  "@types/node": "^18.11.17",
33
- "@types/react": "^18.3.18",
34
- "@types/react-dom": "^18.3.5",
33
+ "@types/react": "^18.3.20",
34
+ "@types/react-dom": "^18.3.6",
35
35
  "react": "^18.3.1",
36
- "typescript": "^5.5.3",
36
+ "typescript": "^5.8.2",
37
37
  "@rspress/config": "1.0.0",
38
- "@rspress/shared": "2.0.0-alpha.1"
38
+ "@rspress/shared": "2.0.0-alpha.10"
39
39
  },
40
40
  "peerDependencies": {
41
- "@rspress/runtime": "^2.0.0-alpha.1"
41
+ "@rspress/runtime": "^2.0.0-alpha.10"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=14.17.6"