docusaurus-theme-openapi-docs 0.0.0-550 → 0.0.0-553
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.
- package/lib/theme/ApiDemoPanel/Curl/index.js +3 -1
- package/lib/theme/ApiDemoPanel/Curl/styles.module.css +5 -0
- package/lib-next/theme/ApiDemoPanel/Curl/index.js +3 -1
- package/lib-next/theme/ApiDemoPanel/Curl/styles.module.css +5 -0
- package/package.json +2 -2
- package/src/theme/ApiDemoPanel/Curl/index.tsx +3 -1
- package/src/theme/ApiDemoPanel/Curl/styles.module.css +5 -0
|
@@ -219,7 +219,9 @@ function Curl({
|
|
|
219
219
|
return <CodeTab value={lang.language} label={""} key={lang.variant ? `${lang.language}-${lang.variant}` : lang.language} attributes={{
|
|
220
220
|
className: `code__tab--${lang.logoClass}`
|
|
221
221
|
}}>
|
|
222
|
-
<_CodeBlock.default language={lang.highlight}
|
|
222
|
+
<_CodeBlock.default language={lang.highlight} className={_stylesModule.default.codeBlock}>
|
|
223
|
+
{codeText}
|
|
224
|
+
</_CodeBlock.default>
|
|
223
225
|
</CodeTab>;
|
|
224
226
|
})}
|
|
225
227
|
</_CodeTabs.default>
|
|
@@ -256,7 +256,9 @@ function Curl({ postman, codeSamples }) {
|
|
|
256
256
|
className: `code__tab--${lang.logoClass}`,
|
|
257
257
|
}}
|
|
258
258
|
>
|
|
259
|
-
<CodeBlock language={lang.highlight}
|
|
259
|
+
<CodeBlock language={lang.highlight} className={styles.codeBlock}>
|
|
260
|
+
{codeText}
|
|
261
|
+
</CodeBlock>
|
|
260
262
|
</CodeTab>
|
|
261
263
|
);
|
|
262
264
|
})}
|
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-
|
|
4
|
+
"version": "0.0.0-553",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=14"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "1c63082f72380175e9ddd4e40a708a05b4f8ccde"
|
|
77
77
|
}
|
|
@@ -280,7 +280,9 @@ function Curl({ postman, codeSamples }: Props) {
|
|
|
280
280
|
}
|
|
281
281
|
attributes={{ className: `code__tab--${lang.logoClass}` }}
|
|
282
282
|
>
|
|
283
|
-
<CodeBlock language={lang.highlight}
|
|
283
|
+
<CodeBlock language={lang.highlight} className={styles.codeBlock}>
|
|
284
|
+
{codeText}
|
|
285
|
+
</CodeBlock>
|
|
284
286
|
</CodeTab>
|
|
285
287
|
);
|
|
286
288
|
})}
|