Each Activity timeline item receives its width from the parent list. It can
consume the full width of the main page area or be placed in the smaller right
Note: This new version of activity timeline allows for expandable detail sections on each timeline item. The static version is still supported.
Text describing the type of timeline item is placed in a span. It is the
first element in the timeline item and should be hidden with the
.slds-assistive-text class. The SVG image does not need the
aria-controls is used to create an association between the button and the details section. If the details section has an id="email-content", then the button should have aria-controls="email-content".
The title of the timeline item can also be used as a button to open the details section. If the details section has an id="email-content", then the div with slds-timeline__trigger should have aria-controls="email-content" and the click handler.
aria-expanded indicates if the details section is open or closed and is read aloud by assitive technology when the button is focused.
aria-hidden indicates if the details section is open or closed, and if set to true, assistive technology hides the details section.
The button should behave as a normal button. The user should be able to tab to focus it and press enter/space to activate it.
Updating Operation and State
When the user interacts with the button to open the details section, aria-expanded on the button should be true and aria-hidden on the details section should be false.
When the user interacts with the button to close the details section, aria-expanded on the button should be false and aria-hidden on the details section should be true.
Overview of CSS Classes
The CSS class being referred to.
A description of what the class does.
Whether the class name is dev-ready (meaning it's fully vetted and tested and safe to use) or prototype (which means it's not fully vetted yet).
The selector that the class name is allowed to be used on.
The base level pattern for a component. A variant can be extended to create another variant of that component, for example, a stateful button is a derivative of the base button.
A single class that can be added to an HTML element of a component to modify its output. Typically these will be colors, sizing and positioning.
Create each expandable activity timeline item in a list