{"version":3,"file":"IconButton.cjs","names":["iconButtonComponents","odysseyTokens","MuiIconButton","styleOverrides","root","padding","Spacing1","borderRadius","BorderRadiusMain","backgroundColor","HueNeutral100","boxShadow","HueNeutralWhite","PalettePrimaryMain","outline","outlineOffset","exports"],"sources":["../../../../src/theme/components/IconButton.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\n\nimport type { GetComponentsProps } from \"./types.js\";\n\nexport const iconButtonComponents = ({\n  odysseyTokens,\n}: GetComponentsProps): Pick<\n  NonNullable<ThemeOptions[\"components\"]>,\n  \"MuiIconButton\"\n> => ({\n  MuiIconButton: {\n    styleOverrides: {\n      root: {\n        padding: odysseyTokens.Spacing1,\n        borderRadius: odysseyTokens.BorderRadiusMain,\n        \"&:hover\": {\n          backgroundColor: odysseyTokens.HueNeutral100,\n        },\n        \"&:focus-visible\": {\n          boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,\n          outline: \"2px solid transparent\",\n          outlineOffset: \"1px\",\n        },\n      },\n    },\n  },\n});\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,MAAMA,oBAAoB,GAAGA,CAAC;EACnCC;AACkB,CAAC,MAGf;EACJC,aAAa,EAAE;IACbC,cAAc,EAAE;MACdC,IAAI,EAAE;QACJC,OAAO,EAAEJ,aAAa,CAACK,QAAQ;QAC/BC,YAAY,EAAEN,aAAa,CAACO,gBAAgB;QAC5C,SAAS,EAAE;UACTC,eAAe,EAAER,aAAa,CAACS;QACjC,CAAC;QACD,iBAAiB,EAAE;UACjBC,SAAS,EAAE,aAAaV,aAAa,CAACW,eAAe,eAAeX,aAAa,CAACY,kBAAkB,EAAE;UACtGC,OAAO,EAAE,uBAAuB;UAChCC,aAAa,EAAE;QACjB;MACF;IACF;EACF;AACF,CAAC,CAAC;AAACC,OAAA,CAAAhB,oBAAA,GAAAA,oBAAA","ignoreList":[]}