compote-ui 0.62.0 → 0.62.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.
@@ -5,6 +5,7 @@
5
5
  import { PhEye, PhEyeSlash } from '../../icons';
6
6
 
7
7
  let {
8
+ value = $bindable(),
8
9
  label,
9
10
  layout = 'vertical',
10
11
  placeholder,
@@ -29,6 +30,7 @@
29
30
  <PasswordInput.Control class="relative isolate">
30
31
  <PasswordInput.Input
31
32
  {placeholder}
33
+ bind:value
32
34
  class="h-9 w-full rounded-md border bg-surface-1 px-3 pr-9 text-sm shadow-sm placeholder:text-ink-dim focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none data-invalid:border-danger data-invalid:focus-visible:ring-danger"
33
35
  />
34
36
  <PasswordInput.VisibilityTrigger
@@ -1,5 +1,5 @@
1
1
  import { PasswordInput } from '@ark-ui/svelte/password-input';
2
2
  import type { PasswordInputProps } from './types';
3
- declare const PasswordInput: import("svelte").Component<PasswordInputProps, {}, "">;
3
+ declare const PasswordInput: import("svelte").Component<PasswordInputProps, {}, "value">;
4
4
  type PasswordInput = ReturnType<typeof PasswordInput>;
5
5
  export default PasswordInput;
@@ -1,5 +1,6 @@
1
1
  import type { PasswordInputRootBaseProps } from '@ark-ui/svelte/password-input';
2
2
  export interface PasswordInputProps extends PasswordInputRootBaseProps {
3
+ value?: string;
3
4
  label?: string;
4
5
  layout?: 'vertical' | 'horizontal';
5
6
  placeholder?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compote-ui",
3
- "version": "0.62.0",
3
+ "version": "0.62.1",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev --open",