diff --git a/src/lib/components/Actions.svelte b/src/lib/components/Actions.svelte index e05693e6..a1773723 100644 --- a/src/lib/components/Actions.svelte +++ b/src/lib/components/Actions.svelte @@ -6,6 +6,7 @@ import { Input } from '$/components/ui/input'; import { Separator } from '$/components/ui/separator'; import * as ToggleGroup from '$/components/ui/toggle-group'; + import { TID } from '$/constants'; import { env } from '$/util/env'; import { browser } from '$app/environment'; import { waitForRender } from '$lib/util/autoSync'; @@ -190,7 +191,10 @@ ${svgString}`); {#snippet dualActionButton(text: string, download: (event: Event) => unknown, url?: string)}
- @@ -238,7 +242,7 @@ ${svgString}`); {/if} {#if $urlsStore.mdCode} - + {/if}
diff --git a/src/lib/components/CopyInput.svelte b/src/lib/components/CopyInput.svelte index b01937dd..e3eeac8f 100644 --- a/src/lib/components/CopyInput.svelte +++ b/src/lib/components/CopyInput.svelte @@ -7,14 +7,16 @@ let { value, label = 'Copy', - type = 'url' - }: { value: string; label?: string; type?: InputType } = $props(); + type = 'url', + testID + }: { value: string; label?: string; type?: InputType; testID?: string } = $props();
{ event.currentTarget.setSelectionRange(0, event.currentTarget.value.length); }} /> diff --git a/src/lib/components/DiagramDocumentationButton.svelte b/src/lib/components/DiagramDocumentationButton.svelte index d37bc206..b2449c01 100644 --- a/src/lib/components/DiagramDocumentationButton.svelte +++ b/src/lib/components/DiagramDocumentationButton.svelte @@ -1,5 +1,6 @@