356 Commits

Author SHA1 Message Date
Suren Atoyan
7ed4b7eeaf add multi-model support 2021-01-18 18:27:13 +04:00
Suren Atoyan
530d22bb19 add new section for multi-model editor 2021-01-18 18:22:38 +04:00
Suren Atoyan
7a913533d7
fix loader utility name 2021-01-18 15:52:17 +04:00
Suren Atoyan
5c1fad8452 update package version to 4.0.2 v4.0.2 2021-01-18 13:47:41 +04:00
Suren Atoyan
7dd1ac6d0f declare and export 'useMonaco' type 2021-01-18 13:47:14 +04:00
Suren Atoyan
39b558e9c0 Merge branch 'master' of https://github.com/suren-atoyan/monaco-react v4.0.1 2021-01-18 03:02:02 +04:00
Suren Atoyan
a952d8c6ae update package version to 4.0.1 2021-01-18 03:01:47 +04:00
Suren Atoyan
a4b32c3276
remove redundant word 2021-01-18 00:19:02 +04:00
Suren Atoyan
144bf4e5be
update CDN example links 2021-01-17 20:15:11 +04:00
Suren Atoyan
cf9d215cd3
fix tabulation in a code snippet 2021-01-17 20:03:18 +04:00
Suren Atoyan
1bd7bca534
Update v4.changes.md 2021-01-17 19:51:03 +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
v4.0.0
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 v3.8.3 2021-01-08 13:20:50 +04:00
Suren Atoyan
bbf3fdbf11 fix DiffEditor prop type name 2021-01-08 13:19:23 +04:00
Suren Atoyan
fcda83b18e rename index.d.ts to types.d.ts 2021-01-08 13:18:45 +04:00
sunderls
5771fcbd07
Update index.d.ts (#152)
* Update index.d.ts

* Update README.md
2021-01-08 13:10:29 +04:00
Dreamacro
7ece00be3d
add types path on package.json (#157) 2021-01-08 12:46:34 +04:00
Suren Atoyan
96f7a59fc1
inform about @monaco-editor/loader 2021-01-08 00:08:48 +04:00
Suren Atoyan
25ef1951c1
do style correction 2021-01-07 23:58:16 +04:00
Suren Atoyan
07cc859389 fix UMD bundle name v3.8.2 2021-01-07 23:31:12 +04:00
Suren Atoyan
e30b4599fe update package version to 3.8.1 2021-01-07 23:29:03 +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
1bda26a177 remove config as it's already replaced by the 2021-01-07 18:41:32 +04:00
Suren Atoyan
95072eaeb6 coding style fixes 2021-01-07 18:35:25 +04:00
Suren Atoyan
0b47d9450c create hook 2021-01-07 18:33:31 +04:00
Suren Atoyan
9f971b85fb collect remaining utilities all in the entry file / add some new ones for the next version 2021-01-07 18:32:41 +04:00
Suren Atoyan
6ba53cd721 remove utilities that were being replaced by the 2021-01-07 18:30:49 +04:00
Suren Atoyan
f6b70f122b --amend 2021-01-07 18:29:03 +04:00
Suren Atoyan
a44bfd82e8 use @monaco-editor/loader instead of 'monaco' utility 2021-01-07 18:26:45 +04:00
Suren Atoyan
a5d107cd3d add @monaco-editor/loader as a dependency 2021-01-07 18:25:31 +04:00
Suren Atoyan
91d95a1bc1 fix broken links 2021-01-06 14:11:35 +04:00
Suren Atoyan
65ca52d8eb Merge branch 'master' of https://github.com/SurenAt93/monaco-react v3.7.5 2021-01-03 22:12:18 +04:00
Suren Atoyan
911ea6fc2c update package version to 3.7.5 2021-01-03 22:12:05 +04:00
Suren Atoyan
56ab883c50 fix state-local import 2021-01-03 22:10:33 +04:00
Suren Atoyan
9f871f3618
Update README.md 2020-12-16 21:52:58 +04:00
Zachary Raineri
80507e243c
Grammar corrections (#146)
I just made some grammar corrections/verbiage updates to the first 3rd of the doc to help readability a bit
2020-12-16 21:51:19 +04:00
Suren Atoyan
d3f6940d97 update package version to 3.7.4 v3.7.4 2020-12-16 18:34:20 +04:00
Suren Atoyan
f598646f44 fix editorDidMount call order / correct coding style 2020-12-16 18:31:49 +04:00
Suren Atoyan
d0d39c403e Merge branch 'master' of https://github.com/SurenAt93/monaco-react v3.7.3 2020-12-15 20:38:56 +04:00
Suren Atoyan
aefd0bb069 update package version to 3.7.3 2020-12-15 20:38:42 +04:00
Suren Atoyan
5ee02afc00 set in 2020-12-15 20:37:15 +04:00
Suren Atoyan
686ea1e2f9
Create FUNDING.yml 2020-12-06 03:27:32 +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