@elliemae/ds-utilities 3.53.1-rc.0 → 3.54.0-beta.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/types/addComponentIfNotExists.d.ts +0 -1
- package/dist/types/deprecated/reactTypesUtility.d.ts +2 -1
- package/dist/types/deprecated/useSetRef.d.ts +0 -1
- package/dist/types/hooks/useExpandState.d.ts +0 -1
- package/dist/types/hooks/useIsShowingEllipsis.d.ts +0 -1
- package/dist/types/hooks/useNativeIntersectionObserver.d.ts +1 -1
- package/dist/types/hooks/useOnElementResize.d.ts +1 -1
- package/dist/types/hooks/useResizeObserver.d.ts +0 -1
- package/dist/types/utils.d.ts +0 -1
- package/package.json +9 -9
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare function isClassComponent(component: any): boolean;
|
|
2
3
|
export declare function isFunctionComponent(component: any): boolean;
|
|
3
4
|
export declare function isReactComponent(component: any): boolean;
|
|
4
|
-
export declare function isElement(element: Record<string, unknown> | null | undefined):
|
|
5
|
+
export declare function isElement(element: Record<string, unknown> | null | undefined): element is Record<string, unknown> & React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
5
6
|
export declare function isCompositeTypeElement(element: Record<string, unknown> | null | undefined): boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const useNativeIntersectionObserver: <T extends HTMLElement>(el: T | null, callback: (entry: Omit<IntersectionObserverEntry,
|
|
1
|
+
export declare const useNativeIntersectionObserver: <T extends HTMLElement>(el: T | null, callback: (entry: Omit<IntersectionObserverEntry, "target"> & {
|
|
2
2
|
target: T;
|
|
3
3
|
}) => void) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
export declare const useOnElementResize: <T extends HTMLElement>(targetRef: React.RefObject<T>) => Record<
|
|
2
|
+
export declare const useOnElementResize: <T extends HTMLElement>(targetRef: React.RefObject<T>) => Record<"width" | "height", number>;
|
package/dist/types/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-utilities",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.54.0-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Utilities",
|
|
6
6
|
"files": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"typeSafety": false
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elliemae/pui-theme": "~2.
|
|
43
|
+
"@elliemae/pui-theme": "~2.13.0",
|
|
44
44
|
"hotkeys-js": "~3.10.2",
|
|
45
45
|
"raf": "~3.4.1",
|
|
46
46
|
"react-dom": "^18.3.1",
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
"use-force-update": "~1.0.11",
|
|
50
50
|
"use-measure": "~0.3.0",
|
|
51
51
|
"use-onclickoutside": "~0.4.1",
|
|
52
|
-
"@elliemae/ds-hooks-
|
|
53
|
-
"@elliemae/ds-hooks-
|
|
54
|
-
"@elliemae/ds-hooks-on-
|
|
55
|
-
"@elliemae/ds-
|
|
56
|
-
"@elliemae/ds-
|
|
52
|
+
"@elliemae/ds-hooks-is-mobile": "3.54.0-beta.1",
|
|
53
|
+
"@elliemae/ds-hooks-focus-trap": "3.54.0-beta.1",
|
|
54
|
+
"@elliemae/ds-hooks-on-blur-out": "3.54.0-beta.1",
|
|
55
|
+
"@elliemae/ds-props-helpers": "3.54.0-beta.1",
|
|
56
|
+
"@elliemae/ds-hooks-on-first-focus-in": "3.54.0-beta.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@elliemae/pui-cli": "9.0.0-next.
|
|
59
|
+
"@elliemae/pui-cli": "9.0.0-next.65",
|
|
60
60
|
"jest": "~29.7.0",
|
|
61
61
|
"jest-cli": "~29.7.0",
|
|
62
62
|
"react-dom": "^18.3.1",
|
|
63
|
-
"@elliemae/ds-monorepo-devops": "3.
|
|
63
|
+
"@elliemae/ds-monorepo-devops": "3.54.0-beta.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"lodash-es": "^4.17.21",
|