@nolwenture/formik-jsonschema-form 1.0.0-beta.45 → 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.small};
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,7 +26,6 @@ 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};
@@ -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.small};
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,7 +19,6 @@ 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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nolwenture/formik-jsonschema-form",
3
- "version": "1.0.0-beta.45",
3
+ "version": "1.0.0-beta.46",
4
4
  "description": "Formik form generation from json schema",
5
5
  "author": "anttivikman <antti.vikman@nolwenture.com>",
6
6
  "contributors": [