@@ -30,7 +30,6 @@ import { FormFooter, FormWrapper, GuideComponent } from '../display';
3030import { PluginTable } from '../inputs' ;
3131import { Sections } from './sections/sections' ;
3232import { PluginConfig } from '../../types' ;
33- import { CollapsibleResizableContainer } from '../controls/collapsibleResizableContainer' ;
3433
3534const FormStepper = React . lazy ( ( ) =>
3635 import ( '../display/formStepper' ) . then ( ( module ) => ( {
@@ -47,7 +46,7 @@ export interface ConfigUIFormProps {
4746 values : Record < string , any > ,
4847 tablesList ?: PluginTable [ ] ,
4948 ) => PluginUiMessagePayload [ 'validation_passed' ] [ 'values' ] ;
50- container ?: HTMLElement ;
49+ container ?: HTMLElement | ShadowRoot ;
5150}
5251
5352/**
@@ -200,7 +199,7 @@ export function ConfigUIForm({ prepareSubmitValues, container }: ConfigUIFormPro
200199 < FormStepper steps = { config . steps . map ( ( { title } ) => title ) } activeIndex = { step } />
201200 </ Box >
202201 ) }
203- < Stack direction = "row" spacing = { 3 } >
202+ < Stack direction = "row" spacing = { 5 } alignItems = "flex-start" >
204203 < Box
205204 sx = { {
206205 flex : '1 1 0' ,
@@ -250,15 +249,9 @@ export function ConfigUIForm({ prepareSubmitValues, container }: ConfigUIFormPro
250249 </ Stack >
251250 </ form >
252251 </ Box >
253- < CollapsibleResizableContainer
254- collapsible = { true }
255- minWidth = { 360 }
256- width = { 500 }
257- maxWidth = { 500 }
258- togglePosition = "left"
259- >
252+ < Box sx = { { width : 500 , minWidth : 360 , position : 'sticky' , top : 10 } } >
260253 < GuideComponent pluginUiMessageHandler = { pluginUiMessageHandler } />
261- </ CollapsibleResizableContainer >
254+ </ Box >
262255 </ Stack >
263256 </ FormProvider >
264257 </ ThemeProvider >
0 commit comments