@fluentui/react-tree
Advanced tools
Comparing version
@@ -17,2 +17,3 @@ "use strict"; | ||
const _renderFlatTree = require("./renderFlatTree"); | ||
const _reactsharedcontexts = require("@fluentui/react-shared-contexts"); | ||
const FlatTree = /*#__PURE__*/ _react.forwardRef((props, ref)=>{ | ||
@@ -22,4 +23,5 @@ const state = (0, _useFlatTree.useFlatTree_unstable)(props, ref); | ||
(0, _useFlatTreeStylesstyles.useFlatTreeStyles_unstable)(state); | ||
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useFlatTreeStyles_unstable')(state); | ||
return (0, _renderFlatTree.renderFlatTree_unstable)(state, contextValues); | ||
}); | ||
FlatTree.displayName = 'FlatTree'; |
@@ -17,2 +17,3 @@ "use strict"; | ||
const _renderTree = require("./renderTree"); | ||
const _reactsharedcontexts = require("@fluentui/react-shared-contexts"); | ||
const Tree = /*#__PURE__*/ _react.forwardRef((props, ref)=>{ | ||
@@ -22,4 +23,5 @@ const state = (0, _useTree.useTree_unstable)(props, ref); | ||
(0, _useTreeStylesstyles.useTreeStyles_unstable)(state); | ||
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTreeStyles_unstable')(state); | ||
return (0, _renderTree.renderTree_unstable)(state, contextValues); | ||
}); | ||
Tree.displayName = 'Tree'; |
@@ -17,5 +17,7 @@ "use strict"; | ||
const _useTreeItemContextValues = require("./useTreeItemContextValues"); | ||
const _reactsharedcontexts = require("@fluentui/react-shared-contexts"); | ||
const TreeItem = /*#__PURE__*/ _react.forwardRef((props, ref)=>{ | ||
const state = (0, _useTreeItem.useTreeItem_unstable)(props, ref); | ||
(0, _useTreeItemStylesstyles.useTreeItemStyles_unstable)(state); | ||
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTreeItemStyles_unstable')(state); | ||
const contextValues = (0, _useTreeItemContextValues.useTreeItemContextValues_unstable)(state); | ||
@@ -22,0 +24,0 @@ return (0, _renderTreeItem.renderTreeItem_unstable)(state, contextValues); |
@@ -16,7 +16,9 @@ "use strict"; | ||
const _useTreeItemLayoutStylesstyles = require("./useTreeItemLayoutStyles.styles"); | ||
const _reactsharedcontexts = require("@fluentui/react-shared-contexts"); | ||
const TreeItemLayout = /*#__PURE__*/ _react.forwardRef((props, ref)=>{ | ||
const state = (0, _useTreeItemLayout.useTreeItemLayout_unstable)(props, ref); | ||
(0, _useTreeItemLayoutStylesstyles.useTreeItemLayoutStyles_unstable)(state); | ||
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTreeItemLayoutStyles_unstable')(state); | ||
return (0, _renderTreeItemLayout.renderTreeItemLayout_unstable)(state); | ||
}); | ||
TreeItemLayout.displayName = 'TreeItemLayout'; |
@@ -17,5 +17,7 @@ "use strict"; | ||
const _useTreeItemPersonaLayoutContextValues = require("./useTreeItemPersonaLayoutContextValues"); | ||
const _reactsharedcontexts = require("@fluentui/react-shared-contexts"); | ||
const TreeItemPersonaLayout = /*#__PURE__*/ _react.forwardRef((props, ref)=>{ | ||
const state = (0, _useTreeItemPersonaLayout.useTreeItemPersonaLayout_unstable)(props, ref); | ||
(0, _useTreeItemPersonaLayoutStylesstyles.useTreeItemPersonaLayoutStyles_unstable)(state); | ||
(0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTreeItemPersonaLayoutStyles_unstable')(state); | ||
const contextValues = (0, _useTreeItemPersonaLayoutContextValues.useTreeItemPersonaLayoutContextValues_unstable)(state); | ||
@@ -22,0 +24,0 @@ return (0, _renderTreeItemPersonaLayout.renderTreeItemPersonaLayout_unstable)(state, contextValues); |
@@ -6,2 +6,3 @@ import * as React from 'react'; | ||
import { renderFlatTree_unstable } from './renderFlatTree'; | ||
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; | ||
/** | ||
@@ -16,4 +17,5 @@ * The `FlatTree` component is a variation of the `Tree` component that deals with a flattened data structure. | ||
useFlatTreeStyles_unstable(state); | ||
useCustomStyleHook_unstable('useFlatTreeStyles_unstable')(state); | ||
return renderFlatTree_unstable(state, contextValues); | ||
}); | ||
FlatTree.displayName = 'FlatTree'; |
@@ -6,2 +6,3 @@ import * as React from 'react'; | ||
import { renderTree_unstable } from './renderTree'; | ||
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; | ||
/** | ||
@@ -14,4 +15,5 @@ * The `Tree` component renders nested items in a hierarchical structure. | ||
useTreeStyles_unstable(state); | ||
useCustomStyleHook_unstable('useTreeStyles_unstable')(state); | ||
return renderTree_unstable(state, contextValues); | ||
}); | ||
Tree.displayName = 'Tree'; |
@@ -6,2 +6,3 @@ import * as React from 'react'; | ||
import { useTreeItemContextValues_unstable } from './useTreeItemContextValues'; | ||
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; | ||
/** | ||
@@ -21,2 +22,3 @@ * The `TreeItem` component represents a single item in a tree. | ||
useTreeItemStyles_unstable(state); | ||
useCustomStyleHook_unstable('useTreeItemStyles_unstable')(state); | ||
const contextValues = useTreeItemContextValues_unstable(state); | ||
@@ -23,0 +25,0 @@ return renderTreeItem_unstable(state, contextValues); |
@@ -5,2 +5,3 @@ import * as React from 'react'; | ||
import { useTreeItemLayoutStyles_unstable } from './useTreeItemLayoutStyles.styles'; | ||
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; | ||
/** | ||
@@ -13,4 +14,5 @@ * The `TreeItemLayout` component is used as a child of `TreeItem` to define the content and layout of a tree item. | ||
useTreeItemLayoutStyles_unstable(state); | ||
useCustomStyleHook_unstable('useTreeItemLayoutStyles_unstable')(state); | ||
return renderTreeItemLayout_unstable(state); | ||
}); | ||
TreeItemLayout.displayName = 'TreeItemLayout'; |
@@ -6,2 +6,3 @@ import * as React from 'react'; | ||
import { useTreeItemPersonaLayoutContextValues_unstable } from './useTreeItemPersonaLayoutContextValues'; | ||
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts'; | ||
/** | ||
@@ -14,2 +15,3 @@ * The `TreeItemPersonaLayout` component is used as a child of `TreeItem` to display a `TreeItem` with a media (typically an avatar) and a description. | ||
useTreeItemPersonaLayoutStyles_unstable(state); | ||
useCustomStyleHook_unstable('useTreeItemPersonaLayoutStyles_unstable')(state); | ||
const contextValues = useTreeItemPersonaLayoutContextValues_unstable(state); | ||
@@ -16,0 +18,0 @@ return renderTreeItemPersonaLayout_unstable(state, contextValues); |
{ | ||
"name": "@fluentui/react-tree", | ||
"version": "0.0.0-nightly-20250327-0406.1", | ||
"version": "0.0.0-nightly-20250328-0406.1", | ||
"description": "Tree component for Fluent UI React", | ||
@@ -15,6 +15,6 @@ "main": "lib-commonjs/index.js", | ||
"devDependencies": { | ||
"@fluentui/react-provider": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-provider": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/eslint-plugin": "*", | ||
"@fluentui/react-conformance": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-conformance": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/scripts-api-extractor": "*", | ||
@@ -24,17 +24,17 @@ "@fluentui/scripts-cypress": "*" | ||
"dependencies": { | ||
"@fluentui/keyboard-keys": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-aria": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-avatar": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-button": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-checkbox": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-context-selector": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/keyboard-keys": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-aria": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-avatar": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-button": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-checkbox": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-context-selector": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-icons": "^2.0.245", | ||
"@fluentui/react-motion-components-preview": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-motion": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-radio": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-tabster": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-theme": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20250327-0406.1", | ||
"@fluentui/react-motion-components-preview": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-motion": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-radio": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-tabster": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-theme": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-utilities": "0.0.0-nightly-20250328-0406.1", | ||
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20250328-0406.1", | ||
"@griffel/react": "^1.5.22", | ||
@@ -41,0 +41,0 @@ "@swc/helpers": "^0.5.1" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
980774
0.59%7449
0.27%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated