@bonlineza/luxity-lib 2.6.2 → 2.7.3
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/Accordion.js +3 -1
- package/AddInterest.js +461 -2322
- package/BrandSelector.js +71 -25
- package/CHANGELOG.md +8 -0
- package/Checkbox.js +3 -1
- package/CheckboxButton.js +4 -2
- package/GenderSelector.js +57 -28
- package/GraphQLMultiSelector.js +9 -5
- package/IconHeader.js +3 -1
- package/IconWrapper.js +38 -0
- package/InterestCatSelector.js +92 -1785
- package/InterestItem.js +131 -1997
- package/Interests.js +669 -4067
- package/InterestsSubheading.js +65 -0
- package/InvertedTextButton.js +4 -2
- package/LuxityGraphQLMultiselector.js +61 -17
- package/NotificationDropDown.js +3 -1
- package/OutlinePrimaryButton.js +4 -2
- package/PriceRangeSelector.js +55 -12
- package/PrimaryButton.js +7 -3
- package/RadioButtons.js +3 -1
- package/RangeSlider.js +3 -1
- package/SecondaryButton.js +13 -5
- package/ShoeSizeSelector.js +4 -2
- package/StyleSelector.js +71 -25
- package/TextButton.js +4 -2
- package/Tooltip.js +3 -1
- package/WrapperButton.js +1 -1
- package/build/bundle.js +970 -4099
- package/build/constants.js +4 -2
- package/package.json +1 -4
- package/svg/Accessories.js +9 -433
- package/svg/Add.js +2 -2
- package/svg/Bags.js +14 -357
- package/svg/LightBulb.js +1 -1
- package/svg/Logo.js +3 -3
- package/svg/LuxityMenu.js +1 -1
- package/svg/Minus.js +1 -1
- package/svg/MobileAvatar.js +1 -1
- package/svg/MyOrder.js +1 -1
- package/svg/MyPayment.js +1 -1
- package/svg/MySale.js +1 -1
- package/svg/Shoes.js +13 -983
- package/svg/SvgWrapper.js +1 -1
- package/svg/Trash.js +48 -0
- package/svg/Watches.js +63 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('styled-components')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['react', 'styled-components'], factory) :
|
|
4
|
+
(global = global || self, global.InterestsSubheading = factory(global.React, global.styled));
|
|
5
|
+
}(this, (function (React, styled) { 'use strict';
|
|
6
|
+
|
|
7
|
+
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
|
+
styled = styled && Object.prototype.hasOwnProperty.call(styled, 'default') ? styled['default'] : styled;
|
|
9
|
+
|
|
10
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
11
|
+
if (!raw) {
|
|
12
|
+
raw = strings.slice(0);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
16
|
+
raw: {
|
|
17
|
+
value: Object.freeze(raw)
|
|
18
|
+
}
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function _templateObject2() {
|
|
23
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n width: 100%;\n align-items: center;\n"]);
|
|
24
|
+
|
|
25
|
+
_templateObject2 = function _templateObject2() {
|
|
26
|
+
return data;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function _templateObject() {
|
|
33
|
+
var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
|
|
34
|
+
|
|
35
|
+
_templateObject = function _templateObject() {
|
|
36
|
+
return data;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return data;
|
|
40
|
+
}
|
|
41
|
+
var Title = styled.h1(_templateObject(), function (props) {
|
|
42
|
+
return props.theme.fontSizes[2];
|
|
43
|
+
});
|
|
44
|
+
var InterestsSubheadingContainer = styled.div(_templateObject2(), function (props) {
|
|
45
|
+
return props.theme.marginPaddings[1];
|
|
46
|
+
}, function (props) {
|
|
47
|
+
return props.theme.colors.primary;
|
|
48
|
+
}, function (props) {
|
|
49
|
+
return props.theme.marginPaddings[3];
|
|
50
|
+
}, function (props) {
|
|
51
|
+
return props.theme.marginPaddings[3];
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
var InterestsSubheading = function InterestsSubheading(_ref) {
|
|
55
|
+
var title = _ref.title,
|
|
56
|
+
children = _ref.children,
|
|
57
|
+
className = _ref.className;
|
|
58
|
+
return React.createElement(InterestsSubheadingContainer, {
|
|
59
|
+
className: className
|
|
60
|
+
}, React.createElement(Title, null, title), React.createElement("div", null, children));
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
return InterestsSubheading;
|
|
64
|
+
|
|
65
|
+
})));
|
package/InvertedTextButton.js
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
function _templateObject2() {
|
|
77
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
77
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
78
78
|
|
|
79
79
|
_templateObject2 = function _templateObject2() {
|
|
80
80
|
return data;
|
|
@@ -109,7 +109,9 @@
|
|
|
109
109
|
baseLt: '#817c7c',
|
|
110
110
|
borderColor: '#d8d8d8',
|
|
111
111
|
ntrlMin: '#fff',
|
|
112
|
-
ntrlMinTen: '#e6e6e6'
|
|
112
|
+
ntrlMinTen: '#e6e6e6',
|
|
113
|
+
gray: '#efefef',
|
|
114
|
+
darkerGray: '#454141'
|
|
113
115
|
}
|
|
114
116
|
};
|
|
115
117
|
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
};
|
|
334
334
|
|
|
335
335
|
function _templateObject2() {
|
|
336
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
336
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
337
337
|
|
|
338
338
|
_templateObject2 = function _templateObject2() {
|
|
339
339
|
return data;
|
|
@@ -368,7 +368,9 @@
|
|
|
368
368
|
baseLt: '#817c7c',
|
|
369
369
|
borderColor: '#d8d8d8',
|
|
370
370
|
ntrlMin: '#fff',
|
|
371
|
-
ntrlMinTen: '#e6e6e6'
|
|
371
|
+
ntrlMinTen: '#e6e6e6',
|
|
372
|
+
gray: '#efefef',
|
|
373
|
+
darkerGray: '#454141'
|
|
372
374
|
}
|
|
373
375
|
};
|
|
374
376
|
|
|
@@ -451,7 +453,7 @@
|
|
|
451
453
|
};
|
|
452
454
|
|
|
453
455
|
function _templateObject2$1() {
|
|
454
|
-
var data = _taggedTemplateLiteral(["\n .multiselector__selected-items,\n .multiselector__selectable-items {\n display: flex;\n flex-flow: wrap;\n margin-left: calc(-1 * ", ");\n button {\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-transform: none;\n box-sizing: border-box;\n animation: ", " ease-in-out\n ", " forwards;\n flex-basis: calc(
|
|
456
|
+
var data = _taggedTemplateLiteral(["\n .multiselector__selected-items,\n .multiselector__selectable-items {\n display: flex;\n flex-flow: wrap;\n margin-left: calc(-1 * ", ");\n button {\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n border-color: ", ";\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-transform: none;\n box-sizing: border-box;\n animation: ", " ease-in-out\n ", " forwards;\n flex-basis: calc(25% - ", ");\n margin-bottom: ", ";\n margin-left: ", ";\n text-overflow: ellipsis;\n overflow-x: hidden;\n min-height: 40px;\n\n @media (max-width: ", ") {\n flex-basis: calc(50% - ", ");\n }\n }\n }\n\n .multiselector__footer {\n display: flex;\n justify-content: center;\n button {\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n background-color: ", ";\n color: ", ";\n }\n }\n"]);
|
|
455
457
|
|
|
456
458
|
_templateObject2$1 = function _templateObject2() {
|
|
457
459
|
return data;
|
|
@@ -478,14 +480,16 @@
|
|
|
478
480
|
var multiselectorItemFadeIn = styled.keyframes(_templateObject$3(), multiSelectorItemMaxHeight);
|
|
479
481
|
var StyledMultiselector = styled__default.div(_templateObject2$1(), function (props) {
|
|
480
482
|
return props.theme.marginPaddings[2];
|
|
481
|
-
}, function (props) {
|
|
482
|
-
return props.theme.colors.primary;
|
|
483
483
|
}, function (props) {
|
|
484
484
|
return props.theme.colors.ntrlMin;
|
|
485
485
|
}, function (props) {
|
|
486
486
|
return props.theme.colors.primary;
|
|
487
|
+
}, function (props) {
|
|
488
|
+
return props.theme.colors.primary;
|
|
487
489
|
}, function (props) {
|
|
488
490
|
return props.theme.colors.ntrlMin;
|
|
491
|
+
}, function (props) {
|
|
492
|
+
return props.theme.colors.primary;
|
|
489
493
|
}, function (props) {
|
|
490
494
|
return props.theme.marginPaddings[0];
|
|
491
495
|
}, multiSelectorItemAnimationDuration, multiselectorItemFadeIn, function (props) {
|
|
@@ -710,8 +714,18 @@
|
|
|
710
714
|
}));
|
|
711
715
|
});
|
|
712
716
|
|
|
717
|
+
function _templateObject2$2() {
|
|
718
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n width: 100%;\n align-items: center;\n"]);
|
|
719
|
+
|
|
720
|
+
_templateObject2$2 = function _templateObject2() {
|
|
721
|
+
return data;
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
return data;
|
|
725
|
+
}
|
|
726
|
+
|
|
713
727
|
function _templateObject$4() {
|
|
714
|
-
var data = _taggedTemplateLiteral(["\n
|
|
728
|
+
var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
|
|
715
729
|
|
|
716
730
|
_templateObject$4 = function _templateObject() {
|
|
717
731
|
return data;
|
|
@@ -719,16 +733,48 @@
|
|
|
719
733
|
|
|
720
734
|
return data;
|
|
721
735
|
}
|
|
736
|
+
var Title = styled__default.h1(_templateObject$4(), function (props) {
|
|
737
|
+
return props.theme.fontSizes[2];
|
|
738
|
+
});
|
|
739
|
+
var InterestsSubheadingContainer = styled__default.div(_templateObject2$2(), function (props) {
|
|
740
|
+
return props.theme.marginPaddings[1];
|
|
741
|
+
}, function (props) {
|
|
742
|
+
return props.theme.colors.primary;
|
|
743
|
+
}, function (props) {
|
|
744
|
+
return props.theme.marginPaddings[3];
|
|
745
|
+
}, function (props) {
|
|
746
|
+
return props.theme.marginPaddings[3];
|
|
747
|
+
});
|
|
748
|
+
|
|
749
|
+
var InterestsSubheading = function InterestsSubheading(_ref) {
|
|
750
|
+
var title = _ref.title,
|
|
751
|
+
children = _ref.children,
|
|
752
|
+
className = _ref.className;
|
|
753
|
+
return React__default.createElement(InterestsSubheadingContainer, {
|
|
754
|
+
className: className
|
|
755
|
+
}, React__default.createElement(Title, null, title), React__default.createElement("div", null, children));
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
function _templateObject$5() {
|
|
759
|
+
var data = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-weight: bold;\n display: flex;\n align-items: center;\n font-size: ", ";\n\n .title__search,\n .title__search {\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 30px;\n margin-bottom: ", ";\n\n svg {\n margin-left: ", ";\n fill: ", ";\n stroke: ", ";\n }\n\n input {\n width: 140px;\n border: none;\n font-size: ", ";\n transition: 0.2s border-color ease-in-out;\n margin-left: ", ";\n padding: 0;\n\n :focus {\n border-color: ", ";\n border-bottom: none;\n }\n }\n }\n"]);
|
|
760
|
+
|
|
761
|
+
_templateObject$5 = function _templateObject() {
|
|
762
|
+
return data;
|
|
763
|
+
};
|
|
722
764
|
|
|
723
|
-
|
|
765
|
+
return data;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
var Title$1 = function Title(_ref) {
|
|
724
769
|
var baseClass = _ref.baseClass,
|
|
725
770
|
className = _ref.className,
|
|
726
771
|
title = _ref.title,
|
|
727
772
|
searchPlaceHolder = _ref.searchPlaceHolder,
|
|
728
773
|
onSearchChanged = _ref.onSearchChanged;
|
|
729
|
-
return React__default.createElement(
|
|
730
|
-
className: "".concat(className, " ").concat(baseClass, "__title")
|
|
731
|
-
|
|
774
|
+
return React__default.createElement(InterestsSubheading, {
|
|
775
|
+
className: "".concat(className, " ").concat(baseClass, "__title"),
|
|
776
|
+
title: title
|
|
777
|
+
}, React__default.createElement("div", {
|
|
732
778
|
className: "title__search"
|
|
733
779
|
}, React__default.createElement(Search, null), React__default.createElement("input", {
|
|
734
780
|
placeholder: searchPlaceHolder,
|
|
@@ -738,10 +784,12 @@
|
|
|
738
784
|
})));
|
|
739
785
|
};
|
|
740
786
|
|
|
741
|
-
var StyledTitle = styled__default(Title)(_templateObject$
|
|
787
|
+
var StyledTitle = styled__default(Title$1)(_templateObject$5(), function (props) {
|
|
742
788
|
return props.theme.marginPaddings[2];
|
|
743
789
|
}, function (props) {
|
|
744
790
|
return props.theme.fontSizes[2];
|
|
791
|
+
}, function (props) {
|
|
792
|
+
return props.theme.marginPaddings[0];
|
|
745
793
|
}, function (props) {
|
|
746
794
|
return props.theme.marginPaddings[3];
|
|
747
795
|
}, function (props) {
|
|
@@ -752,14 +800,10 @@
|
|
|
752
800
|
return props.theme.fontSizes[2];
|
|
753
801
|
}, function (props) {
|
|
754
802
|
return props.theme.marginPaddings[0];
|
|
755
|
-
}, function (props) {
|
|
756
|
-
return props.theme.marginPaddings[0];
|
|
757
|
-
}, function (props) {
|
|
758
|
-
return props.theme.marginPaddings[0];
|
|
759
803
|
}, function (props) {
|
|
760
804
|
return props.theme.colors.primary;
|
|
761
805
|
});
|
|
762
|
-
var Title$
|
|
806
|
+
var Title$2 = themed(StyledTitle);
|
|
763
807
|
|
|
764
808
|
var debounceBuilder = functions.debounced(200);
|
|
765
809
|
|
|
@@ -832,7 +876,7 @@
|
|
|
832
876
|
requestInstance = _this$props.requestInstance;
|
|
833
877
|
return React__default.createElement("div", {
|
|
834
878
|
className: baseClass
|
|
835
|
-
}, React__default.createElement(Title$
|
|
879
|
+
}, React__default.createElement(Title$2, {
|
|
836
880
|
title: title,
|
|
837
881
|
baseClass: baseClass,
|
|
838
882
|
searchPlaceHolder: searchPlaceHolder,
|
package/NotificationDropDown.js
CHANGED
package/OutlinePrimaryButton.js
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
function _templateObject2() {
|
|
77
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
77
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
78
78
|
|
|
79
79
|
_templateObject2 = function _templateObject2() {
|
|
80
80
|
return data;
|
|
@@ -109,7 +109,9 @@
|
|
|
109
109
|
baseLt: '#817c7c',
|
|
110
110
|
borderColor: '#d8d8d8',
|
|
111
111
|
ntrlMin: '#fff',
|
|
112
|
-
ntrlMinTen: '#e6e6e6'
|
|
112
|
+
ntrlMinTen: '#e6e6e6',
|
|
113
|
+
gray: '#efefef',
|
|
114
|
+
darkerGray: '#454141'
|
|
113
115
|
}
|
|
114
116
|
};
|
|
115
117
|
|
package/PriceRangeSelector.js
CHANGED
|
@@ -194,7 +194,9 @@
|
|
|
194
194
|
baseLt: '#817c7c',
|
|
195
195
|
borderColor: '#d8d8d8',
|
|
196
196
|
ntrlMin: '#fff',
|
|
197
|
-
ntrlMinTen: '#e6e6e6'
|
|
197
|
+
ntrlMinTen: '#e6e6e6',
|
|
198
|
+
gray: '#efefef',
|
|
199
|
+
darkerGray: '#454141'
|
|
198
200
|
}
|
|
199
201
|
};
|
|
200
202
|
|
|
@@ -1276,7 +1278,7 @@
|
|
|
1276
1278
|
};
|
|
1277
1279
|
|
|
1278
1280
|
function _templateObject2$1() {
|
|
1279
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
1281
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
1280
1282
|
|
|
1281
1283
|
_templateObject2$1 = function _templateObject2() {
|
|
1282
1284
|
return data;
|
|
@@ -1298,7 +1300,7 @@
|
|
|
1298
1300
|
var baseButtonStyle = styled.css(_templateObject2$1());
|
|
1299
1301
|
|
|
1300
1302
|
function _templateObject$6() {
|
|
1301
|
-
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n }\n &:disabled {\n ", "\n &:hover {\n background-color: ", ";\n }\n }\n"]);
|
|
1303
|
+
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n color: ", ";\n border: 1px solid ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:disabled {\n ", "\n &:hover {\n background-color: ", ";\n }\n }\n"]);
|
|
1302
1304
|
|
|
1303
1305
|
_templateObject$6 = function _templateObject() {
|
|
1304
1306
|
return data;
|
|
@@ -1307,9 +1309,15 @@
|
|
|
1307
1309
|
return data;
|
|
1308
1310
|
}
|
|
1309
1311
|
var Button = styled__default.button(_templateObject$6(), baseButtonStyle, function (props) {
|
|
1310
|
-
return props.theme.colors.
|
|
1312
|
+
return props.theme.colors.ntrlMin;
|
|
1313
|
+
}, function (props) {
|
|
1314
|
+
return props.theme.colors.primary;
|
|
1315
|
+
}, function (props) {
|
|
1316
|
+
return props.theme.colors.primary;
|
|
1317
|
+
}, function (props) {
|
|
1318
|
+
return props.theme.colors.primary;
|
|
1311
1319
|
}, function (props) {
|
|
1312
|
-
return props.theme.colors.
|
|
1320
|
+
return props.theme.colors.ntrlMin;
|
|
1313
1321
|
}, disabledButtonStyle, function (props) {
|
|
1314
1322
|
return props.theme.colors.base;
|
|
1315
1323
|
});
|
|
@@ -1323,8 +1331,18 @@
|
|
|
1323
1331
|
|
|
1324
1332
|
var SecondaryButton$1 = themed(SecondaryButton);
|
|
1325
1333
|
|
|
1334
|
+
function _templateObject2$2() {
|
|
1335
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n width: 100%;\n align-items: center;\n"]);
|
|
1336
|
+
|
|
1337
|
+
_templateObject2$2 = function _templateObject2() {
|
|
1338
|
+
return data;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
return data;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1326
1344
|
function _templateObject$7() {
|
|
1327
|
-
var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom:
|
|
1345
|
+
var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
|
|
1328
1346
|
|
|
1329
1347
|
_templateObject$7 = function _templateObject() {
|
|
1330
1348
|
return data;
|
|
@@ -1332,25 +1350,43 @@
|
|
|
1332
1350
|
|
|
1333
1351
|
return data;
|
|
1334
1352
|
}
|
|
1335
|
-
var
|
|
1353
|
+
var Title = styled__default.h1(_templateObject$7(), function (props) {
|
|
1336
1354
|
return props.theme.fontSizes[2];
|
|
1355
|
+
});
|
|
1356
|
+
var InterestsSubheadingContainer = styled__default.div(_templateObject2$2(), function (props) {
|
|
1357
|
+
return props.theme.marginPaddings[1];
|
|
1358
|
+
}, function (props) {
|
|
1359
|
+
return props.theme.colors.primary;
|
|
1360
|
+
}, function (props) {
|
|
1361
|
+
return props.theme.marginPaddings[3];
|
|
1337
1362
|
}, function (props) {
|
|
1338
1363
|
return props.theme.marginPaddings[3];
|
|
1339
1364
|
});
|
|
1340
1365
|
|
|
1366
|
+
var InterestsSubheading = function InterestsSubheading(_ref) {
|
|
1367
|
+
var title = _ref.title,
|
|
1368
|
+
children = _ref.children,
|
|
1369
|
+
className = _ref.className;
|
|
1370
|
+
return React__default.createElement(InterestsSubheadingContainer, {
|
|
1371
|
+
className: className
|
|
1372
|
+
}, React__default.createElement(Title, null, title), React__default.createElement("div", null, children));
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1341
1375
|
var interestCategories = {
|
|
1342
1376
|
SHOES: 'SHOES',
|
|
1343
1377
|
BAGS: 'BAGS',
|
|
1344
|
-
ACCESSORIES: 'ACCESSORIES'
|
|
1378
|
+
ACCESSORIES: 'ACCESSORIES',
|
|
1379
|
+
WATCHES: 'WATCHES'
|
|
1345
1380
|
};
|
|
1346
1381
|
var interestCategoryMaxPrices = {
|
|
1347
1382
|
SHOES: 50000,
|
|
1348
1383
|
BAGS: 500000,
|
|
1349
|
-
ACCESSORIES: 100000
|
|
1384
|
+
ACCESSORIES: 100000,
|
|
1385
|
+
WATCHES: 500000
|
|
1350
1386
|
};
|
|
1351
1387
|
|
|
1352
1388
|
function _templateObject$8() {
|
|
1353
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n\n input[data-qe-id='masked-input-min'],\n input[data-qe-id='masked-input-max'] {\n flex-basis: 30%;\n }\n"]);
|
|
1389
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n\n input[data-qe-id='masked-input-min'],\n input[data-qe-id='masked-input-max'] {\n flex-basis: 30%;\n border-left: none;\n border-right: none;\n border-top: none;\n border-bottom: 1px solid ", ";\n }\n"]);
|
|
1354
1390
|
|
|
1355
1391
|
_templateObject$8 = function _templateObject() {
|
|
1356
1392
|
return data;
|
|
@@ -1358,7 +1394,9 @@
|
|
|
1358
1394
|
|
|
1359
1395
|
return data;
|
|
1360
1396
|
}
|
|
1361
|
-
var CurrencyInputWrapper = styled__default.div(_templateObject$8())
|
|
1397
|
+
var CurrencyInputWrapper = styled__default.div(_templateObject$8(), function (props) {
|
|
1398
|
+
return props.theme.colors.primary;
|
|
1399
|
+
});
|
|
1362
1400
|
|
|
1363
1401
|
var debounceBuilder$1 = functions.debounced(50);
|
|
1364
1402
|
|
|
@@ -1375,6 +1413,9 @@
|
|
|
1375
1413
|
case interestCategories.SHOES:
|
|
1376
1414
|
return interestCategoryMaxPrices.SHOES;
|
|
1377
1415
|
|
|
1416
|
+
case interestCategories.WATCHES:
|
|
1417
|
+
return interestCategoryMaxPrices.WATCHES;
|
|
1418
|
+
|
|
1378
1419
|
default:
|
|
1379
1420
|
return 0;
|
|
1380
1421
|
}
|
|
@@ -1435,7 +1476,9 @@
|
|
|
1435
1476
|
className: "price-ranges"
|
|
1436
1477
|
}, React__default.createElement(RangeSlider$1, {
|
|
1437
1478
|
renderTitleSection: function renderTitleSection() {
|
|
1438
|
-
return React__default.createElement(
|
|
1479
|
+
return React__default.createElement(InterestsSubheading, {
|
|
1480
|
+
title: "Price Range"
|
|
1481
|
+
});
|
|
1439
1482
|
},
|
|
1440
1483
|
identifier: "price-range-slider",
|
|
1441
1484
|
max: maxPrice,
|
package/PrimaryButton.js
CHANGED
|
@@ -87,7 +87,9 @@
|
|
|
87
87
|
baseLt: '#817c7c',
|
|
88
88
|
borderColor: '#d8d8d8',
|
|
89
89
|
ntrlMin: '#fff',
|
|
90
|
-
ntrlMinTen: '#e6e6e6'
|
|
90
|
+
ntrlMinTen: '#e6e6e6',
|
|
91
|
+
gray: '#efefef',
|
|
92
|
+
darkerGray: '#454141'
|
|
91
93
|
}
|
|
92
94
|
};
|
|
93
95
|
|
|
@@ -102,7 +104,7 @@
|
|
|
102
104
|
});
|
|
103
105
|
|
|
104
106
|
function _templateObject2() {
|
|
105
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
107
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
106
108
|
|
|
107
109
|
_templateObject2 = function _templateObject2() {
|
|
108
110
|
return data;
|
|
@@ -124,7 +126,7 @@
|
|
|
124
126
|
var baseButtonStyle = styled.css(_templateObject2());
|
|
125
127
|
|
|
126
128
|
function _templateObject$1() {
|
|
127
|
-
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n &:active,\n &:hover {\n background-color: #fff;\n color: ", ";\n }\n\n &:disabled {\n ", "\n\n &:hover {\n background-color: ", ";\n color: #ffff;\n }\n }\n"]);
|
|
129
|
+
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n color: ", ";\n &:active,\n &:hover {\n background-color: #fff;\n color: ", ";\n }\n\n &:disabled {\n ", "\n\n &:hover {\n background-color: ", ";\n color: #ffff;\n }\n }\n"]);
|
|
128
130
|
|
|
129
131
|
_templateObject$1 = function _templateObject() {
|
|
130
132
|
return data;
|
|
@@ -134,6 +136,8 @@
|
|
|
134
136
|
}
|
|
135
137
|
var Button = styled__default.button(_templateObject$1(), baseButtonStyle, function (props) {
|
|
136
138
|
return props.theme.colors.primary;
|
|
139
|
+
}, function (props) {
|
|
140
|
+
return props.theme.colors.ntrlMin;
|
|
137
141
|
}, function (props) {
|
|
138
142
|
return props.theme.colors.primary;
|
|
139
143
|
}, disabledButtonStyle, function (props) {
|
package/RadioButtons.js
CHANGED
package/RangeSlider.js
CHANGED
package/SecondaryButton.js
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
function _templateObject2() {
|
|
77
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
77
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
78
78
|
|
|
79
79
|
_templateObject2 = function _templateObject2() {
|
|
80
80
|
return data;
|
|
@@ -109,7 +109,9 @@
|
|
|
109
109
|
baseLt: '#817c7c',
|
|
110
110
|
borderColor: '#d8d8d8',
|
|
111
111
|
ntrlMin: '#fff',
|
|
112
|
-
ntrlMinTen: '#e6e6e6'
|
|
112
|
+
ntrlMinTen: '#e6e6e6',
|
|
113
|
+
gray: '#efefef',
|
|
114
|
+
darkerGray: '#454141'
|
|
113
115
|
}
|
|
114
116
|
};
|
|
115
117
|
|
|
@@ -124,7 +126,7 @@
|
|
|
124
126
|
});
|
|
125
127
|
|
|
126
128
|
function _templateObject$1() {
|
|
127
|
-
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n }\n &:disabled {\n ", "\n &:hover {\n background-color: ", ";\n }\n }\n"]);
|
|
129
|
+
var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n color: ", ";\n border: 1px solid ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:disabled {\n ", "\n &:hover {\n background-color: ", ";\n }\n }\n"]);
|
|
128
130
|
|
|
129
131
|
_templateObject$1 = function _templateObject() {
|
|
130
132
|
return data;
|
|
@@ -133,9 +135,15 @@
|
|
|
133
135
|
return data;
|
|
134
136
|
}
|
|
135
137
|
var Button = styled__default.button(_templateObject$1(), baseButtonStyle, function (props) {
|
|
136
|
-
return props.theme.colors.
|
|
138
|
+
return props.theme.colors.ntrlMin;
|
|
139
|
+
}, function (props) {
|
|
140
|
+
return props.theme.colors.primary;
|
|
141
|
+
}, function (props) {
|
|
142
|
+
return props.theme.colors.primary;
|
|
143
|
+
}, function (props) {
|
|
144
|
+
return props.theme.colors.primary;
|
|
137
145
|
}, function (props) {
|
|
138
|
-
return props.theme.colors.
|
|
146
|
+
return props.theme.colors.ntrlMin;
|
|
139
147
|
}, disabledButtonStyle, function (props) {
|
|
140
148
|
return props.theme.colors.base;
|
|
141
149
|
});
|
package/ShoeSizeSelector.js
CHANGED
|
@@ -143,7 +143,9 @@
|
|
|
143
143
|
baseLt: '#817c7c',
|
|
144
144
|
borderColor: '#d8d8d8',
|
|
145
145
|
ntrlMin: '#fff',
|
|
146
|
-
ntrlMinTen: '#e6e6e6'
|
|
146
|
+
ntrlMinTen: '#e6e6e6',
|
|
147
|
+
gray: '#efefef',
|
|
148
|
+
darkerGray: '#454141'
|
|
147
149
|
}
|
|
148
150
|
};
|
|
149
151
|
|
|
@@ -1188,7 +1190,7 @@
|
|
|
1188
1190
|
var RangeSlider$1 = themed(RangeSlider);
|
|
1189
1191
|
|
|
1190
1192
|
function _templateObject2$1() {
|
|
1191
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
1193
|
+
var data = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"]);
|
|
1192
1194
|
|
|
1193
1195
|
_templateObject2$1 = function _templateObject2() {
|
|
1194
1196
|
return data;
|