{"version":3,"file":"Avatar.stories-Crc3Ot11.js","sources":["../../stories/atoms/Avatar.stories.ts"],"sourcesContent":["/* Stories for Avatar atom.\n * Copyright (C) 2024 André Jaenisch\n * SPDX-FileCopyrightText: 2024 André Jaenisch\n * SPDX-License-Identifier: AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License along with this program. If not, see .\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Avatar from '$lib/components/atoms/Avatar.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/Avatar',\n\tcomponent: Avatar,\n\ttags: ['autodocs']\n} satisfies Meta;\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Plain: Story = {\n\targs: {\n\t\tavatar: '',\n\t\tdisplayName: 'Jane Doe'\n\t}\n};\n\nexport const ProfilePicture: Story = {\n\targs: {\n\t\t...Plain.args,\n\t\tavatar:\n\t\t\t'https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280'\n\t}\n};\n"],"names":["meta","title","component","Avatar","tags","Plain","args","avatar","displayName","ProfilePicture","parameters","docs","source","originalSource"],"mappings":"kPAgBA,MAAMA,EAAO,CACTC,MAAO,eACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,OAAK,GACLC,YAAa,UACnB,CACF,EAEaC,EAAwB,CACjCH,KAAI,CACA,GAAGD,EAAKC,KACRC,OACI,wGACV,CACF,YAAEF,EAAAK,WAAA,CAAA,GAAAL,EAAAK,WAAAC,KAAA,CAAA,IAAAN,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAR,GAAAA,EAAAA,EAAAK,aAAAL,YAAAA,EAAAM,OAAAN,YAAAA,EAAAO,MAAA,CAAA,CAAA,YAAAH,EAAAC,WAAA,CAAA,GAAAD,EAAAC,WAAAC,KAAA,CAAA,IAAAF,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}