@movable/ui 2.3.1 → 2.4.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
@@ -908,7 +908,7 @@ function Zv({ label: e, Stepper: t, ButtonGroup: r }) {
908
908
  py: 2.25,
909
909
  borderBottom: "1px solid",
910
910
  borderBottomColor: "neutral200"
911
- }, children: ({ position: o }) => h.jsxs(Ye, { position: o, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [h.jsx(ot, { "data-test-worflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1" }, children: e }), t && h.jsx(Tt, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: t }), r && h.jsx(Tt, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: n(r) ? h.jsxs(Ye, { direction: "row", spacing: 1, children: [r.primary && h.jsx(It, { variant: "contained", endIcon: r.primary.loading ? h.jsx(Jo, { size: 20, color: "inherit" }) : void 0, disabled: r.primary.disabled || r.primary.loading, ...r.primary, "data-test-worflow-header-primary-action": !0, children: r.primary.label }), r.close && h.jsx(Ei, { onClick: r.close.onClick, "data-test-worflow-header-close-action": !0, children: h.jsx(Ir, { children: "close_rounded" }) })] }) : r })] }) });
911
+ }, children: ({ position: o }) => h.jsxs(Ye, { position: o, direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [h.jsx(ot, { "data-test-worflow-header-label": !0, variant: "h6", sx: { fontWeight: "600", flexGrow: "1", pl: 24 }, children: e }), t && h.jsx(Tt, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: t }), r && h.jsx(Tt, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: n(r) ? h.jsxs(Ye, { direction: "row", spacing: 1, children: [r.primary && h.jsx(It, { variant: "contained", endIcon: r.primary.loading ? h.jsx(Jo, { size: 20, color: "inherit" }) : void 0, disabled: r.primary.disabled || r.primary.loading, ...r.primary, "data-test-worflow-header-primary-action": !0, children: r.primary.label }), r.close && h.jsx(Ei, { onClick: r.close.onClick, "data-test-worflow-header-close-action": !0, children: h.jsx(Ir, { children: "close_rounded" }) })] }) : r })] }) });
912
912
  }
913
913
  function se(e, t) {
914
914
  if (e == null) return {};