File tree Expand file tree Collapse file tree 3 files changed +38
-36
lines changed Expand file tree Collapse file tree 3 files changed +38
-36
lines changed Original file line number Diff line number Diff line change 66 "@testing-library/jest-dom" : " ^4.2.4" ,
77 "@testing-library/react" : " ^9.5.0" ,
88 "@testing-library/user-event" : " ^7.2.1" ,
9- "@ui-schema/dictionary" : " ~0.1.0-alpha.1 " ,
10- "@ui-schema/ds-bootstrap" : " ~0.5.0-alpha.1 " ,
11- "@ui-schema/ui-schema" : " ~0.5.0-alpha.1 " ,
12- "@ui-schema/react" : " ~0.5.0-alpha.1 " ,
13- "@ui-schema/json-schema" : " ~0.5.0-alpha.1 " ,
14- "@ui-schema/json-pointer" : " ~0.5.0-alpha.1 " ,
9+ "@ui-schema/dictionary" : " ~0.1.0-alpha.2 " ,
10+ "@ui-schema/ds-bootstrap" : " ~0.5.0-alpha.2 " ,
11+ "@ui-schema/ui-schema" : " ~0.5.0-alpha.2 " ,
12+ "@ui-schema/react" : " ~0.5.0-alpha.2 " ,
13+ "@ui-schema/json-schema" : " ~0.5.0-alpha.2 " ,
14+ "@ui-schema/json-pointer" : " ~0.5.0-alpha.2 " ,
1515 "bootstrap" : " ^5.3.7" ,
1616 "clsx" : " ^2.1.1" ,
1717 "immutable" : " ^5.1.3" ,
Original file line number Diff line number Diff line change @@ -17,15 +17,17 @@ import {
1717} from '@ui-schema/json-schema' ;
1818import { SchemaGridHandler } from '@ui-schema/ds-bootstrap/Grid' ;
1919import { GridContainer } from '@ui-schema/ds-bootstrap/GridContainer' ;
20- import { widgets } from "@ui-schema/ds-bootstrap/BindingDefault" ;
20+ import { bindingComponents } from '@ui-schema/ds-bootstrap/Binding/Components'
21+ import { widgetsDefault } from '@ui-schema/ds-bootstrap/Binding/WidgetsDefault'
22+ import { widgetsExtended } from '@ui-schema/ds-bootstrap/Binding/WidgetsExtended'
2123import { isInvalid } from "@ui-schema/react/isInvalid" ;
2224
2325/**
2426 *
2527 * @type {import('@ui-schema/ds-material/Binding').BtsBinding }
2628 */
2729const customBinding = {
28- ...widgets ,
30+ ...bindingComponents ,
2931 widgetPlugins : [
3032 DefaultHandler ,
3133 schemaPluginsAdapterBuilder ( [
@@ -35,10 +37,10 @@ const customBinding = {
3537 SchemaGridHandler , // use `import {GridItemPlugin} from '@ui-schema/ds-material/GridItemPlugin'` for MUI v7
3638 ValidityReporter ,
3739 ] ,
38- // widgets: {
39- // ...typeWidgets ,
40- // ...bindingExtended ,
41- // },
40+ widgets : {
41+ ...widgetsDefault ,
42+ ...widgetsExtended ,
43+ } ,
4244}
4345
4446const validator = Validator ( [
You can’t perform that action at this time.
0 commit comments