@jetshop/template-trend 5.17.0-alpha.4ec87fb0 → 5.17.0-alpha.8ede57ab
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.8ede57ab",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "react-scripts build",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@jetshop/core": "^5.17.0-alpha.
|
|
48
|
+
"@jetshop/core": "^5.17.0-alpha.8ede57ab",
|
|
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.8ede57ab",
|
|
51
|
+
"@jetshop/react-scripts": "^5.17.0-alpha.8ede57ab",
|
|
52
|
+
"@jetshop/ui": "^5.17.0-alpha.8ede57ab",
|
|
53
53
|
"@react-google-maps/api": "~1.7.0",
|
|
54
54
|
"prop-types": "^15.6.2",
|
|
55
55
|
"react": "^16.9.0",
|
|
@@ -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>
|
package/src/theme-variables.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"a_to_z_96baaedc": {
|
|
3
|
-
"message": "A to Z"
|
|
4
|
-
},
|
|
5
2
|
"about_70c18bba": {
|
|
6
3
|
"message": "About"
|
|
7
4
|
},
|
|
@@ -53,9 +50,6 @@
|
|
|
53
50
|
"choose_country_351b807a": {
|
|
54
51
|
"message": "Choose country"
|
|
55
52
|
},
|
|
56
|
-
"city_69953629": {
|
|
57
|
-
"message": "City"
|
|
58
|
-
},
|
|
59
53
|
"clear_all_filters_40e65e3b": {
|
|
60
54
|
"message": "Clear all filters"
|
|
61
55
|
},
|
|
@@ -71,12 +65,6 @@
|
|
|
71
65
|
"company_a53a19ad": {
|
|
72
66
|
"message": "Company"
|
|
73
67
|
},
|
|
74
|
-
"company_contact_name_dbedb9da": {
|
|
75
|
-
"message": "Company contact name"
|
|
76
|
-
},
|
|
77
|
-
"company_registration_number_4d68074": {
|
|
78
|
-
"message": "Company registration number"
|
|
79
|
-
},
|
|
80
68
|
"contact_a6e7f6da": {
|
|
81
69
|
"message": "Contact"
|
|
82
70
|
},
|
|
@@ -89,9 +77,6 @@
|
|
|
89
77
|
"country_b9f6d984": {
|
|
90
78
|
"message": "Country"
|
|
91
79
|
},
|
|
92
|
-
"county_c41f243f": {
|
|
93
|
-
"message": "County"
|
|
94
|
-
},
|
|
95
80
|
"create_profile_33fafbf1": {
|
|
96
81
|
"message": "Create profile"
|
|
97
82
|
},
|
|
@@ -101,9 +86,6 @@
|
|
|
101
86
|
"currency_d6b3d5f6": {
|
|
102
87
|
"message": "Currency"
|
|
103
88
|
},
|
|
104
|
-
"customercommentname_is_required_f5c2f377": {
|
|
105
|
-
"message": "{ customerCommentName } is required"
|
|
106
|
-
},
|
|
107
89
|
"delete_account_4e52440b": {
|
|
108
90
|
"message": "Delete account"
|
|
109
91
|
},
|
|
@@ -119,12 +101,6 @@
|
|
|
119
101
|
"delivery_address_872728d": {
|
|
120
102
|
"message": "Delivery Address"
|
|
121
103
|
},
|
|
122
|
-
"department_6abddd98": {
|
|
123
|
-
"message": "Department"
|
|
124
|
-
},
|
|
125
|
-
"desired_password_391ab563": {
|
|
126
|
-
"message": "Desired password"
|
|
127
|
-
},
|
|
128
104
|
"directions_eef85bfe": {
|
|
129
105
|
"message": "Directions"
|
|
130
106
|
},
|
|
@@ -134,9 +110,6 @@
|
|
|
134
110
|
"distance_a377c748": {
|
|
135
111
|
"message": "Distance"
|
|
136
112
|
},
|
|
137
|
-
"does_not_match_new_password_566ea944": {
|
|
138
|
-
"message": "Does not match new password"
|
|
139
|
-
},
|
|
140
113
|
"e_mail_address_11245d70": {
|
|
141
114
|
"message": "E-mail address"
|
|
142
115
|
},
|
|
@@ -158,18 +131,12 @@
|
|
|
158
131
|
"express_1_2_working_days_5b7007b": {
|
|
159
132
|
"message": "Express 1–2 working days"
|
|
160
133
|
},
|
|
161
|
-
"extra_address_b1f2c88": {
|
|
162
|
-
"message": "Extra address"
|
|
163
|
-
},
|
|
164
134
|
"failed_adding_to_bag_6911bfca": {
|
|
165
135
|
"message": "Failed adding to bag"
|
|
166
136
|
},
|
|
167
137
|
"favourites_d8a7f913": {
|
|
168
138
|
"message": "Favourites"
|
|
169
139
|
},
|
|
170
|
-
"field_does_not_match_required_format_1511ccd9": {
|
|
171
|
-
"message": "Field does not match required format"
|
|
172
|
-
},
|
|
173
140
|
"filter_e3398407": {
|
|
174
141
|
"message": "Filter"
|
|
175
142
|
},
|
|
@@ -185,9 +152,6 @@
|
|
|
185
152
|
"find_the_closest_store_using_your_location_696c8e5a": {
|
|
186
153
|
"message": "Find the closest store using your location"
|
|
187
154
|
},
|
|
188
|
-
"first_name_75f38a3e": {
|
|
189
|
-
"message": "First name"
|
|
190
|
-
},
|
|
191
155
|
"forgot_password_69eea15b": {
|
|
192
156
|
"message": "Forgot password"
|
|
193
157
|
},
|
|
@@ -212,9 +176,6 @@
|
|
|
212
176
|
"hi_firstname_lastname_bc7684c1": {
|
|
213
177
|
"message": "Hi, { firstName } { lastName }"
|
|
214
178
|
},
|
|
215
|
-
"high_to_low_b6eda134": {
|
|
216
|
-
"message": "high to low"
|
|
217
|
-
},
|
|
218
179
|
"hold_on_a_moment_5a9f3c1d": {
|
|
219
180
|
"message": "Hold on a moment..."
|
|
220
181
|
},
|
|
@@ -242,9 +203,6 @@
|
|
|
242
203
|
"included_in_package_5d7f4d3d": {
|
|
243
204
|
"message": "Included in package:"
|
|
244
205
|
},
|
|
245
|
-
"invalid_email_address_8d0d5e33": {
|
|
246
|
-
"message": "Invalid email address"
|
|
247
|
-
},
|
|
248
206
|
"it_looks_like_you_are_visiting_us_from_country_do__832ec546": {
|
|
249
207
|
"message": "It looks like you are visiting us from { country }. Do you want to visit our { country } site?"
|
|
250
208
|
},
|
|
@@ -290,21 +248,12 @@
|
|
|
290
248
|
"look_up_my_info_6436db80": {
|
|
291
249
|
"message": "Look up my info"
|
|
292
250
|
},
|
|
293
|
-
"low_to_high_2400fc78": {
|
|
294
|
-
"message": "low to high"
|
|
295
|
-
},
|
|
296
251
|
"m_m_6aa9a961": {
|
|
297
252
|
"message": "{ m } m"
|
|
298
253
|
},
|
|
299
|
-
"maxorderquantity_is_the_maximum_order_quantity_96e527df": {
|
|
300
|
-
"message": "{ maxOrderQuantity } is the maximum order quantity"
|
|
301
|
-
},
|
|
302
254
|
"menu_39cb0e8e": {
|
|
303
255
|
"message": "Menu"
|
|
304
256
|
},
|
|
305
|
-
"mobile_phone_number_cb092391": {
|
|
306
|
-
"message": "Mobile phone number"
|
|
307
|
-
},
|
|
308
257
|
"my_orders_40e3ddbe": {
|
|
309
258
|
"message": "My orders"
|
|
310
259
|
},
|
|
@@ -326,9 +275,6 @@
|
|
|
326
275
|
"name_1aed4a1b": {
|
|
327
276
|
"message": "Name"
|
|
328
277
|
},
|
|
329
|
-
"national_id_social_security_number_ffa20629": {
|
|
330
|
-
"message": "National ID/Social Security number"
|
|
331
|
-
},
|
|
332
278
|
"new_password_again_fa83f67e": {
|
|
333
279
|
"message": "New password again"
|
|
334
280
|
},
|
|
@@ -374,9 +320,6 @@
|
|
|
374
320
|
"opening_hours_77ceb9c8": {
|
|
375
321
|
"message": "Opening hours"
|
|
376
322
|
},
|
|
377
|
-
"optionname_is_required_4ef88446": {
|
|
378
|
-
"message": "{ optionName } is required"
|
|
379
|
-
},
|
|
380
323
|
"or_ef4e808": {
|
|
381
324
|
"message": "or"
|
|
382
325
|
},
|
|
@@ -407,9 +350,6 @@
|
|
|
407
350
|
"payment_method_84a444f1": {
|
|
408
351
|
"message": "Payment method"
|
|
409
352
|
},
|
|
410
|
-
"person_lookup_failed_87cc2ec4": {
|
|
411
|
-
"message": "Person lookup failed."
|
|
412
|
-
},
|
|
413
353
|
"phone_70d50cdb": {
|
|
414
354
|
"message": "Phone:"
|
|
415
355
|
},
|
|
@@ -419,27 +359,18 @@
|
|
|
419
359
|
"pid_is_required_68787e3": {
|
|
420
360
|
"message": "PID is required"
|
|
421
361
|
},
|
|
422
|
-
"please_enter_a_valid_quantity_f9adbf72": {
|
|
423
|
-
"message": "Please enter a valid quantity"
|
|
424
|
-
},
|
|
425
362
|
"please_enter_your_new_password_f261c25f": {
|
|
426
363
|
"message": "Please enter your new password"
|
|
427
364
|
},
|
|
428
365
|
"please_fill_in_your_contact_details_for_shipping_a_285963ce": {
|
|
429
366
|
"message": "Please fill in your contact details for shipping and communication."
|
|
430
367
|
},
|
|
431
|
-
"post_code_e64b6004": {
|
|
432
|
-
"message": "Post code"
|
|
433
|
-
},
|
|
434
368
|
"postal_code_is_invalid_438e6940": {
|
|
435
369
|
"message": "Postal code is invalid."
|
|
436
370
|
},
|
|
437
371
|
"postal_code_is_required_ca3b7a32": {
|
|
438
372
|
"message": "Postal code is required."
|
|
439
373
|
},
|
|
440
|
-
"pre_order_date_is_required_170e38e0": {
|
|
441
|
-
"message": "Pre-order date is required"
|
|
442
|
-
},
|
|
443
374
|
"price_ffd8b80": {
|
|
444
375
|
"message": "Price"
|
|
445
376
|
},
|
|
@@ -452,9 +383,6 @@
|
|
|
452
383
|
"product_description_3edb94a9": {
|
|
453
384
|
"message": "Product description"
|
|
454
385
|
},
|
|
455
|
-
"product_is_not_in_stock_fc5a972b": {
|
|
456
|
-
"message": "Product is not in stock"
|
|
457
|
-
},
|
|
458
386
|
"product_matches_17fac93": {
|
|
459
387
|
"message": "Product Matches"
|
|
460
388
|
},
|
|
@@ -476,15 +404,9 @@
|
|
|
476
404
|
"recent_orders_1068c934": {
|
|
477
405
|
"message": "Recent Orders"
|
|
478
406
|
},
|
|
479
|
-
"region_939f2a6c": {
|
|
480
|
-
"message": "Region"
|
|
481
|
-
},
|
|
482
407
|
"related_products_8fcc0081": {
|
|
483
408
|
"message": "Related products"
|
|
484
409
|
},
|
|
485
|
-
"repeat_desired_password_34086d81": {
|
|
486
|
-
"message": "Repeat desired password"
|
|
487
|
-
},
|
|
488
410
|
"required_da89d67d": {
|
|
489
411
|
"message": "(Required)"
|
|
490
412
|
},
|
|
@@ -503,9 +425,6 @@
|
|
|
503
425
|
"search_280d00bd": {
|
|
504
426
|
"message": "Search"
|
|
505
427
|
},
|
|
506
|
-
"select_country_1da181c6": {
|
|
507
|
-
"message": "Select country"
|
|
508
|
-
},
|
|
509
428
|
"select_missingoptions_to_see_store_status_in_store_a7433fed": {
|
|
510
429
|
"message": "Select { missingOptions } to see store status in store"
|
|
511
430
|
},
|
|
@@ -557,21 +476,9 @@
|
|
|
557
476
|
"something_went_wrong_please_check_your_email_and_t_9dd179bd": {
|
|
558
477
|
"message": "Something went wrong. Please check your email and try again."
|
|
559
478
|
},
|
|
560
|
-
"something_went_wrong_please_check_your_input_or_tr_d8daab95": {
|
|
561
|
-
"message": "Something went wrong. Please check your input, or try again later."
|
|
562
|
-
},
|
|
563
479
|
"something_went_wrong_please_try_again_37244f67": {
|
|
564
480
|
"message": "Something went wrong. Please try again."
|
|
565
481
|
},
|
|
566
|
-
"something_went_wrong_please_try_again_fd8c66fd": {
|
|
567
|
-
"message": "Something went wrong, please try again!"
|
|
568
|
-
},
|
|
569
|
-
"something_went_wrong_saving_information_try_again_87e1303e": {
|
|
570
|
-
"message": "Something went wrong saving information. Try again?"
|
|
571
|
-
},
|
|
572
|
-
"something_went_wrong_updating_password_is_your_old_c95e5bd1": {
|
|
573
|
-
"message": "Something went wrong updating password. Is your old password correct?"
|
|
574
|
-
},
|
|
575
482
|
"something_went_wrong_when_placeholder_e336fd86": {
|
|
576
483
|
"message": "Something went wrong when { placeholder }"
|
|
577
484
|
},
|
|
@@ -602,18 +509,9 @@
|
|
|
602
509
|
"successfully_added_83dcf29": {
|
|
603
510
|
"message": "Successfully added!"
|
|
604
511
|
},
|
|
605
|
-
"surname_df38bed": {
|
|
606
|
-
"message": "Surname"
|
|
607
|
-
},
|
|
608
|
-
"telephone_number_9cbafa6e": {
|
|
609
|
-
"message": "Telephone number"
|
|
610
|
-
},
|
|
611
512
|
"the_address_provided_is_incorrect_please_check_the_1b76d82f": {
|
|
612
513
|
"message": "The address provided is incorrect. Please check the spelling and try again."
|
|
613
514
|
},
|
|
614
|
-
"the_form_could_not_be_submitted_please_try_again_l_9a8b7579": {
|
|
615
|
-
"message": "The form could not be submitted. Please try again later."
|
|
616
|
-
},
|
|
617
515
|
"the_price_has_not_changed_in_the_last_days_days_7f5c65f8": {
|
|
618
516
|
"message": "The price has not changed in the last { days } days"
|
|
619
517
|
},
|
|
@@ -623,9 +521,6 @@
|
|
|
623
521
|
"this_could_be_due_to_the_following_a40f2a5": {
|
|
624
522
|
"message": "This could be due to the following:"
|
|
625
523
|
},
|
|
626
|
-
"this_field_is_required_fa58c4a": {
|
|
627
|
-
"message": "This field is required"
|
|
628
|
-
},
|
|
629
524
|
"this_is_where_you_find_our_stores_get_informed_abo_19de699f": {
|
|
630
525
|
"message": "This is where you find our stores. Get informed about the stock status in your local store here. Find and select the store that is closest to you."
|
|
631
526
|
},
|
|
@@ -746,13 +641,7 @@
|
|
|
746
641
|
"your_password_reset_request_has_been_submitted_che_104311b6": {
|
|
747
642
|
"message": "Your password reset request has been submitted. Check your email for a link to reset your password."
|
|
748
643
|
},
|
|
749
|
-
"your_password_reset_token_has_expired_or_is_invali_4f6d0945": {
|
|
750
|
-
"message": "Your password reset token has expired, or is invalid."
|
|
751
|
-
},
|
|
752
644
|
"your_preferences_have_been_updated_6729d3f8": {
|
|
753
645
|
"message": "Your preferences have been updated."
|
|
754
|
-
},
|
|
755
|
-
"z_to_a_75ce9568": {
|
|
756
|
-
"message": "Z to A"
|
|
757
646
|
}
|
|
758
647
|
}
|