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.scss?tag=vds-teaser-small&encapsulation=shadow","src/components/vds-teaser-small/vds-teaser-small.tsx"],"sourcesContent":[":host {\r\n @apply block;\r\n}\r\n\r\n::slotted(img) {\r\n @apply w-full h-full object-cover;\r\n}\r\n\r\n::slotted(picture) {\r\n @apply flex w-full h-auto overflow-hidden;\r\n}\r\n\r\n:host([media-position=\"right\"]) {\r\n ::slotted(img),\r\n ::slotted(picture) {\r\n @apply rounded-none md:rounded-[5px];\r\n }\r\n}\r\n\r\n\r\n:host([media-position=\"right\"]) {\r\n ::slotted(img),\r\n ::slotted(picture) {\r\n @apply rounded-none md:rounded-[5px];\r\n }\r\n}\r\n","import { Component, Host, h, Prop} from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'vds-teaser-small',\r\n styleUrl: 'vds-teaser-small.scss',\r\n shadow: true,\r\n})\r\nexport class VdsTeaserSmall {\r\n\r\n /**\r\n * Sets the headline of the component\r\n * Mandatory: yes\r\n * Max Chars: 50\r\n */\r\n @Prop() headline = '';\r\n\r\n /**\r\n * Subline displayed underneath the headline\r\n * Mandatory: no\r\n */\r\n @Prop() subline = '';\r\n\r\n /**\r\n * Text content displayed above the call to action slot\r\n */\r\n @Prop() copy = '';\r\n\r\n /**\r\n * Sets the position of the media slot\r\n */\r\n @Prop() mediaPosition: 'left' | 'right' = 'left';\r\n\r\n render() {\r\n if(this.mediaPosition == \"left\") {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n else if(this.mediaPosition == \"right\") {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n }\r\n\r\n}\r\n"],"version":3}