@nolwenture/formik-jsonschema-form 1.0.0-beta.8 → 1.0.0-beta.9
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.
|
@@ -13,7 +13,7 @@ const templates_1 = require("./templates");
|
|
|
13
13
|
const FormViewRegistry_1 = require("./FormViewRegistry");
|
|
14
14
|
exports.FormWrapper = styled_components_1.default.div `
|
|
15
15
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
16
|
-
padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
16
|
+
//padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
17
17
|
`;
|
|
18
18
|
const FormView = (props) => {
|
|
19
19
|
(0, utils_1.warnFromUnsupportedKeys)("Form", props, [
|
|
@@ -12,7 +12,6 @@ exports.FieldWrapper = styled_components_1.default.div `
|
|
|
12
12
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
13
13
|
width: clamp(20rem, 100%, 70rem);
|
|
14
14
|
margin: ${(props) => `${props.theme.spacing.l} 0`};
|
|
15
|
-
break-before: auto;
|
|
16
15
|
`;
|
|
17
16
|
exports.FieldTitle = styled_components_1.default.label `
|
|
18
17
|
color: ${(props) => props.theme.color.text.default};
|
|
@@ -20,8 +19,7 @@ exports.FieldTitle = styled_components_1.default.label `
|
|
|
20
19
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
21
20
|
font-size: ${(props) => props.theme.typography.size.large};
|
|
22
21
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
23
|
-
margin: ${(props) => `${props.theme.spacing.xs} 0 ${props.theme.spacing.
|
|
24
|
-
border-top: ${(props) => `${props.theme.strokeWidth.thin} solid ${props.theme.color.text.default}`};
|
|
22
|
+
margin: ${(props) => `${props.theme.spacing.xs} 0 ${props.theme.spacing.xs} 0`};
|
|
25
23
|
padding-top: ${(props) => props.theme.spacing.s};
|
|
26
24
|
width: 100%;
|
|
27
25
|
`;
|
|
@@ -7,7 +7,7 @@ import { templates as defaultTemplates } from "./templates";
|
|
|
7
7
|
import { FormViewRegistry } from "./FormViewRegistry";
|
|
8
8
|
export const FormWrapper = styled.div `
|
|
9
9
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
10
|
-
padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
10
|
+
//padding: ${(props) => props.theme.spacing.xxxxxl};
|
|
11
11
|
`;
|
|
12
12
|
export const FormView = (props) => {
|
|
13
13
|
warnFromUnsupportedKeys("Form", props, [
|
|
@@ -6,7 +6,6 @@ export const FieldWrapper = styled.div `
|
|
|
6
6
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
7
7
|
width: clamp(20rem, 100%, 70rem);
|
|
8
8
|
margin: ${(props) => `${props.theme.spacing.l} 0`};
|
|
9
|
-
break-before: auto;
|
|
10
9
|
`;
|
|
11
10
|
export const FieldTitle = styled.label `
|
|
12
11
|
color: ${(props) => props.theme.color.text.default};
|
|
@@ -14,8 +13,7 @@ export const FieldTitle = styled.label `
|
|
|
14
13
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
15
14
|
font-size: ${(props) => props.theme.typography.size.large};
|
|
16
15
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
17
|
-
margin: ${(props) => `${props.theme.spacing.xs} 0 ${props.theme.spacing.
|
|
18
|
-
border-top: ${(props) => `${props.theme.strokeWidth.thin} solid ${props.theme.color.text.default}`};
|
|
16
|
+
margin: ${(props) => `${props.theme.spacing.xs} 0 ${props.theme.spacing.xs} 0`};
|
|
19
17
|
padding-top: ${(props) => props.theme.spacing.s};
|
|
20
18
|
width: 100%;
|
|
21
19
|
`;
|
package/package.json
CHANGED