@boltic/swirl 1.0.2-sit.63 → 1.0.2-sit.64

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/dist/swirl.es.js CHANGED
@@ -173668,7 +173668,7 @@ const bct = ({
173668
173668
  }
173669
173669
  ),
173670
173670
  c.map((O) => {
173671
- const { isSuccess: y, isError: v } = x5(O.eventType), b = o?.eventId === O.eventId;
173671
+ const { isSuccess: y, isError: v, isPending: b, isRunning: S } = x5(O.eventType), x = o?.eventId === O.eventId;
173672
173672
  return /* @__PURE__ */ f.jsxs(
173673
173673
  le,
173674
173674
  {
@@ -173684,9 +173684,9 @@ const bct = ({
173684
173684
  minHeight: 40,
173685
173685
  borderRadius: "6px",
173686
173686
  gap: "8px",
173687
- background: b ? t.palette.primary[5] : "transparent",
173687
+ background: x ? t.palette.primary[5] : "transparent",
173688
173688
  "&:hover": {
173689
- background: b ? t.palette.primary[5] : "transparent"
173689
+ background: x ? t.palette.primary[5] : "transparent"
173690
173690
  }
173691
173691
  },
173692
173692
  children: [
@@ -173721,13 +173721,26 @@ const bct = ({
173721
173721
  sx: { path: { fill: t.palette.error.main } }
173722
173722
  }
173723
173723
  ),
173724
- !y && !v && /* @__PURE__ */ f.jsx(
173724
+ b && /* @__PURE__ */ f.jsx(
173725
173725
  Ge,
173726
173726
  {
173727
- src: "ic_success",
173727
+ src: "ic_pending",
173728
173728
  width: 16,
173729
173729
  height: 16,
173730
- sx: { path: { fill: t.palette.success[40] } }
173730
+ sx: {
173731
+ path: {
173732
+ fill: t.palette.text.tertiary ?? t.palette.text.secondary
173733
+ }
173734
+ }
173735
+ }
173736
+ ),
173737
+ S && /* @__PURE__ */ f.jsx(
173738
+ Ge,
173739
+ {
173740
+ src: "ic_run",
173741
+ width: 16,
173742
+ height: 16,
173743
+ sx: { color: t.palette.primary.main }
173731
173744
  }
173732
173745
  )
173733
173746
  ]