Skip to content

Commit

Permalink
chore(deps): bump @docusaurus/core from 3.4.0 to 3.5.2 (#6253)
Browse files Browse the repository at this point in the history
* chore(deps): bump @docusaurus/core from 3.4.0 to 3.5.2

Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.5.2/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* update all docusaurus packages in tandem

* resolve imports

* more import resolving

* update index.js resolving

* even more import resolving

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Harrell <[email protected]>
  • Loading branch information
dependabot[bot] and jharrell authored Sep 17, 2024
1 parent ef56a0a commit 8de494f
Show file tree
Hide file tree
Showing 8 changed files with 574 additions and 347 deletions.
888 changes: 557 additions & 331 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"format": "prettier --write ."
},
"dependencies": {
"@docusaurus/core": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@mdx-js/react": "^3.0.0",
"@react-aria/overlays": "^3.22.1",
"@react-aria/tooltip": "^3.7.4",
Expand All @@ -35,9 +35,9 @@
"sass": "^1.78.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.4.0",
"@docusaurus/module-type-aliases": "^3.5.2",
"@docusaurus/tsconfig": "^3.5.2",
"@docusaurus/types": "^3.4.0",
"@docusaurus/types": "^3.5.2",
"prettier": "3.3.3",
"typescript": "~5.5.4",
"wrangler": "^3.78.3"
Expand Down
3 changes: 2 additions & 1 deletion src/theme/DocBreadcrumbs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React, { useEffect, useState } from "react";
import clsx from "clsx";
import { ThemeClassNames } from "@docusaurus/theme-common";
import { useSidebarBreadcrumbs, useHomePageRoute } from "@docusaurus/theme-common/internal";
import { useHomePageRoute } from "@docusaurus/theme-common/internal";
import { useSidebarBreadcrumbs } from "@docusaurus/plugin-content-docs/client";
import Link from "@docusaurus/Link";
import { translate } from "@docusaurus/Translate";
import HomeBreadcrumbItem from "@theme/DocBreadcrumbs/Items/Home";
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocCard/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import clsx from "clsx";
import Link from "@docusaurus/Link";
import { findFirstSidebarItemLink, useDocById } from "@docusaurus/theme-common/internal";
import { findFirstSidebarItemLink, useDocById } from "@docusaurus/plugin-content-docs/client";
import isInternalUrl from "@docusaurus/isInternalUrl";
import { translate } from "@docusaurus/Translate";
import Heading from "@theme/Heading";
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocItem/Content/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import clsx from "clsx";
import { ThemeClassNames } from "@docusaurus/theme-common";
import { useDoc } from "@docusaurus/theme-common/internal";
import { useDoc } from "@docusaurus/plugin-content-docs/client";
import Heading from "@theme/Heading";
import MDXContent from "@theme/MDXContent";
import TopSection from "@site/src/components/topSection";
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocItem/Metadata/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { PageMetadata } from "@docusaurus/theme-common";
import { useDoc } from "@docusaurus/theme-common/internal";
import { useDoc } from "@docusaurus/plugin-content-docs/client";

import type { DocFrontMatter } from "@docusaurus/plugin-content-docs";

Expand Down
14 changes: 7 additions & 7 deletions src/theme/DocSidebarItem/Category/index.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import React, { useEffect, useMemo, useState } from "react";
import clsx from "clsx";
import {
isActiveSidebarItem,
findFirstSidebarItemLink,
useDocSidebarItemsExpandedState,
} from "@docusaurus/plugin-content-docs/client";
import {
ThemeClassNames,
useThemeConfig,
usePrevious,
Collapsible,
useCollapsible,
} from "@docusaurus/theme-common";
import {
isActiveSidebarItem,
findFirstSidebarItemLink,
useDocSidebarItemsExpandedState,
isSamePath,
} from "@docusaurus/theme-common/internal";
import { isSamePath } from "@docusaurus/theme-common/internal";
import Link from "@docusaurus/Link";
import { translate } from "@docusaurus/Translate";
import useIsBrowser from "@docusaurus/useIsBrowser";
Expand Down Expand Up @@ -168,7 +168,7 @@ export default function DocSidebarItemCategory({
}
aria-current={isCurrentPage ? "page" : undefined}
aria-expanded={collapsible ? !collapsed : undefined}
href={collapsible ? hrefWithSSRFallback ?? "#" : hrefWithSSRFallback}
href={collapsible ? (hrefWithSSRFallback ?? "#") : hrefWithSSRFallback}
{...props}
>
{label}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocSidebarItem/Link/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from "react";
import clsx from "clsx";
import { isActiveSidebarItem } from "@docusaurus/plugin-content-docs/client";
import { ThemeClassNames } from "@docusaurus/theme-common";
import { isActiveSidebarItem } from "@docusaurus/theme-common/internal";
import Link from "@docusaurus/Link";
import isInternalUrl from "@docusaurus/isInternalUrl";
import styles from "./styles.module.css";
Expand Down

0 comments on commit 8de494f

Please sign in to comment.