@openmrs/esm-react-utils 3.4.1-pre.151 → 3.4.1-pre.161
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/.turbo/turbo-build.log +13 -10
- package/__mocks__/openmrs-esm-state.mock.ts +1 -0
- package/dist/openmrs-esm-react-utils.js +1 -1
- package/dist/openmrs-esm-react-utils.js.LICENSE.txt +0 -9
- package/dist/openmrs-esm-react-utils.js.map +1 -1
- package/jest.config.js +3 -2
- package/package.json +7 -7
- package/src/Extension.tsx +30 -6
- package/src/ExtensionSlot.tsx +92 -67
- package/src/extensions.test.tsx +272 -0
- package/src/public.ts +0 -1
- package/src/setup-tests.js +2 -0
- package/src/useAssignedExtensionIds.ts +1 -1
- package/src/useAssignedExtensions.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
[36m@openmrs/esm-react-utils:build: [0mcache hit, replaying output [
|
|
1
|
+
[36m@openmrs/esm-react-utils:build: [0mcache hit, replaying output [2m8706ac0e88eeab47[0m
|
|
2
2
|
[36m@openmrs/esm-react-utils:build: [0m$ webpack --mode=production
|
|
3
|
-
[36m@openmrs/esm-react-utils:build: [0masset [1m[32mopenmrs-esm-react-utils.js[39m[22m
|
|
4
|
-
[36m@openmrs/esm-react-utils:build: [0morphan modules
|
|
3
|
+
[36m@openmrs/esm-react-utils:build: [0masset [1m[32mopenmrs-esm-react-utils.js[39m[22m 84.2 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: main) 2 related assets
|
|
4
|
+
[36m@openmrs/esm-react-utils:build: [0morphan modules 196 KiB [1m[33m[orphan][39m[22m 120 modules
|
|
5
5
|
[36m@openmrs/esm-react-utils:build: [0mruntime modules 2.14 KiB 8 modules
|
|
6
|
-
[36m@openmrs/esm-react-utils:build: [0mbuilt modules
|
|
7
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
8
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
9
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
10
|
-
[36m@openmrs/esm-react-utils:build: [0m [1m../esm-state/dist/openmrs-esm-state.js[39m[22m 7.52 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
6
|
+
[36m@openmrs/esm-react-utils:build: [0mbuilt modules 269 KiB [1m[33m[built][39m[22m
|
|
7
|
+
[36m@openmrs/esm-react-utils:build: [0m modules by path [1m../../../node_modules/lodash/*.js[39m[22m 61.2 KiB
|
|
8
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/lodash/isEqual.js[39m[22m 986 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
9
|
+
[36m@openmrs/esm-react-utils:build: [0m + 88 modules
|
|
11
10
|
[36m@openmrs/esm-react-utils:build: [0m modules by path [1mexternal "@openmrs/[39m[22m 168 bytes
|
|
12
11
|
[36m@openmrs/esm-react-utils:build: [0m [1mexternal "@openmrs/esm-config"[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
13
12
|
[36m@openmrs/esm-react-utils:build: [0m [1mexternal "@openmrs/esm-extensions"[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
14
13
|
[36m@openmrs/esm-react-utils:build: [0m + 2 modules
|
|
15
|
-
[36m@openmrs/esm-react-utils:build: [0m
|
|
16
|
-
[36m@openmrs/esm-react-utils:build: [
|
|
14
|
+
[36m@openmrs/esm-react-utils:build: [0m modules by path [1m../../../node_modules/systemjs-webpack-interop/[39m[22m 3.27 KiB
|
|
15
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js[39m[22m 89 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
16
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js[39m[22m 846 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
17
|
+
[36m@openmrs/esm-react-utils:build: [0m [1m../../../node_modules/systemjs-webpack-interop/public-path.js[39m[22m 2.36 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
18
|
+
[36m@openmrs/esm-react-utils:build: [0m + 8 modules
|
|
19
|
+
[36m@openmrs/esm-react-utils:build: [0mwebpack 5.70.0 compiled [1m[32msuccessfully[39m[22m in 9407 ms
|
|
@@ -64,6 +64,7 @@ export function getGlobalStore<TState = any>(
|
|
|
64
64
|
|
|
65
65
|
function instrumentedStore<T>(name: string, store: Store<T>) {
|
|
66
66
|
return {
|
|
67
|
+
action: jest.spyOn(store, "action"),
|
|
67
68
|
getState: jest.spyOn(store, "getState"),
|
|
68
69
|
setState: jest.spyOn(store, "setState"),
|
|
69
70
|
subscribe: jest.spyOn(store, "subscribe"),
|