@docusaurus/theme-classic 0.0.0-5184 → 0.0.0-5185

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.
Files changed (59) hide show
  1. package/lib/getSwizzleConfig.js +5 -5
  2. package/lib/theme/AnnouncementBar/index.js +1 -1
  3. package/lib/theme/ColorModeToggle/index.js +2 -2
  4. package/lib/theme/DocBreadcrumbs/index.js +1 -1
  5. package/lib/theme/DocPage/Layout/Sidebar/ExpandButton/index.js +1 -1
  6. package/lib/theme/DocSidebar/Desktop/CollapseButton/index.js +1 -1
  7. package/lib/theme/DocSidebarItem/Link/index.js +1 -1
  8. package/lib/theme/EditThisPage/index.js +1 -1
  9. package/lib/theme/Footer/LinkItem/index.js +1 -1
  10. package/lib/theme/{IconArrow → Icon/Arrow}/index.d.ts +1 -1
  11. package/lib/theme/{IconArrow → Icon/Arrow}/index.js +0 -0
  12. package/lib/theme/{IconClose → Icon/Close}/index.d.ts +1 -1
  13. package/lib/theme/{IconClose → Icon/Close}/index.js +0 -0
  14. package/lib/theme/{IconDarkMode → Icon/DarkMode}/index.d.ts +1 -1
  15. package/lib/theme/{IconDarkMode → Icon/DarkMode}/index.js +0 -0
  16. package/lib/theme/{IconEdit → Icon/Edit}/index.d.ts +1 -1
  17. package/lib/theme/{IconEdit → Icon/Edit}/index.js +0 -0
  18. package/lib/theme/{IconEdit → Icon/Edit}/styles.module.css +0 -0
  19. package/lib/theme/{IconExternalLink → Icon/ExternalLink}/index.d.ts +1 -1
  20. package/lib/theme/{IconExternalLink → Icon/ExternalLink}/index.js +0 -0
  21. package/lib/theme/{IconExternalLink → Icon/ExternalLink}/styles.module.css +0 -0
  22. package/lib/theme/{IconHome → Icon/Home}/index.d.ts +1 -1
  23. package/lib/theme/{IconHome → Icon/Home}/index.js +0 -0
  24. package/lib/theme/{IconLanguage → Icon/Language}/index.d.ts +1 -1
  25. package/lib/theme/{IconLanguage → Icon/Language}/index.js +0 -0
  26. package/lib/theme/{IconLightMode → Icon/LightMode}/index.d.ts +1 -1
  27. package/lib/theme/{IconLightMode → Icon/LightMode}/index.js +0 -0
  28. package/lib/theme/{IconMenu → Icon/Menu}/index.d.ts +1 -1
  29. package/lib/theme/{IconMenu → Icon/Menu}/index.js +0 -0
  30. package/lib/theme/Navbar/MobileSidebar/Header/index.js +1 -1
  31. package/lib/theme/Navbar/MobileSidebar/Toggle/index.js +1 -1
  32. package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js +1 -1
  33. package/lib/theme/NavbarItem/NavbarNavLink.js +1 -1
  34. package/package.json +14 -14
  35. package/src/getSwizzleConfig.ts +5 -5
  36. package/src/theme/AnnouncementBar/index.tsx +1 -1
  37. package/src/theme/ColorModeToggle/index.tsx +2 -2
  38. package/src/theme/DocBreadcrumbs/index.tsx +1 -1
  39. package/src/theme/DocPage/Layout/Sidebar/ExpandButton/index.tsx +1 -1
  40. package/src/theme/DocSidebar/Desktop/CollapseButton/index.tsx +1 -1
  41. package/src/theme/DocSidebarItem/Link/index.tsx +1 -1
  42. package/src/theme/EditThisPage/index.tsx +1 -1
  43. package/src/theme/Footer/LinkItem/index.tsx +1 -1
  44. package/src/theme/{IconArrow → Icon/Arrow}/index.tsx +1 -1
  45. package/src/theme/{IconClose → Icon/Close}/index.tsx +1 -1
  46. package/src/theme/{IconDarkMode → Icon/DarkMode}/index.tsx +1 -1
  47. package/src/theme/{IconEdit → Icon/Edit}/index.tsx +1 -1
  48. package/src/theme/{IconEdit → Icon/Edit}/styles.module.css +0 -0
  49. package/src/theme/{IconExternalLink → Icon/ExternalLink}/index.tsx +1 -1
  50. package/src/theme/{IconExternalLink → Icon/ExternalLink}/styles.module.css +0 -0
  51. package/src/theme/{IconHome → Icon/Home}/index.tsx +1 -1
  52. package/src/theme/{IconLanguage → Icon/Language}/index.tsx +1 -1
  53. package/src/theme/{IconLightMode → Icon/LightMode}/index.tsx +1 -1
  54. package/src/theme/{IconMenu → Icon/Menu}/index.tsx +1 -1
  55. package/src/theme/Navbar/MobileSidebar/Header/index.tsx +1 -1
  56. package/src/theme/Navbar/MobileSidebar/Toggle/index.tsx +1 -1
  57. package/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx +1 -1
  58. package/src/theme/NavbarItem/NavbarNavLink.tsx +1 -1
  59. package/src/theme-classic.d.ts +9 -9
