@invopop/popui 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/AlertDialog.svelte
CHANGED
|
@@ -53,7 +53,10 @@ function cancelByEsc() {
|
|
|
53
53
|
<AlertDialogHeader>
|
|
54
54
|
<AlertDialogTitle>{title}</AlertDialogTitle>
|
|
55
55
|
<AlertDialogDescription>
|
|
56
|
-
|
|
56
|
+
<slot name="description" />
|
|
57
|
+
{#if !$$slots.description}
|
|
58
|
+
{description}
|
|
59
|
+
{/if}
|
|
57
60
|
</AlertDialogDescription>
|
|
58
61
|
</AlertDialogHeader>
|
|
59
62
|
<AlertDialogFooter>
|
|
@@ -5,7 +5,10 @@ export { className as class };
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<AlertDialogPrimitive.Description
|
|
8
|
-
class={cn(
|
|
8
|
+
class={cn(
|
|
9
|
+
'text-neutral-500 text-base flex flex-col space-y-2 justify-start items-start !mt-2',
|
|
10
|
+
className
|
|
11
|
+
)}
|
|
9
12
|
{...$$restProps}
|
|
10
13
|
>
|
|
11
14
|
<slot />
|
|
@@ -5,6 +5,10 @@ export let level = "h3";
|
|
|
5
5
|
export { className as class };
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
|
-
<AlertDialogPrimitive.Title
|
|
8
|
+
<AlertDialogPrimitive.Title
|
|
9
|
+
class={cn('text-lg font-semibold text-neutral-800', className)}
|
|
10
|
+
{level}
|
|
11
|
+
{...$$restProps}
|
|
12
|
+
>
|
|
9
13
|
<slot />
|
|
10
14
|
</AlertDialogPrimitive.Title>
|