@bonlineza/luxity-lib 2.39.8 → 2.40.0
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/AddInterest.js +72 -4
- package/ApparelSizeSelector.js +988 -0
- package/BrandSelector.js +7 -2
- package/ConditionSelector.js +7 -2
- package/GraphQLDropdownSelector.js +84 -17
- package/Interests.js +84 -17
- package/LuxityDesktopHeader.js +8 -5
- package/LuxityGraphQLDropdownSelector.js +84 -17
- package/LuxityGraphQLMultiselector.js +7 -2
- package/MaterialSelector.js +84 -17
- package/ModelSelector.js +84 -17
- package/StyleSelector.js +7 -2
- package/build/bundle.css +1 -1
- package/build/bundle.js +92 -22
- package/package.json +1 -1
- package/svg/Heart.js +42 -0
package/ModelSelector.js
CHANGED
|
@@ -9698,19 +9698,16 @@
|
|
|
9698
9698
|
};
|
|
9699
9699
|
var IconHeader$1 = themed(IconHeader);
|
|
9700
9700
|
|
|
9701
|
-
var
|
|
9701
|
+
var Heart = (function (props) {
|
|
9702
9702
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
9703
|
-
id: "svg-
|
|
9704
|
-
width: "
|
|
9705
|
-
height: "
|
|
9706
|
-
viewBox: "0 0
|
|
9703
|
+
id: "svg-interest-heart",
|
|
9704
|
+
width: "26",
|
|
9705
|
+
height: "25",
|
|
9706
|
+
viewBox: "0 0 29.8 28.9",
|
|
9707
9707
|
fill: "none",
|
|
9708
9708
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9709
9709
|
}, props), /*#__PURE__*/React__default.createElement("path", {
|
|
9710
|
-
d: "
|
|
9711
|
-
fill: "currentColor"
|
|
9712
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
9713
|
-
d: "M12.5012 14.1892C11.2038 14.1892 10.1484 15.2421 10.1484 16.5357V19.5739C10.1484 20.8675 11.2038 21.9204 12.5012 21.9204C13.7974 21.9204 14.8515 20.8675 14.8515 19.5739V16.5357C14.8515 15.2421 13.7974 14.1892 12.5012 14.1892ZM13.1982 16.5357V19.5739C13.1982 19.9591 12.8856 20.2721 12.5006 20.2721C12.1149 20.2721 11.8011 19.9591 11.8011 19.5739V16.5357C11.8011 16.1505 12.1149 15.8376 12.5012 15.8376C12.8856 15.8376 13.1982 16.1505 13.1982 16.5357Z",
|
|
9710
|
+
d: "M25.993,3.04h.024l-.427-.273c-2.277-1.47-4.767-1.613-7.02-.391-1.577.854-2.893,2.348-3.664,4.115-.771-1.767-2.099-3.261-3.676-4.115-2.253-1.221-4.743-1.079-7.02.391C1.886,4.273.475,6.763.523,9.277c.107,5.454,5.727,12.545,10.909,16.826.972.794,2.205,1.245,3.474,1.245,1.257,0,2.49-.451,3.462-1.245,5.182-4.281,10.802-11.371,10.909-16.826.047-2.372-1.209-4.707-3.285-6.237ZM27.795,9.241c-.095,4.98-5.407,11.608-10.328,15.676l-.047.036c-1.458,1.209-3.581,1.209-5.039,0C7.448,20.885,2.1,14.233,2.005,9.241c-.036-1.992,1.115-3.996,3.012-5.229.996-.64,2.028-.972,3.071-.972.842,0,1.66.213,2.431.628,2.146,1.174,3.64,3.771,3.64,6.332,0,.415.332.747.747.747.403,0,.735-.332.735-.747,0-2.561,1.494-5.158,3.64-6.332,1.755-.949,3.711-.818,5.502.344,1.897,1.233,3.047,3.237,3.012,5.229Z",
|
|
9714
9711
|
fill: "currentColor"
|
|
9715
9712
|
}));
|
|
9716
9713
|
});
|
|
@@ -10137,11 +10134,13 @@
|
|
|
10137
10134
|
className = _ref.className,
|
|
10138
10135
|
title = _ref.title,
|
|
10139
10136
|
searchPlaceHolder = _ref.searchPlaceHolder,
|
|
10140
|
-
onSearchChanged = _ref.onSearchChanged
|
|
10137
|
+
onSearchChanged = _ref.onSearchChanged,
|
|
10138
|
+
_ref$searchable = _ref.searchable,
|
|
10139
|
+
searchable = _ref$searchable === void 0 ? true : _ref$searchable;
|
|
10141
10140
|
return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
|
|
10142
10141
|
className: "".concat(className, " ").concat(baseClass, "__title"),
|
|
10143
10142
|
title: title
|
|
10144
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10143
|
+
}, searchable && /*#__PURE__*/React__default.createElement("div", {
|
|
10145
10144
|
className: "title__search"
|
|
10146
10145
|
}, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
|
|
10147
10146
|
placeholder: searchPlaceHolder,
|
|
@@ -10225,6 +10224,7 @@
|
|
|
10225
10224
|
resultProcessor = _this$props.resultProcessor,
|
|
10226
10225
|
itemRenderer = _this$props.itemRenderer,
|
|
10227
10226
|
searchPlaceHolder = _this$props.searchPlaceHolder,
|
|
10227
|
+
searchable = _this$props.searchable,
|
|
10228
10228
|
graphApi = _this$props.graphApi,
|
|
10229
10229
|
identifier = _this$props.identifier,
|
|
10230
10230
|
requestInstance = _this$props.requestInstance;
|
|
@@ -10234,6 +10234,7 @@
|
|
|
10234
10234
|
title: title,
|
|
10235
10235
|
baseClass: baseClass,
|
|
10236
10236
|
searchPlaceHolder: searchPlaceHolder,
|
|
10237
|
+
searchable: searchable,
|
|
10237
10238
|
onSearchChanged: _this.onSearchChanged
|
|
10238
10239
|
}), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
|
|
10239
10240
|
triggerRequest: function triggerRequest() {
|
|
@@ -10287,6 +10288,7 @@
|
|
|
10287
10288
|
LuxityGraphQLMultiselector.defaultProps = {
|
|
10288
10289
|
baseClass: '',
|
|
10289
10290
|
searchPlaceHolder: '',
|
|
10291
|
+
searchable: true,
|
|
10290
10292
|
queryLimitIncrement: 12,
|
|
10291
10293
|
baseQueryLimit: 12
|
|
10292
10294
|
};
|
|
@@ -10382,6 +10384,48 @@
|
|
|
10382
10384
|
}
|
|
10383
10385
|
};
|
|
10384
10386
|
|
|
10387
|
+
var ApparelSizeSelector = function ApparelSizeSelector(_ref) {
|
|
10388
|
+
var onChange = _ref.onChange,
|
|
10389
|
+
category = _ref.category,
|
|
10390
|
+
graphApi = _ref.graphApi,
|
|
10391
|
+
itemRenderer = _ref.itemRenderer,
|
|
10392
|
+
getGraphQuery = _ref.getGraphQuery,
|
|
10393
|
+
resultProcessor = _ref.resultProcessor,
|
|
10394
|
+
requestInstance = _ref.requestInstance;
|
|
10395
|
+
return /*#__PURE__*/React__default.createElement(LuxityGraphQLMultiselector, {
|
|
10396
|
+
title: "Sizes",
|
|
10397
|
+
queryId: "getApparelSizes",
|
|
10398
|
+
baseQueryLimit: 16,
|
|
10399
|
+
baseClass: "apparel-size-selector",
|
|
10400
|
+
identifier: "apparel-size-selector",
|
|
10401
|
+
searchable: false,
|
|
10402
|
+
category: category,
|
|
10403
|
+
onChange: onChange,
|
|
10404
|
+
graphApi: graphApi,
|
|
10405
|
+
itemRenderer: itemRenderer,
|
|
10406
|
+
getGraphQuery: getGraphQuery,
|
|
10407
|
+
resultProcessor: resultProcessor,
|
|
10408
|
+
requestInstance: requestInstance
|
|
10409
|
+
});
|
|
10410
|
+
};
|
|
10411
|
+
|
|
10412
|
+
ApparelSizeSelector.defaultProps = {
|
|
10413
|
+
itemRenderer: ItemRenderer,
|
|
10414
|
+
resultProcessor: function resultProcessor(result) {
|
|
10415
|
+
return {
|
|
10416
|
+
data: (result.data.data.luxity_universal_apparel_size_list || []).map(function (_ref2) {
|
|
10417
|
+
var id = _ref2.id,
|
|
10418
|
+
size = _ref2.size;
|
|
10419
|
+
return {
|
|
10420
|
+
id: id,
|
|
10421
|
+
name: size
|
|
10422
|
+
};
|
|
10423
|
+
}),
|
|
10424
|
+
has_more_pages: false
|
|
10425
|
+
};
|
|
10426
|
+
}
|
|
10427
|
+
};
|
|
10428
|
+
|
|
10385
10429
|
var shoeSizeTypes = {
|
|
10386
10430
|
uk: {
|
|
10387
10431
|
label: 'UK',
|
|
@@ -10758,6 +10802,7 @@
|
|
|
10758
10802
|
min_price: null,
|
|
10759
10803
|
max_price: null,
|
|
10760
10804
|
styles: [],
|
|
10805
|
+
apparel_sizes: [],
|
|
10761
10806
|
gender: [],
|
|
10762
10807
|
condition: [],
|
|
10763
10808
|
request: _objectSpread2({}, request),
|
|
@@ -10787,7 +10832,8 @@
|
|
|
10787
10832
|
_this.setState({
|
|
10788
10833
|
category_type: categoryType,
|
|
10789
10834
|
brands: [],
|
|
10790
|
-
styles: []
|
|
10835
|
+
styles: [],
|
|
10836
|
+
apparel_sizes: []
|
|
10791
10837
|
});
|
|
10792
10838
|
});
|
|
10793
10839
|
|
|
@@ -10836,6 +10882,14 @@
|
|
|
10836
10882
|
});
|
|
10837
10883
|
});
|
|
10838
10884
|
|
|
10885
|
+
_defineProperty(_assertThisInitialized(_this), "onApparelSizesChanged", function (apparelSizesArray) {
|
|
10886
|
+
_this.setState({
|
|
10887
|
+
apparel_sizes: apparelSizesArray.map(function (apparelSize) {
|
|
10888
|
+
return apparelSize.id;
|
|
10889
|
+
})
|
|
10890
|
+
});
|
|
10891
|
+
});
|
|
10892
|
+
|
|
10839
10893
|
_defineProperty(_assertThisInitialized(_this), "onConditionChanged", function (conditions) {
|
|
10840
10894
|
_this.setState({
|
|
10841
10895
|
condition: conditions.map(function (condition) {
|
|
@@ -10865,6 +10919,7 @@
|
|
|
10865
10919
|
min_price = _this$state.min_price,
|
|
10866
10920
|
max_price = _this$state.max_price,
|
|
10867
10921
|
styles = _this$state.styles,
|
|
10922
|
+
apparel_sizes = _this$state.apparel_sizes,
|
|
10868
10923
|
category_type = _this$state.category_type,
|
|
10869
10924
|
requestState = _this$state.request,
|
|
10870
10925
|
gender = _this$state.gender,
|
|
@@ -10890,8 +10945,11 @@
|
|
|
10890
10945
|
max_shoe_size_id: max_shoe_size_id,
|
|
10891
10946
|
shoe_size_type: shoe_size_type
|
|
10892
10947
|
} : {};
|
|
10948
|
+
var apparelSizesPayload = category_type === interestCategories.APPAREL ? {
|
|
10949
|
+
apparel_sizes: apparel_sizes
|
|
10950
|
+
} : {};
|
|
10893
10951
|
|
|
10894
|
-
var payload = _objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload);
|
|
10952
|
+
var payload = _objectSpread2(_objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload), apparelSizesPayload);
|
|
10895
10953
|
|
|
10896
10954
|
simpleRequest(_this.props.requestInstance, _this.props.addInterestApi, method.POST, payload, function () {
|
|
10897
10955
|
_this.setState({
|
|
@@ -10948,6 +11006,7 @@
|
|
|
10948
11006
|
baseGraphApi = _this$props.baseGraphApi,
|
|
10949
11007
|
getBrandsGraphQuery = _this$props.getBrandsGraphQuery,
|
|
10950
11008
|
getStylesGraphQuery = _this$props.getStylesGraphQuery,
|
|
11009
|
+
getApparelSizesGraphQuery = _this$props.getApparelSizesGraphQuery,
|
|
10951
11010
|
getShoesGraphQuery = _this$props.getShoesGraphQuery,
|
|
10952
11011
|
defaultShoeSizeType = _this$props.defaultShoeSizeType,
|
|
10953
11012
|
getConditionsGraphQuery = _this$props.getConditionsGraphQuery;
|
|
@@ -10979,6 +11038,12 @@
|
|
|
10979
11038
|
requestInstance: requestInstance,
|
|
10980
11039
|
graphApi: "".concat(baseGraphApi, "?id=getStyles"),
|
|
10981
11040
|
getGraphQuery: getStylesGraphQuery
|
|
11041
|
+
}), category_type === interestCategories.APPAREL && /*#__PURE__*/React__default.createElement(ApparelSizeSelector, {
|
|
11042
|
+
category: category_type,
|
|
11043
|
+
onChange: _this.onApparelSizesChanged,
|
|
11044
|
+
requestInstance: requestInstance,
|
|
11045
|
+
graphApi: "".concat(baseGraphApi, "?id=getApparelSizes"),
|
|
11046
|
+
getGraphQuery: getApparelSizesGraphQuery
|
|
10982
11047
|
}), /*#__PURE__*/React__default.createElement(ConditionSelector, {
|
|
10983
11048
|
onChange: _this.onConditionChanged,
|
|
10984
11049
|
requestInstance: requestInstance,
|
|
@@ -11676,8 +11741,8 @@
|
|
|
11676
11741
|
}, /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(Add, null)));
|
|
11677
11742
|
};
|
|
11678
11743
|
|
|
11679
|
-
var
|
|
11680
|
-
return /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
11744
|
+
var InterestIcon = themed(function () {
|
|
11745
|
+
return /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(Heart, null));
|
|
11681
11746
|
});
|
|
11682
11747
|
var AddInterestButton = themed(styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n font-weight: bold;\n color: ", ";\n border: 1px solid ", ";\n padding-top: ", ";\n margin-bottom: ", ";\n padding-left: 1.5rem;\n width: 95%;\n font-size: 17px;\n"])), function (props) {
|
|
11683
11748
|
return props.theme.colors.darkerGray;
|
|
@@ -11797,6 +11862,7 @@
|
|
|
11797
11862
|
baseGraphApi = _this$props2.baseGraphApi,
|
|
11798
11863
|
getBrandsGraphQuery = _this$props2.getBrandsGraphQuery,
|
|
11799
11864
|
getStylesGraphQuery = _this$props2.getStylesGraphQuery,
|
|
11865
|
+
getApparelSizesGraphQuery = _this$props2.getApparelSizesGraphQuery,
|
|
11800
11866
|
getShoesGraphQuery = _this$props2.getShoesGraphQuery,
|
|
11801
11867
|
deleteInterestApi = _this$props2.deleteInterestApi,
|
|
11802
11868
|
setSchedule = _this$props2.setSchedule,
|
|
@@ -11816,10 +11882,10 @@
|
|
|
11816
11882
|
}
|
|
11817
11883
|
}), /*#__PURE__*/React__default.createElement(IconHeader$1, {
|
|
11818
11884
|
svgComponent: function svgComponent() {
|
|
11819
|
-
return /*#__PURE__*/React__default.createElement(
|
|
11885
|
+
return /*#__PURE__*/React__default.createElement(InterestIcon, null);
|
|
11820
11886
|
},
|
|
11821
11887
|
title: interestsTitle,
|
|
11822
|
-
svgName: "
|
|
11888
|
+
svgName: "interest",
|
|
11823
11889
|
renderAppendage: function renderAppendage() {
|
|
11824
11890
|
return /*#__PURE__*/React__default.createElement(NotificationDropDown$1, {
|
|
11825
11891
|
getSchedule: getSchedule,
|
|
@@ -11851,6 +11917,7 @@
|
|
|
11851
11917
|
baseGraphApi: baseGraphApi,
|
|
11852
11918
|
getBrandsGraphQuery: getBrandsGraphQuery,
|
|
11853
11919
|
getStylesGraphQuery: getStylesGraphQuery,
|
|
11920
|
+
getApparelSizesGraphQuery: getApparelSizesGraphQuery,
|
|
11854
11921
|
getShoesGraphQuery: getShoesGraphQuery,
|
|
11855
11922
|
defaultShoeSizeType: defaultShoeSizeType,
|
|
11856
11923
|
addInterestTitle: "Category Interest",
|
package/StyleSelector.js
CHANGED
|
@@ -737,11 +737,13 @@
|
|
|
737
737
|
className = _ref.className,
|
|
738
738
|
title = _ref.title,
|
|
739
739
|
searchPlaceHolder = _ref.searchPlaceHolder,
|
|
740
|
-
onSearchChanged = _ref.onSearchChanged
|
|
740
|
+
onSearchChanged = _ref.onSearchChanged,
|
|
741
|
+
_ref$searchable = _ref.searchable,
|
|
742
|
+
searchable = _ref$searchable === void 0 ? true : _ref$searchable;
|
|
741
743
|
return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
|
|
742
744
|
className: "".concat(className, " ").concat(baseClass, "__title"),
|
|
743
745
|
title: title
|
|
744
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
746
|
+
}, searchable && /*#__PURE__*/React__default.createElement("div", {
|
|
745
747
|
className: "title__search"
|
|
746
748
|
}, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
|
|
747
749
|
placeholder: searchPlaceHolder,
|
|
@@ -825,6 +827,7 @@
|
|
|
825
827
|
resultProcessor = _this$props.resultProcessor,
|
|
826
828
|
itemRenderer = _this$props.itemRenderer,
|
|
827
829
|
searchPlaceHolder = _this$props.searchPlaceHolder,
|
|
830
|
+
searchable = _this$props.searchable,
|
|
828
831
|
graphApi = _this$props.graphApi,
|
|
829
832
|
identifier = _this$props.identifier,
|
|
830
833
|
requestInstance = _this$props.requestInstance;
|
|
@@ -834,6 +837,7 @@
|
|
|
834
837
|
title: title,
|
|
835
838
|
baseClass: baseClass,
|
|
836
839
|
searchPlaceHolder: searchPlaceHolder,
|
|
840
|
+
searchable: searchable,
|
|
837
841
|
onSearchChanged: _this.onSearchChanged
|
|
838
842
|
}), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
|
|
839
843
|
triggerRequest: function triggerRequest() {
|
|
@@ -887,6 +891,7 @@
|
|
|
887
891
|
LuxityGraphQLMultiselector.defaultProps = {
|
|
888
892
|
baseClass: '',
|
|
889
893
|
searchPlaceHolder: '',
|
|
894
|
+
searchable: true,
|
|
890
895
|
queryLimitIncrement: 12,
|
|
891
896
|
baseQueryLimit: 12
|
|
892
897
|
};
|
package/build/bundle.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.navbar{box-shadow:2px 2px 10px #dfdede;display:flex;padding-bottom:10px;padding-top:20px;position:relative}@media only screen and (max-width:879px){.navbar{padding-top:12px}}.navbar__link-item--desktop{align-items:center;display:flex;height:35px;margin:auto 0;padding-top:5px}.navbar__mobile-wrapper{align-items:center;display:flex;flex-direction:column;padding-left:16px;padding-right:16px}.navbar__container{display:flex;margin:0 auto;max-width:1280px;padding-left:12px;padding-right:12px;width:100%}.navbar__body{flex-basis:60%}.navbar__wrapper{align-items:center;display:flex;gap:10px;justify-content:flex-start;width:100%}@media only screen and (max-width:879px){.navbar__wrapper .navbar__menu-icon-wrapper{margin-right:10px}.navbar__wrapper .navbar__logo{margin-left:0;margin-right:auto}.navbar__wrapper .navbar__icons-wrapper{align-items:center;display:flex;gap:20px;margin-left:auto}.navbar__wrapper .navbar__icons{align-items:center;display:flex;gap:20px;margin:0}.navbar__wrapper .navbar__icon{margin:0}}.navbar__product-search-wrapper{align-items:center;display:flex;justify-content:center;padding:0 20%;width:100%}@media only screen and (max-width:879px){.navbar__product-search-wrapper{padding:0}}.navbar__search-container{width:100%}.navbar__input-close-icon{height:auto;margin-bottom:10px;margin-left:10px;width:20px}@media only screen and (max-width:879px){.navbar__input-close-icon{margin-bottom:0;margin-left:0;width:15px}}.navbar__menu-icon{width:20px}.navbar__product-search{align-items:center;display:flex;max-width:545px;width:100%}.navbar__logo-wrapper{margin-right:18px;width:200px}.navbar__logo{width:200px}@media only screen and (max-width:879px){.navbar__logo{margin-left:10px;margin-top:5px;width:150px}}.navbar__form-input{align-items:center;background:transparent;border:none;display:flex;font-size:13px;outline:none;padding:8px;width:100%}.navbar__product-search{border:1px solid #dfdede;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__product-search{border:none;border-bottom:1px solid #dfdede;margin-bottom:0;margin-right:10px;margin-top:10px}}.navbar__section{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;width:100%}.navbar__link{display:inline-block;font-family:Martel Sans;font-size:14px;font-weight:700;margin-right:10px;overflow:hidden;text-transform:uppercase;transition:.3s ease-in-out}.navbar__link:after{background-color:#000;content:"";display:block;height:2px;transition:width .25s ease-out;width:0}.navbar__link:hover:after{width:100%}.navbar__link:hover .navbar__dropdown{animation:fadeInDropdown .3s ease-in-out;display:block}.navbar__dropdown{background-color:#fff;box-shadow:5px 5px 5px #dfdede;display:none;left:0;position:absolute;width:100%;z-index:999}@keyframes fadeInDropdown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.navbar__company-link{font-size:13px;font-weight:400;list-style:none;margin-left:18px;text-decoration:none}.navbar__company-block{align-items:center;background-color:#000;color:#fff;display:flex;font-weight:700;height:33px;justify-content:center;margin-right:0;padding:0 18px;text-transform:uppercase}.navbar__input-search-icon{height:auto;margin-left:1.125rem;margin-right:.375rem;width:15px}.navbar__nav-links{align-items:center;display:flex}.navbar__nav-links--wrap{flex-wrap:wrap}.navbar__icons{align-items:center;display:flex;height:40px;justify-content:flex-end;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__icons{display:block;height:20px;margin-bottom:0}}.navbar__icon{cursor:pointer;height:auto;margin-right:18px;width:20px}.navbar__icon.navbar__cart-icon{margin-right:0}.navbar__icon--app{cursor:pointer;height:auto;margin-left:12px;width:20px}@media only screen and (max-width:879px){.navbar__icon--app{margin-right:0}}.navbar__loyalty-icon{height:18px;position:absolute;right:-14px;top:-6px;width:18px}.navbar__cart-icon{position:relative}.navbar__cart-count{bottom:50%;font-size:13px;height:20px;left:60%;position:absolute;width:20px}.navbar__account-initials,.navbar__cart-count{align-items:center;background-color:#f2eeeb;border-radius:50%;color:#000;display:flex;justify-content:center}.navbar__account-initials{font-size:11px;font-weight:500;height:24px;text-transform:uppercase;width:24px}.interests__add-button{display:flex;flex-direction:row;gap:10px;width:100%}@media only screen and (max-width:879px){.interests__add-button{flex-direction:column}}.interests__section-wrapper{display:flex;flex-direction:column;width:100%}.interests__select-option{display:flex;flex-direction:column;margin-bottom:15px}.interests__title{font-family:El Messiri;font-size:16px;margin-bottom:10px}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;justify-content:space-between;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{font-size:14px;font-weight:700;line-height:20px;text-transform:uppercase}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.footer__newsletter-section{align-items:center;background-color:#000;color:#fff;display:flex;justify-content:space-between;padding:2.265rem 0}@media only screen and (max-width:879px){.footer__newsletter-section{flex-direction:column}}.footer__newsletter-wrapper{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__newsletter-wrapper{flex-direction:column}.footer__link-container{flex-basis:50%}}.footer__newsletter-icon{height:30px;position:absolute;right:0;top:0;width:32px}.footer__newsletter-form{flex-basis:50%;max-width:250px;position:relative}@media only screen and (max-width:879px){.footer__newsletter-form{display:block;margin-top:20px;max-width:100%;width:100%}}.footer__newsletter-title{font-family:Martel Sans,sans-serif;font-size:14px;font-weight:700;letter-spacing:3px;margin-bottom:1.125rem;text-transform:uppercase}.footer__newsletter-text{font-size:14px}.footer__form-input{background-color:#000;border:none;border-bottom:1px solid #fff;color:#fff;height:30px;outline:none;width:100%}.footer__form-input::-moz-placeholder{color:#fff;font-weight:400}.footer__form-input::placeholder{color:#fff;font-weight:400}.footer__form-errors{color:#fff;margin-top:5px}.footer__main-section{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:50px;margin-top:80px}.footer__link-title{font-family:El Messiri;font-size:16px;font-weight:700;margin-bottom:20px;text-transform:uppercase}@media only screen and (max-width:879px){.footer__link-title{margin-bottom:10px}}.footer__link-child{margin-top:25px}.footer__links{display:flex;flex-direction:column}.footer__link{color:#939393;cursor:pointer;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:7px;text-align:left;text-decoration:none}.footer__link:hover{color:#000;text-decoration:underline}@media only screen and (max-width:879px){.footer__link{margin-bottom:10px}}.footer__link-wrapper{align-items:center;display:flex;gap:5px}.footer__link-icon{height:30px;margin-bottom:18px}.footer__text{color:#939393;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:15px;text-align:left;text-decoration:none}.footer__store-hours{margin-top:35px}.footer__copyrights-section{border-top:1px solid;display:flex;justify-content:space-between;padding-bottom:20px;padding-top:20px}.footer__logo{height:30px;width:135px}.footer__payment-icons{align-items:center;display:flex;gap:8px}.footer__wrapper{margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__wrapper{padding:32px 0 0 24px}}.footer__wrapper--desktop{display:block}@media only screen and (max-width:879px){.footer__wrapper--desktop{display:none}}.footer__wrapper--mobile{display:none}@media only screen and (max-width:879px){.footer__wrapper--mobile{display:block;padding-top:30px}}.footer__copyright{font-size:10px;line-height:22px}.footer__copyright--mobile{display:none}@media only screen and (max-width:879px){.footer__copyright--mobile{display:block;padding:30px 10px 30px 0;text-align:center}}.footer__section-row{display:flex;gap:50%}@media only screen and (max-width:879px){.footer__section-row{gap:unset}}@charset "UTF-8";.currency-select-container{align-items:center;display:flex;margin-right:18px;position:relative}.currency-select-container .currency-flag{margin-right:5px}.currency-select-container .currency-flag img{height:15px;-o-object-fit:cover;object-fit:cover;width:20px}.currency-select-container .currency-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;border:none;color:#000;cursor:pointer;font-family:inherit;font-size:14px;margin:0;outline:none;padding:5px 15px 5px 5px}.currency-select-container .currency-select::-ms-expand{display:none}.currency-select-container .currency-select:focus{box-shadow:none;outline:none}.currency-select-container .currency-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.currency-select-container:after{color:#000;content:"▼";font-size:10px;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}@media only screen and (max-width:879px){.currency-select-container .currency-select{appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist;padding-right:0}.currency-select-container:after{display:none}}.currency-select-container.disabled{cursor:not-allowed;opacity:.7}.currency-select-container.disabled .currency-select{pointer-events:none}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{align-items:center;display:flex;font-size:14px;font-weight:700;justify-content:center;line-height:20px;text-transform:uppercase}.side-nav__menu-icon{display:flex;height:25px;margin-right:10px;width:25px}.side-nav__menu-divider{margin-bottom:40px}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}@keyframes shimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.shimmer{animation:shimmer 1.2s ease-in-out infinite;background:linear-gradient(90deg,#f4f4f4 0,#dfdede 20%,#f4f4f4 40%,#f4f4f4);background-size:800px 104px}@media only screen and (max-width:1052px){.shimmer{background-size:600px 104px}}.search-results{background:#fff;border:1px solid #dfdede;border-radius:2px;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;position:absolute;width:770px;z-index:50}@media only screen and (max-width:1052px){.search-results{border:none;box-shadow:none;flex-direction:column;left:0;right:0;top:100%;width:100%}}.search-results__section:first-child{border-right:1px solid #dfdede;flex:1;min-width:240px}.search-results__section:last-child{display:flex;flex:2;flex-direction:column}.search-results__section-header{align-items:center;display:flex;justify-content:space-between}.search-results__header{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;margin-bottom:0;padding:16px 20px;text-transform:uppercase}@media only screen and (max-width:1052px){.search-results__header{font-size:13px;padding:12px 16px}}.search-results__view-all-link{display:none}@media only screen and (max-width:879px){.search-results__view-all-link{color:#000;display:block;font-family:Martel Sans;font-size:14px;margin-right:20px}}.search-results__list{display:flex;flex-direction:column}.search-results__item{color:grey;font-family:Martel Sans;font-size:14px;padding:8px 20px;text-decoration:none}.search-results__product-list{display:flex;flex-direction:column;overflow-y:auto}.product-card{color:inherit;display:flex;padding:12px 20px;text-decoration:none;transition:background-color .15s ease}.product-card:hover{background-color:#f4f4f4}.product-card__image-container{border-radius:2px;flex-shrink:0;height:90px;margin-right:16px;overflow:hidden;width:90px}.product-card__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-card__details{display:flex;flex:1;flex-direction:column}.product-card__name{color:#000;font-family:Martel Sans;font-size:14px;line-height:1.4;margin-bottom:24px}.product-card__brand-name{font-weight:600}.product-card__info-row{align-items:flex-end;display:flex;justify-content:space-between}@media only screen and (max-width:879px){.product-card__info-row{align-items:flex-start;flex-direction:column}}.product-card__price-group{display:flex;flex-direction:column;gap:4px}.product-card__price{font-family:Martel Sans;font-size:14px;font-weight:600;line-height:1}.product-card__price--promotion{color:#000}.product-card__price--original{color:#939393;font-weight:400;text-decoration:line-through}.product-card__price-with-promotion{display:flex;flex-direction:column;gap:2px}.product-card__retail-price{color:#939393;font-family:Martel Sans;font-size:14px;text-decoration:line-through}.product-card__condition{color:#000;font-family:Martel Sans;font-size:13px;margin-right:20px;text-align:right}.product-card__condition-label{color:#939393;margin-right:4px}.search-results__view-all-button{background-color:#f2eeeb!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center}@media only screen and (max-width:879px){.search-results__view-all-button{display:none}}.search-results__no-results{display:flex;flex-direction:column;width:100%}.search-results__no-results-content{align-items:flex-start;display:flex;gap:20px;padding:20px}@media only screen and (max-width:879px){.search-results__no-results-content{gap:16px;padding:16px}}@media only screen and (max-width:1052px){.search-results__no-results-content{align-items:flex-start;gap:12px;padding:16px 12px}}.search-results__no-results-image{border-radius:4px;flex-shrink:0;height:180px;overflow:hidden;width:180px}@media only screen and (max-width:879px){.search-results__no-results-image{height:120px;width:120px}}@media only screen and (max-width:1052px){.search-results__no-results-image{height:100px;width:100px}}.search-results__no-results-image img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.search-results__no-results-text{display:flex;flex:1;flex-direction:column;gap:12px;text-align:left}@media only screen and (max-width:1052px){.search-results__no-results-text{gap:8px}}.search-results__no-results-title{color:#000;font-family:Martel Sans;font-size:16px;font-weight:600;line-height:1.4;margin:0}@media only screen and (max-width:879px){.search-results__no-results-title{font-size:14px}}@media only screen and (max-width:1052px){.search-results__no-results-title{font-size:14px;line-height:1.3}}.search-results__no-results-description{color:#939393;font-family:Martel Sans;font-size:14px;line-height:1.5;margin:0}@media only screen and (max-width:879px){.search-results__no-results-description{font-size:13px}}@media only screen and (max-width:1052px){.search-results__no-results-description{font-size:12px;line-height:1.4}}.search-results__create-interest-button{background-color:#f2eeeb!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center;width:100%}@media only screen and (max-width:879px){.search-results__create-interest-button{display:block}}@media only screen and (max-width:1052px){.search-results__create-interest-button{font-size:13px;margin-top:8px;padding:14px 16px}}.brand-skeleton{display:flex;flex-direction:column;width:100%}.brand-skeleton__item{background-color:#f4f4f4;border-radius:4px;height:32px;margin:8px 20px}.brand-skeleton__item:first-child{margin-top:0}@media only screen and (max-width:1052px){.brand-skeleton__item{height:28px;margin:6px 16px}}.product-skeleton{display:flex;gap:16px;padding:12px 20px}@media only screen and (max-width:1052px){.product-skeleton{gap:12px;padding:10px 16px}}.product-skeleton__image{background-color:#f4f4f4;border-radius:2px;flex-shrink:0;height:90px;width:90px}@media only screen and (max-width:1052px){.product-skeleton__image{height:70px;width:70px}}.product-skeleton__content{display:flex;flex:1;flex-direction:column;gap:12px}@media only screen and (max-width:1052px){.product-skeleton__content{gap:8px}}.product-skeleton__title{background-color:#f4f4f4;border-radius:4px;height:16px;width:100%}@media only screen and (max-width:1052px){.product-skeleton__title{height:14px}}.product-skeleton__subtitle{background-color:#f4f4f4;border-radius:4px;height:14px;width:80%}@media only screen and (max-width:1052px){.product-skeleton__subtitle{height:12px;width:70%}}.product-skeleton__price{background-color:#f4f4f4;border-radius:4px;height:14px;margin-top:auto;width:60%}@media only screen and (max-width:1052px){.product-skeleton__price{height:12px;width:50%}}.stores-dropdown{align-items:flex-start;display:flex;font-family:Martel Sans;gap:20px;margin-left:auto;margin-right:auto;max-width:1280px;overflow-x:auto;padding:20px 15px}.stores-dropdown__image{height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.stores-dropdown__store-details{flex-basis:20%}.stores-dropdown__title{font-family:El Messiri}.stores-dropdown__main-title,.stores-dropdown__title{font-size:16px;font-weight:400;letter-spacing:3px;margin-top:20px}.stores-dropdown__main-title{font-weight:700;margin-bottom:10px}.stores-dropdown__open-days{font-size:12px;font-weight:700;line-height:20px}.stores-dropdown__open-hours{font-size:12px;font-weight:400;line-height:20px}.stores-dropdown__queries-title{font-family:El Messiri;font-size:16px;font-weight:400;letter-spacing:3px}.stores-dropdown__contact-details{font-size:16px;font-weight:700}.stores-dropdown__view-more{cursor:pointer;font-size:14px;font-weight:400;margin-top:10px;text-transform:capitalize}.dropdown{display:flex;justify-content:space-between;margin-left:auto;margin-right:auto;max-width:1280px;min-height:500px;overflow-x:auto;padding:20px 0}.dropdown__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center;min-height:300px}.dropdown__column{flex:1;padding-left:12px}.dropdown__column:nth-child(2){flex:2}.dropdown__title{font-family:El Messiri;font-size:16px;font-weight:700;letter-spacing:3px;line-height:1;margin-bottom:20px;text-transform:uppercase}.dropdown__elements{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:800px;overflow-y:auto}.dropdown__brand-elements{-moz-column-count:3;column-count:3;max-height:800px}.dropdown__brand-element{cursor:pointer;margin-bottom:10px}.dropdown__element{flex-basis:33.33%;font-family:Martel Sans;font-size:14px;font-weight:400;margin-bottom:10px;text-transform:capitalize}.cover-spinner{align-items:center;background-color:hsla(0,0%,100%,.7);display:flex;height:100%;justify-content:center;min-height:400px;position:relative;top:50%;width:100%;z-index:9999}.cover-spinner:after{animation:spin 1.5s linear infinite;border:4px dotted #000;border-radius:50%;border-top-color:transparent;content:"";display:block;height:40px;position:absolute;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
|
1
|
+
.interests__add-button{display:flex;flex-direction:row;gap:10px;width:100%}@media only screen and (max-width:879px){.interests__add-button{flex-direction:column}}.interests__section-wrapper{display:flex;flex-direction:column;width:100%}.interests__select-option{display:flex;flex-direction:column;margin-bottom:15px}.interests__title{font-family:El Messiri;font-size:16px;margin-bottom:10px}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;justify-content:space-between;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{font-size:14px;font-weight:700;line-height:20px;text-transform:uppercase}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.footer__newsletter-section{align-items:center;background-color:#000;color:#fff;display:flex;justify-content:space-between;padding:2.265rem 0}@media only screen and (max-width:879px){.footer__newsletter-section{flex-direction:column}}.footer__newsletter-wrapper{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__newsletter-wrapper{flex-direction:column}.footer__link-container{flex-basis:50%}}.footer__newsletter-icon{height:30px;position:absolute;right:0;top:0;width:32px}.footer__newsletter-form{flex-basis:50%;max-width:250px;position:relative}@media only screen and (max-width:879px){.footer__newsletter-form{display:block;margin-top:20px;max-width:100%;width:100%}}.footer__newsletter-title{font-family:Martel Sans,sans-serif;font-size:14px;font-weight:700;letter-spacing:3px;margin-bottom:1.125rem;text-transform:uppercase}.footer__newsletter-text{font-size:14px}.footer__form-input{background-color:#000;border:none;border-bottom:1px solid #fff;color:#fff;height:30px;outline:none;width:100%}.footer__form-input::-moz-placeholder{color:#fff;font-weight:400}.footer__form-input::placeholder{color:#fff;font-weight:400}.footer__form-errors{color:#fff;margin-top:5px}.footer__main-section{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:50px;margin-top:80px}.footer__link-title{font-family:El Messiri;font-size:16px;font-weight:700;margin-bottom:20px;text-transform:uppercase}@media only screen and (max-width:879px){.footer__link-title{margin-bottom:10px}}.footer__link-child{margin-top:25px}.footer__links{display:flex;flex-direction:column}.footer__link{color:#939393;cursor:pointer;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:7px;text-align:left;text-decoration:none}.footer__link:hover{color:#000;text-decoration:underline}@media only screen and (max-width:879px){.footer__link{margin-bottom:10px}}.footer__link-wrapper{align-items:center;display:flex;gap:5px}.footer__link-icon{height:30px;margin-bottom:18px}.footer__text{color:#939393;font-family:Martel Sans;font-size:14px;line-height:20px;margin-bottom:15px;text-align:left;text-decoration:none}.footer__store-hours{margin-top:35px}.footer__copyrights-section{border-top:1px solid;display:flex;justify-content:space-between;padding-bottom:20px;padding-top:20px}.footer__logo{height:30px;width:135px}.footer__payment-icons{align-items:center;display:flex;gap:8px}.footer__wrapper{margin:0 auto;max-width:1280px;padding-left:32px;padding-right:32px;width:100%}@media only screen and (max-width:879px){.footer__wrapper{padding:32px 0 0 24px}}.footer__wrapper--desktop{display:block}@media only screen and (max-width:879px){.footer__wrapper--desktop{display:none}}.footer__wrapper--mobile{display:none}@media only screen and (max-width:879px){.footer__wrapper--mobile{display:block;padding-top:30px}}.footer__copyright{font-size:10px;line-height:22px}.footer__copyright--mobile{display:none}@media only screen and (max-width:879px){.footer__copyright--mobile{display:block;padding:30px 10px 30px 0;text-align:center}}.footer__section-row{display:flex;gap:50%}@media only screen and (max-width:879px){.footer__section-row{gap:unset}}.side-nav{font-family:Martel Sans}.side-nav__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center}.side-nav__overlay{background-color:rgba(78,73,73,.51);height:100%;opacity:0;position:fixed;top:0;transition:opacity .5s ease-out 0s,visibility .5s ease-out 0s;width:100%;z-index:99999}.side-nav__overlay--visible{opacity:1;visibility:visible}.side-nav__overlay--hidden{opacity:1;visibility:hidden}.side-nav__content{background-color:#fff;bottom:0;overflow-y:scroll;padding:1.5rem;position:fixed;top:0;transition:left .5s ease-in-out;width:80%;z-index:99999}.side-nav__content--hidden{display:none}.side-nav__content--open{left:0}.side-nav__content--closed{left:-100%}.side-nav__menu-title-wrapper{align-items:center;background-color:transparent;border:none;display:flex;outline:none;width:100%}.side-nav__icon-container{float:right;margin-bottom:10px}.side-nav__menu-title{align-items:center;display:flex;font-size:14px;font-weight:700;justify-content:center;line-height:20px;text-transform:uppercase}.side-nav__menu-icon{display:flex;height:25px;margin-right:10px;width:25px}.side-nav__menu-divider{margin-bottom:40px}.side-nav__accordion-icon{height:auto;width:15px}.side-nav__menu-item{margin-bottom:25px}.side-nav__close-icon{height:20px;margin-left:auto;width:20px}.side-nav__back-button-wrapper{align-items:center;display:flex;margin-bottom:25px}.side-nav__back-icon{height:20px;width:20px}.side-nav__back-button,.side-nav__sub-menu-title{font-weight:700;text-transform:uppercase}.side-nav__sub-menu-title{font-size:14px;margin-bottom:10px}.side-nav__elements{display:flex;flex-direction:column}.side-nav__element{color:#555;cursor:pointer;line-height:20px;margin-bottom:10px}.side-nav__element,.side-nav__sub-link{font-size:14px;font-weight:400;text-transform:capitalize}.side-nav__block-button{background-color:#000;color:#fff;font-weight:700;padding:10px 0;width:100%}.navbar{box-shadow:2px 2px 10px #dfdede;display:flex;padding-bottom:10px;padding-top:20px;position:relative}@media only screen and (max-width:879px){.navbar{padding-top:12px}}.navbar__link-item--desktop{align-items:center;display:flex;height:35px;margin:auto 0;padding-top:5px}.navbar__mobile-wrapper{align-items:center;display:flex;flex-direction:column;padding-left:16px;padding-right:16px}.navbar__container{display:flex;margin:0 auto;max-width:1280px;padding-left:12px;padding-right:12px;width:100%}.navbar__body{flex-basis:60%}.navbar__wrapper{align-items:center;display:flex;gap:10px;justify-content:flex-start;width:100%}@media only screen and (max-width:879px){.navbar__wrapper .navbar__menu-icon-wrapper{margin-right:10px}.navbar__wrapper .navbar__logo{margin-left:0;margin-right:auto}.navbar__wrapper .navbar__icons-wrapper{align-items:center;display:flex;gap:20px;margin-left:auto}.navbar__wrapper .navbar__icons{align-items:center;display:flex;gap:20px;margin:0}.navbar__wrapper .navbar__icon{margin:0}}.navbar__product-search-wrapper{align-items:center;display:flex;justify-content:center;padding:0 20%;width:100%}@media only screen and (max-width:879px){.navbar__product-search-wrapper{padding:0}}.navbar__search-container{width:100%}.navbar__input-close-icon{height:auto;margin-bottom:10px;margin-left:10px;width:20px}@media only screen and (max-width:879px){.navbar__input-close-icon{margin-bottom:0;margin-left:0;width:15px}}.navbar__menu-icon{width:20px}.navbar__product-search{align-items:center;display:flex;max-width:545px;width:100%}.navbar__logo-wrapper{margin-right:18px;width:200px}.navbar__logo{width:200px}@media only screen and (max-width:879px){.navbar__logo{margin-left:10px;margin-top:5px;width:150px}}.navbar__form-input{align-items:center;background:transparent;border:none;display:flex;font-size:13px;outline:none;padding:8px;width:100%}.navbar__product-search{border:1px solid #dfdede;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__product-search{border:none;border-bottom:1px solid #dfdede;margin-bottom:0;margin-right:10px;margin-top:10px}}.navbar__section{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;width:100%}.navbar__link{display:inline-block;font-family:Martel Sans;font-size:14px;font-weight:700;margin-right:10px;overflow:hidden;text-transform:uppercase;transition:.3s ease-in-out}.navbar__link:after{background-color:#000;content:"";display:block;height:2px;transition:width .25s ease-out;width:0}.navbar__link:hover:after{width:100%}.navbar__link:hover .navbar__dropdown{animation:fadeInDropdown .3s ease-in-out;display:block}.navbar__dropdown{background-color:#fff;box-shadow:5px 5px 5px #dfdede;display:none;left:0;position:absolute;width:100%;z-index:999}@keyframes fadeInDropdown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.navbar__company-link{font-size:13px;font-weight:400;list-style:none;margin-left:18px;text-decoration:none}.navbar__company-block{align-items:center;background-color:#000;color:#fff;display:flex;font-weight:700;height:33px;justify-content:center;margin-right:0;padding:0 18px;text-transform:uppercase}.navbar__input-search-icon{height:auto;margin-left:1.125rem;margin-right:.375rem;width:15px}.navbar__nav-links{align-items:center;display:flex}.navbar__nav-links--wrap{flex-wrap:wrap}.navbar__icons{align-items:center;display:flex;height:40px;justify-content:flex-end;margin-bottom:10px}@media only screen and (max-width:879px){.navbar__icons{display:block;height:20px;margin-bottom:0}}.navbar__icon{cursor:pointer;height:auto;margin-right:18px;width:20px}.navbar__icon.navbar__cart-icon{margin-right:0}.navbar__icon--app{cursor:pointer;height:auto;margin-left:12px;width:20px}@media only screen and (max-width:879px){.navbar__icon--app{margin-right:0}}.navbar__loyalty-icon{height:18px;position:absolute;right:-14px;top:-6px;width:18px}.navbar__cart-icon{position:relative}.navbar__cart-count{bottom:50%;font-size:13px;height:20px;left:60%;position:absolute;width:20px}.navbar__account-initials,.navbar__cart-count{align-items:center;background-color:#f2eeeb;border-radius:50%;color:#000;display:flex;justify-content:center}.navbar__account-initials{font-size:11px;font-weight:500;height:24px;text-transform:uppercase;width:24px}@keyframes navbar-heart-glisten{0%{transform:translateX(-160%) skewX(-20deg)}55%,to{transform:translateX(260%) skewX(-20deg)}}.navbar__interest-heart{background-color:#010101;display:inline-block;height:20px;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;position:relative;width:20px}.navbar__interest-heart:after{animation:navbar-heart-glisten 2.4s ease-in-out infinite;background:linear-gradient(115deg,transparent,hsla(0,0%,100%,.95) 50%,transparent);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:translateX(-160%) skewX(-20deg);width:55%}@media (prefers-reduced-motion:reduce){.navbar__interest-heart:after{animation:none}}@charset "UTF-8";.currency-select-container{align-items:center;display:flex;margin-right:18px;position:relative}.currency-select-container .currency-flag{margin-right:5px}.currency-select-container .currency-flag img{height:15px;-o-object-fit:cover;object-fit:cover;width:20px}.currency-select-container .currency-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;border:none;color:#000;cursor:pointer;font-family:inherit;font-size:14px;margin:0;outline:none;padding:5px 15px 5px 5px}.currency-select-container .currency-select::-ms-expand{display:none}.currency-select-container .currency-select:focus{box-shadow:none;outline:none}.currency-select-container .currency-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}.currency-select-container:after{color:#000;content:"▼";font-size:10px;pointer-events:none;position:absolute;right:0;top:50%;transform:translateY(-50%)}@media only screen and (max-width:879px){.currency-select-container .currency-select{appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist;padding-right:0}.currency-select-container:after{display:none}}.currency-select-container.disabled{cursor:not-allowed;opacity:.7}.currency-select-container.disabled .currency-select{pointer-events:none}.stores-dropdown{align-items:flex-start;display:flex;font-family:Martel Sans;gap:20px;margin-left:auto;margin-right:auto;max-width:1280px;overflow-x:auto;padding:20px 15px}.stores-dropdown__image{height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.stores-dropdown__store-details{flex-basis:20%}.stores-dropdown__title{font-family:El Messiri}.stores-dropdown__main-title,.stores-dropdown__title{font-size:16px;font-weight:400;letter-spacing:3px;margin-top:20px}.stores-dropdown__main-title{font-weight:700;margin-bottom:10px}.stores-dropdown__open-days{font-size:12px;font-weight:700;line-height:20px}.stores-dropdown__open-hours{font-size:12px;font-weight:400;line-height:20px}.stores-dropdown__queries-title{font-family:El Messiri;font-size:16px;font-weight:400;letter-spacing:3px}.stores-dropdown__contact-details{font-size:16px;font-weight:700}.stores-dropdown__view-more{cursor:pointer;font-size:14px;font-weight:400;margin-top:10px;text-transform:capitalize}@keyframes shimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.shimmer{animation:shimmer 1.2s ease-in-out infinite;background:linear-gradient(90deg,#f4f4f4 0,#dfdede 20%,#f4f4f4 40%,#f4f4f4);background-size:800px 104px}@media only screen and (max-width:1052px){.shimmer{background-size:600px 104px}}.search-results{background:#fff;border:1px solid #dfdede;border-radius:2px;box-shadow:0 2px 8px rgba(0,0,0,.08);display:flex;position:absolute;width:770px;z-index:50}@media only screen and (max-width:1052px){.search-results{border:none;box-shadow:none;flex-direction:column;left:0;right:0;top:100%;width:100%}}.search-results__section:first-child{border-right:1px solid #dfdede;flex:1;min-width:240px}.search-results__section:last-child{display:flex;flex:2;flex-direction:column}.search-results__section-header{align-items:center;display:flex;justify-content:space-between}.search-results__header{color:#000;font-family:Martel Sans;font-size:14px;font-weight:600;margin-bottom:0;padding:16px 20px;text-transform:uppercase}@media only screen and (max-width:1052px){.search-results__header{font-size:13px;padding:12px 16px}}.search-results__view-all-link{display:none}@media only screen and (max-width:879px){.search-results__view-all-link{color:#000;display:block;font-family:Martel Sans;font-size:14px;margin-right:20px}}.search-results__list{display:flex;flex-direction:column}.search-results__item{color:grey;font-family:Martel Sans;font-size:14px;padding:8px 20px;text-decoration:none}.search-results__product-list{display:flex;flex-direction:column;overflow-y:auto}.product-card{color:inherit;display:flex;padding:12px 20px;text-decoration:none;transition:background-color .15s ease}.product-card:hover{background-color:#f4f4f4}.product-card__image-container{border-radius:2px;flex-shrink:0;height:90px;margin-right:16px;overflow:hidden;width:90px}.product-card__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-card__details{display:flex;flex:1;flex-direction:column}.product-card__name{color:#000;font-family:Martel Sans;font-size:14px;line-height:1.4;margin-bottom:24px}.product-card__brand-name{font-weight:600}.product-card__info-row{align-items:flex-end;display:flex;justify-content:space-between}@media only screen and (max-width:879px){.product-card__info-row{align-items:flex-start;flex-direction:column}}.product-card__price-group{display:flex;flex-direction:column;gap:4px}.product-card__price{font-family:Martel Sans;font-size:14px;font-weight:600;line-height:1}.product-card__price--promotion{color:#000}.product-card__price--original{color:#939393;font-weight:400;text-decoration:line-through}.product-card__price-with-promotion{display:flex;flex-direction:column;gap:2px}.product-card__retail-price{color:#939393;font-family:Martel Sans;font-size:14px;text-decoration:line-through}.product-card__condition{color:#000;font-family:Martel Sans;font-size:13px;margin-right:20px;text-align:right}.product-card__condition-label{color:#939393;margin-right:4px}.search-results__view-all-button{background-color:#f2eeeb!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center}@media only screen and (max-width:879px){.search-results__view-all-button{display:none}}.search-results__no-results{display:flex;flex-direction:column;width:100%}.search-results__no-results-content{align-items:flex-start;display:flex;gap:20px;padding:20px}@media only screen and (max-width:879px){.search-results__no-results-content{gap:16px;padding:16px}}@media only screen and (max-width:1052px){.search-results__no-results-content{align-items:flex-start;gap:12px;padding:16px 12px}}.search-results__no-results-image{border-radius:4px;flex-shrink:0;height:180px;overflow:hidden;width:180px}@media only screen and (max-width:879px){.search-results__no-results-image{height:120px;width:120px}}@media only screen and (max-width:1052px){.search-results__no-results-image{height:100px;width:100px}}.search-results__no-results-image img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.search-results__no-results-text{display:flex;flex:1;flex-direction:column;gap:12px;text-align:left}@media only screen and (max-width:1052px){.search-results__no-results-text{gap:8px}}.search-results__no-results-title{color:#000;font-family:Martel Sans;font-size:16px;font-weight:600;line-height:1.4;margin:0}@media only screen and (max-width:879px){.search-results__no-results-title{font-size:14px}}@media only screen and (max-width:1052px){.search-results__no-results-title{font-size:14px;line-height:1.3}}.search-results__no-results-description{color:#939393;font-family:Martel Sans;font-size:14px;line-height:1.5;margin:0}@media only screen and (max-width:879px){.search-results__no-results-description{font-size:13px}}@media only screen and (max-width:1052px){.search-results__no-results-description{font-size:12px;line-height:1.4}}.search-results__create-interest-button{background-color:#f2eeeb!important;border:none;color:#000;cursor:pointer;font-family:Martel Sans;font-size:13px;font-weight:400;padding:16px;text-align:center;width:100%}@media only screen and (max-width:879px){.search-results__create-interest-button{display:block}}@media only screen and (max-width:1052px){.search-results__create-interest-button{font-size:13px;margin-top:8px;padding:14px 16px}}.brand-skeleton{display:flex;flex-direction:column;width:100%}.brand-skeleton__item{background-color:#f4f4f4;border-radius:4px;height:32px;margin:8px 20px}.brand-skeleton__item:first-child{margin-top:0}@media only screen and (max-width:1052px){.brand-skeleton__item{height:28px;margin:6px 16px}}.product-skeleton{display:flex;gap:16px;padding:12px 20px}@media only screen and (max-width:1052px){.product-skeleton{gap:12px;padding:10px 16px}}.product-skeleton__image{background-color:#f4f4f4;border-radius:2px;flex-shrink:0;height:90px;width:90px}@media only screen and (max-width:1052px){.product-skeleton__image{height:70px;width:70px}}.product-skeleton__content{display:flex;flex:1;flex-direction:column;gap:12px}@media only screen and (max-width:1052px){.product-skeleton__content{gap:8px}}.product-skeleton__title{background-color:#f4f4f4;border-radius:4px;height:16px;width:100%}@media only screen and (max-width:1052px){.product-skeleton__title{height:14px}}.product-skeleton__subtitle{background-color:#f4f4f4;border-radius:4px;height:14px;width:80%}@media only screen and (max-width:1052px){.product-skeleton__subtitle{height:12px;width:70%}}.product-skeleton__price{background-color:#f4f4f4;border-radius:4px;height:14px;margin-top:auto;width:60%}@media only screen and (max-width:1052px){.product-skeleton__price{height:12px;width:50%}}.dropdown{display:flex;justify-content:space-between;margin-left:auto;margin-right:auto;max-width:1280px;min-height:500px;overflow-x:auto;padding:20px 0}.dropdown__errors{align-items:center;color:red;display:flex;font-size:16px;justify-content:center;min-height:300px}.dropdown__column{flex:1;padding-left:12px}.dropdown__column:nth-child(2){flex:2}.dropdown__title{font-family:El Messiri;font-size:16px;font-weight:700;letter-spacing:3px;line-height:1;margin-bottom:20px;text-transform:uppercase}.dropdown__elements{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));max-height:800px;overflow-y:auto}.dropdown__brand-elements{-moz-column-count:3;column-count:3;max-height:800px}.dropdown__brand-element{cursor:pointer;margin-bottom:10px}.dropdown__element{flex-basis:33.33%;font-family:Martel Sans;font-size:14px;font-weight:400;margin-bottom:10px;text-transform:capitalize}.cover-spinner{align-items:center;background-color:hsla(0,0%,100%,.7);display:flex;height:100%;justify-content:center;min-height:400px;position:relative;top:50%;width:100%;z-index:9999}.cover-spinner:after{animation:spin 1.5s linear infinite;border:4px dotted #000;border-radius:50%;border-top-color:transparent;content:"";display:block;height:40px;position:absolute;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
package/build/bundle.js
CHANGED
|
@@ -10132,19 +10132,16 @@
|
|
|
10132
10132
|
};
|
|
10133
10133
|
var IconHeader$1 = themed(IconHeader);
|
|
10134
10134
|
|
|
10135
|
-
var
|
|
10135
|
+
var Heart = (function (props) {
|
|
10136
10136
|
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
10137
|
-
id: "svg-
|
|
10138
|
-
width: "
|
|
10139
|
-
height: "
|
|
10140
|
-
viewBox: "0 0
|
|
10137
|
+
id: "svg-interest-heart",
|
|
10138
|
+
width: "26",
|
|
10139
|
+
height: "25",
|
|
10140
|
+
viewBox: "0 0 29.8 28.9",
|
|
10141
10141
|
fill: "none",
|
|
10142
10142
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10143
10143
|
}, props), /*#__PURE__*/React__default.createElement("path", {
|
|
10144
|
-
d: "
|
|
10145
|
-
fill: "currentColor"
|
|
10146
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
10147
|
-
d: "M12.5012 14.1892C11.2038 14.1892 10.1484 15.2421 10.1484 16.5357V19.5739C10.1484 20.8675 11.2038 21.9204 12.5012 21.9204C13.7974 21.9204 14.8515 20.8675 14.8515 19.5739V16.5357C14.8515 15.2421 13.7974 14.1892 12.5012 14.1892ZM13.1982 16.5357V19.5739C13.1982 19.9591 12.8856 20.2721 12.5006 20.2721C12.1149 20.2721 11.8011 19.9591 11.8011 19.5739V16.5357C11.8011 16.1505 12.1149 15.8376 12.5012 15.8376C12.8856 15.8376 13.1982 16.1505 13.1982 16.5357Z",
|
|
10144
|
+
d: "M25.993,3.04h.024l-.427-.273c-2.277-1.47-4.767-1.613-7.02-.391-1.577.854-2.893,2.348-3.664,4.115-.771-1.767-2.099-3.261-3.676-4.115-2.253-1.221-4.743-1.079-7.02.391C1.886,4.273.475,6.763.523,9.277c.107,5.454,5.727,12.545,10.909,16.826.972.794,2.205,1.245,3.474,1.245,1.257,0,2.49-.451,3.462-1.245,5.182-4.281,10.802-11.371,10.909-16.826.047-2.372-1.209-4.707-3.285-6.237ZM27.795,9.241c-.095,4.98-5.407,11.608-10.328,15.676l-.047.036c-1.458,1.209-3.581,1.209-5.039,0C7.448,20.885,2.1,14.233,2.005,9.241c-.036-1.992,1.115-3.996,3.012-5.229.996-.64,2.028-.972,3.071-.972.842,0,1.66.213,2.431.628,2.146,1.174,3.64,3.771,3.64,6.332,0,.415.332.747.747.747.403,0,.735-.332.735-.747,0-2.561,1.494-5.158,3.64-6.332,1.755-.949,3.711-.818,5.502.344,1.897,1.233,3.047,3.237,3.012,5.229Z",
|
|
10148
10145
|
fill: "currentColor"
|
|
10149
10146
|
}));
|
|
10150
10147
|
});
|
|
@@ -10571,11 +10568,13 @@
|
|
|
10571
10568
|
className = _ref.className,
|
|
10572
10569
|
title = _ref.title,
|
|
10573
10570
|
searchPlaceHolder = _ref.searchPlaceHolder,
|
|
10574
|
-
onSearchChanged = _ref.onSearchChanged
|
|
10571
|
+
onSearchChanged = _ref.onSearchChanged,
|
|
10572
|
+
_ref$searchable = _ref.searchable,
|
|
10573
|
+
searchable = _ref$searchable === void 0 ? true : _ref$searchable;
|
|
10575
10574
|
return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
|
|
10576
10575
|
className: "".concat(className, " ").concat(baseClass, "__title"),
|
|
10577
10576
|
title: title
|
|
10578
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
10577
|
+
}, searchable && /*#__PURE__*/React__default.createElement("div", {
|
|
10579
10578
|
className: "title__search"
|
|
10580
10579
|
}, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
|
|
10581
10580
|
placeholder: searchPlaceHolder,
|
|
@@ -10659,6 +10658,7 @@
|
|
|
10659
10658
|
resultProcessor = _this$props.resultProcessor,
|
|
10660
10659
|
itemRenderer = _this$props.itemRenderer,
|
|
10661
10660
|
searchPlaceHolder = _this$props.searchPlaceHolder,
|
|
10661
|
+
searchable = _this$props.searchable,
|
|
10662
10662
|
graphApi = _this$props.graphApi,
|
|
10663
10663
|
identifier = _this$props.identifier,
|
|
10664
10664
|
requestInstance = _this$props.requestInstance;
|
|
@@ -10668,6 +10668,7 @@
|
|
|
10668
10668
|
title: title,
|
|
10669
10669
|
baseClass: baseClass,
|
|
10670
10670
|
searchPlaceHolder: searchPlaceHolder,
|
|
10671
|
+
searchable: searchable,
|
|
10671
10672
|
onSearchChanged: _this.onSearchChanged
|
|
10672
10673
|
}), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
|
|
10673
10674
|
triggerRequest: function triggerRequest() {
|
|
@@ -10721,6 +10722,7 @@
|
|
|
10721
10722
|
LuxityGraphQLMultiselector.defaultProps = {
|
|
10722
10723
|
baseClass: '',
|
|
10723
10724
|
searchPlaceHolder: '',
|
|
10725
|
+
searchable: true,
|
|
10724
10726
|
queryLimitIncrement: 12,
|
|
10725
10727
|
baseQueryLimit: 12
|
|
10726
10728
|
};
|
|
@@ -10816,6 +10818,48 @@
|
|
|
10816
10818
|
}
|
|
10817
10819
|
};
|
|
10818
10820
|
|
|
10821
|
+
var ApparelSizeSelector = function ApparelSizeSelector(_ref) {
|
|
10822
|
+
var onChange = _ref.onChange,
|
|
10823
|
+
category = _ref.category,
|
|
10824
|
+
graphApi = _ref.graphApi,
|
|
10825
|
+
itemRenderer = _ref.itemRenderer,
|
|
10826
|
+
getGraphQuery = _ref.getGraphQuery,
|
|
10827
|
+
resultProcessor = _ref.resultProcessor,
|
|
10828
|
+
requestInstance = _ref.requestInstance;
|
|
10829
|
+
return /*#__PURE__*/React__default.createElement(LuxityGraphQLMultiselector, {
|
|
10830
|
+
title: "Sizes",
|
|
10831
|
+
queryId: "getApparelSizes",
|
|
10832
|
+
baseQueryLimit: 16,
|
|
10833
|
+
baseClass: "apparel-size-selector",
|
|
10834
|
+
identifier: "apparel-size-selector",
|
|
10835
|
+
searchable: false,
|
|
10836
|
+
category: category,
|
|
10837
|
+
onChange: onChange,
|
|
10838
|
+
graphApi: graphApi,
|
|
10839
|
+
itemRenderer: itemRenderer,
|
|
10840
|
+
getGraphQuery: getGraphQuery,
|
|
10841
|
+
resultProcessor: resultProcessor,
|
|
10842
|
+
requestInstance: requestInstance
|
|
10843
|
+
});
|
|
10844
|
+
};
|
|
10845
|
+
|
|
10846
|
+
ApparelSizeSelector.defaultProps = {
|
|
10847
|
+
itemRenderer: ItemRenderer,
|
|
10848
|
+
resultProcessor: function resultProcessor(result) {
|
|
10849
|
+
return {
|
|
10850
|
+
data: (result.data.data.luxity_universal_apparel_size_list || []).map(function (_ref2) {
|
|
10851
|
+
var id = _ref2.id,
|
|
10852
|
+
size = _ref2.size;
|
|
10853
|
+
return {
|
|
10854
|
+
id: id,
|
|
10855
|
+
name: size
|
|
10856
|
+
};
|
|
10857
|
+
}),
|
|
10858
|
+
has_more_pages: false
|
|
10859
|
+
};
|
|
10860
|
+
}
|
|
10861
|
+
};
|
|
10862
|
+
|
|
10819
10863
|
var shoeSizeTypes = {
|
|
10820
10864
|
uk: {
|
|
10821
10865
|
label: 'UK',
|
|
@@ -11192,6 +11236,7 @@
|
|
|
11192
11236
|
min_price: null,
|
|
11193
11237
|
max_price: null,
|
|
11194
11238
|
styles: [],
|
|
11239
|
+
apparel_sizes: [],
|
|
11195
11240
|
gender: [],
|
|
11196
11241
|
condition: [],
|
|
11197
11242
|
request: _objectSpread2({}, request),
|
|
@@ -11221,7 +11266,8 @@
|
|
|
11221
11266
|
_this.setState({
|
|
11222
11267
|
category_type: categoryType,
|
|
11223
11268
|
brands: [],
|
|
11224
|
-
styles: []
|
|
11269
|
+
styles: [],
|
|
11270
|
+
apparel_sizes: []
|
|
11225
11271
|
});
|
|
11226
11272
|
});
|
|
11227
11273
|
|
|
@@ -11270,6 +11316,14 @@
|
|
|
11270
11316
|
});
|
|
11271
11317
|
});
|
|
11272
11318
|
|
|
11319
|
+
_defineProperty(_assertThisInitialized(_this), "onApparelSizesChanged", function (apparelSizesArray) {
|
|
11320
|
+
_this.setState({
|
|
11321
|
+
apparel_sizes: apparelSizesArray.map(function (apparelSize) {
|
|
11322
|
+
return apparelSize.id;
|
|
11323
|
+
})
|
|
11324
|
+
});
|
|
11325
|
+
});
|
|
11326
|
+
|
|
11273
11327
|
_defineProperty(_assertThisInitialized(_this), "onConditionChanged", function (conditions) {
|
|
11274
11328
|
_this.setState({
|
|
11275
11329
|
condition: conditions.map(function (condition) {
|
|
@@ -11299,6 +11353,7 @@
|
|
|
11299
11353
|
min_price = _this$state.min_price,
|
|
11300
11354
|
max_price = _this$state.max_price,
|
|
11301
11355
|
styles = _this$state.styles,
|
|
11356
|
+
apparel_sizes = _this$state.apparel_sizes,
|
|
11302
11357
|
category_type = _this$state.category_type,
|
|
11303
11358
|
requestState = _this$state.request,
|
|
11304
11359
|
gender = _this$state.gender,
|
|
@@ -11324,8 +11379,11 @@
|
|
|
11324
11379
|
max_shoe_size_id: max_shoe_size_id,
|
|
11325
11380
|
shoe_size_type: shoe_size_type
|
|
11326
11381
|
} : {};
|
|
11382
|
+
var apparelSizesPayload = category_type === interestCategories.APPAREL ? {
|
|
11383
|
+
apparel_sizes: apparel_sizes
|
|
11384
|
+
} : {};
|
|
11327
11385
|
|
|
11328
|
-
var payload = _objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload);
|
|
11386
|
+
var payload = _objectSpread2(_objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload), apparelSizesPayload);
|
|
11329
11387
|
|
|
11330
11388
|
simpleRequest(_this.props.requestInstance, _this.props.addInterestApi, method.POST, payload, function () {
|
|
11331
11389
|
_this.setState({
|
|
@@ -11382,6 +11440,7 @@
|
|
|
11382
11440
|
baseGraphApi = _this$props.baseGraphApi,
|
|
11383
11441
|
getBrandsGraphQuery = _this$props.getBrandsGraphQuery,
|
|
11384
11442
|
getStylesGraphQuery = _this$props.getStylesGraphQuery,
|
|
11443
|
+
getApparelSizesGraphQuery = _this$props.getApparelSizesGraphQuery,
|
|
11385
11444
|
getShoesGraphQuery = _this$props.getShoesGraphQuery,
|
|
11386
11445
|
defaultShoeSizeType = _this$props.defaultShoeSizeType,
|
|
11387
11446
|
getConditionsGraphQuery = _this$props.getConditionsGraphQuery;
|
|
@@ -11413,6 +11472,12 @@
|
|
|
11413
11472
|
requestInstance: requestInstance,
|
|
11414
11473
|
graphApi: "".concat(baseGraphApi, "?id=getStyles"),
|
|
11415
11474
|
getGraphQuery: getStylesGraphQuery
|
|
11475
|
+
}), category_type === interestCategories.APPAREL && /*#__PURE__*/React__default.createElement(ApparelSizeSelector, {
|
|
11476
|
+
category: category_type,
|
|
11477
|
+
onChange: _this.onApparelSizesChanged,
|
|
11478
|
+
requestInstance: requestInstance,
|
|
11479
|
+
graphApi: "".concat(baseGraphApi, "?id=getApparelSizes"),
|
|
11480
|
+
getGraphQuery: getApparelSizesGraphQuery
|
|
11416
11481
|
}), /*#__PURE__*/React__default.createElement(ConditionSelector, {
|
|
11417
11482
|
onChange: _this.onConditionChanged,
|
|
11418
11483
|
requestInstance: requestInstance,
|
|
@@ -12110,8 +12175,8 @@
|
|
|
12110
12175
|
}, /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(Add, null)));
|
|
12111
12176
|
};
|
|
12112
12177
|
|
|
12113
|
-
var
|
|
12114
|
-
return /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
12178
|
+
var InterestIcon = themed(function () {
|
|
12179
|
+
return /*#__PURE__*/React__default.createElement(SvgWrapper, null, /*#__PURE__*/React__default.createElement(Heart, null));
|
|
12115
12180
|
});
|
|
12116
12181
|
var AddInterestButton = themed(styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n font-weight: bold;\n color: ", ";\n border: 1px solid ", ";\n padding-top: ", ";\n margin-bottom: ", ";\n padding-left: 1.5rem;\n width: 95%;\n font-size: 17px;\n"])), function (props) {
|
|
12117
12182
|
return props.theme.colors.darkerGray;
|
|
@@ -12231,6 +12296,7 @@
|
|
|
12231
12296
|
baseGraphApi = _this$props2.baseGraphApi,
|
|
12232
12297
|
getBrandsGraphQuery = _this$props2.getBrandsGraphQuery,
|
|
12233
12298
|
getStylesGraphQuery = _this$props2.getStylesGraphQuery,
|
|
12299
|
+
getApparelSizesGraphQuery = _this$props2.getApparelSizesGraphQuery,
|
|
12234
12300
|
getShoesGraphQuery = _this$props2.getShoesGraphQuery,
|
|
12235
12301
|
deleteInterestApi = _this$props2.deleteInterestApi,
|
|
12236
12302
|
setSchedule = _this$props2.setSchedule,
|
|
@@ -12250,10 +12316,10 @@
|
|
|
12250
12316
|
}
|
|
12251
12317
|
}), /*#__PURE__*/React__default.createElement(IconHeader$1, {
|
|
12252
12318
|
svgComponent: function svgComponent() {
|
|
12253
|
-
return /*#__PURE__*/React__default.createElement(
|
|
12319
|
+
return /*#__PURE__*/React__default.createElement(InterestIcon, null);
|
|
12254
12320
|
},
|
|
12255
12321
|
title: interestsTitle,
|
|
12256
|
-
svgName: "
|
|
12322
|
+
svgName: "interest",
|
|
12257
12323
|
renderAppendage: function renderAppendage() {
|
|
12258
12324
|
return /*#__PURE__*/React__default.createElement(NotificationDropDown$1, {
|
|
12259
12325
|
getSchedule: getSchedule,
|
|
@@ -12285,6 +12351,7 @@
|
|
|
12285
12351
|
baseGraphApi: baseGraphApi,
|
|
12286
12352
|
getBrandsGraphQuery: getBrandsGraphQuery,
|
|
12287
12353
|
getStylesGraphQuery: getStylesGraphQuery,
|
|
12354
|
+
getApparelSizesGraphQuery: getApparelSizesGraphQuery,
|
|
12288
12355
|
getShoesGraphQuery: getShoesGraphQuery,
|
|
12289
12356
|
defaultShoeSizeType: defaultShoeSizeType,
|
|
12290
12357
|
addInterestTitle: "Category Interest",
|
|
@@ -16837,13 +16904,16 @@
|
|
|
16837
16904
|
className: "text-sm"
|
|
16838
16905
|
}, name))), onInterestClick && /*#__PURE__*/React__default.createElement("button", {
|
|
16839
16906
|
type: "button",
|
|
16907
|
+
"aria-label": "Interests",
|
|
16840
16908
|
className: "".concat(app ? 'navbar__icon--app' : 'navbar__icon'),
|
|
16841
16909
|
onClick: onInterestClick
|
|
16842
|
-
}, /*#__PURE__*/React__default.createElement("
|
|
16843
|
-
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16910
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
16911
|
+
className: "navbar__interest-heart",
|
|
16912
|
+
style: {
|
|
16913
|
+
WebkitMaskImage: "url(".concat(interestIcon, ")"),
|
|
16914
|
+
maskImage: "url(".concat(interestIcon, ")")
|
|
16915
|
+
},
|
|
16916
|
+
"aria-hidden": true
|
|
16847
16917
|
})), /*#__PURE__*/React__default.createElement("button", {
|
|
16848
16918
|
type: "button",
|
|
16849
16919
|
className: "navbar__cart-icon ".concat(app ? 'navbar__icon--app' : 'navbar__icon'),
|