In this release the UI of the virtual keyboards has been significantly updated.
This includes new virtual keyboards as well as updated layout for existing
virtual keyboards and support for shift key modifier for many keycaps.
Breaking Changes
The CSS variable --keycap-modifier-background,
--keycap-modifier-background-hover, --keycap-modifier-text, --keycap-modifier-border and --keycap-modifier-border-bottom have been renamed --keycap-secondary-background, -keycap-secondary-background-hover,
--keycap-secondary-text, --keycap-secondary-border and --keycap-secondary-border-bottom, respectively.
The custom class on a keycap to indicate a shift key has been renamed from modifier to shift
The undocument data-shifted and data-shifted-command attributes are no longer supported.
The classes property in the JSON description of custom layouts has been renamed to labelClass
The styles property in the JSON description of a custom layer has been renamed to style
New Features
The JSON description of custom virtual keyboard now support keycap
shortcuts. For example the [left] keycap shortcut represent the left arrow
key. See the documentation
for more details.
Custom virtual keyboards can now include special keycaps for editing commands
(cut/copy/paste/undo).
The JSON description of custom virtual keyboard keycaps can now include a
width property
The variants panel can be invoked by right-clicking on a keycap.
Improvements
The default virtual keyboards have been rewritten. They now use the JSON
format for their internal description, instead of custom markup.
The "Functions" virtual keyboard has been merged with the "Symbols" virtual
keyboard. Fewer keyboards makes it easier to find the symbol or function
you're looking for.
The "Numeric" and "Symbols" keyboard now feature a Shift key, doubling the
number of symbols accessible from them.
The variants (accessible with a long press on a keycap) have been streamlined
and extended.
The virtual keyboard now also support pressing the Shift and Caps Lock key
on the physical keyboard.
Three new optional virtual keyboards have been added:
minimalist: a small keyboard with only two rows of keycaps containing
digits and basic operations.
compact: similar layout to minimalist, but the keycaps include variants
numeric-only: a keyboard with only digits, the decimal marker and the
minus sign.
To use them, use mathVirtualKeyboard.layouts = "minimalist"
Two new CSS variables have been added to control the layout of the virtual keyboard:
--keycap-max-width: define the maximum with of a keycap, including its margin
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)
Bumps mathlive from 0.89.4 to 0.91.0.
Changelog
Sourced from mathlive's changelog.
... (truncated)
Commits
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)