Skip to content

Commit 1722b17

Browse files
committed
update to 0.5.0-alpha.2
1 parent 750e2dd commit 1722b17

File tree

3 files changed

+38
-36
lines changed

3 files changed

+38
-36
lines changed

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
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",

src/Schema/DemoEditor.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ import {
1717
} from '@ui-schema/json-schema';
1818
import { SchemaGridHandler } from '@ui-schema/ds-bootstrap/Grid';
1919
import { 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'
2123
import { isInvalid } from "@ui-schema/react/isInvalid";
2224

2325
/**
2426
*
2527
* @type {import('@ui-schema/ds-material/Binding').BtsBinding}
2628
*/
2729
const 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

4446
const validator = Validator([

0 commit comments

Comments
 (0)