@docusaurus/theme-classic 0.0.0-5184 → 0.0.0-5189
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/getSwizzleConfig.js +5 -5
- package/lib/theme/AnnouncementBar/index.js +1 -1
- package/lib/theme/ColorModeToggle/index.js +2 -2
- package/lib/theme/DocBreadcrumbs/index.js +1 -1
- package/lib/theme/DocPage/Layout/Sidebar/ExpandButton/index.js +1 -1
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.js +1 -1
- package/lib/theme/DocSidebarItem/Link/index.js +1 -1
- package/lib/theme/EditThisPage/index.js +1 -1
- package/lib/theme/Footer/LinkItem/index.js +1 -1
- package/lib/theme/{IconArrow → Icon/Arrow}/index.d.ts +1 -1
- package/lib/theme/{IconArrow → Icon/Arrow}/index.js +0 -0
- package/lib/theme/{IconClose → Icon/Close}/index.d.ts +1 -1
- package/lib/theme/{IconClose → Icon/Close}/index.js +0 -0
- package/lib/theme/{IconDarkMode → Icon/DarkMode}/index.d.ts +1 -1
- package/lib/theme/{IconDarkMode → Icon/DarkMode}/index.js +0 -0
- package/lib/theme/{IconEdit → Icon/Edit}/index.d.ts +1 -1
- package/lib/theme/{IconEdit → Icon/Edit}/index.js +0 -0
- package/lib/theme/{IconEdit → Icon/Edit}/styles.module.css +0 -0
- package/lib/theme/{IconExternalLink → Icon/ExternalLink}/index.d.ts +1 -1
- package/lib/theme/{IconExternalLink → Icon/ExternalLink}/index.js +0 -0
- package/lib/theme/{IconExternalLink → Icon/ExternalLink}/styles.module.css +0 -0
- package/lib/theme/{IconHome → Icon/Home}/index.d.ts +1 -1
- package/lib/theme/{IconHome → Icon/Home}/index.js +0 -0
- package/lib/theme/{IconLanguage → Icon/Language}/index.d.ts +1 -1
- package/lib/theme/{IconLanguage → Icon/Language}/index.js +0 -0
- package/lib/theme/{IconLightMode → Icon/LightMode}/index.d.ts +1 -1
- package/lib/theme/{IconLightMode → Icon/LightMode}/index.js +0 -0
- package/lib/theme/{IconMenu → Icon/Menu}/index.d.ts +1 -1
- package/lib/theme/{IconMenu → Icon/Menu}/index.js +0 -0
- package/lib/theme/Layout/styles.module.css +2 -1
- package/lib/theme/Navbar/MobileSidebar/Header/index.js +1 -1
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.js +1 -1
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js +1 -1
- package/lib/theme/NavbarItem/NavbarNavLink.js +1 -1
- package/package.json +16 -16
- package/src/getSwizzleConfig.ts +5 -5
- package/src/theme/AnnouncementBar/index.tsx +1 -1
- package/src/theme/ColorModeToggle/index.tsx +2 -2
- package/src/theme/DocBreadcrumbs/index.tsx +1 -1
- package/src/theme/DocPage/Layout/Sidebar/ExpandButton/index.tsx +1 -1
- package/src/theme/DocSidebar/Desktop/CollapseButton/index.tsx +1 -1
- package/src/theme/DocSidebarItem/Link/index.tsx +1 -1
- package/src/theme/EditThisPage/index.tsx +1 -1
- package/src/theme/Footer/LinkItem/index.tsx +1 -1
- package/src/theme/{IconArrow → Icon/Arrow}/index.tsx +1 -1
- package/src/theme/{IconClose → Icon/Close}/index.tsx +1 -1
- package/src/theme/{IconDarkMode → Icon/DarkMode}/index.tsx +1 -1
- package/src/theme/{IconEdit → Icon/Edit}/index.tsx +1 -1
- package/src/theme/{IconEdit → Icon/Edit}/styles.module.css +0 -0
- package/src/theme/{IconExternalLink → Icon/ExternalLink}/index.tsx +1 -1
- package/src/theme/{IconExternalLink → Icon/ExternalLink}/styles.module.css +0 -0
- package/src/theme/{IconHome → Icon/Home}/index.tsx +1 -1
- package/src/theme/{IconLanguage → Icon/Language}/index.tsx +1 -1
- package/src/theme/{IconLightMode → Icon/LightMode}/index.tsx +1 -1
- package/src/theme/{IconMenu → Icon/Menu}/index.tsx +1 -1
- package/src/theme/Layout/styles.module.css +2 -1
- package/src/theme/Navbar/MobileSidebar/Header/index.tsx +1 -1
- package/src/theme/Navbar/MobileSidebar/Toggle/index.tsx +1 -1
- package/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx +1 -1
- package/src/theme/NavbarItem/NavbarNavLink.tsx +1 -1
- package/src/theme-classic.d.ts +9 -9
package/lib/getSwizzleConfig.js
CHANGED
|
@@ -87,35 +87,35 @@ function getSwizzleConfig() {
|
|
|
87
87
|
},
|
|
88
88
|
description: 'The footer logo',
|
|
89
89
|
},
|
|
90
|
-
|
|
90
|
+
'Icon/Arrow': {
|
|
91
91
|
actions: {
|
|
92
92
|
eject: 'safe',
|
|
93
93
|
wrap: 'safe',
|
|
94
94
|
},
|
|
95
95
|
description: 'The arrow icon component',
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
'Icon/DarkMode': {
|
|
98
98
|
actions: {
|
|
99
99
|
eject: 'safe',
|
|
100
100
|
wrap: 'safe',
|
|
101
101
|
},
|
|
102
102
|
description: 'The dark mode icon component.',
|
|
103
103
|
},
|
|
104
|
-
|
|
104
|
+
'Icon/Edit': {
|
|
105
105
|
actions: {
|
|
106
106
|
eject: 'safe',
|
|
107
107
|
wrap: 'safe',
|
|
108
108
|
},
|
|
109
109
|
description: 'The edit icon component',
|
|
110
110
|
},
|
|
111
|
-
|
|
111
|
+
'Icon/LightMode': {
|
|
112
112
|
actions: {
|
|
113
113
|
eject: 'safe',
|
|
114
114
|
wrap: 'safe',
|
|
115
115
|
},
|
|
116
116
|
description: 'The light mode icon component.',
|
|
117
117
|
},
|
|
118
|
-
|
|
118
|
+
'Icon/Menu': {
|
|
119
119
|
actions: {
|
|
120
120
|
eject: 'safe',
|
|
121
121
|
wrap: 'safe',
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import {useThemeConfig} from '@docusaurus/theme-common';
|
|
10
10
|
import {useAnnouncementBar} from '@docusaurus/theme-common/internal';
|
|
11
11
|
import {translate} from '@docusaurus/Translate';
|
|
12
|
-
import IconClose from '@theme/
|
|
12
|
+
import IconClose from '@theme/Icon/Close';
|
|
13
13
|
import styles from './styles.module.css';
|
|
14
14
|
export default function AnnouncementBar() {
|
|
15
15
|
const {isActive, close} = useAnnouncementBar();
|
|
@@ -8,8 +8,8 @@ import React from 'react';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import useIsBrowser from '@docusaurus/useIsBrowser';
|
|
10
10
|
import {translate} from '@docusaurus/Translate';
|
|
11
|
-
import IconLightMode from '@theme/
|
|
12
|
-
import IconDarkMode from '@theme/
|
|
11
|
+
import IconLightMode from '@theme/Icon/LightMode';
|
|
12
|
+
import IconDarkMode from '@theme/Icon/DarkMode';
|
|
13
13
|
import styles from './styles.module.css';
|
|
14
14
|
function ColorModeToggle({className, value, onChange}) {
|
|
15
15
|
const isBrowser = useIsBrowser();
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import Link from '@docusaurus/Link';
|
|
15
15
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
16
16
|
import {translate} from '@docusaurus/Translate';
|
|
17
|
-
import IconHome from '@theme/
|
|
17
|
+
import IconHome from '@theme/Icon/Home';
|
|
18
18
|
import styles from './styles.module.css';
|
|
19
19
|
// TODO move to design system folder
|
|
20
20
|
function BreadcrumbsItemLink({children, href, isLast}) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import {translate} from '@docusaurus/Translate';
|
|
9
|
-
import IconArrow from '@theme/
|
|
9
|
+
import IconArrow from '@theme/Icon/Arrow';
|
|
10
10
|
import styles from './styles.module.css';
|
|
11
11
|
export default function DocPageLayoutSidebarExpandButton({toggleSidebar}) {
|
|
12
12
|
return (
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import {translate} from '@docusaurus/Translate';
|
|
10
|
-
import IconArrow from '@theme/
|
|
10
|
+
import IconArrow from '@theme/Icon/Arrow';
|
|
11
11
|
import styles from './styles.module.css';
|
|
12
12
|
export default function CollapseButton({onClick}) {
|
|
13
13
|
return (
|
|
@@ -10,7 +10,7 @@ import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
|
10
10
|
import {isActiveSidebarItem} from '@docusaurus/theme-common/internal';
|
|
11
11
|
import Link from '@docusaurus/Link';
|
|
12
12
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
13
|
-
import IconExternalLink from '@theme/
|
|
13
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
14
14
|
import styles from './styles.module.css';
|
|
15
15
|
export default function DocSidebarItemLink({
|
|
16
16
|
item,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import Translate from '@docusaurus/Translate';
|
|
9
9
|
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
10
|
-
import IconEdit from '@theme/
|
|
10
|
+
import IconEdit from '@theme/Icon/Edit';
|
|
11
11
|
export default function EditThisPage({editUrl}) {
|
|
12
12
|
return (
|
|
13
13
|
<a
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import Link from '@docusaurus/Link';
|
|
9
9
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
10
10
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
11
|
-
import IconExternalLink from '@theme/
|
|
11
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
12
12
|
export default function FooterLinkItem({item}) {
|
|
13
13
|
const {to, href, label, prependBaseUrlToHref, ...props} = item;
|
|
14
14
|
const toUrl = useBaseUrl(to);
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/Close';
|
|
9
9
|
export default function IconClose({ width, height, color, strokeWidth, className, ...restProps }: Props): JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/Edit';
|
|
9
9
|
export default function IconEdit({ className, ...restProps }: Props): JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/ExternalLink';
|
|
9
9
|
export default function IconExternalLink({ width, height, }: Props): JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/Language';
|
|
9
9
|
export default function IconLanguage({ width, height, ...props }: Props): JSX.Element;
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/LightMode';
|
|
9
9
|
export default function IconLightMode(props: Props): JSX.Element;
|
|
File without changes
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
/// <reference types="react" />
|
|
8
|
-
import type { Props } from '@theme/
|
|
8
|
+
import type { Props } from '@theme/Icon/Menu';
|
|
9
9
|
export default function IconMenu({ width, height, className, ...restProps }: Props): JSX.Element;
|
|
File without changes
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
9
9
|
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle';
|
|
10
|
-
import IconClose from '@theme/
|
|
10
|
+
import IconClose from '@theme/Icon/Close';
|
|
11
11
|
import NavbarLogo from '@theme/Navbar/Logo';
|
|
12
12
|
function CloseButton() {
|
|
13
13
|
const mobileSidebar = useNavbarMobileSidebar();
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
9
|
-
import IconMenu from '@theme/
|
|
9
|
+
import IconMenu from '@theme/Icon/Menu';
|
|
10
10
|
export default function MobileSidebarToggle() {
|
|
11
11
|
const mobileSidebar = useNavbarMobileSidebar();
|
|
12
12
|
return (
|
|
@@ -9,7 +9,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
|
9
9
|
import {useAlternatePageUtils} from '@docusaurus/theme-common/internal';
|
|
10
10
|
import {translate} from '@docusaurus/Translate';
|
|
11
11
|
import DropdownNavbarItem from '@theme/NavbarItem/DropdownNavbarItem';
|
|
12
|
-
import IconLanguage from '@theme/
|
|
12
|
+
import IconLanguage from '@theme/Icon/Language';
|
|
13
13
|
import styles from './styles.module.css';
|
|
14
14
|
export default function LocaleDropdownNavbarItem({
|
|
15
15
|
mobile,
|
|
@@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
|
|
|
9
9
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
10
10
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
11
11
|
import {isRegexpStringMatch} from '@docusaurus/theme-common';
|
|
12
|
-
import IconExternalLink from '@theme/
|
|
12
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
13
13
|
export default function NavbarNavLink({
|
|
14
14
|
activeBasePath,
|
|
15
15
|
activeBaseRegex,
|
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-5189",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -20,22 +20,22 @@
|
|
|
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-5189",
|
|
24
|
+
"@docusaurus/mdx-loader": "0.0.0-5189",
|
|
25
|
+
"@docusaurus/module-type-aliases": "0.0.0-5189",
|
|
26
|
+
"@docusaurus/plugin-content-blog": "0.0.0-5189",
|
|
27
|
+
"@docusaurus/plugin-content-docs": "0.0.0-5189",
|
|
28
|
+
"@docusaurus/plugin-content-pages": "0.0.0-5189",
|
|
29
|
+
"@docusaurus/theme-common": "0.0.0-5189",
|
|
30
|
+
"@docusaurus/theme-translations": "0.0.0-5189",
|
|
31
|
+
"@docusaurus/types": "0.0.0-5189",
|
|
32
|
+
"@docusaurus/utils": "0.0.0-5189",
|
|
33
|
+
"@docusaurus/utils-common": "0.0.0-5189",
|
|
34
|
+
"@docusaurus/utils-validation": "0.0.0-5189",
|
|
35
35
|
"@mdx-js/react": "^1.6.22",
|
|
36
|
-
"clsx": "^1.2.
|
|
36
|
+
"clsx": "^1.2.1",
|
|
37
37
|
"copy-text-to-clipboard": "^3.0.1",
|
|
38
|
-
"infima": "0.2.0-alpha.
|
|
38
|
+
"infima": "0.2.0-alpha.41",
|
|
39
39
|
"lodash": "^4.17.21",
|
|
40
40
|
"nprogress": "^0.2.0",
|
|
41
41
|
"postcss": "^8.4.14",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=16.14"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "0a54b0dbe7213db1ee0287b95992c4f4858b1a6c"
|
|
68
68
|
}
|
package/src/getSwizzleConfig.ts
CHANGED
|
@@ -93,35 +93,35 @@ export default function getSwizzleConfig(): SwizzleConfig {
|
|
|
93
93
|
},
|
|
94
94
|
description: 'The footer logo',
|
|
95
95
|
},
|
|
96
|
-
|
|
96
|
+
'Icon/Arrow': {
|
|
97
97
|
actions: {
|
|
98
98
|
eject: 'safe',
|
|
99
99
|
wrap: 'safe',
|
|
100
100
|
},
|
|
101
101
|
description: 'The arrow icon component',
|
|
102
102
|
},
|
|
103
|
-
|
|
103
|
+
'Icon/DarkMode': {
|
|
104
104
|
actions: {
|
|
105
105
|
eject: 'safe',
|
|
106
106
|
wrap: 'safe',
|
|
107
107
|
},
|
|
108
108
|
description: 'The dark mode icon component.',
|
|
109
109
|
},
|
|
110
|
-
|
|
110
|
+
'Icon/Edit': {
|
|
111
111
|
actions: {
|
|
112
112
|
eject: 'safe',
|
|
113
113
|
wrap: 'safe',
|
|
114
114
|
},
|
|
115
115
|
description: 'The edit icon component',
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
'Icon/LightMode': {
|
|
118
118
|
actions: {
|
|
119
119
|
eject: 'safe',
|
|
120
120
|
wrap: 'safe',
|
|
121
121
|
},
|
|
122
122
|
description: 'The light mode icon component.',
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
'Icon/Menu': {
|
|
125
125
|
actions: {
|
|
126
126
|
eject: 'safe',
|
|
127
127
|
wrap: 'safe',
|
|
@@ -10,7 +10,7 @@ import clsx from 'clsx';
|
|
|
10
10
|
import {useThemeConfig} from '@docusaurus/theme-common';
|
|
11
11
|
import {useAnnouncementBar} from '@docusaurus/theme-common/internal';
|
|
12
12
|
import {translate} from '@docusaurus/Translate';
|
|
13
|
-
import IconClose from '@theme/
|
|
13
|
+
import IconClose from '@theme/Icon/Close';
|
|
14
14
|
|
|
15
15
|
import styles from './styles.module.css';
|
|
16
16
|
|
|
@@ -9,8 +9,8 @@ import React from 'react';
|
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import useIsBrowser from '@docusaurus/useIsBrowser';
|
|
11
11
|
import {translate} from '@docusaurus/Translate';
|
|
12
|
-
import IconLightMode from '@theme/
|
|
13
|
-
import IconDarkMode from '@theme/
|
|
12
|
+
import IconLightMode from '@theme/Icon/LightMode';
|
|
13
|
+
import IconDarkMode from '@theme/Icon/DarkMode';
|
|
14
14
|
import type {Props} from '@theme/ColorModeToggle';
|
|
15
15
|
|
|
16
16
|
import styles from './styles.module.css';
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import Link from '@docusaurus/Link';
|
|
16
16
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
17
17
|
import {translate} from '@docusaurus/Translate';
|
|
18
|
-
import IconHome from '@theme/
|
|
18
|
+
import IconHome from '@theme/Icon/Home';
|
|
19
19
|
|
|
20
20
|
import styles from './styles.module.css';
|
|
21
21
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import {translate} from '@docusaurus/Translate';
|
|
10
|
-
import IconArrow from '@theme/
|
|
10
|
+
import IconArrow from '@theme/Icon/Arrow';
|
|
11
11
|
import type {Props} from '@theme/DocPage/Layout/Sidebar/ExpandButton';
|
|
12
12
|
|
|
13
13
|
import styles from './styles.module.css';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import {translate} from '@docusaurus/Translate';
|
|
11
|
-
import IconArrow from '@theme/
|
|
11
|
+
import IconArrow from '@theme/Icon/Arrow';
|
|
12
12
|
import type {Props} from '@theme/DocSidebar/Desktop/CollapseButton';
|
|
13
13
|
|
|
14
14
|
import styles from './styles.module.css';
|
|
@@ -11,7 +11,7 @@ import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
|
11
11
|
import {isActiveSidebarItem} from '@docusaurus/theme-common/internal';
|
|
12
12
|
import Link from '@docusaurus/Link';
|
|
13
13
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
14
|
-
import IconExternalLink from '@theme/
|
|
14
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
15
15
|
import type {Props} from '@theme/DocSidebarItem/Link';
|
|
16
16
|
|
|
17
17
|
import styles from './styles.module.css';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import Translate from '@docusaurus/Translate';
|
|
10
10
|
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
11
|
-
import IconEdit from '@theme/
|
|
11
|
+
import IconEdit from '@theme/Icon/Edit';
|
|
12
12
|
import type {Props} from '@theme/EditThisPage';
|
|
13
13
|
|
|
14
14
|
export default function EditThisPage({editUrl}: Props): JSX.Element {
|
|
@@ -10,7 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import Link from '@docusaurus/Link';
|
|
11
11
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
12
12
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
13
|
-
import IconExternalLink from '@theme/
|
|
13
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
14
14
|
import type {Props} from '@theme/Footer/LinkItem';
|
|
15
15
|
|
|
16
16
|
export default function FooterLinkItem({item}: Props): JSX.Element {
|
|
File without changes
|
|
File without changes
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
10
10
|
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle';
|
|
11
|
-
import IconClose from '@theme/
|
|
11
|
+
import IconClose from '@theme/Icon/Close';
|
|
12
12
|
import NavbarLogo from '@theme/Navbar/Logo';
|
|
13
13
|
|
|
14
14
|
function CloseButton() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
10
|
-
import IconMenu from '@theme/
|
|
10
|
+
import IconMenu from '@theme/Icon/Menu';
|
|
11
11
|
|
|
12
12
|
export default function MobileSidebarToggle(): JSX.Element {
|
|
13
13
|
const mobileSidebar = useNavbarMobileSidebar();
|
|
@@ -10,7 +10,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
|
10
10
|
import {useAlternatePageUtils} from '@docusaurus/theme-common/internal';
|
|
11
11
|
import {translate} from '@docusaurus/Translate';
|
|
12
12
|
import DropdownNavbarItem from '@theme/NavbarItem/DropdownNavbarItem';
|
|
13
|
-
import IconLanguage from '@theme/
|
|
13
|
+
import IconLanguage from '@theme/Icon/Language';
|
|
14
14
|
import type {LinkLikeNavbarItemProps} from '@theme/NavbarItem';
|
|
15
15
|
import type {Props} from '@theme/NavbarItem/LocaleDropdownNavbarItem';
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ import Link from '@docusaurus/Link';
|
|
|
10
10
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
11
11
|
import isInternalUrl from '@docusaurus/isInternalUrl';
|
|
12
12
|
import {isRegexpStringMatch} from '@docusaurus/theme-common';
|
|
13
|
-
import IconExternalLink from '@theme/
|
|
13
|
+
import IconExternalLink from '@theme/Icon/ExternalLink';
|
|
14
14
|
import type {Props} from '@theme/NavbarItem/NavbarNavLink';
|
|
15
15
|
|
|
16
16
|
export default function NavbarNavLink({
|
package/src/theme-classic.d.ts
CHANGED
|
@@ -1256,7 +1256,7 @@ declare module '@theme/Logo' {
|
|
|
1256
1256
|
export default function Logo(props: Props): JSX.Element;
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
|
-
declare module '@theme/
|
|
1259
|
+
declare module '@theme/Icon/Arrow' {
|
|
1260
1260
|
import type {ComponentProps} from 'react';
|
|
1261
1261
|
|
|
1262
1262
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1264,7 +1264,7 @@ declare module '@theme/IconArrow' {
|
|
|
1264
1264
|
export default function IconArrow(props: Props): JSX.Element;
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
declare module '@theme/
|
|
1267
|
+
declare module '@theme/Icon/DarkMode' {
|
|
1268
1268
|
import type {ComponentProps} from 'react';
|
|
1269
1269
|
|
|
1270
1270
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1272,7 +1272,7 @@ declare module '@theme/IconDarkMode' {
|
|
|
1272
1272
|
export default function IconDarkMode(props: Props): JSX.Element;
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
-
declare module '@theme/
|
|
1275
|
+
declare module '@theme/Icon/Edit' {
|
|
1276
1276
|
import type {ComponentProps} from 'react';
|
|
1277
1277
|
|
|
1278
1278
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1280,7 +1280,7 @@ declare module '@theme/IconEdit' {
|
|
|
1280
1280
|
export default function IconEdit(props: Props): JSX.Element;
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
|
-
declare module '@theme/
|
|
1283
|
+
declare module '@theme/Icon/Home' {
|
|
1284
1284
|
import type {ComponentProps} from 'react';
|
|
1285
1285
|
|
|
1286
1286
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1288,7 +1288,7 @@ declare module '@theme/IconHome' {
|
|
|
1288
1288
|
export default function IconHome(props: Props): JSX.Element;
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
|
-
declare module '@theme/
|
|
1291
|
+
declare module '@theme/Icon/LightMode' {
|
|
1292
1292
|
import type {ComponentProps} from 'react';
|
|
1293
1293
|
|
|
1294
1294
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1296,7 +1296,7 @@ declare module '@theme/IconLightMode' {
|
|
|
1296
1296
|
export default function IconLightMode(props: Props): JSX.Element;
|
|
1297
1297
|
}
|
|
1298
1298
|
|
|
1299
|
-
declare module '@theme/
|
|
1299
|
+
declare module '@theme/Icon/Menu' {
|
|
1300
1300
|
import type {ComponentProps} from 'react';
|
|
1301
1301
|
|
|
1302
1302
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1304,7 +1304,7 @@ declare module '@theme/IconMenu' {
|
|
|
1304
1304
|
export default function IconMenu(props: Props): JSX.Element;
|
|
1305
1305
|
}
|
|
1306
1306
|
|
|
1307
|
-
declare module '@theme/
|
|
1307
|
+
declare module '@theme/Icon/Close' {
|
|
1308
1308
|
import type {ComponentProps} from 'react';
|
|
1309
1309
|
|
|
1310
1310
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1312,7 +1312,7 @@ declare module '@theme/IconClose' {
|
|
|
1312
1312
|
export default function IconClose(props: Props): JSX.Element;
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
|
-
declare module '@theme/
|
|
1315
|
+
declare module '@theme/Icon/Language' {
|
|
1316
1316
|
import type {ComponentProps} from 'react';
|
|
1317
1317
|
|
|
1318
1318
|
export interface Props extends ComponentProps<'svg'> {}
|
|
@@ -1320,7 +1320,7 @@ declare module '@theme/IconLanguage' {
|
|
|
1320
1320
|
export default function IconLanguage(props: Props): JSX.Element;
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
|
-
declare module '@theme/
|
|
1323
|
+
declare module '@theme/Icon/ExternalLink' {
|
|
1324
1324
|
import type {ComponentProps} from 'react';
|
|
1325
1325
|
|
|
1326
1326
|
export interface Props extends ComponentProps<'svg'> {}
|