Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
florian-lefebvre and sarah11918 authored Dec 10, 2025
commit 77c1ec992914defc633618caafc52ac3a71d5d0c
16 changes: 8 additions & 8 deletions src/content/docs/en/reference/modules/astro-transitions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Replaces the old body with the new body. Then, goes through every element in the

### Deprecated imports

The following imports are deprecated since v6 and will be removed in v7. You can still use them in your project, but you may prefer to update your code now. [See how to upgrade](/en/guides/upgrade-to/v6/#deprecated-exposed-astrotransitions-and-astrotransitionsclient-internals).
The following imports are deprecated in v6 and will be removed in v7. You can still use them in your project, but you may prefer to update your code now. [See how to upgrade](/en/guides/upgrade-to/v6/#deprecated-exposed-astrotransitions-and-astrotransitionsclient-internals).

<h4>`isTransitionBeforePreparationEvent()`</h4>

Expand All @@ -317,7 +317,7 @@ The following imports are deprecated since v6 and will be removed in v7. You can
</p>

:::caution[Deprecated]
This function is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This function is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

Determines whether the given value matches a [`TransitionBeforePreparationEvent`](#transitionbeforepreparationevent). This can be useful when you need to narrow the type of an event in an event listener.
Expand Down Expand Up @@ -350,7 +350,7 @@ Determines whether the given value matches a [`TransitionBeforePreparationEvent`
</p>

:::caution[Deprecated]
This function is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This function is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

Determines whether the given value matches a [`TransitionBeforeSwapEvent`](#transitionbeforeswapevent). This can be useful when you need to narrow the type of an event in an event listener.
Expand Down Expand Up @@ -383,7 +383,7 @@ Determines whether the given value matches a [`TransitionBeforeSwapEvent`](#tran
</p>

:::caution[Deprecated]
This constant is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This constant is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

A constant to avoid writing the `astro:before-preparation` event name in plain text when you define an event.
Expand All @@ -410,7 +410,7 @@ A constant to avoid writing the `astro:before-preparation` event name in plain t
</p>

:::caution[Deprecated]
This constant is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This constant is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

A constant to avoid writing the `astro:after-preparation` event name in plain text when you define an event.
Expand All @@ -437,7 +437,7 @@ A constant to avoid writing the `astro:after-preparation` event name in plain te
</p>

:::caution[Deprecated]
This constant is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This constant is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

A constant to avoid writing the `astro:before-swap` event name in plain text when you define an event.
Expand All @@ -464,7 +464,7 @@ A constant to avoid writing the `astro:before-swap` event name in plain text whe
</p>

:::caution[Deprecated]
This constant is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This constant is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

A constant to avoid writing the `astro:after-swap` event name in plain text when you define an event.
Expand All @@ -491,7 +491,7 @@ A constant to avoid writing the `astro:after-swap` event name in plain text when
</p>

:::caution[Deprecated]
This constant is deprecated since v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
This constant is deprecated in v6 and will be removed in v7. You can still use it in your project, but you may prefer to update your code now.
:::

A constant to avoid writing the `astro:page-load` event name in plain text when you define an event.
Expand Down
Loading