1 line
2.4 KiB
Text
1 line
2.4 KiB
Text
|
{"version":3,"file":"DisplayName.stories-DooryBPe.js","sources":["../../stories/atoms/DisplayName.stories.ts"],"sourcesContent":["/* Stories for DisplayName 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 <http://www.gnu.org/licenses/>.\n */\n\nimport type { Meta, StoryObj } from '@storybook/svelte';\n\nimport DisplayName from '$lib/components/atoms/DisplayName.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/DisplayName',\n\tcomponent: DisplayName,\n\ttags: ['autodocs']\n} satisfies Meta<DisplayName>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const WithPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t},\n\t\tpronoun: 'she/her'\n\t}\n};\n\nexport const WithoutPronoun: Story = {\n\targs: {\n\t\tdisplayName: 'Jane Doe',\n\t\ti18n: {\n\t\t\theading: 'page.profile.heading'\n\t\t}\n\t}\n};\n"],"names":["meta","title","component","DisplayName","tags","WithPronoun","args","displayName","i18n","heading","pronoun","WithoutPronoun","parameters","docs","source","originalSource"],"mappings":"2MAgBA,MAAMA,EAAO,CACTC,MAAO,oBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAqB,CAC9BC,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBACjB,EACIC,QAAS,SACf,CACF,EAEaC,EAAwB,CACjCL,KAAI,CACAC,YAAa,WACbC,KAAC,CACGC,QAAS,sBAClB,CACD,CACF,YAAEJ,EAAAO,WAAA,CAAA,GAAAP,EAAAO,WAAAC,KAAA,CAAA,IAAAR,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAV,GAAAA,EAAAA,EAAAO,aAAAP,YAAAA,EAAAQ,OAAAR,YAAAA,EAAAS,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;AAAA;AAAA,GAAA,IAAAJ,GAAAA,EAAAA,EAAAC,aAAAD,YAAAA,EAAAE,OAAAF,YAAAA,EAAAG,MAAA,CAAA,CAAA"}
|