diff --git a/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue b/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue
index 357d595f..f525fca5 100644
--- a/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue
+++ b/src/BIMDataComponents/BIMDataMenu/BIMDataMenu.vue
@@ -8,6 +8,7 @@
:class="[
item.divider ? 'bimdata-menu__item--divider' : '',
{ hover: isItemHover && currentItemText === item.text },
+ hasNoChildren(item) ? 'bimdata-menu__item--no-children' : '',
]"
@click.stop="onClick(item)"
@mouseover="onMouseOver(item)"
@@ -26,14 +27,31 @@
:style="{
'background-color':
isItemHover && currentItemText === item.text ? item.background : '',
+ display: 'flex',
}"
>
-
+
-
+
@@ -97,6 +120,10 @@ export default {
type: Boolean,
default: true,
},
+ childrenLeft: {
+ type: Boolean,
+ default: false,
+ },
},
emits: ["item-click"],
data() {
diff --git a/src/BIMDataComponents/BIMDataMenu/_BIMDataMenu.scss b/src/BIMDataComponents/BIMDataMenu/_BIMDataMenu.scss
index 2e390615..f50bf515 100644
--- a/src/BIMDataComponents/BIMDataMenu/_BIMDataMenu.scss
+++ b/src/BIMDataComponents/BIMDataMenu/_BIMDataMenu.scss
@@ -48,6 +48,9 @@
background-color: transparent;
}
}
+ &--no-children {
+ color: var(--color-silver-dark);
+ }
&__children {
overflow: auto;
padding: calc(var(--spacing-unit) / 2) 0;
diff --git a/src/web/views/Components/Menu/BasicMenu.vue b/src/web/views/Components/Menu/BasicMenu.vue
index 7b5075b9..88c94b51 100644
--- a/src/web/views/Components/Menu/BasicMenu.vue
+++ b/src/web/views/Components/Menu/BasicMenu.vue
@@ -9,15 +9,15 @@
class="bimdata-ds__demo__silver-light"
>
-
+
-
- {{ item.text }}
+
+
+
@@ -26,6 +26,10 @@
+
@@ -48,11 +52,9 @@