@salesgenterp/ui-components 0.3.56 → 0.3.58
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.modern.js
CHANGED
|
@@ -184,7 +184,7 @@ var CartDrawer = function CartDrawer(_ref) {
|
|
|
184
184
|
};
|
|
185
185
|
|
|
186
186
|
var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8;
|
|
187
|
-
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) {
|
|
187
|
+
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) {
|
|
188
188
|
return props.bg;
|
|
189
189
|
}, function (props) {
|
|
190
190
|
return props.bg || '#FAE8E5';
|
|
@@ -1667,8 +1667,12 @@ function EnhancedTable(_ref) {
|
|
|
1667
1667
|
});
|
|
1668
1668
|
}))))), /*#__PURE__*/createElement(CartButtonsRow, null, /*#__PURE__*/createElement("button", {
|
|
1669
1669
|
onClick: function onClick() {
|
|
1670
|
-
|
|
1671
|
-
|
|
1670
|
+
new Promise(function (resolve, reject) {
|
|
1671
|
+
if (loading) return;
|
|
1672
|
+
handleRemoveAll(selected);
|
|
1673
|
+
resolve();
|
|
1674
|
+
});
|
|
1675
|
+
setSelected([]);
|
|
1672
1676
|
}
|
|
1673
1677
|
}, "remove selected"), /*#__PURE__*/createElement("button", null, "updated cart")));
|
|
1674
1678
|
}
|