@openmrs/esm-react-utils 5.6.1-pre.1820 → 5.6.1-pre.1824

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 8261bebbb7fd7e44
1
+ @openmrs/esm-react-utils:build: cache hit, replaying output 13075de94292c834
2
2
  @openmrs/esm-react-utils:build: asset openmrs-esm-react-utils.js 65.5 KiB [emitted] [minimized] (name: main) 1 related asset
3
3
  @openmrs/esm-react-utils:build: orphan modules 178 KiB [orphan] 126 modules
4
4
  @openmrs/esm-react-utils:build: runtime modules 937 bytes 4 modules
@@ -12,4 +12,4 @@
12
12
  @openmrs/esm-react-utils:build:  ./src/index.ts + 126 modules 179 KiB [built] [code generated]
13
13
  @openmrs/esm-react-utils:build:  ../esm-state/dist/openmrs-esm-state.js 4.66 KiB [built] [code generated]
14
14
  @openmrs/esm-react-utils:build:  + 5 modules
15
- @openmrs/esm-react-utils:build: webpack 5.88.0 compiled successfully in 4655 ms
15
+ @openmrs/esm-react-utils:build: webpack 5.88.0 compiled successfully in 4750 ms
package/mock.tsx CHANGED
@@ -4,11 +4,9 @@ import { configSchema } from '@openmrs/esm-config/mock';
4
4
  import { getExtensionStore, getExtensionInternalStore } from '@openmrs/esm-extensions/mock';
5
5
  import { createGlobalStore } from '@openmrs/esm-state/mock';
6
6
  import { usePagination as realUsePagination } from './src/index';
7
- export { isDesktop, useStore, useStoreWithActions, createUseStore } from './src/index';
7
+ export { ConfigurableLink, isDesktop, useStore, useStoreWithActions, createUseStore } from './src/index';
8
8
  import * as utils from '@openmrs/esm-utils';
9
9
 
10
- export const ConfigurableLink = ({ to, children }) => <a href={to}>{children}</a>;
11
-
12
10
  export const ComponentContext = React.createContext(null);
13
11
 
14
12
  export const openmrsComponentDecorator = jest.fn().mockImplementation(() => (component) => component);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-react-utils",
3
- "version": "5.6.1-pre.1820",
3
+ "version": "5.6.1-pre.1824",
4
4
  "license": "MPL-2.0",
5
5
  "description": "React utilities for OpenMRS.",
6
6
  "browser": "dist/openmrs-esm-react-utils.js",
@@ -61,15 +61,15 @@
61
61
  "swr": "2.x"
62
62
  },
63
63
  "devDependencies": {
64
- "@openmrs/esm-api": "5.6.1-pre.1820",
65
- "@openmrs/esm-config": "5.6.1-pre.1820",
66
- "@openmrs/esm-context": "5.6.1-pre.1820",
67
- "@openmrs/esm-error-handling": "5.6.1-pre.1820",
68
- "@openmrs/esm-extensions": "5.6.1-pre.1820",
69
- "@openmrs/esm-feature-flags": "5.6.1-pre.1820",
70
- "@openmrs/esm-globals": "5.6.1-pre.1820",
71
- "@openmrs/esm-navigation": "5.6.1-pre.1820",
72
- "@openmrs/esm-utils": "5.6.1-pre.1820",
64
+ "@openmrs/esm-api": "5.6.1-pre.1824",
65
+ "@openmrs/esm-config": "5.6.1-pre.1824",
66
+ "@openmrs/esm-context": "5.6.1-pre.1824",
67
+ "@openmrs/esm-error-handling": "5.6.1-pre.1824",
68
+ "@openmrs/esm-extensions": "5.6.1-pre.1824",
69
+ "@openmrs/esm-feature-flags": "5.6.1-pre.1824",
70
+ "@openmrs/esm-globals": "5.6.1-pre.1824",
71
+ "@openmrs/esm-navigation": "5.6.1-pre.1824",
72
+ "@openmrs/esm-utils": "5.6.1-pre.1824",
73
73
  "dayjs": "^1.10.8",
74
74
  "i18next": "^21.10.0",
75
75
  "react": "^18.1.0",