@elliemae/pui-app-sdk 2.16.1-beta.1 → 2.16.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.
@@ -15,13 +15,17 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
 
16
16
  const WindowSize = () => {
17
17
  (0, _react.useEffect)(() => {
18
- const observer = new ResizeObserver(entries => {
19
- (0, _pubsubJs.publish)(_constants.HOST_WINDOW_RESIZED, entries && entries[0]);
20
- });
21
- observer.observe(window.document.documentElement);
22
- return () => {
23
- observer.unobserve(window.document.documentElement);
24
- };
18
+ if (window.ResizeObserver) {
19
+ const observer = new ResizeObserver(entries => {
20
+ (0, _pubsubJs.publish)(_constants.HOST_WINDOW_RESIZED, entries && entries[0]);
21
+ });
22
+ observer.observe(window.document.documentElement);
23
+ return () => {
24
+ observer.unobserve(window.document.documentElement);
25
+ };
26
+ }
27
+
28
+ return () => {};
25
29
  }, []);
26
30
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
27
31
  };
@@ -5,13 +5,17 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  export const WindowSize = () => {
7
7
  useEffect(() => {
8
- const observer = new ResizeObserver(entries => {
9
- publish(HOST_WINDOW_RESIZED, entries && entries[0]);
10
- });
11
- observer.observe(window.document.documentElement);
12
- return () => {
13
- observer.unobserve(window.document.documentElement);
14
- };
8
+ if (window.ResizeObserver) {
9
+ const observer = new ResizeObserver(entries => {
10
+ publish(HOST_WINDOW_RESIZED, entries && entries[0]);
11
+ });
12
+ observer.observe(window.document.documentElement);
13
+ return () => {
14
+ observer.unobserve(window.document.documentElement);
15
+ };
16
+ }
17
+
18
+ return () => {};
15
19
  }, []);
16
20
  return /*#__PURE__*/_jsx(_Fragment, {});
17
21
  };
@@ -34,7 +34,7 @@ export declare const renderWithRedux: (ui: React.ReactElement, { initialState, s
34
34
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
35
35
  container: HTMLElement;
36
36
  baseElement: Element;
37
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format/build/types").PrettyFormatOptions | undefined) => void;
37
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
38
38
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
39
39
  unmount: () => void;
40
40
  asFragment: () => DocumentFragment;
@@ -37,7 +37,7 @@ export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, hi
37
37
  }>, import("redux").Dispatch<import("redux").AnyAction>>>>;
38
38
  container: HTMLElement;
39
39
  baseElement: Element;
40
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format/build/types").PrettyFormatOptions | undefined) => void;
40
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
41
41
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
42
42
  unmount: () => void;
43
43
  asFragment: () => DocumentFragment;
@@ -8,7 +8,7 @@ export declare const renderWithRouter: (ui: React.ReactElement, { route, history
8
8
  history: History<unknown>;
9
9
  container: HTMLElement;
10
10
  baseElement: Element;
11
- debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format/build/types").PrettyFormatOptions | undefined) => void;
11
+ debug: (baseElement?: Element | DocumentFragment | (Element | DocumentFragment)[] | undefined, maxLength?: number | undefined, options?: import("pretty-format").PrettyFormatOptions | undefined) => void;
12
12
  rerender: (ui: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => void;
13
13
  unmount: () => void;
14
14
  asFragment: () => DocumentFragment;
@@ -11,7 +11,7 @@ export declare type EMUI = {
11
11
  };
12
12
  declare global {
13
13
  interface Window {
14
- gtmDataLayer: BAEvent[];
14
+ gtmDataLayer: Array<BAEvent>;
15
15
  emui: EMUI;
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "2.16.1-beta.1",
3
+ "version": "2.16.1",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -89,29 +89,29 @@
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@elliemae/app-react-dependencies": "^2.10.0",
92
- "@elliemae/ds-basic": "^1.59.4",
93
- "@elliemae/ds-date-picker": "^1.59.4",
94
- "@elliemae/ds-modal": "^1.59.4",
95
- "@elliemae/ds-popperjs": "^1.59.4",
92
+ "@elliemae/ds-basic": "^1.60.0",
93
+ "@elliemae/ds-date-picker": "^1.60.0",
94
+ "@elliemae/ds-modal": "^1.60.0",
95
+ "@elliemae/ds-popperjs": "^1.60.0",
96
96
  "@elliemae/em-ssf-guest": "^1.11.1",
97
- "@elliemae/pui-diagnostics": "^2.7.0",
97
+ "@elliemae/pui-diagnostics": "^2.7.1",
98
98
  "@elliemae/pui-micro-frontend-base": "^1.9.0",
99
- "@elliemae/pui-theme": "^2.2.5",
100
- "@elliemae/pui-user-monitoring": "^1.10.0"
99
+ "@elliemae/pui-theme": "^2.2.6",
100
+ "@elliemae/pui-user-monitoring": "^1.11.2"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@elliemae/app-react-dependencies": "~2.10.0",
104
104
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
105
- "@elliemae/ds-basic": "~1.59.6",
106
- "@elliemae/ds-date-picker": "~1.59.6",
107
- "@elliemae/ds-modal": "~1.59.6",
108
- "@elliemae/ds-popperjs": "~1.59.6",
105
+ "@elliemae/ds-basic": "~1.60.0",
106
+ "@elliemae/ds-date-picker": "~1.60.0",
107
+ "@elliemae/ds-modal": "~1.60.0",
108
+ "@elliemae/ds-popperjs": "~1.60.0",
109
109
  "@elliemae/em-ssf-guest": "~1.11.1",
110
- "@elliemae/pui-cli": "~5.17.0",
110
+ "@elliemae/pui-cli": "~5.17.3",
111
111
  "@elliemae/pui-diagnostics": "~2.7.1",
112
- "@elliemae/pui-e2e-test-sdk": "~6.6.0",
112
+ "@elliemae/pui-e2e-test-sdk": "~6.7.0",
113
113
  "@elliemae/pui-micro-frontend-base": "~1.9.0",
114
114
  "@elliemae/pui-theme": "~2.2.6",
115
- "@elliemae/pui-user-monitoring": "~1.11.1"
115
+ "@elliemae/pui-user-monitoring": "~1.11.2"
116
116
  }
117
117
  }