1 line
2 KiB
Text
1 line
2 KiB
Text
|
{"version":3,"file":"CommitDate.stories-B-uKtPtI.js","sources":["../../stories/atoms/CommitDate.stories.ts"],"sourcesContent":["/* Stories for CommitDate 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 CommitDate from '$lib/components/atoms/CommitDate.svelte';\n\nconst meta = {\n\ttitle: 'Atoms/CommitDate',\n\tcomponent: CommitDate,\n\ttags: ['autodocs']\n} satisfies Meta<CommitDate>;\n\nexport default meta;\ntype Story = StoryObj<typeof meta>;\n\nexport const Plain: Story = {\n\targs: {\n\t\tcommitDate: new Date().toISOString().slice(0, '1970-01-01'.length),\n\t\tnumberOfCommits: 2,\n\t\trepoName: 'Anvil Testing'\n\t}\n};\n"],"names":["meta","title","component","CommitDate","tags","Plain","args","commitDate","Date","toISOString","slice","numberOfCommits","repoName","parameters","docs","source","originalSource"],"mappings":"uQAgBA,MAAMA,EAAO,CACTC,MAAO,mBACPC,UAAWC,EACXC,KAAM,CAAC,UAAQ,CACnB,EAKaC,EAAe,CACxBC,KAAI,CACAC,eAAgBC,OAAOC,YAAcC,EAAAA,MAAM,EAAG,EAAe,EAC7DC,gBAAa,EACbC,SAAU,eAChB,CACF,YAAEP,EAAAQ,WAAA,CAAA,GAAAR,EAAAQ,WAAAC,KAAA,CAAA,IAAAT,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,KAAAC,OAAA,CAAAC,eAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA,IAAAX,GAAAA,EAAAA,EAAAQ,aAAAR,YAAAA,EAAAS,OAAAT,YAAAA,EAAAU,MAAA,CAAA,CAAA"}
|