@baishuyun/ai-design 2.0.20 → 2.0.21

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,11 @@
1
1
  # @baishuyun/ai-design
2
2
 
3
+ ## 2.0.21
4
+
5
+ ### Patch Changes
6
+
7
+ - fix chevron icon
8
+
3
9
  ## 2.0.20
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/ai-design",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "AI 功能 UI 组件库 - 所有 AI 功能的 UI 表现唯一真相来源",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -352,7 +352,11 @@ export const ChevronIcon = ({ isOpen }: { isOpen?: boolean }) => (
352
352
  viewBox="0 0 16 16"
353
353
  fill="none"
354
354
  stroke="currentColor"
355
- className={cn(transCls, isOpen ? '' : 'rotate-180')}
355
+ // className={cn(transCls, isOpen ? '' : 'rotate-180')}
356
+ style={{
357
+ transform: isOpen ? undefined : 'rotate(180deg)',
358
+ transition: 'transform 0.2s ease-out',
359
+ }}
356
360
  >
357
361
  <path
358
362
  d="M3.28125 9.65625L7.58125 5.35625C7.63125 5.30625 7.69375 5.28125 7.75625 5.28125C7.81875 5.28125 7.88125 5.30625 7.93125 5.35625L12.2312 9.65625"