diff --git a/src/lib/components/alert.svelte b/src/lib/components/alert.svelte index 921f54b28..526121d46 100644 --- a/src/lib/components/alert.svelte +++ b/src/lib/components/alert.svelte @@ -9,7 +9,7 @@ const dispatch = createEventDispatcher(); -
+
{#if dismissible} + + + + +{/if} diff --git a/src/lib/components/index.ts b/src/lib/components/index.ts index 01de65cfb..928a68fe5 100644 --- a/src/lib/components/index.ts +++ b/src/lib/components/index.ts @@ -2,6 +2,7 @@ export { default as Modal } from './modal.svelte'; export { default as Pagination } from './pagination.svelte'; export { default as Card } from './card.svelte'; export { default as CardGrid } from './cardGrid.svelte'; +export { default as CardDrop } from './cardDrop.svelte'; export { default as Tile } from './tile.svelte'; export { default as Tiles } from './tiles.svelte'; export { default as Back } from './back.svelte'; diff --git a/src/lib/components/modal.svelte b/src/lib/components/modal.svelte index e4b02785a..7843b7c91 100644 --- a/src/lib/components/modal.svelte +++ b/src/lib/components/modal.svelte @@ -3,7 +3,8 @@ import { fade, fly, type FadeParams, type FlyParams } from 'svelte/transition'; export let show = false; - + export let size: 'small' | 'big' = null; + export let warning = false; let browser = false; //TODO: explore other solutions compatible with testing library onMount(() => { @@ -51,9 +52,18 @@ {#if show}