Skip to content

Commit

Permalink
Merge branch 'master' into 7200-JAWS-batch-action-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Feb 12, 2021
2 parents fc222da + f94ee25 commit 1ff463f
Show file tree
Hide file tree
Showing 327 changed files with 5,629 additions and 65,531 deletions.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,15 @@
"contributions": [
"code"
]
},
{
"login": "guigueb",
"name": "Bill Guigue",
"avatar_url": "https://avatars1.githubusercontent.com/u/5973642?v=4",
"profile": "https://github.com/guigueb",
"contributions": [
"code"
]
}
],
"commitConvention": "none"
Expand Down
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.
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.
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.
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.
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.
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 removed .yarn/cache/fsevents-patch-06bd254f51-f4e06c69cb.zip
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 removed .yarn/cache/resolve-patch-bef242007a-ca4e21815c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
<td align="center"><a href="https://github.com/IgnasA"><img src="https://avatars.githubusercontent.com/u/7099068?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ignas Ausiejus</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=IgnasA" title="Documentation">📖</a></td>
<td align="center"><a href="https://ryanomackey.com/"><img src="https://avatars.githubusercontent.com/u/17710824?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryan O. Mackey</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=ryanomackey" title="Code">💻</a></td>
<td align="center"><a href="http://www.skateman.eu/"><img src="https://avatars.githubusercontent.com/u/649130?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Halász Dávid</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=skateman" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/guigueb"><img src="https://avatars1.githubusercontent.com/u/5973642?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bill Guigue</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=guigueb" title="Code">💻</a></td>
</tr>
</table>

Expand Down
1 change: 1 addition & 0 deletions codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"react"
],
"dependencies": {
"@babel/preset-env": "^7.12.13",
"jscodeshift": "^0.11.0"
}
}
6 changes: 5 additions & 1 deletion config/eslint-config-carbon/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

module.exports = {
parser: 'babel-eslint',
extends: ['eslint:recommended', require.resolve('./plugins/jsdoc')],
extends: [
'eslint:recommended',
require.resolve('./rules/best-practices'),
require.resolve('./plugins/jsdoc'),
],
rules: {
// Handle cases where we are destructuring but may not be using the initial
// variables
Expand Down
3 changes: 3 additions & 0 deletions config/eslint-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
"prettier": "^2.2.1"
}
}
15 changes: 15 additions & 0 deletions config/eslint-config-carbon/rules/best-practices.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Copyright IBM Corp. 2018, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = {
rules: {
// @see https://eslint.org/docs/rules/curly
curly: 'error',
},
};
4 changes: 4 additions & 0 deletions config/jest-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"jest-circus": "^26.0.1"
},
"devDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion config/storybook-preset-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "storybook-preset-carbon",
"private": true,
"version": "0.2.0-rc.0",
"version": "0.2.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"stylelint-scss": "^3.13.0"
},
"devDependencies": {
"prettier": "^2.2.1",
"stylelint": "^13.6.0"
}
}
21 changes: 21 additions & 0 deletions docs/migration/11.x-themes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Motion

**Note: everything in this file is a work-in-progress and will be changed.**

## Changes

| Filename | v10 | v11 |
| ------------------ | ----------------------- | ------------------------------------------ |
| `_tokens.scss` | | Deprecated, use Custom Properties directly |
| `_theme-maps.scss` | | Removed, use `_themes.scss` instead |
| `_theme-maps.scss` | `$carbon--theme--white` | `$white` |
| | `$carbon--theme--g10` | `$g10` |
| | `$carbon--theme--g90` | `$g90` |
| | `$carbon--theme--g100` | `$g100` |
| `_mixins.scss` | | Removed, use `_theme.scss` instead |
| `_mixins.scss` | `carbon--theme` | `theme` |

- Theme maps are now available in `scss/_themes.scss` and no longer require a
namespace
- Theme mixin has been simplified, it now emits the given theme as Custom
Properties for the parent selector
5 changes: 3 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/cli",
"description": "Task automation for working with the Carbon Design System",
"version": "10.19.0-rc.0",
"version": "10.19.0",
"license": "Apache-2.0",
"bin": {
"carbon-cli": "./bin/carbon-cli.js"
Expand All @@ -23,8 +23,9 @@
"access": "public"
},
"dependencies": {
"@babel/core": "^7.12.13",
"@carbon/cli-reporter": "^10.4.0",
"@octokit/plugin-retry": "^2.2.0",
"@octokit/plugin-retry": "^3.0.7",
"@octokit/plugin-throttling": "^2.6.0",
"@octokit/rest": "^16.28.1",
"@rollup/plugin-babel": "^5.2.2",
Expand Down
12 changes: 9 additions & 3 deletions packages/cli/src/commands/sassdoc/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ function createAnchorLink(name, heading) {
function createMarkdownItem(item) {
let str = '';

if (!item.context) return '';
if (!item.context) {
return '';
}

let status = item.access === 'public' ? '✅' : '❌';

Expand Down Expand Up @@ -160,9 +162,13 @@ $${item.context.name}: ${item.context.value};

if (item.parameter) {
item.parameter.forEach((param) => {
if (paramStr) paramStr += `, `;
if (paramStr) {
paramStr += `, `;
}
paramStr += `$${param.name}`;
if (param.default) paramStr += `: ${param.default}`;
if (param.default) {
paramStr += `: ${param.default}`;
}
});
}

Expand Down
6 changes: 0 additions & 6 deletions packages/colors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ blue[50]; // Using the `blue` object.
warmGray100; // Using the `warmGray100` variable.
```

## 📖 API Documentation

If you're looking for `@carbon/colors` API documentation, check out:

- [Sass](./docs/sass.md)

## 📚 Examples

If you're looking for more examples on how to use `@carbon/colors`, we have some
Expand Down
Loading

0 comments on commit 1ff463f

Please sign in to comment.