{"version":3,"file":"ScreenReaderOnly.cjs","sources":["../../../../src/components/screen-reader-only/ScreenReaderOnly.tsx"],"sourcesContent":["import React, { type FC } from \"react\";\nimport type { ScreenReaderOnlyProps } from \"./types.js\";\n\nexport const ScreenReaderOnly: FC<ScreenReaderOnlyProps> = ({\n    children,\n    showOnFocus,\n    ...rest\n}) => (\n    <span\n        {...rest}\n        className={`jkl-sr-only${showOnFocus ? \" jkl-sr-only--focusable\" : \"\"}`}\n    >\n        {children}\n    </span>\n);\n"],"names":["children","showOnFocus","rest","jsx","className"],"mappings":"+JAG2D,EACvDA,SAAAA,EACAC,YAAAA,KACGC,KAEHC,EAAAA,IAAC,OAAA,IACOD,EACJE,UAAW,eAAcH,EAAc,0BAA4B,IAElED,SAAAA"}