Skip to content

Commit e3b3f0e

Browse files
authored
fix(storybook): remove layer import (#5160)
* fix(storybook): remove layer import * docs(migrato-to-10): update migration docs
1 parent 99fde8e commit e3b3f0e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

packages/components/docs/migration/migrate-to-10.x.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ initial `v10` release.
7474
**IMPORTANT NOTE**: Most of deprecated variables, mixins and functions will be
7575
_removed_ soon after the initial `v10` release.
7676

77-
| `scss` path | v10 |
78-
| ------------------- | ----------------------------------------------------------------------------- |
79-
| `src` | Deprecated in v10, use `scss` instead [Migrate](../../src/migrate-to-10.x.md) |
80-
| `scss/globals` | [Migrate](../../src/globals/scss/migrate-to-10.x.md) |
81-
| `scss/globals/grid` | [Migrate](../../src/globals/scss/grid/migrate-to-10.x.md) |
77+
| `scss` path | v10 |
78+
| -------------------- | ----------------------------------------------------------------------------- |
79+
| `src` | Deprecated in v10, use `scss` instead [Migrate](../../src/migrate-to-10.x.md) |
80+
| `scss/globals` | [Migrate](../../src/globals/scss/migrate-to-10.x.md) |
81+
| `scss/globals/grid` | [Migrate](../../src/globals/scss/grid/migrate-to-10.x.md) |
82+
| `scss/globals/layer` | Deprecated in v10 [Migrate](../../src/globals/scss/migrate-to-10.x.md) |
8283

8384
### Features
8485

8586
| Sass feature | v10 |
8687
| ------------------- | ------- |
8788
| `font-size` mixin | Removed |
8889
| `line-height` mixin | Removed |
90+
| `layer` mixin | Removed |

packages/components/src/globals/scss/migrate-to-10.x.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ No change
140140

141141
## `_layer.scss`
142142

143-
No change
143+
- Removed, replaced with `box-shadow` mixin
144144

145145
### Internal
146146

packages/react/.storybook/styles.scss

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ $prefix: 'bx';
1818
@import '~carbon-components/scss/globals/scss/theme';
1919
@import '~carbon-components/scss/globals/scss/mixins';
2020
@import '~carbon-components/scss/globals/scss/layout';
21-
@import '~carbon-components/scss/globals/scss/layer';
2221
@import '~carbon-components/scss/globals/scss/spacing';
2322
@import '~carbon-components/scss/globals/scss/typography';
2423
@import '~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/import-once/import-once';

0 commit comments

Comments
 (0)