@bonlineza/luxity-lib 2.10.0 → 2.11.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 +9408 -1707
- package/BrandSelector.js +11035 -385
- package/GraphQLDropdownSelector.js +11646 -0
- package/InterestItem.js +17 -1
- package/Interests.js +2496 -1987
- package/LuxityGraphQLDropdownSelector.js +11646 -0
- package/MaterialSelector.js +11646 -0
- package/ModelSelector.js +11646 -0
- package/README.md +4 -0
- package/RareStepFooter.js +194 -0
- package/RareStepHeader.js +317 -0
- package/RareStepLoginModal.js +15 -0
- package/build/bundle.js +458 -76
- package/package.json +1 -1
- package/svg/RareStepLogo.js +8 -0
package/InterestItem.js
CHANGED
|
@@ -445,6 +445,22 @@
|
|
|
445
445
|
return /*#__PURE__*/React__default.createElement("span", {
|
|
446
446
|
key: "".concat(style.name, "-").concat(data.id)
|
|
447
447
|
}, style.name);
|
|
448
|
+
}) : 'All')), /*#__PURE__*/React__default.createElement("div", {
|
|
449
|
+
className: "interest-item__container_heading"
|
|
450
|
+
}, /*#__PURE__*/React__default.createElement(InterestItemTitle, null, "Models:"), /*#__PURE__*/React__default.createElement("div", {
|
|
451
|
+
className: "list-items"
|
|
452
|
+
}, data.luxity_models != null && data.luxity_models.length > 0 ? data.luxity_models.map(function (model) {
|
|
453
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
454
|
+
key: "".concat(model.name, "-").concat(data.id)
|
|
455
|
+
}, model.name);
|
|
456
|
+
}) : 'All')), /*#__PURE__*/React__default.createElement("div", {
|
|
457
|
+
className: "interest-item__container_heading"
|
|
458
|
+
}, /*#__PURE__*/React__default.createElement(InterestItemTitle, null, "Materials:"), /*#__PURE__*/React__default.createElement("div", {
|
|
459
|
+
className: "list-items"
|
|
460
|
+
}, data.luxity_materials != null && data.luxity_materials.length > 0 ? data.luxity_materials.map(function (material) {
|
|
461
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
462
|
+
key: "".concat(material.name, "-").concat(data.id)
|
|
463
|
+
}, material.name);
|
|
448
464
|
}) : 'All')), /*#__PURE__*/React__default.createElement("div", {
|
|
449
465
|
className: "interest-item__container_heading ".concat(data.category_type === interestCategories.SHOES ? '' : 'no-shoe-size-section')
|
|
450
466
|
}, data.category_type === interestCategories.SHOES ? /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(InterestItemTitle, null, "Shoe Size:"), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -471,7 +487,7 @@
|
|
|
471
487
|
var SheoSizeContentDiv = styled__default.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n @media (max-width: ", ") {\n display: none;\n }\n"])), media.xs);
|
|
472
488
|
var InterestItemTitle = styled__default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-weight: bold;\n display: none;\n\n @media (max-width: ", ") {\n display: inline;\n }\n"])), media.xs);
|
|
473
489
|
var InterestItemContainer = styled__default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n\n .no-shoe-size-section {\n @media (max-width: ", ") {\n display: none;\n }\n }\n"])), media.xs);
|
|
474
|
-
var InterestItemContent = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n width: 95%;\n height: 100%;\n border: 1px solid ", ";\n padding: 0.5em;\n margin-bottom: ", ";\n\n .interest-item__container_heading {\n color: ", ";\n flex-basis: calc(100% /
|
|
490
|
+
var InterestItemContent = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n width: 95%;\n height: 100%;\n border: 1px solid ", ";\n padding: 0.5em;\n margin-bottom: ", ";\n\n .interest-item__container_heading {\n color: ", ";\n flex-basis: calc(100% / 8);\n margin-left: ", ";\n margin-top: 0.3rem;\n\n @media (max-width: ", ") {\n display: inline;\n }\n }\n\n .list-items {\n display: inline-flex;\n flex-direction: column;\n\n @media (max-width: ", ") {\n margin-left: ", ";\n }\n }\n\n @media (max-width: ", ") {\n flex-direction: column;\n }\n"])), function (props) {
|
|
475
491
|
return props.theme.colors.borderColor;
|
|
476
492
|
}, function (props) {
|
|
477
493
|
return props.theme.marginPaddings[1];
|