From 8aa34094d6ae33e00b7a72482b115e8e11d88315 Mon Sep 17 00:00:00 2001 From: aveline Date: Thu, 10 Feb 2022 12:02:42 -0800 Subject: [PATCH 1/2] Add migration guidance for `polaris-tokens` --- documentation/guides/migrating-from-v8-to-v9.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index f7980e6a68b..64e9636d76c 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -452,3 +452,7 @@ Any functions that were being consumed from `build/styles/_public-api.scss` have [`./shared/interaction-state`](https://github.com/Shopify/polaris-react/blob/e2e6cb263bac1c5c1e607a6f6bd949a2d349d197/src/styles/shared/_interaction-state.scss) [`./shared/printing`](https://github.com/Shopify/polaris-react/blob/e2e6cb263bac1c5c1e607a6f6bd949a2d349d197/src/styles/shared/_printing.scss) + +## `@shopify/polaris-tokens` + +`@shopify/polaris-tokens` is no longer a dependency and using tokens from `@shopify/polaris-tokens` is deprecated. The library will continue to be available via NPM, however we highly encourage removing any usage in your application and instead using token values from `@shopify/polaris`. From 9f625600047bc193283b935524e9e0e963c74a43 Mon Sep 17 00:00:00 2001 From: aveline Date: Fri, 11 Feb 2022 14:07:11 -0800 Subject: [PATCH 2/2] Update polaris-tokens deprecation language --- documentation/guides/migrating-from-v8-to-v9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/guides/migrating-from-v8-to-v9.md b/documentation/guides/migrating-from-v8-to-v9.md index b7a48edb764..2553db68598 100644 --- a/documentation/guides/migrating-from-v8-to-v9.md +++ b/documentation/guides/migrating-from-v8-to-v9.md @@ -423,4 +423,4 @@ Any functions that were being consumed from `build/styles/_public-api.scss` have ## `@shopify/polaris-tokens` -`@shopify/polaris-tokens` is no longer a dependency and using tokens from `@shopify/polaris-tokens` is deprecated. The library will continue to be available via NPM, however we highly encourage removing any usage in your application and instead using token values from `@shopify/polaris`. +`@shopify/polaris-tokens` is no longer a dependency. The library will continue to be available via NPM, however we highly encourage removing any usage in your application.