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
46 changes: 46 additions & 0 deletions documentation/guides/migrating-from-v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,52 @@

Polaris v9.0.0 ([full release notes](https://github.com/Shopify/polaris-react/releases/tag/v9.0.0)) features removal of the public scss api and removal of scss functions and mixins.

## Table of Contents

- [Components](#components)
- [From `ThemeProvider` to `CustomProperties`](#from-themeprovider-to-customproperties)
- [`AppProvider` changes](#appprovider-changes)
- [Removed all theme types, constants, and utilities](#removed-all-theme-types-constants-and-utilities)
- [`SkeletonPage`](#skeletonpage)
- [CSS custom properties](#css-custom-properties)
- [Sass functions and mixins](#sass-functions-and-mixins)
- [Replacing function and mixin instances with value equivalents](#replacing-function-and-mixin-instances-with-value-equivalents)
- [`available-names()`](#available-names)
- [`border()`](#border)
- [`border-radius()`](#border-radius)
- [`border-width()`](#border-width)
- [`color()`](#color)
- [`color-icon()`](#color-icon)
- [`color-multiply()`](#color-multiply)
- [`duration()`](#duration)
- [`em()`](#em)
- [`easing()`](#easing)
- [`filter()`](#filter)
- [`font-family()`](#font-family)
- [`hidden-when-printing()`](#hidden-when-printing)
- [`high-contrast-border()`](#high-contrast-border)
- [`high-contrast-outline()`](#high-contrast-outline)
- [`icon-size()`](#icon-size)
- [`map-extend()`](#map-extend)
- [`ms-high-contrast-color()`](#ms-high-contrast-color)
- [`print-hidden()`](#print-hidden)
- [`px()`](#px)
- [`rem()`](#rem)
- [`shadow()`](#shadow)
- [`skeleton-page-header-layout()`](#skeleton-page-header-layout)
- [`skeleton-page-secondary-actions-layout()`](#skeleton-page-secondary-actions-layout)
- [`skeleton-shimmer()`](#skeleton-shimmer)
- [`spacing()`](#spacing)
- [`state()`](#state)
- [`unstyled-link()`](#unstyled-link)
- [`unstyled-list()`](#unstyled-list)
- [`when-not-printing()`](#when-not-printing)
- [`when-printing()`](#when-printing)
- [`z-index()`](#z-index)
- [Adding the functions and mixins to your repo](#adding-the-functions-and-mixins-to-your-repo)
- [Sass global variables](#sass-global-variables)
- [`@shopify/polaris-tokens`](#shopifypolaris-tokens)

## Components

### From `ThemeProvider` to `CustomProperties`
Expand Down