vue-tippy 4.14.0 → 4.15.0
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/dist/src/components/Tippy.d.ts +421 -0
- package/dist/src/components/Tippy.d.ts.map +1 -0
- package/dist/src/components/TippySingleton.d.ts +266 -0
- package/dist/src/components/TippySingleton.d.ts.map +1 -0
- package/dist/src/composables/index.d.ts +4 -0
- package/dist/src/composables/index.d.ts.map +1 -0
- package/dist/src/composables/useSingleton.d.ts +6 -0
- package/dist/src/composables/useSingleton.d.ts.map +1 -0
- package/dist/src/composables/useTippy.d.ts +27 -0
- package/dist/src/composables/useTippy.d.ts.map +1 -0
- package/dist/src/composables/useTippyComponent.d.ts +8 -0
- package/dist/src/composables/useTippyComponent.d.ts.map +1 -0
- package/dist/src/directive/index.d.ts +4 -0
- package/dist/src/directive/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/plugin/index.d.ts +4 -0
- package/dist/src/plugin/index.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +21 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/vue-tippy.cjs +4789 -0
- package/dist/vue-tippy.d.ts +750 -0
- package/dist/vue-tippy.esm-browser.js +4460 -0
- package/dist/vue-tippy.esm.js +13 -3
- package/dist/vue-tippy.iife.js +4792 -0
- package/dist/vue-tippy.iife.prod.js +6 -0
- package/dist/vue-tippy.min.js +1 -1
- package/dist/vue-tippy.mjs +4460 -0
- package/dist/vue-tippy.prod.cjs +4473 -0
- package/dist/vue-tippy.umd.js +13 -3
- package/package.json +1 -1
- package/src/components/Tippy.vue +3 -3
- package/src/components/TippyNoStyles.vue +1 -1
- package/src/index.js +2 -0
package/dist/vue-tippy.esm.js
CHANGED
@@ -5088,13 +5088,22 @@ var __vue_render__ = function __vue_render__() {
|
|
5088
5088
|
var _c = _vm._self._c || _h;
|
5089
5089
|
|
5090
5090
|
return _c(_vm.tag, {
|
5091
|
-
tag: "component"
|
5091
|
+
tag: "component",
|
5092
|
+
attrs: {
|
5093
|
+
"data-tippy-component": ""
|
5094
|
+
}
|
5092
5095
|
}, [_c(_vm.triggerTag || _vm.tag, {
|
5093
5096
|
ref: "trigger",
|
5094
|
-
tag: "component"
|
5097
|
+
tag: "component",
|
5098
|
+
attrs: {
|
5099
|
+
"data-tippy-component-trigger": ""
|
5100
|
+
}
|
5095
5101
|
}, [_vm._t("trigger")], 2), _vm._v(" "), _c(_vm.contentTag || _vm.tag, {
|
5096
5102
|
ref: "content",
|
5097
|
-
tag: "component"
|
5103
|
+
tag: "component",
|
5104
|
+
attrs: {
|
5105
|
+
"data-tippy-component-content": ""
|
5106
|
+
}
|
5098
5107
|
}, [_vm._t("default")], 2)], 1);
|
5099
5108
|
};
|
5100
5109
|
|
@@ -5130,6 +5139,7 @@ var plugin = {
|
|
5130
5139
|
|
5131
5140
|
function createTippy(el, binding, vnode) {
|
5132
5141
|
var handlers = vnode.data && vnode.data.on || vnode.componentOptions && vnode.componentOptions.listeners;
|
5142
|
+
el.setAttribute('data-tippy-directive', '');
|
5133
5143
|
var opts = deriveOpts(binding);
|
5134
5144
|
var modifiers = Object.keys(binding.modifiers || {});
|
5135
5145
|
var placement = modifiers.find(function (modifier) {
|