diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bb183a24..af621c736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ toc: false spline: explain --- +## 🌈 0.13.0 `2025-04-18` +### 🚀 Features +- `Icon`: 图标库版本更新到 `0.4.4`([#590](https://github.com/Tencent/tdesign-mobile-react/pull/590)) +- `Toast`: 新增 `warning` 主题 @betavs ([#589](https://github.com/Tencent/tdesign-mobile-react/pull/589)) +- `Fab`: 新增 `draggable`,`yBounds `,`onDragEnd` 和 `onDragStart ` 等属性,支持组件拖拽 @novlan1 ([#594](https://github.com/Tencent/tdesign-mobile-react/pull/594)) +- `List`: 新增 `List` 组件 @feaswcy ([#463](https://github.com/Tencent/tdesign-mobile-react/pull/463)) +- `ActionSheet`: 新增 `ActionSheet` 组件 @TianlunXiong ([#471](https://github.com/Tencent/tdesign-mobile-react/pull/471)) +- `Progress`: 新增 `size` 属性,仅在环形进度条有效 @anlyyao ([#609](https://github.com/Tencent/tdesign-mobile-react/pull/609)) +- `CollapsePanel`: 优化面板折叠动画 @anlyyao ([#611](https://github.com/Tencent/tdesign-mobile-react/pull/611)) +### 🐞 Bug Fixes +- `Textarea`: 修复传入参数类型错误 @RSS1102 ([#591](https://github.com/Tencent/tdesign-mobile-react/pull/591));修复 `iOS` 真机上输入内容重复的问题,并补充 `onCompositionstart` 和 `onCompositionend` 属性 @anlyyao ([#601](https://github.com/Tencent/tdesign-mobile-react/pull/601)) +### 🚧 Others +- `site`: 站点接入主题生成器 @RylanBot ([#604](https://github.com/Tencent/tdesign-mobile-react/pull/604)) + ## 🌈 0.12.0 `2025-03-12` ### 🚨 Breaking Changes - `Dialog`: 新增 `closeBtn`、`width`、`overlayProps` 属性和 `middle`、`top` 插槽,存在 `DOM` 调整 @epoll-j ([#548](https://github.com/Tencent/tdesign-mobile-react/pull/548)) diff --git a/package.json b/package.json index a004eaa1a..76de5bba2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tdesign-mobile-react", - "version": "0.13.0-beta", + "version": "0.13.0", "description": "TDesign Component for Mobile React", "title": "tdesign-mobile-react", "main": "cjs/index.js", diff --git a/src/color-picker/ColorPicker.tsx b/src/color-picker/ColorPicker.tsx index 8812608a2..1c5b0eea6 100644 --- a/src/color-picker/ColorPicker.tsx +++ b/src/color-picker/ColorPicker.tsx @@ -1,5 +1,4 @@ import React, { FC, TouchEvent, useCallback, useEffect, useRef, useState } from 'react'; -import { ColorPickerChangeTrigger } from 'tdesign-mobile-react'; import classNames from 'classnames'; import { usePrefixClass } from '../hooks/useClass'; import { Color, Coordinate, getColorObject } from '../_common/js/color-picker'; @@ -12,7 +11,7 @@ import { import { PanelRectType } from './types'; import { genSwatchList, getCoordinate, getFormatList } from './helper/format'; import type { StyledProps } from '../common'; -import type { TdColorPickerProps } from './type'; +import type { TdColorPickerProps, ColorPickerChangeTrigger } from './type'; import { colorPickerDefaultProps } from './defaultProps'; import useDefaultProps from '../hooks/useDefaultProps'; import { ALPHA_MAX, HUE_MAX } from './constants';