@windrun-huaiin/third-ui 5.14.2 → 6.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/dist/clerk/index.d.mts +2 -21
- package/dist/clerk/index.d.ts +2 -21
- package/dist/clerk/index.js +5 -2884
- package/dist/clerk/index.js.map +1 -1
- package/dist/clerk/index.mjs +3 -2872
- package/dist/clerk/index.mjs.map +1 -1
- package/dist/clerk/server.d.mts +28 -0
- package/dist/clerk/server.d.ts +28 -0
- package/dist/clerk/server.js +3025 -0
- package/dist/clerk/server.js.map +1 -0
- package/dist/clerk/server.mjs +2991 -0
- package/dist/clerk/server.mjs.map +1 -0
- package/dist/fuma/mdx/index.d.mts +1 -12
- package/dist/fuma/mdx/index.d.ts +1 -12
- package/dist/fuma/mdx/index.js +47 -262
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +48 -261
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.d.mts +15 -2
- package/dist/fuma/server.d.ts +15 -2
- package/dist/fuma/server.js +234 -49
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs +231 -48
- package/dist/fuma/server.mjs.map +1 -1
- package/dist/lib/server.d.mts +509 -465
- package/dist/lib/server.d.ts +509 -465
- package/dist/main/index.d.mts +5 -56
- package/dist/main/index.d.ts +5 -56
- package/dist/main/index.js +646 -1322
- package/dist/main/index.js.map +1 -1
- package/dist/main/index.mjs +675 -1342
- package/dist/main/index.mjs.map +1 -1
- package/dist/main/server.d.mts +64 -0
- package/dist/main/server.d.ts +64 -0
- package/dist/main/server.js +4166 -0
- package/dist/main/server.js.map +1 -0
- package/dist/main/server.mjs +4128 -0
- package/dist/main/server.mjs.map +1 -0
- package/package.json +12 -2
- package/src/clerk/clerk-organization-client.tsx +50 -0
- package/src/clerk/clerk-organization.tsx +21 -38
- package/src/clerk/clerk-page-generator.tsx +0 -2
- package/src/clerk/clerk-provider-client.tsx +1 -1
- package/src/clerk/clerk-user-client.tsx +64 -0
- package/src/clerk/clerk-user.tsx +29 -58
- package/src/clerk/index.ts +1 -4
- package/src/clerk/server.ts +3 -0
- package/src/fuma/{mdx/fuma-banner-suit.tsx → fuma-banner-suit.tsx} +3 -6
- package/src/fuma/mdx/banner.tsx +0 -1
- package/src/fuma/mdx/index.ts +0 -2
- package/src/fuma/mdx/toc-footer-wrapper.tsx +1 -0
- package/src/fuma/mdx/zia-file.tsx +0 -1
- package/src/fuma/server.ts +3 -1
- package/src/fuma/{mdx/site-x.tsx → site-x.tsx} +4 -5
- package/src/main/cta.tsx +33 -10
- package/src/main/faq-interactive.tsx +68 -0
- package/src/main/faq.tsx +62 -38
- package/src/main/features.tsx +40 -11
- package/src/main/footer.tsx +27 -16
- package/src/main/gallery-interactive.tsx +171 -0
- package/src/main/gallery.tsx +54 -101
- package/src/main/index.ts +1 -10
- package/src/main/language-detector.tsx +175 -0
- package/src/main/price-plan-interactive.tsx +273 -0
- package/src/main/price-plan.tsx +112 -129
- package/src/main/seo-content.tsx +46 -13
- package/src/main/server.ts +10 -0
- package/src/main/tips.tsx +48 -22
- package/src/main/usage.tsx +43 -11
package/dist/main/index.d.mts
CHANGED
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React
|
|
3
|
-
|
|
4
|
-
interface GalleryProps {
|
|
5
|
-
sectionClassName?: string;
|
|
6
|
-
button?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare function Gallery({ sectionClassName, button }: GalleryProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
declare function Usage({ sectionClassName }: {
|
|
11
|
-
sectionClassName?: string;
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
declare function Features({ sectionClassName }: {
|
|
15
|
-
sectionClassName?: string;
|
|
16
|
-
}): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
declare function Tips({ sectionClassName }: {
|
|
19
|
-
sectionClassName?: string;
|
|
20
|
-
}): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
declare function FAQ({ sectionClassName }: {
|
|
23
|
-
sectionClassName?: string;
|
|
24
|
-
}): react_jsx_runtime.JSX.Element;
|
|
25
|
-
|
|
26
|
-
declare function SeoContent({ sectionClassName }: {
|
|
27
|
-
sectionClassName?: string;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
declare function CTA({ sectionClassName }: {
|
|
31
|
-
sectionClassName?: string;
|
|
32
|
-
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
|
-
declare function Footer(): react_jsx_runtime.JSX.Element;
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
35
3
|
|
|
36
4
|
declare function GoToTop(): react_jsx_runtime.JSX.Element;
|
|
37
5
|
|
|
@@ -39,30 +7,11 @@ declare function Loading(): react_jsx_runtime.JSX.Element;
|
|
|
39
7
|
|
|
40
8
|
declare function NProgressBar(): null;
|
|
41
9
|
|
|
42
|
-
interface PricePlanProps {
|
|
43
|
-
currency?: string;
|
|
44
|
-
pricePlanConfig: PricePlanAppConfig;
|
|
45
|
-
sectionClassName?: string;
|
|
46
|
-
}
|
|
47
|
-
interface BillingOption {
|
|
48
|
-
key: string;
|
|
49
|
-
discount: number;
|
|
50
|
-
}
|
|
51
|
-
interface Prices {
|
|
52
|
-
[key: string]: number | string;
|
|
53
|
-
}
|
|
54
|
-
interface PricePlanAppConfig {
|
|
55
|
-
billingOptions: BillingOption[];
|
|
56
|
-
prices: Prices;
|
|
57
|
-
minPlanFeaturesCount: number;
|
|
58
|
-
}
|
|
59
|
-
declare function PricePlan({ currency, pricePlanConfig, sectionClassName }: PricePlanProps): react_jsx_runtime.JSX.Element;
|
|
60
|
-
|
|
61
10
|
interface AdsAlertDialogProps {
|
|
62
11
|
open: boolean;
|
|
63
12
|
onOpenChange: (open: boolean) => void;
|
|
64
|
-
title: React
|
|
65
|
-
description: React
|
|
13
|
+
title: React.ReactNode;
|
|
14
|
+
description: React.ReactNode;
|
|
66
15
|
imgSrc?: string;
|
|
67
16
|
imgHref?: string;
|
|
68
17
|
onCancel?: () => void;
|
|
@@ -177,9 +126,9 @@ interface AIPromptTextareaProps {
|
|
|
177
126
|
}
|
|
178
127
|
declare function AIPromptTextarea({ value, onChange, placeholder, disabled, maxWords, wordUnitTitle, minHeight, maxHeight, className, showWordCount, autoScroll, extraScrollSpace, isWordLimit, onWordLimitChange, title, description, embed }: AIPromptTextareaProps): react_jsx_runtime.JSX.Element;
|
|
179
128
|
|
|
180
|
-
type TagRenderer = (chunks: React
|
|
129
|
+
type TagRenderer = (chunks: React.ReactNode) => React.ReactElement;
|
|
181
130
|
type TagRenderers = Record<string, TagRenderer>;
|
|
182
131
|
declare function createRichTextRenderer(customRenderers?: TagRenderers): (t: any, key: string) => any;
|
|
183
132
|
declare const richText: (t: any, key: string) => any;
|
|
184
133
|
|
|
185
|
-
export { AIPromptTextarea, AdsAlertDialog,
|
|
134
|
+
export { AIPromptTextarea, AdsAlertDialog, GoToTop, Loading, NProgressBar, XButton, createRichTextRenderer, richText };
|
package/dist/main/index.d.ts
CHANGED
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React
|
|
3
|
-
|
|
4
|
-
interface GalleryProps {
|
|
5
|
-
sectionClassName?: string;
|
|
6
|
-
button?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare function Gallery({ sectionClassName, button }: GalleryProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
declare function Usage({ sectionClassName }: {
|
|
11
|
-
sectionClassName?: string;
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
declare function Features({ sectionClassName }: {
|
|
15
|
-
sectionClassName?: string;
|
|
16
|
-
}): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
declare function Tips({ sectionClassName }: {
|
|
19
|
-
sectionClassName?: string;
|
|
20
|
-
}): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
declare function FAQ({ sectionClassName }: {
|
|
23
|
-
sectionClassName?: string;
|
|
24
|
-
}): react_jsx_runtime.JSX.Element;
|
|
25
|
-
|
|
26
|
-
declare function SeoContent({ sectionClassName }: {
|
|
27
|
-
sectionClassName?: string;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
declare function CTA({ sectionClassName }: {
|
|
31
|
-
sectionClassName?: string;
|
|
32
|
-
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
|
-
declare function Footer(): react_jsx_runtime.JSX.Element;
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
35
3
|
|
|
36
4
|
declare function GoToTop(): react_jsx_runtime.JSX.Element;
|
|
37
5
|
|
|
@@ -39,30 +7,11 @@ declare function Loading(): react_jsx_runtime.JSX.Element;
|
|
|
39
7
|
|
|
40
8
|
declare function NProgressBar(): null;
|
|
41
9
|
|
|
42
|
-
interface PricePlanProps {
|
|
43
|
-
currency?: string;
|
|
44
|
-
pricePlanConfig: PricePlanAppConfig;
|
|
45
|
-
sectionClassName?: string;
|
|
46
|
-
}
|
|
47
|
-
interface BillingOption {
|
|
48
|
-
key: string;
|
|
49
|
-
discount: number;
|
|
50
|
-
}
|
|
51
|
-
interface Prices {
|
|
52
|
-
[key: string]: number | string;
|
|
53
|
-
}
|
|
54
|
-
interface PricePlanAppConfig {
|
|
55
|
-
billingOptions: BillingOption[];
|
|
56
|
-
prices: Prices;
|
|
57
|
-
minPlanFeaturesCount: number;
|
|
58
|
-
}
|
|
59
|
-
declare function PricePlan({ currency, pricePlanConfig, sectionClassName }: PricePlanProps): react_jsx_runtime.JSX.Element;
|
|
60
|
-
|
|
61
10
|
interface AdsAlertDialogProps {
|
|
62
11
|
open: boolean;
|
|
63
12
|
onOpenChange: (open: boolean) => void;
|
|
64
|
-
title: React
|
|
65
|
-
description: React
|
|
13
|
+
title: React.ReactNode;
|
|
14
|
+
description: React.ReactNode;
|
|
66
15
|
imgSrc?: string;
|
|
67
16
|
imgHref?: string;
|
|
68
17
|
onCancel?: () => void;
|
|
@@ -177,9 +126,9 @@ interface AIPromptTextareaProps {
|
|
|
177
126
|
}
|
|
178
127
|
declare function AIPromptTextarea({ value, onChange, placeholder, disabled, maxWords, wordUnitTitle, minHeight, maxHeight, className, showWordCount, autoScroll, extraScrollSpace, isWordLimit, onWordLimitChange, title, description, embed }: AIPromptTextareaProps): react_jsx_runtime.JSX.Element;
|
|
179
128
|
|
|
180
|
-
type TagRenderer = (chunks: React
|
|
129
|
+
type TagRenderer = (chunks: React.ReactNode) => React.ReactElement;
|
|
181
130
|
type TagRenderers = Record<string, TagRenderer>;
|
|
182
131
|
declare function createRichTextRenderer(customRenderers?: TagRenderers): (t: any, key: string) => any;
|
|
183
132
|
declare const richText: (t: any, key: string) => any;
|
|
184
133
|
|
|
185
|
-
export { AIPromptTextarea, AdsAlertDialog,
|
|
134
|
+
export { AIPromptTextarea, AdsAlertDialog, GoToTop, Loading, NProgressBar, XButton, createRichTextRenderer, richText };
|