@docusaurus/theme-classic 0.0.0-5150 → 0.0.0-5151
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/BlogTagsListPage/index.js +1 -1
- package/lib/theme/Layout/index.d.ts +0 -1
- package/lib/theme/Layout/index.js +7 -2
- package/lib/theme/Layout/{styles.css → styles.module.css} +10 -12
- package/package.json +14 -14
- package/src/theme/BlogTagsListPage/index.tsx +1 -1
- package/src/theme/Layout/index.tsx +7 -2
- package/src/theme/Layout/{styles.css → styles.module.css} +10 -12
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from '@docusaurus/theme-common';
|
|
15
15
|
import BlogLayout from '@theme/BlogLayout';
|
|
16
16
|
import TagsListByLetter from '@theme/TagsListByLetter';
|
|
17
|
-
import SearchMetadata from '
|
|
17
|
+
import SearchMetadata from '@theme/SearchMetadata';
|
|
18
18
|
export default function BlogTagsListPage({tags, sidebar}) {
|
|
19
19
|
const title = translateTagsPageTitle();
|
|
20
20
|
return (
|
|
@@ -15,7 +15,7 @@ import Navbar from '@theme/Navbar';
|
|
|
15
15
|
import Footer from '@theme/Footer';
|
|
16
16
|
import LayoutProviders from '@theme/LayoutProviders';
|
|
17
17
|
import ErrorPageContent from '@theme/ErrorPageContent';
|
|
18
|
-
import './styles.css';
|
|
18
|
+
import styles from './styles.module.css';
|
|
19
19
|
export default function Layout(props) {
|
|
20
20
|
const {
|
|
21
21
|
children,
|
|
@@ -36,7 +36,12 @@ export default function Layout(props) {
|
|
|
36
36
|
|
|
37
37
|
<Navbar />
|
|
38
38
|
|
|
39
|
-
<div
|
|
39
|
+
<div
|
|
40
|
+
className={clsx(
|
|
41
|
+
ThemeClassNames.wrapper.main,
|
|
42
|
+
styles.mainWrapper,
|
|
43
|
+
wrapperClassName,
|
|
44
|
+
)}>
|
|
40
45
|
<ErrorBoundary fallback={(params) => <ErrorPageContent {...params} />}>
|
|
41
46
|
{children}
|
|
42
47
|
</ErrorBoundary>
|
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
8
|
+
:global(html, body) {
|
|
10
9
|
height: 100%;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
min-height: 100%;
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.main-wrapper {
|
|
12
|
+
.mainWrapper {
|
|
20
13
|
flex: 1 0 auto;
|
|
21
14
|
}
|
|
22
15
|
|
|
23
|
-
/* Docusaurus-specific utility
|
|
24
|
-
|
|
25
|
-
.docusaurus-mt-lg {
|
|
16
|
+
/* Docusaurus-specific utility class */
|
|
17
|
+
:global(.docusaurus-mt-lg) {
|
|
26
18
|
margin-top: 3rem;
|
|
27
19
|
}
|
|
20
|
+
|
|
21
|
+
:global(#__docusaurus) {
|
|
22
|
+
min-height: 100%;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|
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-5151",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "0.0.0-
|
|
24
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
25
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
26
|
-
"@docusaurus/plugin-content-blog": "0.0.0-
|
|
27
|
-
"@docusaurus/plugin-content-docs": "0.0.0-
|
|
28
|
-
"@docusaurus/plugin-content-pages": "0.0.0-
|
|
29
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
30
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
31
|
-
"@docusaurus/types": "0.0.0-
|
|
32
|
-
"@docusaurus/utils": "0.0.0-
|
|
33
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
34
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
23
|
+
"@docusaurus/core": "0.0.0-5151",
|
|
24
|
+
"@docusaurus/mdx-loader": "0.0.0-5151",
|
|
25
|
+
"@docusaurus/module-type-aliases": "0.0.0-5151",
|
|
26
|
+
"@docusaurus/plugin-content-blog": "0.0.0-5151",
|
|
27
|
+
"@docusaurus/plugin-content-docs": "0.0.0-5151",
|
|
28
|
+
"@docusaurus/plugin-content-pages": "0.0.0-5151",
|
|
29
|
+
"@docusaurus/theme-common": "0.0.0-5151",
|
|
30
|
+
"@docusaurus/theme-translations": "0.0.0-5151",
|
|
31
|
+
"@docusaurus/types": "0.0.0-5151",
|
|
32
|
+
"@docusaurus/utils": "0.0.0-5151",
|
|
33
|
+
"@docusaurus/utils-common": "0.0.0-5151",
|
|
34
|
+
"@docusaurus/utils-validation": "0.0.0-5151",
|
|
35
35
|
"@mdx-js/react": "^1.6.22",
|
|
36
36
|
"clsx": "^1.1.1",
|
|
37
37
|
"copy-text-to-clipboard": "^3.0.1",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=16.14"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "04e8b3674d1c643718882faf22a72bb6f40b28e9"
|
|
68
68
|
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import BlogLayout from '@theme/BlogLayout';
|
|
17
17
|
import TagsListByLetter from '@theme/TagsListByLetter';
|
|
18
18
|
import type {Props} from '@theme/BlogTagsListPage';
|
|
19
|
-
import SearchMetadata from '
|
|
19
|
+
import SearchMetadata from '@theme/SearchMetadata';
|
|
20
20
|
|
|
21
21
|
export default function BlogTagsListPage({tags, sidebar}: Props): JSX.Element {
|
|
22
22
|
const title = translateTagsPageTitle();
|
|
@@ -16,8 +16,8 @@ import Navbar from '@theme/Navbar';
|
|
|
16
16
|
import Footer from '@theme/Footer';
|
|
17
17
|
import LayoutProviders from '@theme/LayoutProviders';
|
|
18
18
|
import ErrorPageContent from '@theme/ErrorPageContent';
|
|
19
|
-
import './styles.css';
|
|
20
19
|
import type {Props} from '@theme/Layout';
|
|
20
|
+
import styles from './styles.module.css';
|
|
21
21
|
|
|
22
22
|
export default function Layout(props: Props): JSX.Element {
|
|
23
23
|
const {
|
|
@@ -41,7 +41,12 @@ export default function Layout(props: Props): JSX.Element {
|
|
|
41
41
|
|
|
42
42
|
<Navbar />
|
|
43
43
|
|
|
44
|
-
<div
|
|
44
|
+
<div
|
|
45
|
+
className={clsx(
|
|
46
|
+
ThemeClassNames.wrapper.main,
|
|
47
|
+
styles.mainWrapper,
|
|
48
|
+
wrapperClassName,
|
|
49
|
+
)}>
|
|
45
50
|
<ErrorBoundary fallback={(params) => <ErrorPageContent {...params} />}>
|
|
46
51
|
{children}
|
|
47
52
|
</ErrorBoundary>
|
|
@@ -5,23 +5,21 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
8
|
+
:global(html, body) {
|
|
10
9
|
height: 100%;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
min-height: 100%;
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.main-wrapper {
|
|
12
|
+
.mainWrapper {
|
|
20
13
|
flex: 1 0 auto;
|
|
21
14
|
}
|
|
22
15
|
|
|
23
|
-
/* Docusaurus-specific utility
|
|
24
|
-
|
|
25
|
-
.docusaurus-mt-lg {
|
|
16
|
+
/* Docusaurus-specific utility class */
|
|
17
|
+
:global(.docusaurus-mt-lg) {
|
|
26
18
|
margin-top: 3rem;
|
|
27
19
|
}
|
|
20
|
+
|
|
21
|
+
:global(#__docusaurus) {
|
|
22
|
+
min-height: 100%;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|