@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.
- package/dist/fuma/mdx/index.d.mts +4 -12
- package/dist/fuma/mdx/index.d.ts +4 -12
- package/dist/fuma/mdx/index.js +22 -10
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +22 -10
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.d.mts +5 -3
- package/dist/fuma/server.d.ts +5 -3
- package/dist/fuma/server.js +4 -2
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs +4 -2
- package/dist/fuma/server.mjs.map +1 -1
- package/dist/main/index.js +17 -8
- package/dist/main/index.js.map +1 -1
- package/dist/main/index.mjs +17 -8
- package/dist/main/index.mjs.map +1 -1
- package/dist/toc-base-BC7kXpDU.d.mts +15 -0
- package/dist/toc-base-BC7kXpDU.d.ts +15 -0
- package/package.json +1 -1
- package/src/fuma/fuma-page-genarator.tsx +15 -5
- package/src/fuma/mdx/gradient-button.tsx +8 -2
- package/src/fuma/mdx/toc-base.tsx +10 -2
package/dist/fuma/server.mjs
CHANGED
|
@@ -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 "
|
|
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
|
}
|