250 Commits

Author SHA1 Message Date
Stanley Lim
fa34a7e29b
fixed the typo in the ControlledEditor example 2020-10-04 20:47:18 +04:00
Suren Atoyan
ff8b47704f update package version to 3.6.3 v3.6.3 2020-09-22 16:06:13 +04:00
Jonathan Tang
1b700c5b00
Pass HTMLAttributes to props (#113)
* Pass HTMLAttributes to props

Adds `React.HTMLAttributes<HTMLDivElements>>` to the the Functional Component type.

* Add className and wrapperClassName to Props
2020-09-22 12:57:57 +04:00
Suren Atoyan
51193342e7
fix the broken link for next.js dynamic import 2020-09-21 19:41:17 +04:00
Suren Atoyan
2061b26fb6 Merge branch 'master' of https://github.com/SurenAt93/monaco-react 2020-08-29 19:09:41 +04:00
Suren Atoyan
27821e73f8 use from monaco-theme package 2020-08-29 19:09:22 +04:00
Suren Atoyan
e24816b4f8 remove unnecessary utils/config 2020-08-29 19:08:48 +04:00
Suren Atoyan
fb75b4a06a
add new section - "create your own editor" 2020-08-19 18:00:16 +04:00
Suren Atoyan
1660690d7e
keep example codes compatible with the library eslint rules 2020-08-19 15:57:33 +04:00
Suren Atoyan
3a4cf82106
add shields.io badges 2020-08-19 15:53:12 +04:00
Suren Atoyan
68d6a0c7e1 Merge branch 'master' of https://github.com/SurenAt93/monaco-react v3.6.2 2020-08-19 14:16:58 +04:00
Suren Atoyan
5bb0547e43 update version to 3.6.2 2020-08-19 14:16:43 +04:00
Suren Atoyan
7a8ea5d926 refactor according to new eslint rules 2020-08-19 14:12:57 +04:00
Suren Atoyan
5310e06def update github username 2020-08-19 14:12:16 +04:00
Suren Atoyan
c3f8d099a8 update eslint rules: add 'eslint:recommended' and 'no-unused-vars' -> 'error' 2020-08-19 14:11:46 +04:00
Suren Atoyan
df8bc4ea3e
add helpful notes for electron and next.js users v3.6.1 2020-08-18 19:04:19 +04:00
Suren Atoyan
45e4c8394e update version to 3.6.1 2020-08-18 12:56:57 +04:00
Suren Atoyan
7bf4b7861c store current value in ref instead of making it a dependency of 2020-08-18 12:55:59 +04:00
Suren Atoyan
edea12e7a7 update version to 3.6.0 2020-08-18 12:12:16 +04:00
Suren Atoyan
b61ad59e6f
Card 43719439 (#108)
* fix ControlledEditor onChange handler issue; dispose prev listener and attach a new one for every new onChange

* remove unnecessary dependency

* do not trigger onChange in programmatic changes
2020-08-18 12:09:52 +04:00
Suren Atoyan
75e4672d04 update version to 3.5.7 2020-08-09 21:09:58 +04:00
Suren Atoyan
b9aac0e9d4 remove intermediate function for injecting scripts 2020-08-09 21:08:20 +04:00
Suren Atoyan
9bac09d857 update version to 3.5.6 2020-08-06 22:05:14 +04:00
Suren Atoyan
abeed660cf add as a dependency (replace with util 2020-08-06 22:04:54 +04:00
Suren Atoyan
53e6a48440 update version to 3.5.5 2020-08-03 03:07:01 +04:00
Suren Atoyan
76918e82b5 move @babel/runtime from peer dependencies to dependencies 2020-08-03 03:05:57 +04:00
Suren Atoyan
a95305d072 update version to 3.5.4 2020-08-03 02:58:24 +04:00
Suren Atoyan
c42d281936 add @babel/runtime as a peer dependency 2020-08-03 02:57:13 +04:00
Suren Atoyan
b33eb79eb9 update version to 3.5.3 v3.5.3 2020-08-03 02:31:36 +04:00
Suren Atoyan
eecace35f4 remove utils/store to utils/local-state 2020-08-03 02:29:15 +04:00
Suren Atoyan
7c7dd01293 move out hooks from utils to root 2020-08-03 02:28:31 +04:00
Suren Atoyan
165b9c368c update babel version / activate helpers 2020-08-03 02:26:47 +04:00
Suren Atoyan
5e168a4b01 update version to 3.5.2 2020-08-02 19:47:48 +04:00
Suren Atoyan
d5fd64b2fb redesign "store" utility 2020-08-02 19:46:04 +04:00
Suren Atoyan
4eef9581d1 update version to 3.5.1 2020-07-30 18:13:26 +04:00
Suren Atoyan
3694326262 fix config obj name 2020-07-30 18:12:17 +04:00
Suren Atoyan
6800aa317b update version to 3.5.0 2020-07-30 17:46:03 +04:00
Suren Atoyan
12a50e79d4 redesign utility , get rid of class, make it more fp 2020-07-30 17:42:38 +04:00
Suren Atoyan
23bf03d070 export compose and store from index point 2020-07-30 17:41:54 +04:00
Suren Atoyan
e475ca3470 create store utility 2020-07-30 17:40:47 +04:00
Suren Atoyan
7d9d60a1b8 create utility 2020-07-30 17:40:25 +04:00
Suren Atoyan
ef4b4f21e6 update version to 3.4.2 v3.4.2 v3.5.0 2020-07-15 17:11:06 +04:00
Suren Atoyan
a0a7c8acac update version to 3.4.1 v3.4.1 2020-07-03 16:06:10 +04:00
Suren Atoyan
8bbbba03cb improve initialization error handling 2020-07-03 16:04:10 +04:00
Suren Atoyan
b7f7fc84a7 update package version to 3.4.0 v3.4.0 2020-06-28 17:03:18 +04:00
Suren Atoyan
3c335b0689 add className and wrapperClassName props into the 'props' section of Editor and DiffEditor 2020-06-28 17:02:56 +04:00
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
eb186ab61a fix typo in version number v3.3.2 2020-06-20 17:52:06 +04:00