Skip to content

pantoken / packages/model/src / DeprecationEntry

Interface: DeprecationEntry

Beta

One entry in the token deprecation ledger — the lifecycle of a single dropped upstream token.

A shim value comes from EITHER replacement (emit var(replacement), so theming flows through) OR value (freeze the last-known literal, when the drop has no canonical replacement). Exactly one is expected; an entry with neither emits no shim.

Properties

token

token: string

Beta

The dropped upstream token name, e.g. --instui-component-truncate-text-line-height.


deprecatedIn

deprecatedIn: string

Beta

The upstream release that dropped it, <tier>@<version> (e.g. "[email protected]").


removeIn

removeIn: string

Beta

The upstream MINOR at which the shim is retired, <tier>@<version> (e.g. "[email protected]").


replacement?

optional replacement?: string

Beta

Forward the shim to a canonical token (emits var(replacement)).


value?

optional value?: string

Beta

Freeze the shim to a literal (the token's last-known value) when there's no replacement.


note?

optional note?: string

Beta

A human note rendered in the compatibility docs and the changelog.