bits-ui 1.3.8 → 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 : "",
@@ -90,7 +90,7 @@ export type TooltipRootPropsWithoutHTML = WithChildren<{
90
90
  ignoreNonKeyboardFocus?: boolean;
91
91
  }>;
92
92
  export type TooltipRootProps = TooltipRootPropsWithoutHTML;
93
- export type TooltipContentPropsWithoutHTML = WithChildNoChildrenSnippetProps<Pick<FloatingLayerContentProps, "side" | "sideOffset" | "align" | "alignOffset" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "arrowPadding" | "sticky" | "hideWhenDetached" | "updatePositionStrategy" | "dir"> & Omit<DismissibleLayerProps, "onInteractOutsideStart"> & EscapeLayerProps & {
93
+ export type TooltipContentPropsWithoutHTML = WithChildNoChildrenSnippetProps<Pick<FloatingLayerContentProps, "side" | "sideOffset" | "align" | "alignOffset" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "arrowPadding" | "sticky" | "hideWhenDetached" | "updatePositionStrategy" | "dir" | "customAnchor"> & Omit<DismissibleLayerProps, "onInteractOutsideStart"> & EscapeLayerProps & {
94
94
  /**
95
95
  * When `true`, the tooltip will be forced to mount in the DOM.
96
96
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",