@baishuyun/ai-design 2.0.39 → 2.0.41

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @baishuyun/ai-design
2
2
 
3
+ ## 2.0.41
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @baishuyun/ai-feat-utils@2.0.36
9
+ - @baishuyun/types@3.0.33
10
+
11
+ ## 2.0.40
12
+
13
+ ### Patch Changes
14
+
15
+ - 完善必填校验逻辑
16
+
3
17
  ## 2.0.39
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ai-design",
3
- "version": "2.0.39",
3
+ "version": "2.0.41",
4
4
  "description": "AI 功能 UI 组件库 - 所有 AI 功能的 UI 表现唯一真相来源",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -60,8 +60,8 @@
60
60
  "tw-animate-css": "^1.4.0",
61
61
  "vaul": "^1.1.2",
62
62
  "zod": "^4.1.13",
63
- "@baishuyun/ai-feat-utils": "2.0.35",
64
- "@baishuyun/types": "3.0.32"
63
+ "@baishuyun/ai-feat-utils": "2.0.36",
64
+ "@baishuyun/types": "3.0.33"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^19.0.0",
@@ -84,7 +84,7 @@
84
84
  "vite": "^5.1.4",
85
85
  "vite-plugin-dts": "^4.5.4",
86
86
  "@baishuyun/tailwind-config": "3.0.9",
87
- "@baishuyun/types": "3.0.32",
87
+ "@baishuyun/types": "3.0.33",
88
88
  "@baishuyun/typescript-config": "2.0.9"
89
89
  },
90
90
  "keywords": [],
@@ -5,6 +5,7 @@ import { transCls } from '../const/ui';
5
5
  import { TrashIcon, SearchIcon } from '../components/bs-icons';
6
6
  import { Popover, PopoverTrigger, PopoverContent } from './ui/popover';
7
7
  import { usePortalContainer } from '../hooks/use-portal-container';
8
+ import { BsTooltip } from './tooltip';
8
9
 
9
10
  const PlusIcon = () => (
10
11
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -269,9 +270,9 @@ export function OutputConfigEditor({ value, onChange, sourceFields, targetFields
269
270
  isDropdownOpen(index, 'source') ? 'border-[#0265ff]' : 'border-[#e0e0e0]',
270
271
  )}
271
272
  >
272
- <span className="text-[14px] text-[#030303] leading-normal truncate">
273
- {item.sourceField.fieldDesc || <span className="text-[#999]">请选择字段</span>}
274
- </span>
273
+ <span className="text-[14px] text-[#030303] leading-normal truncate" title={item.sourceField.fieldDesc ?? "" }>
274
+ {item.sourceField.fieldDesc || <span className="text-[#999]">请选择字段</span>}
275
+ </span>
275
276
  <CaretIcon className={cn(
276
277
  'shrink-0 text-[#666]',
277
278
  isDropdownOpen(index, 'source') && 'rotate-180',
@@ -344,9 +345,9 @@ export function OutputConfigEditor({ value, onChange, sourceFields, targetFields
344
345
  isDropdownOpen(index, 'target') ? 'border-[#0265ff]' : 'border-[#e0e0e0]',
345
346
  )}
346
347
  >
347
- <span className="text-[14px] text-[#030303] leading-normal truncate">
348
- {item.targetField.fieldDesc || <span className="text-[#999]">请选择表单字段</span>}
349
- </span>
348
+ <span className="text-[14px] text-[#030303] leading-normal truncate" title={item.targetField.fieldDesc ?? ""}>
349
+ {item.targetField.fieldDesc || <span className="text-[#999]">请选择表单字段</span>}
350
+ </span>
350
351
  <CaretIcon className={cn(
351
352
  'shrink-0 text-[#666]',
352
353
  isDropdownOpen(index, 'target') && 'rotate-180',