63 Commits

Author SHA1 Message Date
Suren Atoyan
0e9cb60327 cancel promise before unmount 2020-02-06 20:49:16 +04:00
Suren Atoyan
54496c4c56 make main wrapper promise cancelable 2020-02-06 20:48:03 +04:00
Suren Atoyan
e28737c905 create makeCancelable util 2020-02-06 20:47:22 +04:00
Suren Atoyan
d81cef85a1 update snapshots 2020-02-06 20:45:34 +04:00
Suren Atoyan
bc6ac17499 update monaco version to 0.19.3 in default config file 2020-02-06 20:44:39 +04:00
Suren Atoyan
45b8e16c94 update snapshots 2019-12-24 11:16:23 +04:00
lywTYH
1c21098205 fix type error 2019-12-19 14:31:54 +08:00
Suren Atoyan
48f277e9c9 add comment above 'Theme' type 2019-12-19 01:01:06 +04:00
Austin
1c980fd6ba fix: add optional string type to theme 2019-12-18 07:18:50 -05:00
lywTYH
665ab3c6a9 fix type error 2019-12-11 15:58:58 +08:00
Suren Atoyan
01f3c537cc prevent change in case of undo/redo 2019-11-09 20:33:52 +04:00
Suren Atoyan
3114bd7dea update snapshots 2019-11-09 20:33:06 +04:00
Suren Atoyan
06f3b6af9d use a separate prop for passing ref instead of using forwardref 2019-11-09 20:32:36 +04:00
Suren Atoyan
ca11dea0fd create separate component for MonacoContainer 2019-11-09 19:45:08 +04:00
Suren Atoyan
4e6e4953a6 force additional tokenization in controlled mode to avoid blinking 2019-11-09 12:50:07 +04:00
Suren Atoyan
f348a16b75 remove redundant space 2019-10-25 23:13:20 +04:00
Suren Atoyan
5380155ed2 fix 'options' types 2019-10-25 23:09:43 +04:00
Suren Atoyan
6f60b76c74 write more proper types 2019-10-25 22:56:34 +04:00
Suren Atoyan
7d94788717 update snapshots 2019-10-09 00:58:33 +04:00
Suren Atoyan
be28010ad3 change the default version of monaco to 0.18.1 2019-10-09 00:55:42 +04:00
Suren Atoyan
ef06af9323 set last value by .setValue method before changing the language 2019-10-09 00:55:01 +04:00
Chase Holdren
31ed29f793
Update index.d.ts 2019-10-07 10:19:31 -04:00
Chase Holdren
d0d1e974f0
Allow void return from ControlledEditorOnChange 2019-10-03 23:35:26 -04:00
Suren Atoyan
e61d021e5e check editor existence in 'removeEditor' function 2019-10-03 12:51:22 +04:00
Suren Atoyan
509ea798da replace 'jest-dom' with '@testing-library/jest-dom' 2019-10-03 12:50:48 +04:00
Suren Atoyan
3b5bc9b4a0 set editor value directly in case of read only 2019-08-20 17:56:41 +04:00
Suren Atoyan
1dc57720aa add method for set custom config 2019-08-16 21:17:56 +04:00
Suren Atoyan
cfc551dc28 move out themes from main config file 2019-08-16 21:16:52 +04:00
Suren Atoyan
9bf8fb6103 move out themes from main config file 2019-08-16 20:52:35 +04:00
Suren Atoyan
5eaab68787 add utility for 'deep merge' 2019-08-16 20:50:44 +04:00
Suren Atoyan
780152816a apply edit by using method 2019-07-26 16:23:20 +04:00
Suren Atoyan
0ed8d2dc1d add type definition for utility 'monaco' 2019-07-24 12:05:50 +04:00
Suren Atoyan
36771caecd export utility 'monaco' to be able to access to monaco instance 2019-07-24 12:05:12 +04:00
Suren Atoyan
a3abb43eb3 add snapshot for ControlledEditor 2019-07-23 15:51:20 +04:00
Suren Atoyan
d6df517a4a create controlled editor component 2019-07-23 15:49:54 +04:00
Suren Atoyan
6e9e9a3d46 add a possibility to interact with DiffEditor before it is mounted 2019-07-21 11:24:38 +04:00
Suren Atoyan
bca7e8d7ac add a possibility to interact with Editor before it is mounted 2019-07-19 00:53:10 +04:00
Suren Atoyan
6bf2a390ef add 3rd argument to useUpdate to be able to apply or not changes 2019-07-19 00:51:07 +04:00
Suren Atoyan
824468092d keep coding style 2019-07-19 00:49:57 +04:00
Suren Atoyan
2de9bec6cd add basic support for TypeScript 2019-07-13 15:37:58 +04:00
Suren Atoyan
81725b79dd fix wrong context binding 2019-07-13 15:37:20 +04:00
Suren Atoyan
58675172dc update editors snapshots 2019-06-26 11:03:34 +04:00
Suren Atoyan
f99fd29bbc move from unpkg to cdn.jsdelivr 2019-06-26 10:52:39 +04:00
Suren Atoyan
095da2f89b update editors snapshots 2019-06-25 15:07:23 +04:00
Suren Atoyan
4c78c81102 add monaco version to CDN urls to avoid 302 redirects 2019-06-25 15:05:50 +04:00
Suren Atoyan
3773055701 make text-align of editors independant from outside 2019-06-22 17:38:26 +04:00
Suren Atoyan
14a8f12306 fix issue related to options update 2019-06-21 20:23:43 +04:00
Suren Atoyan
c30dee6c6e update Editor snapshot 2019-06-20 14:44:15 +04:00
Suren Atoyan
d7a9c866ae add tests for DiffEditor 2019-06-20 14:43:51 +04:00
Suren Atoyan
41afec43a1 initalize monaco once 2019-06-20 14:25:23 +04:00