@3birds/midori-ui 0.0.26 → 0.0.27
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.
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
let {
|
|
3
|
+
class: className,
|
|
3
4
|
dial,
|
|
4
5
|
children
|
|
5
6
|
}: {
|
|
7
|
+
class?: string;
|
|
6
8
|
dial: import('svelte').Snippet;
|
|
7
9
|
children: import('svelte').Snippet;
|
|
8
10
|
} = $props();
|
|
9
11
|
</script>
|
|
10
12
|
|
|
11
|
-
<div class="fab">
|
|
13
|
+
<div class="fab {className}">
|
|
12
14
|
<div tabindex="0" role="button" class="btn btn-circle btn-primary btn-xl">
|
|
13
15
|
{@render dial()}
|
|
14
16
|
</div>
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
let {
|
|
5
5
|
value = $bindable(),
|
|
6
|
+
class: className,
|
|
6
7
|
children
|
|
7
|
-
}: { value?: HTMLDialogElement; children: import('svelte').Snippet } = $props();
|
|
8
|
+
}: { value?: HTMLDialogElement; class: string; children: import('svelte').Snippet } = $props();
|
|
8
9
|
</script>
|
|
9
10
|
|
|
10
|
-
<dialog bind:this={value} class="modal modal-bottom sm:modal-middle">
|
|
11
|
+
<dialog bind:this={value} class="modal modal-bottom sm:modal-middle {className}">
|
|
11
12
|
<div class="modal-box rounded-t-3xl sm:rounded-3xl">
|
|
12
13
|
{@render children()}
|
|
13
14
|
<div class="modal-action">
|