From ec3e0ec84f4c1871dbc45c052be233e9ecf5d234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Schr=C3=B6ter?= Date: Mon, 18 Nov 2024 18:04:08 +0100 Subject: [PATCH] fix(*): add missing tree view context --- packages/react/CHANGELOG.md | 4 +++ .../react/src/components/tree-view/index.ts | 1 + packages/solid/CHANGELOG.md | 4 +++ .../solid/src/components/tree-view/index.tsx | 1 + packages/vue/CHANGELOG.md | 4 +++ .../vue/src/components/tree-view/index.ts | 29 ++++++++++--------- 6 files changed, 29 insertions(+), 14 deletions(-) diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index e0ac4add5c..18a7765371 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -6,6 +6,10 @@ description: All notable changes will be documented in this file. ## [Unreleased] +### Fixed + +- **TreeView**: Exported missing `TreeViewContext`. + ## [4.4.3] - 2024-11-14 ### Fixed diff --git a/packages/react/src/components/tree-view/index.ts b/packages/react/src/components/tree-view/index.ts index 42e9eadef6..fd752cde49 100644 --- a/packages/react/src/components/tree-view/index.ts +++ b/packages/react/src/components/tree-view/index.ts @@ -39,6 +39,7 @@ export { type TreeViewBranchTriggerBaseProps, type TreeViewBranchTriggerProps, } from './tree-view-branch-trigger' +export { TreeViewContext, type TreeViewContextProps } from './tree-view-context' export { TreeViewItem, type TreeViewItemBaseProps, diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index b59dc3a4e4..826d56fee7 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -6,6 +6,10 @@ description: All notable changes will be documented in this file. ## [Unreleased] +### Fixed + +- **TreeView**: Exported missing `TreeViewContext`. + ## [4.5.0] - 2024-11-11 ### Added diff --git a/packages/solid/src/components/tree-view/index.tsx b/packages/solid/src/components/tree-view/index.tsx index 42e9eadef6..fd752cde49 100644 --- a/packages/solid/src/components/tree-view/index.tsx +++ b/packages/solid/src/components/tree-view/index.tsx @@ -39,6 +39,7 @@ export { type TreeViewBranchTriggerBaseProps, type TreeViewBranchTriggerProps, } from './tree-view-branch-trigger' +export { TreeViewContext, type TreeViewContextProps } from './tree-view-context' export { TreeViewItem, type TreeViewItemBaseProps, diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index a64a99da5a..8c989b2d6c 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -6,6 +6,10 @@ description: All notable changes will be documented in this file. ## [Unreleased] +### Fixed + +- **TreeView**: Exported missing `TreeViewContext`. + ## [4.4.1] - 2024-11-14 ### Fixed diff --git a/packages/vue/src/components/tree-view/index.ts b/packages/vue/src/components/tree-view/index.ts index c237b7a5a8..3ed4d186fd 100644 --- a/packages/vue/src/components/tree-view/index.ts +++ b/packages/vue/src/components/tree-view/index.ts @@ -4,11 +4,6 @@ export type { SelectionChangeDetails as TreeViewSelectionChangeDetails, } from '@zag-js/tree-view' export { createTreeCollection, type TreeNode } from '../collection' -export { - default as TreeViewBranch, - type TreeViewBranchBaseProps, - type TreeViewBranchProps, -} from './tree-view-branch.vue' export { default as TreeViewBranchContent, type TreeViewBranchContentBaseProps, @@ -40,10 +35,11 @@ export { type TreeViewBranchTriggerProps, } from './tree-view-branch-trigger.vue' export { - default as TreeViewItem, - type TreeViewItemBaseProps, - type TreeViewItemProps, -} from './tree-view-item.vue' + default as TreeViewBranch, + type TreeViewBranchBaseProps, + type TreeViewBranchProps, +} from './tree-view-branch.vue' +export { default as TreeViewContext, type TreeViewContextProps } from './tree-view-context.vue' export { default as TreeViewItemIndicator, type TreeViewItemIndicatorBaseProps, @@ -54,6 +50,11 @@ export { type TreeViewItemTextBaseProps, type TreeViewItemTextProps, } from './tree-view-item-text.vue' +export { + default as TreeViewItem, + type TreeViewItemBaseProps, + type TreeViewItemProps, +} from './tree-view-item.vue' export { default as TreeViewLabel, type TreeViewLabelBaseProps, @@ -68,16 +69,16 @@ export { type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider.vue' -export { - default as TreeViewRoot, - type TreeViewRootBaseProps, - type TreeViewRootProps, -} from './tree-view-root.vue' export { default as TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderProps, } from './tree-view-root-provider.vue' +export { + default as TreeViewRoot, + type TreeViewRootBaseProps, + type TreeViewRootProps, +} from './tree-view-root.vue' export { default as TreeViewTree, type TreeViewTreeBaseProps,