@@ -29,8 +29,7 @@ import examples from '../examples';
2929import { useAppStore } from ' ../store' ;
3030import { createAjv } from ' ../validate' ;
3131
32- import { Pane , Splitpanes } from ' splitpanes' ;
33- import ' splitpanes/dist/splitpanes.css' ;
32+ import { VPane , VSplitpanes } from ' ../../src/components' ;
3433import { getCustomRenderersForExample } from ' ../renderers' ;
3534
3635const { extendedVuetifyRenderers } = await import (' ../../src' );
@@ -332,12 +331,11 @@ const handleAction = (action: Action) => {
332331 </v-card-title >
333332 <v-divider class =" mx-4" ></v-divider >
334333 <div class =" json-forms" >
335- <splitpanes
336- :class =" ['default-theme', 'splitpanes-vuetify']"
337- :rtl =" appStore.rtl"
334+ <v-splitpanes
335+ class =" splitpanes-vuetify"
338336 v-if =" appStore.layout === 'demo-and-data'"
339337 >
340- <pane min-size =" 20" >
338+ <v- pane min-size =" 20" >
341339 <v-card >
342340 <v-card-title >
343341 <v-toolbar flat >
@@ -348,8 +346,8 @@ const handleAction = (action: Action) => {
348346 <v-divider class =" mx-4" ></v-divider >
349347 <example-form :state =" state" @jsfchange =" onChange" />
350348 </v-card >
351- </pane >
352- <pane >
349+ </v- pane >
350+ <v- pane >
353351 <v-card >
354352 <v-card-title >
355353 <v-toolbar flat >
@@ -389,8 +387,8 @@ const handleAction = (action: Action) => {
389387 :editorBeforeMount =" registerValidations"
390388 ></monaco-editor >
391389 </v-card >
392- </pane >
393- </splitpanes >
390+ </v- pane >
391+ </v- splitpanes >
394392
395393 <example-form :state =" state" @jsfchange =" onChange" v-else />
396394 </div >
@@ -509,28 +507,3 @@ const handleAction = (action: Action) => {
509507 </div >
510508 </div >
511509</template >
512- <style lang="scss" scoped>
513- :deep(.default-theme ) {
514- & .splitpanes--vertical > .splitpanes__splitter ,
515- .splitpanes--vertical > .splitpanes__splitter {
516- border-left : 1px solid rgb (var (--v-theme-on-surface-variant ));
517- }
518-
519- & .splitpanes--horizontal > .splitpanes__splitter ,
520- .splitpanes--horizontal > .splitpanes__splitter {
521- border-top : 1px solid rgb (var (--v-theme-on-surface-variant ));
522- }
523-
524- .splitpanes__splitter {
525- background-color : rgb (var (--v-theme-surface ));
526- & :before ,
527- & :after {
528- background-color : rgb (var (--v-theme-on-surface-variant ));
529- }
530- & :hover :before ,
531- & :hover :after {
532- background-color : rgb (var (--v-theme-on-surface-variant ));
533- }
534- }
535- }
536- </style >
0 commit comments