Skip to content

Commit bb8b1f9

Browse files
committed
clean up package.json
1 parent 4b6aa77 commit bb8b1f9

File tree

4 files changed

+12
-83
lines changed

4 files changed

+12
-83
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ Based on [implementation](https://github.com/shadcn-ui/ui/issues/355#issuecommen
88
### [DEMO](https://mrlightful.com/ui/tree-view)
99

1010
## Features
11-
- [x] Expand, collapse, and select items
12-
- [x] Custom icons per item (default, open, selected)
13-
- [x] Default node & leaf icons per tree view
14-
- [x] Action buttons (e.g. a button to add a new item)
11+
- [x] Expand, collapse, and select items.
12+
- [x] Custom icons per item (default, open, selected).
13+
- [x] Default node & leaf icons per tree view.
14+
- [x] Action buttons (e.g. a button to add a new item).
1515
- [x] Click handlers per tree item and per the entire tree view.
16+
- [X] Drag & drop support.
1617

1718
## Installation
1819

@@ -92,11 +93,10 @@ const data: TreeDataItem[] = [
9293
```
9394

9495
## Roadmap
95-
- [ ] Add support for disabled items (https://github.com/romatallinn/shadcn-tree-view/issues/1)
96-
- [ ] Add support for programmatically controlling items (https://github.com/romatallinn/shadcn-tree-view/issues/2)
97-
- [ ] Add support for striped and non-striped variants of the tree (https://github.com/romatallinn/shadcn-tree-view/issues/3)
98-
- [ ] Add support for custom item renderers (https://github.com/romatallinn/shadcn-tree-view/issues/4)
99-
- [ ] Add support for drag and drop? (not sure)
96+
- [ ] Add support for disabled items (https://github.com/romatallinn/shadcn-tree-view/issues/1).
97+
- [ ] Add support for programmatically controlling items (https://github.com/romatallinn/shadcn-tree-view/issues/2).
98+
- [ ] Add support for striped and non-striped variants of the tree (https://github.com/romatallinn/shadcn-tree-view/issues/3).
99+
- [ ] Add support for custom item renderers (https://github.com/romatallinn/shadcn-tree-view/issues/4).
100100

101101
# License
102102
Licensed under the MIT license, see [`LICENSE`](LICENSE).

index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "shadncn-tree-view",
33
"version": "1.1.1",
4-
"description": "",
4+
"description": "A react tree view component for shadcn/ui.",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
@@ -14,17 +14,14 @@
1414
"shadcn",
1515
"ui"
1616
],
17-
"author": "",
17+
"author": "Roman Sirokov <sirokov@dizconto.com>",
1818
"license": "MIT",
1919
"dependencies": {
2020
"@radix-ui/react-accordion": "^1.2.4",
21-
"@radix-ui/react-scroll-area": "^1.2.4",
2221
"class-variance-authority": "^0.7.1",
2322
"clsx": "^2.1.1",
2423
"lucide-react": "^0.487.0",
25-
"tailwind-merge": "^3.2.0",
26-
"tailwindcss-animate": "^1.0.7",
27-
"use-resize-observer": "^9.1.0"
24+
"tailwind-merge": "^3.2.0"
2825
},
2926
"devDependencies": {
3027
"@types/react": "^19.1.0",

pnpm-lock.yaml

Lines changed: 0 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)