@jetshop/template-trend 5.17.0-alpha.110f8552 → 5.17.0-alpha.137fbbdd

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetshop/template-trend",
3
- "version": "5.17.0-alpha.110f8552",
3
+ "version": "5.17.0-alpha.137fbbdd",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "react-scripts build",
@@ -45,17 +45,17 @@
45
45
  ]
46
46
  },
47
47
  "dependencies": {
48
- "@jetshop/core": "^5.17.0-alpha.110f8552",
48
+ "@jetshop/core": "^5.17.0-alpha.137fbbdd",
49
49
  "@jetshop/flight-shortcodes": "^2.0.10",
50
- "@jetshop/intl": "^5.17.0-alpha.110f8552",
51
- "@jetshop/react-scripts": "^5.17.0-alpha.110f8552",
52
- "@jetshop/ui": "^5.17.0-alpha.110f8552",
53
- "@react-google-maps/api": "~1.7.0",
50
+ "@jetshop/intl": "^5.17.0-alpha.137fbbdd",
51
+ "@jetshop/react-scripts": "^5.17.0-alpha.137fbbdd",
52
+ "@jetshop/ui": "^5.17.0-alpha.137fbbdd",
53
+ "@react-google-maps/api": "~2.18.1",
54
54
  "prop-types": "^15.6.2",
55
55
  "react": "^18",
56
56
  "react-dom": "^18",
57
57
  "react-modal": "^3.4.5",
58
- "react-slider": "^1.1.4",
58
+ "react-slider": "^2.0.6",
59
59
  "striptags": "^3.1.1"
60
60
  },
61
61
  "devDependencies": {
@@ -63,7 +63,7 @@
63
63
  "@graphql-codegen/schema-ast": "^1.18.1",
64
64
  "@testing-library/cypress": "^6.0.0",
65
65
  "cypress": "^8.5.0",
66
- "graphql": "^14.5.8",
66
+ "graphql": "^15.3.0",
67
67
  "graphql-cli": "^4.1.0",
68
68
  "graphql-config": "3.0.3",
69
69
  "lint-staged": "^8.1.5",
package/schema.graphql CHANGED
@@ -1977,7 +1977,7 @@ type Mutation {
1977
1977
  updateCustomerGroup(customerGroupAccessCode: String!): UpdateCustomerGroupResult
1978
1978
 
1979
1979
  """
1980
- This mutation's purpose is to update a existing customer's information. An authorization token is needed in the request, in order to be able to update the customer.
1980
+ This mutation's purpose is to update an existing customer's information. An authorization token is needed in the request, in order to be able to update the customer.
1981
1981
  """
1982
1982
  updateCustomer(input: CustomerUpdateInput!): CustomerUpdateResponse
1983
1983
 
@@ -2237,6 +2237,7 @@ type CustomerUpdateResponse {
2237
2237
 
2238
2238
  input CustomerUpdateInput {
2239
2239
  pid: String
2240
+ emailAddress: String
2240
2241
  organizationNumber: String
2241
2242
  billingAddress: CustomerUpdateBillingAddressInput!
2242
2243
  deliveryAddresses: [CustomerUpdateDeliveryAddressInput]
@@ -1,51 +0,0 @@
1
- import React from 'react';
2
- import { css } from 'linaria';
3
- import Tooltip from 'react-tooltip-lite';
4
- import { Below } from '@jetshop/ui/Breakpoints';
5
-
6
- const tipContentClassName = css`
7
- .react-tooltip-lite {
8
- color: #ffffff;
9
- background-color: #000000;
10
- font-size: 14px;
11
- padding: 0px 20px !important;
12
- display: flex !important;
13
- align-items: center;
14
- justify-content: center;
15
- height: 30px;
16
- }
17
- .react-tooltip-lite-right-arrow {
18
- margin-top: -5px;
19
- }
20
- .react-tooltip-lite-left-arrow {
21
- margin-top: -5px;
22
- }
23
- .react-tooltip-lite-down-arrow {
24
- margin-top: 5px;
25
- }
26
- .react-tooltip-lite-up-arrow {
27
- margin-top: -5px;
28
- }
29
- `;
30
- const ValidationTooltip = ({ direction = 'right', ...props }) => {
31
- return (
32
- <Below breakpoint="md">
33
- {matches => {
34
- const newDirection = matches ? 'bottom' : direction;
35
- return (
36
- <Tooltip
37
- arrowSize={15}
38
- distance={matches ? 10 : 20}
39
- useDefaultStyles={false}
40
- tipContentClassName={tipContentClassName}
41
- useHover={false}
42
- direction={newDirection}
43
- {...props}
44
- />
45
- );
46
- }}
47
- </Below>
48
- );
49
- };
50
-
51
- export default ValidationTooltip;