mediacube-ui 0.1.90 → 0.1.92

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.92](https://github.com/MediaCubeCo/mcui/compare/v0.1.91...v0.1.92) (2023-07-25)
6
+
7
+ ### [0.1.91](https://github.com/MediaCubeCo/mcui/compare/v0.1.90...v0.1.91) (2023-07-25)
8
+
5
9
  ### [0.1.90](https://github.com/MediaCubeCo/mcui/compare/v0.1.89...v0.1.90) (2023-07-24)
6
10
 
7
11
  ### [0.1.89](https://github.com/MediaCubeCo/mcui/compare/v0.1.88...v0.1.89) (2023-07-24)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -95,8 +95,6 @@ export default {
95
95
  height: $value;
96
96
  min-width: $value;
97
97
  min-height: $value;
98
- max-width: $value;
99
- max-height: $value;
100
98
  }
101
99
  }
102
100
  }
@@ -189,6 +189,14 @@ export default {
189
189
  const route = this.preparedMainMenu.find(r => r.to === newRoute.path)
190
190
  route?.menu && !this.compact && (route.open = true)
191
191
  }
192
+ this.$nextTick(() => {
193
+ this.preparedMainMenu.forEach(mi => {
194
+ const exact_route = mi.to === newRoute.path
195
+ const route_menu_match_new_route =
196
+ mi.menu && mi.menu.some(mim => mim.to?.match(newRoute.path) || newRoute.path?.match(mim.to))
197
+ if (!(exact_route || route_menu_match_new_route)) mi.open = false
198
+ })
199
+ })
192
200
  },
193
201
  },
194
202
  created() {