Metadata-Version: 2.4
Name: collective.js.tooltipster
Version: 2.0
Summary: Plone integration of tooltipster jquery plugin
Home-page: http://pypi.python.org/pypi/collective.js.tooltipster
Author: Gauthier BASTIEN
Author-email: gauthier.bastien@imio.be
License: GPL
Keywords: Python Plone
Classifier: Development Status :: 6 - Mature
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 6.2
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.11
Requires-Dist: Products.GenericSetup
Requires-Dist: zope.i18nmessageid
Requires-Dist: zope.publisher
Provides-Extra: test
Requires-Dist: plone.app.robotframework[debug]; extra == "test"
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.base; extra == "test"
Requires-Dist: plone.browserlayer; extra == "test"
Requires-Dist: plone.registry; extra == "test"
Requires-Dist: plone.testing; extra == "test"
Requires-Dist: robotsuite; extra == "test"
Requires-Dist: zope.component; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. image:: https://github.com/collective/collective.js.tooltipster/actions/workflows/meta.yml/badge.svg?branch=master
    :target: https://github.com/collective/collective.js.tooltipster/actions/workflows/meta.yml

=========================
collective.js.tooltipster
=========================
   
Plone integration of Tooltipster jQuery plugin (https://calebjacob.github.io/tooltipster/)

Version 4.2.6

Versions
******** 

- Version 2.x is for Plone 6+ only
- Version 1.x is for Plone 4

Themes
****** 

The default profile also installs the theme stylesheets (one bundle each):

- tooltipster-borderless
- tooltipster-light
- tooltipster-noir
- tooltipster-punk
- tooltipster-shadow


Changelog
=========


2.0 (2026-12-01)
----------------

- Migrated to Plone 6.2 / Python 3, based on the work started on `plone61`
  by @chris-adam and @laulaz.
  [laulaz, chris-adam]
- Added Plone 6.1 version in buildout.
  [chris-adam]
- Plone 6.2 support. Removed the Plone 4 `themes` profile and upgrade step
  (themes are bundles of the default profile).
  [chris-adam]
- `tooltipster_helper`: `view_content_selector` moved into `options` (the 3rd
  positional parameter is `data_parameters` again, as callers expect), and the
  view is called on the context URL (`data-base-url`) when there is no `data-base_url`.
  [chris-adam]
- `tooltipster_helper`: send `ajax_load=1` (Plone 6 rendered the whole page for a timestamp).
  [chris-adam]
- Added plone.meta configuration (tox, pre-commit, GitHub Actions).
  [chris-adam]
- Switched to PEP 420 native namespace packages.
  [chris-adam]
- Dropped support for Plone versions below 6.2.
  [chris-adam]
- Dropped support for Python 3.10.
  [chris-adam]

1.8 (2024-02-08)
----------------

- Added `arrow` option in `tooltipster_helper`.
  [sgeulette]

1.7 (2022-03-22)
----------------

- Added new optional parameters for `tooltipster_helper` : `functionPosition_callback`,
  this let's manage tooltipster position manually.
  [gbastien]

1.6 (2022-02-14)
----------------

- Added `passInstanceToCallback` option to be able to pass the tooltipster
  instance to the `functionReady` callback.
  [gbastien]

1.5 (2022-01-03)
----------------

- Fixed default `zIndex` from `9995` to `11000` so it works correctly
  when displayed in an overlay.
  [gbastien]

1.4 (2019-09-12)
----------------

- Set `async:true` for ajax request when no `functionReady_callback` provided.
  [gbastien]
- By default, make `click/tap/mouseenter` open a `tooltipster` and
  `click/tap/mouseleave` close it. This makes it usable on mobile devices.
  [gbastien]

1.3 (2019-05-16)
----------------

- Set `async: false` for the JS ajax query so we are sure that content is loaded
  when `functionReady` is called.
  [gbastien]
- Set default `zIndex` to `9995` so it behaves correctly with
  `jQuery Tools` overlays.
  [gbastien]
- Take into account options `minWidth` and `maxWidth` when initializing
  the tooltipster.
  [gbastien]

1.2 (2018-04-20)
----------------

- Added new optional parameters for `tooltipster_helper` : `zIndex` and
  `functionReady_callback`, this last parameter is a JS function that will be
  called in the `tooltipster.functionReady` function.
  [gbastien]
- Display `...` instead `Loading...` when loading the tooltipster so it is
  compatible with every languages.
  [gbastien]
- Added new optional parameters for `tooltipster_helper` : `triggerOpen` and
  `triggerClose` to use together with `trigger: 'custom'`.  Added also
  optional parameter `close_other_tips` that if set to `true` will close every
  other opened tooltips.
  [gbastien]

1.1 (2018-02-20)
----------------

- In `tooltipster_helper`, set `updateAnimation` to `fade` by default,
  moreover parameter `speed` does not exist anymore, it is replaced by
  `animationDuration`.
  [gbastien]
- Bugfix upgrade to 2000 by re-applying the `cssregistry` step.
  [gbastien]


1.0 (2018-02-14)
----------------

- Moved to `tooltipster` 4.2.6.
  [gbastien]
- Added `tooltipster_helper` method to ease use of `tooltipster`.
  [gbastien]


0.1 (2016-09-22)
----------------

- Initial release.
  [gbastien]


