@pzerelles/headlessui-svelte 2.1.2-next.40 → 2.1.2-next.41

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.
@@ -45,6 +45,7 @@
45
45
  disabled: theirDisabled = false,
46
46
  invalid = false,
47
47
  autofocus = false,
48
+ value = $bindable(),
48
49
  ...theirProps
49
50
  }: SelectProps = $props()
50
51
 
@@ -100,4 +101,12 @@
100
101
  } satisfies SelectRenderPropArg)
101
102
  </script>
102
103
 
103
- <ElementOrComponent {ourProps} {theirProps} {slot} defaultTag={DEFAULT_SELECT_TAG} name="Select" bind:element />
104
+ <ElementOrComponent
105
+ {ourProps}
106
+ {theirProps}
107
+ {slot}
108
+ defaultTag={DEFAULT_SELECT_TAG}
109
+ name="Select"
110
+ bind:element
111
+ bind:value
112
+ />
@@ -16,6 +16,6 @@ export type SelectOwnProps = {
16
16
  autofocus?: boolean;
17
17
  };
18
18
  export type SelectProps = Props<typeof DEFAULT_SELECT_TAG, SelectRenderPropArg, SelectOwnProps>;
19
- declare const Select: import("svelte").Component<SelectProps, {}, "element">;
19
+ declare const Select: import("svelte").Component<SelectProps, {}, "element" | "value">;
20
20
  type Select = ReturnType<typeof Select>;
21
21
  export default Select;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzerelles/headlessui-svelte",
3
- "version": "2.1.2-next.40",
3
+ "version": "2.1.2-next.41",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",