@movable/ui 3.7.1 → 3.7.2

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
@@ -648,7 +648,7 @@ React keys must be passed directly to JSX without using spread:
648
648
  }
649
649
  process.env.NODE_ENV === "production" ? ha.exports = Sf() : ha.exports = Ef();
650
650
  var p = ha.exports;
651
- function JE({ stringToDisplay: e }) {
651
+ function ZE({ stringToDisplay: e }) {
652
652
  return p.jsxs(st, { children: ["stringToDisplay prop is:", " ", p.jsx("span", { "data-test-string-to-display": !0, children: e })] });
653
653
  }
654
654
  function an(e, ...t) {
@@ -4145,7 +4145,7 @@ const ag = {
4145
4145
  px: "8px",
4146
4146
  py: "4px"
4147
4147
  }, sg = 3;
4148
- function ZE({ chipList: e, numTagsToDisplay: t, size: n = "medium", maxChipWidth: o = 200 }) {
4148
+ function QE({ chipList: e, numTagsToDisplay: t, size: n = "medium", maxChipWidth: o = 200 }) {
4149
4149
  const [i, a] = mt(null), s = Ha(null), [l, c] = mt(void 0);
4150
4150
  _c(() => {
4151
4151
  const f = new ResizeObserver((C) => {
@@ -4199,7 +4199,7 @@ const Su = (e) => {
4199
4199
  children: qa.map(n.children, (o) => Eu(o, t))
4200
4200
  }) : e;
4201
4201
  };
4202
- function QE({ Title: e, Content: t, Actions: n, onClose: o, hideCloseButton: i, ActionsProp: a, ...s }) {
4202
+ function eO({ Title: e, Content: t, Actions: n, onClose: o, hideCloseButton: i, ActionsProp: a, ...s }) {
4203
4203
  var u, d, m, h, g, b, f;
4204
4204
  let l = n;
4205
4205
  if (n) {
@@ -4236,7 +4236,7 @@ const Ou = 280, cg = Bc(Ve, { shouldForwardProp: (e) => e !== "open" })(({ theme
4236
4236
  marginLeft: 0
4237
4237
  }
4238
4238
  }));
4239
- function eO({
4239
+ function tO({
4240
4240
  isOpen: e,
4241
4241
  handleDrawerClose: t,
4242
4242
  children: n,
@@ -4287,7 +4287,7 @@ function eO({
4287
4287
  borderColor: "neutral200"
4288
4288
  }, children: s })] }) }), p.jsx(cg, { component: "main", open: e, ...d, children: n })] });
4289
4289
  }
4290
- function tO({ metadata: e }) {
4290
+ function nO({ metadata: e }) {
4291
4291
  const t = (n) => n == null || n === "" ? p.jsx(st, { variant: "body2", color: "text.disabled", children: "--" }) : typeof n == "string" ? p.jsx(st, { variant: "body2", children: n }) : n;
4292
4292
  return p.jsx(Re, { direction: "row", spacing: 2, "data-test-ink-page-header-metadata": !0, children: e.map(({ icon: n, label: o, value: i }) => p.jsxs(Re, { direction: "row", alignItems: "center", spacing: 0.5, "data-cy": `metadata-${o}`, children: [n && typeof n == "string" ? p.jsx(Rn, { sx: { color: "neutral600", fontSize: "1rem" }, children: n }) : n, p.jsx(st, { variant: "body2", color: "text.secondary", children: o }), t(i)] }, o)) });
4293
4293
  }
@@ -4311,7 +4311,7 @@ const ug = ({ children: e }) => {
4311
4311
  },
4312
4312
  ...t
4313
4313
  }, children: e({ position: o }) }) });
