@docusaurus/types 4.0.0-canary-6909 → 4.0.0-canary-6912

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "4.0.0-canary-6909",
3
+ "version": "4.0.0-canary-6912",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -28,5 +28,5 @@
28
28
  "react": "^19.3.0",
29
29
  "react-dom": "^19.3.0"
30
30
  },
31
- "gitHead": "5e2a504d84cc304af27b526febd9f9bdb997b290"
31
+ "gitHead": "0678e3df2754a88376515d4fc9cc9b03819d424d"
32
32
  }
package/src/config.d.ts CHANGED
@@ -35,10 +35,6 @@ export type WebpackConfig = {
35
35
  jsLoader?: 'babel' | ((isServer: boolean) => RuleSetRule);
36
36
  };
37
37
 
38
- export type FutureV4Config = {
39
- useCssCascadeLayers: boolean;
40
- };
41
-
42
38
  // VCS (Version Control System) info about a given change, e.g., a git commit.
43
39
  // The agnostic term "VCS" is used instead of "git" to acknowledge the existence
44
40
  // of other version control systems, and external systems like CMSs and i18n
@@ -87,11 +83,6 @@ export type VcsPreset =
87
83
  | 'default-v3';
88
84
 
89
85
  export type FutureConfig = {
90
- /**
91
- * Turns v4 future flags on
92
- */
93
- v4: FutureV4Config;
94
-
95
86
  /**
96
87
  * Docusaurus can work with 2 router types.
97
88
  *
@@ -410,11 +401,6 @@ export type Config = Overwrite<
410
401
  * @deprecated Webpack and Babel support will be removed in Docusaurus v5
411
402
  */
412
403
  webpack?: boolean | WebpackConfig;
413
- future?: Overwrite<
414
- DeepPartial<FutureConfig>,
415
- {
416
- v4?: boolean | Partial<FutureV4Config>;
417
- }
418
- >;
404
+ future?: DeepPartial<FutureConfig>;
419
405
  }
420
406
  >;
package/src/index.d.ts CHANGED
@@ -10,7 +10,6 @@ export {
10
10
  ThemeConfig,
11
11
  DocusaurusConfig,
12
12
  FutureConfig,
13
- FutureV4Config,
14
13
  WebpackConfig,
15
14
  StorageConfig,
16
15
  VcsConfig,