@vuu-ui/vuu-utils 0.8.27-debug → 0.8.28-debug

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-utils",
3
- "version": "0.8.27-debug",
3
+ "version": "0.8.28-debug",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@vuu-ui/vuu-data-types": "0.8.27-debug",
8
- "@vuu-ui/vuu-table-types": "0.8.27-debug",
9
- "@vuu-ui/vuu-filter-types": "0.8.27-debug",
10
- "@vuu-ui/vuu-protocol-types": "0.8.27-debug"
7
+ "@vuu-ui/vuu-data-types": "0.8.28-debug",
8
+ "@vuu-ui/vuu-table-types": "0.8.28-debug",
9
+ "@vuu-ui/vuu-filter-types": "0.8.28-debug",
10
+ "@vuu-ui/vuu-protocol-types": "0.8.28-debug"
11
11
  },
12
12
  "peerDependencies": {
13
13
  "react": ">=17.0.2",
@@ -1,13 +1,13 @@
1
1
  export declare const createEl: (elementType: "div" | "p" | "span", className?: string, textContent?: string) => HTMLElement;
2
2
  export declare const getFocusableElement: (el: HTMLElement | null, tabIndex?: number) => HTMLElement | undefined;
3
3
  export declare const getElementDataIndex: (el: HTMLElement | null) => number;
4
- export declare const queryClosest: <T extends HTMLElement = HTMLElement>(el: HTMLElement | EventTarget, cssQueryString: string) => T;
5
- export declare const getClosest: (el: HTMLElement, dataProperty: string) => HTMLElement;
6
- export declare const getClosestIndexItem: (el: HTMLElement) => HTMLElement;
4
+ export declare const queryClosest: <T extends HTMLElement = HTMLElement>(el: HTMLElement | EventTarget | null, cssQueryString: string) => T | null;
5
+ export declare const getClosest: (el: HTMLElement, dataProperty: string) => HTMLElement | null;
6
+ export declare const getClosestIndexItem: (el: HTMLElement) => HTMLElement | null;
7
7
  export declare function getElementByDataIndex(c: HTMLElement | null, i: number | string, throwIfNotFound: true): HTMLElement;
8
8
  export declare function getElementByDataIndex(c: HTMLElement | null, i: number | string, throwIfNotFound?: false): HTMLElement | undefined;
9
9
  export declare const focusFirstFocusableElement: (el: HTMLElement | null, tabIndex?: number) => void;
10
- export declare const isSelectableElement: (el?: HTMLElement) => boolean;
10
+ export declare const isSelectableElement: (el?: HTMLElement | null) => boolean;
11
11
  export declare function getScrollbarSize(): number;
12
12
  export type MouseEventTypes = "dblclick" | "click";
13
13
  export declare const dispatchMouseEvent: (el: HTMLElement, type: MouseEventTypes) => void;