bits-ui 1.0.0-next.37 → 1.0.0-next.38

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.
@@ -261,6 +261,7 @@ declare class SelectItemState {
261
261
  props: {
262
262
  readonly [x: string]: string | ((e: PointerEvent) => void) | undefined;
263
263
  readonly id: string;
264
+ readonly role: "option";
264
265
  readonly "aria-selected": "true" | undefined;
265
266
  readonly "data-value": string;
266
267
  readonly "data-disabled": "" | undefined;
@@ -767,6 +767,7 @@ class SelectItemState {
767
767
  };
768
768
  props = $derived.by(() => ({
769
769
  id: this.#id.current,
770
+ role: "option",
770
771
  "aria-selected": this.root.includesItem(this.value.current) ? "true" : undefined,
771
772
  "data-value": this.value.current,
772
773
  "data-disabled": getDataDisabled(this.disabled.current),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.0.0-next.37",
3
+ "version": "1.0.0-next.38",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",