Skip to content

Commit

Permalink
0.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Aug 22, 2020
1 parent e04b3e9 commit 94b1415
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [Unreleased]
## 0.56.0 (2020-08-22)

### New Features

Expand Down
2 changes: 1 addition & 1 deletion dist/math-json/domains.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 */export declare const DOMAIN_NONE = 0;
/* 0.56.0 */export declare const DOMAIN_NONE = 0;
export declare const DOMAIN_ZERO = 1;
export declare const DOMAIN_PRIME_NUMBER = 256;
export declare const DOMAIN_POSITIVE_INTEGER: number;
Expand Down
2 changes: 1 addition & 1 deletion dist/math-json/public.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 */import { Domain } from './domains';
/* 0.56.0 */import { Domain } from './domains';
export declare type FunctionDefinition = {
/**
* A short string indicating an entry in a wikibase. For example
Expand Down
2 changes: 1 addition & 1 deletion dist/mathlive-fonts.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mathlive-static.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mathlive.js
Original file line number Diff line number Diff line change
Expand Up @@ -38150,7 +38150,7 @@ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`,
return element.getAttribute('data-' + ((_a = options.namespace) !== null && _a !== void 0 ? _a : '') + 'original-content');
}
// This SDK_VERSION variable will be replaced during the build process.
const version = '0.55.0';
const version = '0.56.0';
var mathlive = {
version,
latexToMarkup: latexToMarkup$2,
Expand Down
4 changes: 2 additions & 2 deletions dist/mathlive.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/mathlive.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mathlive.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38144,7 +38144,7 @@ function getOriginalContent(element, options) {
return element.getAttribute('data-' + ((_a = options.namespace) !== null && _a !== void 0 ? _a : '') + 'original-content');
}
// This SDK_VERSION variable will be replaced during the build process.
const version = '0.55.0';
const version = '0.56.0';
var mathlive = {
version,
latexToMarkup: latexToMarkup$2,
Expand Down
2 changes: 1 addition & 1 deletion dist/public/commands.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 */import type { Keys } from './types-utils';
/* 0.56.0 */import type { Keys } from './types-utils';
import type { ParseMode, Style } from './core';
import type { Mathfield, Model } from './mathfield';
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/public/config.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 */import { ErrorListener, MacroDictionary, ParseMode, ParserErrorCode, MathfieldErrorCode } from './core';
/* 0.56.0 */import { ErrorListener, MacroDictionary, ParseMode, ParserErrorCode, MathfieldErrorCode } from './core';
import type { Mathfield } from './mathfield';
import type { Selector } from './commands';
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/public/core.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 *//**
/* 0.56.0 *//**
* The mode that indicates how a portion of content is interpreted
*
* @deprecated The 'command'mode will be dropped in a future release
Expand Down
2 changes: 1 addition & 1 deletion dist/public/mathfield.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 */import { Selector } from './commands';
/* 0.56.0 */import { Selector } from './commands';
import { MathfieldConfig } from './config';
import { ParseMode, MacroDictionary, Style } from './core';
/**
Expand Down
8 changes: 4 additions & 4 deletions dist/public/mathlive.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 *//**
/* 0.56.0 *//**
*
* Use MathLive to render and edit mathematical formulas.
*
Expand All @@ -13,8 +13,8 @@
* console.log(MathLive.latexToAST('e^{i\\pi}+1=0'));
* </script>
*
* @packageDocumentation MathLive SDK Reference 0.55.0
* @version 0.55.0
* @packageDocumentation MathLive SDK Reference 0.56.0
* @version 0.56.0
*
*/
import { Mathfield } from './mathfield';
Expand All @@ -24,7 +24,7 @@ import { ErrorCode as MathJsonErrorCode } from '../math-json/public';
export { Mathfield };
export { MathfieldConfig };
/**
* Current version: `0.55.0`
* Current version: `0.56.0`
*
* The version string of the SDK using the [semver](https://semver.org/) convention:
*
Expand Down
2 changes: 1 addition & 1 deletion dist/public/types-utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* 0.55.0 *//**
/* 0.56.0 *//**
* @internal
*/
declare type Filter<T, Cond, U extends keyof T = keyof T> = {
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-mathlive.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* MathLive 0.55.0 */
/* MathLive 0.56.0 */
var t={name:"mathlive-mathfield",template:'<div class="mathfield" :id="id"><slot></slot></div>',props:{id:{type:String,default:""},value:{type:String,default:""},config:{type:Object,default:()=>({})},onKeystroke:{type:Function,default:function(t,e){return!0}},onMoveOutOf:{type:Function,default:function(t){return!0}},onTabOutOf:{type:Function,default:function(t){return!0}}},install:function(t,e){Object.defineProperty(t.prototype,"$mathlive",{value:e}),t.component("mathlive-mathfield",this)},watch:{value:function(t,e){t!==e&&this.$el.mathfield.$latex(t,{suppressChangeNotifications:!0})},config:{deep:!0,handler:function(t){this.$el.mathfield.$setConfig(t)}}},mounted:function(){this.$nextTick(()=>{this.$mathlive.makeMathField(this.$el,{...this.config,onContentDidChange:t=>{this.$emit("input",this.$el.mathfield.$text())},onFocus:t=>{this.$emit("focus")},onBlur:t=>{this.$emit("blur")},onContentWillChange:t=>{this.$emit("content-will-change")},onSelectionWillChange:t=>{this.$emit("selection-will-change")},onUndoStateWillChange:(t,e)=>{this.$emit("undo-state-will-change",e)},onUndoStateDidChange:(t,e)=>{this.$emit("undo-state-did-change",e)},onVirtualKeyboardToggle:(t,e,i)=>{this.$emit("virtual-keyboard-toggle",e,i)},onReadAloudStatus:(t,e)=>{this.$emit("read-aloud-status",e)},onKeystroke:(t,e,i)=>this.onKeystroke(e,i),onMoveOutOf:(t,e)=>this.onMoveOutOf(e),onTabOutOf:(t,e)=>this.onTabOutOf(e)})})},methods:{perform:function(t){this.$el.mathfield.$perform(t)},hasFocus:function(){return this.$el.mathfield.$hasFocus()},focus:function(){this.$el.mathfield.$focus()},blur:function(){this.$el.mathfield.$blur()},text:function(t){return this.$el.mathfield.$text(t)},selectedText:function(t){return this.$el.mathfield.$selectedText(t)},insert:function(t,e){this.$el.mathfield.$insert(t,e)},keystroke:function(t,e){return this.$el.mathfield.$keystroke(t,e)},typedText:function(t){this.$el.mathfield.$keystroke(t)},selectionIsCollapsed:function(){return this.$el.mathfield.$selectionIsCollapsed()},selectionDepth:function(){return this.$el.mathfield.$selectionDepth()},selectionAtStart:function(){return this.$el.mathfield.$selectionAtStart()},selectionAtEnd:function(){return this.$el.mathfield.$selectionAtEnd()},select:function(){this.$el.mathfield.$select()},clearSelection:function(){this.$el.mathfield.$clearSelection()}}};export default t;
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mathlive",
"version": "0.55.0",
"version": "0.56.0",
"description": "Render and edit beautifully typeset math",
"license": "MIT",
"funding": {
Expand Down

0 comments on commit 94b1415

Please sign in to comment.