<script module lang="ts">
	import { defineMeta } from "@storybook/addon-svelte-csf";
	import PipelineSearch from "./PipelineSearch.svelte";

	const { Story } = defineMeta({
		title: "Repo/Pipelines/PipelineSearch",
		component: PipelineSearch,
		tags: ["autodocs"],
		args: {
			filter: "all"
		}
	});
</script>

<Story name="Default" />
<!-- a non-default tab rides along in a hidden field so searching keeps the filter -->
<Story name="Within a trigger tab" args={{ filter: "pull_request" }} />
