@tekkare/auriga 0.2.164 → 0.2.166

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.164"
7
+ "version": "0.2.166"
8
8
  }
@@ -45,7 +45,7 @@
45
45
  trueActiveMenu === item.name ? '' : 'hide',
46
46
  ]"
47
47
  >
48
- <slot :name="item.name" />
48
+ <slot :name="item.name?.replace(' ', '')" />
49
49
  </div>
50
50
  </div>
51
51
  </div>
@@ -144,6 +144,13 @@ export default defineComponent({
144
144
  trueActiveMenu.value = props.activeMenu;
145
145
  infoOpen.value = props.toolbarOpen;
146
146
  });
147
+ function toggleBodyOverflow(state) {
148
+ const body = document.querySelector("html");
149
+ if (body) {
150
+ state ? body.style.setProperty("overflow", "hidden") : body.style.removeProperty("overflow");
151
+ }
152
+ }
153
+ watch(infoOpen, toggleBodyOverflow, { immediate: true });
147
154
  function openMenu(item) {
148
155
  trueActiveMenu.value = item;
149
156
  emit("update:Menu", trueActiveMenu.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.164",
3
+ "version": "0.2.166",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",