4314
- function nO({ Breadcrumbs: e, Subtitle: t, Metadata: n, Chips: o, ButtonGroup: i, Tabs: a, sx: s }) {
4314
+ function rO({ Breadcrumbs: e, Subtitle: t, Metadata: n, Chips: o, ButtonGroup: i, Tabs: a, sx: s }) {
4315
4315
  return p.jsx(Ru, { children: ({ position: l }) => p.jsxs(Re, { "data-test-ink-page-header": !0, direction: "column", spacing: 2, position: l, sx: {
4316
4316
  borderBottom: 1,
4317
4317
  borderColor: "divider",
@@ -4332,13 +4332,13 @@ function pg({ label: e }) {
4332
4332
  function fg({ breadcrumb: e, i: t, onClick: n }) {
4333
4333
  return p.jsx(Pp, { href: e.path, ...e.LinkProps, underline: "hover", "data-cy": `breadcrumb-${t}`, variant: "h5", color: "action.active", onClick: n, children: e.label });
4334
4334
  }
4335
- function rO({ breadcrumbs: e }) {
4335
+ function oO({ breadcrumbs: e }) {
4336
4336
  return p.jsx(kp, { sx: dg, "data-test-ink-page-header-breadcrumbs": !0, children: e == null ? void 0 : e.map((t, n) => n === e.length - 1 ? p.jsx(pg, { label: t.label }, `breadcrumb-${n}`) : p.jsx(fg, { breadcrumb: t, i: n, onClick: t.onClick }, `breadcrumb-${n}`)) });
4337
4337
  }
4338
4338
  function ju({ sx: e }) {
4339
4339
  return p.jsx(st, { variant: "overline", sx: { color: "neutral500", fontWeight: 600, lineHeight: 2.25, ...e }, children: "Internal Use Only" });
4340
4340
  }
4341
- function oO({ primaryAction: e, secondaryAction: t, dropdownAction: n }) {
4341
+ function iO({ primaryAction: e, secondaryAction: t, dropdownAction: n }) {
4342
4342
  const [o, i] = mt(null), a = !!o, s = (h) => {
4343
4343
  i(h.currentTarget);
4344
4344
  }, l = () => {
@@ -4361,7 +4361,7 @@ function oO({ primaryAction: e, secondaryAction: t, dropdownAction: n }) {
4361
4361
  function mg({ subtitle: e, sx: t, ...n }) {
4362
4362
  return p.jsx(st, { variant: "body2", color: "text.secondary", "data-cy": "header-subtitle", sx: { ...t }, ...n, children: e });
4363
4363
  }
4364
- function iO({ label: e, Stepper: t, ButtonGroup: n, subtitle: o }) {
4364
+ function aO({ label: e, Stepper: t, ButtonGroup: n, subtitle: o }) {
4365
4365
  const i = (a) => typeof a == "object" && a !== null && ("primary" in a || "close" in a);
4366
4366
  return p.jsx(Ru, { sx: {
4367
4367
  px: 3,
@@ -5775,7 +5775,7 @@ process.env.NODE_ENV !== "production" && (Kt.propTypes = {
5775
5775
  */
5776
5776
  variantMapping: r.object
5777
5777
  });
5778
- function aO({ Header: e, Description: t, Icon: n, CTA: o, children: i, shouldShowFullDescription: a = !1, isLoading: s = !1, loadingSkeleton: l, ...c }) {
5778
+ function sO({ Header: e, Description: t, Icon: n, CTA: o, children: i, shouldShowFullDescription: a = !1, isLoading: s = !1, loadingSkeleton: l, ...c }) {
5779
5779
  const u = () => s && l ? l : i;
5780
5780
  return p.jsxs(Ci, { "data-test": "ink-paper", ...c, sx: {
5781
5781
  ...c.sx,
@@ -5791,7 +5791,7 @@ function aO({ Header: e, Description: t, Icon: n, CTA: o, children: i, shouldSho
5791
5791
  textOverflow: "ellipsis"
5792
5792
  }, children: [typeof e != "string" ? p.jsx(p.Fragment, { children: e }) : p.jsx(Kt, { "data-test": "ink-paper-header", variant: "subtitle1", color: "text.primary", component: "strong", fontWeight: 600, children: e }), t && p.jsx(p.Fragment, { children: typeof t != "string" ? t : p.jsx(Kt, { "data-test": "ink-paper-description", variant: "caption", color: "text.secondary", noWrap: !a, children: t }) })] }), o] }), u()] });
5793
5793
  }
5794
- const sO = ({ name: e, options: t, value: n, ref: o, direction: i = "row", cardSx: a, fullWidth: s = !0, disabled: l = !1, onChange: c, onBlur: u }) => {
5794
+ const lO = ({ name: e, options: t, value: n, ref: o, direction: i = "row", cardSx: a, fullWidth: s = !0, disabled: l = !1, onChange: c, onBlur: u }) => {
5795
5795
  const d = (g, b, f, x) => x ? g ? b : "inherit" : f, m = (g, b, f, x, C) => C ? g ? b : x : g ? b : f, h = t.some((g) => !!g.bottomContent);
5796
5796
  return p.jsx(Ap, { name: e, onChange: c, onBlur: u, value: n, ref: o, "aria-label": e, "aria-readonly": l, "aria-disabled": l, sx: { width: s ? "100%" : "fit-content" }, children: p.jsx(Re, { direction: i, spacing: 2, children: t.map(({ value: g, icon: b, title: f, description: x, subDescription: C, disabled: E, bottomContent: T }) => {
5797
5797
  const v = l || E;
@@ -5870,7 +5870,7 @@ function Sl({ value: e, label: t, size: n = "small", ariaLabel: o, ...i }) {
5870
5870
  }
5871
5871
  }, children: t || e });
5872
5872
  }
5873
- function lO({ id: e, toggleButtons: t, ariaLabel: n, value: o = "", size: i = "x-small", single: a = !1, enforceValueSet: s = !1, sx: l, onChange: c, ...u }) {
5873
+ function cO({ id: e, toggleButtons: t, ariaLabel: n, value: o = "", size: i = "x-small", single: a = !1, enforceValueSet: s = !1, sx: l, onChange: c, ...u }) {
5874
5874
  const d = t.find((h) => h.value === o) ?? t[0], m = (h, g) => {
5875
5875
  s && !g || !c || c(h, g);
5876
5876
  };
@@ -5956,7 +5956,7 @@ function El({ value: e, size: t = "small", ariaLabel: n, icon: o, ...i }) {
5956
5956
  }
5957
5957
  }, children: o });
5958
5958
  }
5959
- function cO({ id: e, toggleButtons: t, ariaLabel: n, size: o = "x-small", single: i = !1, value: a = "", enforceValueSet: s = !1, onChange: l, sx: c, ...u }) {
5959
+ function uO({ id: e, toggleButtons: t, ariaLabel: n, size: o = "x-small", single: i = !1, value: a = "", enforceValueSet: s = !1, onChange: l, sx: c, ...u }) {
5960
5960
  const d = (h, g) => {
5961
5961
  s && !g || !l || l(h, g);
5962
5962
  }, m = t.find((h) => h.value === a) ?? t[0];
@@ -6001,7 +6001,7 @@ const Ol = {
6001
6001
  paper: Rl,
6002
6002
  data: Rl
6003
6003
  };
6004
- function uO({ title: e, description: t, action: n, variant: o, icon: i, sx: a }) {
6004
+ function dO({ title: e, description: t, action: n, variant: o, icon: i, sx: a }) {
6005
6005
  const s = o === "search" ? "neutral00" : "neutral50", l = oy[o], { fontSize: c, fontSizeDescription: u, titleVariant: d, descriptionVariant: m } = l;
6006
6006
  return p.jsxs(Re, { alignItems: "center", justifyContent: "center", textAlign: "center", "data-cy": `empty-state-${o}-container`, sx: { backgroundColor: s, p: 5, ...a }, children: [i && p.jsx(ry, { icon: i, variant: o }), e && p.jsx(st, { variant: d, sx: { fontSize: c }, "data-cy": "empty-state-title", children: p.jsx("strong", { children: e }) }), p.jsx(st, { variant: m, color: "text.secondary", sx: { fontSize: u, maxWidth: "500px", mt: 1 }, "data-cy": "empty-state-description", children: t }), n && p.jsx(Ve, { mt: 3, children: p.jsx(ht, { onClick: n.onClick, "data-cy": "empty-state-action-button", children: n.title }) })] });
6007
6007
  }
@@ -8524,7 +8524,7 @@ const Jy = K(Fu)(({ theme: e }) => ({
8524
8524
  function Zy({ listItemProps: e, listItemIconProps: t, ...n }) {
8525
8525
  return p.jsxs(Jy, { disableGutters: !0, ...e, children: [(t == null ? void 0 : t.adornment) === "start" && p.jsx(ja, { ...t, children: t == null ? void 0 : t.children }), p.jsx(zu, { ...n }), (t == null ? void 0 : t.adornment) === "end" && p.jsx(ja, { ...t, children: t == null ? void 0 : t.children })] });
8526
8526
  }
8527
- function dO({ label: e, attributes: t, ...n }) {
8527
+ function pO({ label: e, attributes: t, ...n }) {
8528
8528
  return p.jsxs(p.Fragment, { children: [p.jsx(is, { children: e }), p.jsx(as, { ...n, dense: !0, sx: {
8529
8529
  display: "flex",
8530
8530
  flexDirection: "column",
@@ -11193,7 +11193,7 @@ process.env.NODE_ENV !== "production" && (Qu.propTypes = {
11193
11193
  */
11194
11194
  TransitionProps: r.object
11195
11195
  });
11196
- function pO({ src: e, alt: t, sx: n, imageSx: o, fallbackText: i = "Image Failed to Load", ...a }) {
11196
+ function fO({ src: e, alt: t, sx: n, imageSx: o, fallbackText: i = "Image Failed to Load", ...a }) {
11197
11197
  const [s, l] = mt(!1), [c, u] = mt(!0);
11198
11198
  return p.jsxs(Ur, { sx: {
11199
11199
  display: "flex",
@@ -11263,7 +11263,7 @@ const oa = {
11263
11263
  marginLeft: t ? 0 : o
11264
11264
  };
11265
11265
  }), ia = (e) => e.drawerType !== "panel";
11266
- function fO(e) {
11266
+ function mO(e) {
11267
11267
  const {
11268
11268
  drawerType: t,
11269
11269
  drawerContent: n,
@@ -11322,7 +11322,7 @@ function fO(e) {
11322
11322
  borderColor: "neutral200"
11323
11323
  }, children: o })] }) }), p.jsx(k0, { component: "main", open: ia(e) ? e.isOpen : !0, drawerWidth: f, ...m, children: d })] });
11324
11324
  }
11325
- const mO = ({ children: e, maxSnack: t = 3, anchorOrigin: n = {
11325
+ const hO = ({ children: e, maxSnack: t = 3, anchorOrigin: n = {
11326
11326
  horizontal: "center",
11327
11327
  vertical: "bottom"
11328
11328
  }, ...o }) => p.jsx(rf, { anchorOrigin: n, Components: {
@@ -12933,13 +12933,13 @@ process.env.NODE_ENV !== "production" && (ad.propTypes = {
12933
12933
  const lv = ot(/* @__PURE__ */ p.jsx("path", {
12934
12934
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
12935
12935
  }), "Close");
12936
- function hO({ closeSnackbar: e, label: t, ...n }) {
12936
+ function gO({ closeSnackbar: e, label: t, ...n }) {
12937
12937
  const o = () => {
12938
12938
  e();
12939
12939
  };
12940
12940
  return p.jsxs(p.Fragment, { children: [p.jsx(ad, { "data-test-ink-snackbar-action": t, variant: "text", color: "primary", sx: { whiteSpace: "nowrap" }, ...n, children: "label" }), p.jsx(xs, { "data-test-ink-snackbar-action-close": !0, color: "inherit", onClick: o, children: p.jsx(lv, { fontSize: "small" }) })] });
12941
12941
  }
12942
- function gO({ control: e, name: t, rules: n, onChange: o, ...i }) {
12942
+ function yO({ control: e, name: t, rules: n, onChange: o, ...i }) {
12943
12943
  return p.jsx(yo, { name: t, control: e, rules: n, render: ({ field: { onChange: a, ...s }, fieldState: { error: l } }) => {
12944
12944
  const c = (u) => {
12945
12945
  a == null || a(u), o == null || o(u);
@@ -14701,7 +14701,7 @@ const Jv = mo(({ options: e, radioGroupProps: t, formLabel: n, formLabelProps: o
14701
14701
  return p.jsx(Pi, { "data-test-ink-radio-group-item": x, value: f, control: p.jsx(ld, { ...C, checked: h === f, className: T }), label: x }, `ink-radio-${E}`);
14702
14702
  }) }), c && p.jsx(Ai, { "data-test-ink-radio-group-helper-text": !0, children: c })] }) });
14703
14703
  });
14704
- function yO({ control: e, name: t, rules: n, onChange: o, ...i }) {
14704
+ function bO({ control: e, name: t, rules: n, onChange: o, ...i }) {
14705
14705
  return p.jsx(yo, { name: t, control: e, rules: n, render: ({ field: { onChange: a, ...s }, fieldState: { error: l } }) => {
14706
14706
  const c = (u) => {
14707
14707
  a == null || a(u), o == null || o(u);
@@ -15085,7 +15085,7 @@ process.env.NODE_ENV !== "production" && (ud.propTypes = {
15085
15085
  value: r.any
15086
15086
  });
15087
15087
  const ox = mo(({ id: e, formLabel: t, labelPlacement: n = "end", sx: o, defaultChecked: i = !1, formControlLabelProps: a, ...s }, l) => p.jsx(Pi, { ...a, ref: l, "data-test-ink-switch-label": e, control: p.jsx(ud, { ...s, sx: { ...o }, "data-test-ink-switch": e, id: e, defaultChecked: i }), label: t, labelPlacement: n }));
15088
- function bO({ control: e, name: t, id: n, rules: o, ...i }) {
15088
+ function vO({ control: e, name: t, id: n, rules: o, ...i }) {
15089
15089
  return p.jsx(yo, { name: t, control: e, rules: o, render: ({ field: { onChange: a, ...s } }) => {
15090
15090
  const l = (c, u) => {
15091
15091
  a == null || a(u);
@@ -20547,7 +20547,7 @@ const xT = mo(({ name: e, minRows: t = 3, variant: n = "filled", size: o = "medi
20547
20547
  hiddenLabel: !0
20548
20548
  }, InputLabelProps: {
20549
20549
  shrink: !0
20550
- }, ...a })), vO = ({ control: e, name: t, label: n, rules: o, helperText: i, onBlur: a, ...s }) => p.jsx(yo, { name: t, control: e, rules: o, render: ({ field: { value: l, onBlur: c, ...u }, fieldState: d }) => {
20550
+ }, ...a })), xO = ({ control: e, name: t, label: n, rules: o, helperText: i, onBlur: a, ...s }) => p.jsx(yo, { name: t, control: e, rules: o, render: ({ field: { value: l, onBlur: c, ...u }, fieldState: d }) => {
20551
20551
  const m = (h) => {
20552
20552
  c == null || c(), a == null || a(h);
20553
20553
  };
@@ -20629,7 +20629,7 @@ function ST({ id: e, name: t, label: n, menuOptions: o, inputProps: i, helperTex
20629
20629
  ...i
20630
20630
  }, ...m, ref: h, children: x(d, o) }), a && p.jsx(Bp, { "data-test-select-helper-text": t, children: a })] });
20631
20631
  }
20632
- function xO({ control: e, name: t, rules: n, helperText: o, onChange: i, onBlur: a, disabled: s, ...l }) {
20632
+ function TO({ control: e, name: t, rules: n, helperText: o, onChange: i, onBlur: a, disabled: s, ...l }) {
20633
20633
  return p.jsx(yo, { name: t, control: e, rules: n, disabled: s, render: ({ field: { onChange: c, onBlur: u, ...d }, fieldState: { error: m } }) => {
20634
20634
  const h = (b, f) => {
20635
20635
  c == null || c(b), i == null || i(b, f);
@@ -20642,7 +20642,7 @@ function xO({ control: e, name: t, rules: n, helperText: o, onChange: i, onBlur:
20642
20642
  const Rd = ot(/* @__PURE__ */ p.jsx("path", {
20643
20643
  d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
20644
20644
  }), "InfoOutlined");
20645
- function TO({ message: e, sx: t, messageSx: n }) {
20645
+ function CO({ message: e, sx: t, messageSx: n }) {
20646
20646
  return p.jsx(Dp, { severity: "info", "data-cy": "internal-user-only-alert", sx: { alignItems: "center", ...t }, iconMapping: {
20647
20647
  info: p.jsx(Rd, {})
20648
20648
  }, children: p.jsxs(Re, { direction: "row", gap: 1, alignItems: "center", children: [p.jsx(ju, { sx: { color: "text.secondary" } }), p.jsx(Re, { children: "-" }), p.jsx(st, { variant: "body2", sx: n, "data-cy": "internal-user-only-alert-message", children: e || "This page has limited access to internal users only." })] }) });
@@ -21346,7 +21346,7 @@ var yS = gS(function(e, t, n) {
21346
21346
  });
21347
21347
  const jc = ["borderColor", "backgroundColor"];
21348
21348
  Uc.register(af, sf, lf, cf, uf, df, pf, ff, mf, hf);
21349
- function CO({ chartOptions: e, type: t, data: n, customColors: o, height: i = 200, isLoading: a, stacked: s, legend: l, title: c }) {
21349
+ function wO({ chartOptions: e, type: t, data: n, customColors: o, height: i = 200, isLoading: a, stacked: s, legend: l, title: c }) {
21350
21350
  const u = Xn();
21351
21351
  Uc.defaults.color = u.palette.text.primary;
21352
21352
  const d = [
@@ -21547,7 +21547,7 @@ const CS = 382, kc = (e, t, n, o, i) => i ? o : e ? t : n, wS = (e, t, n, o, i)
21547
21547
  function ES({ description: e, buttonProps: t }) {
21548
21548
  return p.jsxs(p.Fragment, { children: [p.jsx(Fp, { children: p.jsx(st, { variant: "body2", color: "text.secondary", children: e }) }), t && p.jsx(zp, { children: p.jsx(ht, { variant: "card", ...t, children: t.label }) })] });
21549
21549
  }
21550
- function wO({ cardMedia: e, cardHeader: t, cardType: n = "default", galleryContent: o, children: i, ...a }) {
21550
+ function SO({ cardMedia: e, cardHeader: t, cardType: n = "default", galleryContent: o, children: i, ...a }) {
21551
21551
  var d, m;
21552
21552
  const s = !!(t != null && t.checkboxProps || t != null && t.title || t != null && t.subheader || t != null && t.adornment || t != null && t.onClose), l = !!(t != null && t.checkboxProps), c = !!((d = t == null ? void 0 : t.checkboxProps) != null && d.checked), u = (m = t == null ? void 0 : t.checkboxProps) == null ? void 0 : m.disabled;
21553
21553
  return p.jsxs(Lc, { ...a, sx: wS(l, c, u, n, a.sx), "data-cy": "inkcard-container", children: [e && p.jsx(TS, { cardType: n, ...e }), s && p.jsx(bS, { ...t }), n === "gallery" && o ? p.jsx(ES, { description: o.description, buttonProps: o.buttonProps }) : i] });
@@ -21630,14 +21630,14 @@ function PS({ columnData: e, handleColumnFilterChange: t, customGridVisibility:
21630
21630
  display: i != null && i.includes(T) ? "none" : void 0
21631
21631
  } }) }, T)) }), p.jsx(qp, { sx: { position: "sticky", bottom: 0, zIndex: 1, padding: 0 }, variant: "outlined", children: p.jsxs(Re, { flexDirection: "row", justifyContent: "space-between", sx: { mx: 1.5, py: 1 }, children: [p.jsx(ht, { onClick: f, children: "Deselect all" }), p.jsx(ht, { onClick: x, children: "Select all" })] }) })] })] });
21632
21632
  }
21633
- function SO({ groupingProps: e, filterDrawerBtnProps: t, showFilterDrawerBtn: n = !1, showQuickFilter: o = !0, showExportButton: i = !1, showDensitySelector: a = !1, onExportClick: s, loadingExport: l, columnPickerProps: c, children: u, py: d = 2 }) {
21633
+ function EO({ groupingProps: e, filterDrawerBtnProps: t, showFilterDrawerBtn: n = !1, showQuickFilter: o = !0, showExportButton: i = !1, showDensitySelector: a = !1, onExportClick: s, loadingExport: l, columnPickerProps: c, children: u, py: d = 2 }) {
21634
21634
  const { value: m, onChange: h, options: g } = e ?? {};
21635
21635
  return p.jsx(vf, { sx: { py: d }, children: p.jsxs(Re, { direction: "column", sx: { width: "100%" }, children: [p.jsxs(Re, { justifyContent: o ? "space-between" : "end", alignItems: "center", direction: "row", width: "100%", children: [p.jsxs(Re, { direction: "row", spacing: 2, alignItems: "center", children: [o && p.jsx(xf, { sx: {
21636
21636
  ".MuiInputBase-input": { p: 0 },
21637
21637
  ".MuiInput-root:after": { borderBottom: "none" }
21638
21638
  }, "data-cy": "grid-tool-bar-quick-filter" }), n && t && p.jsx(Yp, { badgeContent: t.filterBtnBadgeContent, color: "primary", "data-cy": "grid-tool-bar-filter-badge", children: p.jsx(RS, { onClick: t.onShowFilterDrawerClick }) })] }), p.jsxs(Re, { direction: "row", spacing: 1, children: [a && p.jsx(Tf, {}), c && p.jsx(PS, { columnData: c.columnData, handleColumnFilterChange: c.handleColumnFilterChange, customGridVisibility: c.customGridVisibility, lockedFields: c.lockedFields, hiddenInColumnPicker: c.hiddenInColumnPicker }), i && p.jsx(Cf, {}), m !== void 0 && h && g && p.jsx(jS, { value: m, onChange: h, options: g }), s && p.jsx(OS, { onClick: s, loadingExport: l })] })] }), u] }) });
21639
21639
  }
21640
- function EO({ testSelector: e = "", disableColumnReorder: t = !0, sx: n, rows: o, ...i }) {
21640
+ function OO({ testSelector: e = "", disableColumnReorder: t = !0, sx: n, rows: o, ...i }) {
21641
21641
  return p.jsx(Gc, { "data-test-ink-data-grid": e, rows: o, disableColumnReorder: t, sx: {
21642
21642
  ...n,
21643
21643
  ".MuiDataGrid-virtualScroller": {
@@ -21646,10 +21646,10 @@ function EO({ testSelector: e = "", disableColumnReorder: t = !0, sx: n, rows: o
21646
21646
  }, ...i });
21647
21647
  }
21648
21648
  const AS = [{ id: 0 }, { id: 1 }, { id: 2 }];
21649
- function OO({ testSelector: e = "", emptyColumns: t }) {
21649
+ function RO({ testSelector: e = "", emptyColumns: t }) {
21650
21650
  return p.jsx(Gc, { "data-test-ink-data-grid-empty": e, hideFooter: !0, rows: AS, columns: t });
21651
21651
  }
21652
- function RO(e) {
21652
+ function jO(e) {
21653
21653
  return e.map((n) => ({
21654
21654
  ...n,
21655
21655
  renderCell: () => p.jsx(Qr, { variant: "rectangular", height: 30, width: "100%" })
@@ -22108,7 +22108,7 @@ if (process.env.NODE_ENV !== "production") {
22108
22108
  wrap: t("container")
22109
22109
  };
22110
22110
  }
22111
- function jO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22111
+ function kO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22112
22112
  return p.jsxs(Ze, { container: !0, children: [e, p.jsx(Ze, { container: !0, sx: {
22113
22113
  justifyContent: "center",
22114
22114
  alignContent: "flex-start",
@@ -22120,7 +22120,7 @@ function jO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22120
22120
  ...n
22121
22121
  }, "data-test-layout-details": "content-slot", size: 12, ...i, children: p.jsx(Ze, { size: 10, ...o, children: t }) })] });
22122
22122
  }
22123
- function kO({ Header: e, children: t, sx: n, ...o }) {
22123
+ function PO({ Header: e, children: t, sx: n, ...o }) {
22124
22124
  return p.jsxs(Ze, { container: !0, children: [e, p.jsx(Ze, { container: !0, sx: {
22125
22125
  justifyContent: "center",
22126
22126
  alignContent: "flex-start",
@@ -22131,7 +22131,7 @@ function kO({ Header: e, children: t, sx: n, ...o }) {
22131
22131
  ...n
22132
22132
  }, size: 12, ...o, children: t })] });
22133
22133
  }
22134
- function PO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22134
+ function AO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22135
22135
  return p.jsxs(Ze, { container: !0, children: [e, p.jsx(Ze, { container: !0, sx: {
22136
22136
  justifyContent: "center",
22137
22137
  alignContent: "flex-start",
@@ -22143,19 +22143,19 @@ function PO({ Header: e, children: t, sx: n, itemProps: o, ...i }) {
22143
22143
  ...n
22144
22144
  }, "data-test-workflow-layout": "content-slot", size: 12, ...i, children: p.jsx(Ze, { size: 8, ...o, children: t }) })] });
22145
22145
  }
22146
- function AO({ children: e, itemProps: t, containerProps: n }) {
22146
+ function MO({ children: e, itemProps: t, containerProps: n }) {
22147
22147
  return p.jsx(Ze, { container: !0, justifyContent: "center", "data-cy": "eight-column-layout-container", ...n, children: p.jsx(Ze, { container: !0, justifyContent: "center", direction: "column", "data-cy": "eight-column-layout-content", size: {
22148
22148
  md: 8,
22149
22149
  xs: 12
22150
22150
  }, ...t, children: e }) });
22151
22151
  }
22152
- function MO({ children: e, itemProps: t, containerProps: n }) {
22152
+ function IO({ children: e, itemProps: t, containerProps: n }) {
22153
22153
  return p.jsx(Ze, { container: !0, justifyContent: "center", "data-cy": "ten-column-layout-container", ...n, children: p.jsx(Ze, { container: !0, justifyContent: "center", direction: "column", "data-cy": "ten-column-layout-content", size: {
22154
22154
  md: 10,
22155
22155
  xs: 12
22156
22156
  }, ...t, children: e }) });
22157
22157
  }
22158
- function IO({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
22158
+ function $O({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
22159
22159
  return p.jsxs(Ze, { container: !0, justifyContent: "center", spacing: 2, "data-cy": "five-three-layout-grid", ...n, children: [p.jsx(Ze, { container: !0, direction: "column", "data-cy": "five-three-left-grid", size: {
22160
22160
  md: 5,
22161
22161
  xs: 12
@@ -22164,7 +22164,7 @@ function IO({ leftContent: e, rightContent: t, containerProps: n, leftProps: o,
22164
22164
  xs: 12
22165
22165
  }, ...i, children: t })] });
22166
22166
  }
22167
- function $O({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
22167
+ function NO({ leftContent: e, rightContent: t, containerProps: n, leftProps: o, rightProps: i }) {
22168
22168
  return p.jsxs(Ze, { container: !0, justifyContent: "center", spacing: 2, "data-cy": "seven-three-layout-grid", ...n, children: [p.jsx(Ze, { container: !0, direction: "column", "data-cy": "seven-three-left-grid", size: {
22169
22169
  md: 7,
22170
22170
  xs: 12
@@ -22173,7 +22173,7 @@ function $O({ leftContent: e, rightContent: t, containerProps: n, leftProps: o,
22173
22173
  xs: 12
22174
22174
  }, ...i, children: t })] });
22175
22175
  }
22176
- function NO({ children: e, panelContent: t, wrapperProps: n, panelProps: o, containerProps: i, itemProps: a }) {
22176
+ function _O({ children: e, panelContent: t, wrapperProps: n, panelProps: o, containerProps: i, itemProps: a }) {
22177
22177
  return p.jsxs(Ve, { display: "flex", width: "100%", minHeight: "100vh", sx: { backgroundColor: (s) => s.palette.neutral100 }, "data-cy": "panel-paper-layout-wrapper", ...n, children: [p.jsx(Ve, { flexShrink: 0, width: { xs: "100%", md: 320 }, height: "100vh", overflow: "auto", bgcolor: "white", p: 3, "data-cy": "panel-paper-layout", ...o, children: t }), p.jsx(Ve, { flexGrow: 1, overflow: "auto", height: "100vh", children: p.jsx(Ze, { container: !0, justifyContent: "center", "data-cy": "panel-paper-layout-container", ...i, children: p.jsx(Ze, { "data-cy": "panel-paper-layout-content", size: {
22178
22178
  xs: 12,
22179
22179
  md: 8
@@ -22801,11 +22801,11 @@ var Vn = {
22801
22801
  return null;
22802
22802
  }, fE = DS(tE, oE, op)(pE), Ga = dE(fE);
22803
22803
  Ga.renderStatic = Ga.rewind;
22804
- const _O = ({ title: e, addTitleSuffix: t = !0, description: n, children: o }) => {
22804
+ const BO = ({ title: e, addTitleSuffix: t = !0, description: n, children: o }) => {
22805
22805
  const i = e + (t ? " | Movable Ink" : "");
22806
22806
  return p.jsxs(p.Fragment, { children: [p.jsxs(Ga, { children: [!!e && p.jsx("title", { children: i }), !!n && p.jsx("meta", { name: "description", content: n })] }), o] });
22807
- }, BO = ({ skeletonRows: e, skeletonColumns: t }) => p.jsx(p.Fragment, { children: Array.from({ length: e }).map((n, o) => p.jsx(Ze, { container: !0, spacing: 2, sx: { mb: 2 }, children: Array.from({ length: t }).map((i, a) => p.jsxs(Ze, { size: "grow", children: [p.jsx(Qr, { variant: "text", width: 100, height: 20 }), p.jsx(Qr, { variant: "rectangular", height: 40, sx: { borderRadius: 1 }, "data-test": "loading-skeleton" })] }, a)) }, o)) });
22808
- function DO() {
22807
+ }, DO = ({ skeletonRows: e, skeletonColumns: t }) => p.jsx(p.Fragment, { children: Array.from({ length: e }).map((n, o) => p.jsx(Ze, { container: !0, spacing: 2, sx: { mb: 2 }, children: Array.from({ length: t }).map((i, a) => p.jsxs(Ze, { size: "grow", children: [p.jsx(Qr, { variant: "text", width: 100, height: 20 }), p.jsx(Qr, { variant: "rectangular", height: 40, sx: { borderRadius: 1 }, "data-test": "loading-skeleton" })] }, a)) }, o)) });
22808
+ function LO() {
22809
22809
  const [e, t] = mt(null);
22810
22810
  return [e, async (o) => {
22811
22811
  if (!(navigator != null && navigator.clipboard))
@@ -22877,7 +22877,7 @@ class mE {
22877
22877
  this.title.should("have.text", t);
22878
22878
  }
22879
22879
  }
22880
- const LO = new mE();
22880
+ const FO = new mE();
22881
22881
  class ip {
22882
22882
  constructor(t) {
22883
22883
  Ee(this, "baseAttribute", "data-test-select");
@@ -22960,7 +22960,7 @@ class hE {
22960
22960
  return cy.get(`[data-test-ink-snackbar-alert=${t}]`);
22961
22961
  }
22962
22962
  }
22963
- const FO = new hE();
22963
+ const zO = new hE();
22964
22964
  class ap {
22965
22965
  constructor(t) {
22966
22966
  Ee(this, "baseAttribute", "data-test-ink-text-field");
@@ -23214,7 +23214,7 @@ class vE {
23214
23214
  return this.dropDownTrigger.click();
23215
23215
  }
23216
23216
  }
23217
- const zO = new gE();
23217
+ const VO = new gE();
23218
23218
  class xE {
23219
23219
  get label() {
23220
23220
  return cy.get("[data-test-ink-workflow-header-label]");
@@ -23235,7 +23235,7 @@ class xE {
23235
23235
  return cy.get("[data-test-ink-workflow-header-close-action]");
23236
23236
  }
23237
23237
  }
23238
- const VO = new xE();
23238
+ const WO = new xE();
23239
23239
  class up {
23240
23240
  constructor(t) {
23241
23241
  Ee(this, "baseSelector", "data-test-ink-image");
@@ -23740,6 +23740,14 @@ const PE = {
23740
23740
  }
23741
23741
  }
23742
23742
  }, ME = {
23743
+ MuiTooltip: {
23744
+ styleOverrides: {
23745
+ tooltip: {
23746
+ backgroundColor: B.neutral800
23747
+ }
23748
+ }
23749
+ }
23750
+ }, IE = {
23743
23751
  MuiCard: {
23744
23752
  defaultProps: {
23745
23753
  variant: "outlined"
@@ -23790,7 +23798,7 @@ const PE = {
23790
23798
  })
23791
23799
  }
23792
23800
  }
23793
- }, IE = {
23801
+ }, $E = {
23794
23802
  MuiPaper: {
23795
23803
  defaultProps: {
23796
23804
  variant: "outlined"
@@ -23809,7 +23817,7 @@ const PE = {
23809
23817
  })
23810
23818
  }
23811
23819
  }
23812
- }, $E = "5.5px", fp = "0.15px", pa = ({ theme: e }) => ({
23820
+ }, NE = "5.5px", fp = "0.15px", pa = ({ theme: e }) => ({
23813
23821
  color: e.palette.text.secondary,
23814
23822
  fontSize: e.spacing(1.5),
23815
23823
  lineHeight: e.spacing(1.5),
@@ -23834,11 +23842,11 @@ const PE = {
23834
23842
  "&.MuiCheckbox-root.MuiCheckbox-sizeSmall + .MuiFormControlLabel-label, &.MuiRadio-root.MuiRadio-sizeSmall + .MuiFormControlLabel-label": {
23835
23843
  fontSize: e.typography.body2.fontSize
23836
23844
  }
23837
- }), NE = {
23845
+ }), _E = {
23838
23846
  MuiFormControl: {
23839
23847
  styleOverrides: {
23840
23848
  root: ({ theme: e }) => ({
23841
- gap: $E,
23849
+ gap: NE,
23842
23850
  minWidth: "220px",
23843
23851
  "& .MuiFormHelperText-root": {
23844
23852
  margin: 0
@@ -23993,7 +24001,7 @@ const PE = {
23993
24001
  root: Nc
23994
24002
  }
23995
24003
  }
23996
- }, _E = {
24004
+ }, BE = {
23997
24005
  MuiChip: {
23998
24006
  styleOverrides: {
23999
24007
  filledDefault: {
@@ -24287,7 +24295,7 @@ const PE = {
24287
24295
  }
24288
24296
  }
24289
24297
  }
24290
- }, BE = {
24298
+ }, DE = {
24291
24299
  MuiDataGrid: {
24292
24300
  styleOverrides: {
24293
24301
  root: {
@@ -24335,22 +24343,23 @@ const PE = {
24335
24343
  })
24336
24344
  }
24337
24345
  }
24338
- }, WO = rs({
24346
+ }, UO = rs({
24339
24347
  typography: {
24340
24348
  fontFamily: ["Inter", "sans-serif"].join(",")
24341
24349
  },
24342
24350
  components: {
24343
24351
  ...SE,
24344
24352
  ...EE,
24345
- ...ME,
24346
- ..._E,
24353
+ ...IE,
24347
24354
  ...BE,
24355
+ ...DE,
24348
24356
  ...OE,
24349
24357
  ...RE,
24350
- ...NE,
24351
- ...IE,
24358
+ ..._E,
24359
+ ...$E,
24352
24360
  ...PE,
24353
24361
  ...jE,
24362
+ ...ME,
24354
24363
  ...AE,
24355
24364
  MuiButtonBase: {
24356
24365
  defaultProps: {
@@ -24514,74 +24523,74 @@ const PE = {
24514
24523
  palette: B
24515
24524
  });
24516
24525
  export {
24517
- JE as DemoComponent,
24518
- jO as DetailsLayout,
24519
- AO as EightColumnFullContentLayout,
24520
- IO as FiveThreeSplitContentLayout,
24521
- BO as FormSkeletonGrid,
24522
- tO as HeaderMetadata,
24526
+ ZE as DemoComponent,
24527
+ kO as DetailsLayout,
24528
+ MO as EightColumnFullContentLayout,
24529
+ $O as FiveThreeSplitContentLayout,
24530
+ DO as FormSkeletonGrid,
24531
+ nO as HeaderMetadata,
24523
24532
  mg as HeaderSubtitle,
24524
- kO as IndexLayout,
24525
- dO as InkAttributeList,
24526
- wO as InkCard,
24527
- CO as InkChart,
24533
+ PO as IndexLayout,
24534
+ pO as InkAttributeList,
24535
+ SO as InkCard,
24536
+ wO as InkChart,
24528
24537
  _v as InkCheckboxGroup,
24529
24538
  ig as InkChip,
24530
- ZE as InkChipGroup,
24531
- EO as InkDataGrid,
24532
- OO as InkDataGridEmpty,
24533
- QE as InkDialog,
24539
+ QE as InkChipGroup,
24540
+ OO as InkDataGrid,
24541
+ RO as InkDataGridEmpty,
24542
+ eO as InkDialog,
24534
24543
  mE as InkDialogPageObject,
24535
- fO as InkDrawer,
24536
- uO as InkEmptyState,
24537
- gO as InkFormCheckboxGroup,
24538
- yO as InkFormRadioGroup,
24539
- xO as InkFormSelect,
24540
- bO as InkFormSwitch,
24541
- vO as InkFormTextField,
24542
- SO as InkGridToolBar,
24543
- pO as InkImage,
24544
+ mO as InkDrawer,
24545
+ dO as InkEmptyState,
24546
+ yO as InkFormCheckboxGroup,
24547
+ bO as InkFormRadioGroup,
24548
+ TO as InkFormSelect,
24549
+ vO as InkFormSwitch,
24550
+ xO as InkFormTextField,
24551
+ EO as InkGridToolBar,
24552
+ fO as InkImage,
24544
24553
  up as InkImagePageObject,
24545
- nO as InkPageHeader,
24554
+ rO as InkPageHeader,
24546
24555
  gE as InkPageHeaderPageObject,
24547
- aO as InkPaper,
24548
- eO as InkPersistentFilterDrawer,
24556
+ sO as InkPaper,
24557
+ tO as InkPersistentFilterDrawer,
24549
24558
  Jv as InkRadioGroup,
24550
- sO as InkRadioTiles,
24559
+ lO as InkRadioTiles,
24551
24560
  ST as InkSelect,
24552
24561
  tv as InkSnackbarAlert,
24553
24562
  $r as InkSnackbarContent,
24554
- mO as InkSnackbarProvider,
24563
+ hO as InkSnackbarProvider,
24555
24564
  ox as InkSwitch,
24556
24565
  cp as InkSwitchPageObject,
24557
24566
  xT as InkTextField,
24558
24567
  ap as InkTextFieldPageObject,
24559
24568
  El as InkToggleIcon,
24560
- cO as InkToggleIconGroup,
24569
+ uO as InkToggleIconGroup,
24561
24570
  Sl as InkToggleText,
24562
- lO as InkToggleTextGroup,
24563
- iO as InkWorkflowHeader,
24571
+ cO as InkToggleTextGroup,
24572
+ aO as InkWorkflowHeader,
24564
24573
  xE as InkWorkflowHeaderPageObject,
24565
- TO as InternalUseOnlyAlert,
24574
+ CO as InternalUseOnlyAlert,
24566
24575
  ju as InternalUseOnlyLabel,
24567
- rO as LinkBreadcrumbs,
24576
+ oO as LinkBreadcrumbs,
24568
24577
  yE as LinkBreadcrumbsPageObject,
24569
- WO as MovableUITheme,
24570
- oO as PageHeaderActionButtons,
24571
- _O as PageWrapper,
24572
- NO as PanelWithPaperContentLayout,
24573
- $O as SevenThreeSplitContentLayout,
24574
- hO as SnackbarActionButton,
24575
- MO as TenColumnFullContentLayout,
24576
- PO as WorkflowLayout,
24577
- RO as createEmptyColumns,
24578
+ UO as MovableUITheme,
24579
+ iO as PageHeaderActionButtons,
24580
+ BO as PageWrapper,
24581
+ _O as PanelWithPaperContentLayout,
24582
+ NO as SevenThreeSplitContentLayout,
24583
+ gO as SnackbarActionButton,
24584
+ IO as TenColumnFullContentLayout,
24585
+ AO as WorkflowLayout,
24586
+ jO as createEmptyColumns,
24578
24587
  sp as inkCheckboxGroup,
24579
- LO as inkDialog,
24580
- zO as inkPageHeader,
24588
+ FO as inkDialog,
24589
+ VO as inkPageHeader,
24581
24590
  lp as inkRadioGroup,
24582
24591
  ip as inkSelect,
24583
- FO as inkSnackbarAlert,
24584
- VO as inkWorkflowHeader,
24585
- DO as useCopyToClipboard
24592
+ zO as inkSnackbarAlert,
24593
+ WO as inkWorkflowHeader,
24594
+ LO as useCopyToClipboard
24586
24595
  };
24587
24596
  //# sourceMappingURL=index.mjs.map