{"version":3,"sources":["../src/components/ColorPicker/ColorPicker.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { ColorPickerProps } from './ColorPicker.types';\nimport { useColorPicker } from './useColorPicker';\nimport { useColorPickerContextValues } from './useColorPickerContextValues';\nimport { renderColorPicker } from './renderColorPicker';\n\n/**\n * Coordinates headless color controls and reports their color changes.\n */\nexport const ColorPicker: ForwardRefComponent<ColorPickerProps> = React.forwardRef((props, ref) => {\n  const state = useColorPicker(props, ref);\n  const contextValues = useColorPickerContextValues(state);\n\n  return renderColorPicker(state, contextValues);\n});\n\nColorPicker.displayName = 'ColorPicker';\n"],"names":["ColorPicker","React","forwardRef","props","ref","state","useColorPicker","contextValues","useColorPickerContextValues","renderColorPicker","displayName"],"mappings":"AAAA;;;;;+BAYaA;;;eAAAA;;;;iEAVU;gCAGQ;6CACa;mCACV;AAK3B,MAAMA,4BAAqDC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACzF,MAAMC,QAAQC,IAAAA,8BAAc,EAACH,OAAOC;IACpC,MAAMG,gBAAgBC,IAAAA,wDAA2B,EAACH;IAElD,OAAOI,IAAAA,oCAAiB,EAACJ,OAAOE;AAClC;AAEAP,YAAYU,WAAW,GAAG"}