···6677<Subheading>Input</Subheading>
8899-<Text class="mb-2 mt-4">Primary</Text>
99+<Text class="mt-4 mb-2">Primary</Text>
10101111<Input sizeVariant="sm" placeholder="Enter text here (small)" />
1212<Input placeholder="Enter text here (default)" />
1313<Input sizeVariant="lg" placeholder="Enter text here (large)" />
14141515-<Text class="mb-2 mt-4">Secondary</Text>
1515+<Text class="mt-4 mb-2">Secondary</Text>
16161717<Input variant="secondary" sizeVariant="sm" placeholder="Enter text here (small)" />
1818<Input variant="secondary" placeholder="Enter text here (default)" />
+4-4
src/lib/preview/LineGraphPreview.svelte
···11<script>
22- import Subheading from "$lib/components/heading/Subheading.svelte";
33- import LineGraph from "$lib/components/line-graph/LineGraph.svelte";
22+ import Subheading from '$lib/components/heading/Subheading.svelte';
33+ import LineGraph from '$lib/components/line-graph/LineGraph.svelte';
4455 const data = [
66 { x: new Date('2020-01-01'), value: 10 },
···1010 { x: new Date('2020-04-04'), value: 20 },
1111 { x: new Date('2020-04-20'), value: 80 },
1212 { x: new Date('2020-05-05'), value: 50 },
1313- { x: new Date('2020-05-20'), value: 10 },
1313+ { x: new Date('2020-05-20'), value: 10 }
1414 ];
1515</script>
16161717<Subheading class="mb-6">Line Graph</Subheading>
18181919-<LineGraph data={data} />
1919+<LineGraph {data} />
···11<script lang="ts">
22- import { Subheading } from "$lib/components/heading";
33- import { Slider } from "$lib/components/slider";
22+ import { Subheading } from '$lib/components/heading';
33+ import { Slider } from '$lib/components/slider';
4455 let value = $state(50);
66</script>
+2-2
src/lib/preview/TextareaPreview.svelte
···6677<Subheading>Textarea</Subheading>
8899-<Text class="mb-2 mt-4">Primary</Text>
99+<Text class="mt-4 mb-2">Primary</Text>
10101111<Textarea placeholder="Enter text here (small)" sizeVariant="sm" />
1212<Textarea placeholder="Enter text here (default)" />
1313<Textarea placeholder="Enter text here (large)" sizeVariant="lg" />
14141515-<Text class="mb-2 mt-4">Secondary</Text>
1515+<Text class="mt-4 mb-2">Secondary</Text>
16161717<Textarea placeholder="Enter text here (small)" variant="secondary" sizeVariant="sm" />
1818<Textarea placeholder="Enter text here (default)" variant="secondary" />
···11-import { Popover as PopoverPrimitive } from "bits-ui";
22-import Content from "./popover-content.svelte";
11+import { Popover as PopoverPrimitive } from 'bits-ui';
22+import Content from './popover-content.svelte';
33const Root = PopoverPrimitive.Root;
44const Trigger = PopoverPrimitive.Trigger;
55const Close = PopoverPrimitive.Close;
···1313 Root as Popover,
1414 Content as PopoverContent,
1515 Trigger as PopoverTrigger,
1616- Close as PopoverClose,
1616+ Close as PopoverClose
1717};