@windrun-huaiin/third-ui 5.7.0 → 5.8.1

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.
@@ -56,6 +56,7 @@ var __async = (__this, __arguments, generator) => {
56
56
 
57
57
  // src/fuma/fuma-page-genarator.tsx
58
58
  import { DocsBody, DocsDescription, DocsPage, DocsTitle } from "fumadocs-ui/page";
59
+ import { cloneElement as cloneElement2 } from "react";
59
60
 
60
61
  // ../base-ui/src/assets/github.tsx
61
62
  import React from "react";
@@ -2820,7 +2821,7 @@ var Button = React35.forwardRef(
2820
2821
  Button.displayName = "Button";
2821
2822
 
2822
2823
  // src/fuma/mdx/gradient-button.tsx
2823
- import Link3 from "fumadocs-core/link";
2824
+ import Link3 from "next/link";
2824
2825
  import React36 from "react";
2825
2826
  import { jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
2826
2827
 
@@ -2888,6 +2889,7 @@ function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonCom
2888
2889
  // src/fuma/fuma-page-genarator.tsx
2889
2890
  import { jsx as jsx47, jsxs as jsxs19 } from "react/jsx-runtime";
2890
2891
  function createFumaPage({
2892
+ sourceKey,
2891
2893
  mdxContentSource,
2892
2894
  getMDXComponents,
2893
2895
  mdxSourceDir,
@@ -2908,7 +2910,7 @@ function createFumaPage({
2908
2910
  TocFooterWrapper,
2909
2911
  {
2910
2912
  lastModified: page.data.date,
2911
- copyButtonComponent,
2913
+ copyButtonComponent: copyButtonComponent ? cloneElement2(copyButtonComponent, { sourceKey }) : void 0,
2912
2914
  editPath: path,
2913
2915
  githubBaseUrl
2914
2916
  }