Socket
Socket
Sign inDemoInstall

tabster

Package Overview
Dependencies
Maintainers
3
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tabster - npm Package Compare versions

Comparing version 4.7.2 to 4.8.0-canary.0

2

dist/dts/Groupper.d.ts

@@ -17,3 +17,3 @@ /*!

dispose(): void;
findNextTabbable(currentElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
findNextTabbable(currentElement?: HTMLElement, referenceElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
makeTabbable(isTabbable: boolean): void;

@@ -20,0 +20,0 @@ isActive(noIfFirstIsFocused?: boolean): boolean | undefined;

@@ -27,3 +27,3 @@ /*!

contains(element: HTMLElement): boolean;
findNextTabbable(currentElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
findNextTabbable(currentElement?: HTMLElement, referenceElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
triggerFocusEvent(eventName: Types.ModalizerEventName, allElements?: boolean): boolean;

@@ -30,0 +30,0 @@ private _remove;

@@ -32,3 +32,3 @@ /*!

getCurrent(): HTMLElement | null;
findNextTabbable(currentElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
findNextTabbable(currentElement?: HTMLElement, referenceElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
acceptElement(element: HTMLElement, state: Types.FocusableAcceptElementState): number | undefined;

@@ -35,0 +35,0 @@ private _onIntersection;

@@ -33,3 +33,3 @@ /*!

private _onFocusOut;
static findNextTabbable(tabster: Types.TabsterCore, ctx: Types.TabsterContext, container?: HTMLElement, currentElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
static findNextTabbable(tabster: Types.TabsterCore, ctx: Types.TabsterContext, container?: HTMLElement, currentElement?: HTMLElement, referenceElement?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): Types.NextTabbable | null;
private _validateFocusedElement;

@@ -36,0 +36,0 @@ private _onKeyDown;

@@ -73,3 +73,3 @@ /*!

export interface TabsterPartWithFindNextTabbable {
findNextTabbable(current?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): NextTabbable | null;
findNextTabbable(current?: HTMLElement, reference?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): NextTabbable | null;
}

@@ -267,2 +267,3 @@ export interface TabsterPartWithAcceptElement {

isFindAll?: boolean;
skippedFocusable?: boolean;
}

@@ -278,2 +279,3 @@ export interface FindFocusableProps {

currentElement?: HTMLElement;
referenceElement?: HTMLElement;
/**

@@ -320,5 +322,11 @@ * Includes elements that can be focused programmatically.

onElement?: FindElementCallback;
/**
* An output parameter. Will be true after the findNext/findPrev() call if some focusable
* elements were skipped during the search and the result element not immediately next
* focusable after the currentElement.
*/
outOfDOMOrderResult?: boolean;
}
export type FindFirstProps = Pick<FindFocusableProps, "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility">;
export type FindNextProps = Pick<FindFocusableProps, "currentElement" | "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility" | "onUncontrolled">;
export type FindNextProps = Pick<FindFocusableProps, "currentElement" | "referenceElement" | "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility" | "onUncontrolled" | "outOfDOMOrderResult">;
export type FindDefaultProps = Pick<FindFocusableProps, "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility">;

@@ -378,4 +386,3 @@ export type FindAllProps = Pick<FindFocusableProps, "container" | "modalizerId" | "currentElement" | "isBackward" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "acceptCondition" | "ignoreUncontrolled" | "ignoreAccessibility" | "onElement">;

uncontrolled?: HTMLElement;
lastMoverOrGroupper?: Mover | Groupper;
outOfDOMOrder?: boolean;
outOfDOMOrder: boolean;
};

@@ -534,2 +541,6 @@ export interface MoverProps {

checkRtl?: boolean;
/**
*
*/
referenceElement?: HTMLElement;
}

@@ -536,0 +547,0 @@ export type TabsterContextMoverGroupper = {

@@ -73,3 +73,3 @@ /*!

interface TabsterPartWithFindNextTabbable {
findNextTabbable(current?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): NextTabbable | null;
findNextTabbable(current?: HTMLElement, reference?: HTMLElement, isBackward?: boolean, ignoreUncontrolled?: boolean, ignoreAccessibility?: boolean): NextTabbable | null;
}

@@ -267,2 +267,3 @@ interface TabsterPartWithAcceptElement {

isFindAll?: boolean;
skippedFocusable?: boolean;
}

@@ -278,2 +279,3 @@ interface FindFocusableProps {

currentElement?: HTMLElement;
referenceElement?: HTMLElement;
/**

@@ -320,5 +322,11 @@ * Includes elements that can be focused programmatically.

onElement?: FindElementCallback;
/**
* An output parameter. Will be true after the findNext/findPrev() call if some focusable
* elements were skipped during the search and the result element not immediately next
* focusable after the currentElement.
*/
outOfDOMOrderResult?: boolean;
}
type FindFirstProps = Pick<FindFocusableProps, "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility">;
type FindNextProps = Pick<FindFocusableProps, "currentElement" | "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility" | "onUncontrolled">;
type FindNextProps = Pick<FindFocusableProps, "currentElement" | "referenceElement" | "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility" | "onUncontrolled" | "outOfDOMOrderResult">;
type FindDefaultProps = Pick<FindFocusableProps, "container" | "modalizerId" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "ignoreUncontrolled" | "ignoreAccessibility">;

@@ -378,4 +386,3 @@ type FindAllProps = Pick<FindFocusableProps, "container" | "modalizerId" | "currentElement" | "isBackward" | "includeProgrammaticallyFocusable" | "useActiveModalizer" | "acceptCondition" | "ignoreUncontrolled" | "ignoreAccessibility" | "onElement">;

uncontrolled?: HTMLElement;
lastMoverOrGroupper?: Mover | Groupper;
outOfDOMOrder?: boolean;
outOfDOMOrder: boolean;
};

@@ -534,2 +541,6 @@ interface MoverProps {

checkRtl?: boolean;
/**
*
*/
referenceElement?: HTMLElement;
}

@@ -536,0 +547,0 @@ type TabsterContextMoverGroupper = {

{
"name": "tabster",
"version": "4.7.2",
"version": "4.8.0-canary.0",
"description": "Focus Management Tools for Web",

@@ -5,0 +5,0 @@ "author": "Marat Abdullin <marata@microsoft.com>",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc