@openmrs/esm-framework 8.0.1-pre.3758 → 8.0.1-pre.3765

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,3 +1,3 @@
1
- [0] Rspack compiled successfully in 6.83 s
1
+ [0] Rspack compiled successfully in 6.97 s
2
2
  [0] rspack --mode=production exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
@@ -4,7 +4,12 @@
4
4
 
5
5
  > **CustomOverflowMenu**(`__namedParameters`): `Element`
6
6
 
7
- Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L27)
7
+ Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:45](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L45)
8
+
9
+ A custom overflow menu that supports a text/icon trigger button instead of
10
+ Carbon's icon-only OverflowMenu trigger. Uses CSS-based show/hide rather
11
+ than Carbon's FloatingMenu portal, so keyboard behavior (Escape, arrow keys,
12
+ auto-focus) is implemented here to match the WAI-ARIA menu button pattern.
8
13
 
9
14
  ## Parameters
10
15
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **CustomOverflowMenuItem**(`props`): `Element`
6
6
 
7
- Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:76](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L76)
7
+ Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:162](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L162)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -2,9 +2,14 @@
2
2
 
3
3
  # Function: PatientBannerActionsMenu()
4
4
 
5
- > **PatientBannerActionsMenu**(`__namedParameters`): `Element`
5
+ > **PatientBannerActionsMenu**(`__namedParameters`): `null` \| `Element`
6
6
 
7
- Defined in: [packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx#L21)
7
+ Defined in: [packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx:27](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx#L27)
8
+
9
+ Overflow menu for the patient banner whose items come from an ExtensionSlot
10
+ rather than direct React children. Because cloneElement cannot inject props
11
+ into extension-rendered components, arrow key navigation is handled at the
12
+ container level via onKeyDown instead of delegating to Carbon's OverflowMenuItem.
8
13
 
9
14
  ## Parameters
10
15
 
@@ -14,4 +19,4 @@ Defined in: [packages/framework/esm-styleguide/src/patient-banner/actions-menu/p
14
19
 
15
20
  ## Returns
16
21
 
17
- `Element`
22
+ `null` \| `Element`
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **useCustomOverflowMenu**(): `CustomOverflowMenuContextValue`
6
6
 
7
- Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L14)
7
+ Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L26)
8
8
 
9
9
  ## Returns
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "8.0.1-pre.3758",
3
+ "version": "8.0.1-pre.3765",
4
4
  "license": "MPL-2.0",
5
5
  "type": "module",
6
6
  "module": "dist/openmrs-esm-framework.js",
@@ -60,24 +60,24 @@
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@openmrs/esm-api": "8.0.1-pre.3758",
64
- "@openmrs/esm-config": "8.0.1-pre.3758",
65
- "@openmrs/esm-context": "8.0.1-pre.3758",
66
- "@openmrs/esm-dynamic-loading": "8.0.1-pre.3758",
67
- "@openmrs/esm-emr-api": "8.0.1-pre.3758",
68
- "@openmrs/esm-error-handling": "8.0.1-pre.3758",
69
- "@openmrs/esm-expression-evaluator": "8.0.1-pre.3758",
70
- "@openmrs/esm-extensions": "8.0.1-pre.3758",
71
- "@openmrs/esm-feature-flags": "8.0.1-pre.3758",
72
- "@openmrs/esm-globals": "8.0.1-pre.3758",
73
- "@openmrs/esm-navigation": "8.0.1-pre.3758",
74
- "@openmrs/esm-offline": "8.0.1-pre.3758",
75
- "@openmrs/esm-react-utils": "8.0.1-pre.3758",
76
- "@openmrs/esm-routes": "8.0.1-pre.3758",
77
- "@openmrs/esm-state": "8.0.1-pre.3758",
78
- "@openmrs/esm-styleguide": "8.0.1-pre.3758",
79
- "@openmrs/esm-translations": "8.0.1-pre.3758",
80
- "@openmrs/esm-utils": "8.0.1-pre.3758"
63
+ "@openmrs/esm-api": "8.0.1-pre.3765",
64
+ "@openmrs/esm-config": "8.0.1-pre.3765",
65
+ "@openmrs/esm-context": "8.0.1-pre.3765",
66
+ "@openmrs/esm-dynamic-loading": "8.0.1-pre.3765",
67
+ "@openmrs/esm-emr-api": "8.0.1-pre.3765",
68
+ "@openmrs/esm-error-handling": "8.0.1-pre.3765",
69
+ "@openmrs/esm-expression-evaluator": "8.0.1-pre.3765",
70
+ "@openmrs/esm-extensions": "8.0.1-pre.3765",
71
+ "@openmrs/esm-feature-flags": "8.0.1-pre.3765",
72
+ "@openmrs/esm-globals": "8.0.1-pre.3765",
73
+ "@openmrs/esm-navigation": "8.0.1-pre.3765",
74
+ "@openmrs/esm-offline": "8.0.1-pre.3765",
75
+ "@openmrs/esm-react-utils": "8.0.1-pre.3765",
76
+ "@openmrs/esm-routes": "8.0.1-pre.3765",
77
+ "@openmrs/esm-state": "8.0.1-pre.3765",
78
+ "@openmrs/esm-styleguide": "8.0.1-pre.3765",
79
+ "@openmrs/esm-translations": "8.0.1-pre.3765",
80
+ "@openmrs/esm-utils": "8.0.1-pre.3765"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "dayjs": "1.x",
@@ -90,7 +90,7 @@
90
90
  "swr": "2.x"
91
91
  },
92
92
  "devDependencies": {
93
- "@openmrs/typedoc-plugin-file-categories": "8.0.1-pre.3758",
93
+ "@openmrs/typedoc-plugin-file-categories": "8.0.1-pre.3765",
94
94
  "@rspack/cli": "^1.3.11",
95
95
  "@rspack/core": "^1.3.11",
96
96
  "@vitest/coverage-v8": "^4.0.7",