@mekari/pixel3-tooltip 0.0.12-dev.0 → 0.0.12
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.
|
@@ -109,6 +109,8 @@ var PixelTooltipDirective = {
|
|
|
109
109
|
el.addEventListener("blur", el.$pixelTooltip.hide);
|
|
110
110
|
},
|
|
111
111
|
beforeUnmount(el) {
|
|
112
|
+
if (tooltipState.value.isOpen)
|
|
113
|
+
el.$pixelTooltip.hide();
|
|
112
114
|
el.removeEventListener("mouseover", el.$pixelTooltip.show);
|
|
113
115
|
el.removeEventListener("focus", el.$pixelTooltip.show);
|
|
114
116
|
el.removeEventListener("mouseleave", el.$pixelTooltip.hide);
|
package/dist/index.js
CHANGED
|
@@ -366,6 +366,8 @@ var PixelTooltipDirective = {
|
|
|
366
366
|
el.addEventListener("blur", el.$pixelTooltip.hide);
|
|
367
367
|
},
|
|
368
368
|
beforeUnmount(el) {
|
|
369
|
+
if (tooltipState.value.isOpen)
|
|
370
|
+
el.$pixelTooltip.hide();
|
|
369
371
|
el.removeEventListener("mouseover", el.$pixelTooltip.show);
|
|
370
372
|
el.removeEventListener("focus", el.$pixelTooltip.show);
|
|
371
373
|
el.removeEventListener("mouseleave", el.$pixelTooltip.hide);
|
package/dist/index.mjs
CHANGED
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/tooltip.hooks.ts":{"bytes":3115,"imports":[{"path":"@floating-ui/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/tooltip.props.ts":{"bytes":1768,"imports":[],"format":"esm"},"src/tooltip.tsx":{"bytes":1632,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/singleton-tooltip.tsx":{"bytes":781,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"}],"format":"esm"},"src/v-tooltip.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/tooltip.hooks.ts":{"bytes":3115,"imports":[{"path":"@floating-ui/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/tooltip.props.ts":{"bytes":1768,"imports":[],"format":"esm"},"src/tooltip.tsx":{"bytes":1632,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/singleton-tooltip.tsx":{"bytes":781,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"}],"format":"esm"},"src/v-tooltip.ts":{"bytes":4547,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"src/singleton-tooltip.tsx","kind":"import-statement","original":"./singleton-tooltip"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":176,"imports":[{"path":"src/tooltip.tsx","kind":"import-statement","original":"./tooltip"},{"path":"src/v-tooltip.ts","kind":"import-statement","original":"./v-tooltip"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@floating-ui/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":177},"src/tooltip.tsx":{"bytesInOutput":1532},"src/modules/tooltip.hooks.ts":{"bytesInOutput":3431},"src/modules/tooltip.props.ts":{"bytesInOutput":717},"src/v-tooltip.ts":{"bytesInOutput":3761},"src/singleton-tooltip.tsx":{"bytesInOutput":566}},"bytes":11396},"dist/singleton-tooltip.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@floating-ui/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/singleton-tooltip.tsx","inputs":{"src/singleton-tooltip.tsx":{"bytesInOutput":749},"src/modules/tooltip.props.ts":{"bytesInOutput":257},"src/modules/tooltip.hooks.ts":{"bytesInOutput":1096}},"bytes":3229},"dist/tooltip.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@floating-ui/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/tooltip.tsx","inputs":{"src/tooltip.tsx":{"bytesInOutput":1665},"src/modules/tooltip.hooks.ts":{"bytesInOutput":2498},"src/modules/tooltip.props.ts":{"bytesInOutput":460}},"bytes":5721},"dist/v-tooltip.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@floating-ui/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/v-tooltip.ts","inputs":{"src/v-tooltip.ts":{"bytesInOutput":3926},"src/singleton-tooltip.tsx":{"bytesInOutput":566},"src/modules/tooltip.props.ts":{"bytesInOutput":257},"src/modules/tooltip.hooks.ts":{"bytesInOutput":1125}},"bytes":7046},"dist/modules/tooltip.hooks.js":{"imports":[{"path":"@floating-ui/vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/tooltip.hooks.ts","inputs":{"src/modules/tooltip.hooks.ts":{"bytesInOutput":3590}},"bytes":4639},"dist/modules/tooltip.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/tooltip.props.ts","inputs":{"src/modules/tooltip.props.ts":{"bytesInOutput":1004}},"bytes":1983}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/tooltip.hooks.ts":{"bytes":3115,"imports":[{"path":"@floating-ui/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/tooltip.props.ts":{"bytes":1768,"imports":[],"format":"esm"},"src/tooltip.tsx":{"bytes":1632,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/singleton-tooltip.tsx":{"bytes":781,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"}],"format":"esm"},"src/v-tooltip.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/tooltip.hooks.ts":{"bytes":3115,"imports":[{"path":"@floating-ui/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/tooltip.props.ts":{"bytes":1768,"imports":[],"format":"esm"},"src/tooltip.tsx":{"bytes":1632,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/singleton-tooltip.tsx":{"bytes":781,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/tooltip.props.ts","kind":"import-statement","original":"./modules/tooltip.props"},{"path":"src/modules/tooltip.hooks.ts","kind":"import-statement","original":"./modules/tooltip.hooks"}],"format":"esm"},"src/v-tooltip.ts":{"bytes":4547,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"src/singleton-tooltip.tsx","kind":"import-statement","original":"./singleton-tooltip"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":176,"imports":[{"path":"src/tooltip.tsx","kind":"import-statement","original":"./tooltip"},{"path":"src/v-tooltip.ts","kind":"import-statement","original":"./v-tooltip"}],"format":"esm"}},"outputs":{"dist/index.mjs":{"imports":[{"path":"dist/chunk-PXSEEOWC.mjs","kind":"import-statement"},{"path":"dist/chunk-J4VBCFLW.mjs","kind":"import-statement"},{"path":"dist/chunk-TJZMP2Q3.mjs","kind":"import-statement"},{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpTooltip","PixelTooltipDirective"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":289},"dist/singleton-tooltip.mjs":{"imports":[{"path":"dist/chunk-TJZMP2Q3.mjs","kind":"import-statement"},{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpSingletonTooltip"],"entryPoint":"src/singleton-tooltip.tsx","inputs":{},"bytes":187},"dist/tooltip.mjs":{"imports":[{"path":"dist/chunk-PXSEEOWC.mjs","kind":"import-statement"},{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpTooltip"],"entryPoint":"src/tooltip.tsx","inputs":{},"bytes":169},"dist/chunk-PXSEEOWC.mjs":{"imports":[{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["MpTooltip"],"inputs":{"src/tooltip.tsx":{"bytesInOutput":1391}},"bytes":1544},"dist/v-tooltip.mjs":{"imports":[{"path":"dist/chunk-J4VBCFLW.mjs","kind":"import-statement"},{"path":"dist/chunk-TJZMP2Q3.mjs","kind":"import-statement"},{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["PixelTooltipDirective"],"entryPoint":"src/v-tooltip.ts","inputs":{},"bytes":224},"dist/chunk-J4VBCFLW.mjs":{"imports":[{"path":"dist/chunk-TJZMP2Q3.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["PixelTooltipDirective"],"inputs":{"src/v-tooltip.ts":{"bytesInOutput":3666}},"bytes":3834},"dist/chunk-TJZMP2Q3.mjs":{"imports":[{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true}],"exports":["MpSingletonTooltip"],"inputs":{"src/singleton-tooltip.tsx":{"bytesInOutput":560}},"bytes":750},"dist/modules/tooltip.hooks.mjs":{"imports":[{"path":"dist/chunk-2KZ7KSYS.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useSingletonTooltip","useTooltip"],"entryPoint":"src/modules/tooltip.hooks.ts","inputs":{},"bytes":157},"dist/chunk-2KZ7KSYS.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"@floating-ui/vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useSingletonTooltip","useTooltip"],"inputs":{"src/modules/tooltip.hooks.ts":{"bytesInOutput":2989}},"bytes":3120},"dist/modules/tooltip.props.mjs":{"imports":[{"path":"dist/chunk-E7GNTJFO.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["singletonTooltipProps","tooltipEmits","tooltipProps"],"entryPoint":"src/modules/tooltip.props.ts","inputs":{},"bytes":197},"dist/chunk-E7GNTJFO.mjs":{"imports":[],"exports":["singletonTooltipProps","tooltipEmits","tooltipProps"],"inputs":{"src/modules/tooltip.props.ts":{"bytesInOutput":755}},"bytes":856},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
package/dist/v-tooltip.js
CHANGED
|
@@ -209,6 +209,8 @@ var PixelTooltipDirective = {
|
|
|
209
209
|
el.addEventListener("blur", el.$pixelTooltip.hide);
|
|
210
210
|
},
|
|
211
211
|
beforeUnmount(el) {
|
|
212
|
+
if (tooltipState.value.isOpen)
|
|
213
|
+
el.$pixelTooltip.hide();
|
|
212
214
|
el.removeEventListener("mouseover", el.$pixelTooltip.show);
|
|
213
215
|
el.removeEventListener("focus", el.$pixelTooltip.show);
|
|
214
216
|
el.removeEventListener("mouseleave", el.$pixelTooltip.hide);
|
package/dist/v-tooltip.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-tooltip",
|
|
3
3
|
"description": "Tooltip component for mekari pixel 3",
|
|
4
|
-
"version": "0.0.12
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@floating-ui/vue": "^1.0.6",
|
|
12
|
-
"@mekari/pixel3-styled-system": "0.0.10
|
|
12
|
+
"@mekari/pixel3-styled-system": "0.0.10",
|
|
13
13
|
"@mekari/pixel3-utils": "0.0.6"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|