{"version":3,"file":"DescriptionListItem.cjs","sources":["../../../../src/components-beta/description-list/DescriptionListItem.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport React, { type FC } from \"react\";\nimport type { DescriptionListItemProps } from \"./types.js\";\n\n/**\n * @deprecated Bruk heller den stabile komponenten for DescriptionList sammen med Terms og Details. All funksjonalitet fra Beta-komponenten er tilgjengelige der.\n */\nexport const DescriptionListItem: FC<DescriptionListItemProps> = ({\n    title,\n    value,\n    supportText,\n    className,\n    ...rest\n}) => {\n    return (\n        <div\n            {...rest}\n            className={clsx(\"jkl-description-list-item--beta\", className)}\n        >\n            <dt className=\"title\">{title}</dt>\n            <dd className=\"value\">{value}</dd>\n            {supportText && <dd className=\"support-text\">{supportText}</dd>}\n        </div>\n    );\n};\n"],"names":["title","value","supportText","className","rest","jsxs","clsx","children","jsx"],"mappings":"0MAOiE,EAC7DA,MAAAA,EACAC,MAAAA,EACAC,YAAAA,EACAC,UAAAA,KACGC,KAGCC,EAAAA,KAAC,MAAA,IACOD,EACJD,UAAWG,EAAAA,KAAK,kCAAmCH,GAEnDI,SAAA,CAAAC,EAAAA,IAAC,KAAA,CAAGL,UAAU,QAASI,SAAAP,IACvBQ,EAAAA,IAAC,KAAA,CAAGL,UAAU,QAASI,SAAAN,IACtBC,GAAeM,EAAAA,IAAC,KAAA,CAAGL,UAAU,eAAgBI,SAAAL"}