@docusaurus/theme-classic 0.0.0-4723 → 0.0.0-4726
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
CHANGED
|
@@ -41,11 +41,7 @@ declare module '@theme/BlogListPaginator' {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare module '@theme/BlogSidebar' {
|
|
44
|
-
|
|
45
|
-
export type BlogSidebar = {
|
|
46
|
-
title: string;
|
|
47
|
-
items: BlogSidebarItem[];
|
|
48
|
-
};
|
|
44
|
+
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
49
45
|
|
|
50
46
|
export interface Props {
|
|
51
47
|
readonly sidebar: BlogSidebar;
|
|
@@ -106,7 +102,7 @@ declare module '@theme/BlogPostPaginator' {
|
|
|
106
102
|
declare module '@theme/BlogLayout' {
|
|
107
103
|
import type {ReactNode} from 'react';
|
|
108
104
|
import type {Props as LayoutProps} from '@theme/Layout';
|
|
109
|
-
import type {BlogSidebar} from '@
|
|
105
|
+
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
110
106
|
|
|
111
107
|
export interface Props extends LayoutProps {
|
|
112
108
|
readonly sidebar?: BlogSidebar;
|
|
@@ -163,6 +163,7 @@ function DocSidebarItemCategory({
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
aria-current={isCurrentPage ? 'page' : undefined}
|
|
166
|
+
aria-expanded={collapsible ? !collapsed : undefined}
|
|
166
167
|
href={collapsible ? hrefWithSSRFallback ?? '#' : hrefWithSSRFallback}
|
|
167
168
|
{...props}>
|
|
168
169
|
{label}
|
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-4726",
|
|
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-4726",
|
|
25
|
+
"@docusaurus/plugin-content-blog": "0.0.0-4726",
|
|
26
|
+
"@docusaurus/plugin-content-docs": "0.0.0-4726",
|
|
27
|
+
"@docusaurus/plugin-content-pages": "0.0.0-4726",
|
|
28
|
+
"@docusaurus/theme-common": "0.0.0-4726",
|
|
29
|
+
"@docusaurus/theme-translations": "0.0.0-4726",
|
|
30
|
+
"@docusaurus/utils": "0.0.0-4726",
|
|
31
|
+
"@docusaurus/utils-common": "0.0.0-4726",
|
|
32
|
+
"@docusaurus/utils-validation": "0.0.0-4726",
|
|
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.5.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-4726",
|
|
46
|
+
"@docusaurus/types": "0.0.0-4726",
|
|
47
47
|
"@types/mdx-js__react": "^1.5.5",
|
|
48
48
|
"@types/prismjs": "^1.26.0",
|
|
49
49
|
"@types/rtlcss": "^3.1.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=14"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "f0fd448c4509295ecdfe665dcc017980c4b5153b"
|
|
63
63
|
}
|
|
@@ -179,6 +179,7 @@ function DocSidebarItemCategory({
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
aria-current={isCurrentPage ? 'page' : undefined}
|
|
182
|
+
aria-expanded={collapsible ? !collapsed : undefined}
|
|
182
183
|
href={collapsible ? hrefWithSSRFallback ?? '#' : hrefWithSSRFallback}
|
|
183
184
|
{...props}>
|
|
184
185
|
{label}
|
package/src/theme-classic.d.ts
CHANGED
|
@@ -41,11 +41,7 @@ declare module '@theme/BlogListPaginator' {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare module '@theme/BlogSidebar' {
|
|
44
|
-
|
|
45
|
-
export type BlogSidebar = {
|
|
46
|
-
title: string;
|
|
47
|
-
items: BlogSidebarItem[];
|
|
48
|
-
};
|
|
44
|
+
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
49
45
|
|
|
50
46
|
export interface Props {
|
|
51
47
|
readonly sidebar: BlogSidebar;
|
|
@@ -106,7 +102,7 @@ declare module '@theme/BlogPostPaginator' {
|
|
|
106
102
|
declare module '@theme/BlogLayout' {
|
|
107
103
|
import type {ReactNode} from 'react';
|
|
108
104
|
import type {Props as LayoutProps} from '@theme/Layout';
|
|
109
|
-
import type {BlogSidebar} from '@
|
|
105
|
+
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
110
106
|
|
|
111
107
|
export interface Props extends LayoutProps {
|
|
112
108
|
readonly sidebar?: BlogSidebar;
|