bits-ui 1.0.0-next.63 → 1.0.0-next.64

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.
@@ -73,9 +73,7 @@
73
73
  </FloatingLayer>
74
74
 
75
75
  {#if Array.isArray(rootState.value.current)}
76
- {#if rootState.value.current.length === 0}
77
- <ListboxHiddenInput value="" />
78
- {:else}
76
+ {#if rootState.value.current.length}
79
77
  {#each rootState.value.current as item}
80
78
  <ListboxHiddenInput value={item} />
81
79
  {/each}
@@ -73,9 +73,7 @@
73
73
  </FloatingLayer>
74
74
 
75
75
  {#if Array.isArray(rootState.value.current)}
76
- {#if rootState.value.current.length === 0}
77
- <SelectHiddenInput value="" />
78
- {:else}
76
+ {#if rootState.value.current.length}
79
77
  {#each rootState.value.current as item}
80
78
  <SelectHiddenInput value={item} />
81
79
  {/each}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.0.0-next.63",
3
+ "version": "1.0.0-next.64",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",