fumadocs-openapi 12.6.4 → 12.6.5
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.
|
@@ -199,7 +199,7 @@ function Row({ name, required = false, info, htmlFor, readOnly = false, quiet =
|
|
|
199
199
|
sideOffset: 6,
|
|
200
200
|
className: "z-50",
|
|
201
201
|
children: /* @__PURE__ */ jsx(Popover.Popup, {
|
|
202
|
-
className: "w-72 max-w-[calc(100vw-2rem)] origin-(--transform-origin) rounded-xl border bg-fd-popover p-3 text-fd-popover-foreground shadow-lg outline-none transition-[opacity,scale] duration-150 ease-out data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0 motion-reduce:transition-none",
|
|
202
|
+
className: "w-72 max-w-[calc(100vw-2rem)] origin-(--transform-origin) wrap-break-word rounded-xl border bg-fd-popover p-3 text-fd-popover-foreground shadow-lg outline-none transition-[opacity,scale] duration-150 ease-out data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0 motion-reduce:transition-none",
|
|
203
203
|
children: info
|
|
204
204
|
})
|
|
205
205
|
}) })
|
|
@@ -102,7 +102,7 @@ function FieldPanel({ fields: { stack, motion, navigate, openNested }, root, dis
|
|
|
102
102
|
/** a panel over the overview, its content animates in when `id` changes */
|
|
103
103
|
function Panel({ id, motion, nav, children }) {
|
|
104
104
|
return /* @__PURE__ */ jsxs("div", {
|
|
105
|
-
className: "flex min-h-0 flex-col [grid-area:1/1]",
|
|
105
|
+
className: "flex min-h-0 min-w-0 flex-col wrap-break-word [grid-area:1/1]",
|
|
106
106
|
children: [nav, /* @__PURE__ */ jsx("div", {
|
|
107
107
|
className: cn("fd-scroll-container min-h-0 flex-1 overflow-y-auto starting:opacity-0", transitionClassName, motionClassNames[motion]),
|
|
108
108
|
children
|
|
@@ -427,7 +427,7 @@ function TypeInfo({ name, $ref, children }) {
|
|
|
427
427
|
function SchemaDescription({ schema: { description, infoTags = [] }, className }) {
|
|
428
428
|
if (!description && infoTags.length === 0) return null;
|
|
429
429
|
return /* @__PURE__ */ jsxs("div", {
|
|
430
|
-
className: cn("flex flex-col gap-2 text-fd-muted-foreground", className),
|
|
430
|
+
className: cn("flex flex-col gap-2 wrap-break-word text-fd-muted-foreground", className),
|
|
431
431
|
children: [description && /* @__PURE__ */ jsx("div", {
|
|
432
432
|
className: "prose-no-margin",
|
|
433
433
|
children: description
|
|
@@ -456,7 +456,7 @@ function SchemaDescription({ schema: { description, infoTags = [] }, className }
|
|
|
456
456
|
className: "prose-xs prose-no-margin min-w-0 flex-1",
|
|
457
457
|
children: tag.value
|
|
458
458
|
}) : /* @__PURE__ */ jsx("code", {
|
|
459
|
-
className: "not-prose min-w-0
|
|
459
|
+
className: "not-prose min-w-0",
|
|
460
460
|
children: tag.value
|
|
461
461
|
})]
|
|
462
462
|
}, i);
|
|
@@ -421,7 +421,7 @@ function AuthScheme({ scheme, scopes }) {
|
|
|
421
421
|
})
|
|
422
422
|
]
|
|
423
423
|
}), (scheme.description || scopes.length > 0 || configUrl) && /* @__PURE__ */ jsxs("div", {
|
|
424
|
-
className: "mt-1 prose-no-margin text-fd-muted-foreground",
|
|
424
|
+
className: "mt-1 wrap-break-word prose-no-margin text-fd-muted-foreground",
|
|
425
425
|
children: [
|
|
426
426
|
scheme.description && /* @__PURE__ */ jsx(Markdown, { md: scheme.description }),
|
|
427
427
|
configUrl && /* @__PURE__ */ jsxs("p", { children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-openapi",
|
|
3
|
-
"version": "12.6.
|
|
3
|
+
"version": "12.6.5",
|
|
4
4
|
"description": "Generate MDX docs for your OpenAPI spec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@types/react-dom": "^19.3.0",
|
|
81
81
|
"fast-content-type-parse": "^4.0.1",
|
|
82
82
|
"fuma-cli": "^0.3.4",
|
|
83
|
-
"fumadocs-core": "16.19.
|
|
84
|
-
"fumadocs-ui": "npm:@fumadocs/base-ui@16.19.
|
|
83
|
+
"fumadocs-core": "16.19.3",
|
|
84
|
+
"fumadocs-ui": "npm:@fumadocs/base-ui@16.19.3",
|
|
85
85
|
"json-schema-typed": "^9.0.0",
|
|
86
86
|
"shared-api": "0.2.16",
|
|
87
87
|
"tsconfig": "0.0.0",
|