bits-ui 1.3.9 → 1.3.10
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.
|
@@ -138,6 +138,7 @@ declare class SelectTriggerState {
|
|
|
138
138
|
readonly id: string;
|
|
139
139
|
readonly disabled: true | undefined;
|
|
140
140
|
readonly "aria-haspopup": "listbox";
|
|
141
|
+
readonly "aria-activedescendant": string | undefined;
|
|
141
142
|
readonly "data-state": "open" | "closed";
|
|
142
143
|
readonly "data-disabled": "" | undefined;
|
|
143
144
|
readonly "data-placeholder": "" | undefined;
|
|
@@ -589,6 +589,7 @@ class SelectTriggerState {
|
|
|
589
589
|
id: this.opts.id.current,
|
|
590
590
|
disabled: this.root.opts.disabled.current ? true : undefined,
|
|
591
591
|
"aria-haspopup": "listbox",
|
|
592
|
+
"aria-activedescendant": this.root.highlightedId,
|
|
592
593
|
"data-state": getDataOpenClosed(this.root.opts.open.current),
|
|
593
594
|
"data-disabled": getDataDisabled(this.root.opts.disabled.current),
|
|
594
595
|
"data-placeholder": this.root.hasValue ? undefined : "",
|