@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.
@@ -53,7 +53,10 @@ function cancelByEsc() {
53
53
  <AlertDialogHeader>
54
54
  <AlertDialogTitle>{title}</AlertDialogTitle>
55
55
  <AlertDialogDescription>
56
- {description}
56
+ <slot name="description" />
57
+ {#if !$$slots.description}
58
+ {description}
59
+ {/if}
57
60
  </AlertDialogDescription>
58
61
  </AlertDialogHeader>
59
62
  <AlertDialogFooter>
@@ -18,6 +18,7 @@ declare const __propDef: {
18
18
  };
19
19
  slots: {
20
20
  default: {};
21
+ description: {};
21
22
  };
22
23
  };
23
24
  export type AlertDialogProps = typeof __propDef.props;
@@ -5,7 +5,10 @@ export { className as class };
5
5
  </script>
6
6
 
7
7
  <AlertDialogPrimitive.Description
8
- class={cn('text-neutral-500 text-base', className)}
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 class={cn('text-lg font-semibold', className)} {level} {...$$restProps}>
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>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.0.87",
4
+ "version": "0.0.88",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run package",