@jetshop/template-trend 5.17.0-alpha.313064eb → 5.17.0-alpha.4e16ac76
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/.eslintrc
CHANGED
|
@@ -3,7 +3,15 @@
|
|
|
3
3
|
"plugins": ["react-hooks"],
|
|
4
4
|
"rules": {
|
|
5
5
|
"react-hooks/rules-of-hooks": "error",
|
|
6
|
-
"react-hooks/exhaustive-deps": "warn"
|
|
6
|
+
"react-hooks/exhaustive-deps": "warn",
|
|
7
|
+
"no-unused-vars": [
|
|
8
|
+
"warn",
|
|
9
|
+
{
|
|
10
|
+
"argsIgnorePattern": "^_",
|
|
11
|
+
"varsIgnorePattern": "^_",
|
|
12
|
+
"caughtErrorsIgnorePattern": "^_"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
7
15
|
},
|
|
8
16
|
"globals": {
|
|
9
17
|
"cy": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetshop/template-trend",
|
|
3
|
-
"version": "5.17.0-alpha.
|
|
3
|
+
"version": "5.17.0-alpha.4e16ac76",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "react-scripts build",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@jetshop/core": "^5.17.0-alpha.
|
|
48
|
+
"@jetshop/core": "^5.17.0-alpha.4e16ac76",
|
|
49
49
|
"@jetshop/flight-shortcodes": "^2.0.10",
|
|
50
|
-
"@jetshop/intl": "^5.17.0-alpha.
|
|
51
|
-
"@jetshop/react-scripts": "^5.17.0-alpha.
|
|
52
|
-
"@jetshop/ui": "^5.17.0-alpha.
|
|
50
|
+
"@jetshop/intl": "^5.17.0-alpha.4e16ac76",
|
|
51
|
+
"@jetshop/react-scripts": "^5.17.0-alpha.4e16ac76",
|
|
52
|
+
"@jetshop/ui": "^5.17.0-alpha.4e16ac76",
|
|
53
53
|
"@react-google-maps/api": "~1.7.0",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
|
-
"react": "^
|
|
55
|
+
"react": "^18",
|
|
56
56
|
"react-apollo": "^3.1.5",
|
|
57
|
-
"react-dom": "^
|
|
57
|
+
"react-dom": "^18",
|
|
58
58
|
"react-modal": "^3.4.5",
|
|
59
59
|
"react-slider": "^1.1.4",
|
|
60
60
|
"striptags": "^3.1.1"
|
|
@@ -43,7 +43,7 @@ const StyledLink = styled(Link)`
|
|
|
43
43
|
`;
|
|
44
44
|
|
|
45
45
|
const Container = styled('header')`
|
|
46
|
-
background-color:
|
|
46
|
+
background-color: #fff;
|
|
47
47
|
position: relative;
|
|
48
48
|
a {
|
|
49
49
|
text-decoration: none;
|
|
@@ -160,7 +160,6 @@ function TopHeader() {
|
|
|
160
160
|
const [searchOpen, setSearchOpen] = React.useState(false);
|
|
161
161
|
const { loggedIn } = useAuth();
|
|
162
162
|
const { routes } = useShopConfig();
|
|
163
|
-
|
|
164
163
|
return (
|
|
165
164
|
<HeaderContainer>
|
|
166
165
|
<MaxWidth>
|