@elliemae/ds-utilities 3.53.0-alpha.1 → 3.53.0-beta.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AppendComponentIfNotExistConfigT {
3
2
  Component: React.FC;
4
3
  parentVisibility?: string;
@@ -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): boolean;
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,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const useSetRef: (initial: unknown) => (import("react").MutableRefObject<unknown> | ((node: any) => void))[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ItemT = Record<string, string>;
3
2
  interface UseExpandStateArg {
4
3
  items?: ItemT[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const useIsShowingEllipsis: <T extends HTMLElement | null = HTMLElement | null>() => {
3
2
  setElement: import("react").Dispatch<import("react").SetStateAction<T | undefined>>;
4
3
  isShowingEllipsis: boolean;
@@ -1,3 +1,3 @@
1
- export declare const useNativeIntersectionObserver: <T extends HTMLElement>(el: T | null, callback: (entry: Omit<IntersectionObserverEntry, 'target'> & {
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<'width' | 'height', number>;
2
+ export declare const useOnElementResize: <T extends HTMLElement>(targetRef: React.RefObject<T>) => Record<"width" | "height", number>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type HandlerT = (measures: {
3
2
  width: number;
4
3
  height: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  /**
3
2
  * commonly used functions
4
3
  * Add a level of indirection to lodash so we can replace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-utilities",
3
- "version": "3.53.0-alpha.1",
3
+ "version": "3.53.0-beta.10",
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.12.0",
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-focus-trap": "3.53.0-alpha.1",
53
- "@elliemae/ds-hooks-is-mobile": "3.53.0-alpha.1",
54
- "@elliemae/ds-hooks-on-blur-out": "3.53.0-alpha.1",
55
- "@elliemae/ds-hooks-on-first-focus-in": "3.53.0-alpha.1",
56
- "@elliemae/ds-props-helpers": "3.53.0-alpha.1"
52
+ "@elliemae/ds-hooks-focus-trap": "3.53.0-beta.10",
53
+ "@elliemae/ds-hooks-is-mobile": "3.53.0-beta.10",
54
+ "@elliemae/ds-hooks-on-blur-out": "3.53.0-beta.10",
55
+ "@elliemae/ds-hooks-on-first-focus-in": "3.53.0-beta.10",
56
+ "@elliemae/ds-props-helpers": "3.53.0-beta.10"
57
57
  },
58
58
  "devDependencies": {
59
- "@elliemae/pui-cli": "9.0.0-next.63",
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.53.0-alpha.1"
63
+ "@elliemae/ds-monorepo-devops": "3.53.0-beta.10"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "lodash-es": "^4.17.21",