@elliemae/pui-app-sdk 4.2.0 → 4.2.2

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.
@@ -29,7 +29,7 @@ __export(app_exports, {
29
29
  module.exports = __toCommonJS(app_exports);
30
30
  var import_jsx_runtime = require("react/jsx-runtime");
31
31
  var import_react = require("react");
32
- var import_iframe = __toESM(require("./iframe/index.html?resource"));
32
+ var import_iframe = __toESM(require("./iframe.html?resource"));
33
33
  var import_iframe2 = require("./iframe/index.js");
34
34
  var import_use_frame_loaded = require("./use-frame-loaded.js");
35
35
  var import_use_app_will_render = require("../micro-app/use-app-will-render.js");
@@ -22,14 +22,14 @@ __export(micro_iframe_app_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(micro_iframe_app_exports);
24
24
  var import_react = require("react");
25
- var import_react = require("react");
25
+ var import_react2 = require("react");
26
26
  var import_use_previous = require("../use-previous.js");
27
27
  var import_app = require("./app.js");
28
- const MicroIFrameApp = (0, import_react.memo)(({ entityId = null, ...rest }) => {
29
- const [disposePrevApp, setDisposePrevApp] = (0, import_react.useState)(false);
30
- const [appKey, setAppKey] = (0, import_react.useState)(Date.now());
28
+ const MicroIFrameApp = (0, import_react2.memo)(({ entityId = null, ...rest }) => {
29
+ const [disposePrevApp, setDisposePrevApp] = (0, import_react2.useState)(false);
30
+ const [appKey, setAppKey] = (0, import_react2.useState)(Date.now());
31
31
  const prevEntityId = (0, import_use_previous.usePrevious)(entityId);
32
- (0, import_react.useEffect)(() => {
32
+ (0, import_react2.useEffect)(() => {
33
33
  if (prevEntityId !== entityId && prevEntityId) {
34
34
  setDisposePrevApp(true);
35
35
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { memo, useState } from "react";
3
- import frameHtml from "./iframe/index.html?resource";
3
+ import frameHtml from "./iframe.html?resource";
4
4
  import { IFrame } from "./iframe/index.js";
5
5
  import { useFrameLoaded } from "./use-frame-loaded.js";
6
6
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "4.2.0",
3
+ "version": "4.2.2",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -8,10 +8,10 @@
8
8
  ],
9
9
  "main": "./dist/cjs/index.js",
10
10
  "module": "./dist/esm/index.js",
11
- "types": "./dist/types/index.d.ts",
11
+ "types": "./dist/types/lib/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
- "types": "./dist/types/index.d.ts",
14
+ "types": "./dist/types/lib/index.d.ts",
15
15
  "import": "./dist/esm/index.js",
16
16
  "require": "./dist/cjs/index.js"
17
17
  },
@@ -20,32 +20,32 @@
20
20
  "require": "./dist/cjs/utils/storybook/*.js"
21
21
  },
22
22
  "./auth": {
23
- "types": "./dist/types/utils/auth/index.d.ts",
23
+ "types": "./dist/types/lib/utils/auth/index.d.ts",
24
24
  "import": "./dist/esm/utils/auth/index.js",
25
25
  "require": "./dist/cjs/utils/auth/index.js"
26
26
  },
27
27
  "./app-config": {
28
- "types": "./dist/types/utils/app-config/index.d.ts",
28
+ "types": "./dist/types/lib/utils/app-config/index.d.ts",
29
29
  "import": "./dist/esm/utils/app-config/index.js",
30
30
  "require": "./dist/cjs/utils/app-config/index.js"
31
31
  },
32
32
  "./http-client": {
33
- "types": "./dist/types/communication/http-client/index.d.ts",
33
+ "types": "./dist/types/lib/communication/http-client/index.d.ts",
34
34
  "import": "./dist/esm/communication/http-client/index.js",
35
35
  "require": "./dist/cjs/communication/http-client/index.js"
36
36
  },
37
37
  "./analytics": {
38
- "types": "./dist/types/analytics/index.d.ts",
38
+ "types": "./dist/types/lib/analytics/index.d.ts",
39
39
  "import": "./dist/esm/analytics/index.js",
40
40
  "require": "./dist/cjs/analytics/index.js"
41
41
  },
42
42
  "./data": {
43
- "types": "./dist/types/data/index.d.ts",
43
+ "types": "./dist/types/lib/data/index.d.ts",
44
44
  "import": "./dist/esm/data/index.js",
45
45
  "require": "./dist/cjs/data/index.js"
46
46
  },
47
47
  "./micro-frontend": {
48
- "types": "./dist/types/micro-frontend.d.ts",
48
+ "types": "./dist/types/lib/micro-frontend.d.ts",
49
49
  "import": "./dist/esm/micro-frontend.js",
50
50
  "require": "./dist/cjs/micro-frontend.js"
51
51
  }
@@ -107,48 +107,48 @@
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@elliemae/app-react-dependencies": "^4.0.0",
110
- "@elliemae/ds-basic": "^3.8.1",
111
- "@elliemae/ds-button": "^3.8.1",
112
- "@elliemae/ds-controlled-form": "^3.8.1",
113
- "@elliemae/ds-date-picker": "^3.8.1",
114
- "@elliemae/ds-date-range-picker": "^3.8.1",
115
- "@elliemae/ds-dialog": "^3.8.1",
116
- "@elliemae/ds-form": "^3.8.1",
117
- "@elliemae/ds-form-layout-blocks": "^3.8.1",
118
- "@elliemae/ds-grid": "^3.8.1",
119
- "@elliemae/ds-loading-indicator": "^3.8.1",
120
- "@elliemae/ds-modal": "^3.8.1",
121
- "@elliemae/ds-popperjs": "^3.8.1",
122
- "@elliemae/ds-toast": "^3.8.1",
110
+ "@elliemae/ds-basic": "^3.9.0",
111
+ "@elliemae/ds-button": "^3.9.0",
112
+ "@elliemae/ds-controlled-form": "^3.9.0",
113
+ "@elliemae/ds-date-picker": "^3.9.0",
114
+ "@elliemae/ds-date-range-picker": "^3.9.0",
115
+ "@elliemae/ds-dialog": "^3.9.0",
116
+ "@elliemae/ds-form": "^3.9.0",
117
+ "@elliemae/ds-form-layout-blocks": "^3.9.0",
118
+ "@elliemae/ds-grid": "^3.9.0",
119
+ "@elliemae/ds-loading-indicator": "^3.9.0",
120
+ "@elliemae/ds-modal": "^3.9.0",
121
+ "@elliemae/ds-popperjs": "^3.9.0",
122
+ "@elliemae/ds-toast": "^3.9.0",
123
123
  "@elliemae/em-ssf-guest": "^1.11.2",
124
124
  "@elliemae/pui-diagnostics": "^2.7.4",
125
125
  "@elliemae/pui-micro-frontend-base": "^1.13.0",
126
- "@elliemae/pui-scripting-object": "^1.6.1",
126
+ "@elliemae/pui-scripting-object": "^1.7.0",
127
127
  "@elliemae/pui-theme": "^2.6.0",
128
128
  "@elliemae/pui-user-monitoring": "^1.16.0"
129
129
  },
130
130
  "devDependencies": {
131
131
  "@elliemae/app-react-dependencies": "~4.0.0",
132
132
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
133
- "@elliemae/ds-basic": "~3.8.1",
134
- "@elliemae/ds-button": "~3.8.1",
135
- "@elliemae/ds-controlled-form": "~3.8.1",
136
- "@elliemae/ds-date-picker": "~3.8.1",
137
- "@elliemae/ds-date-range-picker": "~3.8.1",
138
- "@elliemae/ds-dialog": "~3.8.1",
139
- "@elliemae/ds-form": "~3.8.1",
140
- "@elliemae/ds-form-layout-blocks": "~3.8.1",
141
- "@elliemae/ds-grid": "~3.8.1",
142
- "@elliemae/ds-loading-indicator": "~3.8.1",
143
- "@elliemae/ds-modal": "~3.8.1",
144
- "@elliemae/ds-popperjs": "~3.8.1",
145
- "@elliemae/ds-toast": "~3.8.1",
133
+ "@elliemae/ds-basic": "~3.9.0",
134
+ "@elliemae/ds-button": "~3.9.0",
135
+ "@elliemae/ds-controlled-form": "~3.9.0",
136
+ "@elliemae/ds-date-picker": "~3.9.0",
137
+ "@elliemae/ds-date-range-picker": "~3.9.0",
138
+ "@elliemae/ds-dialog": "~3.9.0",
139
+ "@elliemae/ds-form": "~3.9.0",
140
+ "@elliemae/ds-form-layout-blocks": "~3.9.0",
141
+ "@elliemae/ds-grid": "~3.9.0",
142
+ "@elliemae/ds-loading-indicator": "~3.9.0",
143
+ "@elliemae/ds-modal": "~3.9.0",
144
+ "@elliemae/ds-popperjs": "~3.9.0",
145
+ "@elliemae/ds-toast": "~3.9.0",
146
146
  "@elliemae/em-ssf-guest": "~1.11.2",
147
- "@elliemae/pui-cli": "~7.6.1",
147
+ "@elliemae/pui-cli": "~7.8.1",
148
148
  "@elliemae/pui-diagnostics": "~2.7.4",
149
149
  "@elliemae/pui-e2e-test-sdk": "~7.5.0",
150
150
  "@elliemae/pui-micro-frontend-base": "~1.13.0",
151
- "@elliemae/pui-scripting-object": "~1.6.1",
151
+ "@elliemae/pui-scripting-object": "~1.7.0",
152
152
  "@elliemae/pui-theme": "~2.6.0",
153
153
  "@elliemae/pui-user-monitoring": "~1.16.0"
154
154
  }