3 Commits

Author SHA1 Message Date
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
4e8b2cf151 use Rollup as a build system 2021-01-07 23:14:57 +04:00