115 Commits

Author SHA1 Message Date
Sam Randall
5a308001a4
replace setModelMarkers with onDidChangeMarkers in onValidate useeffect (#244) 2021-08-07 12:26:25 +04:00
Suren Atoyan
1a48728d3a update package version to 4.2.1 2021-06-21 09:29:07 +04:00
Suren Atoyan
6b1d2abdab update @monaco-editor/loader version (v1.1.1) | set monaco-editor peerDependency version to >= 0.25.0 < 1 2021-06-21 09:26:36 +04:00
Suren Atoyan
b169e7da94 update package version to 4.2.0 2021-06-13 00:28:54 +04:00
Suren Atoyan
4db5ff3f58 update @monaco-editor/loader package version to the latest one (v1.1.0) 2021-06-13 00:24:17 +04:00
Suren Atoyan
dd9c771a9e update package version to 4.1.3 2021-04-21 23:16:09 +04:00
Suren Atoyan
15518fc57c
add keepCurrentOriginalModel and keepCurrentModifiedModel properties; indicator whether to dispose the current original/modified model when the DiffEditor is unmounted or not (#230)
* update monaco-editor peerDependency to the lates one (0.23.0)

* add  and  properties; indicator whether to dispose the current original/modified model when the DiffEditor is unmounted or not

* add keepCurrentOriginalModel and keepCurrentModifiedModel props in props/DiffEditor

* update package version to 4.1.2
2021-04-19 20:21:28 +04:00
Suren Atoyan
a41c3e7853 add an example for getting the values of DiffEditor 2021-04-02 20:13:25 +04:00
Suren Atoyan
7d74039283 update package version to 4.1.0 2021-03-18 11:54:04 +04:00
Suren Atoyan
f682f99eda update @monaco-editor/loader dependency to version 1.0.1 2021-03-18 11:51:32 +04:00
Suren Atoyan
8d2e7e71e9 update package version to 4.0.11 2021-02-27 19:36:05 +04:00
Suren Atoyan
701ac7dd93 update package version to 4.0.10 2021-02-16 18:09:59 +04:00
Suren Atoyan
3bdbb84b36 update package version to 4.0.9 2021-01-29 15:57:07 +04:00
Suren Atoyan
8c69c59d13 update package version to 4.0.8 2021-01-29 14:36:40 +04:00
Suren Atoyan
3bb305b9a7 update package version to 4.0.7 2021-01-21 04:09:38 +04:00
Suren Atoyan
243218f02f update package version to 4.0.6 2021-01-19 20:15:35 +04:00
Suren Atoyan
9ee83c8407 update package version to 4.0.5 2021-01-19 01:09:30 +04:00
Suren Atoyan
31be683e21 update package version to 4.0.4 2021-01-18 18:35:24 +04:00
Suren Atoyan
7653470b10 update husky precommit hook to remove lib folder 2021-01-18 18:34:06 +04:00
Suren Atoyan
954f920c7c update package version to 4.0.3 2021-01-18 18:30:13 +04:00
Suren Atoyan
5c1fad8452 update package version to 4.0.2 2021-01-18 13:47:41 +04:00
Suren Atoyan
a952d8c6ae update package version to 4.0.1 2021-01-18 03:01:47 +04:00
Suren Atoyan
cc569eb5e1 v4 release 2021-01-17 19:49:36 +04:00
Suren Atoyan
e7d98cb181
v4 (#163)
* update dependency (@monaco-editor/loader) version to - v1.0.0

* create useMonaco hook

* export useMonaco from the entry file

* rename the main utility: monaco -> loader

* rename editorDidMount to onMount, add beforeMount

* add defaultModelPath/originalModelPath/modifiedModelPath props

* add defaultValue prop and use it during default model creation

* rename the utility name: monaco -> loader

* handle no-unused-expressions rule

* move 'prop-types' to dependencies

* remove  prop

* remove ControlledEditor

* visually combine properties with the same type

* prerelease v4

* prerelease v4: release candidate 0

* fix types according to changed

* add onValidate prop: an event emitted when the length of the model markers of the current model isn't 0

* update package version to 4.0.0-rc.1

* rename monacoEditor to monaco in types

* add state-local as a dependency

* define state-local as a external library and set in UMD globals

* use state-local to store the backup of the model markers setter

* fix types in comments

* create draft version of v4 README file

* fix tabs in Documentation

* make title upper case

* add codesandbox likns
2021-01-17 18:56:18 +04:00
Suren Atoyan
1b91d20e37
create playground (#160)
* add playground app for monaco-react

* add .DS_Store file to npm/git ignore files

* fix rollup-plugin-terser named import

* use package 'concurrently' to concurrently run multiple scipts

* add development/playground section

* fix development/playground link

* adjust the playground coding styles

* set the first stable version of the playground
2021-01-12 15:05:30 +04:00
Suren Atoyan
b991c9b82c update package version to 3.8.3 2021-01-08 13:20:50 +04:00
Suren Atoyan
fcda83b18e rename index.d.ts to types.d.ts 2021-01-08 13:18:45 +04:00
Dreamacro
7ece00be3d
add types path on package.json (#157) 2021-01-08 12:46:34 +04:00
Suren Atoyan
07cc859389 fix UMD bundle name 2021-01-07 23:31:12 +04:00
Suren Atoyan
b858dafb4e update package version to 3.8.1 2021-01-07 23:27:29 +04:00
Suren Atoyan
b85a9f02c1 fix bundle paths 2021-01-07 23:25:31 +04:00
Suren Atoyan
6e3aa22d4c remove previous build command 2021-01-07 23:17:29 +04:00
Suren Atoyan
03d64d94eb update package version to 3.8.0 2021-01-07 23:16:52 +04:00
Suren Atoyan
4e8b2cf151 use Rollup as a build system 2021-01-07 23:14:57 +04:00
Suren Atoyan
a5d107cd3d add @monaco-editor/loader as a dependency 2021-01-07 18:25:31 +04:00
Suren Atoyan
911ea6fc2c update package version to 3.7.5 2021-01-03 22:12:05 +04:00
Suren Atoyan
d3f6940d97 update package version to 3.7.4 2020-12-16 18:34:20 +04:00
Suren Atoyan
aefd0bb069 update package version to 3.7.3 2020-12-15 20:38:42 +04:00
Suren Atoyan
6d15e264f8 update package version to 3.7.2 2020-12-05 21:51:29 +04:00
Suren Atoyan
1a8f69eac0 add react/react-dom 17 version as a peer dependency 2020-12-05 21:49:25 +04:00
Suren Atoyan
ea310827ee update package version to 3.7.1 2020-11-29 19:15:34 +04:00
Suren Atoyan
4a75cf7a0b update package version to 3.7.0 2020-11-11 18:26:53 +04:00
Suren Atoyan
f80e4b95c2 Merge branch 'master' of https://github.com/SurenAt93/monaco-react 2020-11-11 18:19:39 +04:00
Suren Atoyan
a18988b861 update monaco version to 0.21.2 2020-11-11 18:19:11 +04:00
Suren Atoyan
ff8b47704f update package version to 3.6.3 2020-09-22 16:06:13 +04:00
Suren Atoyan
5bb0547e43 update version to 3.6.2 2020-08-19 14:16:43 +04:00
Suren Atoyan
5310e06def update github username 2020-08-19 14:12:16 +04:00
Suren Atoyan
45e4c8394e update version to 3.6.1 2020-08-18 12:56:57 +04:00
Suren Atoyan
edea12e7a7 update version to 3.6.0 2020-08-18 12:12:16 +04:00
Suren Atoyan
75e4672d04 update version to 3.5.7 2020-08-09 21:09:58 +04:00