@operato/shell
Advanced tools
Comparing version 0.3.21 to 0.3.22
@@ -6,2 +6,11 @@ # Change Log | ||
### [0.3.22](https://github.com/hatiolab/operato/compare/v0.3.21...v0.3.22) (2022-01-30) | ||
### :rocket: New Features | ||
* started help and layout module ([08f875c](https://github.com/hatiolab/operato/commit/08f875cd30aa914901c249c8c0b462ce4a151c23)) | ||
### [0.3.21](https://github.com/hatiolab/operato/compare/v0.3.20...v0.3.21) (2022-01-29) | ||
@@ -8,0 +17,0 @@ |
@@ -15,3 +15,3 @@ export declare const UPDATE_PAGE = "UPDATE_PAGE"; | ||
*/ | ||
export declare const navigate: (location: string, replace: string) => void; | ||
export declare const navigate: (location: string, replace?: boolean | undefined) => void; | ||
export declare const navigateWithSilence: ({ pathname: path, search, params }: { | ||
@@ -18,0 +18,0 @@ pathname: string; |
@@ -0,4 +1,6 @@ | ||
import { LazyStore } from 'pwa-helpers/lazy-reducer-enhancer.js'; | ||
import { Action, Store } from 'redux'; | ||
declare global { | ||
var __REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any; | ||
} | ||
export declare const store: import("redux").Store<unknown, import("redux").Action<any>>; | ||
export declare const store: Store<unknown, Action<any>> & LazyStore; |
@@ -11,3 +11,2 @@ import { lazyReducerEnhancer } from 'pwa-helpers/lazy-reducer-enhancer.js'; | ||
// Initially loaded reducers. | ||
// @ts-ignore | ||
store.addReducers({ | ||
@@ -14,0 +13,0 @@ app, |
@@ -6,3 +6,3 @@ { | ||
"author": "heartyoh", | ||
"version": "0.3.21", | ||
"version": "0.3.22", | ||
"main": "dist/src/index.js", | ||
@@ -38,4 +38,4 @@ "module": "dist/src/index.js", | ||
"@material/mwc-icon-button": "^0.25.3", | ||
"@operato/styles": "^0.3.21", | ||
"@operato/utils": "^0.3.21", | ||
"@operato/styles": "^0.3.22", | ||
"@operato/utils": "^0.3.22", | ||
"lit": "^2.0.2", | ||
@@ -79,3 +79,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "defcbbc48c0e5404961a5ba854c9f8efbd7412d1" | ||
"gitHead": "368032e9ae07d6e82a2d7f35486f67a197db179c" | ||
} |
@@ -22,3 +22,3 @@ import { getPathInfo } from '@operato/utils' | ||
*/ | ||
export const navigate = (location: string, replace: string) => { | ||
export const navigate = (location: string, replace?: boolean) => { | ||
if (replace) history.replaceState(history.state, '', location) | ||
@@ -25,0 +25,0 @@ else history.pushState({}, '', location) |
@@ -1,3 +0,3 @@ | ||
import { lazyReducerEnhancer } from 'pwa-helpers/lazy-reducer-enhancer.js' | ||
import { applyMiddleware, combineReducers, compose, createStore } from 'redux' | ||
import { lazyReducerEnhancer, LazyStore } from 'pwa-helpers/lazy-reducer-enhancer.js' | ||
import { Action, applyMiddleware, combineReducers, compose, createStore, Store } from 'redux' | ||
import thunk from 'redux-thunk' | ||
@@ -16,3 +16,3 @@ | ||
export const store = createStore( | ||
export const store: Store<unknown, Action<any>> & LazyStore = createStore( | ||
state => state, | ||
@@ -23,3 +23,2 @@ devCompose(lazyReducerEnhancer(combineReducers), applyMiddleware(thunk)) | ||
// Initially loaded reducers. | ||
// @ts-ignore | ||
store.addReducers({ | ||
@@ -26,0 +25,0 @@ app, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138338
Updated@operato/styles@^0.3.22
Updated@operato/utils@^0.3.22