@docusaurus/plugin-content-docs 0.0.0-4778 → 0.0.0-4783

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/plugin-content-docs",
3
- "version": "0.0.0-4778",
3
+ "version": "0.0.0-4783",
4
4
  "description": "Docs plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@docusaurus/core": "0.0.0-4778",
27
- "@docusaurus/logger": "0.0.0-4778",
28
- "@docusaurus/mdx-loader": "0.0.0-4778",
29
- "@docusaurus/utils": "0.0.0-4778",
30
- "@docusaurus/utils-validation": "0.0.0-4778",
26
+ "@docusaurus/core": "0.0.0-4783",
27
+ "@docusaurus/logger": "0.0.0-4783",
28
+ "@docusaurus/mdx-loader": "0.0.0-4783",
29
+ "@docusaurus/utils": "0.0.0-4783",
30
+ "@docusaurus/utils-validation": "0.0.0-4783",
31
31
  "combine-promises": "^1.1.0",
32
32
  "fs-extra": "^10.0.1",
33
33
  "import-fresh": "^3.3.0",
@@ -39,8 +39,8 @@
39
39
  "webpack": "^5.70.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@docusaurus/module-type-aliases": "0.0.0-4778",
43
- "@docusaurus/types": "0.0.0-4778",
42
+ "@docusaurus/module-type-aliases": "0.0.0-4783",
43
+ "@docusaurus/types": "0.0.0-4783",
44
44
  "@types/js-yaml": "^4.0.5",
45
45
  "@types/picomatch": "^2.3.0",
46
46
  "commander": "^5.1.0",
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=14"
58
58
  },
59
- "gitHead": "da6091ef54123897a8363f92f62d4d97d3428fc3"
59
+ "gitHead": "e49cbb0e527edd15e031e57ece1739c6183e4a10"
60
60
  }
@@ -134,6 +134,8 @@ declare module '@docusaurus/plugin-content-docs' {
134
134
 
135
135
  export type PropSidebarItemLink =
136
136
  import('./sidebars/types').PropSidebarItemLink;
137
+ export type PropSidebarItemHtml =
138
+ import('./sidebars/types').PropSidebarItemHtml;
137
139
  export type PropSidebarItemCategory =
138
140
  import('./sidebars/types').PropSidebarItemCategory;
139
141
  export type PropSidebarItem = import('./sidebars/types').PropSidebarItem;
@@ -273,6 +275,40 @@ declare module '@theme/DocPage' {
273
275
  export default function DocPage(props: Props): JSX.Element;
274
276
  }
275
277
 
278
+ declare module '@theme/DocPage/Layout' {
279
+ import type {ReactNode} from 'react';
280
+
281
+ export interface Props {
282
+ children: ReactNode;
283
+ }
284
+
285
+ export default function DocPageLayout(props: Props): JSX.Element;
286
+ }
287
+
288
+ declare module '@theme/DocPage/Layout/Aside' {
289
+ import type {Dispatch, SetStateAction} from 'react';
290
+ import type {PropSidebar} from '@docusaurus/plugin-content-docs';
291
+
292
+ export interface Props {
293
+ sidebar: PropSidebar;
294
+ hiddenSidebarContainer: boolean;
295
+ setHiddenSidebarContainer: Dispatch<SetStateAction<boolean>>;
296
+ }
297
+
298
+ export default function DocPageLayoutAside(props: Props): JSX.Element;
299
+ }
300
+
301
+ declare module '@theme/DocPage/Layout/Main' {
302
+ import type {ReactNode} from 'react';
303
+
304
+ export interface Props {
305
+ hiddenSidebarContainer: boolean;
306
+ children: ReactNode;
307
+ }
308
+
309
+ export default function DocPageLayoutMain(props: Props): JSX.Element;
310
+ }
311
+
276
312
  // TODO until TS supports exports field... hope it's in 4.6
277
313
  declare module '@docusaurus/plugin-content-docs/client' {
278
314
  export type ActivePlugin = {