@elliemae/pui-app-sdk 4.7.0 → 4.7.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.
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/utils/storybook/manager.js +2 -2
- package/dist/cjs/utils/storybook/preview.js +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/utils/storybook/manager.js +2 -2
- package/dist/esm/utils/storybook/preview.js +1 -1
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/utils/storybook/manager.d.ts +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -83,6 +83,7 @@ __export(lib_exports, {
|
|
|
83
83
|
getStore: () => import_store3.getStore,
|
|
84
84
|
globalConstants: () => import_constants.default,
|
|
85
85
|
history: () => import_history.browserHistory,
|
|
86
|
+
initSBManager: () => import_manager.initSBManager,
|
|
86
87
|
initServiceWorker: () => import_service_worker.initServiceWorker,
|
|
87
88
|
isCIBuild: () => import_helpers.isCIBuild,
|
|
88
89
|
isProd: () => import_helpers.isProd,
|
|
@@ -168,6 +169,7 @@ var import_render_with_state_addons = require("./utils/testing/render-with-state
|
|
|
168
169
|
var import_helpers2 = require("./api/helpers.js");
|
|
169
170
|
var import_users = require("./api/users/index.js");
|
|
170
171
|
var import_decorator = require("./view/storybook/decorator.js");
|
|
172
|
+
var import_manager = require("./utils/storybook/manager.js");
|
|
171
173
|
var import_autocomplete = require("./view/fields/autocomplete/index.js");
|
|
172
174
|
var import_error_toast = require("./view/error-toast/index.js");
|
|
173
175
|
var import_navigation_prompt = require("./view/modals/navigation-prompt/index.js");
|
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var manager_exports = {};
|
|
20
20
|
__export(manager_exports, {
|
|
21
|
-
|
|
21
|
+
initSBManager: () => initSBManager
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(manager_exports);
|
|
24
24
|
var import_addons = require("@storybook/addons");
|
|
25
25
|
var import_theme = require("./theme.js");
|
|
26
|
-
const
|
|
26
|
+
const initSBManager = (theme) => {
|
|
27
27
|
import_addons.addons.setConfig({
|
|
28
28
|
panelPosition: "bottom",
|
|
29
29
|
theme: (0, import_theme.createTheme)(theme)
|
package/dist/esm/index.js
CHANGED
|
@@ -71,6 +71,7 @@ import { RenderWithStateAddOns } from "./utils/testing/render-with-state-addons.
|
|
|
71
71
|
import { getApiActionCreator, getSelectField } from "./api/helpers.js";
|
|
72
72
|
import { getUser } from "./api/users/index.js";
|
|
73
73
|
import { withAppDecorator } from "./view/storybook/decorator.js";
|
|
74
|
+
import { initSBManager } from "./utils/storybook/manager.js";
|
|
74
75
|
import { Autocomplete } from "./view/fields/autocomplete/index.js";
|
|
75
76
|
import { ErrorToast } from "./view/error-toast/index.js";
|
|
76
77
|
import { NavigationPrompt } from "./view/modals/navigation-prompt/index.js";
|
|
@@ -166,6 +167,7 @@ export {
|
|
|
166
167
|
getStore,
|
|
167
168
|
default2 as globalConstants,
|
|
168
169
|
browserHistory as history,
|
|
170
|
+
initSBManager,
|
|
169
171
|
initServiceWorker,
|
|
170
172
|
isCIBuild,
|
|
171
173
|
isProd,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { addons } from "@storybook/addons";
|
|
2
2
|
import { createTheme } from "./theme.js";
|
|
3
|
-
const
|
|
3
|
+
const initSBManager = (theme) => {
|
|
4
4
|
addons.setConfig({
|
|
5
5
|
panelPosition: "bottom",
|
|
6
6
|
theme: createTheme(theme)
|
|
7
7
|
});
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
initSBManager
|
|
11
11
|
};
|
|
@@ -42,6 +42,7 @@ export { RenderWithStateAddOns } from './utils/testing/render-with-state-addons.
|
|
|
42
42
|
export { getApiActionCreator, getSelectField } from './api/helpers.js';
|
|
43
43
|
export { getUser as fetchUserSettings } from './api/users/index.js';
|
|
44
44
|
export { withAppDecorator } from './view/storybook/decorator.js';
|
|
45
|
+
export { initSBManager } from './utils/storybook/manager.js';
|
|
45
46
|
export { Autocomplete } from './view/fields/autocomplete/index.js';
|
|
46
47
|
export { ErrorToast } from './view/error-toast/index.js';
|
|
47
48
|
export { NavigationPrompt } from './view/modals/navigation-prompt/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function initSBManager(theme: any): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.2",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"@elliemae/em-ssf-guest": "~1.11.2",
|
|
152
152
|
"@elliemae/pui-cli": "~7.21.0",
|
|
153
153
|
"@elliemae/pui-diagnostics": "~2.7.5",
|
|
154
|
-
"@elliemae/pui-doc-gen": "~1.
|
|
154
|
+
"@elliemae/pui-doc-gen": "~1.4.1",
|
|
155
155
|
"@elliemae/pui-e2e-test-sdk": "~7.7.1",
|
|
156
156
|
"@elliemae/pui-micro-frontend-base": "~1.14.0",
|
|
157
157
|
"@elliemae/pui-scripting-object": "~1.17.0",
|