braid-design-system 33.2.1 → 33.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # braid-design-system
2
2
 
3
+ ## 33.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - **MenuRenderer, OverflowMenu:** Fixes a bug where menus could be obscured when rendered inside a `Dialog` or `Drawer` component. ([#1665](https://github.com/seek-oss/braid-design-system/pull/1665))
8
+
3
9
  ## 33.2.1
4
10
 
5
11
  ### Patch Changes
@@ -267,7 +267,7 @@ const MenuRenderer = ({
267
267
  dispatch({ type: BACKDROP_CLICK });
268
268
  },
269
269
  position: "fixed",
270
- zIndex: "dropdownBackdrop",
270
+ zIndex: "modal",
271
271
  top: 0,
272
272
  left: 0,
273
273
  className: lib_components_MenuRenderer_MenuRenderer_css_cjs.backdrop
@@ -303,7 +303,7 @@ function Menu({
303
303
  {
304
304
  role: "menu",
305
305
  position,
306
- zIndex: "dropdown",
306
+ zIndex: "modal",
307
307
  boxShadow: placement === "top" ? "small" : "medium",
308
308
  borderRadius,
309
309
  background: "surface",
@@ -264,7 +264,7 @@ const MenuRenderer = ({
264
264
  dispatch({ type: BACKDROP_CLICK });
265
265
  },
266
266
  position: "fixed",
267
- zIndex: "dropdownBackdrop",
267
+ zIndex: "modal",
268
268
  top: 0,
269
269
  left: 0,
270
270
  className: backdrop
@@ -300,7 +300,7 @@ function Menu({
300
300
  {
301
301
  role: "menu",
302
302
  position,
303
- zIndex: "dropdown",
303
+ zIndex: "modal",
304
304
  boxShadow: placement === "top" ? "small" : "medium",
305
305
  borderRadius,
306
306
  background: "surface",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-design-system",
3
- "version": "33.2.1",
3
+ "version": "33.2.2",
4
4
  "description": "Themeable design system for the SEEK Group",
5
5
  "homepage": "https://seek-oss.github.io/braid-design-system/",
6
6
  "bugs": {