{"version":3,"sources":["../src/components/Tag/Tag.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport type { TagProps } from './Tag.types';\nimport { useTag } from './useTag';\nimport { useTagContextValues } from './useTagContextValues';\nimport { renderTag } from './renderTag';\n\n/**\n * A visual representation of an attribute that can be optionally dismissed.\n */\nexport const Tag: ForwardRefComponent<TagProps> = React.forwardRef((props, ref) => {\n  const state = useTag(props, ref);\n  const contextValues = useTagContextValues(state);\n  return renderTag(state, contextValues);\n});\n\nTag.displayName = 'Tag';\n"],"names":["Tag","React","forwardRef","props","ref","state","useTag","contextValues","useTagContextValues","renderTag","displayName"],"mappings":"AAAA;;;;;+BAaaA;;;eAAAA;;;;iEAXU;wBAIA;qCACa;2BACV;AAKnB,MAAMA,oBAAqCC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACzE,MAAMC,QAAQC,IAAAA,cAAM,EAACH,OAAOC;IAC5B,MAAMG,gBAAgBC,IAAAA,wCAAmB,EAACH;IAC1C,OAAOI,IAAAA,oBAAS,EAACJ,OAAOE;AAC1B;AAEAP,IAAIU,WAAW,GAAG"}