@tallyui/primitives 3.20.1 → 4.0.1

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.
package/dist/index.d.ts CHANGED
@@ -839,6 +839,8 @@ interface PortalProps$2 extends ForceMountable {
839
839
  children?: React.ReactNode;
840
840
  }
841
841
  interface ContentProps$4 extends SlottableViewProps, ForceMountable {
842
+ /** Platform: WEB ONLY. Called on Escape before the list closes; call event.preventDefault() to keep it open. */
843
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
842
844
  }
843
845
  interface ItemProps$3 extends SlottablePressableProps {
844
846
  value: string;
@@ -1269,7 +1271,9 @@ interface RootProps$2 {
1269
1271
  open?: boolean;
1270
1272
  defaultOpen?: boolean;
1271
1273
  onOpenChange?: (open: boolean) => void;
1274
+ /** Accepted and currently ignored: no hover delay is applied. */
1272
1275
  openDelay?: number;
1276
+ /** Accepted and currently ignored: no hover delay is applied. */
1273
1277
  closeDelay?: number;
1274
1278
  children?: React.ReactNode;
1275
1279
  }