From 19ec9cf7ec62ae934f53b5003192dc7a65ccb932 Mon Sep 17 00:00:00 2001 From: Laura Griffee Date: Wed, 9 Feb 2022 12:57:58 -0700 Subject: [PATCH 1/2] Add documentation for border-width() function --- documentation/guides/migrating-from-v8-to-v9.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index 453d12bee73..f58bf07f930 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -121,6 +121,14 @@ A list of functions/mixins and their value equivalents or new token values. | `border-radius()`
`border-radius(base)` | `--p-border-radius-base` | | `border-radius(large)` | `--p-border-radius-large` | +#### `border-width()` + +| Function | Replacement Value/Token | +| ---------------------------------------- | ----------------------- | +| `border-width()`
`border-width(base)` | `--p-border-width-1` | +| `border-width(thick)` | `--p-border-width-2` | +| `border-width(thicker)` | `--p-border-width-3` | + #### `duration()` | Function | Replacement Value/Token | From 5ae0c4c8002b4cd797e4bdeb7e4f400ca3be2864 Mon Sep 17 00:00:00 2001 From: Laura Griffee Date: Wed, 9 Feb 2022 12:58:53 -0700 Subject: [PATCH 2/2] Add entry to UNRELEASED-v9 for border-width() --- UNRELEASED-v9.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UNRELEASED-v9.md b/UNRELEASED-v9.md index f9da39e930d..7565447f00e 100644 --- a/UNRELEASED-v9.md +++ b/UNRELEASED-v9.md @@ -19,6 +19,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t **Sass functions and mixins** +- Removed the `border-width()` function ([#4900](https://github.com/Shopify/polaris-react/pull/4900)) - Removed the `filter()` function ([#4676](https://github.com/Shopify/polaris-react/pull/4676)) - Removed the `px()` function ([#4751](https://github.com/Shopify/polaris-react/pull/4751)) - Removed the `em()` function ([#4937](https://github.com/Shopify/polaris-react/pull/4937))