@salesgenterp/ui-components 0.3.56 → 0.3.59
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/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -187,7 +187,7 @@ var CartDrawer = function CartDrawer(_ref) {
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8;
|
|
190
|
-
var CartPageSection = styled.section(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n font-family: 'karla-fonts';\n"])), function (props) {
|
|
190
|
+
var CartPageSection = styled.section(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n font-family: 'karla-fonts';\n border-radius: 28px;\n"])), function (props) {
|
|
191
191
|
return props.bg;
|
|
192
192
|
}, function (props) {
|
|
193
193
|
return props.bg || '#FAE8E5';
|
|
@@ -1670,8 +1670,12 @@ function EnhancedTable(_ref) {
|
|
|
1670
1670
|
});
|
|
1671
1671
|
}))))), /*#__PURE__*/React.createElement(CartButtonsRow, null, /*#__PURE__*/React.createElement("button", {
|
|
1672
1672
|
onClick: function onClick() {
|
|
1673
|
-
|
|
1674
|
-
|
|
1673
|
+
new Promise(function (resolve, reject) {
|
|
1674
|
+
if (loading) return;
|
|
1675
|
+
handleRemoveAll(selected);
|
|
1676
|
+
resolve();
|
|
1677
|
+
});
|
|
1678
|
+
setSelected([]);
|
|
1675
1679
|
}
|
|
1676
1680
|
}, "remove selected"), /*#__PURE__*/React.createElement("button", null, "updated cart")));
|
|
1677
1681
|
}
|