Commit Graph

234 Commits

Author SHA1 Message Date
Georges KABBOUCHI 6b30c17a37 fix #305 2023-12-26 18:29:02 +02:00
Georges KABBOUCHI 58fbb50162 Update README.md 2023-12-25 15:53:42 +02:00
Georges KABBOUCHI 1365e151fd v6.4.0 2023-12-25 15:45:27 +02:00
Georges KABBOUCHI 5b8f85c78e Merge pull request #293 from kkuegler/support-tippy-to-parent
Support <tippy> as a child
2023-12-25 15:37:24 +02:00
Georges KABBOUCHI b1f4f447b5 closes #294 2023-08-09 14:58:08 +03:00
Georges KABBOUCHI 57dd5f2cc5 fix appContext 2023-08-06 20:25:20 +03:00
Konrad Kügler 44b67e46b9 Add support for <Tippy> as a child (issue #123 in 6.x)
Having <Tippy> as a child of an element to tooltip was a nice use-case
in 4.x. See https://github.com/KABBOUCHI/vue-tippy/issues/123.
We re-add this in a similar manner.

Using to="parent" (as a fixed string), one can now use either the main
<Tippy> slot ("default") or its specific "content" slot to specify
the tooltip content.
The tooltip will be triggered on the parent element without
adding a specifc Tippy node to the DOM.

This should provides a non-interfering way to specify tooltips.

Implementation:
For the to="parent" case, we need to find the parent DOM element, but in
the "worst" case <Tippy> won't render any DOM nodes at all, which could
help us to find the parent.
Instead, we initially render a hidden <span> (and the tooltip content).
Using the span as a template ref ('findParentHelper'), we can get the
parent and assign that to the actual 'elem' ref. This will trigger a
re-render, where we can drop the helper <span> again.
2023-07-31 21:28:18 +02:00
Konrad Kügler 56ddee444a Extract content slot rendering
The was used twice and we need this code only once, simlifying
the actual rendering returns.
2023-07-31 00:42:52 +02:00
Georges KABBOUCHI 9dff35b467 fix 2023-07-18 16:01:07 +03:00
Georges KABBOUCHI 140ac6ff33 closes #290 2023-07-18 15:50:11 +03:00
Georges KABBOUCHI 07c70494f2 v6.2.0 2023-05-20 18:53:51 +03:00
Georges KABBOUCHI f8d048a003 fix module export 2023-05-20 18:52:55 +03:00
Georges KABBOUCHI 0951ccead2 fix unref element 2023-05-04 21:04:38 +03:00
Georges KABBOUCHI 6f8f32facc closes #286 2023-05-04 20:38:00 +03:00
Georges KABBOUCHI 8311aa92b7 Update component.md 2023-04-30 19:53:15 +03:00
Georges KABBOUCHI 14c9647440 Update component.md 2023-04-30 19:41:03 +03:00
Georges KABBOUCHI d1eb22b539 mount tippy on first element when tag is null 2023-04-30 19:33:38 +03:00
Georges KABBOUCHI d9ad4fa3e3 wip 2023-04-24 21:47:20 +03:00
Georges KABBOUCHI 0f6eb4803b wip 2023-04-24 21:42:10 +03:00
Georges KABBOUCHI 8896e0fe1f wip 2023-04-24 21:03:49 +03:00
Georges KABBOUCHI 163a1727b7 Merge pull request #279 from andrei-hudovich/patch-1
docs: fix link to themes
2023-03-17 15:34:41 +02:00
Andrei Hudovich dfd5aa7b52 docs: fix link to themes 2023-03-17 14:31:53 +01:00
Georges KABBOUCHI a1f20be60a add onHidden doc 2023-02-23 16:16:52 +02:00
Georges KABBOUCHI 1b68e1d937 Update installation.md 2022-12-31 18:10:50 +02:00
Georges KABBOUCHI 9c1b823fcf Update README.md 2022-12-31 17:51:11 +02:00
Georges KABBOUCHI c761573572 Update README.md 2022-12-31 17:50:57 +02:00
Georges KABBOUCHI 91e517f720 Update package.json 2022-12-31 17:49:12 +02:00
Georges KABBOUCHI 195e37b18d Update README.md 2022-12-31 17:47:46 +02:00
Georges KABBOUCHI 4f41b70df4 Update README.md 2022-12-31 17:46:27 +02:00
Georges KABBOUCHI 831ee848d4 6.0.0-beta.0 2022-12-31 17:42:58 +02:00
Georges KABBOUCHI 0c5c7536ae Update index.md 2022-11-21 01:34:17 +02:00
Georges KABBOUCHI 1d87e92da4 Update component.md 2022-11-21 01:30:37 +02:00
Georges KABBOUCHI d482416e49 Update composition-api.md 2022-11-21 01:28:20 +02:00
Georges KABBOUCHI b6684ee03b add singleton docs 2022-11-21 01:25:29 +02:00
Georges KABBOUCHI 8acfe7e1c4 v6.0.0-alpha.65 2022-09-30 22:34:35 +03:00
Georges KABBOUCHI e423af4c4c closes #265 2022-09-30 22:34:09 +03:00
Georges KABBOUCHI d426a4068b v6.0.0-alpha.64 2022-09-30 19:51:55 +03:00
Georges KABBOUCHI 63aceeadb4 fix props reactivity
closes #187
2022-09-30 19:51:13 +03:00
Georges KABBOUCHI cc4beb118c v6.0.0-alpha.63 2022-07-27 15:05:54 +03:00
Georges KABBOUCHI 51d966e432 fix component boolean props 2022-07-27 15:05:10 +03:00
Georges KABBOUCHI 5f79d59a09 v6.0.0-alpha.62 2022-07-14 17:00:04 +03:00
Georges KABBOUCHI 528725cb11 v6.0.0-alpha.61 2022-07-14 16:52:37 +03:00
Georges KABBOUCHI 654cbd2f16 v6.0.0-alpha.60 2022-07-03 21:10:32 +03:00
Georges KABBOUCHI 2468f1563d fix ssr 2022-07-03 21:09:45 +03:00
Georges KABBOUCHI 6a4c40e7b1 v6.0.0-alpha.59 2022-07-03 15:14:30 +03:00
Georges KABBOUCHI e38ebbafe0 closes #252 2022-07-03 15:12:46 +03:00
Georges KABBOUCHI d7b51a560b v6.0.0-alpha.58 2022-04-23 12:22:33 +03:00
Georges KABBOUCHI 88b131807b closes #249 2022-04-23 12:21:20 +03:00
Georges KABBOUCHI 86b8fc3443 Merge pull request #245 from stafyniaksacha/stafyniaksacha-patch-1 2022-03-23 18:45:36 +02:00
Georges KABBOUCHI ebf6602d2c Merge pull request #248 from kalimah-apps/patch-2 2022-03-23 18:45:01 +02:00