@opengeoweb/snackbar 10.0.0 → 10.1.0
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/index.esm.js
CHANGED
|
@@ -574,8 +574,6 @@ var snackbarReducersMap = {
|
|
|
574
574
|
};
|
|
575
575
|
var snackbarMiddlewares = [snackbarListener.middleware];
|
|
576
576
|
var snackbarModuleConfig = {
|
|
577
|
-
// TODO: remove id in https://gitlab.com/opengeoweb/opengeoweb/-/issues/5561
|
|
578
|
-
id: 'snackbar-module',
|
|
579
577
|
reducersMap: snackbarReducersMap,
|
|
580
578
|
middlewares: snackbarMiddlewares
|
|
581
579
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SnackbarWrapper } from './SnackbarWrapper';
|
|
3
|
+
type Story = StoryObj<typeof SnackbarWrapper>;
|
|
4
|
+
declare const meta: Meta<typeof SnackbarWrapper>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const SnackbarDemo: Story;
|
|
8
|
+
export declare const TwoSnackbarsDemo: Story;
|
|
@@ -2,7 +2,6 @@ import { ListenerMiddleware, ReducersMapObject } from '@reduxjs/toolkit';
|
|
|
2
2
|
export declare const snackbarReducersMap: ReducersMapObject;
|
|
3
3
|
export declare const snackbarMiddlewares: ListenerMiddleware[];
|
|
4
4
|
export declare const snackbarModuleConfig: {
|
|
5
|
-
id: string;
|
|
6
5
|
reducersMap: ReducersMapObject<any, import("redux").Action<any>>;
|
|
7
6
|
middlewares: ListenerMiddleware[];
|
|
8
7
|
};
|
package/src/lib/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare const createSnackbarTestStore: (preloadedState?: ConfigureStoreOptions['preloadedState']) =>
|
|
1
|
+
import { Store } from '@reduxjs/toolkit';
|
|
2
|
+
import { ConfigureStoreOptions } from '@reduxjs/toolkit/dist/configureStore';
|
|
3
|
+
export declare const createSnackbarTestStore: (preloadedState?: ConfigureStoreOptions['preloadedState']) => Store;
|