@windrun-huaiin/third-ui 5.12.0 → 5.12.2
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/main/index.d.mts +6 -1
- package/dist/main/index.d.ts +6 -1
- package/dist/main/index.js +317 -289
- package/dist/main/index.js.map +1 -1
- package/dist/main/index.mjs +259 -233
- package/dist/main/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/main/cta.tsx +2 -1
- package/src/main/faq.tsx +3 -2
- package/src/main/features.tsx +3 -2
- package/src/main/gallery.tsx +56 -46
- package/src/main/index.ts +2 -1
- package/src/main/rich-text-expert.tsx +35 -0
- package/src/main/seo-content.tsx +6 -5
- package/src/main/tips.tsx +11 -6
- package/src/main/usage.tsx +3 -2
package/dist/main/index.d.mts
CHANGED
|
@@ -177,4 +177,9 @@ interface AIPromptTextareaProps {
|
|
|
177
177
|
}
|
|
178
178
|
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
179
|
|
|
180
|
-
|
|
180
|
+
type TagRenderer = (chunks: React$1.ReactNode) => React$1.ReactElement;
|
|
181
|
+
type TagRenderers = Record<string, TagRenderer>;
|
|
182
|
+
declare function createRichTextRenderer(customRenderers?: TagRenderers): (t: any, key: string) => any;
|
|
183
|
+
declare const richText: (t: any, key: string) => any;
|
|
184
|
+
|
|
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 };
|
package/dist/main/index.d.ts
CHANGED
|
@@ -177,4 +177,9 @@ interface AIPromptTextareaProps {
|
|
|
177
177
|
}
|
|
178
178
|
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
179
|
|
|
180
|
-
|
|
180
|
+
type TagRenderer = (chunks: React$1.ReactNode) => React$1.ReactElement;
|
|
181
|
+
type TagRenderers = Record<string, TagRenderer>;
|
|
182
|
+
declare function createRichTextRenderer(customRenderers?: TagRenderers): (t: any, key: string) => any;
|
|
183
|
+
declare const richText: (t: any, key: string) => any;
|
|
184
|
+
|
|
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 };
|