@jetshop/template-trend 5.17.0-alpha.7b92f91c → 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.7b92f91c",
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.7b92f91c",
48
+ "@jetshop/core": "^5.17.0-alpha.8ede57ab",
49
49
  "@jetshop/flight-shortcodes": "^2.0.10",
50
- "@jetshop/intl": "^5.17.0-alpha.7b92f91c",
51
- "@jetshop/react-scripts": "^5.17.0-alpha.7b92f91c",
52
- "@jetshop/ui": "^5.17.0-alpha.7b92f91c",
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: white;
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>
@@ -10,7 +10,7 @@ module.exports = {
10
10
  tablegrey: '#F3F3F3',
11
11
  beige: '#f5f5dc',
12
12
  loadingBar: '#2f80ed',
13
- blue: '#146DE1',
13
+ blue: '#0030EE',
14
14
  red: '#EB0000',
15
15
  background: '#f7f7f7',
16
16
  darkgrey: '#333',
@@ -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
  },
@@ -41,9 +38,6 @@
41
38
  "cart_total_c0110f50": {
42
39
  "message": "Cart total"
43
40
  },
44
- "categories_9d537a7a": {
45
- "message": "Categories"
46
- },
47
41
  "change_password_20192c50": {
48
42
  "message": "Change Password"
49
43
  },
@@ -56,9 +50,6 @@
56
50
  "choose_country_351b807a": {
57
51
  "message": "Choose country"
58
52
  },
59
- "city_69953629": {
60
- "message": "City"
61
- },
62
53
  "clear_all_filters_40e65e3b": {
63
54
  "message": "Clear all filters"
64
55
  },
@@ -74,12 +65,6 @@
74
65
  "company_a53a19ad": {
75
66
  "message": "Company"
76
67
  },
77
- "company_contact_name_dbedb9da": {
78
- "message": "Company contact name"
79
- },
80
- "company_registration_number_4d68074": {
81
- "message": "Company registration number"
82
- },
83
68
  "contact_a6e7f6da": {
84
69
  "message": "Contact"
85
70
  },
@@ -92,9 +77,6 @@
92
77
  "country_b9f6d984": {
93
78
  "message": "Country"
94
79
  },
95
- "county_c41f243f": {
96
- "message": "County"
97
- },
98
80
  "create_profile_33fafbf1": {
99
81
  "message": "Create profile"
100
82
  },
@@ -104,9 +86,6 @@
104
86
  "currency_d6b3d5f6": {
105
87
  "message": "Currency"
106
88
  },
107
- "customercommentname_is_required_f5c2f377": {
108
- "message": "{ customerCommentName } is required"
109
- },
110
89
  "delete_account_4e52440b": {
111
90
  "message": "Delete account"
112
91
  },
@@ -122,12 +101,6 @@
122
101
  "delivery_address_872728d": {
123
102
  "message": "Delivery Address"
124
103
  },
125
- "department_6abddd98": {
126
- "message": "Department"
127
- },
128
- "desired_password_391ab563": {
129
- "message": "Desired password"
130
- },
131
104
  "directions_eef85bfe": {
132
105
  "message": "Directions"
133
106
  },
@@ -137,9 +110,6 @@
137
110
  "distance_a377c748": {
138
111
  "message": "Distance"
139
112
  },
140
- "does_not_match_new_password_566ea944": {
141
- "message": "Does not match new password"
142
- },
143
113
  "e_mail_address_11245d70": {
144
114
  "message": "E-mail address"
145
115
  },
@@ -161,18 +131,12 @@
161
131
  "express_1_2_working_days_5b7007b": {
162
132
  "message": "Express 1–2 working days"
163
133
  },
164
- "extra_address_b1f2c88": {
165
- "message": "Extra address"
166
- },
167
134
  "failed_adding_to_bag_6911bfca": {
168
135
  "message": "Failed adding to bag"
169
136
  },
170
137
  "favourites_d8a7f913": {
171
138
  "message": "Favourites"
172
139
  },
173
- "field_does_not_match_required_format_1511ccd9": {
174
- "message": "Field does not match required format"
175
- },
176
140
  "filter_e3398407": {
177
141
  "message": "Filter"
178
142
  },
@@ -188,9 +152,6 @@
188
152
  "find_the_closest_store_using_your_location_696c8e5a": {
189
153
  "message": "Find the closest store using your location"
190
154
  },
191
- "first_name_75f38a3e": {
192
- "message": "First name"
193
- },
194
155
  "forgot_password_69eea15b": {
195
156
  "message": "Forgot password"
196
157
  },
@@ -215,18 +176,12 @@
215
176
  "hi_firstname_lastname_bc7684c1": {
216
177
  "message": "Hi, { firstName } { lastName }"
217
178
  },
218
- "high_to_low_b6eda134": {
219
- "message": "high to low"
220
- },
221
179
  "hold_on_a_moment_5a9f3c1d": {
222
180
  "message": "Hold on a moment..."
223
181
  },
224
182
  "hold_on_a_moment_a3f09a64": {
225
183
  "message": "Hold on a moment…"
226
184
  },
