@bigbinary/neetoui 5.0.14 → 5.0.16
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/index.cjs.js +5 -13
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.js +5 -13
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -26897,19 +26897,11 @@ var MultiEmailInput = /*#__PURE__*/React$5.forwardRef(function (_ref, ref) {
|
|
|
26897
26897
|
});
|
|
26898
26898
|
MultiEmailInput.displayName = "MultiEmailInput";
|
|
26899
26899
|
|
|
26900
|
-
var NO_DATA_IMAGE_URL = "https://d2v7kzglnr2dnh.cloudfront.net/others/no-data.svg";
|
|
26901
|
-
|
|
26902
26900
|
var renderImage = function renderImage(image) {
|
|
26903
|
-
|
|
26904
|
-
return typeof image === "string" ? /*#__PURE__*/React__default["default"].createElement("img", {
|
|
26905
|
-
"data-cy": "no-data-image",
|
|
26906
|
-
src: image
|
|
26907
|
-
}) : image || React__default["default"].Fragment;
|
|
26908
|
-
}
|
|
26909
|
-
return /*#__PURE__*/React__default["default"].createElement("img", {
|
|
26901
|
+
return typeof image === "string" ? /*#__PURE__*/React__default["default"].createElement("img", {
|
|
26910
26902
|
"data-cy": "no-data-image",
|
|
26911
|
-
src:
|
|
26912
|
-
});
|
|
26903
|
+
src: image
|
|
26904
|
+
}) : image;
|
|
26913
26905
|
};
|
|
26914
26906
|
|
|
26915
26907
|
var _excluded$h = ["image", "title", "description", "helpText", "className", "primaryButtonProps", "secondaryButtonProps", "buttonSeparatorText"];
|
|
@@ -26938,9 +26930,9 @@ var NoData = function NoData(_ref) {
|
|
|
26938
26930
|
return /*#__PURE__*/React__default["default"].createElement("div", _extends$4({
|
|
26939
26931
|
className: classnames$1("neeto-ui-no-data", [className]),
|
|
26940
26932
|
"data-cy": "no-data-container"
|
|
26941
|
-
}, otherProps), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26933
|
+
}, otherProps), image ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26942
26934
|
className: "neeto-ui-no-data__image"
|
|
26943
|
-
}, renderImage(image)), title && /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
26935
|
+
}, renderImage(image)) : null, title && /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
26944
26936
|
className: "neeto-ui-text-center",
|
|
26945
26937
|
"data-cy": "no-data-title",
|
|
26946
26938
|
lineHeight: "none",
|