{"version":3,"file":"List.cjs","names":["listComponents","odysseyTokens","MuiListItem","styleOverrides","root","textAlign","MuiListItemIcon","minWidth","color","MuiListItemSecondaryAction","display","MuiListSubheader","paddingBlock","Spacing2","paddingInline","Spacing4","fontSize","TypographySizeSubordinate","fontWeight","TypographyWeightBodyBold","lineHeight","TypographyLineHeightUi","TypographyColorSubordinate","textTransform","exports"],"sources":["../../../../src/theme/components/List.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 listComponents = ({\n  odysseyTokens,\n}: GetComponentsProps): Pick<\n  NonNullable<ThemeOptions[\"components\"]>,\n  | \"MuiListItem\"\n  | \"MuiListItemIcon\"\n  | \"MuiListItemSecondaryAction\"\n  | \"MuiListSubheader\"\n> => ({\n  MuiListItem: {\n    styleOverrides: {\n      root: {\n        textAlign: \"start\",\n      },\n    },\n  },\n  MuiListItemIcon: {\n    styleOverrides: {\n      root: {\n        minWidth: \"unset\",\n        color: \"inherit\",\n      },\n    },\n  },\n  MuiListItemSecondaryAction: {\n    styleOverrides: {\n      root: {\n        display: \"flex\",\n      },\n    },\n  },\n  MuiListSubheader: {\n    styleOverrides: {\n      root: {\n        paddingBlock: odysseyTokens.Spacing2,\n        paddingInline: odysseyTokens.Spacing4,\n        fontSize: odysseyTokens.TypographySizeSubordinate,\n        fontWeight: odysseyTokens.TypographyWeightBodyBold,\n        lineHeight: odysseyTokens.TypographyLineHeightUi,\n        color: odysseyTokens.TypographyColorSubordinate,\n        textTransform: \"uppercase\",\n      },\n    },\n  },\n});\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMO,MAAMA,cAAc,GAAGA,CAAC;EAC7BC;AACkB,CAAC,MAMf;EACJC,WAAW,EAAE;IACXC,cAAc,EAAE;MACdC,IAAI,EAAE;QACJC,SAAS,EAAE;MACb;IACF;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,cAAc,EAAE;MACdC,IAAI,EAAE;QACJG,QAAQ,EAAE,OAAO;QACjBC,KAAK,EAAE;MACT;IACF;EACF,CAAC;EACDC,0BAA0B,EAAE;IAC1BN,cAAc,EAAE;MACdC,IAAI,EAAE;QACJM,OAAO,EAAE;MACX;IACF;EACF,CAAC;EACDC,gBAAgB,EAAE;IAChBR,cAAc,EAAE;MACdC,IAAI,EAAE;QACJQ,YAAY,EAAEX,aAAa,CAACY,QAAQ;QACpCC,aAAa,EAAEb,aAAa,CAACc,QAAQ;QACrCC,QAAQ,EAAEf,aAAa,CAACgB,yBAAyB;QACjDC,UAAU,EAAEjB,aAAa,CAACkB,wBAAwB;QAClDC,UAAU,EAAEnB,aAAa,CAACoB,sBAAsB;QAChDb,KAAK,EAAEP,aAAa,CAACqB,0BAA0B;QAC/CC,aAAa,EAAE;MACjB;IACF;EACF;AACF,CAAC,CAAC;AAACC,OAAA,CAAAxB,cAAA,GAAAA,cAAA","ignoreList":[]}