U.S. flagA digital services project by Flexion

Semantic Diff

feedbackCustom

Grouped list of spec changes (added, removed, modified, moved, renamed) with a category badge and human-readable description per change.

Custom component — no upstream reference.

Variants

Mixed Changes

Personal Information

  • ADDEDAdded field: Middle name

Contact Details

  • MODIFIEDModified field: Phone (type changed from text to tel)
  • REMOVEDRemoved field: Fax number

Identity

  • RENAMEDRenamed: "SSN" → "Social Security Number"

No Changes

No changes between these refs.

With Additions

Personal Information

  • ADDEDAdded field: Middle name
  • ADDEDAdded field: Suffix

With Removals

Contact Details

  • REMOVEDRemoved field: Fax number

Contract

Documented variants

  • NoChanges — Empty state: no changes between refs; renders the "No changes" empty message.
  • WithAdditions — One group with multiple added-category changes, demonstrating the "ADDED" badge.
  • WithRemovals — One group with a single removed-category change, demonstrating the "REMOVED" badge.
  • MixedChanges — Multiple groups with all change categories (added, modified, removed, renamed) showing the full badge palette.

Behavior promises

  • ○ Changes are grouped by groupKey; each group renders a heading followed by its list of changes
  • ○ Each change item shows the correct category badge label (ADDED, REMOVED, MODIFIED, MOVED, RENAMED)

Source CSS