readinessOf
Readiness from an editor's findings (any list of `{ level, code? }`): errors block publishing, warnings ask for a look. One pass over the findings.
packages/ui/src/components/resource/rules.ts
@marktiderman/genesis-uiimport { readinessOf } from "@marktiderman/genesis-ui";react-docgen-typescript.readinessOf
Readiness from an editor's findings (any list of `{ level, code? }`): errors block publishing, warnings ask for a look. One pass over the findings.
No declared props.
readinessChip
The readiness chip's label and tone.
No declared props.
dayLabel
A day (YYYY-MM-DD) in words, given today on the same clock: "Today", "Yesterday", "Oct 21", "Oct 21, 2025".
No declared props.
prefilledUrl
`url` with `values` set as search params (empty values left out), keeping what it has. An absolute link stays absolute; a relative one (`/f/a?x=1`) stays relative, so it never throws while a page is still working out its origin.
No declared props.
embedSnippet
An `<iframe>` that shows the page on another website, full width.
No declared props.
SaveState
Where the host's draft saving stands.
No declared props.
ChipTone
A chip's colour: the tinted, AA-safe Genesis badge tones.
No declared props.
Readiness
Whether something can be published, from an editor's checks.
No declared props.
ReadinessFinding
One of an editor's findings, as readinessOf reads it.
No declared props.
ReadinessLabels
The readiness chip's words, each optional; the defaults are resource-neutral.
No declared props.
PrefillChoice
One search param a prefilled link may set, and the values staff pick from.
No declared props.