@windrun-huaiin/third-ui 3.2.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/LICENSE +21 -0
- package/README.md +210 -0
- package/dist/clerk/index.d.mts +33 -0
- package/dist/clerk/index.d.ts +33 -0
- package/dist/clerk/index.js +2395 -0
- package/dist/clerk/index.js.map +1 -0
- package/dist/clerk/index.mjs +2361 -0
- package/dist/clerk/index.mjs.map +1 -0
- package/dist/cta.css +16 -0
- package/dist/fuma/index.d.mts +51 -0
- package/dist/fuma/index.d.ts +51 -0
- package/dist/fuma/index.js +2976 -0
- package/dist/fuma/index.js.map +1 -0
- package/dist/fuma/index.mjs +2944 -0
- package/dist/fuma/index.mjs.map +1 -0
- package/dist/fuma/mdx/index.d.mts +94 -0
- package/dist/fuma/mdx/index.d.ts +94 -0
- package/dist/fuma/mdx/index.js +2866 -0
- package/dist/fuma/mdx/index.js.map +1 -0
- package/dist/fuma/mdx/index.mjs +2827 -0
- package/dist/fuma/mdx/index.mjs.map +1 -0
- package/dist/fuma.css +132 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3597 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3549 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/index.d.mts +4414 -0
- package/dist/lib/index.d.ts +4414 -0
- package/dist/lib/index.js +127 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/index.mjs +95 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/main/index.d.mts +25 -0
- package/dist/main/index.d.ts +25 -0
- package/dist/main/index.js +3003 -0
- package/dist/main/index.js.map +1 -0
- package/dist/main/index.mjs +2963 -0
- package/dist/main/index.mjs.map +1 -0
- package/dist/third-ui.css +44 -0
- package/package.json +106 -0
- package/src/clerk/clerk-organization.tsx +47 -0
- package/src/clerk/clerk-page-generator.tsx +42 -0
- package/src/clerk/clerk-provider-client.tsx +57 -0
- package/src/clerk/clerk-user.tsx +59 -0
- package/src/clerk/index.ts +5 -0
- package/src/fuma/fuma-banner-suit.tsx +16 -0
- package/src/fuma/fuma-github-info.tsx +194 -0
- package/src/fuma/fuma-page-genarator.tsx +94 -0
- package/src/fuma/index.ts +4 -0
- package/src/fuma/mdx/airtical-card.tsx +56 -0
- package/src/fuma/mdx/gradient-button.tsx +62 -0
- package/src/fuma/mdx/image-grid.tsx +35 -0
- package/src/fuma/mdx/image-zoom.tsx +84 -0
- package/src/fuma/mdx/index.ts +8 -0
- package/src/fuma/mdx/mermaid.tsx +87 -0
- package/src/fuma/mdx/toc-base.tsx +88 -0
- package/src/fuma/mdx/toc.tsx +35 -0
- package/src/fuma/mdx/trophy-card.tsx +36 -0
- package/src/fuma/mdx/zia-card.tsx +46 -0
- package/src/index.ts +4 -0
- package/src/lib/clerk-intl.ts +13 -0
- package/src/lib/fuma-schema-check-util.ts +73 -0
- package/src/lib/fuma-search-util.ts +6 -0
- package/src/lib/index.ts +3 -0
- package/src/main/ads-alert-dialog.tsx +133 -0
- package/src/main/cta.tsx +28 -0
- package/src/main/faq.tsx +58 -0
- package/src/main/features.tsx +35 -0
- package/src/main/footer.tsx +37 -0
- package/src/main/gallery.tsx +68 -0
- package/src/main/go-to-top.tsx +44 -0
- package/src/main/index.ts +12 -0
- package/src/main/loading.tsx +93 -0
- package/src/main/nprogress-bar.tsx +24 -0
- package/src/main/seo-content.tsx +34 -0
- package/src/main/tips.tsx +38 -0
- package/src/main/usage.tsx +45 -0
- package/src/styles/cta.css +16 -0
- package/src/styles/fuma.css +132 -0
- package/src/styles/third-ui.css +43 -0
package/dist/cta.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
/* Renamed Keyframes for CTA component */
|
|
3
|
+
@keyframes cta-gradient-wave {
|
|
4
|
+
0%, 100% {
|
|
5
|
+
background-position: 0% 50%;
|
|
6
|
+
}
|
|
7
|
+
50% {
|
|
8
|
+
background-position: 100% 50%;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Renamed Utility Class for CTA component */
|
|
13
|
+
.animate-cta-gradient-wave {
|
|
14
|
+
animation: cta-gradient-wave 6s ease infinite; /* Use renamed keyframes */
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare function FumaBannerSuit({ showText }: {
|
|
4
|
+
showText: boolean;
|
|
5
|
+
}): react_jsx_runtime.JSX.Element;
|
|
6
|
+
|
|
7
|
+
interface FumaPageParams {
|
|
8
|
+
mdxContentSource: any;
|
|
9
|
+
getMDXComponents: () => any;
|
|
10
|
+
mdxSourceDir: string;
|
|
11
|
+
githubBaseUrl?: string;
|
|
12
|
+
showCopy?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare function createFumaPage({ mdxContentSource, getMDXComponents, mdxSourceDir, githubBaseUrl, showCopy, }: FumaPageParams): {
|
|
15
|
+
Page: ({ params }: {
|
|
16
|
+
params: Promise<{
|
|
17
|
+
locale: string;
|
|
18
|
+
slug?: string[];
|
|
19
|
+
}>;
|
|
20
|
+
}) => Promise<react_jsx_runtime.JSX.Element>;
|
|
21
|
+
generateStaticParams: () => any;
|
|
22
|
+
generateMetadata: (props: {
|
|
23
|
+
params: Promise<{
|
|
24
|
+
slug?: string[];
|
|
25
|
+
locale?: string;
|
|
26
|
+
}>;
|
|
27
|
+
}) => Promise<{
|
|
28
|
+
title: any;
|
|
29
|
+
description: any;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
interface FumaGithubInfoProps {
|
|
34
|
+
owner: string;
|
|
35
|
+
repo: string;
|
|
36
|
+
token?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* GitHub repository information component with graceful fallback
|
|
41
|
+
*
|
|
42
|
+
* Features:
|
|
43
|
+
* - 🛡️ Client-side rendering, avoiding server-side network issues
|
|
44
|
+
* - ⏱️ 5 second timeout control
|
|
45
|
+
* - 🎯 Graceful fallback: display basic link when network fails
|
|
46
|
+
* - 🎨 Three states: loading, success, error
|
|
47
|
+
* - 💯 Not affected by network issues causing page crashes
|
|
48
|
+
*/
|
|
49
|
+
declare function FumaGithubInfo({ owner, repo, token, className }: FumaGithubInfoProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
export { FumaBannerSuit, FumaGithubInfo, createFumaPage };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare function FumaBannerSuit({ showText }: {
|
|
4
|
+
showText: boolean;
|
|
5
|
+
}): react_jsx_runtime.JSX.Element;
|
|
6
|
+
|
|
7
|
+
interface FumaPageParams {
|
|
8
|
+
mdxContentSource: any;
|
|
9
|
+
getMDXComponents: () => any;
|
|
10
|
+
mdxSourceDir: string;
|
|
11
|
+
githubBaseUrl?: string;
|
|
12
|
+
showCopy?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare function createFumaPage({ mdxContentSource, getMDXComponents, mdxSourceDir, githubBaseUrl, showCopy, }: FumaPageParams): {
|
|
15
|
+
Page: ({ params }: {
|
|
16
|
+
params: Promise<{
|
|
17
|
+
locale: string;
|
|
18
|
+
slug?: string[];
|
|
19
|
+
}>;
|
|
20
|
+
}) => Promise<react_jsx_runtime.JSX.Element>;
|
|
21
|
+
generateStaticParams: () => any;
|
|
22
|
+
generateMetadata: (props: {
|
|
23
|
+
params: Promise<{
|
|
24
|
+
slug?: string[];
|
|
25
|
+
locale?: string;
|
|
26
|
+
}>;
|
|
27
|
+
}) => Promise<{
|
|
28
|
+
title: any;
|
|
29
|
+
description: any;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
interface FumaGithubInfoProps {
|
|
34
|
+
owner: string;
|
|
35
|
+
repo: string;
|
|
36
|
+
token?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* GitHub repository information component with graceful fallback
|
|
41
|
+
*
|
|
42
|
+
* Features:
|
|
43
|
+
* - 🛡️ Client-side rendering, avoiding server-side network issues
|
|
44
|
+
* - ⏱️ 5 second timeout control
|
|
45
|
+
* - 🎯 Graceful fallback: display basic link when network fails
|
|
46
|
+
* - 🎨 Three states: loading, success, error
|
|
47
|
+
* - 💯 Not affected by network issues causing page crashes
|
|
48
|
+
*/
|
|
49
|
+
declare function FumaGithubInfo({ owner, repo, token, className }: FumaGithubInfoProps): react_jsx_runtime.JSX.Element;
|
|
50
|
+
|
|
51
|
+
export { FumaBannerSuit, FumaGithubInfo, createFumaPage };
|