fumadocs-openapi 4.0.3 → 4.0.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.
|
@@ -217,7 +217,8 @@ import {
|
|
|
217
217
|
} from "react";
|
|
218
218
|
import { Plus, Trash2 } from "lucide-react";
|
|
219
219
|
import { useFieldArray, useFormContext as useFormContext2 } from "react-hook-form";
|
|
220
|
-
import { cn as cn4, buttonVariants
|
|
220
|
+
import { cn as cn4, buttonVariants } from "fumadocs-ui/components/api";
|
|
221
|
+
import { useOnChange } from "fumadocs-core/utils/use-on-change";
|
|
221
222
|
|
|
222
223
|
// src/ui/components/select.tsx
|
|
223
224
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
package/dist/ui/index.js
CHANGED
|
@@ -173,7 +173,7 @@ function CopyRouteButton({
|
|
|
173
173
|
|
|
174
174
|
// src/ui/index.ts
|
|
175
175
|
var APIPlayground = dynamic(
|
|
176
|
-
() => import("../playground-
|
|
176
|
+
() => import("../playground-7UGUJXDH.js").then((mod) => mod.APIPlayground)
|
|
177
177
|
);
|
|
178
178
|
var Responses = Tabs;
|
|
179
179
|
var Response = Tab;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-openapi",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "Generate MDX docs for your OpenAPI spec",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -43,17 +43,18 @@
|
|
|
43
43
|
"class-variance-authority": "^0.7.0",
|
|
44
44
|
"fast-glob": "^3.3.1",
|
|
45
45
|
"js-yaml": "^4.1.0",
|
|
46
|
-
"json-schema-to-typescript": "^
|
|
47
|
-
"lucide-react": "^0.
|
|
46
|
+
"json-schema-to-typescript": "^15.0.0",
|
|
47
|
+
"lucide-react": "^0.414.0",
|
|
48
48
|
"openapi-sampler": "^1.5.1",
|
|
49
49
|
"react-hook-form": "^7.52.1",
|
|
50
|
-
"shiki": "^1.
|
|
50
|
+
"shiki": "^1.11.0",
|
|
51
51
|
"swr": "^2.2.5",
|
|
52
|
-
"fumadocs-
|
|
52
|
+
"fumadocs-core": "12.5.5",
|
|
53
|
+
"fumadocs-ui": "12.5.5"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@types/js-yaml": "^4.0.9",
|
|
56
|
-
"@types/node": "20.14.
|
|
57
|
+
"@types/node": "20.14.11",
|
|
57
58
|
"@types/openapi-sampler": "^1.0.3",
|
|
58
59
|
"@types/react": "^18.3.3",
|
|
59
60
|
"next": "^14.2.5",
|