@movable/ui 2.14.3 → 2.14.4-alpha.0
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/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -5730,7 +5730,7 @@ const yl = {
|
|
|
5730
5730
|
};
|
|
5731
5731
|
function qE({ title: e, description: t, action: r, variant: o, icon: i, sx: s }) {
|
|
5732
5732
|
const a = o === "search" ? "neutral00" : "neutral50", l = Cg[o], { fontSize: c, fontSizeDescription: u, titleVariant: d, descriptionVariant: m } = l;
|
|
5733
|
-
return f.jsxs(Ke, { alignItems: "center", justifyContent: "center",
|
|
5733
|
+
return f.jsxs(Ke, { alignItems: "center", justifyContent: "center", textAlign: "center", "data-cy": `empty-state-${o}-container`, sx: { backgroundColor: a, p: 5, ...s }, children: [i && f.jsx(Eg, { icon: i, variant: o }), e && f.jsx(ht, { variant: d, sx: { fontSize: c }, "data-cy": "empty-state-title", children: f.jsx("strong", { children: e }) }), f.jsx(ht, { variant: m, color: "text.secondary", sx: { fontSize: u }, "data-cy": "empty-state-description", children: t }), r && f.jsx(gt, { mt: 3, children: f.jsx(rn, { onClick: r.onClick, "data-cy": "empty-state-action-button", children: r.title }) })] });
|
|
5734
5734
|
}
|
|
5735
5735
|
function Rn({
|
|
5736
5736
|
props: e,
|