docusaurus-theme-openapi-docs 0.0.0-beta.733 → 0.0.0-beta.735

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,7 +101,10 @@ function Response({ item }) {
101
101
  "div",
102
102
  {
103
103
  style: {
104
- backgroundColor: prismTheme.plain.backgroundColor,
104
+ backgroundColor:
105
+ code && prettyResponse !== "Fetching..."
106
+ ? prismTheme.plain.backgroundColor
107
+ : "transparent",
105
108
  paddingLeft: "1rem",
106
109
  paddingTop: "1rem",
107
110
  ...((prettyResponse === "Fetching..." || !code) && {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docusaurus-theme-openapi-docs",
3
3
  "description": "OpenAPI theme for Docusaurus.",
4
- "version": "0.0.0-beta.733",
4
+ "version": "0.0.0-beta.735",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -44,7 +44,7 @@
44
44
  "clsx": "^1.1.1",
45
45
  "copy-text-to-clipboard": "^3.1.0",
46
46
  "crypto-js": "^4.1.1",
47
- "docusaurus-plugin-openapi-docs": "0.0.0-beta.733",
47
+ "docusaurus-plugin-openapi-docs": "0.0.0-beta.735",
48
48
  "docusaurus-plugin-sass": "^0.2.3",
49
49
  "file-saver": "^2.0.5",
50
50
  "lodash": "^4.17.20",
@@ -69,5 +69,5 @@
69
69
  "engines": {
70
70
  "node": ">=14"
71
71
  },
72
- "gitHead": "e547aed28416c0020bbf830317cce6eeeeacee4d"
72
+ "gitHead": "cdfa36ae952b6919883b541032cdf405342c31d1"
73
73
  }
@@ -88,7 +88,10 @@ function Response({ item }: { item: NonNullable<ApiItem> }) {
88
88
  </div>
89
89
  <div
90
90
  style={{
91
- backgroundColor: prismTheme.plain.backgroundColor,
91
+ backgroundColor:
92
+ code && prettyResponse !== "Fetching..."
93
+ ? prismTheme.plain.backgroundColor
94
+ : "transparent",
92
95
  paddingLeft: "1rem",
93
96
  paddingTop: "1rem",
94
97
  ...((prettyResponse === "Fetching..." || !code) && {