Skip to content

Commit

Permalink
Up version, changelog and types
Browse files Browse the repository at this point in the history
  • Loading branch information
securingsincity committed Aug 23, 2017
1 parent 40fdc30 commit 2961a0c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@

* Fully move to TypeScript interally
* Publish typings for the split editor

## 5.2.0

* Add support for events in onBlur and onFocus callbacks
* Adds onValidate callback

## 5.1.2

* Resize on component did mount and component did update. Fixes #207 and #212.
* Resize on component did mount and component did update. Fixes #207 and #212.

## 5.1.1

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-ace",
"version": "5.1.2",
"version": "5.2.0",
"description": "A react component for Ace Editor",
"main": "lib/index.js",
"types": "types.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ export interface AceEditorProps {
onSelection?: (selectedText: string, event?: any) => void
onCopy?: (value: string) => void
onPaste?: (value: string) => void
onFocus?: () => void
onBlur?: () => void
onFocus?: (event: any) => void
onBlur?: (event: any) => void
onValidate?: (annotations: Array<Annotation>) => void
onScroll?: (editor: EditorProps) => void
editorProps?: EditorProps
setOptions?: AceOptions
Expand Down

0 comments on commit 2961a0c

Please sign in to comment.