@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.js
CHANGED
|
@@ -26868,19 +26868,11 @@ var MultiEmailInput = /*#__PURE__*/forwardRef$1(function (_ref, ref) {
|
|
|
26868
26868
|
});
|
|
26869
26869
|
MultiEmailInput.displayName = "MultiEmailInput";
|
|
26870
26870
|
|
|
26871
|
-
var NO_DATA_IMAGE_URL = "https://d2v7kzglnr2dnh.cloudfront.net/others/no-data.svg";
|
|
26872
|
-
|
|
26873
26871
|
var renderImage = function renderImage(image) {
|
|
26874
|
-
|
|
26875
|
-
return typeof image === "string" ? /*#__PURE__*/React__default.createElement("img", {
|
|
26876
|
-
"data-cy": "no-data-image",
|
|
26877
|
-
src: image
|
|
26878
|
-
}) : image || React__default.Fragment;
|
|
26879
|
-
}
|
|
26880
|
-
return /*#__PURE__*/React__default.createElement("img", {
|
|
26872
|
+
return typeof image === "string" ? /*#__PURE__*/React__default.createElement("img", {
|
|
26881
26873
|
"data-cy": "no-data-image",
|
|
26882
|
-
src:
|
|
26883
|
-
});
|
|
26874
|
+
src: image
|
|
26875
|
+
}) : image;
|
|
26884
26876
|
};
|
|
26885
26877
|
|
|
26886
26878
|
var _excluded$h = ["image", "title", "description", "helpText", "className", "primaryButtonProps", "secondaryButtonProps", "buttonSeparatorText"];
|
|
@@ -26909,9 +26901,9 @@ var NoData = function NoData(_ref) {
|
|
|
26909
26901
|
return /*#__PURE__*/React__default.createElement("div", _extends$4({
|
|
26910
26902
|
className: classnames$1("neeto-ui-no-data", [className]),
|
|
26911
26903
|
"data-cy": "no-data-container"
|
|
26912
|
-
}, otherProps), /*#__PURE__*/React__default.createElement("div", {
|
|
26904
|
+
}, otherProps), image ? /*#__PURE__*/React__default.createElement("div", {
|
|
26913
26905
|
className: "neeto-ui-no-data__image"
|
|
26914
|
-
}, renderImage(image)), title && /*#__PURE__*/React__default.createElement(Typography, {
|
|
26906
|
+
}, renderImage(image)) : null, title && /*#__PURE__*/React__default.createElement(Typography, {
|
|
26915
26907
|
className: "neeto-ui-text-center",
|
|
26916
26908
|
"data-cy": "no-data-title",
|
|
26917
26909
|
lineHeight: "none",
|