Skip to content

Commit

Permalink
chore: tidy up after release
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbachbot committed Mar 10, 2024
1 parent 654ba66 commit 27d5913
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 30 deletions.
2 changes: 1 addition & 1 deletion lerna-publish-summary.json
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"}]
22 changes: 6 additions & 16 deletions next-release-notes.md
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
-->
24 changes: 24 additions & 0 deletions packages/docs/docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ sidebar_position: 6

# Changelog

## 2.3.7-alpha.0 - 10/03/2024

### Features

- 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)

### Bug Fixes

- Fix a bug where the `parentId` property in the `renderItemsContainer` render method was incorrectly set to the tree id
for the root container.



## 2.3.6 - 07/03/2024

### Other Changes
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11803,7 +11803,7 @@ __metadata:
languageName: node
linkType: hard

"demodata@^2.3.6, demodata@workspace:packages/demodata":
"demodata@^2.3.7-alpha.0, demodata@workspace:packages/demodata":
version: 0.0.0-use.local
resolution: "demodata@workspace:packages/demodata"
dependencies:
Expand Down Expand Up @@ -12029,17 +12029,17 @@ __metadata:
"@mdx-js/react": ^1.6.21
"@svgr/webpack": ^6.5.1
clsx: ^1.1.1
demodata: ^2.3.6
demodata: ^2.3.7-alpha.0
docusaurus-plugin-react-docgen-typescript: ^1.0.2
docusaurus-plugin-typedoc: ^0.18.0
file-loader: ^6.2.0
iframe-resizer: ^4.3.2
iframe-resizer-react: ^1.1.0
prism-react-renderer: ^1.2.1
react: ^18.2.0
react-complex-tree: ^2.3.6
react-complex-tree-autodemo: ^2.3.6
react-complex-tree-blueprintjs-renderers: ^2.3.6
react-complex-tree: ^2.3.7-alpha.0
react-complex-tree-autodemo: ^2.3.7-alpha.0
react-complex-tree-blueprintjs-renderers: ^2.3.7-alpha.0
react-docgen-typescript: ^2.2.2
react-dom: ^18.2.0
typedoc: ^0.23.18
Expand Down Expand Up @@ -21548,7 +21548,7 @@ __metadata:
languageName: node
linkType: hard

"react-complex-tree-autodemo@^2.3.6, react-complex-tree-autodemo@workspace:packages/autodemo":
"react-complex-tree-autodemo@^2.3.7-alpha.0, react-complex-tree-autodemo@workspace:packages/autodemo":
version: 0.0.0-use.local
resolution: "react-complex-tree-autodemo@workspace:packages/autodemo"
dependencies:
Expand All @@ -21562,18 +21562,18 @@ __metadata:
"@types/react-dom": ^18.0.7
babel-jest: ^27.5.1
babel-loader: ^9.1.0
demodata: ^2.3.6
demodata: ^2.3.7-alpha.0
jest: ^26.6.3
react: ^18.2.0
react-complex-tree: ^2.3.6
react-complex-tree: ^2.3.7-alpha.0
react-dom: ^18.2.0
react-test-renderer: ^18.2.0
ts-node: ^10.7.0
typescript: 4.9.3
languageName: unknown
linkType: soft

"react-complex-tree-blueprintjs-renderers@^2.3.6, react-complex-tree-blueprintjs-renderers@workspace:packages/blueprintjs-renderers":
"react-complex-tree-blueprintjs-renderers@^2.3.7-alpha.0, react-complex-tree-blueprintjs-renderers@workspace:packages/blueprintjs-renderers":
version: 0.0.0-use.local
resolution: "react-complex-tree-blueprintjs-renderers@workspace:packages/blueprintjs-renderers"
dependencies:
Expand All @@ -21589,10 +21589,10 @@ __metadata:
"@types/react-dom": ^18.0.7
babel-jest: ^27.5.1
babel-loader: ^9.1.0
demodata: ^2.3.6
demodata: ^2.3.7-alpha.0
jest: ^26.6.3
react: ^18.2.0
react-complex-tree: ^2.3.6
react-complex-tree: ^2.3.7-alpha.0
react-dom: ^18.2.0
react-test-renderer: ^18.2.0
ts-node: ^10.7.0
Expand Down Expand Up @@ -21640,7 +21640,7 @@ __metadata:
languageName: unknown
linkType: soft

"react-complex-tree@^2.3.6, react-complex-tree@workspace:packages/core":
"react-complex-tree@^2.3.7-alpha.0, react-complex-tree@workspace:packages/core":
version: 0.0.0-use.local
resolution: "react-complex-tree@workspace:packages/core"
dependencies:
Expand All @@ -21658,7 +21658,7 @@ __metadata:
babel-jest: ^27.5.1
babel-loader: ^9.1.0
cpy-cli: ^3.1.1
demodata: ^2.3.6
demodata: ^2.3.7-alpha.0
jest: ^29.2.2
jest-dom: ^4.0.0
jest-environment-jsdom: ^29.2.2
Expand Down

0 comments on commit 27d5913

Please sign in to comment.