From e3b3f0e2ed654727da49c7def5c7b66051db51af Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Fri, 24 Jan 2020 10:13:56 -0800 Subject: [PATCH] fix(storybook): remove layer import (#5160) * fix(storybook): remove layer import * docs(migrato-to-10): update migration docs --- .../components/docs/migration/migrate-to-10.x.md | 12 +++++++----- .../components/src/globals/scss/migrate-to-10.x.md | 2 +- packages/react/.storybook/styles.scss | 1 - 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/components/docs/migration/migrate-to-10.x.md b/packages/components/docs/migration/migrate-to-10.x.md index 99f49e3561cd..f3d876704f3c 100644 --- a/packages/components/docs/migration/migrate-to-10.x.md +++ b/packages/components/docs/migration/migrate-to-10.x.md @@ -74,11 +74,12 @@ initial `v10` release. **IMPORTANT NOTE**: Most of deprecated variables, mixins and functions will be _removed_ soon after the initial `v10` release. -| `scss` path | v10 | -| ------------------- | ----------------------------------------------------------------------------- | -| `src` | Deprecated in v10, use `scss` instead [Migrate](../../src/migrate-to-10.x.md) | -| `scss/globals` | [Migrate](../../src/globals/scss/migrate-to-10.x.md) | -| `scss/globals/grid` | [Migrate](../../src/globals/scss/grid/migrate-to-10.x.md) | +| `scss` path | v10 | +| -------------------- | ----------------------------------------------------------------------------- | +| `src` | Deprecated in v10, use `scss` instead [Migrate](../../src/migrate-to-10.x.md) | +| `scss/globals` | [Migrate](../../src/globals/scss/migrate-to-10.x.md) | +| `scss/globals/grid` | [Migrate](../../src/globals/scss/grid/migrate-to-10.x.md) | +| `scss/globals/layer` | Deprecated in v10 [Migrate](../../src/globals/scss/migrate-to-10.x.md) | ### Features @@ -86,3 +87,4 @@ _removed_ soon after the initial `v10` release. | ------------------- | ------- | | `font-size` mixin | Removed | | `line-height` mixin | Removed | +| `layer` mixin | Removed | diff --git a/packages/components/src/globals/scss/migrate-to-10.x.md b/packages/components/src/globals/scss/migrate-to-10.x.md index d50b83d53490..9e71ca08e3f5 100644 --- a/packages/components/src/globals/scss/migrate-to-10.x.md +++ b/packages/components/src/globals/scss/migrate-to-10.x.md @@ -140,7 +140,7 @@ No change ## `_layer.scss` -No change +- Removed, replaced with `box-shadow` mixin ### Internal diff --git a/packages/react/.storybook/styles.scss b/packages/react/.storybook/styles.scss index dfc7f1790aae..db57e1236f32 100644 --- a/packages/react/.storybook/styles.scss +++ b/packages/react/.storybook/styles.scss @@ -18,7 +18,6 @@ $prefix: 'bx'; @import '~carbon-components/scss/globals/scss/theme'; @import '~carbon-components/scss/globals/scss/mixins'; @import '~carbon-components/scss/globals/scss/layout'; -@import '~carbon-components/scss/globals/scss/layer'; @import '~carbon-components/scss/globals/scss/spacing'; @import '~carbon-components/scss/globals/scss/typography'; @import '~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/import-once/import-once';