@celar-ui/svelte 1.2.0 → 1.2.1
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.
|
@@ -12,11 +12,19 @@
|
|
|
12
12
|
elevated?: 0 | 1 | 2 | 3 | 4;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
let {
|
|
15
|
+
let {
|
|
16
|
+
open = $bindable(),
|
|
17
|
+
elevated,
|
|
18
|
+
children,
|
|
19
|
+
header,
|
|
20
|
+
footer,
|
|
21
|
+
...rest
|
|
22
|
+
}: MinimalSurfaceDialogProps = $props();
|
|
16
23
|
</script>
|
|
17
24
|
|
|
18
25
|
<MinimalDialog
|
|
19
26
|
{...rest}
|
|
27
|
+
bind:open
|
|
20
28
|
data-surface-container
|
|
21
29
|
data-minimal-surface-dialog
|
|
22
30
|
data-elevated={elevated}
|
|
@@ -8,6 +8,6 @@ type MinimalSurfaceDialogProps = MinimalDialogProps & {
|
|
|
8
8
|
footer?: Snippet;
|
|
9
9
|
elevated?: 0 | 1 | 2 | 3 | 4;
|
|
10
10
|
};
|
|
11
|
-
declare const MinimalSurfaceDialog: import("svelte").Component<MinimalSurfaceDialogProps, {}, "">;
|
|
11
|
+
declare const MinimalSurfaceDialog: import("svelte").Component<MinimalSurfaceDialogProps, {}, "open">;
|
|
12
12
|
type MinimalSurfaceDialog = ReturnType<typeof MinimalSurfaceDialog>;
|
|
13
13
|
export default MinimalSurfaceDialog;
|