227
- "home_351838cd": {
228
- "message": "Home"
229
- },
230
185
  "homepage_4b84763d": {
231
186
  "message": "HOMEPAGE"
232
187
  },
@@ -239,9 +194,6 @@
239
194
  "i_want_newsletters_58c52364": {
240
195
  "message": "I want newsletters"
241
196
  },
242
- "image_not_found_2f99135": {
243
- "message": "Image Not Found"
244
- },
245
197
  "in_stock_859385c7": {
246
198
  "message": "In Stock"
247
199
  },
@@ -251,9 +203,6 @@
251
203
  "included_in_package_5d7f4d3d": {
252
204
  "message": "Included in package:"
253
205
  },
254
- "invalid_email_address_8d0d5e33": {
255
- "message": "Invalid email address"
256
- },
257
206
  "it_looks_like_you_are_visiting_us_from_country_do__832ec546": {
258
207
  "message": "It looks like you are visiting us from { country }. Do you want to visit our { country } site?"
259
208
  },
@@ -296,27 +245,15 @@
296
245
  "login_6f3d6249": {
297
246
  "message": "Login"
298
247
  },
299
- "login_failed_please_try_again_841d7c15": {
300
- "message": "Login failed. Please try again"
301
- },
302
248
  "look_up_my_info_6436db80": {
303
249
  "message": "Look up my info"
304
250
  },
305
- "low_to_high_2400fc78": {
306
- "message": "low to high"
307
- },
308
251
  "m_m_6aa9a961": {
309
252
  "message": "{ m } m"
310
253
  },
311
- "maxorderquantity_is_the_maximum_order_quantity_96e527df": {
312
- "message": "{ maxOrderQuantity } is the maximum order quantity"
313
- },
314
254
  "menu_39cb0e8e": {
315
255
  "message": "Menu"
316
256
  },
317
- "mobile_phone_number_cb092391": {
318
- "message": "Mobile phone number"
319
- },
320
257
  "my_orders_40e3ddbe": {
321
258
  "message": "My orders"
322
259
  },
@@ -338,9 +275,6 @@
338
275
  "name_1aed4a1b": {
339
276
  "message": "Name"
340
277
  },
341
- "national_id_social_security_number_ffa20629": {
342
- "message": "National ID/Social Security number"
343
- },
344
278
  "new_password_again_fa83f67e": {
345
279
  "message": "New password again"
346
280
  },
@@ -350,12 +284,6 @@
350
284
  "newsletters_a04708fd": {
351
285
  "message": "Newsletters"
352
286
  },
353
- "next_40e12421": {
354
- "message": "Next"
355
- },
356
- "no_e16d9132": {
357
- "message": "No"
358
- },
359
287
  "no_items_in_cart_cf9df6d4": {
360
288
  "message": "No items in cart."
361
289
  },
@@ -392,9 +320,6 @@
392
320
  "opening_hours_77ceb9c8": {
393
321
  "message": "Opening hours"
394
322
  },
395
- "optionname_is_required_4ef88446": {
396
- "message": "{ optionName } is required"
397
- },
398
323
  "or_ef4e808": {
399
324
  "message": "or"
400
325
  },
@@ -422,15 +347,9 @@
422
347
  "package_discount_66e25640": {
423
348
  "message": "Package Discount"
424
349
  },
425
- "page_currentpage_of_totalpages_a773c744": {
426
- "message": "Page { currentPage } of { totalPages }"
427
- },
428
350
  "payment_method_84a444f1": {
429
351
  "message": "Payment method"
430
352
  },
431
- "person_lookup_failed_87cc2ec4": {
432
- "message": "Person lookup failed."
433
- },
434
353
  "phone_70d50cdb": {
435
354
  "message": "Phone:"
436
355
  },
@@ -440,33 +359,18 @@
440
359
  "pid_is_required_68787e3": {
441
360
  "message": "PID is required"
442
361
  },
443
- "please_enter_a_valid_quantity_f9adbf72": {
444
- "message": "Please enter a valid quantity"
445
- },
446
362
  "please_enter_your_new_password_f261c25f": {
447
363
  "message": "Please enter your new password"
448
364
  },
449
365
  "please_fill_in_your_contact_details_for_shipping_a_285963ce": {
450
366
  "message": "Please fill in your contact details for shipping and communication."
451
367
  },
452
- "post_code_e64b6004": {
453
- "message": "Post code"
454
- },
455
368
  "postal_code_is_invalid_438e6940": {
456
369
  "message": "Postal code is invalid."
457
370
  },
458
371
  "postal_code_is_required_ca3b7a32": {
459
372
  "message": "Postal code is required."
460
373
  },
461
- "pre_order_date_86078d45": {
462
- "message": "Pre-order date"
463
- },
464
- "pre_order_date_is_required_170e38e0": {
465
- "message": "Pre-order date is required"
466
- },
467
- "prev_f82cbc48": {
468
- "message": "Prev"
469
- },
470
374
  "price_ffd8b80": {
471
375
  "message": "Price"
472
376
  },
@@ -479,9 +383,6 @@
479
383
  "product_description_3edb94a9": {
480
384
  "message": "Product description"
481
385
  },
