bfg-common 1.4.156 → 1.4.158

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.
@@ -55,44 +55,44 @@
55
55
 
56
56
  <div class="nav-content">
57
57
  <template v-for="(item, key) in props.navigationItems" :key="key">
58
- <template v-for="(item2, key2) in item" :key="item2.id">
59
- <ui-tooltip
60
- :id="`tooltip-nav-${key}-${key2}`"
61
- :test-id="`tooltip-nav-${key}-${key2}`"
62
- size="md"
63
- menu
64
- >
65
- <template #target>
66
- <div
67
- :id="`tooltip-nav-${key}-${key2}`"
68
- class="popped tooltip inline-block content-toggle-tooltip"
58
+ <ui-tooltip
59
+ v-for="(item2, key2) in item"
60
+ :id="`tooltip-nav-${key}-${key2}`"
61
+ :key="item2.id"
62
+ :test-id="`tooltip-nav-${key}-${key2}`"
63
+ size="md"
64
+ menu
65
+ >
66
+ <template #target>
67
+ <div
68
+ :id="`tooltip-nav-${key}-${key2}`"
69
+ class="popped tooltip inline-block content-toggle-tooltip"
70
+ >
71
+ <nuxt-link
72
+ :id="`nav-item-${key}-${key2}`"
73
+ :data-id="item2.testId"
74
+ class="nav-link"
75
+ active-class="active"
76
+ :to="item2.to"
77
+ @click="emits('hide-main-menu')"
69
78
  >
70
- <nuxt-link
71
- :id="`nav-item-${key}-${key2}`"
72
- :data-id="item2.testId"
73
- class="nav-link"
74
- active-class="active"
75
- :to="item2.to"
76
- @click="emits('hide-main-menu')"
77
- >
78
- <ui-icon-main-navigation-panel
79
- :name="item2.iconName"
80
- width="20px"
81
- height="20px"
82
- />
83
- <span class="nav-text">{{ item2.title }}</span>
84
- </nuxt-link>
85
- </div>
86
- </template>
87
- <template #content>
88
- {{ item2.title }}
89
- </template>
90
- </ui-tooltip>
91
- <div
92
- v-show="key !== props.navigationItems.length - 1"
93
- class="nav-divider"
94
- />
95
- </template>
79
+ <ui-icon-main-navigation-panel
80
+ :name="item2.iconName"
81
+ width="20px"
82
+ height="20px"
83
+ />
84
+ <span class="nav-text">{{ item2.title }}</span>
85
+ </nuxt-link>
86
+ </div>
87
+ </template>
88
+ <template #content>
89
+ {{ item2.title }}
90
+ </template>
91
+ </ui-tooltip>
92
+ <div
93
+ v-show="key !== props.navigationItems.length - 1"
94
+ class="nav-divider"
95
+ />
96
96
  </template>
97
97
  </div>
98
98
  </div>
@@ -169,6 +169,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
169
169
  }
170
170
  }
171
171
  }
172
+ &:not(.collapsed) {
173
+ :deep(.tooltip-container-hover) {
174
+ display: none;
175
+ }
176
+ }
172
177
 
173
178
  .tools {
174
179
  display: flex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.156",
4
+ "version": "1.4.158",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",