bfg-common 1.5.404 → 1.5.406

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.
@@ -98,14 +98,14 @@ const onShowTooltip = (): void => {
98
98
  if (isTooltipOpen && process.client) {
99
99
  // Перед открытием текущего тултипа отправляем событие, чтобы все остальные экземпляры закрылись
100
100
  window.dispatchEvent(
101
- new CustomEvent<string>('tooltip-open', { detail: props.id })
101
+ new CustomEvent<string>('tooltip-open', { detail: props.helpId })
102
102
  )
103
103
  }
104
104
  isShowTooltip.value = isTooltipOpen
105
105
  }
106
106
  const closeOtherTooltips = (event: Event): void => {
107
107
  const activeTooltipId = (event as CustomEvent<string>).detail
108
- if (activeTooltipId !== props.id && isShowTooltip.value) {
108
+ if (activeTooltipId !== props.helpId && isShowTooltip.value) {
109
109
  isShowTooltip.value = false
110
110
  }
111
111
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.404",
4
+ "version": "1.5.406",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",