From 52910ba28861dcbd176c40814d22086282e3c824 Mon Sep 17 00:00:00 2001 From: "Y." Date: Fri, 16 Aug 2024 20:42:08 +0800 Subject: [PATCH] chore: publish v0.4.0 (#466) * chore: publish v0.4.0 * chore: changelog's changes * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] --- CHANGELOG.md | 61 +++++++++++++++++++++++++++++++++++----------------- package.json | 2 +- 2 files changed, 42 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aaf9d5b..939adff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,31 @@ ---- -title: 更新日志 -docClass: timeline -toc: false -spline: explain ---- - +--- +title: 更新日志 +docClass: timeline +toc: false +spline: explain +--- + +## 🌈 0.4.0 `2024-08-16` +### ❗ Breaking Changes +- `BackTop`: 组件重构,新增 `container` ,`visibilityHeight` 属性,新增 `onToTop` 事件 @ssmyaojiayouya ([#430](https://github.com/Tencent/tdesign-mobile-react/pull/430)) +- `Progress`: 组件重构,新增 `theme`, `className`, `style` 属性 @anlyyao ([#387](https://github.com/Tencent/tdesign-mobile-react/pull/387)) +- `Divider`: 组件重构,废弃`lineColor` 属性 @liweijie0812 ([#403](https://github.com/Tencent/tdesign-mobile-react/pull/403)) +- `Cell`: 组件重构,`Dom` 有调整 @dexterBo ([#432](https://github.com/Tencent/tdesign-mobile-react/pull/432)) +- `Loading`: 组件重构,移除 `progress` 属性 ,新增 `attach`、`content `和 `fullscreen` 属性,支持 `loading` 或 `LoadingPlugin` 插件函数 @anlyyao ([#458](https://github.com/Tencent/tdesign-mobile-react/pull/458)) +- `Skeleton`: 组件重构,支持 `delay` 属性 @anlyyao ([#455](https://github.com/Tencent/tdesign-mobile-react/pull/455)) +### 🚀 Features +- `Result`: 新增 `Result` 组件 @slatejack ([#431](https://github.com/Tencent/tdesign-mobile-react/pull/431)) +- `Overlay`: 新增 `Overlay` 组件 @anlyyao ([#451](https://github.com/Tencent/tdesign-mobile-react/pull/451)) +- `Tabs`: 支持 `className` 和 `style` 组件参数 @Charles-1999 ([#357](https://github.com/Tencent/tdesign-mobile-react/pull/357)) +- `CellGroup`: 新增 `theme` 属性 @dexterBo ([#432](https://github.com/Tencent/tdesign-mobile-react/pull/432)) +- `Tag`: 新增 `children` 属性 @taninsist ([#445](https://github.com/Tencent/tdesign-mobile-react/pull/445)) +- `CheckTag`: 新增 `variant` 属性 @taninsist ([#445](https://github.com/Tencent/tdesign-mobile-react/pull/445)) +- `Icon`: 更新 `Icon` 版本至 `0.3.4` 并补齐示例 @anlyyao ([#456](https://github.com/Tencent/tdesign-mobile-react/pull/456)) +### 🐞 Bug Fixes +- `Toast`: 修复 `preventScrollThrough` 属性类型声明与文档描述不一致 @betavs ([#372](https://github.com/Tencent/tdesign-mobile-react/pull/372)) +### 🚧 Others +- `Sticky`: 更新组件示例与 `API` 文档 @byq1213 ([#435](https://github.com/Tencent/tdesign-mobile-react/pull/435)) + ## 🌈 0.3.1 `2022-11-28` ### 🚀 Features - `Skeleton`: `rowCols` 支持传入 `borderRadius` @yuanmeda ([#318](https://github.com/Tencent/tdesign-mobile-react/pull/318)) @@ -32,27 +53,27 @@ spline: explain - `Input`: 更新示例代码 @palmcivet ([#300](https://github.com/Tencent/tdesign-mobile-react/pull/300)) - `Divider`: 更新示例代码 @yuanmeda ([#305](https://github.com/Tencent/tdesign-mobile-react/pull/305)) - `Sticky`: 更新示例代码 @yuanmeda ([#306](https://github.com/Tencent/tdesign-mobile-react/pull/306)) -- `Rate`: 更新示例代码 @yuanmeda ([#307](https://github.com/Tencent/tdesign-mobile-react/pull/307)) - +- `Rate`: 更新示例代码 @yuanmeda ([#307](https://github.com/Tencent/tdesign-mobile-react/pull/307)) + ## 🌈 0.3.0 `2022-10-25` ### 🚀 Features - `NoticeBar`: 新增公告栏组件 @ZWkang ([#292](https://github.com/Tencent/tdesign-mobile-react/pull/292)) - `Grid`: 透传所有非定义的 props 至根元素 @ZWkang ([#293](https://github.com/Tencent/tdesign-mobile-react/pull/293)) ### 🚧 Others -- `Avatar`: 更新示例代码 @anlyyao ([#296](https://github.com/Tencent/tdesign-mobile-react/pull/296)) - +- `Avatar`: 更新示例代码 @anlyyao ([#296](https://github.com/Tencent/tdesign-mobile-react/pull/296)) + ## 🌈 0.2.0 `2022-07-25` ### 🚀 Features - `Drawer`: 新增抽屉组件 @APlanckFish ([#271](https://github.com/Tencent/tdesign-mobile-react/pull/271)) ### 🚧 Others -- 官网更新组件分类 @LeeJim ([#279](https://github.com/Tencent/tdesign-mobile-react/pull/279)) - +- 官网更新组件分类 @LeeJim ([#279](https://github.com/Tencent/tdesign-mobile-react/pull/279)) + ## 🌈 0.1.2 `2022-07-18` ### 🐞 Bug Fixes - `Sticky`: 修复 fixed 状态下丢失宽度的问题 @LeeJim ([#277](https://github.com/Tencent/tdesign-mobile-react/pull/277)) ### 🚧 Others -- chore: 优化更新日志文档样式 @HQ-Lin ([#276](https://github.com/Tencent/tdesign-mobile-react/pull/276)) - +- chore: 优化更新日志文档样式 @HQ-Lin ([#276](https://github.com/Tencent/tdesign-mobile-react/pull/276)) + ## 🌈 0.1.1 `2022-07-12` ### 🚀 Features - `Tag`: 视觉升级以及新增支持左图标 @anlyyao ([#270](https://github.com/Tencent/tdesign-mobile-react/pull/270)) @@ -60,8 +81,8 @@ spline: explain - `Fab` 新增 Fab 组件 @anlyyao ([#266](https://github.com/Tencent/tdesign-mobile-react/pull/266)) ### 🐞 Bug Fixes - `Search`: 修复无法使用的问题 @Perisiguiendo ([#269](https://github.com/Tencent/tdesign-mobile-react/pull/269)) -- `Button`: 补充支持 style 属性 @anlyyao ([#266](https://github.com/Tencent/tdesign-mobile-react/pull/266)) - -## 🌈 0.1.0 `2022-06-29` - -首发版本 +- `Button`: 补充支持 style 属性 @anlyyao ([#266](https://github.com/Tencent/tdesign-mobile-react/pull/266)) + +## 🌈 0.1.0 `2022-06-29` + +首发版本 diff --git a/package.json b/package.json index 248f3c82..b66fa02b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tdesign-mobile-react", - "version": "0.3.1", + "version": "0.4.0", "description": "TDesign Component for Mobile React", "title": "tdesign-mobile-react", "main": "cjs/index.js",