@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
package/StyleSelector.js
CHANGED
|
@@ -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
|
+
};
|
|
722
757
|
|
|
723
|
-
|
|
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
|
+
};
|
|
764
|
+
|
|
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,
|
|
@@ -882,17 +926,19 @@
|
|
|
882
926
|
baseQueryLimit: 12
|
|
883
927
|
};
|
|
884
928
|
|
|
885
|
-
function _templateObject$
|
|
886
|
-
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"]);
|
|
929
|
+
function _templateObject$6() {
|
|
930
|
+
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"]);
|
|
887
931
|
|
|
888
|
-
_templateObject$
|
|
932
|
+
_templateObject$6 = function _templateObject() {
|
|
889
933
|
return data;
|
|
890
934
|
};
|
|
891
935
|
|
|
892
936
|
return data;
|
|
893
937
|
}
|
|
894
|
-
var Button$2 = styled__default.button(_templateObject$
|
|
938
|
+
var Button$2 = styled__default.button(_templateObject$6(), baseButtonStyle, function (props) {
|
|
895
939
|
return props.theme.colors.primary;
|
|
940
|
+
}, function (props) {
|
|
941
|
+
return props.theme.colors.ntrlMin;
|
|
896
942
|
}, function (props) {
|
|
897
943
|
return props.theme.colors.primary;
|
|
898
944
|
}, disabledButtonStyle, function (props) {
|
|
@@ -908,16 +954,16 @@
|
|
|
908
954
|
|
|
909
955
|
var PrimaryButton$1 = themed(PrimaryButton);
|
|
910
956
|
|
|
911
|
-
function _templateObject$
|
|
957
|
+
function _templateObject$7() {
|
|
912
958
|
var data = _taggedTemplateLiteral(["\n color: ", ";\n border: 1px solid ", ";\n background-color: ", ";\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n"]);
|
|
913
959
|
|
|
914
|
-
_templateObject$
|
|
960
|
+
_templateObject$7 = function _templateObject() {
|
|
915
961
|
return data;
|
|
916
962
|
};
|
|
917
963
|
|
|
918
964
|
return data;
|
|
919
965
|
}
|
|
920
|
-
var BaseButton = styled__default.button(_templateObject$
|
|
966
|
+
var BaseButton = styled__default.button(_templateObject$7(), function (props) {
|
|
921
967
|
return props.theme.colors.base;
|
|
922
968
|
}, function (props) {
|
|
923
969
|
return props.theme.colors.borderColor;
|
|
@@ -957,7 +1003,7 @@
|
|
|
957
1003
|
baseQueryLimit: 16,
|
|
958
1004
|
baseClass: "style-selector",
|
|
959
1005
|
identifier: "style-selector",
|
|
960
|
-
searchPlaceHolder: "
|
|
1006
|
+
searchPlaceHolder: "Search Styles",
|
|
961
1007
|
category: category,
|
|
962
1008
|
onChange: onChange,
|
|
963
1009
|
graphApi: graphApi,
|
package/TextButton.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/Tooltip.js
CHANGED
package/WrapperButton.js
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
function _templateObject2() {
|
|
59
|
-
var data = _taggedTemplateLiteral(["\n padding: 1rem
|
|
59
|
+
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"]);
|
|
60
60
|
|
|
61
61
|
_templateObject2 = function _templateObject2() {
|
|
62
62
|
return data;
|