@janiscommerce/ui-web 1.8.0 → 1.9.0-beta.1
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/CHANGELOG.md +10 -0
- package/dist/index.esm.js +9 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +9 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -9536,7 +9536,11 @@
|
|
|
9536
9536
|
Icon: styled__default["default"](Icon).withConfig({
|
|
9537
9537
|
displayName: "styles__Icon",
|
|
9538
9538
|
componentId: "sc-3jodl7-1"
|
|
9539
|
-
})(["margin-right:6px;flex-shrink:0;"])
|
|
9539
|
+
})(["margin-right:6px;flex-shrink:0;"]),
|
|
9540
|
+
Message: styled__default["default"].span.withConfig({
|
|
9541
|
+
displayName: "styles__Message",
|
|
9542
|
+
componentId: "sc-3jodl7-2"
|
|
9543
|
+
})(["color:", ";font-size:", ";font-family:", ";"], palette.statusRed, typography.size.baseSmall, typography.fontFamily)
|
|
9540
9544
|
};
|
|
9541
9545
|
|
|
9542
9546
|
var DefaultError = function DefaultError(_ref) {
|
|
@@ -9544,16 +9548,15 @@
|
|
|
9544
9548
|
return /*#__PURE__*/React__default["default"].createElement(styled$6.Wrapper, null, /*#__PURE__*/React__default["default"].createElement(styled$6.Icon, {
|
|
9545
9549
|
name: "exclamation_circle",
|
|
9546
9550
|
color: "statusRed"
|
|
9547
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
9548
|
-
color: "statusRed",
|
|
9549
|
-
fontSize: "baseSmall"
|
|
9550
|
-
}, message));
|
|
9551
|
+
}), /*#__PURE__*/React__default["default"].createElement(styled$6.Message, null, message));
|
|
9551
9552
|
};
|
|
9552
9553
|
|
|
9553
9554
|
DefaultError.defaultProps = {
|
|
9554
|
-
message: '
|
|
9555
|
+
message: 'Something went wrong'
|
|
9555
9556
|
};
|
|
9556
9557
|
|
|
9558
|
+
/** Class boundary: React has no hook equivalent to componentDidCatch / getDerivedStateFromError; a functional wrapper may be evaluated later (JMV-4037). */
|
|
9559
|
+
|
|
9557
9560
|
var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
9558
9561
|
_inherits$2(ErrorBoundary, _React$Component);
|
|
9559
9562
|
|