{"version":3,"sources":["../src/components/Dropdown/Listbox/Listbox.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useListbox } from './useListbox';\nimport { useListboxContextValues } from './useListboxContextValues';\nimport { renderListbox } from './renderListbox';\nimport type { ListboxProps } from './Listbox.types';\n\n/**\n * Listbox component: a standalone selection control, or the popup in a Combobox.\n */\nexport const Listbox: ForwardRefComponent<ListboxProps> = React.forwardRef((props, ref) => {\n  const state = useListbox(props, ref);\n  const contextValues = useListboxContextValues(state);\n\n  return renderListbox(state, contextValues);\n});\n\nListbox.displayName = 'Listbox';\n"],"names":["Listbox","React","forwardRef","props","ref","state","useListbox","contextValues","useListboxContextValues","renderListbox","displayName"],"mappings":"AAAA;;;;;+BAaaA;;;eAAAA;;;;iEAXU;4BAGI;yCACa;+BACV;AAMvB,MAAMA,wBAA6CC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACjF,MAAMC,QAAQC,IAAAA,sBAAU,EAACH,OAAOC;IAChC,MAAMG,gBAAgBC,IAAAA,gDAAuB,EAACH;IAE9C,OAAOI,IAAAA,4BAAa,EAACJ,OAAOE;AAC9B;AAEAP,QAAQU,WAAW,GAAG"}