← All proposals

Code Diff

A Panel List of changed files.

Net-new componentOpen in Storybook

proposals/CodeDiff/custom.md25 lines · View on GitHub

Custom and net-new: CodeDiff

Everything in this proposal that is not plain PDS v2. npm run check:tokens reads this file: each net-new class, custom CSS variable and raw value found in the code must appear here in backticks.

Net-new components

  • .pds-code-diff — A Panel List of changed files.
    • Parts and modifiers: .pds-code-diff__file, .pds-code-diff__name, .pds-code-diff__stats

Additions to existing PDS components

None.

Net-new props

All props of CodeDiffProps are new (net-new component).

Custom CSS variables

None.

Raw values kept on purpose

None.