Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website(chore): Upgrade docusaurus to beta 22 #1469

Merged
merged 3 commits into from
Jun 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/basics/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ numbering-system

## ARIA labels translations

Use the [labels prop](/api/interfaces/daypickerprops#labels) to translate the labels used for ARIA.
Use the [labels prop](/api/interfaces/daypickerdefaultprops#labels) to translate the labels used for ARIA.
2 changes: 1 addition & 1 deletion website/docs/basics/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This will add the [DayPicker stylesheet](https://github.com/gpbl/react-day-picke

## Styling Modifiers

Use the [modifiersClassNames](/api/interfaces/daypickerprops#modifiersclassnames) or [modifiersStyles](/api/interfaces/daypickerprops#modifiersstyles) props to change the class name, or the inline-style, of the days with active modifiers.
Use the [modifiersClassNames](/api/interfaces/daypickerdefaultprops#modifiersclassnames) or [modifiersStyles](/api/interfaces/daypickerdefaultprops#modifiersstyles) props to change the class name, or the inline-style, of the days with active modifiers.

You can style an [internal modifier](/api/enums/InternalModifier), like `selected`, `hidden`, `today`..., or your own [custom modifiers](/basics/modifiers#custom-modifiers).

Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/formatters.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Formatters

Use the [formatters](/api/interfaces/daypickerprops#formatters) to change the default format for the day, the weekday name, etc.
Use the [formatters](/api/interfaces/daypickerdefaultprops#formatters) to change the default format for the day, the weekday name, etc.

Formatters can be useful for a custom [localization](/basics/localization).

Expand Down
7 changes: 4 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"dependencies": {
"@codesandbox/sandpack-react": "^0.19.6",
"@docusaurus/core": "2.0.0-beta.20",
"@docusaurus/preset-classic": "2.0.0-beta.20",
"@docusaurus/core": "2.0.0-beta.21",
"@docusaurus/preset-classic": "2.0.0-beta.21",
"@mdx-js/react": "^1.6.22",
"@popperjs/core": "^2.11.5",
"clsx": "^1.1.1",
Expand All @@ -30,7 +30,8 @@
"react-popper": "^2.3.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.20",
"@docusaurus/module-type-aliases": "2.0.0-beta.21",
"@docusaurus/types": "^2.0.0-beta.21",
"@testing-library/jest-dom": "^5.16.4",
"@tsconfig/docusaurus": "^1.0.5",
"@types/jest": "^27.4.1",
Expand Down
2 changes: 1 addition & 1 deletion website/src/theme/CodeBlock/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import CodeBlock from '@docusaurus/theme-classic/lib-next/theme/CodeBlock';
import CodeBlock from '@theme-original/CodeBlock';

import { CustomSandPack } from './CustomSandpack';

Expand Down
Loading