@rspress/plugin-medium-zoom 2.0.0-alpha.8 → 2.0.0-beta.0

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 +1 -5
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -560,10 +560,6 @@ declare type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'inst
560
560
  svg: string;
561
561
  };
562
562
 
563
- declare type SSGConfig = boolean | {
564
- fallback?: false | 'csr';
565
- };
566
-
567
563
  declare interface UserConfig<ThemeConfig = DefaultThemeConfig> {
568
564
  /**
569
565
  * The root directory of the site.
@@ -664,7 +660,7 @@ declare interface UserConfig<ThemeConfig = DefaultThemeConfig> {
664
660
  /**
665
661
  * Whether to enable ssg, default is true
666
662
  */
667
- ssg?: SSGConfig;
663
+ ssg?: boolean;
668
664
  /**
669
665
  * Whether to enable medium-zoom, default is true
670
666
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-medium-zoom",
3
- "version": "2.0.0-alpha.8",
3
+ "version": "2.0.0-beta.0",
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.52.2",
31
- "@rslib/core": "0.6.0",
30
+ "@microsoft/api-extractor": "^7.52.4",
31
+ "@rslib/core": "0.6.5",
32
32
  "@types/node": "^18.11.17",
33
33
  "@types/react": "^18.3.20",
34
- "@types/react-dom": "^18.3.5",
35
- "react": "^18.3.1",
34
+ "@types/react-dom": "^18.3.6",
35
+ "react": "^19.1.0",
36
36
  "typescript": "^5.8.2",
37
37
  "@rspress/config": "1.0.0",
38
- "@rspress/shared": "2.0.0-alpha.8"
38
+ "@rspress/shared": "2.0.0-beta.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@rspress/runtime": "^2.0.0-alpha.8"
41
+ "@rspress/runtime": "^2.0.0-beta.0"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=14.17.6"