From a541aba45ed94ef10c6c20fcd0bd9c863c645d87 Mon Sep 17 00:00:00 2001 From: Mohan Kumar <121867882+ItshMoh@users.noreply.github.com> Date: Tue, 8 Oct 2024 00:04:54 +0530 Subject: [PATCH 1/2] fix: changed the Navigation tab functionality (#1046) Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com> --- playground/components/Tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/components/Tab.tsx b/playground/components/Tab.tsx index 0a46bd414..540640a61 100644 --- a/playground/components/Tab.tsx +++ b/playground/components/Tab.tsx @@ -19,7 +19,7 @@ class Tab extends Component { { event.preventDefault(); - if (parentCallback && tabIndex) { + if (parentCallback && tabIndex != undefined) { parentCallback(tabIndex); } }} From d87fd60bda2b73c108cb48d17fade87b5cdf8eeb Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 7 Oct 2024 20:51:26 +0200 Subject: [PATCH 2/2] chore(release): v2.2.5 (#1076) --- library/package.json | 2 +- package-lock.json | 6 +++--- web-component/package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/package.json b/library/package.json index d00cb8e0e..f54e7a9db 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "2.2.4", + "version": "2.2.5", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/package-lock.json b/package-lock.json index c2d3b8b76..408108221 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "2.2.4", + "version": "2.2.5", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", @@ -27671,10 +27671,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "2.2.4", + "version": "2.2.5", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^2.2.4", + "@asyncapi/react-component": "^2.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2" diff --git a/web-component/package.json b/web-component/package.json index 1e6d4a23b..6d40ded27 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "2.2.4", + "version": "2.2.5", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^2.2.4", + "@asyncapi/react-component": "^2.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2"