@nexpress/theme-docs 0.3.15 → 0.3.17
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Tiny client island the docs `codePanel` / `shellCommand` blocks
|
|
@@ -14,6 +14,6 @@ import * as React from 'react';
|
|
|
14
14
|
declare function CopyButton({ text, className, }: {
|
|
15
15
|
text: string;
|
|
16
16
|
className?: string;
|
|
17
|
-
}):
|
|
17
|
+
}): react.ReactElement;
|
|
18
18
|
|
|
19
19
|
export { CopyButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Docs theme's public-site error boundary fallback.
|
|
@@ -20,6 +20,6 @@ interface DocsErrorProps {
|
|
|
20
20
|
};
|
|
21
21
|
reset: () => void;
|
|
22
22
|
}
|
|
23
|
-
declare function DocsError({ error, reset }: DocsErrorProps):
|
|
23
|
+
declare function DocsError({ error, reset }: DocsErrorProps): react.JSX.Element;
|
|
24
24
|
|
|
25
25
|
export { DocsError as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Docs theme's member-tree error boundary fallback.
|
|
@@ -22,6 +22,6 @@ interface DocsMembersErrorProps {
|
|
|
22
22
|
};
|
|
23
23
|
reset: () => void;
|
|
24
24
|
}
|
|
25
|
-
declare function DocsMembersError({ error, reset, }: DocsMembersErrorProps):
|
|
25
|
+
declare function DocsMembersError({ error, reset, }: DocsMembersErrorProps): react.JSX.Element;
|
|
26
26
|
|
|
27
27
|
export { DocsMembersError as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { NpRouteRenderProps, NpThemeShellProps, NpTemplateRenderProps } from '@n
|
|
|
3
3
|
export { CopyButton } from './components/copy-button.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { NpBlockDefinition } from '@nexpress/blocks';
|
|
8
7
|
import { z } from 'zod';
|
|
9
8
|
|
|
@@ -60,7 +59,7 @@ declare function DocsMembersNotFound(): React.ReactElement;
|
|
|
60
59
|
*/
|
|
61
60
|
declare function DocsMembersShell({ children }: {
|
|
62
61
|
children: ReactNode;
|
|
63
|
-
}):
|
|
62
|
+
}): React.JSX.Element;
|
|
64
63
|
|
|
65
64
|
/**
|
|
66
65
|
* Phase F.9-B — docs 404.
|
|
@@ -149,9 +148,9 @@ declare const docsCss = "\n.np-docs-shell {\n display: flex;\n flex-direction:
|
|
|
149
148
|
*/
|
|
150
149
|
declare function DocPageTemplate({ doc: rawDoc, }: NpTemplateRenderProps): Promise<React.ReactElement>;
|
|
151
150
|
|
|
152
|
-
declare function PageApiReferenceTemplate(_props: NpTemplateRenderProps):
|
|
151
|
+
declare function PageApiReferenceTemplate(_props: NpTemplateRenderProps): React.JSX.Element;
|
|
153
152
|
|
|
154
|
-
declare function PageChangelogTemplate(_props: NpTemplateRenderProps):
|
|
153
|
+
declare function PageChangelogTemplate(_props: NpTemplateRenderProps): React.JSX.Element;
|
|
155
154
|
|
|
156
155
|
declare const docsBlocks: NpBlockDefinition[];
|
|
157
156
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexpress/theme-docs",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "Documentation theme for NexPress — hierarchical sidebar, prev/next nav, in-page TOC.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Nexpress",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"zod": "^4.4.3",
|
|
51
|
-
"@nexpress/
|
|
52
|
-
"@nexpress/core": "0.3.
|
|
53
|
-
"@nexpress/
|
|
54
|
-
"@nexpress/
|
|
55
|
-
"@nexpress/
|
|
51
|
+
"@nexpress/blocks": "0.3.17",
|
|
52
|
+
"@nexpress/core": "0.3.17",
|
|
53
|
+
"@nexpress/editor": "0.3.17",
|
|
54
|
+
"@nexpress/next": "0.3.17",
|
|
55
|
+
"@nexpress/theme": "0.3.17"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@types/react": "^19.2.
|
|
58
|
+
"@types/react": "^19.2.16",
|
|
59
59
|
"@types/react-dom": "^19.0.0",
|
|
60
|
-
"next": "^16.2.
|
|
61
|
-
"react": "^19.2.
|
|
62
|
-
"react-dom": "^19.2.
|
|
60
|
+
"next": "^16.2.7",
|
|
61
|
+
"react": "^19.2.7",
|
|
62
|
+
"react-dom": "^19.2.7",
|
|
63
63
|
"tsup": "^8.5.0",
|
|
64
64
|
"typescript": "^5.8.0"
|
|
65
65
|
},
|