kaafil-react-uikit 0.11.5 → 0.11.6

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.
@@ -7348,8 +7348,8 @@ function CheckIcon5(props) {
7348
7348
  return /* @__PURE__ */ jsx(
7349
7349
  "svg",
7350
7350
  {
7351
- width: "16",
7352
- height: "16",
7351
+ width: "20",
7352
+ height: "20",
7353
7353
  viewBox: "0 0 24 24",
7354
7354
  fill: "none",
7355
7355
  stroke: "currentColor",
@@ -8003,6 +8003,7 @@ function ReadyManagerPickupsSection({
8003
8003
  style
8004
8004
  }) {
8005
8005
  const pickups = usePickups(tripRef);
8006
+ const outbox = useOutboxStatus();
8006
8007
  const StopListUI = components?.StopList ?? StopList;
8007
8008
  const BoardingViewUI = components?.BoardingView ?? BoardingView;
8008
8009
  const [kind, setKind] = useState("PICKUP");
@@ -8026,6 +8027,27 @@ function ReadyManagerPickupsSection({
8026
8027
  cancelled = true;
8027
8028
  };
8028
8029
  }, [ready, selectedStopId, kind]);
8030
+ const drainedFrom = useRef(outbox.pending);
8031
+ useEffect(() => {
8032
+ const hadWork = drainedFrom.current > 0;
8033
+ drainedFrom.current = outbox.pending;
8034
+ if (!hadWork || outbox.pending > 0) {
8035
+ return;
8036
+ }
8037
+ if (pickups.status !== "ready" || selectedStopId === void 0) {
8038
+ return;
8039
+ }
8040
+ let cancelled = false;
8041
+ void pickups.manifestByPickup({ kind }).then((result) => {
8042
+ if (!cancelled) {
8043
+ setManifest(result);
8044
+ }
8045
+ });
8046
+ void pickups.refreshLive();
8047
+ return () => {
8048
+ cancelled = true;
8049
+ };
8050
+ }, [outbox.pending, selectedStopId, kind]);
8029
8051
  if (pickups.status === "loading") {
8030
8052
  return /* @__PURE__ */ jsxs("div", { className: "kf-manager-pickups__skeleton", style: tokenStyle(style), children: [
8031
8053
  /* @__PURE__ */ jsx("div", { className: "kf-manager-pickups__skeleton-line" }),