@bonlineza/luxity-lib 2.34.0 → 2.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion.js +76 -116
- package/AddInterest.js +434 -768
- package/BrandSelector.js +176 -336
- package/Checkbox.js +68 -101
- package/CheckboxButton.js +79 -124
- package/CommunicationPreferenceOptionsRenderer.js +107 -125
- package/CommunicationPreferenceSection.js +114 -134
- package/CommunicationPreferences.js +443 -339
- package/CountryCodeSelect.js +7 -10
- package/CurrencyInputFormatter.js +29 -56
- package/CurrencySelect.js +188 -19
- package/GALink.js +6 -16
- package/GenderSelector.js +88 -142
- package/GraphQLDropdownSelector.js +505 -939
- package/GraphQLMultiSelector.js +141 -274
- package/IconHeader.js +11 -25
- package/IconWrapper.js +3 -7
- package/InterestCatSelector.js +34 -74
- package/InterestItem.js +103 -187
- package/Interests.js +485 -890
- package/InterestsSubheading.js +5 -10
- package/InvertedTextButton.js +27 -63
- package/LuxityAppSideNav.js +18 -21
- package/LuxityDesktopHeader.js +376 -214
- package/LuxityFooter.js +464 -260
- package/LuxityGraphQLDropdownSelector.js +519 -969
- package/LuxityGraphQLMultiselector.js +167 -321
- package/LuxityMobileHeader.js +221 -278
- package/LuxityPageReady.js +74 -136
- package/LuxitySideNav.js +134 -155
- package/MaterialSelector.js +525 -976
- package/ModelSelector.js +525 -976
- package/NotificationDropDown.js +111 -209
- package/Notify.js +0 -1
- package/OutlinePrimaryButton.js +26 -58
- package/PriceRangeSelector.js +168 -281
- package/PrimaryButton.js +26 -58
- package/RadioButtons.js +114 -140
- package/RangeSlider.js +152 -242
- package/RareStepFooter.js +27 -41
- package/RareStepHeader.js +139 -190
- package/ReactSelectWrapper.js +0 -1
- package/SecondaryButton.js +26 -58
- package/ShoeSizeRangeSelector.js +162 -260
- package/ShoeSizeSelector.js +158 -263
- package/SimpleErrorBoundary.js +59 -106
- package/StyleSelector.js +176 -336
- package/TextButton.js +26 -58
- package/Tooltip.js +17 -39
- package/Tracking.js +0 -1
- package/WrapperButton.js +20 -43
- package/build/bundle.css +1 -1
- package/build/bundle.js +1338 -1722
- package/package.json +1 -1
- package/svg/Accessories.js +6 -13
- package/svg/Account.js +6 -13
- package/svg/Add.js +6 -13
- package/svg/ArrowRight.js +6 -13
- package/svg/Bags.js +6 -13
- package/svg/BurgerMenu.js +6 -13
- package/svg/Calendar.js +6 -13
- package/svg/CalendarCircled.js +6 -13
- package/svg/CheckCircled.js +6 -13
- package/svg/Close.js +6 -13
- package/svg/Clothing.js +6 -13
- package/svg/Dot.js +6 -13
- package/svg/Edit.js +6 -13
- package/svg/Eye.js +6 -13
- package/svg/FileAttach.js +6 -13
- package/svg/FileAttachCircled.js +6 -13
- package/svg/LightBulb.js +6 -13
- package/svg/Logo.js +6 -13
- package/svg/LuxityMenu.js +6 -13
- package/svg/Minus.js +6 -13
- package/svg/MobileAvatar.js +6 -13
- package/svg/MyOrder.js +6 -13
- package/svg/MyPayment.js +6 -13
- package/svg/MyProfile.js +8 -14
- package/svg/MySale.js +6 -13
- package/svg/Notification.js +6 -13
- package/svg/PointerDown.js +6 -13
- package/svg/Search.js +6 -13
- package/svg/Shoes.js +6 -13
- package/svg/SvgWrapper.js +3 -7
- package/svg/Trash.js +6 -13
- package/svg/Watches.js +6 -13
package/InterestsSubheading.js
CHANGED
|
@@ -7,14 +7,10 @@
|
|
|
7
7
|
React = React && Object.prototype.hasOwnProperty.call(React, 'default') ? React['default'] : React;
|
|
8
8
|
styled = styled && Object.prototype.hasOwnProperty.call(styled, 'default') ? styled['default'] : styled;
|
|
9
9
|
|
|
10
|
-
function _taggedTemplateLiteral(
|
|
11
|
-
|
|
12
|
-
raw = strings.slice(0);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
10
|
+
function _taggedTemplateLiteral(e, t) {
|
|
11
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
16
12
|
raw: {
|
|
17
|
-
value: Object.freeze(
|
|
13
|
+
value: Object.freeze(t)
|
|
18
14
|
}
|
|
19
15
|
}));
|
|
20
16
|
}
|
|
@@ -32,11 +28,10 @@
|
|
|
32
28
|
}, function (props) {
|
|
33
29
|
return props.theme.marginPaddings[3];
|
|
34
30
|
});
|
|
35
|
-
|
|
36
31
|
var InterestsSubheading = function InterestsSubheading(_ref) {
|
|
37
32
|
var title = _ref.title,
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
children = _ref.children,
|
|
34
|
+
className = _ref.className;
|
|
40
35
|
return /*#__PURE__*/React.createElement(InterestsSubheadingContainer, {
|
|
41
36
|
className: className
|
|
42
37
|
}, /*#__PURE__*/React.createElement(Title, null, title), /*#__PURE__*/React.createElement("div", null, children));
|
package/InvertedTextButton.js
CHANGED
|
@@ -8,66 +8,38 @@
|
|
|
8
8
|
var styled__default = 'default' in styled ? styled['default'] : styled;
|
|
9
9
|
|
|
10
10
|
function _extends() {
|
|
11
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
12
|
-
for (var
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
for (var key in source) {
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
17
|
-
target[key] = source[key];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
11
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
12
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
13
|
+
var t = arguments[e];
|
|
14
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
20
15
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
return _extends.apply(this, arguments);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
28
|
-
if (source == null) return {};
|
|
29
|
-
var target = {};
|
|
30
|
-
var sourceKeys = Object.keys(source);
|
|
31
|
-
var key, i;
|
|
32
|
-
|
|
33
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
34
|
-
key = sourceKeys[i];
|
|
35
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
36
|
-
target[key] = source[key];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return target;
|
|
16
|
+
return n;
|
|
17
|
+
}, _extends.apply(null, arguments);
|
|
40
18
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var key, i;
|
|
48
|
-
|
|
19
|
+
function _objectWithoutProperties(e, t) {
|
|
20
|
+
if (null == e) return {};
|
|
21
|
+
var o,
|
|
22
|
+
r,
|
|
23
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
49
24
|
if (Object.getOwnPropertySymbols) {
|
|
50
|
-
var
|
|
51
|
-
|
|
52
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
53
|
-
key = sourceSymbolKeys[i];
|
|
54
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
55
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
56
|
-
target[key] = source[key];
|
|
57
|
-
}
|
|
25
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
26
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
58
27
|
}
|
|
59
|
-
|
|
60
|
-
return target;
|
|
28
|
+
return i;
|
|
61
29
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
30
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
31
|
+
if (null == r) return {};
|
|
32
|
+
var t = {};
|
|
33
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
34
|
+
if (e.includes(n)) continue;
|
|
35
|
+
t[n] = r[n];
|
|
66
36
|
}
|
|
67
|
-
|
|
68
|
-
|
|
37
|
+
return t;
|
|
38
|
+
}
|
|
39
|
+
function _taggedTemplateLiteral(e, t) {
|
|
40
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
69
41
|
raw: {
|
|
70
|
-
value: Object.freeze(
|
|
42
|
+
value: Object.freeze(t)
|
|
71
43
|
}
|
|
72
44
|
}));
|
|
73
45
|
}
|
|
@@ -141,7 +113,6 @@
|
|
|
141
113
|
});
|
|
142
114
|
|
|
143
115
|
var _excluded = ["children"];
|
|
144
|
-
|
|
145
116
|
var _templateObject$1;
|
|
146
117
|
var Button = styled__default.button(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n ", ";\n background-color: transparent;\n color: ", ";\n &:hover {\n color: ", ";\n }\n &:disabled {\n ", ";\n color: ", ";\n }\n"])), baseButtonStyle, function (props) {
|
|
147
118
|
return props.theme.colors.base;
|
|
@@ -150,21 +121,17 @@
|
|
|
150
121
|
}, disabledButtonStyle, function (props) {
|
|
151
122
|
return props.theme.colors.base;
|
|
152
123
|
});
|
|
153
|
-
|
|
154
124
|
var TextButton = function TextButton(_ref) {
|
|
155
125
|
var children = _ref.children,
|
|
156
|
-
|
|
157
|
-
|
|
126
|
+
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
158
127
|
return /*#__PURE__*/React__default.createElement(Button, restProps, children);
|
|
159
128
|
};
|
|
160
|
-
|
|
161
129
|
TextButton.defaultProps = {
|
|
162
130
|
type: 'button'
|
|
163
131
|
};
|
|
164
132
|
var TextButton$1 = themed(TextButton);
|
|
165
133
|
|
|
166
134
|
var _excluded$1 = ["children"];
|
|
167
|
-
|
|
168
135
|
var _templateObject$2;
|
|
169
136
|
var Button$1 = styled__default(TextButton$1)(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n color: ", ";\n background-color: ", ";\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n &:disabled {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
|
|
170
137
|
return props.theme.colors.ntrlMin;
|
|
@@ -179,14 +146,11 @@
|
|
|
179
146
|
}, function (props) {
|
|
180
147
|
return props.theme.colors.primary;
|
|
181
148
|
});
|
|
182
|
-
|
|
183
149
|
var InvertedTextButton = function InvertedTextButton(_ref) {
|
|
184
150
|
var children = _ref.children,
|
|
185
|
-
|
|
186
|
-
|
|
151
|
+
restProps = _objectWithoutProperties(_ref, _excluded$1);
|
|
187
152
|
return /*#__PURE__*/React__default.createElement(Button$1, restProps, children);
|
|
188
153
|
};
|
|
189
|
-
|
|
190
154
|
var index = themed(InvertedTextButton);
|
|
191
155
|
|
|
192
156
|
return index;
|
package/LuxityAppSideNav.js
CHANGED
|
@@ -8,33 +8,30 @@
|
|
|
8
8
|
|
|
9
9
|
var LuxityAppSideNav = function LuxityAppSideNav(_ref) {
|
|
10
10
|
var closeIcon = _ref.closeIcon,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
11
|
+
accountIcon = _ref.accountIcon,
|
|
12
|
+
orderIcon = _ref.orderIcon,
|
|
13
|
+
saleIcon = _ref.saleIcon,
|
|
14
|
+
onDashboardClick = _ref.onDashboardClick,
|
|
15
|
+
onLogoutClick = _ref.onLogoutClick,
|
|
16
|
+
bugReportLink = _ref.bugReportLink,
|
|
17
|
+
onLuxityShopClick = _ref.onLuxityShopClick,
|
|
18
|
+
onInterestClick = _ref.onInterestClick,
|
|
19
|
+
onAddressClick = _ref.onAddressClick,
|
|
20
|
+
onCouponsClick = _ref.onCouponsClick,
|
|
21
|
+
onEditProfileClick = _ref.onEditProfileClick,
|
|
22
|
+
onCurrentOrdersClick = _ref.onCurrentOrdersClick,
|
|
23
|
+
onPastOrdersClick = _ref.onPastOrdersClick,
|
|
24
|
+
onSubmissionsClick = _ref.onSubmissionsClick,
|
|
25
|
+
onPastSalesClick = _ref.onPastSalesClick,
|
|
26
|
+
onPaidOutClick = _ref.onPaidOutClick,
|
|
27
|
+
showSideNav = _ref.showSideNav,
|
|
28
|
+
onMenuClick = _ref.onMenuClick;
|
|
30
29
|
var onCloseSideNav = function onCloseSideNav(e) {
|
|
31
30
|
onMenuClick();
|
|
32
|
-
|
|
33
31
|
if (e.key === 'Enter') {
|
|
34
32
|
e.preventDefault();
|
|
35
33
|
}
|
|
36
34
|
};
|
|
37
|
-
|
|
38
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
39
36
|
className: "side-nav"
|
|
40
37
|
}, /*#__PURE__*/React.createElement("div", {
|