Skip to content

Commit c7257b1

Browse files
committed
website: Update changelog.
1 parent 26d99bd commit c7257b1

File tree

7 files changed

+19213
-68
lines changed

7 files changed

+19213
-68
lines changed

website/src/pages/components/v3/README.md

Lines changed: 0 additions & 62 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
更新日志
2+
===
3+
4+
## `v3.0.3`
5+
6+
- Presets Updates
7+
- 组件性能优化
8+
- 统一 `ios` 以及 `android` 组件差异
9+
- 🚧 减少第三方依赖
10+
- 即将删除组件 ~~`SelectCascader`~~<!--rehype:style=color: #e00000;-->
11+
- 即将删除依赖 ~~`@react-native-picker/picker`~~<!--rehype:style=color: #e00000;-->
12+
- New Components
13+
- 🌟 `Calendar` 日历
14+
- 🌟 `ScreenRoot` 自定义导航栏
15+
- 🌟 `DragDrawer` 拖曳抽屉
16+
- 🌟 `TreeSelect` 级联选择器
17+
- 🌟 `RNText` 字体文本
18+
- Components Change
19+
- `Radio` 新增选中颜色
20+
- 🌟 add `borderColor`
21+
- 🌟 add `checkedColor`
22+
- `Card` 新增自定选中状态
23+
- 🌟 add `selectedStyle`
24+
- `Rating` 新增只读功能 & 自定义每项的提示信息
25+
- 🌟 add `tooltips`
26+
- 🌟 add `tooltipsText`
27+
- 🌟 add `disabled`
28+
- `Timeline` 新增自定义图标
29+
- 🚧 ~~`icon?:IconsProps`~~<!--rehype:style=color: #e00000;--> => `icon?: IconsName | React.ReactElement | React.ReactNode`
30+
- 🌟 add `size`
31+
- 🌟 add `color`
32+
- `Pagination` 新增简洁版本
33+
- 🌟 add `simple`
34+
- 🐞 `NoticeBar` 解决 NoticeBar首次渲染报错问题
35+
- 🐞 `Modal` 解决 Modal弹出动画底层延迟收起问题
36+
- 🐞 `SwipeAction` 解决 SwipeAction key报错
37+
- Dependencies Update
38+
- 💄 ~~`react-native-gesture-handler@1.10.3`~~ -> `react-native-gesture-handler@2.0.0`
39+
40+
## `v3.0.2`
41+
42+
- New Components
43+
- 🌟 `RnText` 组件
44+
- Components Change
45+
- `Picker` ~~`<Picker key="label" />`~~<!--rehype:style=color: #e00000;--> => `<Picker rowKey="label" />`
46+
- `DragDrawer` 自定义抽屉样式
47+
- add `style` props.
48+
- add `icon` props.
49+
- `DragDrawer`
50+
- Dependencies Update
51+
- update dependency color to v4.0.2
52+
- update dependency react-native-gesture-handler to v2.0.0

website/src/pages/components/v3/index.ts renamed to website/src/pages/docs/changelog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Markdown, { importAll } from '../../../component/Markdown';
22

33
export default class Page extends Markdown {
4-
path = './README.md';
4+
path = '/website/src/pages/docs/changelog/README.md';
55
getMarkdown = async () => {
66
const md = await import('./README.md');
77
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源

website/src/routes/history.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

website/src/routes/menus.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const docsMenus: MenuData[] = [
7777
{ path: '/docs/getting-started', name: '快速上手' },
7878
{ path: '/docs/development/components', name: '参与组件开发' },
7979
{ path: '/docs/development/document', name: '参与文档网站编辑开发' },
80+
{ path: '/docs/changelog', name: '更新日志' },
8081
{ divider: true, name: '环境安装' },
8182
{ path: '/docs/environment-setup/ios', name: 'iOS 环境安装' },
8283
{ path: '/docs/environment-setup/android', name: 'Android(Mac) 环境安装' },

website/src/routes/router.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ export const routeData = [
290290
component: lazy(() => import('../pages/components/textarea')),
291291
},
292292
{
293-
path: '/components/v3',
294-
component: lazy(() => import('../pages/components/v3')),
293+
path: '/docs/changelog',
294+
component: lazy(() => import('../pages/docs/changelog')),
295295
},
296296
],
297297
},

0 commit comments

Comments
 (0)