File tree Expand file tree Collapse file tree 4 files changed +194
-154
lines changed Expand file tree Collapse file tree 4 files changed +194
-154
lines changed Original file line number Diff line number Diff line change 2626 " docs/jupyter-chat-example"
2727 ],
2828 "scripts" : {
29- "build" : " lerna run build --stream --scope jupyterlab-chat-extension --include-filtered- dependencies" ,
29+ "build" : " lerna run build --stream --scope jupyterlab-chat-extension --include-dependencies" ,
3030 "build:core" : " lerna run build --stream --scope \" @jupyter/chat\" " ,
31- "build:lite-docs" : " lerna run build --stream --scope jupyter-chat-example --include-filtered- dependencies" ,
31+ "build:lite-docs" : " lerna run build --stream --scope jupyter-chat-example --include-dependencies" ,
3232 "build:prod" : " lerna run build:prod --stream" ,
3333 "clean" : " lerna run clean" ,
3434 "clean:all" : " lerna run clean:all" ,
Original file line number Diff line number Diff line change 6262 "@lumino/disposable" : " ^2.0.0" ,
6363 "@lumino/polling" : " ^2.0.0" ,
6464 "@lumino/signaling" : " ^2.0.0" ,
65- "@mui/icons-material" : " ^5.11.0 " ,
66- "@mui/material" : " ^5.11.0 " ,
65+ "@mui/icons-material" : " ^7.3.2 " ,
66+ "@mui/material" : " ^7.3.2 " ,
6767 "clsx" : " ^2.1.0" ,
6868 "react" : " ^18.2.0" ,
6969 "react-dom" : " ^18.2.0"
Original file line number Diff line number Diff line change @@ -187,20 +187,20 @@ export function ChatInput(props: ChatInput.IProps): JSX.Element {
187187 < Autocomplete
188188 { ...chatCommands . autocompleteProps }
189189 // ensure the autocomplete popup always renders on top
190- componentsProps = { {
190+ slotProps = { {
191191 popper : {
192192 placement : 'top'
193193 } ,
194194 paper : {
195195 sx : {
196196 border : '1px solid lightgray'
197197 }
198- }
199- } }
200- ListboxProps = { {
201- sx : {
202- '& .MuiAutocomplete-option' : {
203- padding : 2
198+ } ,
199+ listbox : {
200+ sx : {
201+ '& .MuiAutocomplete-option' : {
202+ padding : 2
203+ }
204204 }
205205 }
206206 } }
@@ -218,9 +218,11 @@ export function ChatInput(props: ChatInput.IProps): JSX.Element {
218218 onSelect = { ( ) =>
219219 ( model . cursorIndex = inputRef . current ?. selectionStart ?? null )
220220 }
221- InputProps = { {
222- ...params . InputProps ,
223- className : INPUT_COMPONENT_CLASS
221+ slotProps = { {
222+ input : {
223+ ...params . InputProps ,
224+ className : INPUT_COMPONENT_CLASS
225+ }
224226 } }
225227 label = { input . length > 2 ? helperText : ' ' }
226228 />
You can’t perform that action at this time.
0 commit comments