Skip to content

Commit 91a8d02

Browse files
authored
Merge pull request #346 from lukasbach/feat/148-dnd-rework
feat: dnd rework (#148)
2 parents 6f5851d + ad85d67 commit 91a8d02

24 files changed

+872
-343
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,27 @@ and a more comprehensive documentation. Many common issues or questions are cove
1818
The Changelog is available at [https://rct.lukasbach.com/docs/changelog](https://rct.lukasbach.com/docs/changelog).
1919
Check the [v2 release notes](https://rct.lukasbach.com/docs/changelog/#200---12052022) when migrating from v1.x to v2.x.
2020

21+
## Sponsors
22+
23+
The development of react-complex-tree is supported by the community. Special thanks to:
24+
25+
<br />
26+
<div align="center">
27+
<a href="https://modyfi.com#gh-light-mode-only">
28+
<div>
29+
<img src="https://lukasbach.com/thanks/modyfi-brand-logo-black.svg#gh-light-mode-only" width="250" alt="Modyfi" />
30+
</div>
31+
</a>
32+
<a href="https://modyfi.com#gh-dark-mode-only">
33+
<div>
34+
<img src="https://lukasbach.com/thanks/modyfi-brand-logo.svg#gh-dark-mode-only" width="250" alt="Modyfi" />
35+
</div>
36+
</a>
37+
</div>
38+
<br />
39+
40+
Find out [how to support the development of react-complex-tree](https://github.com/sponsors/lukasbach).
41+
2142
## Installation
2243

2344
To start using React Complex Tree, install it to your project as a dependency via

next-release-notes.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
<!--
2-
### Breaking Changes
3-
41
### Features
2+
* Make drop target depth in last-of-subtree locations dependent on x-coordinates of the mouse, allowing the user to
3+
drop in higher depths than the currently hovering item. This behavior is automatically used if renderDepthOffset
4+
on the renderers is set to a non-zero value. (#148)
55

6-
### Bug Fixes and Improvements
7-
8-
### Other Changes
9-
-->
6+
❤️ This development of this release was supported and [sponsored](https://github.com/sponsors/lukasbach) by
7+
[Modyfi](https://modyfi.com). Thank you for contributing to the development of this library!

packages/core/src/controlledEnvironment/ControlledTreeEnvironment.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
TreeEnvironmentRef,
77
} from '../types';
88
import { InteractionManagerProvider } from './InteractionManagerProvider';
9-
import { DragAndDropProvider } from './DragAndDropProvider';
9+
import { DragAndDropProvider } from '../drag/DragAndDropProvider';
1010
import { EnvironmentActionsProvider } from '../environmentActions/EnvironmentActionsProvider';
1111
import { useControlledTreeEnvironmentProps } from './useControlledTreeEnvironmentProps';
1212

packages/core/src/controlledEnvironment/useOnDragOverTreeHandler.ts

-282
This file was deleted.

0 commit comments

Comments
 (0)