Status dot
import { StatusDot, LastHeard, isLastHeard, lastHeardClock, lastHeardText } from "@arcadia/ui";Migrate now, or after the backup?
Launch week
Retry uploads that time out
At night
Migrate now, or after the backup?
Launch week
Retry uploads that time out
By day
StatusDot
status- "idle" | "unread" | "attention" | "error" | "draft" | "running" | "waiting" | "blocked" | "done" | "stopped" | "skipped" | "stated"
- Default:
"idle" tone- "success" | "warning" | "danger" | "muted" | "neutral"
- The state of a thing that is not a run or a chat (a connector's Off, Needs trust, Can't connect), beside the word that names it: a steady dot in the tone's ink, never a pop or a glyph. Set, it stands in for
status. label- string | null
- Accessible name ("Unread"). For
attentionwithoutchildren, defaults to "Waits for your answer"; passnullwhere the words beside it say so already. Omit on other statuses when stated in text. enter- boolean
- Pops in once on mount (a badge on an avatar, a row's unread dot, a line that starts to wait). A later change into
unread,attentionorerrorpops on its own. Never under reduced motion,data-instantor a hidden page. busy- boolean
- Default:
false - Shows the text-sized loader in the mark's seat when
childrenis set. why- string
- Tooltip for a labelled state, reached by keyboard focus too.
rootStyle- RootStyle<StatusDotKnobs>
- Typed StyleX override: layout and the
--status-dot-*knobs. children- ReactNode
- Caption words beside the mark (a state in words). For
status="stated", defaults to "Stated".
Rest props go to <span> props and render.
atrequired- number
- When the holder was last heard, in milliseconds.
now- number
- Default:
Date.now() - Reference time in milliseconds, to tell today from an earlier day.
rootStyle- RootStyle
- Typed StyleX override: where it sits.
Rest props go to <span> props.
State machine
Project launch