@rspress/plugin-medium-zoom 2.0.0-beta.2 → 2.0.0-beta.4

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 -1
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -127,7 +127,7 @@ declare interface DefaultThemeConfig {
127
127
  * Whether to redirect to the closest locale when the user visits the site
128
128
  * @default 'auto'
129
129
  */
130
- localeRedirect?: 'auto' | 'never';
130
+ localeRedirect?: 'auto' | 'never' | 'only-default-lang';
131
131
  /**
132
132
  * Whether to show the fallback heading title when the heading title is not presented but `frontmatter.title` exists
133
133
  * @default true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-medium-zoom",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.4",
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": {
@@ -32,19 +32,19 @@
32
32
  "medium-zoom": "1.1.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@microsoft/api-extractor": "^7.52.4",
36
- "@rslib/core": "0.6.5",
35
+ "@microsoft/api-extractor": "^7.52.7",
36
+ "@rslib/core": "0.6.8",
37
37
  "@types/node": "^18.11.17",
38
- "@types/react": "^18.3.20",
39
- "@types/react-dom": "^18.3.6",
38
+ "@types/react": "^18.3.21",
39
+ "@types/react-dom": "^18.3.7",
40
40
  "react": "^19.1.0",
41
- "rsbuild-plugin-publint": "^0.3.0",
41
+ "rsbuild-plugin-publint": "^0.3.1",
42
42
  "typescript": "^5.8.2",
43
43
  "@rspress/config": "1.0.0",
44
- "@rspress/shared": "2.0.0-beta.2"
44
+ "@rspress/shared": "2.0.0-beta.4"
45
45
  },
46
46
  "peerDependencies": {
47
- "@rspress/runtime": "^2.0.0-beta.2"
47
+ "@rspress/runtime": "^2.0.0-beta.4"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=18.0.0"