@avakhula/ui 0.0.197 → 0.0.199

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": "@avakhula/ui",
3
- "version": "0.0.197",
3
+ "version": "0.0.199",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -146,11 +146,11 @@ export default {
146
146
  },
147
147
  tooltipIconText() {
148
148
  if (this.currentTypeSort === this.sortingTypes.TYPE_ASC) {
149
- return lang("sort_descending", this.LANG_COMPONENTS?.COMPONENT_SELECT);
149
+ return lang("sort_descending", this.langComponents?.COMPONENT_SELECT);
150
150
  } else if (this.currentTypeSort === this.sortingTypes.TYPE_DESC) {
151
- return lang("reset_sorting", this.LANG_COMPONENTS?.COMPONENT_SELECT);
151
+ return lang("reset_sorting", this.langComponents?.COMPONENT_SELECT);
152
152
  } else if (this.view !== this.sortingTypesView.GRID_VIEW) {
153
- return lang("sort_ascending", this.LANG_COMPONENTS?.COMPONENT_SELECT);
153
+ return lang("sort_ascending", this.langComponents?.COMPONENT_SELECT);
154
154
  }
155
155
  return "";
156
156
  },
@@ -39,6 +39,7 @@ const attachTooltipListeners = (el, binding) => {
39
39
  };
40
40
 
41
41
  const removeTooltipListeners = (el) => {
42
+ tooltip.destroyTooltip();
42
43
  el.removeEventListener("mouseenter", el.__tooltip_create);
43
44
  document.removeEventListener("mousemove", el.__tooltip_destroy);
44
45
  el.removeEventListener("focus", el.__tooltip_create);