@docusaurus/theme-classic 0.0.0-4561 → 0.0.0-4566
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/lib/theme-classic.d.ts +72 -0
- package/package.json +13 -13
- package/src/theme-classic.d.ts +72 -0
package/lib/theme-classic.d.ts
CHANGED
|
@@ -43,6 +43,21 @@ declare module '@theme/BlogListPaginator' {
|
|
|
43
43
|
export default BlogListPaginator;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
declare module '@theme/BlogSidebar' {
|
|
47
|
+
export type BlogSidebarItem = {title: string; permalink: string};
|
|
48
|
+
export type BlogSidebar = {
|
|
49
|
+
title: string;
|
|
50
|
+
items: BlogSidebarItem[];
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export interface Props {
|
|
54
|
+
readonly sidebar: BlogSidebar;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const BlogSidebar: (props: Props) => JSX.Element;
|
|
58
|
+
export default BlogSidebar;
|
|
59
|
+
}
|
|
60
|
+
|
|
46
61
|
declare module '@theme/BlogPostItem' {
|
|
47
62
|
import type {FrontMatter, Metadata} from '@theme/BlogPostPage';
|
|
48
63
|
import type {Assets} from '@docusaurus/plugin-content-blog';
|
|
@@ -123,6 +138,32 @@ declare module '@theme/CodeBlock' {
|
|
|
123
138
|
export default CodeBlock;
|
|
124
139
|
}
|
|
125
140
|
|
|
141
|
+
declare module '@theme/DocCard' {
|
|
142
|
+
import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
|
|
143
|
+
|
|
144
|
+
export interface Props {
|
|
145
|
+
readonly item: PropSidebarItem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export default function DocCard(props: Props): JSX.Element;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare module '@theme/DocCardList' {
|
|
152
|
+
import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
|
|
153
|
+
|
|
154
|
+
export interface Props {
|
|
155
|
+
readonly items: PropSidebarItem[];
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export default function DocCardList(props: Props): JSX.Element;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare module '@theme/DocItemFooter' {
|
|
162
|
+
import type {Props} from '@theme/DocItem';
|
|
163
|
+
|
|
164
|
+
export default function DocItemFooter(props: Props): JSX.Element;
|
|
165
|
+
}
|
|
166
|
+
|
|
126
167
|
declare module '@theme/DocPaginator' {
|
|
127
168
|
import type {PropNavigation} from '@docusaurus/plugin-content-docs';
|
|
128
169
|
|
|
@@ -174,6 +215,22 @@ declare module '@theme/DocSidebarItems' {
|
|
|
174
215
|
export default function DocSidebarItems(props: Props): JSX.Element;
|
|
175
216
|
}
|
|
176
217
|
|
|
218
|
+
declare module '@theme/DocVersionBanner' {
|
|
219
|
+
export interface Props {
|
|
220
|
+
readonly className?: string;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export default function DocVersionBanner(props: Props): JSX.Element;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare module '@theme/DocVersionBadge' {
|
|
227
|
+
export interface Props {
|
|
228
|
+
readonly className?: string;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export default function DocVersionBadge(props: Props): JSX.Element;
|
|
232
|
+
}
|
|
233
|
+
|
|
177
234
|
declare module '@theme/DocVersionSuggestions' {
|
|
178
235
|
const DocVersionSuggestions: () => JSX.Element;
|
|
179
236
|
export default DocVersionSuggestions;
|
|
@@ -727,3 +784,18 @@ declare module '@theme/prism-include-languages' {
|
|
|
727
784
|
PrismObject: typeof PrismNamespace,
|
|
728
785
|
): void;
|
|
729
786
|
}
|
|
787
|
+
|
|
788
|
+
declare module '@theme/Seo' {
|
|
789
|
+
import type {ReactNode} from 'react';
|
|
790
|
+
|
|
791
|
+
export interface Props {
|
|
792
|
+
readonly title?: string;
|
|
793
|
+
readonly description?: string;
|
|
794
|
+
readonly keywords?: readonly string[] | string;
|
|
795
|
+
readonly image?: string;
|
|
796
|
+
readonly children?: ReactNode;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
const Seo: (props: Props) => JSX.Element;
|
|
800
|
+
export default Seo;
|
|
801
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-classic",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4566",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"format:lib-next": "prettier --config ../../.prettierrc --write \"lib-next/**/*.{js,ts,jsx,tsc}\""
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@docusaurus/core": "0.0.0-
|
|
25
|
-
"@docusaurus/plugin-content-blog": "0.0.0-
|
|
26
|
-
"@docusaurus/plugin-content-docs": "0.0.0-
|
|
27
|
-
"@docusaurus/plugin-content-pages": "0.0.0-
|
|
28
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
29
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
30
|
-
"@docusaurus/utils": "0.0.0-
|
|
31
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
32
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
24
|
+
"@docusaurus/core": "0.0.0-4566",
|
|
25
|
+
"@docusaurus/plugin-content-blog": "0.0.0-4566",
|
|
26
|
+
"@docusaurus/plugin-content-docs": "0.0.0-4566",
|
|
27
|
+
"@docusaurus/plugin-content-pages": "0.0.0-4566",
|
|
28
|
+
"@docusaurus/theme-common": "0.0.0-4566",
|
|
29
|
+
"@docusaurus/theme-translations": "0.0.0-4566",
|
|
30
|
+
"@docusaurus/utils": "0.0.0-4566",
|
|
31
|
+
"@docusaurus/utils-common": "0.0.0-4566",
|
|
32
|
+
"@docusaurus/utils-validation": "0.0.0-4566",
|
|
33
33
|
"@mdx-js/react": "^1.6.22",
|
|
34
34
|
"clsx": "^1.1.1",
|
|
35
35
|
"copy-text-to-clipboard": "^3.0.1",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"rtlcss": "^3.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
46
|
-
"@docusaurus/types": "0.0.0-
|
|
45
|
+
"@docusaurus/module-type-aliases": "0.0.0-4566",
|
|
46
|
+
"@docusaurus/types": "0.0.0-4566",
|
|
47
47
|
"@types/mdx-js__react": "^1.5.4",
|
|
48
48
|
"@types/parse-numeric-range": "^0.0.1",
|
|
49
49
|
"@types/prismjs": "^1.26.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=14"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "9f29e9998cf84adba25ceabd263fb637537d0033"
|
|
64
64
|
}
|
package/src/theme-classic.d.ts
CHANGED
|
@@ -43,6 +43,21 @@ declare module '@theme/BlogListPaginator' {
|
|
|
43
43
|
export default BlogListPaginator;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
declare module '@theme/BlogSidebar' {
|
|
47
|
+
export type BlogSidebarItem = {title: string; permalink: string};
|
|
48
|
+
export type BlogSidebar = {
|
|
49
|
+
title: string;
|
|
50
|
+
items: BlogSidebarItem[];
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export interface Props {
|
|
54
|
+
readonly sidebar: BlogSidebar;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const BlogSidebar: (props: Props) => JSX.Element;
|
|
58
|
+
export default BlogSidebar;
|
|
59
|
+
}
|
|
60
|
+
|
|
46
61
|
declare module '@theme/BlogPostItem' {
|
|
47
62
|
import type {FrontMatter, Metadata} from '@theme/BlogPostPage';
|
|
48
63
|
import type {Assets} from '@docusaurus/plugin-content-blog';
|
|
@@ -123,6 +138,32 @@ declare module '@theme/CodeBlock' {
|
|
|
123
138
|
export default CodeBlock;
|
|
124
139
|
}
|
|
125
140
|
|
|
141
|
+
declare module '@theme/DocCard' {
|
|
142
|
+
import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
|
|
143
|
+
|
|
144
|
+
export interface Props {
|
|
145
|
+
readonly item: PropSidebarItem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export default function DocCard(props: Props): JSX.Element;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare module '@theme/DocCardList' {
|
|
152
|
+
import type {PropSidebarItem} from '@docusaurus/plugin-content-docs';
|
|
153
|
+
|
|
154
|
+
export interface Props {
|
|
155
|
+
readonly items: PropSidebarItem[];
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export default function DocCardList(props: Props): JSX.Element;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare module '@theme/DocItemFooter' {
|
|
162
|
+
import type {Props} from '@theme/DocItem';
|
|
163
|
+
|
|
164
|
+
export default function DocItemFooter(props: Props): JSX.Element;
|
|
165
|
+
}
|
|
166
|
+
|
|
126
167
|
declare module '@theme/DocPaginator' {
|
|
127
168
|
import type {PropNavigation} from '@docusaurus/plugin-content-docs';
|
|
128
169
|
|
|
@@ -174,6 +215,22 @@ declare module '@theme/DocSidebarItems' {
|
|
|
174
215
|
export default function DocSidebarItems(props: Props): JSX.Element;
|
|
175
216
|
}
|
|
176
217
|
|
|
218
|
+
declare module '@theme/DocVersionBanner' {
|
|
219
|
+
export interface Props {
|
|
220
|
+
readonly className?: string;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export default function DocVersionBanner(props: Props): JSX.Element;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare module '@theme/DocVersionBadge' {
|
|
227
|
+
export interface Props {
|
|
228
|
+
readonly className?: string;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export default function DocVersionBadge(props: Props): JSX.Element;
|
|
232
|
+
}
|
|
233
|
+
|
|
177
234
|
declare module '@theme/DocVersionSuggestions' {
|
|
178
235
|
const DocVersionSuggestions: () => JSX.Element;
|
|
179
236
|
export default DocVersionSuggestions;
|
|
@@ -727,3 +784,18 @@ declare module '@theme/prism-include-languages' {
|
|
|
727
784
|
PrismObject: typeof PrismNamespace,
|
|
728
785
|
): void;
|
|
729
786
|
}
|
|
787
|
+
|
|
788
|
+
declare module '@theme/Seo' {
|
|
789
|
+
import type {ReactNode} from 'react';
|
|
790
|
+
|
|
791
|
+
export interface Props {
|
|
792
|
+
readonly title?: string;
|
|
793
|
+
readonly description?: string;
|
|
794
|
+
readonly keywords?: readonly string[] | string;
|
|
795
|
+
readonly image?: string;
|
|
796
|
+
readonly children?: ReactNode;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
const Seo: (props: Props) => JSX.Element;
|
|
800
|
+
export default Seo;
|
|
801
|
+
}
|