radiant-docs 0.1.67 → 0.1.68
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/package.json
CHANGED
|
@@ -332,10 +332,12 @@ function shouldIncludeSitemapPage(page) {
|
|
|
332
332
|
const markdownProcessor = unified({
|
|
333
333
|
remarkPlugins: [
|
|
334
334
|
remarkGfm,
|
|
335
|
-
remarkResolveInternalLinks,
|
|
336
335
|
remarkDemoteH1,
|
|
337
336
|
remarkStandaloneImageComponent,
|
|
337
|
+
// ComponentPreview fences become rendered preview children here, so resolve
|
|
338
|
+
// links after this while leaving the visible raw code sample untouched.
|
|
338
339
|
remarkCodeBlockComponent,
|
|
340
|
+
remarkResolveInternalLinks,
|
|
339
341
|
],
|
|
340
342
|
rehypePlugins: [
|
|
341
343
|
rehypeSlug,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"oas": "^28.7.0",
|
|
53
53
|
"openapi-sampler": "^1.6.2",
|
|
54
54
|
"preact": "^10.29.0",
|
|
55
|
-
"radiant-docs-validator": "^0.1.
|
|
55
|
+
"radiant-docs-validator": "^0.1.31",
|
|
56
56
|
"rehype-autolink-headings": "^7.1.0",
|
|
57
57
|
"rehype-slug": "^6.0.0",
|
|
58
58
|
"remark-gfm": "^4.0.1",
|
|
@@ -11094,9 +11094,9 @@
|
|
|
11094
11094
|
"license": "MIT"
|
|
11095
11095
|
},
|
|
11096
11096
|
"node_modules/radiant-docs-validator": {
|
|
11097
|
-
"version": "0.1.
|
|
11098
|
-
"resolved": "https://registry.npmjs.org/radiant-docs-validator/-/radiant-docs-validator-0.1.
|
|
11099
|
-
"integrity": "sha512-
|
|
11097
|
+
"version": "0.1.31",
|
|
11098
|
+
"resolved": "https://registry.npmjs.org/radiant-docs-validator/-/radiant-docs-validator-0.1.31.tgz",
|
|
11099
|
+
"integrity": "sha512-YUgNgsJ1OXWTdo86vtUOAOirQ9WG8patH0F3bGG0FaS/7HUZzJaoYEs8wph6I8EZs/LV1qENfaAvY/0DFjQnMA==",
|
|
11100
11100
|
"license": "MIT",
|
|
11101
11101
|
"dependencies": {
|
|
11102
11102
|
"@iconify-json/fluent": "^1.2.47",
|
package/template/package.json
CHANGED
|
@@ -65,7 +65,7 @@ import { Icon } from "astro-icon/components";
|
|
|
65
65
|
x-on:pointerdown="onOverlayPointerDown($event)"
|
|
66
66
|
x-on:pointerup="onOverlayPointerUp($event)"
|
|
67
67
|
x-on:pointercancel="backdropInteractionStarted = false"
|
|
68
|
-
class="relative z-50 flex
|
|
68
|
+
class="relative z-50 flex h-dvh items-center justify-center p-2 xs:p-4 md:p-8"
|
|
69
69
|
>
|
|
70
70
|
<div
|
|
71
71
|
x-on:click.stop
|
|
@@ -1062,6 +1062,14 @@ const headerValuePrefixes = Object.fromEntries(
|
|
|
1062
1062
|
</div>
|
|
1063
1063
|
</div>
|
|
1064
1064
|
|
|
1065
|
+
<style is:global>
|
|
1066
|
+
@media (max-width: 639px) {
|
|
1067
|
+
[data-playground-form-root] :is(input, select, textarea) {
|
|
1068
|
+
font-size: 16px;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
</style>
|
|
1072
|
+
|
|
1065
1073
|
<script>
|
|
1066
1074
|
import {
|
|
1067
1075
|
highlightAssistantCodeToHtml,
|