Skip to content

Commit 0da2222

Browse files
committed
feat: support react19 and refactor repo
1 parent 58b942b commit 0da2222

7 files changed

Lines changed: 35 additions & 9 deletions

File tree

.changeset/pre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mode": "pre",
2+
"mode": "exit",
33
"tag": "beta",
44
"initialVersions": {
55
"dev": "0.1.0",

.changeset/shiny-weeks-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"he-tree-react": patch
3+
---
4+
5+
feat: support react19 and refactor repo

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# he-tree-react-monorepo
2+
3+
[Core Changelog | 核心更新日志](./packages/core/CHANGELOG.md)

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# he-tree-react ![GitHub License](https://img.shields.io/github/license/phphe/he-tree-react) ![NPM Version](https://img.shields.io/npm/v/he-tree-react) ![NPM Type Definitions](https://img.shields.io/npm/types/he-tree-react) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/he-tree-react)
44

5-
React draggable sortable tree component. [Document](https://he-tree-react.phphe.com), [demo](https://he-tree-react.phphe.com/v1/examples).
5+
React draggable sortable tree component. Support React 18, 19. [Document](https://he-tree-react.phphe.com) | [Demo](https://he-tree-react.phphe.com/v1/examples) | [Changelog](./CHANGELOG.md)
66

7-
React 可拖拽树组件. [文档](https://he-tree-react.phphe.com/zh), [演示](https://he-tree-react.phphe.com/zh/v1/examples).
7+
React 可拖拽树组件. 支持React 18, 19. [文档](https://he-tree-react.phphe.com/zh) | [演示](https://he-tree-react.phphe.com/zh/v1/examples) | [更新记录](./CHANGELOG.md)
88

99
## Features
1010

@@ -18,7 +18,4 @@ React 可拖拽树组件. [文档](https://he-tree-react.phphe.com/zh), [演示]
1818
- Big data, virtual list.
1919
- Examples for update data.
2020
- rtl, display from right to left.
21-
22-
## Changelog
23-
24-
https://github.com/phphe/he-tree-react/releases
21+
- MIT license. MIT开源许可。

apps/docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ features:
3535
- Big data, virtual list.
3636
- Examples for update data.
3737
- rtl, display from right to left.
38+
- MIT license.

apps/docs/zh/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ features:
3535
- 大数据, 虚拟列表.
3636
- 更新数据的多个示例.
3737
- rtl, 从右往左显示.
38+
- MIT开源许可.

packages/core/README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1-
- 这个子项目存储核心组件,并负责测试和打包。它基于tsup和vitest。
2-
- This sub-repo stores the core components and is responsible for testing and packaging. It is based on tsup and vitest.
1+
<p align="center"><img src="https://github.com/phphe/he-tree-react/blob/static/cover.jpg?raw=true" width="350" alt="react draggable tree, he-tree-react" /></p>
2+
3+
# he-tree-react ![GitHub License](https://img.shields.io/github/license/phphe/he-tree-react) ![NPM Version](https://img.shields.io/npm/v/he-tree-react) ![NPM Type Definitions](https://img.shields.io/npm/types/he-tree-react) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/he-tree-react)
4+
5+
React draggable sortable tree component. Support React 18, 19. [Document](https://he-tree-react.phphe.com) | [Demo](https://he-tree-react.phphe.com/v1/examples) | [Changelog](./CHANGELOG.md)
6+
7+
React 可拖拽树组件. 支持React 18, 19. [文档](https://he-tree-react.phphe.com/zh) | [演示](https://he-tree-react.phphe.com/zh/v1/examples) | [更新记录](./CHANGELOG.md)
8+
9+
## Features
10+
11+
- Drag with a customizable placeholder.
12+
- The height of the node is not fixed.
13+
- Based on HTML Drag and Drop API.
14+
- Both flat data and tree-shaped data supported.
15+
- Drag from external.
16+
- Open or expand. Open node when drag onto it.
17+
- Checked, semi-checked.
18+
- Big data, virtual list.
19+
- Examples for update data.
20+
- rtl, display from right to left.
21+
- MIT license. MIT开源许可。

0 commit comments

Comments
 (0)