@nolwenture/formik-jsonschema-form 1.0.0-beta.20 → 1.0.0-beta.22
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.
- package/dist/cjs/Form/fields/SearchableMultiTagSelectField/styledComponents.js +1 -1
- package/dist/cjs/FormView/FormView.js +4 -5
- package/dist/cjs/FormView/components/Field.js +8 -2
- package/dist/cjs/FormView/index.js +12 -2
- package/dist/cjs/FormView/templates/ObjectFieldTemplate/styledComponents.js +1 -1
- package/dist/cjs/FormView/types/index.js +2 -0
- package/dist/cjs/index.js +1 -24
- package/dist/esm/Form/fields/SearchableMultiTagSelectField/styledComponents.js +1 -1
- package/dist/esm/FormView/FormView.js +4 -5
- package/dist/esm/FormView/components/Field.js +8 -2
- package/dist/esm/FormView/index.js +9 -2
- package/dist/esm/FormView/templates/ObjectFieldTemplate/styledComponents.js +1 -1
- package/dist/esm/FormView/types/index.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/types/FormView/FormView.d.ts +1 -3
- package/dist/types/FormView/index.d.ts +10 -2
- package/dist/types/FormView/templates/CollapsibleObjectFieldTemplate/CollapsibleObjectFieldTemplate.d.ts +1 -1
- package/dist/types/FormView/templates/index.d.ts +1 -1
- package/dist/types/FormView/types/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ exports.SearchableMultiTagSelectFieldOptionList = styled_components_1.styled.ul
|
|
|
44
44
|
padding: unset;
|
|
45
45
|
margin: unset;
|
|
46
46
|
border: ${(props) => `${props.theme.strokeWidth.thin} solid ${props.theme.color.border.default}`};
|
|
47
|
-
border-radius: ${(props) => props.theme.borderRadius.
|
|
47
|
+
border-radius: ${(props) => props.theme.borderRadius.none};
|
|
48
48
|
position: absolute;
|
|
49
49
|
background: ${(props) => props.theme.color.background.default};
|
|
50
50
|
top: 100%;
|
|
@@ -12,8 +12,8 @@ const components_1 = require("./components");
|
|
|
12
12
|
const templates_1 = require("./templates");
|
|
13
13
|
const FormViewRegistry_1 = require("./FormViewRegistry");
|
|
14
14
|
exports.FormWrapper = styled_components_1.default.div `
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
16
|
+
//padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
17
17
|
`;
|
|
18
18
|
const FormView = (props) => {
|
|
19
19
|
(0, utils_1.warnFromUnsupportedKeys)("Form", props, [
|
|
@@ -28,9 +28,8 @@ const FormView = (props) => {
|
|
|
28
28
|
"formContext",
|
|
29
29
|
"components",
|
|
30
30
|
"hideUnmarkedAdditionalProperties",
|
|
31
|
-
"values",
|
|
32
31
|
]);
|
|
33
|
-
const { schema, uiSchema = {}, className, fields = {}, templates = {}, components = {}, formContext = {}, useItemsAsAdditionalItems = false, hideUnmarkedAdditionalProperties = false,
|
|
32
|
+
const { schema, uiSchema = {}, className, fields = {}, templates = {}, components = {}, formContext = {}, useItemsAsAdditionalItems = false, hideUnmarkedAdditionalProperties = false, } = props;
|
|
34
33
|
const schemaDefinitions = schema.definitions;
|
|
35
34
|
const uiSchemaDefinitions = uiSchema.definitions;
|
|
36
35
|
const registry = {
|
|
@@ -45,6 +44,6 @@ const FormView = (props) => {
|
|
|
45
44
|
};
|
|
46
45
|
const { Form: FormEl } = registry.components;
|
|
47
46
|
const SchemaField = registry.fields.SchemaField;
|
|
48
|
-
return ((0, jsx_runtime_1.jsx)(exports.FormWrapper, { children: (0, jsx_runtime_1.jsx)(FormViewRegistry_1.FormViewRegistry.Provider, { value: registry, children: (0, jsx_runtime_1.jsx)(FormEl, { className: className, children: (0, jsx_runtime_1.jsx)(SchemaField, { name: "", schema: schema, uiSchema: uiSchema
|
|
47
|
+
return ((0, jsx_runtime_1.jsx)(exports.FormWrapper, { children: (0, jsx_runtime_1.jsx)(FormViewRegistry_1.FormViewRegistry.Provider, { value: registry, children: (0, jsx_runtime_1.jsx)(FormEl, { className: className, children: (0, jsx_runtime_1.jsx)(SchemaField, { name: "", schema: schema, uiSchema: uiSchema }) }) }) }));
|
|
49
48
|
};
|
|
50
49
|
exports.FormView = FormView;
|
|
@@ -11,7 +11,7 @@ const getStyle_1 = require("../../utils/getStyle");
|
|
|
11
11
|
exports.FieldWrapper = styled_components_1.default.div `
|
|
12
12
|
color: ${(props) => props.theme.color.text.default};
|
|
13
13
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
14
|
-
margin: ${(props) => `${props.theme.spacing.l} 0`};
|
|
14
|
+
margin: ${(props) => `${props.theme.spacing.l} 0 `};
|
|
15
15
|
width: clamp(20rem, 100%, 70rem);
|
|
16
16
|
`;
|
|
17
17
|
exports.FieldTitle = styled_components_1.default.label `
|
|
@@ -32,7 +32,7 @@ exports.FieldDescription = styled_components_1.default.div `
|
|
|
32
32
|
font-weight: ${(props) => props.theme.typography.weight.normal};
|
|
33
33
|
font-style: italic;
|
|
34
34
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
35
|
-
margin-bottom: ${(props) => props.theme.spacing.
|
|
35
|
+
margin-bottom: ${(props) => props.theme.spacing.s};
|
|
36
36
|
max-width: 66ch;
|
|
37
37
|
`;
|
|
38
38
|
exports.StringFieldValue = styled_components_1.default.div `
|
|
@@ -41,6 +41,7 @@ exports.StringFieldValue = styled_components_1.default.div `
|
|
|
41
41
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
42
42
|
margin-bottom: ${(props) => props.theme.spacing.m};
|
|
43
43
|
max-width: 66ch;
|
|
44
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
44
45
|
white-space: pre-line;
|
|
45
46
|
`;
|
|
46
47
|
exports.TextAreaValue = styled_components_1.default.div `
|
|
@@ -49,17 +50,20 @@ exports.TextAreaValue = styled_components_1.default.div `
|
|
|
49
50
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
50
51
|
margin-bottom: ${(props) => props.theme.spacing.m};
|
|
51
52
|
max-width: 66ch;
|
|
53
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
52
54
|
white-space: pre-line;
|
|
53
55
|
`;
|
|
54
56
|
exports.ArrayFieldItem = styled_components_1.default.div `
|
|
55
57
|
break-before: avoid;
|
|
56
58
|
color: ${(props) => props.theme.color.text.default};
|
|
57
59
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
60
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
58
61
|
`;
|
|
59
62
|
exports.EJSFieldValue = styled_components_1.default.div `
|
|
60
63
|
break-before: avoid;
|
|
61
64
|
color: ${(props) => props.theme.color.text.default};
|
|
62
65
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
66
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
63
67
|
width: 100%;
|
|
64
68
|
`;
|
|
65
69
|
const NotSelected = styled_components_1.default.div `
|
|
@@ -97,6 +101,7 @@ const NotSelectedCircle = styled_components_1.default.span `
|
|
|
97
101
|
exports.BooleanFieldWrapper = styled_components_1.default.div `
|
|
98
102
|
break-before: avoid;
|
|
99
103
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
104
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
100
105
|
|
|
101
106
|
`;
|
|
102
107
|
exports.MultipleChoiceFieldWrapper = styled_components_1.default.div `
|
|
@@ -104,6 +109,7 @@ exports.MultipleChoiceFieldWrapper = styled_components_1.default.div `
|
|
|
104
109
|
label {
|
|
105
110
|
align-items: start;
|
|
106
111
|
}
|
|
112
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
107
113
|
`;
|
|
108
114
|
const BooleanFieldValue = ({ name, className, value, label, }) => {
|
|
109
115
|
return ((0, jsx_runtime_1.jsx)("div", { className: className, children: value === true ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { children: "\u2713" }), (0, jsx_runtime_1.jsx)("span", { children: label !== undefined ? label : "Selected" })] })) : ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { children: "\u2716" }), (0, jsx_runtime_1.jsx)("span", { children: label !== undefined ? label : "Not selected" })] })) }));
|
|
@@ -14,6 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
__exportStar(require("
|
|
17
|
+
exports.FormViewTemplates = exports.FormViewFields = exports.FormViewComponents = void 0;
|
|
18
|
+
__exportStar(require("../utils"), exports);
|
|
19
|
+
__exportStar(require("../common/types"), exports);
|
|
20
|
+
__exportStar(require("../common/constants"), exports);
|
|
21
|
+
__exportStar(require("../common/FileUploadContext"), exports);
|
|
22
|
+
const fields_1 = require("./fields");
|
|
23
|
+
Object.defineProperty(exports, "FormViewFields", { enumerable: true, get: function () { return fields_1.fields; } });
|
|
24
|
+
const components_1 = require("./components");
|
|
25
|
+
Object.defineProperty(exports, "FormViewComponents", { enumerable: true, get: function () { return components_1.components; } });
|
|
26
|
+
const templates_1 = require("./templates");
|
|
27
|
+
Object.defineProperty(exports, "FormViewTemplates", { enumerable: true, get: function () { return templates_1.templates; } });
|
|
19
28
|
__exportStar(require("./FormView"), exports);
|
|
29
|
+
__exportStar(require("./FormViewRegistry"), exports);
|
|
@@ -13,7 +13,7 @@ exports.ObjectFieldTemplateTitle = styled_components_1.default.div `
|
|
|
13
13
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
14
14
|
font-size: ${(props) => props.theme.typography.size.h4};
|
|
15
15
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
16
|
-
margin: ${(props) => `${props.theme.spacing.
|
|
16
|
+
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
17
17
|
`;
|
|
18
18
|
exports.ObjectFieldTemplateDescription = undefined;
|
|
19
19
|
function getComponents(components) {
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,33 +10,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
15
|
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.view = void 0;
|
|
40
17
|
//This file exists for purpose releasing "moduleResolution": "node" compatible version (until we split this to multiple packages)
|
|
41
18
|
__exportStar(require("./Form"), exports);
|
|
42
|
-
|
|
19
|
+
__exportStar(require("./FormView"), exports);
|
|
@@ -41,7 +41,7 @@ export const SearchableMultiTagSelectFieldOptionList = styled.ul `
|
|
|
41
41
|
padding: unset;
|
|
42
42
|
margin: unset;
|
|
43
43
|
border: ${(props) => `${props.theme.strokeWidth.thin} solid ${props.theme.color.border.default}`};
|
|
44
|
-
border-radius: ${(props) => props.theme.borderRadius.
|
|
44
|
+
border-radius: ${(props) => props.theme.borderRadius.none};
|
|
45
45
|
position: absolute;
|
|
46
46
|
background: ${(props) => props.theme.color.background.default};
|
|
47
47
|
top: 100%;
|
|
@@ -6,8 +6,8 @@ import { components as defaultComponents } from "./components";
|
|
|
6
6
|
import { templates as defaultTemplates } from "./templates";
|
|
7
7
|
import { FormViewRegistry } from "./FormViewRegistry";
|
|
8
8
|
export const FormWrapper = styled.div `
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
10
|
+
//padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
11
11
|
`;
|
|
12
12
|
export const FormView = (props) => {
|
|
13
13
|
warnFromUnsupportedKeys("Form", props, [
|
|
@@ -22,9 +22,8 @@ export const FormView = (props) => {
|
|
|
22
22
|
"formContext",
|
|
23
23
|
"components",
|
|
24
24
|
"hideUnmarkedAdditionalProperties",
|
|
25
|
-
"values",
|
|
26
25
|
]);
|
|
27
|
-
const { schema, uiSchema = {}, className, fields = {}, templates = {}, components = {}, formContext = {}, useItemsAsAdditionalItems = false, hideUnmarkedAdditionalProperties = false,
|
|
26
|
+
const { schema, uiSchema = {}, className, fields = {}, templates = {}, components = {}, formContext = {}, useItemsAsAdditionalItems = false, hideUnmarkedAdditionalProperties = false, } = props;
|
|
28
27
|
const schemaDefinitions = schema.definitions;
|
|
29
28
|
const uiSchemaDefinitions = uiSchema.definitions;
|
|
30
29
|
const registry = {
|
|
@@ -39,5 +38,5 @@ export const FormView = (props) => {
|
|
|
39
38
|
};
|
|
40
39
|
const { Form: FormEl } = registry.components;
|
|
41
40
|
const SchemaField = registry.fields.SchemaField;
|
|
42
|
-
return (_jsx(FormWrapper, { children: _jsx(FormViewRegistry.Provider, { value: registry, children: _jsx(FormEl, { className: className, children: _jsx(SchemaField, { name: "", schema: schema, uiSchema: uiSchema
|
|
41
|
+
return (_jsx(FormWrapper, { children: _jsx(FormViewRegistry.Provider, { value: registry, children: _jsx(FormEl, { className: className, children: _jsx(SchemaField, { name: "", schema: schema, uiSchema: uiSchema }) }) }) }));
|
|
43
42
|
};
|
|
@@ -5,7 +5,7 @@ import { getStyle } from "../../utils/getStyle";
|
|
|
5
5
|
export const FieldWrapper = styled.div `
|
|
6
6
|
color: ${(props) => props.theme.color.text.default};
|
|
7
7
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
8
|
-
margin: ${(props) => `${props.theme.spacing.l} 0`};
|
|
8
|
+
margin: ${(props) => `${props.theme.spacing.l} 0 `};
|
|
9
9
|
width: clamp(20rem, 100%, 70rem);
|
|
10
10
|
`;
|
|
11
11
|
export const FieldTitle = styled.label `
|
|
@@ -26,7 +26,7 @@ export const FieldDescription = styled.div `
|
|
|
26
26
|
font-weight: ${(props) => props.theme.typography.weight.normal};
|
|
27
27
|
font-style: italic;
|
|
28
28
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
29
|
-
margin-bottom: ${(props) => props.theme.spacing.
|
|
29
|
+
margin-bottom: ${(props) => props.theme.spacing.s};
|
|
30
30
|
max-width: 66ch;
|
|
31
31
|
`;
|
|
32
32
|
export const StringFieldValue = styled.div `
|
|
@@ -35,6 +35,7 @@ export const StringFieldValue = styled.div `
|
|
|
35
35
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
36
36
|
margin-bottom: ${(props) => props.theme.spacing.m};
|
|
37
37
|
max-width: 66ch;
|
|
38
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
38
39
|
white-space: pre-line;
|
|
39
40
|
`;
|
|
40
41
|
export const TextAreaValue = styled.div `
|
|
@@ -43,17 +44,20 @@ export const TextAreaValue = styled.div `
|
|
|
43
44
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
44
45
|
margin-bottom: ${(props) => props.theme.spacing.m};
|
|
45
46
|
max-width: 66ch;
|
|
47
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
46
48
|
white-space: pre-line;
|
|
47
49
|
`;
|
|
48
50
|
export const ArrayFieldItem = styled.div `
|
|
49
51
|
break-before: avoid;
|
|
50
52
|
color: ${(props) => props.theme.color.text.default};
|
|
51
53
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
54
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
52
55
|
`;
|
|
53
56
|
export const EJSFieldValue = styled.div `
|
|
54
57
|
break-before: avoid;
|
|
55
58
|
color: ${(props) => props.theme.color.text.default};
|
|
56
59
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
60
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
57
61
|
width: 100%;
|
|
58
62
|
`;
|
|
59
63
|
const NotSelected = styled.div `
|
|
@@ -91,6 +95,7 @@ const NotSelectedCircle = styled.span `
|
|
|
91
95
|
export const BooleanFieldWrapper = styled.div `
|
|
92
96
|
break-before: avoid;
|
|
93
97
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
98
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
94
99
|
|
|
95
100
|
`;
|
|
96
101
|
export const MultipleChoiceFieldWrapper = styled.div `
|
|
@@ -98,6 +103,7 @@ export const MultipleChoiceFieldWrapper = styled.div `
|
|
|
98
103
|
label {
|
|
99
104
|
align-items: start;
|
|
100
105
|
}
|
|
106
|
+
padding-left: ${(props) => props.theme.spacing.l};
|
|
101
107
|
`;
|
|
102
108
|
export const BooleanFieldValue = ({ name, className, value, label, }) => {
|
|
103
109
|
return (_jsx("div", { className: className, children: value === true ? (_jsxs("div", { children: [_jsx("span", { children: "\u2713" }), _jsx("span", { children: label !== undefined ? label : "Selected" })] })) : (_jsxs("div", { children: [_jsx("span", { children: "\u2716" }), _jsx("span", { children: label !== undefined ? label : "Not selected" })] })) }));
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
export * from "
|
|
1
|
+
export * from "../utils";
|
|
2
|
+
export * from "../common/types";
|
|
3
|
+
export * from "../common/constants";
|
|
4
|
+
export * from "../common/FileUploadContext";
|
|
5
|
+
import { fields as FormViewFields } from "./fields";
|
|
6
|
+
import { components as FormViewComponents } from "./components";
|
|
7
|
+
import { templates as FormViewTemplates } from "./templates";
|
|
3
8
|
export * from "./FormView";
|
|
9
|
+
export * from "./FormViewRegistry";
|
|
10
|
+
export { FormViewComponents, FormViewFields, FormViewTemplates };
|
|
@@ -6,7 +6,7 @@ export const ObjectFieldTemplateTitle = styled.div `
|
|
|
6
6
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
7
7
|
font-size: ${(props) => props.theme.typography.size.h4};
|
|
8
8
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
9
|
-
margin: ${(props) => `${props.theme.spacing.
|
|
9
|
+
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
10
10
|
`;
|
|
11
11
|
export const ObjectFieldTemplateDescription = undefined;
|
|
12
12
|
export function getComponents(components) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { FormProps } from "../common/types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
export declare const FormWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const FormView: <T>(props: FormProps<T>
|
|
5
|
-
values: Record<string, any>;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const FormView: <T>(props: FormProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
export * from "
|
|
1
|
+
export * from "../utils";
|
|
2
|
+
export * from "../common/types";
|
|
3
|
+
export * from "../common/constants";
|
|
4
|
+
export * from "../common/FileUploadContext";
|
|
5
|
+
import { fields as FormViewFields } from "./fields";
|
|
6
|
+
import { components as FormViewComponents } from "./components";
|
|
7
|
+
import { templates as FormViewTemplates } from "./templates";
|
|
3
8
|
export * from "./FormView";
|
|
9
|
+
export * from "./FormViewRegistry";
|
|
10
|
+
export { FormViewComponents, FormViewFields, FormViewTemplates };
|
|
11
|
+
export type * from "./types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CollapsibleObjectFieldTemplate: import("
|
|
1
|
+
export declare const CollapsibleObjectFieldTemplate: import("../..").Field;
|
|
@@ -13,7 +13,7 @@ export declare const templateComponents: {
|
|
|
13
13
|
ArrayFieldTemplateDescription: typeof import("../components").FieldDescription | undefined;
|
|
14
14
|
};
|
|
15
15
|
export declare const templates: {
|
|
16
|
-
CollapsibleObjectFieldTemplate: import("
|
|
16
|
+
CollapsibleObjectFieldTemplate: import("..").Field;
|
|
17
17
|
ObjectFieldTemplate: React.FC<import("./ObjectFieldTemplate/types").ObjectFieldTemplateProps>;
|
|
18
18
|
FieldTemplate: React.FC<import("./FieldTemplate/types").FieldTemplateProps>;
|
|
19
19
|
ArrayFieldTemplate: React.FC<import("./ArrayFieldTemplate/types").ArrayFieldTemplateProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * from "./FormViewRegistryContext";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./Form";
|
|
2
|
-
export *
|
|
2
|
+
export * from "./FormView";
|
package/package.json
CHANGED