Custom and net-new: Card Sequence
Everything in this proposal that is not plain PDS v2.
Net-new components
.pds-card-sequence— cards that appear one after the other with a line between them while work runs, then land on "all set".- Parts:
.pds-card-sequence__step,.pds-card-sequence__headline,.pds-card-sequence__working,.pds-card-sequence__complete,.pds-card-sequence__stop,.pds-card-sequence__card,.pds-card-sequence__tile,.pds-card-sequence__content,.pds-card-sequence__text,.pds-card-sequence__title,.pds-card-sequence__subtitle,.pds-card-sequence__link,.pds-card-sequence__line,.pds-card-sequence__dot - Modifiers:
.pds-card-sequence__card--last,.pds-card-sequence__dot--start,.pds-card-sequence__dot--end,.pds-card-sequence--landed
- Parts:
CardSequenceText(same file) — a title and optional subtitle for the content of a card.
Additions to existing PDS components
None.
Net-new props
- All (net-new component):
cards,className,completeLabel,isComplete,onComplete,workingLabel.CardSequenceText:className,subtitle,title.
Custom CSS variables
--sequence-fade— set on.pds-card-sequence; the fade time of the headline swap.--sequence-sweep— same element; the shimmer sweep time, taken from--pds-animation-duration-ai-shimmer.--sequence-ease— same element; the easing, taken from--pds-animation-timing-function-default.--card-start— set from the component on each card and line; when that card starts, so each step's delays follow it.--card-dim— registered with@property(a number); how far the card's content is dimmed while it works, from 0.58 to 1 when it settles.--dim— set on.pds-card-sequence__content; the dim end of the shimmer mask, from--card-dim.--peak— same element; the bright middle of the shimmer mask.
Raw values kept on purpose
- Animation delays and durations in
card-sequence.css(500ms,1500ms,2200ms,800msand so on) andSTEP_MS,TAIL_MS,LANDING_MSin the component — the choreography is fixed (about 3 s per card); PDS has one animation duration token (the shimmer) and no scale for these. The port keeps them. 0.58initial--card-dim— the dim level of the shimmer's resting text, from the artifact (58% foreground over the card). No token for an opacity.18.75remmax width — the artifact's 300px column; no PDS token for a content width. The port keeps it.1.5SVGstroke-widthon the connector line — the artifact's line weight; no token for a line width on an SVG path.-0.12em -0.5em -0.08embar inset — sized to the headline's own type, so it follows the type size. The port keeps it.cubic-bezier(0.4, 0, 0.2, 1)on the line — the artifact's easing for the draw; PDS has only the default timing function.250% 100%mask size and100% 0positions — the width and travel of the shimmer band, the same as the ThinkingState pattern.