-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
docs/src/documentation/05-development/04-migration-guides/01-v18.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: v18 | ||
description: How to migrate to Orbit 18.0.0 | ||
redirect_from: | ||
- /migration-guides/v18/ | ||
--- | ||
|
||
# Orbit Migration Guide v18 | ||
|
||
This migration guide focuses on the process of migrating from Orbit v17 to v18.0, as some breaking changes were introduced. | ||
With this guide, we aim to walk through all the breaking changes and how they can be addressed, allowing the migration to be smoother and effortlessly. | ||
|
||
## Breaking changes | ||
|
||
### Seat component | ||
|
||
#### `title` and `description` props no longer have default values | ||
|
||
These props are used to give additional context to the rendered SVG element that visually represents the seat. They are not rendered on the screen, but are announced by screen readers. | ||
|
||
The previous default values were not meaningful and could lead to wrong or misleading information. | ||
|
||
As they are announced by screen readers, they should have meaningful and translated text. | ||
|
||
#### `label` and `price` props now only accept string | ||
|
||
These props used to accept React nodes as well, but this could result in some unexpected or wrong HTML structure. | ||
|
||
Therefore, these props now only accept strings. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.