{"version":3,"sources":["../src/components/Field/Field.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { FieldProps } from './Field.types';\nimport { useField } from './useField';\nimport { renderField } from './renderField';\nimport { useFieldContextValues } from './useFieldContextValues';\n\n/**\n * A field component for form input grouping.\n */\nexport const Field: ForwardRefComponent<FieldProps> = React.forwardRef((props, ref) => {\n  const state = useField(props, ref);\n  const contextValues = useFieldContextValues(state);\n\n  return renderField(state, contextValues);\n});\n\nField.displayName = 'Field';\n"],"names":["Field","React","forwardRef","props","ref","state","useField","contextValues","useFieldContextValues","renderField","displayName"],"mappings":"AAAA;;;;;+BAYaA;;;eAAAA;;;;iEAVU;0BAGE;6BACG;uCACU;AAK/B,MAAMA,sBAAyCC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC7E,MAAMC,QAAQC,IAAAA,kBAAQ,EAACH,OAAOC;IAC9B,MAAMG,gBAAgBC,IAAAA,4CAAqB,EAACH;IAE5C,OAAOI,IAAAA,wBAAW,EAACJ,OAAOE;AAC5B;AAEAP,MAAMU,WAAW,GAAG"}