-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #586 from carbon-design-system/dev
`v1.25.0`
- Loading branch information
Showing
60 changed files
with
27,316 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Carbon upgrade | ||
about: Issue template for upgrading Carbon | ||
--- | ||
|
||
## Upgrade to Carbon `vx.x.x` | ||
|
||
### Description | ||
|
||
Upgrade to the latest version of Carbon and manually verify that no issues were introduced: | ||
|
||
- [ ] <!-- https://github.com/carbon-design-system/carbon/releases/tag/vx.x.x --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* @file SCSS compilation helpers. | ||
* @copyright IBM Security 2020 | ||
*/ | ||
|
||
const { sync } = require('glob'); | ||
const { renderSync } = require('node-sass'); | ||
|
||
module.exports = { | ||
compile: file => | ||
renderSync({ | ||
file, | ||
includePaths: ['node_modules'], | ||
outputStyle: 'expanded', | ||
}), | ||
forEachImport: callback => | ||
sync('src/**/*.scss', { | ||
ignore: ['src/globals/grid/css-gridish/**/*'], | ||
}).forEach(callback), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @file SCSS tests. | ||
* @copyright IBM Security 2020 | ||
*/ | ||
|
||
import { compile, forEachImport } from '../../../scripts/scss/compile'; | ||
|
||
describe('SCSS', () => { | ||
test('Bundle', () => { | ||
expect( | ||
compile('src/index.scss') | ||
.css.toString() | ||
.replace(/'/g, '"') | ||
).toMatchSnapshot(); | ||
}); | ||
|
||
describe('Imports', () => { | ||
forEachImport(file => { | ||
test(file, () => { | ||
expect(compile(file)).not.toHaveProperty('message'); | ||
}); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.