fumadocs-openapi 4.0.3 → 4.0.4

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, useOnChange } from "fumadocs-ui/components/api";
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-XE3Y6DRJ.js").then((mod) => mod.APIPlayground)
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",
3
+ "version": "4.0.4",
4
4
  "description": "Generate MDX docs for your OpenAPI spec",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -49,11 +49,12 @@
49
49
  "react-hook-form": "^7.52.1",
50
50
  "shiki": "^1.10.3",
51
51
  "swr": "^2.2.5",
52
- "fumadocs-ui": "12.5.3"
52
+ "fumadocs-core": "12.5.4",
53
+ "fumadocs-ui": "12.5.4"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@types/js-yaml": "^4.0.9",
56
- "@types/node": "20.14.10",
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",