musae 1.0.18 → 1.0.19
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.
|
@@ -31,7 +31,7 @@ var Empty = function Empty(_ref) {
|
|
|
31
31
|
locale = _useLocale2[0];
|
|
32
32
|
var styled = {
|
|
33
33
|
empty: {
|
|
34
|
-
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-10t7w11 musaex-1erkn4t"
|
|
34
|
+
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-l56j7k musaex-10t7w11 musaex-1erkn4t"
|
|
35
35
|
},
|
|
36
36
|
label: stylex.props(theme.$body.small, styles.label)
|
|
37
37
|
};
|
|
@@ -27,7 +27,7 @@ var Empty = function Empty(_ref) {
|
|
|
27
27
|
locale = _useLocale2[0];
|
|
28
28
|
var styled = {
|
|
29
29
|
empty: {
|
|
30
|
-
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-10t7w11 musaex-1erkn4t"
|
|
30
|
+
className: "musaex-78zum5 musaex-dt5ytf musaex-6s0dn4 musaex-l56j7k musaex-10t7w11 musaex-1erkn4t"
|
|
31
31
|
},
|
|
32
32
|
label: props($body.small, styles.label)
|
|
33
33
|
};
|
|
@@ -133,9 +133,15 @@ var Image = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
if (status !== "loaded") {
|
|
136
|
-
if (relax.isUndefined(fallback))
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
if (relax.isUndefined(fallback)) {
|
|
137
|
+
return /*#__PURE__*/React.createElement(empty.default, {
|
|
138
|
+
className: className$1,
|
|
139
|
+
style: {
|
|
140
|
+
width: width,
|
|
141
|
+
height: height
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
139
145
|
return fallback;
|
|
140
146
|
}
|
|
141
147
|
return /*#__PURE__*/React.createElement("div", _objectSpread({
|
|
@@ -129,9 +129,15 @@ var Image = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
if (status !== "loaded") {
|
|
132
|
-
if (isUndefined(fallback))
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
if (isUndefined(fallback)) {
|
|
133
|
+
return /*#__PURE__*/React.createElement(Empty, {
|
|
134
|
+
className: className,
|
|
135
|
+
style: {
|
|
136
|
+
width: width,
|
|
137
|
+
height: height
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
135
141
|
return fallback;
|
|
136
142
|
}
|
|
137
143
|
return /*#__PURE__*/React.createElement("div", _objectSpread({
|