-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lukasbachbot
committed
Mar 10, 2024
1 parent
654ba66
commit 27d5913
Showing
4 changed files
with
44 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"packageName":"react-complex-tree-autodemo","version":"2.3.6"},{"packageName":"react-complex-tree-blueprintjs-renderers","version":"2.3.6"},{"packageName":"react-complex-tree","version":"2.3.6"}] | ||
[{"packageName":"react-complex-tree-autodemo","version":"2.3.7-alpha.0"},{"packageName":"react-complex-tree-blueprintjs-renderers","version":"2.3.7-alpha.0"},{"packageName":"react-complex-tree","version":"2.3.7-alpha.0"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
### Features | ||
<!-- | ||
### Breaking Changes | ||
- Make drop target depth in last-of-subtree locations dependent on x-coordinates of the mouse, allowing the user to | ||
drop in higher depths than the currently hovering item. This behavior is automatically used if `renderDepthOffset` | ||
on the renderers is set to a non-zero value. (#148) | ||
- This also applies when dropping at the top of an item where the item prior is of deeper depth, meaning that | ||
in this case the decision of dropping into the container above or directly above the hovering item will depend | ||
on the x-coordinate of the mouse. | ||
- Add `setDomFocus` argument to focus-item methods to provide an escape hatch to set the focus state of an item in RCT | ||
without updating the DOM focus. This defaults to true in all existing methods to maintain the current behavior if | ||
it is absent. (#336) | ||
- Allow customizing when a subtree is rendered or not with the new `shouldRenderChildren` prop. This can be used to | ||
create opening and closing animations on subtrees. See [Demo](https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--animated-expanding-and-collapsing) | ||
and [Demo Implementation](https://github.com/lukasbach/react-complex-tree/blob/main/packages/core/src/stories/BasicExamples.stories.tsx#L561) for details. (#333) | ||
### Features | ||
### Bug Fixes | ||
### Bug Fixes and Improvements | ||
- Fix a bug where the `parentId` property in the `renderItemsContainer` render method was incorrectly set to the tree id | ||
for the root container. | ||
### Other Changes | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters