@1024pix/pix-ui 55.32.0 → 55.32.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.
@@ -35,9 +35,13 @@ export default class PixMNavigation extends Component {
35
35
  }
36
36
 
37
37
  @action
38
- closeNavigation() {
39
- this.navigationMenuOpened = false;
40
- this.router.off('routeDidChange', this.closeNavigation);
38
+ closeNavigation(event) {
39
+ const disabledElement = event?.srcElement?.closest('[aria-disabled=true]');
40
+
41
+ if (!disabledElement && this.navigationMenuOpened) {
42
+ this.navigationMenuOpened = false;
43
+ this.router.off('routeDidChange', this.closeNavigation);
44
+ }
41
45
  }
42
46
 
43
47
  get navigationId() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "55.32.0",
3
+ "version": "55.32.2",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"