@bonlineza/luxity-lib 2.7.5 → 2.8.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/Accordion.js +39 -85
- package/AddInterest.js +899 -745
- package/BrandSelector.js +82 -166
- package/Checkbox.js +18 -24
- package/CheckboxButton.js +18 -42
- package/CountryCodeSelect.js +16 -3
- package/CurrencyInputFormatter.js +671 -0
- package/GenderSelector.js +31 -81
- package/GraphQLMultiSelector.js +45 -87
- package/IconHeader.js +8 -17
- package/IconWrapper.js +2 -10
- package/InterestCatSelector.js +53 -120
- package/InterestItem.js +94 -134
- package/Interests.js +984 -887
- package/InterestsSubheading.js +5 -23
- package/InvertedTextButton.js +17 -48
- package/LuxityGraphQLMultiselector.js +73 -143
- package/LuxityLoader.js +1221 -0
- package/LuxityPageReady.js +15 -8
- package/NotificationDropDown.js +66 -63
- package/Notify.js +1 -1
- package/OutlinePrimaryButton.js +12 -37
- package/PriceRangeSelector.js +669 -273
- package/PrimaryButton.js +12 -37
- package/README.md +1 -1
- package/RadioButtons.js +61 -139
- package/RangeSlider.js +52 -118
- package/ReactSelectWrapper.js +15 -2
- package/SecondaryButton.js +12 -37
- package/SectionLoader.js +23 -0
- package/ShoeSizeSelector.js +68 -164
- package/SimpleErrorBoundary.js +12 -5
- package/StyleSelector.js +82 -166
- package/TextButton.js +12 -37
- package/Tooltip.js +16 -81
- package/WrapperButton.js +8 -32
- package/build/bundle.js +1033 -1091
- package/package.json +10 -12
- package/svg/Accessories.js +4 -5
- package/svg/Account.js +4 -5
- package/svg/Add.js +4 -5
- package/svg/ArrowRight.js +3 -4
- package/svg/Bags.js +6 -7
- package/svg/BurgerMenu.js +3 -4
- package/svg/Calendar.js +17 -18
- package/svg/CalendarCircled.js +18 -19
- package/svg/CheckCircled.js +4 -5
- package/svg/Close.js +3 -4
- package/svg/Dot.js +3 -4
- package/svg/Edit.js +3 -4
- package/svg/Eye.js +4 -5
- package/svg/FileAttach.js +3 -4
- package/svg/FileAttachCircled.js +4 -5
- package/svg/LightBulb.js +11 -12
- package/svg/Logo.js +38 -39
- package/svg/LuxityMenu.js +3 -4
- package/svg/Minus.js +3 -4
- package/svg/MobileAvatar.js +3 -4
- package/svg/MyOrder.js +6 -7
- package/svg/MyPayment.js +6 -7
- package/svg/MyProfile.js +7 -8
- package/svg/MySale.js +4 -5
- package/svg/Notification.js +4 -5
- package/svg/PointerDown.js +3 -4
- package/svg/Search.js +3 -4
- package/svg/Shoes.js +6 -7
- package/svg/SvgWrapper.js +2 -10
- package/svg/Trash.js +5 -6
- package/svg/Watches.js +11 -12
- package/CHANGELOG.md +0 -152
package/svg/MySale.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var MySale = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
id: "svg-my_sale",
|
|
30
29
|
width: "25",
|
|
31
30
|
height: "29",
|
|
@@ -33,10 +32,10 @@
|
|
|
33
32
|
fill: "none",
|
|
34
33
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
34
|
color: "#000000"
|
|
36
|
-
}, props), React.createElement("path", {
|
|
35
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
37
36
|
d: "M24.9908 6.18358C24.9768 6.13975 24.9682 6.10241 24.9607 6.06831C24.9499 6.02015 24.9402 5.97469 24.9171 5.9276L24.8116 5.71492C24.7663 5.62454 24.6813 5.58124 24.6048 5.54336L20.7371 3.6346L17.3264 1.9737L13.4586 0.0654752C13.3175 -0.00542021 13.1652 -0.0184087 12.9902 0.0248862C12.8395 0.0627692 12.7145 0.17263 12.6295 0.343104L7.79584 10.2371H1.5091C0.662754 10.2371 0 10.9033 0 11.754V27.4825C0 28.3333 0.662754 28.9995 1.5091 28.9995H21.7277C22.5735 28.9995 23.2368 28.3333 23.2368 27.4825V23.8744H23.7671C24.1203 23.8744 24.397 23.5962 24.397 23.2412V19.0351C24.397 18.6801 24.1203 18.4019 23.7671 18.4019H23.2368V14.3338C23.2368 13.5075 22.6112 12.8553 21.7998 12.8185L24.9171 6.4466C24.9381 6.40439 24.9489 6.36326 24.9575 6.32646C24.9661 6.29399 24.9731 6.26314 24.9876 6.23446L25 6.20956L24.9908 6.18358ZM20.8227 5.13531L23.5017 6.44822L22.2295 9.07244C21.0262 8.1811 20.4555 6.58406 20.8227 5.13531ZM13.4995 11.4331C13.9195 11.4331 14.3362 11.5262 14.7351 11.7086C15.2401 11.9624 15.6369 12.3347 15.9163 12.8174H11.0455C11.5349 11.9602 12.4642 11.4331 13.4995 11.4331ZM7.91052 12.7823L11.5646 5.26249C12.1186 5.4427 12.637 5.53037 13.1474 5.53037C14.8067 5.53037 16.3228 4.71968 17.2149 3.35859L19.6054 4.54325C18.9329 6.65496 19.7497 8.95987 21.6049 10.1878L20.3489 12.7823H17.2607C16.8881 11.7968 16.1775 11.011 15.2525 10.5629C14.6829 10.2766 14.0815 10.1315 13.4645 10.1315C11.9172 10.1315 10.5066 11.012 9.78249 12.431C9.74642 12.503 9.7195 12.5663 9.69258 12.6291C9.67158 12.6784 9.65059 12.7281 9.62474 12.7823H7.91052ZM12.1885 4.11246L13.4602 1.48825L16.1392 2.80117C15.4329 3.71848 14.3469 4.264 13.2185 4.264C12.8906 4.264 12.5444 4.21313 12.1885 4.11246ZM18.0737 20.1662V22.1102C18.0737 23.0827 18.8608 23.8744 19.8288 23.8744H21.9414V27.4825C21.9414 27.6232 21.8321 27.7331 21.6922 27.7331H1.5091C1.37181 27.7331 1.25983 27.6205 1.25983 27.4825V14.3344C1.25983 14.1964 1.37181 14.0838 1.5091 14.0838H21.6922C21.8321 14.0838 21.9414 14.1937 21.9414 14.3344V18.4025H19.8288C18.8608 18.4019 18.0737 19.1937 18.0737 20.1662ZM19.369 22.1102V20.1662C19.369 19.887 19.5865 19.6683 19.8643 19.6683H23.1372V22.608H19.8643C19.5865 22.608 19.369 22.3894 19.369 22.1102ZM1.25983 12.798V11.7183C1.25983 11.6166 1.36643 11.5034 1.5091 11.5034H7.16701L6.53117 12.7817H1.5091C1.4278 12.7823 1.34489 12.7823 1.25983 12.798Z",
|
|
38
37
|
fill: "currentColor"
|
|
39
|
-
}), React.createElement("path", {
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
39
|
d: "M15.4389 10.1527C15.6774 10.2728 15.931 10.3367 16.1716 10.3367C16.7929 10.3367 17.383 9.96597 17.6393 9.4145C17.8385 8.99617 17.8649 8.51289 17.7114 8.08914C17.5666 7.69029 17.2802 7.37586 16.9044 7.20376C16.1248 6.81248 15.1185 7.1491 14.7051 7.9414C14.3007 8.75426 14.6302 9.74625 15.4389 10.1527ZM15.8454 8.49665C15.911 8.36514 16.0333 8.28667 16.1716 8.28667C16.2136 8.28667 16.2847 8.28667 16.2998 8.30237L16.3213 8.31644C16.4247 8.36136 16.5065 8.44686 16.5442 8.55131C16.5781 8.64494 16.5749 8.74289 16.5334 8.82515C16.4414 9.00807 16.2007 9.09521 16.0257 9.00699C15.9401 8.9637 15.8701 8.88252 15.8351 8.78402C15.8001 8.68553 15.8039 8.58054 15.8454 8.49665Z",
|
|
41
40
|
fill: "currentColor"
|
|
42
41
|
}));
|
package/svg/Notification.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var Notification = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
version: "1.1",
|
|
30
29
|
id: "svg-notification",
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,9 +33,9 @@
|
|
|
34
33
|
y: "0px",
|
|
35
34
|
viewBox: "0 0 95 95",
|
|
36
35
|
xmlSpace: "preserve"
|
|
37
|
-
}, props), React.createElement("g", null, React.createElement("path", {
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
38
37
|
d: "M47.5,75.6c3.6,0,6.7-2.8,7-6.4l4.7-56.5c0.3-3.3-0.8-6.5-3.1-8.9C53.9,1.4,50.8,0,47.5,0c-3.3,0-6.4,1.4-8.6,3.8 c-2.2,2.4-3.3,5.7-3.1,8.9l4.7,56.5C40.8,72.8,43.9,75.6,47.5,75.6L47.5,75.6z M47.5,75.6"
|
|
39
|
-
}), React.createElement("path", {
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
39
|
d: "M47.5,79.8c-4.2,0-7.6,3.4-7.6,7.6c0,4.2,3.4,7.6,7.6,7.6c4.2,0,7.6-3.4,7.6-7.6C55.1,83.2,51.7,79.8,47.5,79.8L47.5,79.8z M47.5,79.8"
|
|
41
40
|
})));
|
|
42
41
|
});
|
package/svg/PointerDown.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var PointerDown = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
version: "1.1",
|
|
30
29
|
id: "svg-pointer_down",
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
y: "0px",
|
|
35
34
|
viewBox: "0 0 95 95",
|
|
36
35
|
xmlSpace: "preserve"
|
|
37
|
-
}, props), React.createElement("path", {
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
38
37
|
d: "M0,30.2l47.5,47.5L95,30.2H0z M0,30.2"
|
|
39
38
|
}));
|
|
40
39
|
});
|
package/svg/Search.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,18 +20,17 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var Search = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
width: "15",
|
|
30
29
|
height: "15",
|
|
31
30
|
viewBox: "0 0 15 15",
|
|
32
31
|
fill: "none",
|
|
33
32
|
xmlns: "http://www.w3.org/2000/svg"
|
|
34
|
-
}, props), React.createElement("path", {
|
|
33
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
35
34
|
d: "M14.82 13.93L11.21 10.32C12.1 9.23 12.64 7.83 12.64 6.31C12.64 2.83 9.81 0 6.32 0C2.83 0 0 2.83 0 6.32C0 9.81 2.83 12.64 6.32 12.64C7.84 12.64 9.23 12.1 10.32 11.21L13.93 14.81C14.17 15.06 14.57 15.06 14.81 14.81C15.06 14.57 15.06 14.18 14.82 13.93ZM6.32 11.38C3.53 11.38 1.25 9.11 1.25 6.32C1.25 3.53 3.52 1.25 6.32 1.25C9.11 1.25 11.39 3.52 11.39 6.32C11.39 9.12 9.11 11.38 6.32 11.38Z",
|
|
36
35
|
fill: "currentColor"
|
|
37
36
|
}));
|
package/svg/Shoes.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var Shoes = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
version: "1.1",
|
|
30
29
|
id: "svg-shoes",
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,16 +33,16 @@
|
|
|
34
33
|
y: "0px",
|
|
35
34
|
viewBox: "0 0 83.8 83.8",
|
|
36
35
|
xmlSpace: "preserve"
|
|
37
|
-
}, props), React.createElement("circle", {
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement("circle", {
|
|
38
37
|
fill: "#fff",
|
|
39
38
|
cx: "41.9",
|
|
40
39
|
cy: "41.9",
|
|
41
40
|
r: "41.9"
|
|
42
|
-
}), React.createElement("path", {
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
42
|
d: "M61.12,56.33a1.22,1.22,0,1,1-1.22-1.21A1.22,1.22,0,0,1,61.12,56.33Z"
|
|
44
|
-
}), React.createElement("path", {
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
44
|
d: "M63.7,51.62a14.51,14.51,0,0,0-7.79-4,1.17,1.17,0,0,0-1,.3,7,7,0,0,1-4.3,1.43,6.5,6.5,0,0,1-5.48-3l-.07-.12L38.61,37A74.75,74.75,0,0,0,24.39,21.81a1.22,1.22,0,0,0-1.52,0,16.11,16.11,0,0,0-3.8,4.35,14.21,14.21,0,0,0-1.91,9.94v0a11.13,11.13,0,0,0,1.15,3.14,18.64,18.64,0,0,1,2.48,9V60.2A1.22,1.22,0,0,0,22,61.42h3.86a1.22,1.22,0,0,0,1.22-1.22V49.42a14.33,14.33,0,0,1,1.36-6.09A38.51,38.51,0,0,1,38.79,57.15a7.08,7.08,0,0,0,6.44,4.27h7.91A57.75,57.75,0,0,0,62.23,61c1.16-.2,4.69-.81,4.69-3.65C66.92,55.75,65.66,53.52,63.7,51.62Zm-39-2.2V59H23.22V48.27c0-.3,0-.62,0-1a21.72,21.72,0,0,0-2.72-9.19,38.86,38.86,0,0,1,6.05,3.67A16.07,16.07,0,0,0,24.66,49.42Zm37.16,9.13a56.25,56.25,0,0,1-8.68.43H45.23A4.65,4.65,0,0,1,41,56.17,40.59,40.59,0,0,0,19.44,35a12.14,12.14,0,0,1,1.72-7.6,13.43,13.43,0,0,1,2.48-3.05,72.42,72.42,0,0,1,13,14.1L43,47.58a9,9,0,0,0,7.59,4.17,9.89,9.89,0,0,0,5.45-1.67A12.39,12.39,0,0,1,62,53.36c1.61,1.57,2.48,3.2,2.48,3.94C64.49,57.8,63.49,58.27,61.82,58.55Z"
|
|
46
|
-
}), React.createElement("path", {
|
|
45
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
46
|
d: "M57.25,56.33A1.21,1.21,0,0,1,56,57.55H45.21a1.22,1.22,0,1,1,0-2.43H56A1.21,1.21,0,0,1,57.25,56.33Z"
|
|
48
47
|
}));
|
|
49
48
|
});
|
package/svg/SvgWrapper.js
CHANGED
|
@@ -18,16 +18,8 @@
|
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_templateObject = function _templateObject() {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
var SvgWrapper = styled.span(_templateObject());
|
|
21
|
+
var _templateObject;
|
|
22
|
+
var SvgWrapper = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 1rem;\n display: flex;\n svg {\n width: 23px;\n height: auto;\n }\n"])));
|
|
31
23
|
|
|
32
24
|
return SvgWrapper;
|
|
33
25
|
|
package/svg/Trash.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var Trash = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
version: "1.1",
|
|
30
29
|
id: "svg-trash",
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,11 +33,11 @@
|
|
|
34
33
|
y: "0px",
|
|
35
34
|
viewBox: "0 0 15.1 17.5",
|
|
36
35
|
xmlSpace: "preserve"
|
|
37
|
-
}, props), React.createElement("g", null, React.createElement("path", {
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
38
37
|
d: "M2.4,17.5c-0.4-0.1-0.5-0.4-0.5-0.8c0-4,0-7.9,0-11.9c0-0.1,0-0.1,0-0.2c-0.1,0-0.1,0-0.2,0c-0.3,0-0.7,0-1,0 C0.3,4.6,0,4.3,0,4C0,3.3,0,2.7,0,2c0.1-0.8,0.8-1.5,1.7-1.6c1.3,0,2.6,0,3.9,0c0.1,0,0.2,0,0.3-0.1C6,0.1,6.2,0,6.5,0 c0.7,0,1.4,0,2.1,0c0.3,0,0.5,0.1,0.6,0.3c0.1,0.1,0.1,0.1,0.2,0.1c1.3,0,2.5,0,3.8,0c0.8,0,1.4,0.4,1.7,1.1C15,1.7,15,2,15,2.3 c0,0.5,0,1,0,1.6c0,0.5-0.3,0.7-0.7,0.7c-0.4,0-0.7,0-1.1,0c0,0,0,0-0.1,0c0,0.1,0,0.1,0,0.2c0,4,0,7.9,0,11.9 c0,0.4-0.1,0.7-0.5,0.8C9.2,17.5,5.8,17.5,2.4,17.5z M11.8,16.2c0-3.9,0-7.7,0-11.6c-2.9,0-5.7,0-8.6,0c0,3.9,0,7.7,0,11.6 C6.1,16.2,9,16.2,11.8,16.2z M1.3,3.2c4.1,0,8.3,0,12.4,0c0-0.3,0-0.6,0-0.9c0-0.5-0.2-0.6-0.6-0.6c-3.7,0-7.4,0-11.1,0 c-0.1,0-0.2,0-0.3,0C1.5,1.8,1.3,2,1.3,2.2C1.3,2.5,1.3,2.9,1.3,3.2z"
|
|
39
|
-
}), React.createElement("path", {
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
39
|
d: "M5.1,9.8c0-1.1,0-2.3,0-3.4c0-0.4,0.2-0.7,0.5-0.7C6,5.6,6.3,5.8,6.4,6.1c0,0.1,0,0.2,0,0.3c0,2.2,0,4.5,0,6.7 c0,0.1,0,0.3-0.1,0.4C6.2,13.8,6,14,5.7,13.9c-0.3,0-0.5-0.2-0.6-0.5c0-0.1,0-0.2,0-0.3C5.1,12,5.1,10.9,5.1,9.8z"
|
|
41
|
-
}), React.createElement("path", {
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
41
|
d: "M9.9,9.8c0,1.1,0,2.3,0,3.4c0,0.3-0.2,0.6-0.5,0.7c-0.4,0.1-0.8-0.1-0.9-0.5c0-0.1,0-0.2,0-0.2c0-2.3,0-4.5,0-6.8 c0-0.4,0.2-0.7,0.5-0.7c0.3-0.1,0.7,0.1,0.7,0.5c0,0.1,0,0.2,0,0.3C9.9,7.6,9.9,8.7,9.9,9.8z"
|
|
43
42
|
})));
|
|
44
43
|
});
|
package/svg/Watches.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
|
-
_extends = Object.assign
|
|
10
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
11
11
|
for (var i = 1; i < arguments.length; i++) {
|
|
12
12
|
var source = arguments[i];
|
|
13
13
|
|
|
@@ -20,12 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
return target;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
23
|
return _extends.apply(this, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
var Watches = (function (props) {
|
|
28
|
-
return React.createElement("svg", _extends({
|
|
27
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
28
|
version: "1.1",
|
|
30
29
|
id: "svg-watches",
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34,26 +33,26 @@
|
|
|
34
33
|
y: "0px",
|
|
35
34
|
viewBox: "0 0 83.8 83.8",
|
|
36
35
|
xmlSpace: "preserve"
|
|
37
|
-
}, props), React.createElement("circle", {
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement("circle", {
|
|
38
37
|
fill: "#fff",
|
|
39
38
|
cx: "41.9",
|
|
40
39
|
cy: "41.9",
|
|
41
40
|
r: "41.9"
|
|
42
|
-
}), React.createElement("path", {
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
42
|
d: "M55.7,40v-3.8c0-4.1-2.8-7.5-6.6-8.3v-7.4c0-1.6-1.3-2.8-2.8-2.8h-9.5c-1.6,0-2.8,1.3-2.8,2.8v7.4c-3.8,0.9-6.6,4.3-6.6,8.3 v11.4c0,4.1,2.8,7.5,6.6,8.3v7.4c0,1.6,1.3,2.8,2.8,2.8h9.5c1.6,0,2.8-1.3,2.8-2.8v-7.4c3.8-0.9,6.6-4.3,6.6-8.3v-3.8 c0.5,0,0.9-0.4,0.9-0.9V41C56.6,40.5,56.2,40,55.7,40L55.7,40z M47.1,63.4c0,0.5-0.4,0.9-0.9,0.9h-9.5c-0.5,0-0.9-0.4-0.9-0.9v-7.2 h11.4V63.4z M53.8,47.6c0,3.7-3,6.6-6.6,6.6H35.8c-3.7,0-6.6-3-6.6-6.6V36.2c0-3.7,3-6.6,6.6-6.6h1.4c0.5,0,0.9-0.4,0.9-0.9 c0-0.5-0.4-0.9-0.9-0.9h-1.4v-7.2c0-0.5,0.4-0.9,0.9-0.9h9.5c0.5,0,0.9,0.4,0.9,0.9v7.2h-1.4c-0.5,0-0.9,0.4-0.9,0.9 c0,0.5,0.4,0.9,0.9,0.9h1.4c3.7,0,6.6,3,6.6,6.6V47.6z M53.8,47.6"
|
|
44
|
-
}), React.createElement("path", {
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
44
|
d: "M46.2,66.4h-9.5c-1.7,0-3.1-1.4-3.1-3.1v-7.2c-3.9-1-6.6-4.5-6.6-8.5V36.2c0-4,2.8-7.5,6.6-8.5v-7.2c0-1.7,1.4-3.1,3.1-3.1 h9.5c1.7,0,3.1,1.4,3.1,3.1v7.2c3.9,1,6.6,4.5,6.6,8.5v3.6c0.5,0.1,0.9,0.6,0.9,1.2v1.9c0,0.6-0.4,1.1-0.9,1.2v3.6 c0,4-2.8,7.5-6.6,8.5v7.2C49.3,65.1,47.9,66.4,46.2,66.4z M36.7,17.9c-1.4,0-2.6,1.2-2.6,2.6v7.6l-0.2,0c-3.7,0.9-6.4,4.2-6.4,8.1 v11.4c0,3.8,2.7,7.2,6.4,8.1l0.2,0v7.6c0,1.4,1.2,2.6,2.6,2.6h9.5c1.4,0,2.6-1.2,2.6-2.6v-7.6l0.2,0c3.7-0.9,6.4-4.2,6.4-8.1v-4h0.2 c0.4,0,0.7-0.3,0.7-0.7V41c0-0.4-0.3-0.7-0.7-0.7h-0.2v-4c0-3.8-2.7-7.2-6.4-8.1l-0.2,0v-7.6c0-1.4-1.2-2.6-2.6-2.6H36.7z M46.2,64.6h-9.5c-0.7,0-1.2-0.5-1.2-1.2v-7.5h11.9v7.5C47.4,64,46.9,64.6,46.2,64.6z M36,56.4v7c0,0.4,0.3,0.7,0.7,0.7h9.5 c0.4,0,0.7-0.3,0.7-0.7v-7H36z M47.1,54.5H35.8c-3.8,0-6.9-3.1-6.9-6.9V36.2c0-3.8,3.1-6.9,6.9-6.9h1.4c0.4,0,0.7-0.3,0.7-0.7 c0-0.4-0.3-0.7-0.7-0.7h-1.7v-7.5c0-0.7,0.5-1.2,1.2-1.2h9.5c0.7,0,1.2,0.5,1.2,1.2v7.5h-1.7c-0.4,0-0.7,0.3-0.7,0.7 c0,0.4,0.3,0.7,0.7,0.7h1.4c3.8,0,6.9,3.1,6.9,6.9v11.4C54,51.4,50.9,54.5,47.1,54.5z M35.8,29.8c-3.5,0-6.4,2.9-6.4,6.4v11.4 c0,3.5,2.9,6.4,6.4,6.4h11.4c3.5,0,6.4-2.9,6.4-6.4V36.2c0-3.5-2.9-6.4-6.4-6.4h-1.4c-0.7,0-1.2-0.5-1.2-1.2c0-0.7,0.5-1.2,1.2-1.2 h1.2v-7c0-0.4-0.3-0.7-0.7-0.7h-9.5c-0.4,0-0.7,0.3-0.7,0.7v7h1.2c0.7,0,1.2,0.5,1.2,1.2c0,0.7-0.5,1.2-1.2,1.2H35.8z"
|
|
46
|
-
}), React.createElement("path", {
|
|
45
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
46
|
d: "M45.2,41h-2.8v-4.7c0-0.5-0.4-0.9-0.9-0.9s-0.9,0.4-0.9,0.9v5.7c0,0.5,0.4,0.9,0.9,0.9h3.8c0.5,0,0.9-0.4,0.9-0.9 C46.2,41.4,45.8,41,45.2,41L45.2,41z M45.2,41"
|
|
48
|
-
}), React.createElement("path", {
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
48
|
d: "M45.2,43.1h-3.8c-0.7,0-1.2-0.5-1.2-1.2v-5.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.5h2.6c0.7,0,1.2,0.5,1.2,1.2 S45.9,43.1,45.2,43.1z M41.4,35.5c-0.4,0-0.7,0.3-0.7,0.7v5.7c0,0.4,0.3,0.7,0.7,0.7h3.8c0.4,0,0.7-0.3,0.7-0.7s-0.3-0.7-0.7-0.7 h-3.1v-5C42.1,35.8,41.8,35.5,41.4,35.5z"
|
|
50
|
-
}), React.createElement("path", {
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
50
|
d: "M47.1,31.5H35.8c-2.6,0-4.7,2.1-4.7,4.7v11.4c0,2.6,2.1,4.7,4.7,4.7h11.4c2.6,0,4.7-2.1,4.7-4.7V36.2 C51.9,33.6,49.8,31.5,47.1,31.5L47.1,31.5z M47.1,50.5h-4.7v-0.8c0-0.5-0.4-0.9-0.9-0.9s-0.9,0.4-0.9,0.9v0.8h-4.7 c-1.6,0-2.8-1.3-2.8-2.8v-4.7h0.8c0.5,0,0.9-0.4,0.9-0.9c0-0.5-0.4-0.9-0.9-0.9h-0.8v-4.7c0-1.6,1.3-2.8,2.8-2.8h11.4 c1.6,0,2.8,1.3,2.8,2.8V41h-0.8c-0.5,0-0.9,0.4-0.9,0.9c0,0.5,0.4,0.9,0.9,0.9H50v4.7C50,49.2,48.7,50.5,47.1,50.5L47.1,50.5z M47.1,50.5"
|
|
52
|
-
}), React.createElement("path", {
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
53
52
|
d: "M47.1,52.6H35.8c-2.8,0-5-2.2-5-5V36.2c0-2.8,2.2-5,5-5h11.4c2.8,0,5,2.2,5,5v11.4C52.1,50.4,49.9,52.6,47.1,52.6z M35.8,31.7c-2.5,0-4.5,2-4.5,4.5v11.4c0,2.5,2,4.5,4.5,4.5h11.4c2.5,0,4.5-2,4.5-4.5V36.2c0-2.5-2-4.5-4.5-4.5H35.8z M47.1,50.7h-5 v-1c0-0.4-0.3-0.7-0.7-0.7s-0.7,0.3-0.7,0.7v1h-5c-1.7,0-3.1-1.4-3.1-3.1v-5h1c0.4,0,0.7-0.3,0.7-0.7s-0.3-0.7-0.7-0.7h-1v-5 c0-1.7,1.4-3.1,3.1-3.1h11.4c1.7,0,3.1,1.4,3.1,3.1v5h-1c-0.4,0-0.7,0.3-0.7,0.7s0.3,0.7,0.7,0.7h1v5C50.2,49.3,48.8,50.7,47.1,50.7 z M42.6,50.2h4.5c1.4,0,2.6-1.2,2.6-2.6v-4.5h-0.5c-0.7,0-1.2-0.5-1.2-1.2s0.5-1.2,1.2-1.2h0.5v-4.5c0-1.4-1.2-2.6-2.6-2.6H35.8 c-1.4,0-2.6,1.2-2.6,2.6v4.5h0.5c0.7,0,1.2,0.5,1.2,1.2s-0.5,1.2-1.2,1.2h-0.5v4.5c0,1.4,1.2,2.6,2.6,2.6h4.5v-0.5 c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2V50.2z"
|
|
54
|
-
}), React.createElement("path", {
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
54
|
d: "M41.4,29.6c0.5,0,0.9-0.4,0.9-0.9c0-0.5-0.4-0.9-0.9-0.9h0c-0.5,0-0.9,0.4-0.9,0.9C40.5,29.2,40.9,29.6,41.4,29.6L41.4,29.6 z M41.4,29.6"
|
|
56
|
-
}), React.createElement("path", {
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
57
56
|
d: "M41.4,29.8c-0.7,0-1.2-0.5-1.2-1.2c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2C42.6,29.3,42.1,29.8,41.4,29.8z M41.4,27.9 c-0.4,0-0.7,0.3-0.7,0.7s0.3,0.7,0.7,0.7c0.4,0,0.7-0.3,0.7-0.7S41.8,27.9,41.4,27.9z"
|
|
58
57
|
}));
|
|
59
58
|
});
|
package/CHANGELOG.md
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
## Changelog
|
|
3
|
-
|
|
4
|
-
### 2.7.5
|
|
5
|
-
- Change color of the active Interest category
|
|
6
|
-
when adding item as interest
|
|
7
|
-
### 2.7.4
|
|
8
|
-
- Bug fix for IOS, extra space showing on `InterestItem`
|
|
9
|
-
### 2.7.3
|
|
10
|
-
- Fix container alignment of `AddInterest` and `InterestItem` so they match
|
|
11
|
-
- Center alignment trash icon in `InterestItem`
|
|
12
|
-
### 2.7.2
|
|
13
|
-
- Dont show `MyInterestTitleHeading` if don't have interest items
|
|
14
|
-
### 2.7.1
|
|
15
|
-
- Change svg colors from pink to black
|
|
16
|
-
### 2.7.0
|
|
17
|
-
- `AddInterest` and `InterestItem` have a new design that does not use the `Accordion` component
|
|
18
|
-
- Can add a watch as interest
|
|
19
|
-
### 2.6.2
|
|
20
|
-
- Limit the width of the title of `InterestItem` so that it does not overlap with trash icon
|
|
21
|
-
### 2.6.1
|
|
22
|
-
- Upgrade `@bonlineza/b-lib` to v3.2.2
|
|
23
|
-
|
|
24
|
-
### 2.6.0
|
|
25
|
-
- `InterestItem` now has a delete button next to the interest title
|
|
26
|
-
### 2.5.4
|
|
27
|
-
- Changed background color on `Add Interest` component buttons to black with white text
|
|
28
|
-
### 2.5.3
|
|
29
|
-
- Changed text color on `Add Interest` component buttons
|
|
30
|
-
|
|
31
|
-
### 2.5.2
|
|
32
|
-
- `Notify` component now includes a warning function
|
|
33
|
-
### 2.5.1
|
|
34
|
-
- change base color from pink to black
|
|
35
|
-
### 2.5.0
|
|
36
|
-
- `Accordion` component now accepts defaultHeight as a prop
|
|
37
|
-
### 2.4.0
|
|
38
|
-
- Formatted `mark` data for `RangeSlider`
|
|
39
|
-
### 2.3.0
|
|
40
|
-
- Changed `title` prop on `Accordion` to include support for Component rendering
|
|
41
|
-
### 2.2.0
|
|
42
|
-
- Add `DummyAccordion` component that looks like an `Accordion` only with a button-like behaviour
|
|
43
|
-
- Remove bundle conversion of Flow types to prop-types
|
|
44
|
-
- Strip 'prop-types' from exported bundles (removed the 'prop-types' Dependency)
|
|
45
|
-
- Add `SvgWrapper` as exported component
|
|
46
|
-
- Include `svgs` in package - can now import them induvidually as `@bonlineza/luxity-lib/svg/Add`
|
|
47
|
-
- Update all packages
|
|
48
|
-
- include `package-lock.json` file
|
|
49
|
-
- Update `Tooltip` - allow passing custom classes for `containerClassName` and `bodyClassName`
|
|
50
|
-
- Update `TextButton` - add default `type` prop as 'button' to prevent unintended form submissions
|
|
51
|
-
|
|
52
|
-
### 2.1.1
|
|
53
|
-
- Update `CountryCodeSelect` change the value that is used in the onChange callback
|
|
54
|
-
|
|
55
|
-
### 2.1.0
|
|
56
|
-
- Add components: `CountryCodeSelect` and `ReactSelectWrapper`
|
|
57
|
-
|
|
58
|
-
### 2.0.3
|
|
59
|
-
- Fix: prevent event from being passed into the `closeAccordion` function
|
|
60
|
-
|
|
61
|
-
### 2.0.2
|
|
62
|
-
- Fix: export `constants` properly - can now import directly from: `@bonlineza/luxity-lib/constants`
|
|
63
|
-
|
|
64
|
-
### 2.0.1
|
|
65
|
-
- Add fade transition to for `ShoeSizeTypeSelector` to improve ux
|
|
66
|
-
|
|
67
|
-
### 2.0.0
|
|
68
|
-
- Amend version to `2.0.0` for sanity due to the last feature being a breaking change
|
|
69
|
-
|
|
70
|
-
### 1.3.0
|
|
71
|
-
- Correct versioning of package due to `shoe-size-type` feature being a breaking
|
|
72
|
-
change
|
|
73
|
-
|
|
74
|
-
### 1.2.9
|
|
75
|
-
- Add functionality to choose size type for the `ShoeSelector` in the
|
|
76
|
-
`AddInterest` component due to spec changes. Add prop `shoe_size_type` to
|
|
77
|
-
payload of of request for adding an interest
|
|
78
|
-
- Add default check functionality for `RadioButton` component
|
|
79
|
-
- Update tests for `RadioButton` and `InterestItem`
|
|
80
|
-
- Correct prop definition `SimpleErrorBoundary` which was preventing `yarn docs`
|
|
81
|
-
from creating an `md` file for that component
|
|
82
|
-
|
|
83
|
-
### 1.2.8
|
|
84
|
-
- Surround `InterestItem` with `SimpleErrorBoundary`
|
|
85
|
-
- Add sanity to the `getShoeSize` output
|
|
86
|
-
- Export `gender` constants
|
|
87
|
-
|
|
88
|
-
### 1.2.7
|
|
89
|
-
- Change Full Size Range Button in Add Interest inverted button
|
|
90
|
-
|
|
91
|
-
### 1.2.6
|
|
92
|
-
- Remove deselectAll from AddInterest
|
|
93
|
-
- Fix infinite loop of CheckboxButton
|
|
94
|
-
- Remove reference props in GenderSelector
|
|
95
|
-
- Update test for CheckboxButton
|
|
96
|
-
|
|
97
|
-
### 1.2.4
|
|
98
|
-
- Change InterestItem to use the 'title' prop and add test
|
|
99
|
-
|
|
100
|
-
### 1.2.3
|
|
101
|
-
- Refactor styles of InterestItem so it looks the way it is required to look
|
|
102
|
-
- Fix logic for deselecting brands and styles for GraphQLMultiSelector when a category changes
|
|
103
|
-
- Add forwardRef logic to themed function
|
|
104
|
-
|
|
105
|
-
### 1.2.2
|
|
106
|
-
- Fix InterstItem render that uses new 'name' prop from Styles
|
|
107
|
-
|
|
108
|
-
### 1.2.1
|
|
109
|
-
- Fix Border Style for NotificationDropdown
|
|
110
|
-
- Change deleteInterest prop to `deleteInterestApi` to better describe it
|
|
111
|
-
|
|
112
|
-
### 1.2.0
|
|
113
|
-
- No Longer Exporting: BrandSelector and AddInterest
|
|
114
|
-
- Added Component: Interests
|
|
115
|
-
|
|
116
|
-
### 1.1.1
|
|
117
|
-
- Fix RangeSlider: Tooltip component receives correct props
|
|
118
|
-
|
|
119
|
-
### 1.1.0
|
|
120
|
-
- Added Components:
|
|
121
|
-
- AddInterest
|
|
122
|
-
- BrandSelector
|
|
123
|
-
- CurrencyInput
|
|
124
|
-
- GraphQLMultiSelector
|
|
125
|
-
- InterestCatSelector
|
|
126
|
-
- InterestItem
|
|
127
|
-
- LuxityGraphQLMultiSelector
|
|
128
|
-
- LuxityPageReady
|
|
129
|
-
- StyleSelector
|
|
130
|
-
- RangeSlider
|
|
131
|
-
- ShoeSizeSelector
|
|
132
|
-
- PriceRangeSelector
|
|
133
|
-
- Added List of Helper functions to the Readme
|
|
134
|
-
- Added Development guide to the Readme
|
|
135
|
-
- Added Publishing Guide to the Readme
|
|
136
|
-
|
|
137
|
-
### 1.0.0
|
|
138
|
-
- Breaking Change: Reworked Button 'variant' prop into individual Components
|
|
139
|
-
- Removed Generic Button component
|
|
140
|
-
- New Button components: PrimaryButton, SecondaryButton, TextButton, InvertedTextButton, WrapperButton
|
|
141
|
-
- Added SVG components (see README for full List)
|
|
142
|
-
|
|
143
|
-
### 0.1.2
|
|
144
|
-
- Updated `styled-components` version to v5
|
|
145
|
-
|
|
146
|
-
### 0.1.1
|
|
147
|
-
- Moved `styled-components` to dev and peer-dependencies as it is a host project requirement
|
|
148
|
-
|
|
149
|
-
### 0.1.0
|
|
150
|
-
- Added Components: Checkbox, RadioButtons, Tooltip
|
|
151
|
-
- Added generated ocumentation for components
|
|
152
|
-
- Added Element: Button
|