@kenyaemr/esm-patient-flags-app 5.4.2-pre.2203 → 5.4.2-pre.2230

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.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +20 -82
  2. package/dist/144.js +2 -0
  3. package/dist/144.js.map +1 -0
  4. package/dist/158.js +2 -0
  5. package/dist/158.js.map +1 -0
  6. package/dist/247.js +1 -0
  7. package/dist/247.js.map +1 -0
  8. package/dist/300.js +1 -0
  9. package/dist/335.js +1 -0
  10. package/dist/36.js +2 -0
  11. package/dist/36.js.map +1 -0
  12. package/dist/41.js +2 -0
  13. package/dist/41.js.map +1 -0
  14. package/dist/431.js +1 -0
  15. package/dist/431.js.map +1 -0
  16. package/dist/512.js +2 -0
  17. package/dist/512.js.map +1 -0
  18. package/dist/537.js +1 -0
  19. package/dist/537.js.map +1 -0
  20. package/dist/{757.js → 55.js} +1 -1
  21. package/dist/714.js +2 -0
  22. package/dist/714.js.LICENSE.txt +29 -0
  23. package/dist/714.js.map +1 -0
  24. package/dist/763.js +1 -0
  25. package/dist/763.js.map +1 -0
  26. package/dist/913.js +2 -0
  27. package/dist/{591.js.map → 913.js.map} +1 -1
  28. package/dist/984.js +1 -0
  29. package/dist/984.js.map +1 -0
  30. package/dist/{319.js → 99.js} +1 -1
  31. package/dist/main.js +1 -1
  32. package/dist/main.js.map +1 -1
  33. package/dist/openmrs-esm-patient-flags-app.js +1 -1
  34. package/dist/openmrs-esm-patient-flags-app.js.buildmanifest.json +212 -110
  35. package/dist/openmrs-esm-patient-flags-app.js.map +1 -1
  36. package/dist/routes.json +1 -1
  37. package/package.json +4 -1
  38. package/src/declarations.d.ts +0 -25
  39. package/src/navbar/navbar-action-button.component.tsx +2 -5
  40. package/src/navbar/navbar-action-button.scss +1 -1
  41. package/dist/130.js +0 -2
  42. package/dist/130.js.LICENSE.txt +0 -7
  43. package/dist/130.js.map +0 -1
  44. package/dist/241.js +0 -2
  45. package/dist/241.js.map +0 -1
  46. package/dist/316.js +0 -2
  47. package/dist/316.js.map +0 -1
  48. package/dist/574.js +0 -1
  49. package/dist/589.js +0 -1
  50. package/dist/589.js.map +0 -1
  51. package/dist/591.js +0 -2
  52. package/dist/784.js +0 -2
  53. package/dist/784.js.map +0 -1
  54. package/dist/807.js +0 -1
  55. package/dist/811.js +0 -1
  56. package/dist/811.js.map +0 -1
  57. package/dist/929.js +0 -2
  58. package/dist/929.js.map +0 -1
  59. package/dist/966.js +0 -2
  60. package/dist/966.js.map +0 -1
  61. /package/dist/{316.js.LICENSE.txt → 144.js.LICENSE.txt} +0 -0
  62. /package/dist/{966.js.LICENSE.txt → 158.js.LICENSE.txt} +0 -0
  63. /package/dist/{929.js.LICENSE.txt → 36.js.LICENSE.txt} +0 -0
  64. /package/dist/{784.js.LICENSE.txt → 41.js.LICENSE.txt} +0 -0
  65. /package/dist/{241.js.LICENSE.txt → 512.js.LICENSE.txt} +0 -0
  66. /package/dist/{591.js.LICENSE.txt → 913.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-flags-app",
3
- "version": "5.4.2-pre.2203",
3
+ "version": "5.4.2-pre.2230",
4
4
  "description": "Patient flags microfrontend for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-patient-flags-app.js",
6
6
  "main": "src/index.ts",
@@ -46,5 +46,8 @@
46
46
  "react-i18next": "11.x",
47
47
  "react-router-dom": "6.x"
48
48
  },
49
+ "devDependencies": {
50
+ "webpack": "^5.99.9"
51
+ },
49
52
  "stableVersion": "5.4.1"
50
53
  }
@@ -1,27 +1,2 @@
1
1
  declare module '*.css';
2
2
  declare module '*.scss';
3
- declare module '@carbon/react';
4
- declare module 'react-aria' {
5
- export const I18nProvider: (...args: any) => JSX.Element;
6
- export { DateValue } from '@react-types/datepicker';
7
- export const mergeProps: any;
8
- export const useLocale: any;
9
- export const useDateField: any;
10
- export const useDatePicker: any;
11
- export const useDateSegment: any;
12
- export const useFocusRing: any;
13
- export const useHover: any;
14
- export const useObjectRef: any;
15
- }
16
- declare module 'react-aria' {
17
- export const I18nProvider: (...args: any) => JSX.Element;
18
- export { DateValue } from '@react-types/datepicker';
19
- export const mergeProps: any;
20
- export const useLocale: any;
21
- export const useDateField: any;
22
- export const useDatePicker: any;
23
- export const useDateSegment: any;
24
- export const useFocusRing: any;
25
- export const useHover: any;
26
- export const useObjectRef: any;
27
- }
@@ -16,9 +16,8 @@ const NavbarActionButton: React.FC<NavbarActionButtonProps> = () => {
16
16
  const [showOverlay, setShowOverlay] = React.useState(false);
17
17
  const [searchTerm, setSearchTerm] = useState('');
18
18
 
19
- const toggleOverlay = (event) => {
19
+ const toggleOverlay = () => {
20
20
  setShowOverlay((prevState) => !prevState);
21
- event.stopPropagation();
22
21
  };
23
22
  const ref = useOnClickOutside<HTMLDivElement>(toggleOverlay, showOverlay);
24
23
 
@@ -42,9 +41,7 @@ const NavbarActionButton: React.FC<NavbarActionButtonProps> = () => {
42
41
  <HeaderGlobalAction
43
42
  aria-label={t('kenyaEMRModules', 'KenyaEMR Modules')}
44
43
  aria-labelledby={t('kenyaEMRModules', 'KenyaEMR Modules')}
45
- enterDelayMs={500}
46
- name="kenyaEMRModules"
47
- onClick={toggleOverlay}
44
+ onClick={() => toggleOverlay()}
48
45
  className={showOverlay ? styles.active : styles.slotStyles}>
49
46
  {showOverlay ? <Close size={20} /> : <Switcher size={20} />}
50
47
  </HeaderGlobalAction>
@@ -1,7 +1,7 @@
1
1
  @use '@carbon/layout';
2
2
  @use '@carbon/colors';
3
3
  @use '@carbon/type';
4
- @import '~@openmrs/esm-styleguide/src/vars';
4
+ @use '~@openmrs/esm-styleguide/src/vars' as *;
5
5
 
6
6
  .slotStyles {
7
7
  background-color: transparent;