@windrun-huaiin/third-ui 6.3.0 → 7.0.0
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/package.json +15 -46
- package/dist/chunk-52YUUCKV.js +0 -3190
- package/dist/chunk-52YUUCKV.js.map +0 -1
- package/dist/chunk-6MM7HLNX.js +0 -226
- package/dist/chunk-6MM7HLNX.js.map +0 -1
- package/dist/chunk-6PW67OXW.js +0 -967
- package/dist/chunk-6PW67OXW.js.map +0 -1
- package/dist/chunk-BZLOMDT7.mjs +0 -90
- package/dist/chunk-BZLOMDT7.mjs.map +0 -1
- package/dist/chunk-C3MW5ZUN.mjs +0 -967
- package/dist/chunk-C3MW5ZUN.mjs.map +0 -1
- package/dist/chunk-FOMCGWDM.mjs +0 -17
- package/dist/chunk-FOMCGWDM.mjs.map +0 -1
- package/dist/chunk-ICXWQI2S.mjs +0 -126
- package/dist/chunk-ICXWQI2S.mjs.map +0 -1
- package/dist/chunk-IOUCFIRG.mjs +0 -3190
- package/dist/chunk-IOUCFIRG.mjs.map +0 -1
- package/dist/chunk-J26XFRUS.js +0 -17
- package/dist/chunk-J26XFRUS.js.map +0 -1
- package/dist/chunk-LZLW5WCC.js +0 -90
- package/dist/chunk-LZLW5WCC.js.map +0 -1
- package/dist/chunk-NV3UQTCW.mjs +0 -226
- package/dist/chunk-NV3UQTCW.mjs.map +0 -1
- package/dist/chunk-TBXDOQXP.js +0 -126
- package/dist/chunk-TBXDOQXP.js.map +0 -1
- package/dist/chunk-TKLIIDBR.mjs +0 -2804
- package/dist/chunk-TKLIIDBR.mjs.map +0 -1
- package/dist/chunk-W7K5Y2WR.js +0 -2804
- package/dist/chunk-W7K5Y2WR.js.map +0 -1
- package/dist/clerk/index.d.mts +0 -15
- package/dist/clerk/index.d.ts +0 -15
- package/dist/clerk/index.js +0 -47
- package/dist/clerk/index.js.map +0 -1
- package/dist/clerk/index.mjs +0 -47
- package/dist/clerk/index.mjs.map +0 -1
- package/dist/clerk/server.d.mts +0 -28
- package/dist/clerk/server.d.ts +0 -28
- package/dist/clerk/server.js +0 -179
- package/dist/clerk/server.js.map +0 -1
- package/dist/clerk/server.mjs +0 -179
- package/dist/clerk/server.mjs.map +0 -1
- package/dist/cta.css +0 -16
- package/dist/fuma/mdx/index.d.mts +0 -133
- package/dist/fuma/mdx/index.d.ts +0 -133
- package/dist/fuma/mdx/index.js +0 -40
- package/dist/fuma/mdx/index.js.map +0 -1
- package/dist/fuma/mdx/index.mjs +0 -40
- package/dist/fuma/mdx/index.mjs.map +0 -1
- package/dist/fuma/server.d.mts +0 -77
- package/dist/fuma/server.d.ts +0 -77
- package/dist/fuma/server.js +0 -27041
- package/dist/fuma/server.js.map +0 -1
- package/dist/fuma/server.mjs +0 -27041
- package/dist/fuma/server.mjs.map +0 -1
- package/dist/fuma.css +0 -106
- package/dist/lib/server.d.mts +0 -4670
- package/dist/lib/server.d.ts +0 -4670
- package/dist/lib/server.js +0 -144
- package/dist/lib/server.js.map +0 -1
- package/dist/lib/server.mjs +0 -144
- package/dist/lib/server.mjs.map +0 -1
- package/dist/main/index.d.mts +0 -198
- package/dist/main/index.d.ts +0 -198
- package/dist/main/index.js +0 -32
- package/dist/main/index.js.map +0 -1
- package/dist/main/index.mjs +0 -32
- package/dist/main/index.mjs.map +0 -1
- package/dist/main/server.d.mts +0 -64
- package/dist/main/server.d.ts +0 -64
- package/dist/main/server.js +0 -602
- package/dist/main/server.js.map +0 -1
- package/dist/main/server.mjs +0 -602
- package/dist/main/server.mjs.map +0 -1
- package/dist/third-ui.css +0 -66
- package/dist/toc-base-BC7kXpDU.d.mts +0 -15
- package/dist/toc-base-BC7kXpDU.d.ts +0 -15
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ImageProps } from 'fumadocs-core/framework';
|
|
3
|
-
import React, { ImgHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
4
|
-
import { UncontrolledProps } from 'react-medium-image-zoom';
|
|
5
|
-
export { E as EditOnGitHub, a as LLMCopyButton, L as LLMCopyButtonProps, b as LastUpdatedDate } from '../../toc-base-BC7kXpDU.mjs';
|
|
6
|
-
|
|
7
|
-
interface MermaidProps {
|
|
8
|
-
chart: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
watermarkEnabled?: boolean;
|
|
11
|
-
watermarkText?: string;
|
|
12
|
-
/**
|
|
13
|
-
* enable preview dialog by clicking the chart, default is true
|
|
14
|
-
*/
|
|
15
|
-
enablePreview?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function Mermaid({ chart, title, watermarkEnabled, watermarkText, enablePreview }: MermaidProps): react_jsx_runtime.JSX.Element;
|
|
18
|
-
|
|
19
|
-
type ImageZoomProps = ImageProps & {
|
|
20
|
-
/**
|
|
21
|
-
* Image props when zoom in
|
|
22
|
-
*/
|
|
23
|
-
zoomInProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
24
|
-
/**
|
|
25
|
-
* Props for `react-medium-image-zoom`
|
|
26
|
-
*/
|
|
27
|
-
rmiz?: UncontrolledProps;
|
|
28
|
-
/**
|
|
29
|
-
* placeholder image path
|
|
30
|
-
*/
|
|
31
|
-
fallbackSrc?: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @example
|
|
35
|
-
* <ImageZoom src="URL" fallbackSrc="/my-placeholder.png" />
|
|
36
|
-
*/
|
|
37
|
-
declare function ImageZoom({ zoomInProps, children, rmiz, fallbackSrc, ...props }: ImageZoomProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
declare function TrophyCard({ icon, title, children, }: {
|
|
40
|
-
icon?: React.ReactNode;
|
|
41
|
-
title: React.ReactNode;
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
}): react_jsx_runtime.JSX.Element;
|
|
44
|
-
|
|
45
|
-
declare function ImageGrid({ type, images, altPrefix, cdnBaseUrl, }: {
|
|
46
|
-
type: "url" | "local";
|
|
47
|
-
images: string[];
|
|
48
|
-
altPrefix?: string;
|
|
49
|
-
cdnBaseUrl?: string;
|
|
50
|
-
}): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
type ZiaCardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
53
|
-
icon?: ReactNode;
|
|
54
|
-
title: ReactNode;
|
|
55
|
-
description?: ReactNode;
|
|
56
|
-
href?: string;
|
|
57
|
-
external?: boolean;
|
|
58
|
-
};
|
|
59
|
-
declare function ZiaCard({ icon, title, description, ...props }: ZiaCardProps): react_jsx_runtime.JSX.Element;
|
|
60
|
-
|
|
61
|
-
interface GradientButtonProps {
|
|
62
|
-
title: React.ReactNode;
|
|
63
|
-
icon?: React.ReactNode;
|
|
64
|
-
align?: 'left' | 'center' | 'right';
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
className?: string;
|
|
67
|
-
href?: string;
|
|
68
|
-
openInNewTab?: boolean;
|
|
69
|
-
onClick?: () => void | Promise<void>;
|
|
70
|
-
loadingText?: React.ReactNode;
|
|
71
|
-
preventDoubleClick?: boolean;
|
|
72
|
-
}
|
|
73
|
-
declare function GradientButton({ title, icon, align, disabled, className, href, openInNewTab, onClick, loadingText, preventDoubleClick, }: GradientButtonProps): react_jsx_runtime.JSX.Element;
|
|
74
|
-
|
|
75
|
-
interface FumaGithubInfoProps {
|
|
76
|
-
owner: string;
|
|
77
|
-
repo: string;
|
|
78
|
-
token?: string;
|
|
79
|
-
className?: string;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* GitHub repository information component with graceful fallback
|
|
83
|
-
*
|
|
84
|
-
* Features:
|
|
85
|
-
* - 🛡️ Client-side rendering, avoiding server-side network issues
|
|
86
|
-
* - ⏱️ 5 second timeout control
|
|
87
|
-
* - 🎯 Graceful fallback: display basic link when network fails
|
|
88
|
-
* - 🎨 Three states: loading, success, error
|
|
89
|
-
* - 💯 Not affected by network issues causing page crashes
|
|
90
|
-
*/
|
|
91
|
-
declare function FumaGithubInfo({ owner, repo, token, className }: FumaGithubInfoProps): react_jsx_runtime.JSX.Element;
|
|
92
|
-
|
|
93
|
-
interface ZiaFileProps extends HTMLAttributes<HTMLDivElement> {
|
|
94
|
-
name: string;
|
|
95
|
-
icon?: ReactNode;
|
|
96
|
-
anotion?: string;
|
|
97
|
-
href?: string;
|
|
98
|
-
}
|
|
99
|
-
interface ZiaFolderProps extends HTMLAttributes<HTMLDivElement> {
|
|
100
|
-
name: string;
|
|
101
|
-
anotion?: string;
|
|
102
|
-
disabled?: boolean;
|
|
103
|
-
defaultOpen?: boolean;
|
|
104
|
-
}
|
|
105
|
-
declare function ZiaFile({ name, icon, className, anotion, href, ...rest }: ZiaFileProps): React.ReactElement;
|
|
106
|
-
declare function ZiaFolder({ name, anotion, defaultOpen, className, children, ...props }: ZiaFolderProps): React.ReactElement;
|
|
107
|
-
|
|
108
|
-
interface TocFooterProps {
|
|
109
|
-
lastModified: string | undefined;
|
|
110
|
-
editPath?: string;
|
|
111
|
-
githubBaseUrl?: string;
|
|
112
|
-
copyButtonComponent?: React.ReactNode;
|
|
113
|
-
}
|
|
114
|
-
declare function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonComponent }: TocFooterProps): react_jsx_runtime.JSX.Element;
|
|
115
|
-
|
|
116
|
-
declare function Banner({ id, variant, changeLayout, height, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
117
|
-
/**
|
|
118
|
-
* @defaultValue default is 3 rem
|
|
119
|
-
*/
|
|
120
|
-
height?: number;
|
|
121
|
-
/**
|
|
122
|
-
* @defaultValue 'normal'
|
|
123
|
-
*/
|
|
124
|
-
variant?: 'rainbow' | 'normal';
|
|
125
|
-
/**
|
|
126
|
-
* Change Fumadocs layout styles
|
|
127
|
-
*
|
|
128
|
-
* @defaultValue true
|
|
129
|
-
*/
|
|
130
|
-
changeLayout?: boolean;
|
|
131
|
-
}): react_jsx_runtime.JSX.Element | null;
|
|
132
|
-
|
|
133
|
-
export { Banner, FumaGithubInfo, GradientButton, type GradientButtonProps, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };
|
package/dist/fuma/mdx/index.d.ts
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ImageProps } from 'fumadocs-core/framework';
|
|
3
|
-
import React, { ImgHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
4
|
-
import { UncontrolledProps } from 'react-medium-image-zoom';
|
|
5
|
-
export { E as EditOnGitHub, a as LLMCopyButton, L as LLMCopyButtonProps, b as LastUpdatedDate } from '../../toc-base-BC7kXpDU.js';
|
|
6
|
-
|
|
7
|
-
interface MermaidProps {
|
|
8
|
-
chart: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
watermarkEnabled?: boolean;
|
|
11
|
-
watermarkText?: string;
|
|
12
|
-
/**
|
|
13
|
-
* enable preview dialog by clicking the chart, default is true
|
|
14
|
-
*/
|
|
15
|
-
enablePreview?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function Mermaid({ chart, title, watermarkEnabled, watermarkText, enablePreview }: MermaidProps): react_jsx_runtime.JSX.Element;
|
|
18
|
-
|
|
19
|
-
type ImageZoomProps = ImageProps & {
|
|
20
|
-
/**
|
|
21
|
-
* Image props when zoom in
|
|
22
|
-
*/
|
|
23
|
-
zoomInProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
24
|
-
/**
|
|
25
|
-
* Props for `react-medium-image-zoom`
|
|
26
|
-
*/
|
|
27
|
-
rmiz?: UncontrolledProps;
|
|
28
|
-
/**
|
|
29
|
-
* placeholder image path
|
|
30
|
-
*/
|
|
31
|
-
fallbackSrc?: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @example
|
|
35
|
-
* <ImageZoom src="URL" fallbackSrc="/my-placeholder.png" />
|
|
36
|
-
*/
|
|
37
|
-
declare function ImageZoom({ zoomInProps, children, rmiz, fallbackSrc, ...props }: ImageZoomProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
declare function TrophyCard({ icon, title, children, }: {
|
|
40
|
-
icon?: React.ReactNode;
|
|
41
|
-
title: React.ReactNode;
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
}): react_jsx_runtime.JSX.Element;
|
|
44
|
-
|
|
45
|
-
declare function ImageGrid({ type, images, altPrefix, cdnBaseUrl, }: {
|
|
46
|
-
type: "url" | "local";
|
|
47
|
-
images: string[];
|
|
48
|
-
altPrefix?: string;
|
|
49
|
-
cdnBaseUrl?: string;
|
|
50
|
-
}): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
type ZiaCardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
53
|
-
icon?: ReactNode;
|
|
54
|
-
title: ReactNode;
|
|
55
|
-
description?: ReactNode;
|
|
56
|
-
href?: string;
|
|
57
|
-
external?: boolean;
|
|
58
|
-
};
|
|
59
|
-
declare function ZiaCard({ icon, title, description, ...props }: ZiaCardProps): react_jsx_runtime.JSX.Element;
|
|
60
|
-
|
|
61
|
-
interface GradientButtonProps {
|
|
62
|
-
title: React.ReactNode;
|
|
63
|
-
icon?: React.ReactNode;
|
|
64
|
-
align?: 'left' | 'center' | 'right';
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
className?: string;
|
|
67
|
-
href?: string;
|
|
68
|
-
openInNewTab?: boolean;
|
|
69
|
-
onClick?: () => void | Promise<void>;
|
|
70
|
-
loadingText?: React.ReactNode;
|
|
71
|
-
preventDoubleClick?: boolean;
|
|
72
|
-
}
|
|
73
|
-
declare function GradientButton({ title, icon, align, disabled, className, href, openInNewTab, onClick, loadingText, preventDoubleClick, }: GradientButtonProps): react_jsx_runtime.JSX.Element;
|
|
74
|
-
|
|
75
|
-
interface FumaGithubInfoProps {
|
|
76
|
-
owner: string;
|
|
77
|
-
repo: string;
|
|
78
|
-
token?: string;
|
|
79
|
-
className?: string;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* GitHub repository information component with graceful fallback
|
|
83
|
-
*
|
|
84
|
-
* Features:
|
|
85
|
-
* - 🛡️ Client-side rendering, avoiding server-side network issues
|
|
86
|
-
* - ⏱️ 5 second timeout control
|
|
87
|
-
* - 🎯 Graceful fallback: display basic link when network fails
|
|
88
|
-
* - 🎨 Three states: loading, success, error
|
|
89
|
-
* - 💯 Not affected by network issues causing page crashes
|
|
90
|
-
*/
|
|
91
|
-
declare function FumaGithubInfo({ owner, repo, token, className }: FumaGithubInfoProps): react_jsx_runtime.JSX.Element;
|
|
92
|
-
|
|
93
|
-
interface ZiaFileProps extends HTMLAttributes<HTMLDivElement> {
|
|
94
|
-
name: string;
|
|
95
|
-
icon?: ReactNode;
|
|
96
|
-
anotion?: string;
|
|
97
|
-
href?: string;
|
|
98
|
-
}
|
|
99
|
-
interface ZiaFolderProps extends HTMLAttributes<HTMLDivElement> {
|
|
100
|
-
name: string;
|
|
101
|
-
anotion?: string;
|
|
102
|
-
disabled?: boolean;
|
|
103
|
-
defaultOpen?: boolean;
|
|
104
|
-
}
|
|
105
|
-
declare function ZiaFile({ name, icon, className, anotion, href, ...rest }: ZiaFileProps): React.ReactElement;
|
|
106
|
-
declare function ZiaFolder({ name, anotion, defaultOpen, className, children, ...props }: ZiaFolderProps): React.ReactElement;
|
|
107
|
-
|
|
108
|
-
interface TocFooterProps {
|
|
109
|
-
lastModified: string | undefined;
|
|
110
|
-
editPath?: string;
|
|
111
|
-
githubBaseUrl?: string;
|
|
112
|
-
copyButtonComponent?: React.ReactNode;
|
|
113
|
-
}
|
|
114
|
-
declare function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonComponent }: TocFooterProps): react_jsx_runtime.JSX.Element;
|
|
115
|
-
|
|
116
|
-
declare function Banner({ id, variant, changeLayout, height, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
117
|
-
/**
|
|
118
|
-
* @defaultValue default is 3 rem
|
|
119
|
-
*/
|
|
120
|
-
height?: number;
|
|
121
|
-
/**
|
|
122
|
-
* @defaultValue 'normal'
|
|
123
|
-
*/
|
|
124
|
-
variant?: 'rainbow' | 'normal';
|
|
125
|
-
/**
|
|
126
|
-
* Change Fumadocs layout styles
|
|
127
|
-
*
|
|
128
|
-
* @defaultValue true
|
|
129
|
-
*/
|
|
130
|
-
changeLayout?: boolean;
|
|
131
|
-
}): react_jsx_runtime.JSX.Element | null;
|
|
132
|
-
|
|
133
|
-
export { Banner, FumaGithubInfo, GradientButton, type GradientButtonProps, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };
|
package/dist/fuma/mdx/index.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/* eslint-disable */
|
|
2
|
-
"use client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var _chunk6PW67OXWjs = require('../../chunk-6PW67OXW.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var _chunkTBXDOQXPjs = require('../../chunk-TBXDOQXP.js');
|
|
21
|
-
require('../../chunk-6MM7HLNX.js');
|
|
22
|
-
require('../../chunk-W7K5Y2WR.js');
|
|
23
|
-
require('../../chunk-LZLW5WCC.js');
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
exports.Banner = _chunk6PW67OXWjs.Banner; exports.EditOnGitHub = _chunk6PW67OXWjs.EditOnGitHub; exports.FumaGithubInfo = _chunk6PW67OXWjs.FumaGithubInfo; exports.GradientButton = _chunkTBXDOQXPjs.GradientButton; exports.ImageGrid = _chunk6PW67OXWjs.ImageGrid; exports.ImageZoom = _chunk6PW67OXWjs.ImageZoom; exports.LLMCopyButton = _chunk6PW67OXWjs.LLMCopyButton; exports.LastUpdatedDate = _chunk6PW67OXWjs.LastUpdatedDate; exports.Mermaid = _chunk6PW67OXWjs.Mermaid; exports.TocFooterWrapper = _chunk6PW67OXWjs.TocFooterWrapper; exports.TrophyCard = _chunk6PW67OXWjs.TrophyCard; exports.ZiaCard = _chunk6PW67OXWjs.ZiaCard; exports.ZiaFile = _chunk6PW67OXWjs.ZiaFile; exports.ZiaFolder = _chunk6PW67OXWjs.ZiaFolder;
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/funeye/IdeaProjects/next-ai-build/packages/third-ui/dist/fuma/mdx/index.js"],"names":[],"mappings":"AAAA;AACA,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,0DAAgC;AAChC;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC,mCAAgC;AAChC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2sBAAC","file":"/Users/funeye/IdeaProjects/next-ai-build/packages/third-ui/dist/fuma/mdx/index.js"}
|
package/dist/fuma/mdx/index.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
"use client";
|
|
3
|
-
import {
|
|
4
|
-
Banner,
|
|
5
|
-
EditOnGitHub,
|
|
6
|
-
FumaGithubInfo,
|
|
7
|
-
ImageGrid,
|
|
8
|
-
ImageZoom,
|
|
9
|
-
LLMCopyButton,
|
|
10
|
-
LastUpdatedDate,
|
|
11
|
-
Mermaid,
|
|
12
|
-
TocFooterWrapper,
|
|
13
|
-
TrophyCard,
|
|
14
|
-
ZiaCard,
|
|
15
|
-
ZiaFile,
|
|
16
|
-
ZiaFolder
|
|
17
|
-
} from "../../chunk-C3MW5ZUN.mjs";
|
|
18
|
-
import {
|
|
19
|
-
GradientButton
|
|
20
|
-
} from "../../chunk-ICXWQI2S.mjs";
|
|
21
|
-
import "../../chunk-NV3UQTCW.mjs";
|
|
22
|
-
import "../../chunk-TKLIIDBR.mjs";
|
|
23
|
-
import "../../chunk-BZLOMDT7.mjs";
|
|
24
|
-
export {
|
|
25
|
-
Banner,
|
|
26
|
-
EditOnGitHub,
|
|
27
|
-
FumaGithubInfo,
|
|
28
|
-
GradientButton,
|
|
29
|
-
ImageGrid,
|
|
30
|
-
ImageZoom,
|
|
31
|
-
LLMCopyButton,
|
|
32
|
-
LastUpdatedDate,
|
|
33
|
-
Mermaid,
|
|
34
|
-
TocFooterWrapper,
|
|
35
|
-
TrophyCard,
|
|
36
|
-
ZiaCard,
|
|
37
|
-
ZiaFile,
|
|
38
|
-
ZiaFolder
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/fuma/server.d.mts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactElement, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import { L as LLMCopyButtonProps, a as LLMCopyButton } from '../toc-base-BC7kXpDU.mjs';
|
|
4
|
-
|
|
5
|
-
interface FumaPageParams {
|
|
6
|
-
sourceKey: string;
|
|
7
|
-
mdxContentSource: any;
|
|
8
|
-
getMDXComponents: () => any;
|
|
9
|
-
mdxSourceDir: string;
|
|
10
|
-
githubBaseUrl?: string;
|
|
11
|
-
copyButtonComponent?: ReactElement<LLMCopyButtonProps, typeof LLMCopyButton>;
|
|
12
|
-
siteIcon: ReactNode;
|
|
13
|
-
FallbackPage: React.ComponentType<{
|
|
14
|
-
siteIcon: ReactNode;
|
|
15
|
-
}>;
|
|
16
|
-
supportedLocales?: string[];
|
|
17
|
-
}
|
|
18
|
-
declare function createFumaPage({ sourceKey, mdxContentSource, getMDXComponents, mdxSourceDir, githubBaseUrl, copyButtonComponent, siteIcon, FallbackPage, supportedLocales, }: FumaPageParams): {
|
|
19
|
-
Page: ({ params }: {
|
|
20
|
-
params: Promise<{
|
|
21
|
-
locale: string;
|
|
22
|
-
slug?: string[];
|
|
23
|
-
}>;
|
|
24
|
-
}) => Promise<react_jsx_runtime.JSX.Element>;
|
|
25
|
-
generateStaticParams: () => any;
|
|
26
|
-
generateMetadata: (props: {
|
|
27
|
-
params: Promise<{
|
|
28
|
-
slug?: string[];
|
|
29
|
-
locale?: string;
|
|
30
|
-
}>;
|
|
31
|
-
}) => Promise<{
|
|
32
|
-
title: string;
|
|
33
|
-
description: string;
|
|
34
|
-
metadataBase?: undefined;
|
|
35
|
-
alternates?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
metadataBase: URL;
|
|
38
|
-
title: any;
|
|
39
|
-
description: any;
|
|
40
|
-
alternates: {
|
|
41
|
-
canonical: string;
|
|
42
|
-
languages: Record<string, string>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
type LLMCopyHandlerOptions = {
|
|
48
|
-
sourceDir: string;
|
|
49
|
-
dataSource: {
|
|
50
|
-
getPage: (slug: string[], locale: string) => any | undefined;
|
|
51
|
-
};
|
|
52
|
-
requestedPath?: string;
|
|
53
|
-
locale: string;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* General MDX content reading and processing tool function, logs are consistent with router.
|
|
57
|
-
*/
|
|
58
|
-
declare function LLMCopyHandler(options: LLMCopyHandlerOptions): Promise<{
|
|
59
|
-
text?: string;
|
|
60
|
-
error?: string;
|
|
61
|
-
status: number;
|
|
62
|
-
}>;
|
|
63
|
-
|
|
64
|
-
declare function FumaBannerSuit({ locale, showBanner }: {
|
|
65
|
-
locale: string;
|
|
66
|
-
showBanner: boolean;
|
|
67
|
-
}): Promise<react_jsx_runtime.JSX.Element>;
|
|
68
|
-
|
|
69
|
-
type SiteXProps = Omit<HTMLAttributes<HTMLSpanElement>, 'type'> & {
|
|
70
|
-
locale: string;
|
|
71
|
-
type: 'site' | 'email';
|
|
72
|
-
namespace?: string;
|
|
73
|
-
tKey?: string;
|
|
74
|
-
};
|
|
75
|
-
declare function SiteX({ locale, type, namespace, tKey, className, ...props }: SiteXProps): Promise<react_jsx_runtime.JSX.Element | null>;
|
|
76
|
-
|
|
77
|
-
export { FumaBannerSuit, LLMCopyHandler, type LLMCopyHandlerOptions, SiteX, type SiteXProps, createFumaPage };
|
package/dist/fuma/server.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ReactElement, ReactNode, HTMLAttributes } from 'react';
|
|
3
|
-
import { L as LLMCopyButtonProps, a as LLMCopyButton } from '../toc-base-BC7kXpDU.js';
|
|
4
|
-
|
|
5
|
-
interface FumaPageParams {
|
|
6
|
-
sourceKey: string;
|
|
7
|
-
mdxContentSource: any;
|
|
8
|
-
getMDXComponents: () => any;
|
|
9
|
-
mdxSourceDir: string;
|
|
10
|
-
githubBaseUrl?: string;
|
|
11
|
-
copyButtonComponent?: ReactElement<LLMCopyButtonProps, typeof LLMCopyButton>;
|
|
12
|
-
siteIcon: ReactNode;
|
|
13
|
-
FallbackPage: React.ComponentType<{
|
|
14
|
-
siteIcon: ReactNode;
|
|
15
|
-
}>;
|
|
16
|
-
supportedLocales?: string[];
|
|
17
|
-
}
|
|
18
|
-
declare function createFumaPage({ sourceKey, mdxContentSource, getMDXComponents, mdxSourceDir, githubBaseUrl, copyButtonComponent, siteIcon, FallbackPage, supportedLocales, }: FumaPageParams): {
|
|
19
|
-
Page: ({ params }: {
|
|
20
|
-
params: Promise<{
|
|
21
|
-
locale: string;
|
|
22
|
-
slug?: string[];
|
|
23
|
-
}>;
|
|
24
|
-
}) => Promise<react_jsx_runtime.JSX.Element>;
|
|
25
|
-
generateStaticParams: () => any;
|
|
26
|
-
generateMetadata: (props: {
|
|
27
|
-
params: Promise<{
|
|
28
|
-
slug?: string[];
|
|
29
|
-
locale?: string;
|
|
30
|
-
}>;
|
|
31
|
-
}) => Promise<{
|
|
32
|
-
title: string;
|
|
33
|
-
description: string;
|
|
34
|
-
metadataBase?: undefined;
|
|
35
|
-
alternates?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
metadataBase: URL;
|
|
38
|
-
title: any;
|
|
39
|
-
description: any;
|
|
40
|
-
alternates: {
|
|
41
|
-
canonical: string;
|
|
42
|
-
languages: Record<string, string>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
type LLMCopyHandlerOptions = {
|
|
48
|
-
sourceDir: string;
|
|
49
|
-
dataSource: {
|
|
50
|
-
getPage: (slug: string[], locale: string) => any | undefined;
|
|
51
|
-
};
|
|
52
|
-
requestedPath?: string;
|
|
53
|
-
locale: string;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* General MDX content reading and processing tool function, logs are consistent with router.
|
|
57
|
-
*/
|
|
58
|
-
declare function LLMCopyHandler(options: LLMCopyHandlerOptions): Promise<{
|
|
59
|
-
text?: string;
|
|
60
|
-
error?: string;
|
|
61
|
-
status: number;
|
|
62
|
-
}>;
|
|
63
|
-
|
|
64
|
-
declare function FumaBannerSuit({ locale, showBanner }: {
|
|
65
|
-
locale: string;
|
|
66
|
-
showBanner: boolean;
|
|
67
|
-
}): Promise<react_jsx_runtime.JSX.Element>;
|
|
68
|
-
|
|
69
|
-
type SiteXProps = Omit<HTMLAttributes<HTMLSpanElement>, 'type'> & {
|
|
70
|
-
locale: string;
|
|
71
|
-
type: 'site' | 'email';
|
|
72
|
-
namespace?: string;
|
|
73
|
-
tKey?: string;
|
|
74
|
-
};
|
|
75
|
-
declare function SiteX({ locale, type, namespace, tKey, className, ...props }: SiteXProps): Promise<react_jsx_runtime.JSX.Element | null>;
|
|
76
|
-
|
|
77
|
-
export { FumaBannerSuit, LLMCopyHandler, type LLMCopyHandlerOptions, SiteX, type SiteXProps, createFumaPage };
|