@openmrs/esm-react-utils 5.2.1-pre.1161 → 5.2.1-pre.1168

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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-react-utils:build: cache hit, replaying output ce6a9631d92c986f
1
+ @openmrs/esm-react-utils:build: cache hit, replaying output e0a23b98ed18dea0
2
2
  @openmrs/esm-react-utils:build: Browserslist: caniuse-lite is outdated. Please run:
3
3
  @openmrs/esm-react-utils:build:  npx update-browserslist-db@latest
4
4
  @openmrs/esm-react-utils:build:  Why you should do it regularly: https://github.com/browserslist/update-db#readme
@@ -14,4 +14,4 @@
14
14
  @openmrs/esm-react-utils:build:  external "@openmrs/esm-extensions" 42 bytes [built] [code generated]
15
15
  @openmrs/esm-react-utils:build:  + 2 modules
16
16
  @openmrs/esm-react-utils:build:  + 5 modules
17
- @openmrs/esm-react-utils:build: webpack 5.88.0 compiled successfully in 4694 ms
17
+ @openmrs/esm-react-utils:build: webpack 5.88.0 compiled successfully in 4618 ms
@@ -1,9 +1,11 @@
1
1
  export const showNotification = jest.fn();
2
2
  export const showActionableNotification = jest.fn();
3
+ export const showSnackbar = jest.fn();
3
4
  export const showToast = jest.fn();
4
5
 
5
6
  beforeEach(() => {
6
7
  showNotification.mockReset();
7
8
  showActionableNotification.mockReset();
8
9
  showToast.mockReset();
10
+ showSnackbar.mockReset();
9
11
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-react-utils",
3
- "version": "5.2.1-pre.1161",
3
+ "version": "5.2.1-pre.1168",
4
4
  "license": "MPL-2.0",
5
5
  "description": "React utilities for OpenMRS.",
6
6
  "browser": "dist/openmrs-esm-react-utils.js",
@@ -57,12 +57,12 @@
57
57
  "swr": "2.x"
58
58
  },
59
59
  "devDependencies": {
60
- "@openmrs/esm-api": "5.2.1-pre.1161",
61
- "@openmrs/esm-config": "5.2.1-pre.1161",
62
- "@openmrs/esm-error-handling": "5.2.1-pre.1161",
63
- "@openmrs/esm-extensions": "5.2.1-pre.1161",
64
- "@openmrs/esm-feature-flags": "5.2.1-pre.1161",
65
- "@openmrs/esm-globals": "5.2.1-pre.1161",
60
+ "@openmrs/esm-api": "5.2.1-pre.1168",
61
+ "@openmrs/esm-config": "5.2.1-pre.1168",
62
+ "@openmrs/esm-error-handling": "5.2.1-pre.1168",
63
+ "@openmrs/esm-extensions": "5.2.1-pre.1168",
64
+ "@openmrs/esm-feature-flags": "5.2.1-pre.1168",
65
+ "@openmrs/esm-globals": "5.2.1-pre.1168",
66
66
  "dayjs": "^1.10.8",
67
67
  "i18next": "^21.10.0",
68
68
  "react": "^18.1.0",