@docusaurus/theme-classic 3.10.1-canary-6655 → 3.10.1-canary-6800
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/BlogTagsPostsPage/index.js +2 -6
- package/lib/theme/DocTagDocListPage/index.js +3 -6
- package/package.json +17 -17
- package/src/theme/BlogTagsPostsPage/index.tsx +2 -6
- package/src/theme/DocTagDocListPage/index.tsx +3 -6
- package/lib/theme/ThemedImage/styles.module.css +0 -18
- package/src/theme/ThemedImage/styles.module.css +0 -18
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import Translate from '@docusaurus/Translate';
|
|
10
9
|
import {
|
|
11
10
|
PageMetadata,
|
|
12
11
|
HtmlClassNameProvider,
|
|
12
|
+
TagsPageLinkLabel,
|
|
13
13
|
ThemeClassNames,
|
|
14
14
|
} from '@docusaurus/theme-common';
|
|
15
15
|
import {useBlogTagsPostsPageTitle} from '@docusaurus/theme-common/internal';
|
|
@@ -38,11 +38,7 @@ function BlogTagsPostsPageContent({tag, items, sidebar, listMetadata}) {
|
|
|
38
38
|
<Heading as="h1">{title}</Heading>
|
|
39
39
|
{tag.description && <p>{tag.description}</p>}
|
|
40
40
|
<Link href={tag.allTagsPath}>
|
|
41
|
-
<
|
|
42
|
-
id="theme.tags.tagsPageLink"
|
|
43
|
-
description="The label of the link targeting the tag list page">
|
|
44
|
-
View All Tags
|
|
45
|
-
</Translate>
|
|
41
|
+
<TagsPageLinkLabel />
|
|
46
42
|
</Link>
|
|
47
43
|
</header>
|
|
48
44
|
<BlogPostItems items={items} />
|
|
@@ -11,9 +11,10 @@ import {
|
|
|
11
11
|
PageMetadata,
|
|
12
12
|
HtmlClassNameProvider,
|
|
13
13
|
ThemeClassNames,
|
|
14
|
+
TagsPageLinkLabel,
|
|
14
15
|
usePluralForm,
|
|
15
16
|
} from '@docusaurus/theme-common';
|
|
16
|
-
import
|
|
17
|
+
import {translate} from '@docusaurus/Translate';
|
|
17
18
|
import SearchMetadata from '@theme/SearchMetadata';
|
|
18
19
|
import Unlisted from '@theme/ContentVisibility/Unlisted';
|
|
19
20
|
import Heading from '@theme/Heading';
|
|
@@ -75,11 +76,7 @@ function DocTagDocListPageContent({tag, title}) {
|
|
|
75
76
|
<Heading as="h1">{title}</Heading>
|
|
76
77
|
{tag.description && <p>{tag.description}</p>}
|
|
77
78
|
<Link href={tag.allTagsPath}>
|
|
78
|
-
<
|
|
79
|
-
id="theme.tags.tagsPageLink"
|
|
80
|
-
description="The label of the link targeting the tag list page">
|
|
81
|
-
View all tags
|
|
82
|
-
</Translate>
|
|
79
|
+
<TagsPageLinkLabel />
|
|
83
80
|
</Link>
|
|
84
81
|
</header>
|
|
85
82
|
<section className="margin-vert--lg">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-classic",
|
|
3
|
-
"version": "3.10.1-canary-
|
|
3
|
+
"version": "3.10.1-canary-6800",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "3.10.1-canary-
|
|
24
|
-
"@docusaurus/logger": "3.10.1-canary-
|
|
25
|
-
"@docusaurus/mdx-loader": "3.10.1-canary-
|
|
26
|
-
"@docusaurus/module-type-aliases": "3.10.1-canary-
|
|
27
|
-
"@docusaurus/plugin-content-blog": "3.10.1-canary-
|
|
28
|
-
"@docusaurus/plugin-content-docs": "3.10.1-canary-
|
|
29
|
-
"@docusaurus/plugin-content-pages": "3.10.1-canary-
|
|
30
|
-
"@docusaurus/theme-common": "3.10.1-canary-
|
|
31
|
-
"@docusaurus/theme-translations": "3.10.1-canary-
|
|
32
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
33
|
-
"@docusaurus/utils": "3.10.1-canary-
|
|
34
|
-
"@docusaurus/utils-common": "3.10.1-canary-
|
|
35
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
23
|
+
"@docusaurus/core": "3.10.1-canary-6800",
|
|
24
|
+
"@docusaurus/logger": "3.10.1-canary-6800",
|
|
25
|
+
"@docusaurus/mdx-loader": "3.10.1-canary-6800",
|
|
26
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6800",
|
|
27
|
+
"@docusaurus/plugin-content-blog": "3.10.1-canary-6800",
|
|
28
|
+
"@docusaurus/plugin-content-docs": "3.10.1-canary-6800",
|
|
29
|
+
"@docusaurus/plugin-content-pages": "3.10.1-canary-6800",
|
|
30
|
+
"@docusaurus/theme-common": "3.10.1-canary-6800",
|
|
31
|
+
"@docusaurus/theme-translations": "3.10.1-canary-6800",
|
|
32
|
+
"@docusaurus/types": "3.10.1-canary-6800",
|
|
33
|
+
"@docusaurus/utils": "3.10.1-canary-6800",
|
|
34
|
+
"@docusaurus/utils-common": "3.10.1-canary-6800",
|
|
35
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6800",
|
|
36
36
|
"@mdx-js/react": "^3.1.1",
|
|
37
37
|
"clsx": "^2.0.0",
|
|
38
38
|
"copy-text-to-clipboard": "^3.2.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"fs-extra": "^11.2.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"react": "^19.
|
|
58
|
-
"react-dom": "^19.
|
|
57
|
+
"react": "^19.3.0",
|
|
58
|
+
"react-dom": "^19.3.0"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=24.14"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "7facf9bbbdb6f9f0843f143bee8a1af701bde603"
|
|
64
64
|
}
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
import React, {type ReactNode} from 'react';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import Translate from '@docusaurus/Translate';
|
|
11
10
|
import {
|
|
12
11
|
PageMetadata,
|
|
13
12
|
HtmlClassNameProvider,
|
|
13
|
+
TagsPageLinkLabel,
|
|
14
14
|
ThemeClassNames,
|
|
15
15
|
} from '@docusaurus/theme-common';
|
|
16
16
|
import {useBlogTagsPostsPageTitle} from '@docusaurus/theme-common/internal';
|
|
@@ -47,11 +47,7 @@ function BlogTagsPostsPageContent({
|
|
|
47
47
|
<Heading as="h1">{title}</Heading>
|
|
48
48
|
{tag.description && <p>{tag.description}</p>}
|
|
49
49
|
<Link href={tag.allTagsPath}>
|
|
50
|
-
<
|
|
51
|
-
id="theme.tags.tagsPageLink"
|
|
52
|
-
description="The label of the link targeting the tag list page">
|
|
53
|
-
View All Tags
|
|
54
|
-
</Translate>
|
|
50
|
+
<TagsPageLinkLabel />
|
|
55
51
|
</Link>
|
|
56
52
|
</header>
|
|
57
53
|
<BlogPostItems items={items} />
|
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
PageMetadata,
|
|
13
13
|
HtmlClassNameProvider,
|
|
14
14
|
ThemeClassNames,
|
|
15
|
+
TagsPageLinkLabel,
|
|
15
16
|
usePluralForm,
|
|
16
17
|
} from '@docusaurus/theme-common';
|
|
17
|
-
import
|
|
18
|
+
import {translate} from '@docusaurus/Translate';
|
|
18
19
|
import SearchMetadata from '@theme/SearchMetadata';
|
|
19
20
|
import type {Props} from '@theme/DocTagDocListPage';
|
|
20
21
|
import Unlisted from '@theme/ContentVisibility/Unlisted';
|
|
@@ -88,11 +89,7 @@ function DocTagDocListPageContent({
|
|
|
88
89
|
<Heading as="h1">{title}</Heading>
|
|
89
90
|
{tag.description && <p>{tag.description}</p>}
|
|
90
91
|
<Link href={tag.allTagsPath}>
|
|
91
|
-
<
|
|
92
|
-
id="theme.tags.tagsPageLink"
|
|
93
|
-
description="The label of the link targeting the tag list page">
|
|
94
|
-
View all tags
|
|
95
|
-
</Translate>
|
|
92
|
+
<TagsPageLinkLabel />
|
|
96
93
|
</Link>
|
|
97
94
|
</header>
|
|
98
95
|
<section className="margin-vert--lg">
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
.themedImage {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
[data-theme='light'] .themedImage--light {
|
|
13
|
-
display: initial;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[data-theme='dark'] .themedImage--dark {
|
|
17
|
-
display: initial;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
.themedImage {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
[data-theme='light'] .themedImage--light {
|
|
13
|
-
display: initial;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
[data-theme='dark'] .themedImage--dark {
|
|
17
|
-
display: initial;
|
|
18
|
-
}
|