File tree Expand file tree Collapse file tree 4 files changed +482
-62
lines changed Expand file tree Collapse file tree 4 files changed +482
-62
lines changed Original file line number Diff line number Diff line change 2525 "prepublishOnly" : " npm run build"
2626 },
2727 "dependencies" : {
28+ "@emotion/react" : " ^11.10.0" ,
29+ "@emotion/styled" : " ^11.10.0" ,
30+ "@mui/material" : " ^5.10.0" ,
2831 "events" : " ^3.3.0" ,
2932 "flux" : " ^4.0.3" ,
3033 "react-base16-styling" : " ^0.9.1" ,
31- "react-lifecycles-compat" : " ^3.0.4" ,
32- "react-textarea-autosize" : " ^8.3.4"
34+ "react-lifecycles-compat" : " ^3.0.4"
3335 },
3436 "peerDependencies" : {
3537 "react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import AutosizeTextarea from 'react-textarea-autosize ' ;
2+ import TextareaAutosize from '@mui/material/TextareaAutosize ' ;
33
44import { toType } from './../helpers/util' ;
55import dispatcher from './../helpers/dispatcher' ;
@@ -258,7 +258,7 @@ class VariableEditor extends React.PureComponent {
258258
259259 return (
260260 < div >
261- < AutosizeTextarea
261+ < TextareaAutosize
262262 type = "text"
263263 inputRef = { input => input && input . focus ( ) }
264264 value = { editValue }
Original file line number Diff line number Diff line change 66 "baseUrl" : " ./src" ,
77 "outDir" : " dist" ,
88 "declaration" : false ,
9- "declarationMap" : false ,
10- "jsx" : " react-jsx" ,
11- "jsxImportSource" : " react"
9+ "declarationMap" : false
1210 },
1311 "include" : [
1412 " src/**/*" ,
You can’t perform that action at this time.
0 commit comments