Skip to content

Commit

Permalink
Build/docs routing fix (#1097)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-bot <[email protected]>
  • Loading branch information
3 people authored Jun 28, 2023
1 parent 833ceb2 commit 1238e8d
Show file tree
Hide file tree
Showing 22 changed files with 713 additions and 4,992 deletions.
5 changes: 5 additions & 0 deletions .changeset/changelog-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-docs': patch
---

Update CHANGELOG
5 changes: 5 additions & 0 deletions .changeset/chart-keyboardevent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-magma/charts': patch
---

Fix handleKeyboardInstructionsButtonKeydown type error
5 changes: 5 additions & 0 deletions .changeset/docs-route.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-docs': patch
---

Fix routing in implementation and design component tabs
6 changes: 6 additions & 0 deletions .changeset/landing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'react-magma-landing': patch
---

- Display latest version based on React compatibility
- Remove old versions from list that don't have docs sites
19 changes: 19 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"@react-magma/charts": "4.0.0",
"@react-magma/dropzone": "4.0.0",
"react-magma-dom": "4.1.0",
"@react-magma/schema-renderer": "4.0.0",
"@cengage-patterns/header": "6.0.0",
"react-magma-docs": "5.0.1",
"react-magma-landing": "1.1.1"
},
"changesets": [
"changelog-updates",
"chart-keyboardevent",
"docs-route",
"landing"
]
}
6 changes: 6 additions & 0 deletions packages/charts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @react-magma/charts

## 4.0.1-next.0

### Patch Changes

- a81b0728b: Fix handleKeyboardInstructionsButtonKeydown type error

## 4.0.0

## 4.0.0-next.1
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-magma/charts",
"version": "4.0.0",
"version": "4.0.1-next.0",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/components/LineChart/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function BaseChart<T>(props: ChartProps<T>, ref: React.Ref<HTMLDivElement>) {
setIsKeyboardInstructionsOpen(prevOpen => !prevOpen);
}

function handleKeyboardInstructionsButtonKeydown(event: React.KeyboardEvent) {
function handleKeyboardInstructionsButtonKeydown(event: { preventDefault?: any; key?: any; shiftKey?: any; }) {
const { key, shiftKey } = event;

switch (key) {
Expand Down
Loading

2 comments on commit 1238e8d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.