@dwidge/json-forms-expo 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"FormListScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/FormListScreen.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,cAAc;;;;;6CAwC1B,CAAC"}
1
+ {"version":3,"file":"FormListScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/FormListScreen.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,cAAc;;;;;6CAsC1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaListScreen.d.ts","sourceRoot":"","sources":["../../../src/Schema/SchemaListScreen.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB;;;;;;6CAmC5B,CAAC"}
1
+ {"version":3,"file":"SchemaListScreen.d.ts","sourceRoot":"","sources":["../../../src/Schema/SchemaListScreen.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;;;;;;6CAiC5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dwidge/json-forms-expo",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Editor for Json Forms.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,17 +26,17 @@
26
26
  "@dwidge/json-forms-paper": "^0.0.7",
27
27
  "@dwidge/trace-js": "^0.0.10",
28
28
  "@dwidge/axios-interceptor": "^0.0.2",
29
- "@dwidge/components-expo": "^0.0.19",
30
- "@dwidge/components-rnw": "^0.0.13",
31
- "@dwidge/crud-api-react": "^0.0.17",
32
- "@dwidge/hooks-expo": "^0.0.13",
33
- "@dwidge/hooks-react": "^0.0.9",
34
- "@dwidge/json-forms-designer": "^0.0.11",
35
- "@dwidge/json-schema-form-rnw": "^0.0.12",
29
+ "@dwidge/components-expo": "^0.0.20",
30
+ "@dwidge/components-rnw": "^0.0.14",
31
+ "@dwidge/crud-api-react": "^0.0.18",
32
+ "@dwidge/hooks-expo": "^0.0.14",
33
+ "@dwidge/hooks-react": "^0.0.10",
34
+ "@dwidge/json-forms-designer": "^0.0.12",
35
+ "@dwidge/json-schema-form-rnw": "^0.0.13",
36
36
  "@dwidge/query-axios-zod": "^0.0.14",
37
37
  "@dwidge/react-native-web-webview": "^0.0.4",
38
38
  "@dwidge/utils-js": "^0.0.14",
39
- "@dwidge/wmdb-expo": "^0.0.15",
39
+ "@dwidge/wmdb-expo": "^0.0.16",
40
40
  "@dwidge/wmdb-expo-web": "^0.0.5",
41
41
  "@jsonforms/core": "^3.4.0",
42
42
  "@jsonforms/react": "^3.4.0",
@@ -5,6 +5,7 @@
5
5
  import { StyledHeader } from "@dwidge/components-expo";
6
6
  import {
7
7
  CenterView,
8
+ IconButton,
8
9
  ScreenView,
9
10
  ScrollView,
10
11
  StyledFontAwesome,
@@ -34,17 +35,15 @@ export const FormListScreen = ({
34
35
  <StyledHeader
35
36
  title="Manage Forms"
36
37
  actions={[
37
- {
38
- icon: "remove-circle",
39
- onPress:
38
+ <IconButton
39
+ icon="remove-circle"
40
+ onPress={
40
41
  deleteFormList && selection[0].length
41
42
  ? () => deleteFormList(selection[0].map((id) => ({ id })))
42
- : undefined,
43
- },
44
- {
45
- icon: "add-circle",
46
- onPress: createForm,
47
- },
43
+ : undefined
44
+ }
45
+ />,
46
+ <IconButton icon="add-circle" onPress={createForm} />,
48
47
  ]}
49
48
  />
50
49
  <ScrollView gap>
@@ -5,6 +5,7 @@
5
5
  import { StyledHeader } from "@dwidge/components-expo";
6
6
  import {
7
7
  CenterView,
8
+ IconButton,
8
9
  ScreenView,
9
10
  ScrollView,
10
11
  StyledFontAwesome,
@@ -25,17 +26,15 @@ export const SchemaListScreen = ({
25
26
  <StyledHeader
26
27
  title="Schemas"
27
28
  actions={[
28
- {
29
- icon: "remove-circle",
30
- onPress:
29
+ <IconButton
30
+ icon="remove-circle"
31
+ onPress={
31
32
  onDeleteList && selection[0].length
32
33
  ? () => onDeleteList(selection[0].map((id) => ({ id })))
33
- : undefined,
34
- },
35
- {
36
- icon: "add-circle",
37
- onPress: onCreate,
38
- },
34
+ : undefined
35
+ }
36
+ />,
37
+ <IconButton icon="add-circle" onPress={onCreate} />,
39
38
  ]}
40
39
  />
41
40
  <ScrollView gap pad>