{"version":3,"file":"Typography.cjs","names":["typographyComponents","odysseyTokens","MuiTypography","defaultProps","variantMapping","h1","h2","h3","h4","h5","h6","subtitle1","body1","inherit","legend","overline","styleOverrides","paragraph","marginBlockEnd","Spacing4","fontSize","TypographySizeOverline","fontWeight","TypographyWeightBodyBold","lineHeight","TypographyLineHeightOverline","letterSpacing","TypographyLetterSpacingOverline","textTransform","exports"],"sources":["../../../../src/theme/components/Typography.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 typographyComponents = ({\n  odysseyTokens,\n}: GetComponentsProps): Pick<\n  NonNullable<ThemeOptions[\"components\"]>,\n  \"MuiTypography\"\n> => ({\n  MuiTypography: {\n    defaultProps: {\n      variantMapping: {\n        h1: \"h1\",\n        h2: \"h2\",\n        h3: \"h3\",\n        h4: \"h4\",\n        h5: \"h5\",\n        h6: \"h6\",\n        subtitle1: \"p\",\n        body1: \"p\",\n        inherit: \"p\",\n        legend: \"legend\",\n        overline: \"p\",\n      },\n    },\n    styleOverrides: {\n      paragraph: {\n        marginBlockEnd: odysseyTokens.Spacing4,\n\n        [`&:last-child`]: {\n          marginBlockEnd: 0,\n        },\n      },\n      overline: {\n        fontSize: odysseyTokens.TypographySizeOverline,\n        fontWeight: odysseyTokens.TypographyWeightBodyBold,\n        lineHeight: odysseyTokens.TypographyLineHeightOverline,\n        letterSpacing: odysseyTokens.TypographyLetterSpacingOverline,\n        textTransform: \"none\",\n\n        \":is(:lang(en-*), :lang(en))\": {\n          textTransform: \"uppercase\",\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,YAAY,EAAE;MACZC,cAAc,EAAE;QACdC,EAAE,EAAE,IAAI;QACRC,EAAE,EAAE,IAAI;QACRC,EAAE,EAAE,IAAI;QACRC,EAAE,EAAE,IAAI;QACRC,EAAE,EAAE,IAAI;QACRC,EAAE,EAAE,IAAI;QACRC,SAAS,EAAE,GAAG;QACdC,KAAK,EAAE,GAAG;QACVC,OAAO,EAAE,GAAG;QACZC,MAAM,EAAE,QAAQ;QAChBC,QAAQ,EAAE;MACZ;IACF,CAAC;IACDC,cAAc,EAAE;MACdC,SAAS,EAAE;QACTC,cAAc,EAAEjB,aAAa,CAACkB,QAAQ;QAEtC,CAAC,cAAc,GAAG;UAChBD,cAAc,EAAE;QAClB;MACF,CAAC;MACDH,QAAQ,EAAE;QACRK,QAAQ,EAAEnB,aAAa,CAACoB,sBAAsB;QAC9CC,UAAU,EAAErB,aAAa,CAACsB,wBAAwB;QAClDC,UAAU,EAAEvB,aAAa,CAACwB,4BAA4B;QACtDC,aAAa,EAAEzB,aAAa,CAAC0B,+BAA+B;QAC5DC,aAAa,EAAE,MAAM;QAErB,6BAA6B,EAAE;UAC7BA,aAAa,EAAE;QACjB;MACF;IACF;EACF;AACF,CAAC,CAAC;AAACC,OAAA,CAAA7B,oBAAA,GAAAA,oBAAA","ignoreList":[]}