Skip to content

Commit

Permalink
Merge branch 'master' into serversfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Oct 23, 2024
2 parents d9c8f4d + fb01be6 commit 21f481b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/react-component",
"version": "2.4.0",
"version": "2.4.1",
"private": false,
"description": "A React component for AsyncAPI specification.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library/src/containers/AsyncApi/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const AsyncApiLayout: React.FunctionComponent<Props> = ({
}

const possibleClassName =
width <= 1280 ? 'container:xl' : 'container:base';
width <= 1536 ? 'container:xl' : 'container:base';
if (possibleClassName !== observerClassName) {
setObserverClassName(possibleClassName);
}
Expand Down
8 changes: 7 additions & 1 deletion library/src/containers/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,13 @@ const OperationItem: React.FunctionComponent<OperationItemProps> = ({
config,
isAsyncAPIv2,
});
const bgColors = ['bg-red-600', 'bg-orange-600', 'bg-green-600'];
const bgColors = [
'bg-red-600',
'bg-orange-600',
'bg-green-600',
'bg-blue-600',
];

return (
<li key={`menu-operation-list-${operationHrefId}`}>
<a
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/web-component",
"version": "2.4.0",
"version": "2.4.1",
"private": false,
"description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.",
"repository": {
Expand Down Expand Up @@ -44,7 +44,7 @@
"install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh"
},
"dependencies": {
"@asyncapi/react-component": "^2.4.0",
"@asyncapi/react-component": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"web-react-components": "^1.4.2"
Expand Down

0 comments on commit 21f481b

Please sign in to comment.