From 14d57f5807e0f4f53f885dec69c9a1fea9a506a5 Mon Sep 17 00:00:00 2001 From: Jakub Jankowski Date: Thu, 4 Jan 2024 08:56:20 -0600 Subject: [PATCH 1/2] fix: empty callbacks --- .../src/components/Docs/HttpOperation/HttpOperation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/elements-core/src/components/Docs/HttpOperation/HttpOperation.tsx b/packages/elements-core/src/components/Docs/HttpOperation/HttpOperation.tsx index fec612937..1eef76c2d 100644 --- a/packages/elements-core/src/components/Docs/HttpOperation/HttpOperation.tsx +++ b/packages/elements-core/src/components/Docs/HttpOperation/HttpOperation.tsx @@ -85,7 +85,7 @@ const HttpOperationComponent = React.memo( /> )} - {data.callbacks?.length && } + {data.callbacks?.length ? : null} {isCompact && tryItPanel} From 307f86c80a91f9a327a5f69d990cffa57fef0156 Mon Sep 17 00:00:00 2001 From: Jakub Jankowski Date: Thu, 4 Jan 2024 09:14:54 -0600 Subject: [PATCH 2/2] chore: release --- demo/package.json | 2 +- packages/elements-core/package.json | 2 +- packages/elements-dev-portal/package.json | 4 ++-- packages/elements/package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/demo/package.json b/demo/package.json index e0cc9c10d..34587e102 100644 --- a/demo/package.json +++ b/demo/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@stoplight/elements": "^7.16.2", + "@stoplight/elements": "^7.16.4", "@stoplight/mosaic": "^1.46.1", "history": "^5.0.0", "react": "16.14.0", diff --git a/packages/elements-core/package.json b/packages/elements-core/package.json index 27334d30d..58e410b9a 100644 --- a/packages/elements-core/package.json +++ b/packages/elements-core/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements-core", - "version": "7.16.3", + "version": "7.16.4", "sideEffects": [ "web-components.min.js", "src/web-components/**", diff --git a/packages/elements-dev-portal/package.json b/packages/elements-dev-portal/package.json index 7973786d7..7e4b11f8e 100644 --- a/packages/elements-dev-portal/package.json +++ b/packages/elements-dev-portal/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements-dev-portal", - "version": "1.19.3", + "version": "1.19.4", "description": "UI components for composing beautiful developer documentation.", "keywords": [], "sideEffects": [ @@ -64,7 +64,7 @@ ] }, "dependencies": { - "@stoplight/elements-core": "~7.16.3", + "@stoplight/elements-core": "~7.16.4", "@stoplight/markdown-viewer": "^5.5.0", "@stoplight/mosaic": "^1.46.1", "@stoplight/path": "^1.3.2", diff --git a/packages/elements/package.json b/packages/elements/package.json index 2e24884e6..f6efe102f 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/elements", - "version": "7.16.3", + "version": "7.16.4", "description": "UI components for composing beautiful developer documentation.", "keywords": [], "sideEffects": [ @@ -62,7 +62,7 @@ ] }, "dependencies": { - "@stoplight/elements-core": "~7.16.3", + "@stoplight/elements-core": "~7.16.4", "@stoplight/http-spec": "^6.0.0", "@stoplight/json": "^3.18.1", "@stoplight/mosaic": "^1.46.1",