bits-ui 1.4.5 → 1.4.6

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.
@@ -615,7 +615,7 @@ class CommandGroupContainerState {
615
615
  constructor(opts, root) {
616
616
  this.opts = opts;
617
617
  this.root = root;
618
- this.trueValue = opts.value.current;
618
+ this.trueValue = opts.value.current ?? opts.id.current;
619
619
  useRefById({
620
620
  ...opts,
621
621
  deps: () => this.shouldRender,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",