@movable/ui 3.14.0-alpha.0 → 3.14.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 CHANGED
@@ -5914,9 +5914,7 @@ const El = {
5914
5914
  };
5915
5915
  function XE({ title: e, description: t, action: n, variant: o, icon: i, isLongLoading: a, sx: s }) {
5916
5916
  a && (e = e || ta.title, t = t || ta.description, i = i || ta.icon);
5917
- const l = o === "search" ? "neutral00" : "neutral50", c = Kg[o], { fontSize: u, fontSizeDescription: d, titleVariant: m, descriptionVariant: h } = c;
5918
- console.log("actionProp", n);
5919
- const g = (y) => !!y && "onClick" in y;
5917
+ const l = o === "search" ? "neutral00" : "neutral50", c = Kg[o], { fontSize: u, fontSizeDescription: d, titleVariant: m, descriptionVariant: h } = c, g = (y) => !!y && "onClick" in y;
5920
5918
  return p.jsxs(Oe, { alignItems: "center", justifyContent: "center", textAlign: "center", "data-cy": `empty-state-${o}-${a ? "long-loading-" : ""}container`, sx: { backgroundColor: l, p: 5, ...s }, children: [i && p.jsx(Yg, { icon: i, variant: o }), e && p.jsx(ct, { variant: m, sx: { fontSize: u }, "data-cy": "empty-state-title", children: p.jsx("strong", { children: e }) }), p.jsx(ct, { variant: h, color: "text.secondary", sx: { fontSize: d, maxWidth: "500px", mt: 1 }, "data-cy": "empty-state-description", children: t }), n && p.jsx(ze, { mt: 3, children: g(n) ? p.jsx(dt, { onClick: n.onClick, "data-cy": "empty-state-action-button", children: n.title }) : n })] });
5921
5919
  }
5922
5920
  function Pr({