diff --git a/lerna-publish-summary.json b/lerna-publish-summary.json index e07899b26..34a88dcfa 100644 --- a/lerna-publish-summary.json +++ b/lerna-publish-summary.json @@ -1 +1 @@ -[{"packageName":"react-complex-tree-autodemo","version":"2.3.3"},{"packageName":"react-complex-tree-blueprintjs-renderers","version":"2.3.3"},{"packageName":"react-complex-tree","version":"2.3.3"}] \ No newline at end of file +[{"packageName":"react-complex-tree-autodemo","version":"2.3.5"},{"packageName":"react-complex-tree-blueprintjs-renderers","version":"2.3.5"},{"packageName":"react-complex-tree","version":"2.3.5"}] \ No newline at end of file diff --git a/next-release-notes.md b/next-release-notes.md index 173266b67..f77d5bd6a 100644 --- a/next-release-notes.md +++ b/next-release-notes.md @@ -1,13 +1,9 @@ -### Features + \ No newline at end of file diff --git a/packages/docs/docs/changelog.mdx b/packages/docs/docs/changelog.mdx index 41be91759..a14b6dfe4 100644 --- a/packages/docs/docs/changelog.mdx +++ b/packages/docs/docs/changelog.mdx @@ -4,6 +4,24 @@ sidebar_position: 6 # Changelog +## 2.3.5 - 02/03/2024 + +### Features + +- 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.4 - 18/01/2024 ### Other Changes diff --git a/yarn.lock b/yarn.lock index c8673d4f7..d7ba6b467 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11803,7 +11803,7 @@ __metadata: languageName: node linkType: hard -"demodata@^2.3.4, demodata@workspace:packages/demodata": +"demodata@^2.3.5, demodata@workspace:packages/demodata": version: 0.0.0-use.local resolution: "demodata@workspace:packages/demodata" dependencies: @@ -12029,7 +12029,7 @@ __metadata: "@mdx-js/react": ^1.6.21 "@svgr/webpack": ^6.5.1 clsx: ^1.1.1 - demodata: ^2.3.4 + demodata: ^2.3.5 docusaurus-plugin-react-docgen-typescript: ^1.0.2 docusaurus-plugin-typedoc: ^0.18.0 file-loader: ^6.2.0 @@ -12037,9 +12037,9 @@ __metadata: iframe-resizer-react: ^1.1.0 prism-react-renderer: ^1.2.1 react: ^18.2.0 - react-complex-tree: ^2.3.4 - react-complex-tree-autodemo: ^2.3.4 - react-complex-tree-blueprintjs-renderers: ^2.3.4 + react-complex-tree: ^2.3.5 + react-complex-tree-autodemo: ^2.3.5 + react-complex-tree-blueprintjs-renderers: ^2.3.5 react-docgen-typescript: ^2.2.2 react-dom: ^18.2.0 typedoc: ^0.23.18 @@ -21548,7 +21548,7 @@ __metadata: languageName: node linkType: hard -"react-complex-tree-autodemo@^2.3.4, react-complex-tree-autodemo@workspace:packages/autodemo": +"react-complex-tree-autodemo@^2.3.5, react-complex-tree-autodemo@workspace:packages/autodemo": version: 0.0.0-use.local resolution: "react-complex-tree-autodemo@workspace:packages/autodemo" dependencies: @@ -21562,10 +21562,10 @@ __metadata: "@types/react-dom": ^18.0.7 babel-jest: ^27.5.1 babel-loader: ^9.1.0 - demodata: ^2.3.4 + demodata: ^2.3.5 jest: ^26.6.3 react: ^18.2.0 - react-complex-tree: ^2.3.4 + react-complex-tree: ^2.3.5 react-dom: ^18.2.0 react-test-renderer: ^18.2.0 ts-node: ^10.7.0 @@ -21573,7 +21573,7 @@ __metadata: languageName: unknown linkType: soft -"react-complex-tree-blueprintjs-renderers@^2.3.4, react-complex-tree-blueprintjs-renderers@workspace:packages/blueprintjs-renderers": +"react-complex-tree-blueprintjs-renderers@^2.3.5, 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: @@ -21589,10 +21589,10 @@ __metadata: "@types/react-dom": ^18.0.7 babel-jest: ^27.5.1 babel-loader: ^9.1.0 - demodata: ^2.3.4 + demodata: ^2.3.5 jest: ^26.6.3 react: ^18.2.0 - react-complex-tree: ^2.3.4 + react-complex-tree: ^2.3.5 react-dom: ^18.2.0 react-test-renderer: ^18.2.0 ts-node: ^10.7.0 @@ -21640,7 +21640,7 @@ __metadata: languageName: unknown linkType: soft -"react-complex-tree@^2.3.4, react-complex-tree@workspace:packages/core": +"react-complex-tree@^2.3.5, react-complex-tree@workspace:packages/core": version: 0.0.0-use.local resolution: "react-complex-tree@workspace:packages/core" dependencies: @@ -21658,7 +21658,7 @@ __metadata: babel-jest: ^27.5.1 babel-loader: ^9.1.0 cpy-cli: ^3.1.1 - demodata: ^2.3.4 + demodata: ^2.3.5 jest: ^29.2.2 jest-dom: ^4.0.0 jest-environment-jsdom: ^29.2.2