bits-ui 1.4.4 → 1.4.5

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.
@@ -632,8 +632,8 @@ class CommandGroupContainerState {
632
632
  this.trueValue = this.headingNode.textContent.trim().toLowerCase();
633
633
  return this.root.registerValue(this.trueValue);
634
634
  }
635
- else if (this.opts.ref.current?.textContent) {
636
- this.trueValue = this.opts.ref.current.textContent.trim().toLowerCase();
635
+ else {
636
+ this.trueValue = `-----${this.opts.id.current}`;
637
637
  return this.root.registerValue(this.trueValue);
638
638
  }
639
639
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",