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 26
26
" docs/jupyter-chat-example"
27
27
],
28
28
"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" ,
30
30
"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" ,
32
32
"build:prod" : " lerna run build:prod --stream" ,
33
33
"clean" : " lerna run clean" ,
34
34
"clean:all" : " lerna run clean:all" ,
Original file line number Diff line number Diff line change 62
62
"@lumino/disposable" : " ^2.0.0" ,
63
63
"@lumino/polling" : " ^2.0.0" ,
64
64
"@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 " ,
67
67
"clsx" : " ^2.1.0" ,
68
68
"react" : " ^18.2.0" ,
69
69
"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 {
187
187
< Autocomplete
188
188
{ ...chatCommands . autocompleteProps }
189
189
// ensure the autocomplete popup always renders on top
190
- componentsProps = { {
190
+ slotProps = { {
191
191
popper : {
192
192
placement : 'top'
193
193
} ,
194
194
paper : {
195
195
sx : {
196
196
border : '1px solid lightgray'
197
197
}
198
- }
199
- } }
200
- ListboxProps = { {
201
- sx : {
202
- '& .MuiAutocomplete-option' : {
203
- padding : 2
198
+ } ,
199
+ listbox : {
200
+ sx : {
201
+ '& .MuiAutocomplete-option' : {
202
+ padding : 2
203
+ }
204
204
}
205
205
}
206
206
} }
@@ -218,9 +218,11 @@ export function ChatInput(props: ChatInput.IProps): JSX.Element {
218
218
onSelect = { ( ) =>
219
219
( model . cursorIndex = inputRef . current ?. selectionStart ?? null )
220
220
}
221
- InputProps = { {
222
- ...params . InputProps ,
223
- className : INPUT_COMPONENT_CLASS
221
+ slotProps = { {
222
+ input : {
223
+ ...params . InputProps ,
224
+ className : INPUT_COMPONENT_CLASS
225
+ }
224
226
} }
225
227
label = { input . length > 2 ? helperText : ' ' }
226
228
/>
You can’t perform that action at this time.
0 commit comments