@elliemae/pui-app-sdk 3.0.0-beta.3 → 3.0.0-beta.4
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/data/store.js +1 -2
- package/dist/cjs/utils/storybook/webpack.js +9 -1
- package/dist/cjs/view/header/logo-region/index.js +1 -1
- package/dist/cjs/view/header/nav-region/notification/index.js +1 -1
- package/dist/cjs/view/header/nav-region/user/index.js +1 -1
- package/dist/es/data/store.js +1 -2
- package/dist/es/view/header/logo-region/index.js +1 -1
- package/dist/es/view/header/nav-region/notification/index.js +1 -1
- package/dist/es/view/header/nav-region/user/index.js +1 -1
- package/dist/types/data/store.d.ts +1 -1
- package/dist/types/utils/storybook/main.d.cts +9 -1
- package/dist/types/utils/storybook/webpack.d.cts +9 -1
- package/dist/types/utils/testing/render-with-redux.d.ts +1 -1
- package/dist/types/utils/testing/render-with-router-redux.d.ts +1 -1
- package/package.json +5 -5
package/dist/cjs/data/store.js
CHANGED
|
@@ -28,7 +28,6 @@ __export(exports, {
|
|
|
28
28
|
});
|
|
29
29
|
var import_toolkit = __toModule(require("@reduxjs/toolkit"));
|
|
30
30
|
var import_redux_injectors = __toModule(require("redux-injectors"));
|
|
31
|
-
var import_connected_react_router = __toModule(require("connected-react-router"));
|
|
32
31
|
var import_redux_saga = __toModule(require("redux-saga"));
|
|
33
32
|
var import_reducers = __toModule(require("./reducers"));
|
|
34
33
|
const import_meta = {};
|
|
@@ -48,7 +47,7 @@ const createStore = (initialState, sagaMiddleware, history, middlewareConfig = {
|
|
|
48
47
|
];
|
|
49
48
|
const baseStore = (0, import_toolkit.configureStore)({
|
|
50
49
|
reducer: rootReducer,
|
|
51
|
-
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware)
|
|
50
|
+
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware),
|
|
52
51
|
devTools: true,
|
|
53
52
|
preloadedState: initialState,
|
|
54
53
|
enhancers
|
|
@@ -4,7 +4,15 @@ const {
|
|
|
4
4
|
} = require("@elliemae/pui-cli/lib/webpack/webpack.storybook");
|
|
5
5
|
module.exports = {
|
|
6
6
|
stories: [{ directory: "../lib" }],
|
|
7
|
-
addons: [
|
|
7
|
+
addons: [
|
|
8
|
+
{
|
|
9
|
+
name: "storybook-addon-turbo-build",
|
|
10
|
+
options: {
|
|
11
|
+
optimizationLevel: 2,
|
|
12
|
+
esbuildMinifyOptions: { target: "es2020" }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
],
|
|
8
16
|
managerWebpack,
|
|
9
17
|
webpackFinal,
|
|
10
18
|
core: {
|
|
@@ -29,4 +29,4 @@ var import_logo = __toModule(require("./logo.svg"));
|
|
|
29
29
|
const LogoContainer = import_styled_components.default.div`
|
|
30
30
|
align-self: center;
|
|
31
31
|
`;
|
|
32
|
-
const LogoRegion = () => /* @__PURE__ */ React.createElement(LogoContainer, null, /* @__PURE__ */ React.createElement(import_logo.
|
|
32
|
+
const LogoRegion = () => /* @__PURE__ */ React.createElement(LogoContainer, null, /* @__PURE__ */ React.createElement(import_logo.default, null));
|
|
@@ -28,4 +28,4 @@ var import_index = __toModule(require("./index.svg"));
|
|
|
28
28
|
const Notification = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
|
|
29
29
|
href: "#",
|
|
30
30
|
"aria-label": "Notifications"
|
|
31
|
-
}, /* @__PURE__ */ React.createElement(import_index.
|
|
31
|
+
}, /* @__PURE__ */ React.createElement(import_index.default, null)));
|
|
@@ -28,4 +28,4 @@ var import_index = __toModule(require("./index.svg"));
|
|
|
28
28
|
const User = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
|
|
29
29
|
href: "#",
|
|
30
30
|
"aria-label": "profile"
|
|
31
|
-
}, /* @__PURE__ */ React.createElement(import_index.
|
|
31
|
+
}, /* @__PURE__ */ React.createElement(import_index.default, null)));
|
package/dist/es/data/store.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { configureStore } from "@reduxjs/toolkit";
|
|
2
2
|
import { createInjectorsEnhancer, forceReducerReload } from "redux-injectors";
|
|
3
|
-
import { routerMiddleware } from "connected-react-router";
|
|
4
3
|
import createSagaMiddleware from "redux-saga";
|
|
5
4
|
import { createReducer } from "./reducers";
|
|
6
5
|
const rootReducer = createReducer();
|
|
@@ -19,7 +18,7 @@ const createStore = (initialState, sagaMiddleware, history, middlewareConfig = {
|
|
|
19
18
|
];
|
|
20
19
|
const baseStore = configureStore({
|
|
21
20
|
reducer: rootReducer,
|
|
22
|
-
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware)
|
|
21
|
+
middleware: (getDefaultMiddleware) => getDefaultMiddleware(middlewareConfig).concat(sagaMiddleware),
|
|
23
22
|
devTools: true,
|
|
24
23
|
preloadedState: initialState,
|
|
25
24
|
enhancers
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import NotificationIcon from "./index.svg";
|
|
2
2
|
const Notification = () => /* @__PURE__ */ React.createElement("li", null, /* @__PURE__ */ React.createElement("a", {
|
|
3
3
|
href: "#",
|
|
4
4
|
"aria-label": "Notifications"
|
|
@@ -33,7 +33,7 @@ export declare const createAppStore: (initialState: import("redux").CombinedStat
|
|
|
33
33
|
} | import("redux").AnyAction | {
|
|
34
34
|
payload: import("./breakpoint").Breakpoints;
|
|
35
35
|
type: string;
|
|
36
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
36
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
37
37
|
waitMessage: import("./wait-message/reducer").WaitMessageState;
|
|
38
38
|
error: import("./error").ErrorState;
|
|
39
39
|
breakpoint: import("./breakpoint").BreakpointState;
|
|
@@ -31,7 +31,15 @@ declare function _exports(viteBuilder?: boolean): {
|
|
|
31
31
|
stories: {
|
|
32
32
|
directory: string;
|
|
33
33
|
}[];
|
|
34
|
-
addons:
|
|
34
|
+
addons: {
|
|
35
|
+
name: string;
|
|
36
|
+
options: {
|
|
37
|
+
optimizationLevel: number;
|
|
38
|
+
esbuildMinifyOptions: {
|
|
39
|
+
target: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}[];
|
|
35
43
|
managerWebpack: any;
|
|
36
44
|
webpackFinal: any;
|
|
37
45
|
core: {
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
export declare const stories: {
|
|
2
2
|
directory: string;
|
|
3
3
|
}[];
|
|
4
|
-
export declare const addons:
|
|
4
|
+
export declare const addons: {
|
|
5
|
+
name: string;
|
|
6
|
+
options: {
|
|
7
|
+
optimizationLevel: number;
|
|
8
|
+
esbuildMinifyOptions: {
|
|
9
|
+
target: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
5
13
|
export declare namespace core {
|
|
6
14
|
const builder: string;
|
|
7
15
|
}
|
|
@@ -16,7 +16,7 @@ export declare const renderWithRedux: (ui: React.ReactElement, { initialState, s
|
|
|
16
16
|
} | import("redux").AnyAction | {
|
|
17
17
|
payload: import("../../data/breakpoint").Breakpoints;
|
|
18
18
|
type: string;
|
|
19
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
19
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
20
20
|
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
21
21
|
error: import("../../data/error").ErrorState;
|
|
22
22
|
breakpoint: import("../../data/breakpoint").BreakpointState;
|
|
@@ -19,7 +19,7 @@ export declare const renderWithRouterRedux: (ui: React.ReactElement, { route, hi
|
|
|
19
19
|
} | import("redux").AnyAction | {
|
|
20
20
|
payload: import("../../data/breakpoint").Breakpoints;
|
|
21
21
|
type: string;
|
|
22
|
-
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux
|
|
22
|
+
}, import("@reduxjs/toolkit").MiddlewareArray<import("redux-saga").SagaMiddleware<object> | import("redux-thunk").ThunkMiddleware<import("redux").CombinedState<{
|
|
23
23
|
waitMessage: import("../../data/wait-message/reducer").WaitMessageState;
|
|
24
24
|
error: import("../../data/error").ErrorState;
|
|
25
25
|
breakpoint: import("../../data/breakpoint").BreakpointState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.4",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"url": "http://git.elliemae.io/platform-ui/pui-app-sdk.git"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
|
-
"npm": ">=
|
|
51
|
-
"node": ">=
|
|
50
|
+
"npm": ">=8",
|
|
51
|
+
"node": ">=16"
|
|
52
52
|
},
|
|
53
53
|
"author": "ICE MT",
|
|
54
54
|
"license": "MIT",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"storybook:docs": "pui-cli storybook --docs",
|
|
73
73
|
"storybook:docs:build": "pui-cli storybook -b --docs",
|
|
74
74
|
"storybook:build": "pui-cli storybook -b",
|
|
75
|
-
"storybook:prod": "http-server -g -p 11000 demo",
|
|
75
|
+
"storybook:prod": "http-server -g -b -p 11000 demo",
|
|
76
76
|
"setup": "rimraf -r node_modules && rimraf package-lock.json && npm i",
|
|
77
77
|
"test": "pui-cli test -p",
|
|
78
78
|
"test:fix": "pui-cli test -f",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@elliemae/ds-modal": "~1.60.0",
|
|
108
108
|
"@elliemae/ds-popperjs": "~1.60.0",
|
|
109
109
|
"@elliemae/em-ssf-guest": "~1.11.1",
|
|
110
|
-
"@elliemae/pui-cli": "6.0.0-beta.
|
|
110
|
+
"@elliemae/pui-cli": "6.0.0-beta.16",
|
|
111
111
|
"@elliemae/pui-diagnostics": "~2.7.1",
|
|
112
112
|
"@elliemae/pui-e2e-test-sdk": "~6.8.0",
|
|
113
113
|
"@elliemae/pui-micro-frontend-base": "~1.9.0",
|