@celar-ui/svelte 0.2.0 → 0.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.
@@ -33,13 +33,14 @@
33
33
  loop = false,
34
34
  disablePointerSelection = false,
35
35
  vimBindings = true,
36
+ open = $bindable(),
36
37
  ...rest
37
38
  }: CommandDialogProps = $props();
38
39
 
39
40
  let searchValue = $state('');
40
41
  </script>
41
42
 
42
- <MinimalDialog {...rest} data-command-dialog>
43
+ <MinimalDialog {...rest} bind:open data-command-dialog>
43
44
  <Command.Root
44
45
  bind:value
45
46
  {onValueChange}
@@ -20,6 +20,6 @@ type CommandDialogProps = MinimalDialogProps & {
20
20
  disablePointerSelection?: boolean;
21
21
  vimBindings?: boolean;
22
22
  };
23
- declare const CommandDialog: import("svelte").Component<CommandDialogProps, {}, "value">;
23
+ declare const CommandDialog: import("svelte").Component<CommandDialogProps, {}, "value" | "open">;
24
24
  type CommandDialog = ReturnType<typeof CommandDialog>;
25
25
  export default CommandDialog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celar-ui/svelte",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "cuikho210",