{"version":3,"file":"Popover.cjs","names":["popoverComponents","odysseyTokens","shadowDomElement","shadowRootElement","MuiPopover","defaultProps","container","styleOverrides","paper","marginBlockStart","Spacing1","borderWidth","BorderWidthMain","borderStyle","BorderStyleMain","borderColor","HueNeutral200","exports"],"sources":["../../../../src/theme/components/Popover.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 popoverComponents = ({\n  odysseyTokens,\n  shadowDomElement,\n  shadowRootElement,\n}: GetComponentsProps): Pick<\n  NonNullable<ThemeOptions[\"components\"]>,\n  \"MuiPopover\"\n> => ({\n  MuiPopover: {\n    defaultProps: {\n      container: shadowRootElement || shadowDomElement,\n    },\n    styleOverrides: {\n      paper: {\n        marginBlockStart: odysseyTokens.Spacing1,\n        borderWidth: odysseyTokens.BorderWidthMain,\n        borderStyle: odysseyTokens.BorderStyleMain,\n        borderColor: odysseyTokens.HueNeutral200,\n      },\n    },\n  },\n});\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,MAAMA,iBAAiB,GAAGA,CAAC;EAChCC,aAAa;EACbC,gBAAgB;EAChBC;AACkB,CAAC,MAGf;EACJC,UAAU,EAAE;IACVC,YAAY,EAAE;MACZC,SAAS,EAAEH,iBAAiB,IAAID;IAClC,CAAC;IACDK,cAAc,EAAE;MACdC,KAAK,EAAE;QACLC,gBAAgB,EAAER,aAAa,CAACS,QAAQ;QACxCC,WAAW,EAAEV,aAAa,CAACW,eAAe;QAC1CC,WAAW,EAAEZ,aAAa,CAACa,eAAe;QAC1CC,WAAW,EAAEd,aAAa,CAACe;MAC7B;IACF;EACF;AACF,CAAC,CAAC;AAACC,OAAA,CAAAjB,iBAAA,GAAAA,iBAAA","ignoreList":[]}