@@ -87,35 +87,35 @@ function getSwizzleConfig() {
87
87
  },
88
88
  description: 'The footer logo',
89
89
  },
90
- IconArrow: {
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
- IconDarkMode: {
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
- IconEdit: {
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
- IconLightMode: {
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
- IconMenu: {
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/IconClose';
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/IconLightMode';
12
- import IconDarkMode from '@theme/IconDarkMode';
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/IconHome';
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/IconArrow';
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/IconArrow';
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/IconExternalLink';
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/IconEdit';
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/IconExternalLink';
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);
@@ -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/IconArrow';
8
+ import type { Props } from '@theme/Icon/Arrow';
9
9
  export default function IconArrow(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/IconClose';
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
@@ -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/IconDarkMode';
8
+ import type { Props } from '@theme/Icon/DarkMode';
9
9
  export default function IconDarkMode(props: Props): JSX.Element;
@@ -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/IconEdit';
8
+ import type { Props } from '@theme/Icon/Edit';
9
9
  export default function IconEdit({ className, ...restProps }: 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/IconExternalLink';
8
+ import type { Props } from '@theme/Icon/ExternalLink';
9
9
  export default function IconExternalLink({ width, height, }: Props): JSX.Element;
@@ -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/IconHome';
8
+ import type { Props } from '@theme/Icon/Home';
9
9
  export default function IconHome(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/IconLanguage';
8
+ import type { Props } from '@theme/Icon/Language';
9
9
  export default function IconLanguage({ width, height, ...props }: Props): JSX.Element;
@@ -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/IconLightMode';
8
+ import type { Props } from '@theme/Icon/LightMode';
9
9
  export default function IconLightMode(props: Props): JSX.Element;
@@ -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/IconMenu';
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/IconClose';
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/IconMenu';
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/IconLanguage';
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/IconExternalLink';
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-5184",
3
+ "version": "0.0.0-5185",
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-5184",
24
- "@docusaurus/mdx-loader": "0.0.0-5184",
25
- "@docusaurus/module-type-aliases": "0.0.0-5184",
26
- "@docusaurus/plugin-content-blog": "0.0.0-5184",
27
- "@docusaurus/plugin-content-docs": "0.0.0-5184",
28
- "@docusaurus/plugin-content-pages": "0.0.0-5184",
29
- "@docusaurus/theme-common": "0.0.0-5184",
30
- "@docusaurus/theme-translations": "0.0.0-5184",
31
- "@docusaurus/types": "0.0.0-5184",
32
- "@docusaurus/utils": "0.0.0-5184",
33
- "@docusaurus/utils-common": "0.0.0-5184",
34
- "@docusaurus/utils-validation": "0.0.0-5184",
23
+ "@docusaurus/core": "0.0.0-5185",
24
+ "@docusaurus/mdx-loader": "0.0.0-5185",
25
+ "@docusaurus/module-type-aliases": "0.0.0-5185",
26
+ "@docusaurus/plugin-content-blog": "0.0.0-5185",
27
+ "@docusaurus/plugin-content-docs": "0.0.0-5185",
28
+ "@docusaurus/plugin-content-pages": "0.0.0-5185",
29
+ "@docusaurus/theme-common": "0.0.0-5185",
30
+ "@docusaurus/theme-translations": "0.0.0-5185",
31
+ "@docusaurus/types": "0.0.0-5185",
32
+ "@docusaurus/utils": "0.0.0-5185",
33
+ "@docusaurus/utils-common": "0.0.0-5185",
34
+ "@docusaurus/utils-validation": "0.0.0-5185",
35
35
  "@mdx-js/react": "^1.6.22",
36
36
  "clsx": "^1.2.0",
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": "d6f6ee218b4fbba6d3a86ee4a7a89e2ec2b479b9"
67
+ "gitHead": "2e7a502e77969aa2835397f045bece984fc05ea4"
68
68
  }
@@ -93,35 +93,35 @@ export default function getSwizzleConfig(): SwizzleConfig {
93
93
  },
94
94
  description: 'The footer logo',
95
95
  },
96
- IconArrow: {
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
- IconDarkMode: {
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
- IconEdit: {
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
- IconLightMode: {
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
- IconMenu: {
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/IconClose';
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/IconLightMode';
13
- import IconDarkMode from '@theme/IconDarkMode';
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/IconHome';
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/IconArrow';
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/IconArrow';
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/IconExternalLink';
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/IconEdit';
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/IconExternalLink';
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 {
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconArrow';
9
+ import type {Props} from '@theme/Icon/Arrow';
10
10
 
11
11
  export default function IconArrow(props: Props): JSX.Element {
12
12
  return (
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconClose';
9
+ import type {Props} from '@theme/Icon/Close';
10
10
 
11
11
  export default function IconClose({
12
12
  width = 21,
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconDarkMode';
9
+ import type {Props} from '@theme/Icon/DarkMode';
10
10
 
11
11
  export default function IconDarkMode(props: Props): JSX.Element {
12
12
  return (
@@ -7,7 +7,7 @@
7
7
 
8
8
  import React from 'react';
9
9
  import clsx from 'clsx';
10
- import type {Props} from '@theme/IconEdit';
10
+ import type {Props} from '@theme/Icon/Edit';
11
11
 
12
12
  import styles from './styles.module.css';
13
13
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconExternalLink';
9
+ import type {Props} from '@theme/Icon/ExternalLink';
10
10
 
11
11
  import styles from './styles.module.css';
12
12
 
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconHome';
9
+ import type {Props} from '@theme/Icon/Home';
10
10
 
11
11
  export default function IconHome(props: Props): JSX.Element {
12
12
  return (
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconLanguage';
9
+ import type {Props} from '@theme/Icon/Language';
10
10
 
11
11
  export default function IconLanguage({
12
12
  width = 20,
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconLightMode';
9
+ import type {Props} from '@theme/Icon/LightMode';
10
10
 
11
11
  export default function IconLightMode(props: Props): JSX.Element {
12
12
  return (
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import React from 'react';
9
- import type {Props} from '@theme/IconMenu';
9
+ import type {Props} from '@theme/Icon/Menu';
10
10
 
11
11
  export default function IconMenu({
12
12
  width = 30,
@@ -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/IconClose';
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/IconMenu';
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/IconLanguage';
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/IconExternalLink';
13
+ import IconExternalLink from '@theme/Icon/ExternalLink';
14
14
  import type {Props} from '@theme/NavbarItem/NavbarNavLink';
15
15
 
16
16
  export default function NavbarNavLink({
@@ -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/IconArrow' {
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/IconDarkMode' {
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/IconEdit' {
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/IconHome' {
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/IconLightMode' {
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/IconMenu' {
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/IconClose' {
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/IconLanguage' {
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/IconExternalLink' {
1323
+ declare module '@theme/Icon/ExternalLink' {
1324
1324
  import type {ComponentProps} from 'react';
1325
1325
 
1326
1326
  export interface Props extends ComponentProps<'svg'> {}