@avakhula/ui 0.0.109 → 0.0.111

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.109",
3
+ "version": "0.0.111",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
package/src/App.vue CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <script>
8
8
  import IbInput from "./components/Form/Input/Input.vue";
9
- import { TooltipDirective as Tooltip } from "./directives/tooltip/tooltip";
9
+ import { TooltipDirective as Tooltip } from "./index";
10
10
  export default {
11
11
  directives: {
12
12
  Tooltip
@@ -16,9 +16,11 @@ export default class Tooltip {
16
16
  }
17
17
 
18
18
  createTooltip(el, text) {
19
- if (!text.trim().length) {
20
- return;
21
- }
19
+ console.log('create tooltip')
20
+ console.log(text?.length);
21
+ // if (!text.length) {
22
+ // return;
23
+ // }
22
24
 
23
25
  const tooltipContainerStyles = `
24
26
  position: absolute;
@@ -2,9 +2,10 @@ import Tooltip from "./TooltipController";
2
2
 
3
3
  const tooltip = new Tooltip();
4
4
  const createTooltip = (el, binding) => {
5
- if (!tooltip.getTooltipContainer()) {
5
+ console.log('create tooltip from direcrive')
6
+ // if (!tooltip.getTooltipContainer()) {
6
7
  tooltip.createTooltip(el, binding.value);
7
- }
8
+ // }
8
9
  };
9
10
 
10
11
  const destroyTooltip = (event, el) => {