{"version":3,"sources":["../src/components/Dialog/DialogTitle/DialogTitle.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useDialogTitle } from './useDialogTitle';\nimport { renderDialogTitle } from './renderDialogTitle';\nimport type { DialogTitleProps } from './DialogTitle.types';\n\n/**\n * `DialogTitle` renders a heading element whose `id` is automatically wired to\n * `aria-labelledby` on `DialogSurface`, providing an accessible name for the dialog.\n *\n * Defaults to `<h2>`. Override the element via the `root` slot:\n * `<DialogTitle root=\"h1\" />`\n */\nexport const DialogTitle: ForwardRefComponent<DialogTitleProps> = React.forwardRef((props, ref) => {\n  const state = useDialogTitle(props, ref);\n  return renderDialogTitle(state);\n});\n\nDialogTitle.displayName = 'DialogTitle';\n"],"names":["DialogTitle","React","forwardRef","props","ref","state","useDialogTitle","renderDialogTitle","displayName"],"mappings":"AAAA;;;;;+BAeaA;;;eAAAA;;;;iEAbU;gCAEQ;mCACG;AAU3B,MAAMA,4BAAqDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACzF,MAAMC,QAAQC,IAAAA,8BAAc,EAACH,OAAOC;IACpC,OAAOG,IAAAA,oCAAiB,EAACF;AAC3B;AAEAL,YAAYQ,WAAW,GAAG"}