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
73 changes: 73 additions & 0 deletions documentation/guides/migrating-from-v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,79 @@ This function has been deprecated, but the definition can be copied and used loc
| `shadow(layer)` | `--p-shadow-layer` |
| `shadow(transparent)` | `--p-shadow-transparent` |

#### `skeleton-page-header-layout()`

| Deprecated Mixin | Replacement Value |
| -------------------------------------- | ---------------------------------- |
| `@include skeleton-page-header-layout` | `padding-bottom: var(--p-space-2)` |

#### `skeleton-page-secondary-actions-layout()`

<table>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using HTML markdown for some of these sections since I have code blocks inside the tables

<tr>
<th>Deprecated Mixin</th>
<th>Replacement Value</th>
</tr>
<tr>
<td>

`@include skeleton-page-secondary-actions-layout`

</td>
<td>

```scss
margin-top: var(--p-space-2);
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
align-items: center;
```

</td>
</tr>
</table>

#### `skeleton-shimmer()`

We completely removed motion from our skeleton components for a better user experience but if you want to keep the functionality of this mixin you can reference the table below for replacement values.

<table>
<tr>
<th>Deprecated Mixin</th>
<th>Replacement Value</th>
</tr>
<tr>
<td>

`@include skeleton-shimmer`

</td>
<td>

```scss
animation: shimmer 800ms linear infinite alternate;
will-change: opacity;

@keyframes shimmer {
0% {
opacity: 0.45;
}

100% {
opacity: 0.9;
}
}

@media (prefers-reduced-motion) {
animation: none;
}
```

</td>
</tr>
</table>

#### `spacing()`

| Function | Replacement Value/Token |
Expand Down