Skip to content

Commit

Permalink
Merge branch 'master' into inconsistent-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Nov 15, 2024
2 parents d81908f + 2b90976 commit e0f6f40
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 9 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-maintainers-trigger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This action is centrally managed in https://github.com/asyncapi/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo

name: Trigger MAINTAINERS.yaml file update

on:
push:
branches: [ master ]
paths:
# Check all valid CODEOWNERS locations:
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
- 'CODEOWNERS'
- '.github/CODEOWNERS'
- '.docs/CODEOWNERS'

jobs:
trigger-maintainers-update:
name: Trigger updating MAINTAINERS.yaml because of CODEOWNERS change
runs-on: ubuntu-latest

steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # https://github.com/peter-evans/repository-dispatch/releases/tag/v3.0.0
with:
# The PAT with the 'public_repo' scope is required
token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository_owner }}/community
event-type: trigger-maintainers-update
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.2",
"version": "2.4.3",
"private": false,
"description": "A React component for AsyncAPI specification.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library/src/containers/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const Sidebar: React.FunctionComponent = () => {
>
<div
className={`${
showSidebar ? 'w-full' : ''
showSidebar ? 'sidebar--wrapper' : ''
} block fixed max-h-screen h-full font-sans px-4 pt-8 pb-16 overflow-y-auto bg-gray-200`}
>
<div className="sidebar--content">
Expand Down
9 changes: 7 additions & 2 deletions library/src/styles/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,20 @@
@apply lg:relative lg:block lg:w-64 lg:h-auto;
}

.container\:xl .sidebar--wrapper{
@apply xl:w-full;
@apply sm:w-full;
}

.container\:base .sidebar--content {
@apply lg:w-56;
}

.container\:xl .sidebar--content {
/*.container\:xl .sidebar--content {
@apply absolute;
left: 50%;
transform: translate(-50%, 0);
}
}*/

.container\:base .panel-item {
@apply 2xl:flex;
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.2",
"version": "2.4.3",
"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.2",
"@asyncapi/react-component": "^2.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"web-react-components": "^1.4.2"
Expand Down

0 comments on commit e0f6f40

Please sign in to comment.