Skip to content

pantoken-root / packages/model/src / DeprecationEntry

Rhyngwyneb: DeprecationEntry ​

Bêta

Un cofnod yn y gofrestr dirwygiad token — cylch bywyd un token uchaf-ddaeth sydd wedi'i ddileu.

Mae gwerth shim yn dod NAILL AI replacement (yn allyrru var(replacement), fel bod theming yn llifo drwyddo) NEU value (rhewi'r gwerth llythrennol olaf a adnabuwyd, pan nad oes disodli canonig). Disgwylir yn union un; cofnod heb y naill na'r llall nid yw'n allyrru shim.

Eiddo ​

token ​

token: string

Bêta

Enw'r token uchaf-ddaeth a gafodd ei ddileu, e.e. --instui-component-truncate-text-line-height.


deprecatedIn ​

deprecatedIn: string

Bêta

The upstream release that dropped it, <tier>@<version> (e.g. "design-tokens@v1.5.0").


removeIn ​

removeIn: string

Bêta

The upstream MINOR at which the shim is retired, <tier>@<version> (e.g. "design-tokens@v1.6.0").


replacement? ​

optional replacement?: string

Bêta

Cyfeirio'r shim ymlaen at docyn canonig (yn allyrru var(replacement)).


value? ​

optional value?: string

Bêta

Rhewi'r shim i werth llythrennol (gwerth olaf a adnabuwyd y token) pan nad oes disodli ar gael.


note? ​

optional note?: string

Bêta

Nodiad dynol a gyflwynir yn y dogfennau cydnawsedd ac yn y cofnod newidiadau.