@bonlineza/luxity-lib 2.31.0 → 2.31.2
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/GraphQLDropdownSelector.js +6 -1
- package/LuxityDesktopHeader.js +120 -23
- package/LuxityFooter.js +13 -5
- package/LuxityMobileHeader.js +32 -13
- package/LuxitySideNav.js +21 -10
- package/build/bundle.css +1 -1
- package/build/bundle.js +124 -42
- package/package.json +1 -1
- package/CHANGELOG.md +0 -299
- package/CreateRarestepInterest.js +0 -85
- package/LuxityHeader.js +0 -369
- package/RarestepAddInterests.js +0 -118
- package/RarestepInterests.js +0 -118
- package/build/assets/.DS_Store +0 -0
package/build/bundle.js
CHANGED
|
@@ -14001,7 +14001,6 @@
|
|
|
14001
14001
|
_formControl.current.formState = getProxyFormState(formState, control);
|
|
14002
14002
|
return _formControl.current;
|
|
14003
14003
|
}
|
|
14004
|
-
//# sourceMappingURL=index.esm.mjs.map
|
|
14005
14004
|
|
|
14006
14005
|
var _excluded$8 = ["ref"];
|
|
14007
14006
|
|
|
@@ -14259,8 +14258,14 @@
|
|
|
14259
14258
|
}, title), /*#__PURE__*/React__default.createElement("div", {
|
|
14260
14259
|
className: "footer__links"
|
|
14261
14260
|
}, !!links.length && links.map(function (link) {
|
|
14262
|
-
return /*#__PURE__*/React__default.createElement(
|
|
14263
|
-
|
|
14261
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
14262
|
+
className: "footer__link-wrapper",
|
|
14263
|
+
key: link.label
|
|
14264
|
+
}, link.icon && /*#__PURE__*/React__default.createElement("img", {
|
|
14265
|
+
className: "footer__link-icon",
|
|
14266
|
+
src: link.icon,
|
|
14267
|
+
alt: link.label
|
|
14268
|
+
}), /*#__PURE__*/React__default.createElement(GALink, {
|
|
14264
14269
|
instance: link.instance,
|
|
14265
14270
|
href: link.href,
|
|
14266
14271
|
label: link.label,
|
|
@@ -14270,12 +14275,14 @@
|
|
|
14270
14275
|
target: link.target
|
|
14271
14276
|
}, link.iconClassName && /*#__PURE__*/React__default.createElement("i", {
|
|
14272
14277
|
className: link.iconClassName
|
|
14273
|
-
}), link.label);
|
|
14278
|
+
}), link.label));
|
|
14274
14279
|
})));
|
|
14275
14280
|
};
|
|
14276
14281
|
|
|
14277
14282
|
return /*#__PURE__*/React__default.createElement(FooterWrapper$1, null, showNewsletter && /*#__PURE__*/React__default.createElement("div", {
|
|
14278
14283
|
className: "footer__newsletter-section"
|
|
14284
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14285
|
+
className: "footer__newsletter-wrapper"
|
|
14279
14286
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14280
14287
|
className: "footer__title-wrapper"
|
|
14281
14288
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -14303,7 +14310,7 @@
|
|
|
14303
14310
|
className: "footer__newsletter-icon",
|
|
14304
14311
|
src: formIconSrc,
|
|
14305
14312
|
alt: "submit"
|
|
14306
|
-
}))))), /*#__PURE__*/React__default.createElement("div", {
|
|
14313
|
+
})))))), /*#__PURE__*/React__default.createElement("div", {
|
|
14307
14314
|
className: "footer__wrapper footer__wrapper--desktop"
|
|
14308
14315
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14309
14316
|
className: "footer__main-section"
|
|
@@ -14362,7 +14369,7 @@
|
|
|
14362
14369
|
className: "footer__link-container"
|
|
14363
14370
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14364
14371
|
className: "footer__link-title"
|
|
14365
|
-
}, "We love"), /*#__PURE__*/React__default.createElement("div", {
|
|
14372
|
+
}, "We love..."), /*#__PURE__*/React__default.createElement("div", {
|
|
14366
14373
|
className: "footer__links"
|
|
14367
14374
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14368
14375
|
className: "footer__text"
|
|
@@ -14384,7 +14391,9 @@
|
|
|
14384
14391
|
categoryElements = _ref$categoryElements === void 0 ? [] : _ref$categoryElements,
|
|
14385
14392
|
_ref$brandElements = _ref.brandElements,
|
|
14386
14393
|
brandElements = _ref$brandElements === void 0 ? [] : _ref$brandElements,
|
|
14387
|
-
productsUrl = _ref.productsUrl
|
|
14394
|
+
productsUrl = _ref.productsUrl,
|
|
14395
|
+
categorySlug = _ref.categorySlug,
|
|
14396
|
+
categoryTitle = _ref.categoryTitle;
|
|
14388
14397
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
14389
14398
|
className: "dropdown"
|
|
14390
14399
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -14393,21 +14402,28 @@
|
|
|
14393
14402
|
className: "dropdown__title"
|
|
14394
14403
|
}, title), /*#__PURE__*/React__default.createElement("div", {
|
|
14395
14404
|
className: "dropdown__elements dropdown__elements--column"
|
|
14396
|
-
}, !!categoryElements.length && categoryElements.map(function (
|
|
14397
|
-
return /*#__PURE__*/React__default.createElement("a", {
|
|
14398
|
-
href: "".concat(productsUrl, "/").concat(category === null ||
|
|
14405
|
+
}, !!categoryElements.length && categoryElements.map(function (categoryElement) {
|
|
14406
|
+
return categoryElement.category ? /*#__PURE__*/React__default.createElement("a", {
|
|
14407
|
+
href: "".concat(productsUrl, "/").concat(categoryElement.category, "/").concat(categoryElement === null || categoryElement === void 0 ? void 0 : categoryElement.slug),
|
|
14399
14408
|
className: "dropdown__element",
|
|
14400
|
-
key:
|
|
14401
|
-
},
|
|
14409
|
+
key: categoryElement.name
|
|
14410
|
+
}, categoryElement === null || categoryElement === void 0 ? void 0 : categoryElement.name) : /*#__PURE__*/React__default.createElement("a", {
|
|
14411
|
+
href: "".concat(productsUrl, "/").concat(categoryElement === null || categoryElement === void 0 ? void 0 : categoryElement.slug),
|
|
14412
|
+
className: "dropdown__element",
|
|
14413
|
+
key: categoryElement.name
|
|
14414
|
+
}, categoryElement === null || categoryElement === void 0 ? void 0 : categoryElement.name);
|
|
14402
14415
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
14403
14416
|
className: "dropdown__column"
|
|
14404
14417
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14405
14418
|
className: "dropdown__title"
|
|
14406
14419
|
}, "Brands"), /*#__PURE__*/React__default.createElement("div", {
|
|
14407
14420
|
className: "dropdown__elements dropdown__elements--row"
|
|
14408
|
-
},
|
|
14421
|
+
}, /*#__PURE__*/React__default.createElement("a", {
|
|
14422
|
+
href: "".concat(productsUrl, "/").concat(categorySlug),
|
|
14423
|
+
className: "dropdown__element"
|
|
14424
|
+
}, "All ", categoryTitle), !!brandElements.length && brandElements.map(function (brand) {
|
|
14409
14425
|
return /*#__PURE__*/React__default.createElement("a", {
|
|
14410
|
-
href: "".concat(productsUrl, "/").concat(brand === null || brand === void 0 ? void 0 : brand.slug),
|
|
14426
|
+
href: "".concat(productsUrl, "/").concat(categorySlug, "/").concat(brand === null || brand === void 0 ? void 0 : brand.slug),
|
|
14411
14427
|
className: "dropdown__element",
|
|
14412
14428
|
key: brand.name
|
|
14413
14429
|
}, brand === null || brand === void 0 ? void 0 : brand.name);
|
|
@@ -14462,6 +14478,29 @@
|
|
|
14462
14478
|
}, contactNumber)));
|
|
14463
14479
|
};
|
|
14464
14480
|
|
|
14481
|
+
var categories$1 = {
|
|
14482
|
+
shoes: {
|
|
14483
|
+
name: 'Shoes',
|
|
14484
|
+
slug: 'shoes'
|
|
14485
|
+
},
|
|
14486
|
+
bags: {
|
|
14487
|
+
name: 'Bags',
|
|
14488
|
+
slug: 'bags'
|
|
14489
|
+
},
|
|
14490
|
+
clothing: {
|
|
14491
|
+
name: 'Clothing',
|
|
14492
|
+
slug: 'apparel'
|
|
14493
|
+
},
|
|
14494
|
+
watches: {
|
|
14495
|
+
name: 'Watches',
|
|
14496
|
+
slug: 'watches'
|
|
14497
|
+
},
|
|
14498
|
+
accessories: {
|
|
14499
|
+
name: 'Accessories',
|
|
14500
|
+
slug: 'accessories'
|
|
14501
|
+
}
|
|
14502
|
+
};
|
|
14503
|
+
|
|
14465
14504
|
var LuxityDesktopHeader = function LuxityDesktopHeader(_ref) {
|
|
14466
14505
|
var accountIcon = _ref.accountIcon,
|
|
14467
14506
|
cartIcon = _ref.cartIcon,
|
|
@@ -14471,10 +14510,11 @@
|
|
|
14471
14510
|
categoryElements = _ref.categoryElements,
|
|
14472
14511
|
newBrandElements = _ref.newBrandElements,
|
|
14473
14512
|
bagsElements = _ref.bagsElements,
|
|
14474
|
-
|
|
14513
|
+
shoesElements = _ref.shoesElements,
|
|
14475
14514
|
clothingElements = _ref.clothingElements,
|
|
14476
14515
|
accessoriesElements = _ref.accessoriesElements,
|
|
14477
14516
|
accessoriesCategoryElements = _ref.accessoriesCategoryElements,
|
|
14517
|
+
apparelStylesElements = _ref.apparelStylesElements,
|
|
14478
14518
|
watchesElements = _ref.watchesElements,
|
|
14479
14519
|
newBrandsImage = _ref.newBrandsImage,
|
|
14480
14520
|
bagsImage = _ref.bagsImage,
|
|
@@ -14493,7 +14533,8 @@
|
|
|
14493
14533
|
ourStoryLink = _ref.ourStoryLink,
|
|
14494
14534
|
blogLink = _ref.blogLink,
|
|
14495
14535
|
contactUsLink = _ref.contactUsLink,
|
|
14496
|
-
sellToUsLink = _ref.sellToUsLink
|
|
14536
|
+
sellToUsLink = _ref.sellToUsLink,
|
|
14537
|
+
onLogoClick = _ref.onLogoClick;
|
|
14497
14538
|
|
|
14498
14539
|
var _useState = React.useState(''),
|
|
14499
14540
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14510,13 +14551,23 @@
|
|
|
14510
14551
|
}
|
|
14511
14552
|
};
|
|
14512
14553
|
|
|
14554
|
+
function addCategoryToElements(elements, categoryName) {
|
|
14555
|
+
return elements.map(function (element) {
|
|
14556
|
+
return _objectSpread2(_objectSpread2({}, element), {}, {
|
|
14557
|
+
category: categoryName
|
|
14558
|
+
});
|
|
14559
|
+
});
|
|
14560
|
+
}
|
|
14561
|
+
|
|
14513
14562
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
14514
14563
|
className: "navbar"
|
|
14515
14564
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14516
14565
|
className: "navbar__container"
|
|
14517
14566
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
14518
14567
|
className: "navbar__logo-wrapper"
|
|
14519
|
-
}, /*#__PURE__*/React__default.createElement("
|
|
14568
|
+
}, /*#__PURE__*/React__default.createElement("button", {
|
|
14569
|
+
type: "button",
|
|
14570
|
+
onClick: onLogoClick,
|
|
14520
14571
|
className: "navbar__logo"
|
|
14521
14572
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
14522
14573
|
src: logoSrc,
|
|
@@ -14552,7 +14603,9 @@
|
|
|
14552
14603
|
imageSrc: newBrandsImage,
|
|
14553
14604
|
categoryElements: categoryElements,
|
|
14554
14605
|
brandElements: newBrandElements,
|
|
14555
|
-
productsUrl: productsUrl
|
|
14606
|
+
productsUrl: productsUrl,
|
|
14607
|
+
categorySlug: "brands",
|
|
14608
|
+
categoryTitle: "Brands"
|
|
14556
14609
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14557
14610
|
className: "navbar__link"
|
|
14558
14611
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14563,9 +14616,11 @@
|
|
|
14563
14616
|
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
14564
14617
|
title: "Department",
|
|
14565
14618
|
imageSrc: bagsImage,
|
|
14566
|
-
categoryElements: categoryElements,
|
|
14619
|
+
categoryElements: addCategoryToElements(categoryElements, categories$1.bags.slug),
|
|
14567
14620
|
brandElements: bagsElements,
|
|
14568
|
-
productsUrl: productsUrl
|
|
14621
|
+
productsUrl: productsUrl,
|
|
14622
|
+
categorySlug: categories$1.bags.slug,
|
|
14623
|
+
categoryTitle: categories$1.bags.name
|
|
14569
14624
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14570
14625
|
className: "navbar__link"
|
|
14571
14626
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14576,9 +14631,11 @@
|
|
|
14576
14631
|
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
14577
14632
|
title: "Department",
|
|
14578
14633
|
imageSrc: shoesImage,
|
|
14579
|
-
categoryElements: categoryElements,
|
|
14580
|
-
brandElements:
|
|
14581
|
-
productsUrl: productsUrl
|
|
14634
|
+
categoryElements: addCategoryToElements(categoryElements, categories$1.shoes.slug),
|
|
14635
|
+
brandElements: shoesElements,
|
|
14636
|
+
productsUrl: productsUrl,
|
|
14637
|
+
categorySlug: categories$1.shoes.slug,
|
|
14638
|
+
categoryTitle: categories$1.shoes.name
|
|
14582
14639
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14583
14640
|
className: "navbar__link"
|
|
14584
14641
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14589,9 +14646,11 @@
|
|
|
14589
14646
|
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
14590
14647
|
title: "Department",
|
|
14591
14648
|
imageSrc: clothingImage,
|
|
14592
|
-
categoryElements:
|
|
14649
|
+
categoryElements: apparelStylesElements,
|
|
14593
14650
|
brandElements: clothingElements,
|
|
14594
|
-
productsUrl: productsUrl
|
|
14651
|
+
productsUrl: productsUrl,
|
|
14652
|
+
categorySlug: categories$1.clothing.slug,
|
|
14653
|
+
categoryTitle: categories$1.clothing.name
|
|
14595
14654
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14596
14655
|
className: "navbar__link"
|
|
14597
14656
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14600,11 +14659,13 @@
|
|
|
14600
14659
|
}, "Accessories"), /*#__PURE__*/React__default.createElement("div", {
|
|
14601
14660
|
className: "navbar__dropdown"
|
|
14602
14661
|
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
14603
|
-
title: "
|
|
14662
|
+
title: "Categories",
|
|
14604
14663
|
imageSrc: accessoriesImage,
|
|
14605
14664
|
categoryElements: accessoriesCategoryElements,
|
|
14606
14665
|
brandElements: accessoriesElements,
|
|
14607
|
-
productsUrl: productsUrl
|
|
14666
|
+
productsUrl: productsUrl,
|
|
14667
|
+
categorySlug: categories$1.accessories.slug,
|
|
14668
|
+
categoryTitle: categories$1.accessories.name
|
|
14608
14669
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14609
14670
|
className: "navbar__link"
|
|
14610
14671
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14615,9 +14676,11 @@
|
|
|
14615
14676
|
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
14616
14677
|
title: "Department",
|
|
14617
14678
|
imageSrc: watchesImage,
|
|
14618
|
-
categoryElements: categoryElements,
|
|
14679
|
+
categoryElements: addCategoryToElements(categoryElements, categories$1.watches.slug),
|
|
14619
14680
|
brandElements: watchesElements,
|
|
14620
|
-
productsUrl: productsUrl
|
|
14681
|
+
productsUrl: productsUrl,
|
|
14682
|
+
categorySlug: categories$1.watches.slug,
|
|
14683
|
+
categoryTitle: categories$1.watches.name
|
|
14621
14684
|
}))), /*#__PURE__*/React__default.createElement("li", {
|
|
14622
14685
|
className: "navbar__link"
|
|
14623
14686
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
@@ -14730,7 +14793,8 @@
|
|
|
14730
14793
|
categoryElements = _ref.categoryElements,
|
|
14731
14794
|
subMenuBrandsTitle = _ref.subMenuBrandsTitle,
|
|
14732
14795
|
_ref$brandsList = _ref.brandsList,
|
|
14733
|
-
brandsList = _ref$brandsList === void 0 ? [] : _ref$brandsList
|
|
14796
|
+
brandsList = _ref$brandsList === void 0 ? [] : _ref$brandsList,
|
|
14797
|
+
categorySlug = _ref.categorySlug;
|
|
14734
14798
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
14735
14799
|
className: "side-nav__content ".concat(subMenuOpen ? '' : 'side-nav__content--hidden')
|
|
14736
14800
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -14765,7 +14829,7 @@
|
|
|
14765
14829
|
className: "side-nav__element"
|
|
14766
14830
|
}, "All Brands"), !!brandsList.length && brandsList.map(function (brand) {
|
|
14767
14831
|
return /*#__PURE__*/React__default.createElement("a", {
|
|
14768
|
-
href: "".concat(productUrl, "/").concat(brand.slug),
|
|
14832
|
+
href: "".concat(productUrl, "/").concat(categorySlug, "/").concat(brand.slug),
|
|
14769
14833
|
className: "side-nav__element"
|
|
14770
14834
|
}, brand.name);
|
|
14771
14835
|
})))));
|
|
@@ -14795,6 +14859,10 @@
|
|
|
14795
14859
|
accessoriesBrandsList = _ref$accessoriesBrand === void 0 ? [] : _ref$accessoriesBrand,
|
|
14796
14860
|
_ref$watchesBrandsLis = _ref.watchesBrandsList,
|
|
14797
14861
|
watchesBrandsList = _ref$watchesBrandsLis === void 0 ? [] : _ref$watchesBrandsLis,
|
|
14862
|
+
_ref$accessoriesCateg = _ref.accessoriesCategoryElements,
|
|
14863
|
+
accessoriesCategoryElements = _ref$accessoriesCateg === void 0 ? [] : _ref$accessoriesCateg,
|
|
14864
|
+
_ref$apparelStylesEle = _ref.apparelStylesElements,
|
|
14865
|
+
apparelStylesElements = _ref$apparelStylesEle === void 0 ? [] : _ref$apparelStylesEle,
|
|
14798
14866
|
showSideNav = _ref.showSideNav,
|
|
14799
14867
|
onMenuClick = _ref.onMenuClick;
|
|
14800
14868
|
|
|
@@ -14978,7 +15046,8 @@
|
|
|
14978
15046
|
productUrl: productUrl,
|
|
14979
15047
|
categoryElements: categoryElements,
|
|
14980
15048
|
subMenuBrandsTitle: "Brands",
|
|
14981
|
-
brandsList: newBrandsList
|
|
15049
|
+
brandsList: newBrandsList,
|
|
15050
|
+
categorySlug: displayedSubMenu
|
|
14982
15051
|
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
14983
15052
|
subMenuOpen: subMenuOpen && displayedSubMenu === 'bags',
|
|
14984
15053
|
onBackClick: onBackClick,
|
|
@@ -14987,7 +15056,8 @@
|
|
|
14987
15056
|
productUrl: productUrl,
|
|
14988
15057
|
categoryElements: categoryElements,
|
|
14989
15058
|
subMenuBrandsTitle: "Bag Brands",
|
|
14990
|
-
brandsList: bagsBrandsList
|
|
15059
|
+
brandsList: bagsBrandsList,
|
|
15060
|
+
categorySlug: displayedSubMenu
|
|
14991
15061
|
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
14992
15062
|
subMenuOpen: subMenuOpen && displayedSubMenu === 'shoes',
|
|
14993
15063
|
onBackClick: onBackClick,
|
|
@@ -14996,25 +15066,28 @@
|
|
|
14996
15066
|
productUrl: productUrl,
|
|
14997
15067
|
categoryElements: categoryElements,
|
|
14998
15068
|
subMenuBrandsTitle: "Shoe Brands",
|
|
14999
|
-
brandsList: shoesBrandsList
|
|
15069
|
+
brandsList: shoesBrandsList,
|
|
15070
|
+
categorySlug: displayedSubMenu
|
|
15000
15071
|
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
15001
15072
|
subMenuOpen: subMenuOpen && displayedSubMenu === 'clothing',
|
|
15002
15073
|
onBackClick: onBackClick,
|
|
15003
15074
|
backIcon: backIcon,
|
|
15004
15075
|
subMenuCategoryTitle: "Department",
|
|
15005
15076
|
productUrl: productUrl,
|
|
15006
|
-
categoryElements:
|
|
15077
|
+
categoryElements: apparelStylesElements,
|
|
15007
15078
|
subMenuBrandsTitle: "Clothing Brands",
|
|
15008
|
-
brandsList: clothingBrandsList
|
|
15079
|
+
brandsList: clothingBrandsList,
|
|
15080
|
+
categorySlug: displayedSubMenu
|
|
15009
15081
|
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
15010
15082
|
subMenuOpen: subMenuOpen && displayedSubMenu === 'accessories',
|
|
15011
15083
|
onBackClick: onBackClick,
|
|
15012
15084
|
backIcon: backIcon,
|
|
15013
15085
|
subMenuCategoryTitle: "Categories",
|
|
15014
15086
|
productUrl: productUrl,
|
|
15015
|
-
categoryElements:
|
|
15087
|
+
categoryElements: accessoriesCategoryElements,
|
|
15016
15088
|
subMenuBrandsTitle: "Accessory Brands",
|
|
15017
|
-
brandsList: accessoriesBrandsList
|
|
15089
|
+
brandsList: accessoriesBrandsList,
|
|
15090
|
+
categorySlug: displayedSubMenu
|
|
15018
15091
|
}), /*#__PURE__*/React__default.createElement(BrandsDropDown, {
|
|
15019
15092
|
subMenuOpen: subMenuOpen && displayedSubMenu === 'watches',
|
|
15020
15093
|
onBackClick: onBackClick,
|
|
@@ -15023,7 +15096,8 @@
|
|
|
15023
15096
|
productUrl: productUrl,
|
|
15024
15097
|
categoryElements: categoryElements,
|
|
15025
15098
|
subMenuBrandsTitle: "Watches Brands",
|
|
15026
|
-
brandsList: watchesBrandsList
|
|
15099
|
+
brandsList: watchesBrandsList,
|
|
15100
|
+
categorySlug: displayedSubMenu
|
|
15027
15101
|
}), displayedSubMenu === 'stores' && /*#__PURE__*/React__default.createElement("div", {
|
|
15028
15102
|
className: "side-nav__content"
|
|
15029
15103
|
}, /*#__PURE__*/React__default.createElement(StoresDropdown$1, {
|
|
@@ -15057,7 +15131,10 @@
|
|
|
15057
15131
|
shoesBrandsList = _ref.shoesBrandsList,
|
|
15058
15132
|
clothingBrandsList = _ref.clothingBrandsList,
|
|
15059
15133
|
accessoriesBrandsList = _ref.accessoriesBrandsList,
|
|
15060
|
-
|
|
15134
|
+
accessoriesCategoryElements = _ref.accessoriesCategoryElements,
|
|
15135
|
+
apparelStylesElements = _ref.apparelStylesElements,
|
|
15136
|
+
watchesBrandsList = _ref.watchesBrandsList,
|
|
15137
|
+
onLogoClick = _ref.onLogoClick;
|
|
15061
15138
|
|
|
15062
15139
|
var _useState = React.useState(''),
|
|
15063
15140
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -15110,7 +15187,9 @@
|
|
|
15110
15187
|
className: "navbar__menu-icon"
|
|
15111
15188
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
15112
15189
|
className: "navbar__search-wrapper"
|
|
15113
|
-
}, /*#__PURE__*/React__default.createElement("
|
|
15190
|
+
}, /*#__PURE__*/React__default.createElement("button", {
|
|
15191
|
+
type: "button",
|
|
15192
|
+
onClick: onLogoClick,
|
|
15114
15193
|
className: "navbar__logo"
|
|
15115
15194
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
15116
15195
|
src: logoSrc,
|
|
@@ -15125,6 +15204,7 @@
|
|
|
15125
15204
|
onClick: onSearchClick
|
|
15126
15205
|
}, /*#__PURE__*/React__default.createElement("img", {
|
|
15127
15206
|
src: inputSearchIcon,
|
|
15207
|
+
className: "navbar__icon",
|
|
15128
15208
|
alt: "interest-icon"
|
|
15129
15209
|
})), /*#__PURE__*/React__default.createElement("button", {
|
|
15130
15210
|
type: "button",
|
|
@@ -15173,7 +15253,9 @@
|
|
|
15173
15253
|
accessoriesBrandsList: accessoriesBrandsList,
|
|
15174
15254
|
watchesBrandsList: watchesBrandsList,
|
|
15175
15255
|
showSideNav: showSideNav,
|
|
15176
|
-
onMenuClick: onMenuClick
|
|
15256
|
+
onMenuClick: onMenuClick,
|
|
15257
|
+
accessoriesCategoryElements: accessoriesCategoryElements,
|
|
15258
|
+
apparelStylesElements: apparelStylesElements
|
|
15177
15259
|
}));
|
|
15178
15260
|
};
|
|
15179
15261
|
|