@milaboratories/uikit 2.2.81 → 2.2.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/uikit",
3
- "version": "2.2.81",
3
+ "version": "2.2.82",
4
4
  "type": "module",
5
5
  "main": "dist/pl-uikit.js",
6
6
  "module": "dist/pl-uikit.js",
@@ -31,9 +31,9 @@
31
31
  "yarpm": "^1.2.0",
32
32
  "svgo": "^3.3.2",
33
33
  "@types/d3": "^7.4.3",
34
+ "@platforma-sdk/model": "^1.33.10",
34
35
  "@milaboratories/eslint-config": "^1.0.4",
35
- "@milaboratories/helpers": "^1.6.12",
36
- "@platforma-sdk/model": "^1.33.10"
36
+ "@milaboratories/helpers": "^1.6.12"
37
37
  },
38
38
  "scripts": {
39
39
  "dev": "vite",
@@ -108,7 +108,7 @@ const onOver = async () => {
108
108
 
109
109
  clearTimeout();
110
110
 
111
- await utils.delay(100);
111
+ await utils.delay(props.openDelay ?? 100);
112
112
 
113
113
  if (data.over) {
114
114
  showTooltip();
@@ -154,7 +154,7 @@ onUnmounted(() => {
154
154
  <slot />
155
155
  <Teleport v-if="$slots['tooltip'] && data.open" to="body">
156
156
  <Transition name="tooltip-transition">
157
- <div v-if="data.tooltipOpen" class="pl-tooltip__container" :style="style">
157
+ <div v-if="data.tooltipOpen" class="pl-tooltip__container" :style="style" @click.stop>
158
158
  <div ref="tooltip" class="pl-tooltip" :style="tooltipStyle" :class="position" @mouseover="onOver" @mouseleave="onLeave">
159
159
  <!-- should be one line -->
160
160
  <div><slot name="tooltip" /></div>