@rspress/plugin-medium-zoom 1.39.4 → 1.40.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.
- package/dist/index.d.ts +17 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
@@ -634,6 +634,23 @@ declare interface UserConfig<ThemeConfig = Config$1> {
|
|
634
634
|
*/
|
635
635
|
versions: string[];
|
636
636
|
};
|
637
|
+
/**
|
638
|
+
* Language parity checking config
|
639
|
+
*/
|
640
|
+
languageParity?: {
|
641
|
+
/**
|
642
|
+
* Whether to enable language parity checking
|
643
|
+
*/
|
644
|
+
enabled: boolean;
|
645
|
+
/**
|
646
|
+
* Directories to include in the parity check
|
647
|
+
*/
|
648
|
+
include: string[];
|
649
|
+
/**
|
650
|
+
* Directories to exclude from the parity check
|
651
|
+
*/
|
652
|
+
exclude: string[];
|
653
|
+
};
|
637
654
|
}
|
638
655
|
|
639
656
|
declare interface ZoomContainer {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/plugin-medium-zoom",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.40.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,8 +27,8 @@
|
|
27
27
|
"medium-zoom": "1.1.0"
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@microsoft/api-extractor": "^7.
|
31
|
-
"@modern-js/tsconfig": "2.63.
|
30
|
+
"@microsoft/api-extractor": "^7.49.1",
|
31
|
+
"@modern-js/tsconfig": "2.63.6",
|
32
32
|
"@rslib/core": "0.2.2",
|
33
33
|
"@types/node": "^18.11.17",
|
34
34
|
"@types/react": "^18.3.18",
|
@@ -36,10 +36,10 @@
|
|
36
36
|
"react": "^18.3.1",
|
37
37
|
"typescript": "^5.5.3",
|
38
38
|
"vitest": "2.1.8",
|
39
|
-
"@rspress/shared": "1.
|
39
|
+
"@rspress/shared": "1.40.0"
|
40
40
|
},
|
41
41
|
"peerDependencies": {
|
42
|
-
"@rspress/runtime": "^1.
|
42
|
+
"@rspress/runtime": "^1.40.0"
|
43
43
|
},
|
44
44
|
"engines": {
|
45
45
|
"node": ">=14.17.6"
|