@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/third-ui",
3
- "version": "5.11.0",
3
+ "version": "5.11.2",
4
4
  "description": "Third-party integrated UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,8 +1,7 @@
1
1
  'use client'
2
2
 
3
- import { Banner } from './banner';
4
3
  import { useTranslations } from 'next-intl';
5
- import { cn } from '@lib/utils';
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-1">{description}</span>}
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
@@ -14,4 +14,5 @@ export * from './loading';
14
14
  export * from './nprogress-bar';
15
15
  export * from './price-plan';
16
16
  export * from './ads-alert-dialog';
17
- export * from './x-button'
17
+ export * from './x-button'
18
+ export * from './ai-prompt-textarea'