From 4dbef3fcd7a14437d55c555cf10d50de8e50d7d1 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 9 Dec 2022 11:57:12 +0900 Subject: feat: Move everything out of $lib --- code/app/src/lib/components/alert.svelte | 268 ------------------------------- 1 file changed, 268 deletions(-) delete mode 100644 code/app/src/lib/components/alert.svelte (limited to 'code/app/src/lib/components/alert.svelte') diff --git a/code/app/src/lib/components/alert.svelte b/code/app/src/lib/components/alert.svelte deleted file mode 100644 index fd57105..0000000 --- a/code/app/src/lib/components/alert.svelte +++ /dev/null @@ -1,268 +0,0 @@ - - -{#if visible} -
-
-
- -
-
- {#if !rightLinkText} - {#if title} -

- {title} -

- {/if} - {#if message} -
-

- {@html message} -

-
- {/if} - {#if listItems?.length ?? 0} -
    - {#each listItems as listItem} -
  • {listItem}
  • - {/each} -
- {/if} - {:else} -
-
- {#if title} -

- {title} -

- {/if} - {#if message} -
-

- {@html message} -

-
- {/if} - {#if listItems?.length ?? 0} -
    - {#each listItems as listItem} -
  • {listItem}
  • - {/each} -
- {/if} -
-

- rightLinkClicked()} - class="whitespace-nowrap font-medium text-{colorClassPart}-700 hover:text-{colorClassPart}-600" - > - {rightLinkText} - - -

-
- {/if} - {#if actions?.length ?? 0} -
-
- {#each actions as action} - {@const color = action?.color ?? colorClassPart} - - {/each} -
-
- {/if} -
- {#if closeable} -
-
- -
-
- {/if} -
-
-{/if} -- cgit v1.3