{"version":3,"file":"get-static-class-names.cjs","names":[],"sources":["../../../../../../src/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.ts"],"sourcesContent":["interface GetStaticClassNamesInput {\n  themeName: string[];\n  selector: string;\n  classNamesPrefix: string;\n  withStaticClass?: boolean;\n}\n\n/** Returns static component classes, for example, `.mantine-Input-wrapper` */\nexport function getStaticClassNames({\n  themeName,\n  classNamesPrefix,\n  selector,\n  withStaticClass,\n}: GetStaticClassNamesInput) {\n  if (withStaticClass === false) {\n    return [];\n  }\n\n  return themeName.map((n) => `${classNamesPrefix}-${n}-${selector}`);\n}\n"],"mappings":";;;AAQA,SAAgB,oBAAoB,EAClC,WACA,kBACA,UACA,mBAC2B;AAC3B,KAAI,oBAAoB,MACtB,QAAO,EAAE;AAGX,QAAO,UAAU,KAAK,MAAM,GAAG,iBAAiB,GAAG,EAAE,GAAG,WAAW"}