<kern-timeline-item>
One event of kern-timeline: a marker on the line, heading, point in time, description and optional details and actions. The marker has a shape per tone like kern-status (ok = circle, warn = diamond, danger = square, busy = pulsing circle, neutral = hollow circle), with icon inside. Colour and shape are decoration: the heading or the status word says what happened.
collapsible hides the details slot behind a «Show details» button (aria-expanded, Enter/Space).
Examples
See the examples on kern-timeline.
Properties
collapsibleboolean
Hides the details slot behind a button.
datetimeDate | number | string | undefined
When: ISO 8601 point in time, epoch milliseconds or a Date. Shown with kern-date or, in day groups, kern-time.
headingstring | undefined
What happened, e.g. «Firmware updated».
icon"bulb" | "calendar" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "copy" | "download" | "edit" | "external" | "eye" | "eye-off" | "filter" | "home" | "inbox" | "info" | "link" | "lock" | "menu" | "minus" | "moon" | "more" | "plus" | "power" | "refresh" | "search" | "settings" | "star" | "sun" | "thermometer" | "trash" | "upload" | "warn" | "wifi" | undefined
Glyph in the marker (see kern-icon).
labelHidestring | undefined
Text of the button that hides the details; defaults to the Kern text.
labelShowstring | undefined
Text of the button that shows the details; defaults to the Kern text.
openboolean
Whether collapsible details are shown.
relativeboolean
Shows the point in time relative to now («3 hours ago»); the absolute value is the tooltip.
statusstring | undefined
State as a word beside the heading (a kern-status with tone), e.g. «Offline».
tone"busy" | "danger" | "neutral" | "ok" | "warn"
Shape and colour of the marker, as in kern-status.
Events
kernToggleCustomEvent<{ open: boolean; }>
After the user opened or closed the details.
Slots
(default)Description: one or two sentences
actionsButtons or links, e.g. «Open update log»
detailsLonger details, e.g. a kern-kv or a changelog
CSS parts
dayThe day heading above the first event of a day (with group-by="day" on kern-timeline)
detailsThe details area
headingThe heading
markerThe marker on the line