Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions documentation/guides/migrating-from-v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,33 @@ A list of functions/mixins and their value equivalents or new token values.

| Function | Replacement Value/Token |
| ---------------------------- | -------------------------------------- |
| `easing()`<br>`easing(base)` | `var(--p-ease)` |
| `easing(in)` | `var(--p-ease-in)` |
| `easing(out)` | `var(--p-ease-out)` |
| `easing(excite)` | `var(--p-ease-excite)` |
| `easing()`<br>`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()`<br>`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.
Expand Down