@nolwenture/formik-jsonschema-form 1.0.1 → 1.0.2
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/components/FieldInput.js +2 -0
- package/dist/cjs/Form/fields/ObjectField/styledComponents.js +1 -0
- package/dist/cjs/Form/fields/SearchableMultiTagSelectField/styledComponents.js +2 -4
- package/dist/cjs/Form/fields/TextAreaField/styledComponents.js +0 -1
- package/dist/cjs/Form/styles/common.js +4 -0
- package/dist/esm/Form/components/FieldInput.js +2 -0
- package/dist/esm/Form/fields/ObjectField/styledComponents.js +1 -0
- package/dist/esm/Form/fields/SearchableMultiTagSelectField/styledComponents.js +2 -4
- package/dist/esm/Form/fields/TextAreaField/styledComponents.js +0 -1
- package/dist/esm/Form/styles/common.js +4 -0
- package/package.json +1 -1
|
@@ -38,6 +38,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
38
38
|
const styled_components_1 = require("styled-components");
|
|
39
39
|
const formik = __importStar(require("formik"));
|
|
40
40
|
exports.FieldWrapper = styled_components_1.styled.div `
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
41
43
|
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
42
44
|
color: ${(props) => props.theme.color.text.default};
|
|
43
45
|
`;
|
|
@@ -21,6 +21,7 @@ exports.ObjectFieldItemButtons = styled_components_1.styled.div `
|
|
|
21
21
|
exports.ObjectFieldButton = (0, styled_components_1.styled)(component_library_1.Button) `
|
|
22
22
|
line-height: 1;
|
|
23
23
|
padding: ${(props) => `${props.theme.spacing.s} ${props.theme.spacing.m}`};
|
|
24
|
+
justify-content: center;
|
|
24
25
|
`;
|
|
25
26
|
exports.ObjectFieldUpButton = (0, styled_components_1.styled)(exports.ObjectFieldButton) ``;
|
|
26
27
|
exports.ObjectFieldDownButton = (0, styled_components_1.styled)(exports.ObjectFieldButton) ``;
|
|
@@ -11,12 +11,10 @@ exports.SearchableMultiTagSelectFieldContainer = (0, styled_components_1.styled)
|
|
|
11
11
|
|
|
12
12
|
`;
|
|
13
13
|
exports.SearchableMultiTagSelectFieldSearchContainer = styled_components_1.styled.div `
|
|
14
|
-
display:
|
|
15
|
-
|
|
16
|
-
width: fit-content;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
17
16
|
`;
|
|
18
17
|
exports.SearchableMultiTagSelectFieldInputElement = (0, styled_components_1.styled)(FieldInput_1.FieldInput) `
|
|
19
|
-
width: 100%;
|
|
20
18
|
`;
|
|
21
19
|
exports.SearchableMultiTagSelectFieldBadgeContainer = styled_components_1.styled.div `
|
|
22
20
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
@@ -4,6 +4,10 @@ exports.CommonCheckboxStyles = exports.CommonFieldWrapper = void 0;
|
|
|
4
4
|
const styled_components_1 = require("styled-components");
|
|
5
5
|
const polished_1 = require("polished");
|
|
6
6
|
exports.CommonFieldWrapper = styled_components_1.styled.div `
|
|
7
|
+
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
7
11
|
input {
|
|
8
12
|
background-color: ${(props) => props.theme.color.background.input};
|
|
9
13
|
border-radius: ${(props) => props.theme.borderRadius.none};
|
|
@@ -2,6 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { styled } from "styled-components";
|
|
3
3
|
import * as formik from "formik";
|
|
4
4
|
export const FieldWrapper = styled.div `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
5
7
|
margin: ${(props) => `${props.theme.spacing.s} 0`};
|
|
6
8
|
color: ${(props) => props.theme.color.text.default};
|
|
7
9
|
`;
|
|
@@ -18,6 +18,7 @@ export const ObjectFieldItemButtons = styled.div `
|
|
|
18
18
|
export const ObjectFieldButton = styled(Button) `
|
|
19
19
|
line-height: 1;
|
|
20
20
|
padding: ${(props) => `${props.theme.spacing.s} ${props.theme.spacing.m}`};
|
|
21
|
+
justify-content: center;
|
|
21
22
|
`;
|
|
22
23
|
export const ObjectFieldUpButton = styled(ObjectFieldButton) ``;
|
|
23
24
|
export const ObjectFieldDownButton = styled(ObjectFieldButton) ``;
|
|
@@ -8,12 +8,10 @@ export const SearchableMultiTagSelectFieldContainer = styled(CommonFieldWrapper)
|
|
|
8
8
|
|
|
9
9
|
`;
|
|
10
10
|
export const SearchableMultiTagSelectFieldSearchContainer = styled.div `
|
|
11
|
-
display:
|
|
12
|
-
|
|
13
|
-
width: fit-content;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
14
13
|
`;
|
|
15
14
|
export const SearchableMultiTagSelectFieldInputElement = styled(FieldInput) `
|
|
16
|
-
width: 100%;
|
|
17
15
|
`;
|
|
18
16
|
export const SearchableMultiTagSelectFieldBadgeContainer = styled.div `
|
|
19
17
|
font-family: ${(props) => props.theme.typography.fontFamily.base};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { styled } from "styled-components";
|
|
2
2
|
import { readableColor } from "polished";
|
|
3
3
|
export const CommonFieldWrapper = styled.div `
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
|
|
4
8
|
input {
|
|
5
9
|
background-color: ${(props) => props.theme.color.background.input};
|
|
6
10
|
border-radius: ${(props) => props.theme.borderRadius.none};
|