@muonroi/ui-engine-rule-components 0.1.16 → 0.1.17

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.
@@ -48700,10 +48700,10 @@ function Cre({
48700
48700
  type: "button",
48701
48701
  onClick: t,
48702
48702
  style: {
48703
- fontSize: 11,
48703
+ fontSize: 12,
48704
48704
  color: e.textSecondary,
48705
48705
  cursor: "pointer",
48706
- padding: "4px 8px",
48706
+ padding: "6px 10px",
48707
48707
  background: "none",
48708
48708
  border: "none",
48709
48709
  textAlign: "left",
@@ -48732,7 +48732,7 @@ function Cre({
48732
48732
  background: n.isSuccess ? "color-mix(in oklch, var(--mu-color-success-text) 15%, transparent)" : "color-mix(in oklch, var(--mu-color-error) 15%, transparent)",
48733
48733
  color: n.isSuccess ? "var(--mu-color-success-text)" : "var(--mu-color-error)"
48734
48734
  }, children: n.isSuccess ? "✓" : "✗" }),
48735
- /* @__PURE__ */ k.jsx("span", { style: { fontSize: 12, fontWeight: 600, color: n.isSuccess ? "var(--mu-color-success-text)" : "var(--mu-color-error)" }, children: n.isSuccess ? "Passed" : "Failed" }),
48735
+ /* @__PURE__ */ k.jsx("span", { style: { fontSize: 13, fontWeight: 600, color: n.isSuccess ? "var(--mu-color-success-text)" : "var(--mu-color-error)" }, children: n.isSuccess ? "Passed" : "Failed" }),
48736
48736
  s !== void 0 ? /* @__PURE__ */ k.jsxs("span", { style: {
48737
48737
  fontSize: 11,
48738
48738
  padding: "2px 8px",
@@ -48765,7 +48765,7 @@ function Cre({
48765
48765
  gap: 2,
48766
48766
  padding: "4px 8px",
48767
48767
  fontFamily: "var(--mu-font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace)"
48768
- }, children: i.map((p) => /* @__PURE__ */ k.jsxs("div", { style: { display: "flex", gap: 6, flexWrap: "wrap", fontSize: 11 }, children: [
48768
+ }, children: i.map((p) => /* @__PURE__ */ k.jsxs("div", { style: { display: "flex", gap: 6, flexWrap: "wrap", fontSize: 12 }, children: [
48769
48769
  /* @__PURE__ */ k.jsxs("span", { style: { fontWeight: 600, color: e.textSecondary }, children: [
48770
48770
  p,
48771
48771
  ":"
@@ -48799,7 +48799,7 @@ function kre({ result: n, loading: e, error: t, onSelectNode: r, onClose: i, tok
48799
48799
  const [l, c] = Y.useState(null), f = n == null ? void 0 : n.results.find((y) => y.ruleName === l), p = (n == null ? void 0 : n.results.filter((y) => y.isSuccess).length) ?? 0, v = (n == null ? void 0 : n.results.filter((y) => !y.isSuccess).length) ?? 0;
48800
48800
  return /* @__PURE__ */ k.jsxs("div", { style: {
48801
48801
  borderTop: `2px solid ${s.sidebarBorder.replace("1px solid ", "")}`,
48802
- height: 280,
48802
+ height: 380,
48803
48803
  overflow: "hidden",
48804
48804
  display: "flex",
48805
48805
  flexDirection: "column",
@@ -48814,7 +48814,7 @@ function kre({ result: n, loading: e, error: t, onSelectNode: r, onClose: i, tok
48814
48814
  flexShrink: 0
48815
48815
  }, children: [
48816
48816
  /* @__PURE__ */ k.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
48817
- /* @__PURE__ */ k.jsx("span", { style: { fontSize: 13, fontWeight: 600, color: s.textPrimary }, children: "Dry Run Results" }),
48817
+ /* @__PURE__ */ k.jsx("span", { style: { fontSize: 14, fontWeight: 600, color: s.textPrimary }, children: "Dry Run Results" }),
48818
48818
  n ? /* @__PURE__ */ k.jsxs("span", { style: {
48819
48819
  fontSize: 11,
48820
48820
  padding: "2px 8px",
@@ -48850,7 +48850,7 @@ function kre({ result: n, loading: e, error: t, onSelectNode: r, onClose: i, tok
48850
48850
  " ",
48851
48851
  t
48852
48852
  ] }) : n ? /* @__PURE__ */ k.jsxs("div", { style: { display: "flex", height: "100%" }, children: [
48853
- /* @__PURE__ */ k.jsx("div", { style: { width: "60%", overflow: "auto", borderRight: `1px solid ${s.sidebarBorder.replace("1px solid ", "")}` }, children: /* @__PURE__ */ k.jsxs("table", { style: { width: "100%", borderCollapse: "collapse", fontSize: 12 }, children: [
48853
+ /* @__PURE__ */ k.jsx("div", { style: { width: "60%", overflow: "auto", borderRight: `1px solid ${s.sidebarBorder.replace("1px solid ", "")}` }, children: /* @__PURE__ */ k.jsxs("table", { style: { width: "100%", borderCollapse: "collapse", fontSize: 13 }, children: [
48854
48854
  /* @__PURE__ */ k.jsx("thead", { children: /* @__PURE__ */ k.jsxs("tr", { style: { borderBottom: `1px solid ${s.sidebarBorder.replace("1px solid ", "")}`, position: "sticky", top: 0, background: s.inspectorBg, zIndex: 1 }, children: [
48855
48855
  /* @__PURE__ */ k.jsx("th", { style: { ...FE, color: s.textSecondary }, children: "Node" }),
48856
48856
  /* @__PURE__ */ k.jsx("th", { style: { ...FE, color: s.textSecondary, width: 60 }, children: "Status" }),
@@ -48869,11 +48869,11 @@ function kre({ result: n, loading: e, error: t, onSelectNode: r, onClose: i, tok
48869
48869
  background: l === y.ruleName ? s.overlayItemSelectedBg : "transparent"
48870
48870
  },
48871
48871
  children: [
48872
- /* @__PURE__ */ k.jsxs("td", { style: { padding: "6px 12px", color: s.textPrimary, fontWeight: 500 }, children: [
48872
+ /* @__PURE__ */ k.jsxs("td", { style: { padding: "8px 12px", color: s.textPrimary, fontWeight: 500, fontSize: 13 }, children: [
48873
48873
  y.ruleName,
48874
48874
  y.errors && y.errors.length > 0 ? /* @__PURE__ */ k.jsx("div", { style: { fontSize: 11, color: s.errorText, marginTop: 2 }, children: y.errors[0] }) : null
48875
48875
  ] }),
48876
- /* @__PURE__ */ k.jsx("td", { style: { padding: "6px 8px", textAlign: "center" }, children: /* @__PURE__ */ k.jsx("span", { style: {
48876
+ /* @__PURE__ */ k.jsx("td", { style: { padding: "8px 8px", textAlign: "center" }, children: /* @__PURE__ */ k.jsx("span", { style: {
48877
48877
  display: "inline-block",
48878
48878
  width: 18,
48879
48879
  height: 18,
@@ -48891,7 +48891,7 @@ function kre({ result: n, loading: e, error: t, onSelectNode: r, onClose: i, tok
48891
48891
  y.ruleName
48892
48892
  )) })
48893
48893
  ] }) }),
48894
- /* @__PURE__ */ k.jsx("div", { style: { width: "40%", overflow: "auto", padding: 8 }, children: f ? /* @__PURE__ */ k.jsx(
48894
+ /* @__PURE__ */ k.jsx("div", { style: { width: "40%", overflow: "auto", padding: "10px 12px" }, children: f ? /* @__PURE__ */ k.jsx(
48895
48895
  Cre,
48896
48896
  {
48897
48897
  entry: f,