482
- "product_is_not_in_stock_fc5a972b": {
483
- "message": "Product is not in stock"
484
- },
485
386
  "product_matches_17fac93": {
486
387
  "message": "Product Matches"
487
388
  },
@@ -497,24 +398,15 @@
497
398
  "productname_has_been_added_to_the_cart_fba79585": {
498
399
  "message": "{ productName } has been added to the cart"
499
400
  },
500
- "products_c5f0793": {
501
- "message": "Products"
502
- },
503
401
  "quantity_20164bff": {
504
402
  "message": "Quantity"
505
403
  },
506
404
  "recent_orders_1068c934": {
507
405
  "message": "Recent Orders"
508
406
  },
509
- "region_939f2a6c": {
510
- "message": "Region"
511
- },
512
407
  "related_products_8fcc0081": {
513
408
  "message": "Related products"
514
409
  },
515
- "repeat_desired_password_34086d81": {
516
- "message": "Repeat desired password"
517
- },
518
410
  "required_da89d67d": {
519
411
  "message": "(Required)"
520
412
  },
@@ -533,9 +425,6 @@
533
425
  "search_280d00bd": {
534
426
  "message": "Search"
535
427
  },
536
- "select_country_1da181c6": {
537
- "message": "Select country"
538
- },
539
428
  "select_missingoptions_to_see_store_status_in_store_a7433fed": {
540
429
  "message": "Select { missingOptions } to see store status in store"
541
430
  },
@@ -548,9 +437,6 @@
548
437
  "select_options_9ee7b227": {
549
438
  "message": "Select options"
550
439
  },
551
- "select_pre_order_date_8c8d72b7": {
552
- "message": "Select pre-order date"
553
- },
554
440
  "select_the_variants_b3aa2844": {
555
441
  "message": "Select the variants"
556
442
  },
@@ -590,21 +476,9 @@
590
476
  "something_went_wrong_please_check_your_email_and_t_9dd179bd": {
591
477
  "message": "Something went wrong. Please check your email and try again."
592
478
  },
593
- "something_went_wrong_please_check_your_input_or_tr_d8daab95": {
594
- "message": "Something went wrong. Please check your input, or try again later."
595
- },
596
479
  "something_went_wrong_please_try_again_37244f67": {
597
480
  "message": "Something went wrong. Please try again."
598
481
  },
599
- "something_went_wrong_please_try_again_fd8c66fd": {
600
- "message": "Something went wrong, please try again!"
601
- },
602
- "something_went_wrong_saving_information_try_again_87e1303e": {
603
- "message": "Something went wrong saving information. Try again?"
604
- },
605
- "something_went_wrong_updating_password_is_your_old_c95e5bd1": {
606
- "message": "Something went wrong updating password. Is your old password correct?"
607
- },
608
482
  "something_went_wrong_when_placeholder_e336fd86": {
609
483
  "message": "Something went wrong when { placeholder }"
610
484
  },
@@ -635,18 +509,9 @@
635
509
  "successfully_added_83dcf29": {
636
510
  "message": "Successfully added!"
637
511
  },
638
- "surname_df38bed": {
639
- "message": "Surname"
640
- },
641
- "telephone_number_9cbafa6e": {
642
- "message": "Telephone number"
643
- },
644
512
  "the_address_provided_is_incorrect_please_check_the_1b76d82f": {
645
513
  "message": "The address provided is incorrect. Please check the spelling and try again."
646
514
  },
647
- "the_form_could_not_be_submitted_please_try_again_l_9a8b7579": {
648
- "message": "The form could not be submitted. Please try again later."
649
- },
650
515
  "the_price_has_not_changed_in_the_last_days_days_7f5c65f8": {
651
516
  "message": "The price has not changed in the last { days } days"
652
517
  },
@@ -656,9 +521,6 @@
656
521
  "this_could_be_due_to_the_following_a40f2a5": {
657
522
  "message": "This could be due to the following:"
658
523
  },
659
- "this_field_is_required_fa58c4a": {
660
- "message": "This field is required"
661
- },
662
524
  "this_is_where_you_find_our_stores_get_informed_abo_19de699f": {
663
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."
664
526
  },
@@ -746,9 +608,6 @@
746
608
  "whoops_54a74974": {
747
609
  "message": "Whoops"
748
610
  },
749
- "yes_dde87d5": {
750
- "message": "Yes"
751
- },
752
611
  "you_are_now_subscribed_71495f41": {
753
612
  "message": "You are now subscribed."
754
613
  },
@@ -782,13 +641,7 @@
782
641
  "your_password_reset_request_has_been_submitted_che_104311b6": {
783
642
  "message": "Your password reset request has been submitted. Check your email for a link to reset your password."
784
643
  },
785
- "your_password_reset_token_has_expired_or_is_invali_4f6d0945": {
786
- "message": "Your password reset token has expired, or is invalid."
787
- },
788
644
  "your_preferences_have_been_updated_6729d3f8": {
789
645
  "message": "Your preferences have been updated."
790
- },
791
- "z_to_a_75ce9568": {
792
- "message": "Z to A"
793
646
  }
794
647
  }