{"version":3,"file":"DescriptionList.cjs","sources":["../../../../src/components-beta/description-list/DescriptionList.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport React from \"react\";\nimport { DescriptionListItem } from \"./DescriptionListItem.js\";\nimport type { DescriptionListProps } from \"./types.js\";\n\n/**\n * @deprecated Bruk heller den stabile komponenten. All funksjonalitet fra Beta-komponenten er tilgjengelige der.\n */\nexport const DescriptionList = ({\n    className,\n    alignment = \"horizontal\",\n    showSeparators = false,\n    children,\n    ...rest\n}: DescriptionListProps): React.JSX.Element => {\n    return (\n        <dl\n            {...rest}\n            className={clsx(\"jkl-description-list--beta\", className)}\n            data-alignment={alignment}\n            data-separators={showSeparators}\n        >\n            {children}\n        </dl>\n    );\n};\n\nDescriptionList.Item = DescriptionListItem;\n"],"names":["DescriptionList","className","alignment","showSeparators","children","rest","jsx","clsx","Item","DescriptionListItem"],"mappings":"2NAQaA,EAAkB,EAC3BC,UAAAA,EACAC,UAAAA,EAAY,aACZC,eAAAA,GAAiB,EACjBC,SAAAA,KACGC,KAGCC,EAAAA,IAAC,KAAA,IACOD,EACJJ,UAAWM,EAAAA,KAAK,6BAA8BN,GAC9C,iBAAgBC,EAChB,kBAAiBC,EAEhBC,SAAAA,IAKbJ,EAAgBQ,KAAOC,EAAAA"}