78 Commits

Author SHA1 Message Date
Suren Atoyan
70700257ca add className and wrapperClassName props for Editor and DiffEditor 2020-06-28 17:01:48 +04:00
Suren Atoyan
d24bf693fd
Merge pull request #78 from psrok1/fix/options-effects-order
Fix `readOnly` mode option check
2020-06-28 16:30:02 +04:00
psrok1
da22f369e0 Check readOnly computed editor option instead of property 2020-06-22 13:23:30 +02:00
Suren Atoyan
10aaf643df update package version to 3.3.2 2020-06-20 17:43:42 +04:00
Suren Atoyan
9507194a6b add a possibility to pass src of config script 2020-06-20 12:40:10 +04:00
Neal Chandra
d89fd514a3 Rename overrides to overrideServices 2020-05-30 11:32:10 -07:00
Neal Chandra
5e206b770f Add overrides prop to editor 2020-05-29 14:58:30 -07:00
psrok1
ff7de5619d Changed order of 'options' and 'value' effects 2020-05-21 15:57:04 +02:00
Suren Atoyan
7dc20f4023
Merge pull request #67 from Evelyn-McDonald/diffeditordidmount-fix
DiffEditorDidMount-fix
2020-04-25 15:41:48 +04:00
Suren Atoyan
76897f4e91 package: update default package version to 0.20.0 2020-04-13 15:01:27 +04:00
Evelyn
6f0328a0c8 swap getModifiedEditorValue and getOriginalEditorValue in DiffEditorDidMount type definition and README 2020-03-31 17:34:29 -04:00
Suren Atoyan
e8711ac86b types: fix monaco.config types 2020-03-31 16:29:00 +04:00
Suren Atoyan
7f5b7730d4 config: deprecate indirect way of configuration and add deprecation message; create a new structure of the configuration; the passed object will be directly passed to require.config 2020-03-31 15:34:05 +04:00
Suren Atoyan
404291d21c fix: check the existence of target[key] in deepMerge 2020-03-31 15:33:12 +04:00
Suren Atoyan
f06e9d7a2c diff editor: remove line prop as it's not used (and can't be used) 2020-03-16 02:14:11 +04:00
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