Socket
Socket
Sign inDemoInstall

@codemirror/tooltip

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/tooltip - npm Package Versions

13

0.19.6

Diff

Changelog

Source

0.19.6 (2021-11-07)

Bug fixes

Fix an issue where a tooltip arrow wasn't moved along by a horizontal offset.

marijn
published 0.19.5 •

Changelog

Source

0.19.5 (2021-11-06)

Bug fixes

Fix breakage of hover tooltips inside shadow roots.

New features

Adds a hasHoverTooltips predicate that tells you if an editor state has any open hover tooltips.

Adds a closeHoverTooltips state effect that closes all hover tooltips.

Tooltip views can now provide an offset property to change the tooltip position.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2021-10-13)

marijn
published 0.19.3 •

Changelog

Source

0.19.3 (2021-10-11)

Bug fixes

Fix an issue where a newly created (or reconfigured) editor wouldn't show its tooltips until the first change or scroll event.

New features

Tooltips now accept an arrow option to show a little triangle between the tooltip and its target position.

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-09-01)

Bug fixes

Fix accidental assignment to const.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-08-30)

New features

The new tooltips function can be used to configure tooltip behavior. For now, the only option is position, which allows you to choose between fixed and absolute positioning.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Bug fixes

Move tooltips to avoid overlapping between them, when necessary.

Make sure tooltips don't stay visible when the editor goes out of view.

New features

Hover tooltips are now grouped together in a single DOM element when multiple such tooltips are active.

marijn
published 0.18.4 •

Changelog

Source

0.18.4 (2021-03-15)

Breaking changes

It is no longer necessary to use the tooltips extension when using this package—just providing values through showTooltip will implicitly enable the necessary extensions.

Tooltips no longer use the class property on the spec object (just apply the class yourself when creating the DOM element).

Bug fixes

Tooltips in a dark theme that doesn't explicitly style them no longer use the light theme defaults.

New features

showTooltip now accepts null as input value, which doesn't produce a tooltip.

marijn
published 0.18.3 •

Changelog

Source

0.18.3 (2021-03-14)

Bug fixes

Fix a crash in tooltip creation.

marijn
published 0.18.2 •

Changelog

Source

0.18.2 (2021-03-14)

Bug fixes

Fix an issue where tooltips created in an out-of-view editor show up in the wrong place.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc