{"version":3,"file":"TableCaption.cjs","sources":["../../../../src/components/table/TableCaption.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport React, { forwardRef } from \"react\";\nimport type { TableCaptionProps } from \"./types.js\";\n\nconst TableCaption = forwardRef<HTMLTableCaptionElement, TableCaptionProps>(\n    ({ srOnly = true, ...rest }, ref) => {\n        return (\n            <caption\n                className={clsx(\"jkl-table-caption\", {\n                    [\"jkl-table-caption--sr-only\"]: srOnly,\n                })}\n                {...rest}\n                ref={ref}\n            />\n        );\n    },\n);\n\nTableCaption.displayName = \"TableCaption\";\n\nexport { TableCaption };\n"],"names":["TableCaption","forwardRef","srOnly","rest","ref","jsx","className","clsx","displayName"],"mappings":"6JAIMA,mBAAeC,WACjB,EAAGC,OAAAA,GAAS,KAASC,GAAQC,IAErBC,EAAAA,IAAC,UAAA,CACGC,UAAWC,EAAAA,KAAK,oBAAqB,CAChC,6BAA+BL,OAEhCC,EACJC,IAAAA,KAMhBJ,EAAaQ,YAAc"}