Skip to content

Commit

Permalink
fix(storybook): remove layer import (#5160)
Browse files Browse the repository at this point in the history
* fix(storybook): remove layer import

* docs(migrato-to-10): update migration docs
  • Loading branch information
tw15egan authored Jan 24, 2020
1 parent 99fde8e commit e3b3f0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 7 additions & 5 deletions packages/components/docs/migration/migrate-to-10.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ 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

| Sass feature | v10 |
| ------------------- | ------- |
| `font-size` mixin | Removed |
| `line-height` mixin | Removed |
| `layer` mixin | Removed |
2 changes: 1 addition & 1 deletion packages/components/src/globals/scss/migrate-to-10.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ No change

## `_layer.scss`

No change
- Removed, replaced with `box-shadow` mixin

### Internal

Expand Down
1 change: 0 additions & 1 deletion packages/react/.storybook/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e3b3f0e

Please sign in to comment.