{"version":3,"sources":["../src/components/Toolbar/Toolbar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { ToolbarProps } from './Toolbar.types';\nimport { useToolbar, useToolbarContextValues } from './useToolbar';\nimport { renderToolbar } from './renderToolbar';\n\n/**\n * A toolbar component that provides a container for grouping a set of controls such as buttons and menu items.\n */\nexport const Toolbar: ForwardRefComponent<ToolbarProps> = React.forwardRef((props, ref) => {\n  const state = useToolbar(props, ref);\n  const contextValues = useToolbarContextValues(state);\n\n  return renderToolbar(state, contextValues);\n});\n\nToolbar.displayName = 'Toolbar';\n"],"names":["Toolbar","React","forwardRef","props","ref","state","useToolbar","contextValues","useToolbarContextValues","renderToolbar","displayName"],"mappings":"AAAA;;;;;+BAWaA;;;eAAAA;;;;iEATU;4BAG6B;+BACtB;AAKvB,MAAMA,wBAA6CC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACjF,MAAMC,QAAQC,IAAAA,sBAAU,EAACH,OAAOC;IAChC,MAAMG,gBAAgBC,IAAAA,mCAAuB,EAACH;IAE9C,OAAOI,IAAAA,4BAAa,EAACJ,OAAOE;AAC9B;AAEAP,QAAQU,WAAW,GAAG"}