@baishuyun/ai-design 2.0.5 → 2.0.6

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,14 @@
1
1
  # @baishuyun/ai-design
2
2
 
3
+ ## 2.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - style udpate
8
+ - Updated dependencies
9
+ - @baishuyun/ai-feat-utils@2.0.6
10
+ - @baishuyun/types@3.0.6
11
+
3
12
  ## 2.0.5
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ai-design",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
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.5",
64
- "@baishuyun/types": "3.0.5"
63
+ "@baishuyun/ai-feat-utils": "2.0.6",
64
+ "@baishuyun/types": "3.0.6"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^19.0.0",
@@ -83,9 +83,9 @@
83
83
  "typescript": "^5.5.0",
84
84
  "vite": "^5.1.4",
85
85
  "vite-plugin-dts": "^4.5.4",
86
- "@baishuyun/tailwind-config": "3.0.5",
87
- "@baishuyun/types": "3.0.5",
88
- "@baishuyun/typescript-config": "2.0.5"
86
+ "@baishuyun/tailwind-config": "3.0.6",
87
+ "@baishuyun/types": "3.0.6",
88
+ "@baishuyun/typescript-config": "2.0.6"
89
89
  },
90
90
  "keywords": [],
91
91
  "author": "",
@@ -318,7 +318,7 @@ export function ScrollSlider({
318
318
  className={cn(
319
319
  'flex-1 overflow-x-auto scrollbar-hide flex min-w-0',
320
320
  isTabs
321
- ? 'items-end gap-0 overflow-y-hidden border-b-[#e0e0e0] before:content-[""] before:absolute before:bottom-[0px] before:left-[-200px] before:right-0 before:h-[1px] before:w-[100vw] before:bg-[#e0e0e0]'
321
+ ? 'items-end gap-0 overflow-y-hidden border-b-[#e0e0e0] before:content-[""] before:absolute before:bottom-[0px] before:left-[-200px] before:right-0 before:h-[1px] before:w-[100vw] before:bg-[#e0e0e0] h-full'
322
322
  : 'items-center gap-2.5',
323
323
  )}
324
324
  >
@@ -353,9 +353,9 @@ export function ScrollSlider({
353
353
  transCls,
354
354
  isTabs
355
355
  ? [
356
- 'px-[16px] py-[8px] relative z-10 border-b-none',
356
+ 'px-[16px] py-[8px] relative z-10 border-b-none h-full',
357
357
  isSelected
358
- ? 'border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[8px] rounded-b-none '
358
+ ? 'border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[10px] rounded-b-none '
359
359
  : 'text-[#030303] hover:bg-[#F0F6FF] rounded-t-[8px]',
360
360
  ]
361
361
  : [
@@ -394,9 +394,9 @@ export function ScrollSlider({
394
394
  transCls,
395
395
  isTabs
396
396
  ? [
397
- 'px-[16px] py-[8px] relative z-10',
397
+ 'px-[16px] py-[8px] relative z-10 h-full',
398
398
  isGroupActive
399
- ? 'border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[8px] rounded-b-none '
399
+ ? 'border-r border-t border-l border-[#e0e0e0] bg-[#f6f7fa] text-[#0265FF] rounded-t-[10px] rounded-b-none '
400
400
  : 'text-[#030303] hover:bg-[#F0F6FF] rounded-t-[8px]',
401
401
  ]
402
402
  : [
@@ -456,7 +456,7 @@ export function ScrollSlider({
456
456
  return (
457
457
  <div className={classNames("flex flex-1 min-w-0", tabCls)}>
458
458
  {isTabs ? (
459
- <div className="relative flex items-stretch flex-1 min-w-0">
459
+ <div className="relative flex items-stretch flex-1 min-w-0 h-full">
460
460
  {sliderBody}
461
461
  </div>
462
462
  ) : (