@nolwenture/formik-jsonschema-form 1.0.0-beta.44 → 1.0.0-beta.46
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.
|
@@ -18,7 +18,7 @@ exports.FieldTitle = styled_components_1.default.label `
|
|
|
18
18
|
color: ${(props) => props.theme.color.text.default};
|
|
19
19
|
display: inline-block;
|
|
20
20
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
21
|
-
font-size: ${(props) => props.theme.typography.size.
|
|
21
|
+
font-size: ${(props) => props.theme.typography.size.base};
|
|
22
22
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
23
23
|
margin: ${(props) => `${props.theme.spacing.xs} 0`};
|
|
24
24
|
width: 100%;
|
|
@@ -16,7 +16,7 @@ exports.ObjectFieldTemplateTitle = styled_components_1.default.div `
|
|
|
16
16
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
17
17
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
18
18
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
19
|
-
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
19
|
+
margin: ${(props) => `${props.theme.spacing.s} 0 ${props.theme.spacing.l} 0`};
|
|
20
20
|
|
|
21
21
|
${exports.ObjectFieldTemplateWrapper}[data-fjsf-level] > & {
|
|
22
22
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
@@ -26,15 +26,16 @@ exports.ObjectFieldTemplateTitle = styled_components_1.default.div `
|
|
|
26
26
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
27
27
|
font-size: ${(props) => props.theme.typography.size.h2};
|
|
28
28
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
29
|
-
margin-bottom: ${(props) => props.theme.spacing.l};
|
|
30
29
|
}
|
|
31
30
|
${exports.ObjectFieldTemplateWrapper}[data-fjsf-level="1"] > & {
|
|
32
31
|
font-size: ${(props) => props.theme.typography.size.h4};
|
|
33
32
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
33
|
+
margin-top: ${(props) => props.theme.spacing.xxxl};
|
|
34
34
|
}
|
|
35
35
|
${exports.ObjectFieldTemplateWrapper}[data-fjsf-level="2"] > & {
|
|
36
36
|
font-size: ${(props) => props.theme.typography.size.large};
|
|
37
37
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
38
|
+
margin-top: ${(props) => props.theme.spacing.xxxl};
|
|
38
39
|
}
|
|
39
40
|
`;
|
|
40
41
|
exports.ObjectFieldTemplateDescription = undefined;
|
|
@@ -12,7 +12,7 @@ export const FieldTitle = styled.label `
|
|
|
12
12
|
color: ${(props) => props.theme.color.text.default};
|
|
13
13
|
display: inline-block;
|
|
14
14
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
15
|
-
font-size: ${(props) => props.theme.typography.size.
|
|
15
|
+
font-size: ${(props) => props.theme.typography.size.base};
|
|
16
16
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
17
17
|
margin: ${(props) => `${props.theme.spacing.xs} 0`};
|
|
18
18
|
width: 100%;
|
|
@@ -9,7 +9,7 @@ export const ObjectFieldTemplateTitle = styled.div `
|
|
|
9
9
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
10
10
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
11
11
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
12
|
-
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
12
|
+
margin: ${(props) => `${props.theme.spacing.s} 0 ${props.theme.spacing.l} 0`};
|
|
13
13
|
|
|
14
14
|
${ObjectFieldTemplateWrapper}[data-fjsf-level] > & {
|
|
15
15
|
font-size: ${(props) => props.theme.typography.size.base};
|
|
@@ -19,15 +19,16 @@ export const ObjectFieldTemplateTitle = styled.div `
|
|
|
19
19
|
font-family: ${(props) => props.theme.typography.fontFamily.heading};
|
|
20
20
|
font-size: ${(props) => props.theme.typography.size.h2};
|
|
21
21
|
font-weight: ${(props) => props.theme.typography.weight.bold};
|
|
22
|
-
margin-bottom: ${(props) => props.theme.spacing.l};
|
|
23
22
|
}
|
|
24
23
|
${ObjectFieldTemplateWrapper}[data-fjsf-level="1"] > & {
|
|
25
24
|
font-size: ${(props) => props.theme.typography.size.h4};
|
|
26
25
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
26
|
+
margin-top: ${(props) => props.theme.spacing.xxxl};
|
|
27
27
|
}
|
|
28
28
|
${ObjectFieldTemplateWrapper}[data-fjsf-level="2"] > & {
|
|
29
29
|
font-size: ${(props) => props.theme.typography.size.large};
|
|
30
30
|
font-weight: ${(props) => props.theme.typography.weight.medium};
|
|
31
|
+
margin-top: ${(props) => props.theme.spacing.xxxl};
|
|
31
32
|
}
|
|
32
33
|
`;
|
|
33
34
|
export const ObjectFieldTemplateDescription = undefined;
|
package/package.json
CHANGED