@nolwenture/formik-jsonschema-form 1.0.0-beta.18 → 1.0.0-beta.19
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SearchableSelectFieldInputContainer = exports.SearchableSelectFieldClearButton = exports.SearchableSelectFieldInputElement = exports.SearchableSelectFieldNotFound = exports.SearchableSelectFieldListExpand = exports.SearchableSelectFieldListOption = exports.SearchableSelectFieldDropdownContainer = exports.SearchableSelectFieldContainer = void 0;
|
|
4
|
+
const polished_1 = require("polished");
|
|
4
5
|
const styled_components_1 = require("styled-components");
|
|
5
6
|
const FieldInput_1 = require("../../components/FieldInput");
|
|
6
7
|
const styledComponents_1 = require("../SearchableMultiTagSelectField/styledComponents");
|
|
@@ -32,18 +33,20 @@ exports.SearchableSelectFieldInputElement = (0, styled_components_1.styled)(Fiel
|
|
|
32
33
|
text-overflow: ellipsis;
|
|
33
34
|
`;
|
|
34
35
|
exports.SearchableSelectFieldClearButton = styled_components_1.styled.span `
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
position: absolute;
|
|
37
|
-
right: ${(props) => props.theme.spacing.xs};
|
|
38
|
-
bottom: 0;
|
|
39
|
-
top: 0;
|
|
40
|
-
margin: auto;
|
|
41
36
|
background-color: ${(props) => props.theme.color.palette.neutral[500]};
|
|
42
37
|
border-radius: ${(props) => props.theme.borderRadius.circle};
|
|
38
|
+
bottom: 0;
|
|
39
|
+
color: ${(props) => (0, polished_1.readableColor)(props.theme.color.palette.neutral[500])};
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
font-size: ${(props) => props.theme.typography.size.small};
|
|
42
|
+
height: 1rem;
|
|
43
43
|
line-height: 1rem;
|
|
44
|
+
margin: auto;
|
|
44
45
|
min-width: 1rem;
|
|
45
|
-
|
|
46
|
+
position: absolute;
|
|
47
|
+
right: ${(props) => props.theme.spacing.xs};
|
|
46
48
|
text-align: center;
|
|
49
|
+
top: 0;
|
|
47
50
|
`;
|
|
48
51
|
exports.SearchableSelectFieldInputContainer = styled_components_1.styled.div `
|
|
49
52
|
display: flex;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { readableColor } from "polished";
|
|
1
2
|
import { styled } from "styled-components";
|
|
2
3
|
import { FieldInput } from "../../components/FieldInput";
|
|
3
4
|
import { SearchableMultiTagSelectFieldSearchContainer, SearchableMultiTagSelectFieldOptionList, SearchableMultiTagSelectFieldOptionListItem, } from "../SearchableMultiTagSelectField/styledComponents";
|
|
@@ -29,18 +30,20 @@ export const SearchableSelectFieldInputElement = styled(FieldInput) `
|
|
|
29
30
|
text-overflow: ellipsis;
|
|
30
31
|
`;
|
|
31
32
|
export const SearchableSelectFieldClearButton = styled.span `
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
position: absolute;
|
|
34
|
-
right: ${(props) => props.theme.spacing.xs};
|
|
35
|
-
bottom: 0;
|
|
36
|
-
top: 0;
|
|
37
|
-
margin: auto;
|
|
38
33
|
background-color: ${(props) => props.theme.color.palette.neutral[500]};
|
|
39
34
|
border-radius: ${(props) => props.theme.borderRadius.circle};
|
|
35
|
+
bottom: 0;
|
|
36
|
+
color: ${(props) => readableColor(props.theme.color.palette.neutral[500])};
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
font-size: ${(props) => props.theme.typography.size.small};
|
|
39
|
+
height: 1rem;
|
|
40
40
|
line-height: 1rem;
|
|
41
|
+
margin: auto;
|
|
41
42
|
min-width: 1rem;
|
|
42
|
-
|
|
43
|
+
position: absolute;
|
|
44
|
+
right: ${(props) => props.theme.spacing.xs};
|
|
43
45
|
text-align: center;
|
|
46
|
+
top: 0;
|
|
44
47
|
`;
|
|
45
48
|
export const SearchableSelectFieldInputContainer = styled.div `
|
|
46
49
|
display: flex;
|
package/package.json
CHANGED