@griddo/ax 11.4.17 → 11.4.18-rc.1
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/ax",
|
|
3
3
|
"description": "Griddo Author Experience",
|
|
4
|
-
"version": "11.4.
|
|
4
|
+
"version": "11.4.18-rc.1",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -224,5 +224,5 @@
|
|
|
224
224
|
"publishConfig": {
|
|
225
225
|
"access": "public"
|
|
226
226
|
},
|
|
227
|
-
"gitHead": "
|
|
227
|
+
"gitHead": "8ac17ac515cbad7c9f74f26401bffcb4552927db"
|
|
228
228
|
}
|
|
@@ -23,13 +23,6 @@ const SearchField = (props: ISearchFieldProps): JSX.Element => {
|
|
|
23
23
|
const [inputValue, setInputValue] = useState(value || "");
|
|
24
24
|
const [selectValue, setSelectValue] = useState<string>("");
|
|
25
25
|
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
if (inputValue.length === 0) {
|
|
28
|
-
setIsOpen(false);
|
|
29
|
-
}
|
|
30
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
31
|
-
}, [inputValue]);
|
|
32
|
-
|
|
33
26
|
useEffect(() => {
|
|
34
27
|
if (value !== inputValue) {
|
|
35
28
|
setInputValue(value || "");
|
|
@@ -59,7 +59,9 @@ const Wrapper = styled.div<{ optionsType?: string; isOpen: boolean }>`
|
|
|
59
59
|
}
|
|
60
60
|
`;
|
|
61
61
|
|
|
62
|
-
const Title = styled.h6
|
|
62
|
+
const Title = styled.h6`
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
`;
|
|
63
65
|
|
|
64
66
|
const ColumnsWrapper = styled.div`
|
|
65
67
|
position: relative;
|
|
@@ -76,6 +78,7 @@ const FeaturedWrapper = styled.div`
|
|
|
76
78
|
|
|
77
79
|
const SearchWrapper = styled.div`
|
|
78
80
|
width: 100%;
|
|
81
|
+
margin-left: ${(p) => p.theme.spacing.s};
|
|
79
82
|
`;
|
|
80
83
|
|
|
81
84
|
const Link = styled.div<{ active: boolean }>`
|
|
@@ -103,7 +103,10 @@ const FormEditor = (props: IProps) => {
|
|
|
103
103
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
104
104
|
}, [lang]);
|
|
105
105
|
|
|
106
|
-
const goToForms = (path: string) =>
|
|
106
|
+
const goToForms = (path: string) => {
|
|
107
|
+
createNewTranslation(false);
|
|
108
|
+
setHistoryPush(path, true);
|
|
109
|
+
};
|
|
107
110
|
|
|
108
111
|
const handleSavePage = async (updateState?: FormState) => {
|
|
109
112
|
const { saveForm } = props;
|