fractava / notes-core

The Core of our Notes App
https://fractava.github.io/notes-core/
GNU General Public License v3.0
5 stars 1 forks source link

Bump mathlive from 0.79.0 to 0.80.0 in /core #322

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps mathlive from 0.79.0 to 0.80.0.

Changelog

Sourced from mathlive's changelog.

0.80.0 (2022-09-27)

Bug Fixes

  • #1540 When changing the readonly or disabled attribute of a mathfield, hide the virtual keyboard if the mathfield had the focus.
  • #1641 A read-only mathfield would still accept inline shortcuts.
  • #1618 In some cases, on touch-capable devices the OS virtual keyboard would be displayed instead of the virtual keyboard.
  • #1620 On devices with a touch screen and a physical keyboard (Lenovo Yoga, Chromebooks), pressing the Enter key would input the string Enter into the mathfield.
  • #1631 Hit-testing detection improvements
  • #1640 An input event was dispatched when the value of the mathfield was changed programatically.
  • #1330 Make MathLive convertLatexToMarkup() usable from Node.js
  • #1641 Correctly render units in a chemical equation, e.g. \pu{123 kJ//mol}.
  • #1643 Physical units with multiplication are now rendered correctly, e.g. \pu{123 J*s}.

New Features

  • #1541 To be notified when the visibility of the virtual keyboard changes and using makeSharedVirtualKeyboard(), listen for the virtual-keyboard-toggle on the object returned by makeSharedVirtualKeyboard():
const k = makeSharedVirtualKeyboard();
k.addEventListener('virtual-keyboard-toggle', (ev) =>
  console.log('toggling ', ev)
);
  • The math-mode event is now cancelable (by calling .preventDefault() on the event). This can be used for example to turn off the ability to switch to the LaTeX editing mode:
// Prevent change to LaTeX (or text) mode
mf.addEventListener('mode-change', (ev) => ev.preventDefault(), {
  capture: true,
});
  • The command plonk was added. It plays a sound indicating an error, and can associated with a keybinding, or triggered with mf.executeCommand().
  • To determine the offset (caret position) in a mathfield given a viewport coordinate, use mf.offsetFromPoint().

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #323.