@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.
Files changed (69) hide show
  1. package/dist/clerk/index.d.mts +2 -21
  2. package/dist/clerk/index.d.ts +2 -21
  3. package/dist/clerk/index.js +5 -2884
  4. package/dist/clerk/index.js.map +1 -1
  5. package/dist/clerk/index.mjs +3 -2872
  6. package/dist/clerk/index.mjs.map +1 -1
  7. package/dist/clerk/server.d.mts +28 -0
  8. package/dist/clerk/server.d.ts +28 -0
  9. package/dist/clerk/server.js +3025 -0
  10. package/dist/clerk/server.js.map +1 -0
  11. package/dist/clerk/server.mjs +2991 -0
  12. package/dist/clerk/server.mjs.map +1 -0
  13. package/dist/fuma/mdx/index.d.mts +1 -12
  14. package/dist/fuma/mdx/index.d.ts +1 -12
  15. package/dist/fuma/mdx/index.js +47 -262
  16. package/dist/fuma/mdx/index.js.map +1 -1
  17. package/dist/fuma/mdx/index.mjs +48 -261
  18. package/dist/fuma/mdx/index.mjs.map +1 -1
  19. package/dist/fuma/server.d.mts +15 -2
  20. package/dist/fuma/server.d.ts +15 -2
  21. package/dist/fuma/server.js +234 -49
  22. package/dist/fuma/server.js.map +1 -1
  23. package/dist/fuma/server.mjs +231 -48
  24. package/dist/fuma/server.mjs.map +1 -1
  25. package/dist/lib/server.d.mts +509 -465
  26. package/dist/lib/server.d.ts +509 -465
  27. package/dist/main/index.d.mts +5 -56
  28. package/dist/main/index.d.ts +5 -56
  29. package/dist/main/index.js +646 -1322
  30. package/dist/main/index.js.map +1 -1
  31. package/dist/main/index.mjs +675 -1342
  32. package/dist/main/index.mjs.map +1 -1
  33. package/dist/main/server.d.mts +64 -0
  34. package/dist/main/server.d.ts +64 -0
  35. package/dist/main/server.js +4166 -0
  36. package/dist/main/server.js.map +1 -0
  37. package/dist/main/server.mjs +4128 -0
  38. package/dist/main/server.mjs.map +1 -0
  39. package/package.json +12 -2
  40. package/src/clerk/clerk-organization-client.tsx +50 -0
  41. package/src/clerk/clerk-organization.tsx +21 -38
  42. package/src/clerk/clerk-page-generator.tsx +0 -2
  43. package/src/clerk/clerk-provider-client.tsx +1 -1
  44. package/src/clerk/clerk-user-client.tsx +64 -0
  45. package/src/clerk/clerk-user.tsx +29 -58
  46. package/src/clerk/index.ts +1 -4
  47. package/src/clerk/server.ts +3 -0
  48. package/src/fuma/{mdx/fuma-banner-suit.tsx → fuma-banner-suit.tsx} +3 -6
  49. package/src/fuma/mdx/banner.tsx +0 -1
  50. package/src/fuma/mdx/index.ts +0 -2
  51. package/src/fuma/mdx/toc-footer-wrapper.tsx +1 -0
  52. package/src/fuma/mdx/zia-file.tsx +0 -1
  53. package/src/fuma/server.ts +3 -1
  54. package/src/fuma/{mdx/site-x.tsx → site-x.tsx} +4 -5
  55. package/src/main/cta.tsx +33 -10
  56. package/src/main/faq-interactive.tsx +68 -0
  57. package/src/main/faq.tsx +62 -38
  58. package/src/main/features.tsx +40 -11
  59. package/src/main/footer.tsx +27 -16
  60. package/src/main/gallery-interactive.tsx +171 -0
  61. package/src/main/gallery.tsx +54 -101
  62. package/src/main/index.ts +1 -10
  63. package/src/main/language-detector.tsx +175 -0
  64. package/src/main/price-plan-interactive.tsx +273 -0
  65. package/src/main/price-plan.tsx +112 -129
  66. package/src/main/seo-content.tsx +46 -13
  67. package/src/main/server.ts +10 -0
  68. package/src/main/tips.tsx +48 -22
  69. package/src/main/usage.tsx +43 -11
@@ -1,37 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { ReactNode } from '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$1.ReactNode;
65
- description: React$1.ReactNode;
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$1.ReactNode) => React$1.ReactElement;
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, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton, createRichTextRenderer, richText };
134
+ export { AIPromptTextarea, AdsAlertDialog, GoToTop, Loading, NProgressBar, XButton, createRichTextRenderer, richText };
@@ -1,37 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React$1, { ReactNode } from '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$1.ReactNode;
65
- description: React$1.ReactNode;
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$1.ReactNode) => React$1.ReactElement;
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, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton, createRichTextRenderer, richText };
134
+ export { AIPromptTextarea, AdsAlertDialog, GoToTop, Loading, NProgressBar, XButton, createRichTextRenderer, richText };