@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.
Files changed (82) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +210 -0
  3. package/dist/clerk/index.d.mts +33 -0
  4. package/dist/clerk/index.d.ts +33 -0
  5. package/dist/clerk/index.js +2395 -0
  6. package/dist/clerk/index.js.map +1 -0
  7. package/dist/clerk/index.mjs +2361 -0
  8. package/dist/clerk/index.mjs.map +1 -0
  9. package/dist/cta.css +16 -0
  10. package/dist/fuma/index.d.mts +51 -0
  11. package/dist/fuma/index.d.ts +51 -0
  12. package/dist/fuma/index.js +2976 -0
  13. package/dist/fuma/index.js.map +1 -0
  14. package/dist/fuma/index.mjs +2944 -0
  15. package/dist/fuma/index.mjs.map +1 -0
  16. package/dist/fuma/mdx/index.d.mts +94 -0
  17. package/dist/fuma/mdx/index.d.ts +94 -0
  18. package/dist/fuma/mdx/index.js +2866 -0
  19. package/dist/fuma/mdx/index.js.map +1 -0
  20. package/dist/fuma/mdx/index.mjs +2827 -0
  21. package/dist/fuma/mdx/index.mjs.map +1 -0
  22. package/dist/fuma.css +132 -0
  23. package/dist/index.d.mts +5 -0
  24. package/dist/index.d.ts +5 -0
  25. package/dist/index.js +3597 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/index.mjs +3549 -0
  28. package/dist/index.mjs.map +1 -0
  29. package/dist/lib/index.d.mts +4414 -0
  30. package/dist/lib/index.d.ts +4414 -0
  31. package/dist/lib/index.js +127 -0
  32. package/dist/lib/index.js.map +1 -0
  33. package/dist/lib/index.mjs +95 -0
  34. package/dist/lib/index.mjs.map +1 -0
  35. package/dist/main/index.d.mts +25 -0
  36. package/dist/main/index.d.ts +25 -0
  37. package/dist/main/index.js +3003 -0
  38. package/dist/main/index.js.map +1 -0
  39. package/dist/main/index.mjs +2963 -0
  40. package/dist/main/index.mjs.map +1 -0
  41. package/dist/third-ui.css +44 -0
  42. package/package.json +106 -0
  43. package/src/clerk/clerk-organization.tsx +47 -0
  44. package/src/clerk/clerk-page-generator.tsx +42 -0
  45. package/src/clerk/clerk-provider-client.tsx +57 -0
  46. package/src/clerk/clerk-user.tsx +59 -0
  47. package/src/clerk/index.ts +5 -0
  48. package/src/fuma/fuma-banner-suit.tsx +16 -0
  49. package/src/fuma/fuma-github-info.tsx +194 -0
  50. package/src/fuma/fuma-page-genarator.tsx +94 -0
  51. package/src/fuma/index.ts +4 -0
  52. package/src/fuma/mdx/airtical-card.tsx +56 -0
  53. package/src/fuma/mdx/gradient-button.tsx +62 -0
  54. package/src/fuma/mdx/image-grid.tsx +35 -0
  55. package/src/fuma/mdx/image-zoom.tsx +84 -0
  56. package/src/fuma/mdx/index.ts +8 -0
  57. package/src/fuma/mdx/mermaid.tsx +87 -0
  58. package/src/fuma/mdx/toc-base.tsx +88 -0
  59. package/src/fuma/mdx/toc.tsx +35 -0
  60. package/src/fuma/mdx/trophy-card.tsx +36 -0
  61. package/src/fuma/mdx/zia-card.tsx +46 -0
  62. package/src/index.ts +4 -0
  63. package/src/lib/clerk-intl.ts +13 -0
  64. package/src/lib/fuma-schema-check-util.ts +73 -0
  65. package/src/lib/fuma-search-util.ts +6 -0
  66. package/src/lib/index.ts +3 -0
  67. package/src/main/ads-alert-dialog.tsx +133 -0
  68. package/src/main/cta.tsx +28 -0
  69. package/src/main/faq.tsx +58 -0
  70. package/src/main/features.tsx +35 -0
  71. package/src/main/footer.tsx +37 -0
  72. package/src/main/gallery.tsx +68 -0
  73. package/src/main/go-to-top.tsx +44 -0
  74. package/src/main/index.ts +12 -0
  75. package/src/main/loading.tsx +93 -0
  76. package/src/main/nprogress-bar.tsx +24 -0
  77. package/src/main/seo-content.tsx +34 -0
  78. package/src/main/tips.tsx +38 -0
  79. package/src/main/usage.tsx +45 -0
  80. package/src/styles/cta.css +16 -0
  81. package/src/styles/fuma.css +132 -0
  82. 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 };