Replace TS relative @ import path (#1087)

Migrated the import shortcut used in Svelte from @ to @graphite for better future package compatibility

Co-authored-by: Andre Roelofs <andreroelofsai@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Andre Roelofs
2023-03-26 01:39:38 +01:00
committed by Keavon Chambers
co-authored by Andre Roelofs Keavon Chambers
parent 5c0a075313
commit 639a24d8ad
83 changed files with 465 additions and 465 deletions
@@ -1,6 +1,6 @@
<script lang="ts">
import LayoutRow from "@/components/layout/LayoutRow.svelte";
import TextButton from "@/components/widgets/buttons/TextButton.svelte";
import LayoutRow from "@graphite/components/layout/LayoutRow.svelte";
import TextButton from "@graphite/components/widgets/buttons/TextButton.svelte";
export let labels: string[];
export let disabled = false;
@@ -1,7 +1,7 @@
<script lang="ts">
import { type IconName, type IconSize } from "@/utility-functions/icons";
import { type IconName, type IconSize } from "@graphite/utility-functions/icons";
import IconLabel from "@/components/widgets/labels/IconLabel.svelte";
import IconLabel from "@graphite/components/widgets/labels/IconLabel.svelte";
export let icon: IconName;
export let size: IconSize;
@@ -1,5 +1,5 @@
<script lang="ts">
import LayoutRow from "@/components/layout/LayoutRow.svelte";
import LayoutRow from "@graphite/components/layout/LayoutRow.svelte";
export let exposed: boolean;
export let dataType: string;
@@ -1,9 +1,9 @@
<script lang="ts">
import type { IconName } from "@/utility-functions/icons";
import type { IconName } from "@graphite/utility-functions/icons";
import FloatingMenu from "@/components/layout/FloatingMenu.svelte";
import LayoutRow from "@/components/layout/LayoutRow.svelte";
import IconButton from "@/components/widgets/buttons/IconButton.svelte";
import FloatingMenu from "@graphite/components/layout/FloatingMenu.svelte";
import LayoutRow from "@graphite/components/layout/LayoutRow.svelte";
import IconButton from "@graphite/components/widgets/buttons/IconButton.svelte";
export let icon: IconName = "DropdownArrow";
export let tooltip: string | undefined = undefined;
@@ -1,8 +1,8 @@
<script lang="ts">
import type { IconName } from "@/utility-functions/icons";
import type { IconName } from "@graphite/utility-functions/icons";
import IconLabel from "@/components/widgets/labels/IconLabel.svelte";
import TextLabel from "@/components/widgets/labels/TextLabel.svelte";
import IconLabel from "@graphite/components/widgets/labels/IconLabel.svelte";
import TextLabel from "@graphite/components/widgets/labels/TextLabel.svelte";
export let label: string;
export let icon: IconName | undefined = undefined;