{"version":3,"sources":["../../../src/components/Tree/Tree.tsx"],"sourcesContent":["'use client';\n\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { TreeProps } from './Tree.types';\nimport { useTree, useTreeContextValues } from './useTree';\nimport { renderTree } from './renderTree';\nimport { composeComponent } from '../../utils/composeComponent';\n\n/**\n * Renders nested `TreeItem` children in a hierarchical structure.\n *\n * The root tree owns the `tree` role, the open and checked items, and keyboard navigation. A `Tree`\n * rendered inside a branch `TreeItem` becomes its `group` subtree. The root tree must be labelled with\n * `aria-label` or `aria-labelledby`.\n */\nexport const Tree: ForwardRefComponent<TreeProps> = /*#__PURE__*/ composeComponent(\n  'Tree',\n  useTree,\n  useTreeContextValues,\n  renderTree,\n);\n"],"names":["Tree","composeComponent","useTree","useTreeContextValues","renderTree"],"mappings":"AAAA;;;;;+BAeaA;;;eAAAA;;;yBAXiC;4BACnB;kCACM;AAS1B,MAAMA,OAAuC,WAAW,GAAGC,IAAAA,kCAAgB,EAChF,QACAC,gBAAO,EACPC,6BAAoB,EACpBC,sBAAU"}