1 line
2.8 KiB
Text
1 line
2.8 KiB
Text
|
{"version":3,"file":"Welcome.stories-B0TzfRcP.js","sources":["../../stories/molecules/Welcome.stories.ts"],"sourcesContent":["/* Stories for Welcome molecule.\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 <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport Welcome from '$lib/components/molecules/Welcome.svelte';\n\nconst meta = {\n\ttitle: 'Molecules/Welcome',\n\tcomponent: Welcome,\n\ttags: ['autodocs'],\n\targs: {\n\t\tsbCreate: 'Templates/Login',\n\t\tsbLogin: 'Templates/Login',\n\t\tsbReset: 'Templates/Login'\n\t},\n\targTypes: {\n\t\tsbCreate: { control: 'radio', options: ['Templates/Login'] },\n\t\tsbLogin: { control: 'radio', options: ['Templates/Login'] },\n\t\tsbReset: { control: 'radio', options: ['Templates/Login'] }\n\t}\n} satisfies Meta<Welcome>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\ti18n: {\n\t\t\tcreate: 'page.welcome.create',\n\t\t\theadline: 'page.welcome.headline',\n\t\t\tintro: 'page.welcome.intro',\n\t\t\tlogin: 'page.welcome.login',\n\t\t\tlogo: {\n\t\t\t\talt: 'page.welcome.logo.alt'\n\t\t\t},\n\t\t\treset: 'page.welcome.reset'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","Welcome","tags","args","sbCreate","sbLogin","sbReset","argTypes","control","options","Plain","i18n","create","headline","intro","login","logo","alt","reset","parameters","docs","source","originalSource"],"mappings":"uOAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAS,EAChBC,KAAI,CACAC,SAAU,kBACVC,QAAS,kBACTC,QAAS,iBACd,EACCC,SAAQ,CACJH,SAAU,CAAEI,QAAS,QAASC,QAAS,CAAC,iBAAe,CAAA,EACvDJ,QAAS,CAAEG,QAAS,QAASC,QAAS,CAAC,iBAAe,CAAA,EACtDH,QAAS,CAAEE,QAAS,QAASC,QAAS,CAAC,iBAAc,CAAA,CAC3D,CACF,EAKaC,EAAe,CACxBP,KAAI,CACAQ,KAAC,CACGC,OAAQ,sBACRC,SAAU,wBACVC,MAAO,qBACPC,MAAO,qBACTC,KAAA,CACMC,IAAK,uBAChB,EACOC,MAAO,oBAChB,CACD,CACF,YAAER,EAAAS,WAAA,CAAA,GAAAT,EAAAS,WAAAC,KAAA,CAAA,IAAAV,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAZ,GAAAA,EAAAA,EAAAS,aAAAT,YAAAA,EAAAU,OAAAV,YAAAA,EAAAW,MAAA,CAAA,CAAA"}
|