diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index b01d101d03d..43f25d6d1ee 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -93,13 +93,33 @@ A list of functions/mixins and their value equivalents or new token values. | Function | Replacement Value/Token | | ---------------------------- | -------------------------------------- | -| `easing()`
`easing(base)` | `var(--p-ease)` | -| `easing(in)` | `var(--p-ease-in)` | -| `easing(out)` | `var(--p-ease-out)` | -| `easing(excite)` | `var(--p-ease-excite)` | +| `easing()`
`easing(base)` | `--p-ease` | +| `easing(in)` | `--p-ease-in` | +| `easing(out)` | `--p-ease-out` | +| `easing(excite)` | `--p-ease-excite` | | `easing(overshoot)` | `cubic-bezier(0.07, 0.28, 0.32, 1.22)` | | `easing(anticipate)` | `cubic-bezier(0.38, -0.4, 0.88, 0.65)` | +#### `duration()` + +| Function | Replacement Value/Token | +| -------------------------------- | ----------------------- | +| `duration(none)` | 0 | +| `duration(fast)` | `--p-duration-100` | +| `duration()`
`duration(base)` | `--p-duration-200` | +| `duration(slow)` | `--p-duration-300` | +| `duration(slower)` | `--p-duration-400` | +| `duration(slowest)` | `--p-duration-500` | + +## Tokens + +### Duration + +| Token | Replacement Value/Token | +| -------------------- | ----------------------- | +| `--p-duration-1-0-0` | `--p-duration-100` | +| `--p-duration-1-5-0` | `--p-duration-150` | + ## Removal of the public scss api Any functions that were being consumed from `build/styles/_public-api.scss` have been removed. The functions can be found in the following permalinks.