From 2aecfa8e3ccbae7802bf6f723559a5bf01f16ffc Mon Sep 17 00:00:00 2001 From: Daniel Sil Date: Fri, 22 Mar 2024 16:57:35 +0100 Subject: [PATCH] docs: start v15 migration guide --- .../04-migration-guides/01-v15.mdx | 19 +++++++++++++++++++ .../{01-v14.mdx => 02-v14.mdx} | 0 .../{02-v12.mdx => 03-v12.mdx} | 0 .../{03-v11.mdx => 04-v11.mdx} | 0 .../{04-v10.mdx => 05-v10.mdx} | 0 .../{05-v9.mdx => 06-v9.mdx} | 0 .../{06-v7.mdx => 07-v7.mdx} | 0 7 files changed, 19 insertions(+) create mode 100644 docs/src/documentation/05-development/04-migration-guides/01-v15.mdx rename docs/src/documentation/05-development/04-migration-guides/{01-v14.mdx => 02-v14.mdx} (100%) rename docs/src/documentation/05-development/04-migration-guides/{02-v12.mdx => 03-v12.mdx} (100%) rename docs/src/documentation/05-development/04-migration-guides/{03-v11.mdx => 04-v11.mdx} (100%) rename docs/src/documentation/05-development/04-migration-guides/{04-v10.mdx => 05-v10.mdx} (100%) rename docs/src/documentation/05-development/04-migration-guides/{05-v9.mdx => 06-v9.mdx} (100%) rename docs/src/documentation/05-development/04-migration-guides/{06-v7.mdx => 07-v7.mdx} (100%) diff --git a/docs/src/documentation/05-development/04-migration-guides/01-v15.mdx b/docs/src/documentation/05-development/04-migration-guides/01-v15.mdx new file mode 100644 index 0000000000..ce747b13fd --- /dev/null +++ b/docs/src/documentation/05-development/04-migration-guides/01-v15.mdx @@ -0,0 +1,19 @@ +--- +title: v15 +description: How to migrate to Orbit 15.0.0 +redirect_from: + - /migration-guides/v15/ +--- + +# Orbit Migration Guide v15 + +This migration guide focuses on the process of migrating from Orbit v14 to v15.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 + +### mediaQueries util function removed + +The `mediaQueries` function is no longer available. This was a styled-components util function that is now no longer expected to be used, as we move away from StyledComponents. +If needed, the tokens and breakpoint values are still accessible via the `getBreakpointWidth` function and the `QUERIES` and `TOKEN` constants. +Check [the documentation](/development/utilities/media-queries/) for more information on how to use these. diff --git a/docs/src/documentation/05-development/04-migration-guides/01-v14.mdx b/docs/src/documentation/05-development/04-migration-guides/02-v14.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/01-v14.mdx rename to docs/src/documentation/05-development/04-migration-guides/02-v14.mdx diff --git a/docs/src/documentation/05-development/04-migration-guides/02-v12.mdx b/docs/src/documentation/05-development/04-migration-guides/03-v12.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/02-v12.mdx rename to docs/src/documentation/05-development/04-migration-guides/03-v12.mdx diff --git a/docs/src/documentation/05-development/04-migration-guides/03-v11.mdx b/docs/src/documentation/05-development/04-migration-guides/04-v11.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/03-v11.mdx rename to docs/src/documentation/05-development/04-migration-guides/04-v11.mdx diff --git a/docs/src/documentation/05-development/04-migration-guides/04-v10.mdx b/docs/src/documentation/05-development/04-migration-guides/05-v10.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/04-v10.mdx rename to docs/src/documentation/05-development/04-migration-guides/05-v10.mdx diff --git a/docs/src/documentation/05-development/04-migration-guides/05-v9.mdx b/docs/src/documentation/05-development/04-migration-guides/06-v9.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/05-v9.mdx rename to docs/src/documentation/05-development/04-migration-guides/06-v9.mdx diff --git a/docs/src/documentation/05-development/04-migration-guides/06-v7.mdx b/docs/src/documentation/05-development/04-migration-guides/07-v7.mdx similarity index 100% rename from docs/src/documentation/05-development/04-migration-guides/06-v7.mdx rename to docs/src/documentation/05-development/04-migration-guides/07-v7.mdx