@windrun-huaiin/third-ui 5.11.0 → 5.11.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/fuma/mdx/index.js +3 -1
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +3 -1
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.js +3 -1
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs +3 -1
- package/dist/fuma/server.mjs.map +1 -1
- package/dist/main/index.d.mts +73 -1
- package/dist/main/index.d.ts +73 -1
- package/dist/main/index.js +144 -0
- package/dist/main/index.js.map +1 -1
- package/dist/main/index.mjs +143 -0
- package/dist/main/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/fuma/mdx/fuma-banner-suit.tsx +1 -2
- package/src/main/ai-prompt-textarea.tsx +2 -2
- package/src/main/index.ts +2 -1
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import { Banner } from './banner';
|
|
4
3
|
import { useTranslations } from 'next-intl';
|
|
5
|
-
import {
|
|
4
|
+
import { Banner } from '@third-ui/fuma/mdx/banner';
|
|
6
5
|
|
|
7
6
|
export function FumaBannerSuit({ showBanner }: { showBanner: boolean }) {
|
|
8
7
|
const t = useTranslations('home');
|
|
@@ -188,12 +188,12 @@ export function AIPromptTextarea({
|
|
|
188
188
|
|
|
189
189
|
// 渲染标题组件
|
|
190
190
|
const renderTitle = () => {
|
|
191
|
-
if (title?.trim()) return null
|
|
191
|
+
if (!title?.trim()) return null
|
|
192
192
|
|
|
193
193
|
return (
|
|
194
194
|
<div className="space-y-1">
|
|
195
195
|
{title && <span className="text-xl font-semibold text-foreground">{title}</span>}
|
|
196
|
-
{description?.trim() && <span className="text-sm text-gray-400 ml-
|
|
196
|
+
{description?.trim() && <span className="text-sm text-gray-400 ml-2">{description}</span>}
|
|
197
197
|
</div>
|
|
198
198
|
)
|
|
199
199
|
}
|
package/src/main/index.ts
CHANGED